@excalidraw/excalidraw 0.18.0-b9d27d3 → 0.18.0-c141960
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-QF5FRM6O.js → chunk-AWYOLLYX.js} +49 -26
- package/dist/dev/chunk-AWYOLLYX.js.map +7 -0
- package/dist/dev/chunk-PMQWN2AA.js +69 -0
- package/dist/dev/chunk-PMQWN2AA.js.map +7 -0
- package/dist/dev/{chunk-WWDIUJ2Q.js → chunk-SJTAY27F.js} +159 -366
- package/dist/dev/chunk-SJTAY27F.js.map +7 -0
- package/dist/dev/data/{image-VTYIFRQE.js → image-S2GFZH7W.js} +2 -2
- package/dist/dev/index.css +1107 -665
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +9974 -7038
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{ar-SA-XORAP2EK.js → ar-SA-USQAA427.js} +299 -142
- package/dist/dev/locales/ar-SA-USQAA427.js.map +7 -0
- package/dist/dev/locales/{az-AZ-NAUU3Z4Y.js → az-AZ-CVQRXULV.js} +240 -83
- package/dist/dev/locales/az-AZ-CVQRXULV.js.map +7 -0
- package/dist/dev/locales/{bg-BG-AAABLFCY.js → bg-BG-E4I2JVOQ.js} +228 -71
- package/dist/dev/locales/bg-BG-E4I2JVOQ.js.map +7 -0
- package/dist/dev/locales/{bn-BD-PM4AC5WG.js → bn-BD-O55ROP2R.js} +208 -51
- package/dist/dev/locales/bn-BD-O55ROP2R.js.map +7 -0
- package/dist/dev/locales/bn-IN-OL7OUKTP.js +743 -0
- package/dist/dev/locales/bn-IN-OL7OUKTP.js.map +7 -0
- package/dist/dev/locales/{ca-ES-YNNMFRQX.js → ca-ES-73KY52DM.js} +274 -117
- package/dist/dev/locales/ca-ES-73KY52DM.js.map +7 -0
- package/dist/dev/locales/{cs-CZ-DGZA5IKG.js → cs-CZ-2YGHPQ24.js} +228 -71
- package/dist/dev/locales/cs-CZ-2YGHPQ24.js.map +7 -0
- package/dist/dev/locales/{da-DK-N76F4QAJ.js → da-DK-OEIZIPJU.js} +297 -140
- package/dist/dev/locales/da-DK-OEIZIPJU.js.map +7 -0
- package/dist/dev/locales/de-CH-4GJTW23D.js +743 -0
- package/dist/dev/locales/de-CH-4GJTW23D.js.map +7 -0
- package/dist/dev/locales/{de-DE-DMRXZ2SZ.js → de-DE-YRH6WMM5.js} +198 -41
- package/dist/dev/locales/de-DE-YRH6WMM5.js.map +7 -0
- package/dist/dev/locales/{el-GR-HIKPLEXI.js → el-GR-W7S64QNM.js} +273 -116
- package/dist/dev/locales/el-GR-W7S64QNM.js.map +7 -0
- package/dist/dev/locales/{en-SMAPCEOQ.js → en-ZO6QSABV.js} +4 -2
- package/dist/dev/locales/{es-ES-AQYVXC32.js → es-ES-7JEN5PTZ.js} +211 -54
- package/dist/dev/locales/es-ES-7JEN5PTZ.js.map +7 -0
- package/dist/dev/locales/{eu-ES-3TOEU5DE.js → eu-ES-HQNHU6VR.js} +209 -52
- package/dist/dev/locales/eu-ES-HQNHU6VR.js.map +7 -0
- package/dist/dev/locales/{fa-IR-527GAKUP.js → fa-IR-IN6XOPA6.js} +285 -128
- package/dist/dev/locales/fa-IR-IN6XOPA6.js.map +7 -0
- package/dist/dev/locales/{fi-FI-M3WLVDFP.js → fi-FI-5BAAYJDZ.js} +239 -82
- package/dist/dev/locales/fi-FI-5BAAYJDZ.js.map +7 -0
- package/dist/dev/locales/{fr-FR-YE4VDJFI.js → fr-FR-KCXBY2R4.js} +202 -45
- package/dist/dev/locales/fr-FR-KCXBY2R4.js.map +7 -0
- package/dist/dev/locales/{gl-ES-KMXUYGUN.js → gl-ES-5OPGWS6N.js} +211 -54
- package/dist/dev/locales/gl-ES-5OPGWS6N.js.map +7 -0
- package/dist/dev/locales/he-IL-3A6ZWK6L.js +743 -0
- package/dist/dev/locales/he-IL-3A6ZWK6L.js.map +7 -0
- package/dist/dev/locales/hi-IN-HZTBH6EG.js +743 -0
- package/dist/dev/locales/hi-IN-HZTBH6EG.js.map +7 -0
- package/dist/dev/locales/{hu-HU-VIYZI3X4.js → hu-HU-52IRZEAZ.js} +237 -80
- package/dist/dev/locales/hu-HU-52IRZEAZ.js.map +7 -0
- package/dist/dev/locales/{id-ID-22TWZNLA.js → id-ID-W6HBGXTS.js} +244 -87
- package/dist/dev/locales/id-ID-W6HBGXTS.js.map +7 -0
- package/dist/dev/locales/{it-IT-MDEQ2SG3.js → it-IT-AV75ICYT.js} +201 -44
- package/dist/dev/locales/it-IT-AV75ICYT.js.map +7 -0
- package/dist/dev/locales/{ja-JP-K2DI4W6B.js → ja-JP-SS4G3ZXF.js} +246 -89
- package/dist/dev/locales/ja-JP-SS4G3ZXF.js.map +7 -0
- package/dist/dev/locales/{kaa-6BPSNM3R.js → kaa-Y5BBB3IW.js} +201 -44
- package/dist/dev/locales/kaa-Y5BBB3IW.js.map +7 -0
- package/dist/dev/locales/{kab-KAB-2S7ZURK7.js → kab-KAB-KDVZQXBT.js} +209 -52
- package/dist/dev/locales/kab-KAB-KDVZQXBT.js.map +7 -0
- package/dist/dev/locales/{kk-KZ-UJPYGRQQ.js → kk-KZ-762YODLJ.js} +174 -17
- package/dist/dev/locales/kk-KZ-762YODLJ.js.map +7 -0
- package/dist/dev/locales/{km-KH-M5T5JKUE.js → km-KH-K2TE5MIK.js} +197 -40
- package/dist/dev/locales/km-KH-K2TE5MIK.js.map +7 -0
- package/dist/dev/locales/{ko-KR-RQX37SNF.js → ko-KR-75RUMBCO.js} +217 -60
- package/dist/dev/locales/ko-KR-75RUMBCO.js.map +7 -0
- package/dist/dev/locales/{ku-TR-5XJDIERL.js → ku-TR-E6DJ6LYM.js} +197 -40
- package/dist/dev/locales/ku-TR-E6DJ6LYM.js.map +7 -0
- package/dist/dev/locales/{lt-LT-MGUBX6CA.js → lt-LT-BYS5DA45.js} +178 -21
- package/dist/dev/locales/lt-LT-BYS5DA45.js.map +7 -0
- package/dist/dev/locales/{lv-LV-MD7N5VHD.js → lv-LV-SPQ2VWX3.js} +195 -38
- package/dist/dev/locales/lv-LV-SPQ2VWX3.js.map +7 -0
- package/dist/dev/locales/{mr-IN-4XWMNGQC.js → mr-IN-2HLK6LUA.js} +203 -46
- package/dist/dev/locales/mr-IN-2HLK6LUA.js.map +7 -0
- package/dist/dev/locales/{my-MM-O4Z74GN5.js → my-MM-P2LR44WR.js} +180 -23
- package/dist/dev/locales/my-MM-P2LR44WR.js.map +7 -0
- package/dist/dev/locales/{nb-NO-BMB73KRH.js → nb-NO-7YZHFFVS.js} +219 -62
- package/dist/dev/locales/nb-NO-7YZHFFVS.js.map +7 -0
- package/dist/dev/locales/{nl-NL-F2257BLQ.js → nl-NL-TF2OVIKN.js} +217 -60
- package/dist/dev/locales/nl-NL-TF2OVIKN.js.map +7 -0
- package/dist/dev/locales/{nn-NO-NCORG7TS.js → nn-NO-2BWEL2IS.js} +200 -43
- package/dist/dev/locales/nn-NO-2BWEL2IS.js.map +7 -0
- package/dist/dev/locales/{oc-FR-ATFBDMF6.js → oc-FR-5JYIFGLE.js} +212 -55
- package/dist/dev/locales/oc-FR-5JYIFGLE.js.map +7 -0
- package/dist/dev/locales/{pa-IN-D2I375G4.js → pa-IN-KBBGER76.js} +189 -32
- package/dist/dev/locales/pa-IN-KBBGER76.js.map +7 -0
- package/dist/dev/locales/{percentages-YKFLWNK2.js → percentages-2RAYDWNS.js} +2 -2
- package/dist/dev/locales/{pl-PL-YJHOWAAW.js → pl-PL-BWZ2X734.js} +213 -56
- package/dist/dev/locales/pl-PL-BWZ2X734.js.map +7 -0
- package/dist/dev/locales/{pt-BR-APOPYZJ7.js → pt-BR-ERVIQI63.js} +236 -79
- package/dist/dev/locales/pt-BR-ERVIQI63.js.map +7 -0
- package/dist/dev/locales/pt-PT-ZNJ5NB5S.js +743 -0
- package/dist/dev/locales/pt-PT-ZNJ5NB5S.js.map +7 -0
- package/dist/dev/locales/{ro-RO-L575VRQA.js → ro-RO-UYNXGUB7.js} +202 -45
- package/dist/dev/locales/ro-RO-UYNXGUB7.js.map +7 -0
- package/dist/dev/locales/{ru-RU-BLG6HZG5.js → ru-RU-F7LPIMGQ.js} +252 -95
- package/dist/dev/locales/ru-RU-F7LPIMGQ.js.map +7 -0
- package/dist/dev/locales/si-LK-5GF2DJUH.js +743 -0
- package/dist/dev/locales/si-LK-5GF2DJUH.js.map +7 -0
- package/dist/dev/locales/{sk-SK-DY6IPO5U.js → sk-SK-H6WE7IJX.js} +199 -42
- package/dist/dev/locales/sk-SK-H6WE7IJX.js.map +7 -0
- package/dist/dev/locales/{sl-SI-5DZSRA47.js → sl-SI-4PJ6LBI7.js} +196 -39
- package/dist/dev/locales/sl-SI-4PJ6LBI7.js.map +7 -0
- package/dist/dev/locales/{sv-SE-V32YHALQ.js → sv-SE-E5VQLCRE.js} +201 -44
- package/dist/dev/locales/sv-SE-E5VQLCRE.js.map +7 -0
- package/dist/dev/locales/{ta-IN-5JRAGQAO.js → ta-IN-2YWIVLKF.js} +256 -99
- package/dist/dev/locales/ta-IN-2YWIVLKF.js.map +7 -0
- package/dist/dev/locales/{th-TH-55ACRHDJ.js → th-TH-IV7RUTDK.js} +288 -131
- package/dist/dev/locales/th-TH-IV7RUTDK.js.map +7 -0
- package/dist/dev/locales/{tr-TR-7QYBXDBO.js → tr-TR-LEQWIQH7.js} +256 -99
- package/dist/dev/locales/tr-TR-LEQWIQH7.js.map +7 -0
- package/dist/dev/locales/{uk-UA-TJS2TMRH.js → uk-UA-DWVOQPTB.js} +228 -71
- package/dist/dev/locales/uk-UA-DWVOQPTB.js.map +7 -0
- package/dist/dev/locales/{si-LK-KT7GGO6D.js → uz-UZ-CKXQ3QKG.js} +211 -54
- package/dist/dev/locales/uz-UZ-CKXQ3QKG.js.map +7 -0
- package/dist/dev/locales/vi-VN-3P6DZOGS.js +743 -0
- package/dist/dev/locales/vi-VN-3P6DZOGS.js.map +7 -0
- package/dist/dev/locales/{zh-CN-4MXUOFTH.js → zh-CN-XXVG53TQ.js} +198 -41
- package/dist/dev/locales/zh-CN-XXVG53TQ.js.map +7 -0
- package/dist/dev/locales/{zh-HK-RBTGIU3U.js → zh-HK-JCHGKEUE.js} +174 -17
- package/dist/dev/locales/zh-HK-JCHGKEUE.js.map +7 -0
- package/dist/dev/locales/{zh-TW-U5VF4CCU.js → zh-TW-ARVT7RZU.js} +203 -46
- package/dist/dev/locales/zh-TW-ARVT7RZU.js.map +7 -0
- package/dist/prod/chunk-KRJFZ5JQ.js +1 -0
- package/dist/prod/chunk-N7QNUCIG.js +12 -0
- package/dist/prod/chunk-XJNFOLHK.js +4 -0
- package/dist/prod/data/{image-YQ6UXXDA.js → image-SMWA6JLH.js} +1 -1
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +23 -23
- package/dist/prod/locales/ar-SA-F62BVQMB.js +8 -0
- package/dist/prod/locales/az-AZ-7PGSKYOB.js +1 -0
- package/dist/prod/locales/bg-BG-AAEXMUQ4.js +5 -0
- package/dist/prod/locales/bn-BD-ONOFQYIQ.js +3 -0
- package/dist/prod/locales/bn-IN-YT3I2M3F.js +3 -0
- package/dist/prod/locales/ca-ES-GG4YH2FN.js +8 -0
- package/dist/prod/locales/cs-CZ-IS5VTBOP.js +7 -0
- package/dist/prod/locales/da-DK-VPQ2KWAY.js +2 -0
- package/dist/prod/locales/de-CH-G4Y2G6IS.js +7 -0
- package/dist/prod/locales/de-DE-RAT2LIDI.js +7 -0
- package/dist/prod/locales/el-GR-DNJB2AZO.js +7 -0
- package/dist/prod/locales/en-FOCNVEEU.js +1 -0
- package/dist/prod/locales/es-ES-IMTENLBU.js +7 -0
- package/dist/prod/locales/eu-ES-XLOS36YS.js +7 -0
- package/dist/prod/locales/fa-IR-J6Z2YOGX.js +9 -0
- package/dist/prod/locales/fi-FI-B2IQ7SBP.js +6 -0
- package/dist/prod/locales/fr-FR-N5BRDCMI.js +12 -0
- package/dist/prod/locales/gl-ES-BOYALFRN.js +6 -0
- package/dist/prod/locales/he-IL-H7M7HGY5.js +8 -0
- package/dist/prod/locales/hi-IN-7AB5CA2Q.js +3 -0
- package/dist/prod/locales/hu-HU-ZZM7UJLP.js +3 -0
- package/dist/prod/locales/id-ID-RZ7JNCXA.js +8 -0
- package/dist/prod/locales/it-IT-ZX7HN56D.js +8 -0
- package/dist/prod/locales/ja-JP-NBNBUHIR.js +7 -0
- package/dist/prod/locales/kaa-QWYSGEM7.js +1 -0
- package/dist/prod/locales/kab-KAB-Q3HBKQ5I.js +4 -0
- package/dist/prod/locales/kk-KZ-HF2NTCRX.js +1 -0
- package/dist/prod/locales/km-KH-CN6HHF5U.js +7 -0
- package/dist/prod/locales/ko-KR-SJQMUXM7.js +5 -0
- package/dist/prod/locales/ku-TR-VM4BHTPC.js +6 -0
- package/dist/prod/locales/lt-LT-QIWZQ7AG.js +3 -0
- package/dist/prod/locales/lv-LV-YQFCB4WZ.js +4 -0
- package/dist/prod/locales/mr-IN-GR2ZJPSQ.js +9 -0
- package/dist/prod/locales/my-MM-M5XJDJQ2.js +1 -0
- package/dist/prod/locales/nb-NO-2RU2YF7H.js +8 -0
- package/dist/prod/locales/nl-NL-MUHXDQFK.js +7 -0
- package/dist/prod/locales/nn-NO-72RCA552.js +4 -0
- package/dist/prod/locales/oc-FR-65ITQYQ2.js +4 -0
- package/dist/prod/locales/pa-IN-WESENMFH.js +4 -0
- package/dist/prod/locales/percentages-OEPNEGCM.js +1 -0
- package/dist/prod/locales/pl-PL-7C4NGVUA.js +12 -0
- package/dist/prod/locales/pt-BR-QH23C2IX.js +6 -0
- package/dist/prod/locales/pt-PT-O5XBATXI.js +8 -0
- package/dist/prod/locales/ro-RO-QHCHEGM5.js +12 -0
- package/dist/prod/locales/ru-RU-FUMQ2LLB.js +6 -0
- package/dist/prod/locales/si-LK-JYUINGNN.js +1 -0
- package/dist/prod/locales/sk-SK-R25O52BS.js +7 -0
- package/dist/prod/locales/sl-SI-5KPVX4FS.js +6 -0
- package/dist/prod/locales/sv-SE-MVMXV6O4.js +8 -0
- package/dist/prod/locales/ta-IN-A32FQB4D.js +6 -0
- package/dist/prod/locales/th-TH-CXMWNVBY.js +1 -0
- package/dist/prod/locales/tr-TR-YHFI3W2D.js +4 -0
- package/dist/prod/locales/uk-UA-UTJIIKT5.js +6 -0
- package/dist/prod/locales/uz-UZ-H4EGTR7D.js +1 -0
- package/dist/prod/locales/vi-VN-XBV2ESZM.js +7 -0
- package/dist/prod/locales/zh-CN-CKCJ4HAO.js +11 -0
- package/dist/prod/locales/zh-HK-ISASRRMF.js +1 -0
- package/dist/prod/locales/zh-TW-KYRW5V3R.js +9 -0
- package/dist/types/common/src/constants.d.ts +9 -13
- package/dist/types/common/src/editorInterface.d.ts +34 -0
- package/dist/types/common/src/index.d.ts +2 -0
- package/dist/types/common/src/utils.d.ts +9 -3
- package/dist/types/common/src/visualdebug.d.ts +41 -0
- package/dist/types/element/src/binding.d.ts +55 -43
- package/dist/types/element/src/collision.d.ts +6 -2
- package/dist/types/element/src/index.d.ts +0 -3
- package/dist/types/element/src/linearElementEditor.d.ts +15 -18
- package/dist/types/element/src/renderElement.d.ts +5 -2
- package/dist/types/element/src/resizeTest.d.ts +5 -4
- package/dist/types/element/src/transformHandles.d.ts +5 -4
- package/dist/types/element/src/typeChecks.d.ts +2 -3
- package/dist/types/element/src/types.d.ts +7 -11
- package/dist/types/element/src/utils.d.ts +2 -1
- package/dist/types/element/src/zindex.d.ts +7 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +34 -13
- package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -6
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +25 -11
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +152 -275
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +46 -773
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +12 -5
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +42 -23
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +11 -6
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +23 -9
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +12 -5
- package/dist/types/excalidraw/actions/actionExport.d.ts +68 -943
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +10 -393
- package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionFrame.d.ts +50 -24
- package/dist/types/excalidraw/actions/actionGroup.d.ts +24 -10
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +22 -19
- package/dist/types/excalidraw/actions/actionLink.d.ts +9 -2
- package/dist/types/excalidraw/actions/actionMenu.d.ts +10 -371
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +21 -359
- package/dist/types/excalidraw/actions/actionProperties.d.ts +87 -2403
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +12 -5
- package/dist/types/excalidraw/actions/actionStyles.d.ts +13 -6
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +11 -4
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +11 -4
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +10 -5
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +11 -4
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +11 -4
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +12 -5
- package/dist/types/excalidraw/actions/actionZindex.d.ts +2 -2
- package/dist/types/excalidraw/actions/index.d.ts +2 -2
- package/dist/types/excalidraw/actions/manager.d.ts +1 -1
- package/dist/types/excalidraw/actions/register.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +4 -4
- package/dist/types/excalidraw/appState.d.ts +9 -4
- package/dist/types/excalidraw/clipboard.d.ts +2 -0
- package/dist/types/excalidraw/components/Actions.d.ts +21 -4
- package/dist/types/excalidraw/components/App.d.ts +26 -19
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -1
- package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
- package/dist/types/excalidraw/components/CommandPalette/types.d.ts +1 -2
- package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
- package/dist/types/excalidraw/components/FilledButton.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +3 -1
- package/dist/types/excalidraw/components/HintViewer.d.ts +4 -3
- package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
- package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/LinkButton.d.ts +4 -0
- package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -5
- package/dist/types/excalidraw/components/MobileToolBar.d.ts +11 -0
- package/dist/types/excalidraw/components/Popover.d.ts +2 -1
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
- package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/TextField.d.ts +1 -0
- package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +6 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +4 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +2 -1
- package/dist/types/excalidraw/components/icons.d.ts +10 -0
- package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +13 -1
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +0 -3
- package/dist/types/excalidraw/data/blob.d.ts +2 -2
- package/dist/types/excalidraw/data/restore.d.ts +3 -3
- package/dist/types/excalidraw/data/types.d.ts +4 -1
- package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +3 -1
- package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
- package/dist/types/excalidraw/index.d.ts +2 -3
- package/dist/types/excalidraw/renderer/animation.d.ts +12 -0
- package/dist/types/excalidraw/renderer/helpers.d.ts +1 -5
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +5 -13
- package/dist/types/excalidraw/scene/types.d.ts +15 -3
- package/dist/types/excalidraw/shortcut.d.ts +1 -0
- package/dist/types/excalidraw/types.d.ts +31 -21
- package/dist/types/math/src/segment.d.ts +1 -0
- package/package.json +5 -5
- package/dist/dev/chunk-MFAYKRVR.js +0 -66
- package/dist/dev/chunk-MFAYKRVR.js.map +0 -7
- package/dist/dev/chunk-QF5FRM6O.js.map +0 -7
- package/dist/dev/chunk-WWDIUJ2Q.js.map +0 -7
- package/dist/dev/locales/ar-SA-XORAP2EK.js.map +0 -7
- package/dist/dev/locales/az-AZ-NAUU3Z4Y.js.map +0 -7
- package/dist/dev/locales/bg-BG-AAABLFCY.js.map +0 -7
- package/dist/dev/locales/bn-BD-PM4AC5WG.js.map +0 -7
- package/dist/dev/locales/ca-ES-YNNMFRQX.js.map +0 -7
- package/dist/dev/locales/cs-CZ-DGZA5IKG.js.map +0 -7
- package/dist/dev/locales/da-DK-N76F4QAJ.js.map +0 -7
- package/dist/dev/locales/de-DE-DMRXZ2SZ.js.map +0 -7
- package/dist/dev/locales/el-GR-HIKPLEXI.js.map +0 -7
- package/dist/dev/locales/es-ES-AQYVXC32.js.map +0 -7
- package/dist/dev/locales/eu-ES-3TOEU5DE.js.map +0 -7
- package/dist/dev/locales/fa-IR-527GAKUP.js.map +0 -7
- package/dist/dev/locales/fi-FI-M3WLVDFP.js.map +0 -7
- package/dist/dev/locales/fr-FR-YE4VDJFI.js.map +0 -7
- package/dist/dev/locales/gl-ES-KMXUYGUN.js.map +0 -7
- package/dist/dev/locales/he-IL-4MU5N22B.js +0 -586
- package/dist/dev/locales/he-IL-4MU5N22B.js.map +0 -7
- package/dist/dev/locales/hi-IN-ZHZNZWFC.js +0 -586
- package/dist/dev/locales/hi-IN-ZHZNZWFC.js.map +0 -7
- package/dist/dev/locales/hu-HU-VIYZI3X4.js.map +0 -7
- package/dist/dev/locales/id-ID-22TWZNLA.js.map +0 -7
- package/dist/dev/locales/it-IT-MDEQ2SG3.js.map +0 -7
- package/dist/dev/locales/ja-JP-K2DI4W6B.js.map +0 -7
- package/dist/dev/locales/kaa-6BPSNM3R.js.map +0 -7
- package/dist/dev/locales/kab-KAB-2S7ZURK7.js.map +0 -7
- package/dist/dev/locales/kk-KZ-UJPYGRQQ.js.map +0 -7
- package/dist/dev/locales/km-KH-M5T5JKUE.js.map +0 -7
- package/dist/dev/locales/ko-KR-RQX37SNF.js.map +0 -7
- package/dist/dev/locales/ku-TR-5XJDIERL.js.map +0 -7
- package/dist/dev/locales/lt-LT-MGUBX6CA.js.map +0 -7
- package/dist/dev/locales/lv-LV-MD7N5VHD.js.map +0 -7
- package/dist/dev/locales/mr-IN-4XWMNGQC.js.map +0 -7
- package/dist/dev/locales/my-MM-O4Z74GN5.js.map +0 -7
- package/dist/dev/locales/nb-NO-BMB73KRH.js.map +0 -7
- package/dist/dev/locales/nl-NL-F2257BLQ.js.map +0 -7
- package/dist/dev/locales/nn-NO-NCORG7TS.js.map +0 -7
- package/dist/dev/locales/oc-FR-ATFBDMF6.js.map +0 -7
- package/dist/dev/locales/pa-IN-D2I375G4.js.map +0 -7
- package/dist/dev/locales/pl-PL-YJHOWAAW.js.map +0 -7
- package/dist/dev/locales/pt-BR-APOPYZJ7.js.map +0 -7
- package/dist/dev/locales/pt-PT-W56WCN7P.js +0 -586
- package/dist/dev/locales/pt-PT-W56WCN7P.js.map +0 -7
- package/dist/dev/locales/ro-RO-L575VRQA.js.map +0 -7
- package/dist/dev/locales/ru-RU-BLG6HZG5.js.map +0 -7
- package/dist/dev/locales/si-LK-KT7GGO6D.js.map +0 -7
- package/dist/dev/locales/sk-SK-DY6IPO5U.js.map +0 -7
- package/dist/dev/locales/sl-SI-5DZSRA47.js.map +0 -7
- package/dist/dev/locales/sv-SE-V32YHALQ.js.map +0 -7
- package/dist/dev/locales/ta-IN-5JRAGQAO.js.map +0 -7
- package/dist/dev/locales/th-TH-55ACRHDJ.js.map +0 -7
- package/dist/dev/locales/tr-TR-7QYBXDBO.js.map +0 -7
- package/dist/dev/locales/uk-UA-TJS2TMRH.js.map +0 -7
- package/dist/dev/locales/vi-VN-Y5CQ2EKQ.js +0 -586
- package/dist/dev/locales/vi-VN-Y5CQ2EKQ.js.map +0 -7
- package/dist/dev/locales/zh-CN-4MXUOFTH.js.map +0 -7
- package/dist/dev/locales/zh-HK-RBTGIU3U.js.map +0 -7
- package/dist/dev/locales/zh-TW-U5VF4CCU.js.map +0 -7
- package/dist/prod/chunk-I4UNSFV6.js +0 -12
- package/dist/prod/chunk-VTWWEYSQ.js +0 -4
- package/dist/prod/chunk-Z3N5DIM6.js +0 -1
- package/dist/prod/locales/ar-SA-G6X2FPQ2.js +0 -10
- package/dist/prod/locales/az-AZ-76LH7QW2.js +0 -1
- package/dist/prod/locales/bg-BG-XCXSNQG7.js +0 -5
- package/dist/prod/locales/bn-BD-2XOGV67Q.js +0 -5
- package/dist/prod/locales/ca-ES-6MX7JW3Y.js +0 -8
- package/dist/prod/locales/cs-CZ-2BRQDIVT.js +0 -11
- package/dist/prod/locales/da-DK-5WZEPLOC.js +0 -5
- package/dist/prod/locales/de-DE-XR44H4JA.js +0 -8
- package/dist/prod/locales/el-GR-BZB4AONW.js +0 -10
- package/dist/prod/locales/en-TYY6KWIJ.js +0 -1
- package/dist/prod/locales/es-ES-U4NZUMDT.js +0 -9
- package/dist/prod/locales/eu-ES-A7QVB2H4.js +0 -11
- package/dist/prod/locales/fa-IR-HGAKTJCU.js +0 -8
- package/dist/prod/locales/fi-FI-Z5N7JZ37.js +0 -6
- package/dist/prod/locales/fr-FR-RHASNOE6.js +0 -9
- package/dist/prod/locales/gl-ES-HMX3MZ6V.js +0 -10
- package/dist/prod/locales/he-IL-6SHJWFNN.js +0 -10
- package/dist/prod/locales/hi-IN-IWLTKZ5I.js +0 -4
- package/dist/prod/locales/hu-HU-A5ZG7DT2.js +0 -7
- package/dist/prod/locales/id-ID-SAP4L64H.js +0 -10
- package/dist/prod/locales/it-IT-JPQ66NNP.js +0 -11
- package/dist/prod/locales/ja-JP-DBVTYXUO.js +0 -8
- package/dist/prod/locales/kaa-6HZHGXH3.js +0 -1
- package/dist/prod/locales/kab-KAB-ZGHBKWFO.js +0 -8
- package/dist/prod/locales/kk-KZ-P5N5QNE5.js +0 -1
- package/dist/prod/locales/km-KH-HSX4SM5Z.js +0 -11
- package/dist/prod/locales/ko-KR-MTYHY66A.js +0 -9
- package/dist/prod/locales/ku-TR-6OUDTVRD.js +0 -9
- package/dist/prod/locales/lt-LT-XHIRWOB4.js +0 -3
- package/dist/prod/locales/lv-LV-5QDEKY6T.js +0 -7
- package/dist/prod/locales/mr-IN-CRQNXWMA.js +0 -13
- package/dist/prod/locales/my-MM-5M5IBNSE.js +0 -1
- package/dist/prod/locales/nb-NO-T6EIAALU.js +0 -10
- package/dist/prod/locales/nl-NL-IS3SIHDZ.js +0 -8
- package/dist/prod/locales/nn-NO-6E72VCQL.js +0 -8
- package/dist/prod/locales/oc-FR-POXYY2M6.js +0 -8
- package/dist/prod/locales/pa-IN-N4M65BXN.js +0 -4
- package/dist/prod/locales/percentages-BXMCSKIN.js +0 -1
- package/dist/prod/locales/pl-PL-T2D74RX3.js +0 -9
- package/dist/prod/locales/pt-BR-5N22H2LF.js +0 -9
- package/dist/prod/locales/pt-PT-UZXXM6DQ.js +0 -9
- package/dist/prod/locales/ro-RO-JPDTUUEW.js +0 -11
- package/dist/prod/locales/ru-RU-B4JR7IUQ.js +0 -9
- package/dist/prod/locales/si-LK-N5RQ5JYF.js +0 -1
- package/dist/prod/locales/sk-SK-C5VTKIMK.js +0 -6
- package/dist/prod/locales/sl-SI-NN7IZMDC.js +0 -6
- package/dist/prod/locales/sv-SE-XGPEYMSR.js +0 -10
- package/dist/prod/locales/ta-IN-2NMHFXQM.js +0 -9
- package/dist/prod/locales/th-TH-HPSO5L25.js +0 -2
- package/dist/prod/locales/tr-TR-DEFEU3FU.js +0 -7
- package/dist/prod/locales/uk-UA-QMV73CPH.js +0 -6
- package/dist/prod/locales/vi-VN-M7AON7JQ.js +0 -5
- package/dist/prod/locales/zh-CN-LNUGB5OW.js +0 -10
- package/dist/prod/locales/zh-HK-E62DVLB3.js +0 -1
- package/dist/prod/locales/zh-TW-RAJ6MFWO.js +0 -9
- /package/dist/dev/data/{image-VTYIFRQE.js.map → image-S2GFZH7W.js.map} +0 -0
- /package/dist/dev/locales/{en-SMAPCEOQ.js.map → en-ZO6QSABV.js.map} +0 -0
- /package/dist/dev/locales/{percentages-YKFLWNK2.js.map → percentages-2RAYDWNS.js.map} +0 -0
|
@@ -2,18 +2,8 @@
|
|
|
2
2
|
import { type SceneBounds } from "@excalidraw/element";
|
|
3
3
|
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
4
4
|
import type { AppState, Offsets } from "../types";
|
|
5
|
-
export declare const actionChangeViewBackgroundColor: {
|
|
6
|
-
|
|
7
|
-
label: string;
|
|
8
|
-
trackEvent: false;
|
|
9
|
-
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
10
|
-
perform: (_: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
11
|
-
appState: any;
|
|
12
|
-
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
13
|
-
};
|
|
14
|
-
PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
} & {
|
|
16
|
-
keyTest?: undefined;
|
|
5
|
+
export declare const actionChangeViewBackgroundColor: import("./types").Action<Partial<AppState>> & {
|
|
6
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
17
7
|
};
|
|
18
8
|
export declare const actionClearCanvas: {
|
|
19
9
|
name: "clearCanvas";
|
|
@@ -23,7 +13,7 @@ export declare const actionClearCanvas: {
|
|
|
23
13
|
category: "canvas";
|
|
24
14
|
};
|
|
25
15
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
26
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
16
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
27
17
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
28
18
|
appState: {
|
|
29
19
|
files: {};
|
|
@@ -72,6 +62,8 @@ export declare const actionClearCanvas: {
|
|
|
72
62
|
tab: "mermaid" | "text-to-diagram";
|
|
73
63
|
} | {
|
|
74
64
|
name: "commandPalette";
|
|
65
|
+
} | {
|
|
66
|
+
name: "settings";
|
|
75
67
|
} | {
|
|
76
68
|
name: "elementLinkSelector";
|
|
77
69
|
sourceElementId: string;
|
|
@@ -91,8 +83,9 @@ export declare const actionClearCanvas: {
|
|
|
91
83
|
};
|
|
92
84
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
93
85
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
86
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
94
87
|
isBindingEnabled: boolean;
|
|
95
|
-
|
|
88
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
96
89
|
isRotating: boolean;
|
|
97
90
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
98
91
|
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
@@ -125,6 +118,12 @@ export declare const actionClearCanvas: {
|
|
|
125
118
|
matches: readonly import("../types").SearchMatch[];
|
|
126
119
|
}> | null;
|
|
127
120
|
activeLockedId: string | null;
|
|
121
|
+
hoveredElementIds: Readonly<{
|
|
122
|
+
[id: string]: true;
|
|
123
|
+
}>;
|
|
124
|
+
shouldCacheIgnoreZoom: boolean;
|
|
125
|
+
exportScale: number;
|
|
126
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
128
127
|
contextMenu: {
|
|
129
128
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
130
129
|
top: number;
|
|
@@ -133,12 +132,14 @@ export declare const actionClearCanvas: {
|
|
|
133
132
|
showWelcomeScreen: boolean;
|
|
134
133
|
isLoading: boolean;
|
|
135
134
|
errorMessage: import("react").ReactNode;
|
|
136
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
137
135
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
138
136
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
139
137
|
editingFrame: string | null;
|
|
138
|
+
preferredSelectionTool: {
|
|
139
|
+
type: "selection" | "lasso";
|
|
140
|
+
initialized: boolean;
|
|
141
|
+
};
|
|
140
142
|
exportWithDarkMode: boolean;
|
|
141
|
-
exportScale: number;
|
|
142
143
|
currentItemStrokeColor: string;
|
|
143
144
|
currentItemBackgroundColor: string;
|
|
144
145
|
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
@@ -157,23 +158,18 @@ export declare const actionClearCanvas: {
|
|
|
157
158
|
cursorButton: "up" | "down";
|
|
158
159
|
scrolledOutside: boolean;
|
|
159
160
|
isResizing: boolean;
|
|
160
|
-
openMenu: "canvas" |
|
|
161
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
161
|
+
openMenu: "canvas" | null;
|
|
162
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
162
163
|
openSidebar: {
|
|
163
164
|
name: string;
|
|
164
|
-
/** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
165
165
|
tab?: string | undefined;
|
|
166
166
|
} | null;
|
|
167
167
|
defaultSidebarDockedPreference: boolean;
|
|
168
168
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
169
|
-
hoveredElementIds: Readonly<{
|
|
170
|
-
[id: string]: true;
|
|
171
|
-
}>;
|
|
172
169
|
previousSelectedElementIds: {
|
|
173
170
|
[id: string]: true;
|
|
174
171
|
};
|
|
175
172
|
selectedElementsAreBeingDragged: boolean;
|
|
176
|
-
shouldCacheIgnoreZoom: boolean;
|
|
177
173
|
toast: {
|
|
178
174
|
message: string;
|
|
179
175
|
closable?: boolean | undefined;
|
|
@@ -181,7 +177,7 @@ export declare const actionClearCanvas: {
|
|
|
181
177
|
} | null;
|
|
182
178
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
183
179
|
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
184
|
-
showHyperlinkPopup: false | "
|
|
180
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
185
181
|
originSnapOffset: {
|
|
186
182
|
x: number;
|
|
187
183
|
y: number;
|
|
@@ -206,7 +202,7 @@ export declare const actionZoomIn: {
|
|
|
206
202
|
trackEvent: {
|
|
207
203
|
category: "canvas";
|
|
208
204
|
};
|
|
209
|
-
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
205
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
210
206
|
appState: {
|
|
211
207
|
userToFollow: null;
|
|
212
208
|
scrollX: number;
|
|
@@ -232,7 +228,7 @@ export declare const actionZoomIn: {
|
|
|
232
228
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
233
229
|
isBindingEnabled: boolean;
|
|
234
230
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
235
|
-
|
|
231
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
236
232
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
237
233
|
frameRendering: {
|
|
238
234
|
enabled: boolean;
|
|
@@ -248,6 +244,10 @@ export declare const actionZoomIn: {
|
|
|
248
244
|
locked: boolean;
|
|
249
245
|
fromSelection: boolean;
|
|
250
246
|
} & import("../types").ActiveTool;
|
|
247
|
+
preferredSelectionTool: {
|
|
248
|
+
type: "selection" | "lasso";
|
|
249
|
+
initialized: boolean;
|
|
250
|
+
};
|
|
251
251
|
penMode: boolean;
|
|
252
252
|
penDetected: boolean;
|
|
253
253
|
exportBackground: boolean;
|
|
@@ -275,11 +275,10 @@ export declare const actionZoomIn: {
|
|
|
275
275
|
name: string | null;
|
|
276
276
|
isResizing: boolean;
|
|
277
277
|
isRotating: boolean;
|
|
278
|
-
openMenu: "canvas" |
|
|
279
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
278
|
+
openMenu: "canvas" | null;
|
|
279
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
280
280
|
openSidebar: {
|
|
281
281
|
name: string;
|
|
282
|
-
/** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
283
282
|
tab?: string | undefined;
|
|
284
283
|
} | null;
|
|
285
284
|
openDialog: {
|
|
@@ -289,6 +288,8 @@ export declare const actionZoomIn: {
|
|
|
289
288
|
tab: "mermaid" | "text-to-diagram";
|
|
290
289
|
} | {
|
|
291
290
|
name: "commandPalette";
|
|
291
|
+
} | {
|
|
292
|
+
name: "settings";
|
|
292
293
|
} | {
|
|
293
294
|
name: "elementLinkSelector";
|
|
294
295
|
sourceElementId: string;
|
|
@@ -358,7 +359,7 @@ export declare const actionZoomIn: {
|
|
|
358
359
|
shown: true;
|
|
359
360
|
data: import("../charts").Spreadsheet;
|
|
360
361
|
};
|
|
361
|
-
showHyperlinkPopup: false | "
|
|
362
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
362
363
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
363
364
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
364
365
|
originSnapOffset: {
|
|
@@ -377,6 +378,7 @@ export declare const actionZoomIn: {
|
|
|
377
378
|
lockedMultiSelections: {
|
|
378
379
|
[groupId: string]: true;
|
|
379
380
|
};
|
|
381
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
380
382
|
};
|
|
381
383
|
captureUpdate: "EVENTUALLY";
|
|
382
384
|
};
|
|
@@ -393,7 +395,7 @@ export declare const actionZoomOut: {
|
|
|
393
395
|
trackEvent: {
|
|
394
396
|
category: "canvas";
|
|
395
397
|
};
|
|
396
|
-
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
398
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
397
399
|
appState: {
|
|
398
400
|
userToFollow: null;
|
|
399
401
|
scrollX: number;
|
|
@@ -419,7 +421,7 @@ export declare const actionZoomOut: {
|
|
|
419
421
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
420
422
|
isBindingEnabled: boolean;
|
|
421
423
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
422
|
-
|
|
424
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
423
425
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
424
426
|
frameRendering: {
|
|
425
427
|
enabled: boolean;
|
|
@@ -435,6 +437,10 @@ export declare const actionZoomOut: {
|
|
|
435
437
|
locked: boolean;
|
|
436
438
|
fromSelection: boolean;
|
|
437
439
|
} & import("../types").ActiveTool;
|
|
440
|
+
preferredSelectionTool: {
|
|
441
|
+
type: "selection" | "lasso";
|
|
442
|
+
initialized: boolean;
|
|
443
|
+
};
|
|
438
444
|
penMode: boolean;
|
|
439
445
|
penDetected: boolean;
|
|
440
446
|
exportBackground: boolean;
|
|
@@ -462,11 +468,10 @@ export declare const actionZoomOut: {
|
|
|
462
468
|
name: string | null;
|
|
463
469
|
isResizing: boolean;
|
|
464
470
|
isRotating: boolean;
|
|
465
|
-
openMenu: "canvas" |
|
|
466
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
471
|
+
openMenu: "canvas" | null;
|
|
472
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
467
473
|
openSidebar: {
|
|
468
474
|
name: string;
|
|
469
|
-
/** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
470
475
|
tab?: string | undefined;
|
|
471
476
|
} | null;
|
|
472
477
|
openDialog: {
|
|
@@ -476,6 +481,8 @@ export declare const actionZoomOut: {
|
|
|
476
481
|
tab: "mermaid" | "text-to-diagram";
|
|
477
482
|
} | {
|
|
478
483
|
name: "commandPalette";
|
|
484
|
+
} | {
|
|
485
|
+
name: "settings";
|
|
479
486
|
} | {
|
|
480
487
|
name: "elementLinkSelector";
|
|
481
488
|
sourceElementId: string;
|
|
@@ -545,7 +552,7 @@ export declare const actionZoomOut: {
|
|
|
545
552
|
shown: true;
|
|
546
553
|
data: import("../charts").Spreadsheet;
|
|
547
554
|
};
|
|
548
|
-
showHyperlinkPopup: false | "
|
|
555
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
549
556
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
550
557
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
551
558
|
originSnapOffset: {
|
|
@@ -564,6 +571,7 @@ export declare const actionZoomOut: {
|
|
|
564
571
|
lockedMultiSelections: {
|
|
565
572
|
[groupId: string]: true;
|
|
566
573
|
};
|
|
574
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
567
575
|
};
|
|
568
576
|
captureUpdate: "EVENTUALLY";
|
|
569
577
|
};
|
|
@@ -580,7 +588,7 @@ export declare const actionResetZoom: {
|
|
|
580
588
|
trackEvent: {
|
|
581
589
|
category: "canvas";
|
|
582
590
|
};
|
|
583
|
-
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
591
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
584
592
|
appState: {
|
|
585
593
|
userToFollow: null;
|
|
586
594
|
scrollX: number;
|
|
@@ -606,7 +614,7 @@ export declare const actionResetZoom: {
|
|
|
606
614
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
607
615
|
isBindingEnabled: boolean;
|
|
608
616
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
609
|
-
|
|
617
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
610
618
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
611
619
|
frameRendering: {
|
|
612
620
|
enabled: boolean;
|
|
@@ -622,6 +630,10 @@ export declare const actionResetZoom: {
|
|
|
622
630
|
locked: boolean;
|
|
623
631
|
fromSelection: boolean;
|
|
624
632
|
} & import("../types").ActiveTool;
|
|
633
|
+
preferredSelectionTool: {
|
|
634
|
+
type: "selection" | "lasso";
|
|
635
|
+
initialized: boolean;
|
|
636
|
+
};
|
|
625
637
|
penMode: boolean;
|
|
626
638
|
penDetected: boolean;
|
|
627
639
|
exportBackground: boolean;
|
|
@@ -649,11 +661,10 @@ export declare const actionResetZoom: {
|
|
|
649
661
|
name: string | null;
|
|
650
662
|
isResizing: boolean;
|
|
651
663
|
isRotating: boolean;
|
|
652
|
-
openMenu: "canvas" |
|
|
653
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
664
|
+
openMenu: "canvas" | null;
|
|
665
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
654
666
|
openSidebar: {
|
|
655
667
|
name: string;
|
|
656
|
-
/** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
657
668
|
tab?: string | undefined;
|
|
658
669
|
} | null;
|
|
659
670
|
openDialog: {
|
|
@@ -663,6 +674,8 @@ export declare const actionResetZoom: {
|
|
|
663
674
|
tab: "mermaid" | "text-to-diagram";
|
|
664
675
|
} | {
|
|
665
676
|
name: "commandPalette";
|
|
677
|
+
} | {
|
|
678
|
+
name: "settings";
|
|
666
679
|
} | {
|
|
667
680
|
name: "elementLinkSelector";
|
|
668
681
|
sourceElementId: string;
|
|
@@ -732,7 +745,7 @@ export declare const actionResetZoom: {
|
|
|
732
745
|
shown: true;
|
|
733
746
|
data: import("../charts").Spreadsheet;
|
|
734
747
|
};
|
|
735
|
-
showHyperlinkPopup: false | "
|
|
748
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
736
749
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
737
750
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
738
751
|
originSnapOffset: {
|
|
@@ -751,6 +764,7 @@ export declare const actionResetZoom: {
|
|
|
751
764
|
lockedMultiSelections: {
|
|
752
765
|
[groupId: string]: true;
|
|
753
766
|
};
|
|
767
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
754
768
|
};
|
|
755
769
|
captureUpdate: "EVENTUALLY";
|
|
756
770
|
};
|
|
@@ -799,7 +813,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
799
813
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
800
814
|
isBindingEnabled: boolean;
|
|
801
815
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
802
|
-
|
|
816
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
803
817
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
804
818
|
frameRendering: {
|
|
805
819
|
enabled: boolean;
|
|
@@ -815,6 +829,10 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
815
829
|
locked: boolean;
|
|
816
830
|
fromSelection: boolean;
|
|
817
831
|
} & import("../types").ActiveTool;
|
|
832
|
+
preferredSelectionTool: {
|
|
833
|
+
type: "selection" | "lasso";
|
|
834
|
+
initialized: boolean;
|
|
835
|
+
};
|
|
818
836
|
penMode: boolean;
|
|
819
837
|
penDetected: boolean;
|
|
820
838
|
exportBackground: boolean;
|
|
@@ -842,11 +860,10 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
842
860
|
name: string | null;
|
|
843
861
|
isResizing: boolean;
|
|
844
862
|
isRotating: boolean;
|
|
845
|
-
openMenu: "canvas" |
|
|
846
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
863
|
+
openMenu: "canvas" | null;
|
|
864
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
847
865
|
openSidebar: {
|
|
848
866
|
name: string;
|
|
849
|
-
/** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
850
867
|
tab?: string | undefined;
|
|
851
868
|
} | null;
|
|
852
869
|
openDialog: {
|
|
@@ -856,6 +873,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
856
873
|
tab: "mermaid" | "text-to-diagram";
|
|
857
874
|
} | {
|
|
858
875
|
name: "commandPalette";
|
|
876
|
+
} | {
|
|
877
|
+
name: "settings";
|
|
859
878
|
} | {
|
|
860
879
|
name: "elementLinkSelector";
|
|
861
880
|
sourceElementId: string;
|
|
@@ -925,7 +944,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
925
944
|
shown: true;
|
|
926
945
|
data: import("../charts").Spreadsheet;
|
|
927
946
|
};
|
|
928
|
-
showHyperlinkPopup: false | "
|
|
947
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
929
948
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
930
949
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
931
950
|
originSnapOffset: {
|
|
@@ -945,6 +964,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
945
964
|
lockedMultiSelections: {
|
|
946
965
|
[groupId: string]: true;
|
|
947
966
|
};
|
|
967
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
948
968
|
};
|
|
949
969
|
captureUpdate: "EVENTUALLY";
|
|
950
970
|
};
|
|
@@ -988,7 +1008,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
988
1008
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
989
1009
|
isBindingEnabled: boolean;
|
|
990
1010
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
991
|
-
|
|
1011
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
992
1012
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
993
1013
|
frameRendering: {
|
|
994
1014
|
enabled: boolean;
|
|
@@ -1004,6 +1024,10 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1004
1024
|
locked: boolean;
|
|
1005
1025
|
fromSelection: boolean;
|
|
1006
1026
|
} & import("../types").ActiveTool;
|
|
1027
|
+
preferredSelectionTool: {
|
|
1028
|
+
type: "selection" | "lasso";
|
|
1029
|
+
initialized: boolean;
|
|
1030
|
+
};
|
|
1007
1031
|
penMode: boolean;
|
|
1008
1032
|
penDetected: boolean;
|
|
1009
1033
|
exportBackground: boolean;
|
|
@@ -1031,11 +1055,10 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1031
1055
|
name: string | null;
|
|
1032
1056
|
isResizing: boolean;
|
|
1033
1057
|
isRotating: boolean;
|
|
1034
|
-
openMenu: "canvas" |
|
|
1035
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1058
|
+
openMenu: "canvas" | null;
|
|
1059
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1036
1060
|
openSidebar: {
|
|
1037
1061
|
name: string;
|
|
1038
|
-
/** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
1039
1062
|
tab?: string | undefined;
|
|
1040
1063
|
} | null;
|
|
1041
1064
|
openDialog: {
|
|
@@ -1045,6 +1068,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1045
1068
|
tab: "mermaid" | "text-to-diagram";
|
|
1046
1069
|
} | {
|
|
1047
1070
|
name: "commandPalette";
|
|
1071
|
+
} | {
|
|
1072
|
+
name: "settings";
|
|
1048
1073
|
} | {
|
|
1049
1074
|
name: "elementLinkSelector";
|
|
1050
1075
|
sourceElementId: string;
|
|
@@ -1114,7 +1139,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1114
1139
|
shown: true;
|
|
1115
1140
|
data: import("../charts").Spreadsheet;
|
|
1116
1141
|
};
|
|
1117
|
-
showHyperlinkPopup: false | "
|
|
1142
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1118
1143
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1119
1144
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1120
1145
|
originSnapOffset: {
|
|
@@ -1134,6 +1159,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1134
1159
|
lockedMultiSelections: {
|
|
1135
1160
|
[groupId: string]: true;
|
|
1136
1161
|
};
|
|
1162
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
1137
1163
|
};
|
|
1138
1164
|
captureUpdate: "EVENTUALLY";
|
|
1139
1165
|
};
|
|
@@ -1144,7 +1170,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1144
1170
|
trackEvent: {
|
|
1145
1171
|
category: "canvas";
|
|
1146
1172
|
};
|
|
1147
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
1173
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1148
1174
|
appState: {
|
|
1149
1175
|
scrollX: number;
|
|
1150
1176
|
scrollY: number;
|
|
@@ -1169,7 +1195,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1169
1195
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1170
1196
|
isBindingEnabled: boolean;
|
|
1171
1197
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1172
|
-
|
|
1198
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1173
1199
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1174
1200
|
frameRendering: {
|
|
1175
1201
|
enabled: boolean;
|
|
@@ -1185,6 +1211,10 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1185
1211
|
locked: boolean;
|
|
1186
1212
|
fromSelection: boolean;
|
|
1187
1213
|
} & import("../types").ActiveTool;
|
|
1214
|
+
preferredSelectionTool: {
|
|
1215
|
+
type: "selection" | "lasso";
|
|
1216
|
+
initialized: boolean;
|
|
1217
|
+
};
|
|
1188
1218
|
penMode: boolean;
|
|
1189
1219
|
penDetected: boolean;
|
|
1190
1220
|
exportBackground: boolean;
|
|
@@ -1212,11 +1242,10 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1212
1242
|
name: string | null;
|
|
1213
1243
|
isResizing: boolean;
|
|
1214
1244
|
isRotating: boolean;
|
|
1215
|
-
openMenu: "canvas" |
|
|
1216
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1245
|
+
openMenu: "canvas" | null;
|
|
1246
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1217
1247
|
openSidebar: {
|
|
1218
1248
|
name: string;
|
|
1219
|
-
/** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
1220
1249
|
tab?: string | undefined;
|
|
1221
1250
|
} | null;
|
|
1222
1251
|
openDialog: {
|
|
@@ -1226,6 +1255,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1226
1255
|
tab: "mermaid" | "text-to-diagram";
|
|
1227
1256
|
} | {
|
|
1228
1257
|
name: "commandPalette";
|
|
1258
|
+
} | {
|
|
1259
|
+
name: "settings";
|
|
1229
1260
|
} | {
|
|
1230
1261
|
name: "elementLinkSelector";
|
|
1231
1262
|
sourceElementId: string;
|
|
@@ -1295,7 +1326,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1295
1326
|
shown: true;
|
|
1296
1327
|
data: import("../charts").Spreadsheet;
|
|
1297
1328
|
};
|
|
1298
|
-
showHyperlinkPopup: false | "
|
|
1329
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1299
1330
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1300
1331
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1301
1332
|
originSnapOffset: {
|
|
@@ -1315,6 +1346,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1315
1346
|
lockedMultiSelections: {
|
|
1316
1347
|
[groupId: string]: true;
|
|
1317
1348
|
};
|
|
1349
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
1318
1350
|
};
|
|
1319
1351
|
captureUpdate: "EVENTUALLY";
|
|
1320
1352
|
};
|
|
@@ -1329,7 +1361,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1329
1361
|
trackEvent: {
|
|
1330
1362
|
category: "canvas";
|
|
1331
1363
|
};
|
|
1332
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
1364
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1333
1365
|
appState: {
|
|
1334
1366
|
scrollX: number;
|
|
1335
1367
|
scrollY: number;
|
|
@@ -1354,7 +1386,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1354
1386
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1355
1387
|
isBindingEnabled: boolean;
|
|
1356
1388
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1357
|
-
|
|
1389
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1358
1390
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1359
1391
|
frameRendering: {
|
|
1360
1392
|
enabled: boolean;
|
|
@@ -1370,6 +1402,10 @@ export declare const actionZoomToFitSelection: {
|
|
|
1370
1402
|
locked: boolean;
|
|
1371
1403
|
fromSelection: boolean;
|
|
1372
1404
|
} & import("../types").ActiveTool;
|
|
1405
|
+
preferredSelectionTool: {
|
|
1406
|
+
type: "selection" | "lasso";
|
|
1407
|
+
initialized: boolean;
|
|
1408
|
+
};
|
|
1373
1409
|
penMode: boolean;
|
|
1374
1410
|
penDetected: boolean;
|
|
1375
1411
|
exportBackground: boolean;
|
|
@@ -1397,11 +1433,10 @@ export declare const actionZoomToFitSelection: {
|
|
|
1397
1433
|
name: string | null;
|
|
1398
1434
|
isResizing: boolean;
|
|
1399
1435
|
isRotating: boolean;
|
|
1400
|
-
openMenu: "canvas" |
|
|
1401
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1436
|
+
openMenu: "canvas" | null;
|
|
1437
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1402
1438
|
openSidebar: {
|
|
1403
1439
|
name: string;
|
|
1404
|
-
/** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
1405
1440
|
tab?: string | undefined;
|
|
1406
1441
|
} | null;
|
|
1407
1442
|
openDialog: {
|
|
@@ -1411,6 +1446,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
1411
1446
|
tab: "mermaid" | "text-to-diagram";
|
|
1412
1447
|
} | {
|
|
1413
1448
|
name: "commandPalette";
|
|
1449
|
+
} | {
|
|
1450
|
+
name: "settings";
|
|
1414
1451
|
} | {
|
|
1415
1452
|
name: "elementLinkSelector";
|
|
1416
1453
|
sourceElementId: string;
|
|
@@ -1480,7 +1517,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1480
1517
|
shown: true;
|
|
1481
1518
|
data: import("../charts").Spreadsheet;
|
|
1482
1519
|
};
|
|
1483
|
-
showHyperlinkPopup: false | "
|
|
1520
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1484
1521
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1485
1522
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1486
1523
|
originSnapOffset: {
|
|
@@ -1500,6 +1537,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1500
1537
|
lockedMultiSelections: {
|
|
1501
1538
|
[groupId: string]: true;
|
|
1502
1539
|
};
|
|
1540
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
1503
1541
|
};
|
|
1504
1542
|
captureUpdate: "EVENTUALLY";
|
|
1505
1543
|
};
|
|
@@ -1515,7 +1553,7 @@ export declare const actionZoomToFit: {
|
|
|
1515
1553
|
trackEvent: {
|
|
1516
1554
|
category: "canvas";
|
|
1517
1555
|
};
|
|
1518
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
1556
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1519
1557
|
appState: {
|
|
1520
1558
|
scrollX: number;
|
|
1521
1559
|
scrollY: number;
|
|
@@ -1540,7 +1578,7 @@ export declare const actionZoomToFit: {
|
|
|
1540
1578
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1541
1579
|
isBindingEnabled: boolean;
|
|
1542
1580
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1543
|
-
|
|
1581
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1544
1582
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1545
1583
|
frameRendering: {
|
|
1546
1584
|
enabled: boolean;
|
|
@@ -1556,6 +1594,10 @@ export declare const actionZoomToFit: {
|
|
|
1556
1594
|
locked: boolean;
|
|
1557
1595
|
fromSelection: boolean;
|
|
1558
1596
|
} & import("../types").ActiveTool;
|
|
1597
|
+
preferredSelectionTool: {
|
|
1598
|
+
type: "selection" | "lasso";
|
|
1599
|
+
initialized: boolean;
|
|
1600
|
+
};
|
|
1559
1601
|
penMode: boolean;
|
|
1560
1602
|
penDetected: boolean;
|
|
1561
1603
|
exportBackground: boolean;
|
|
@@ -1583,11 +1625,10 @@ export declare const actionZoomToFit: {
|
|
|
1583
1625
|
name: string | null;
|
|
1584
1626
|
isResizing: boolean;
|
|
1585
1627
|
isRotating: boolean;
|
|
1586
|
-
openMenu: "canvas" |
|
|
1587
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1628
|
+
openMenu: "canvas" | null;
|
|
1629
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1588
1630
|
openSidebar: {
|
|
1589
1631
|
name: string;
|
|
1590
|
-
/** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
1591
1632
|
tab?: string | undefined;
|
|
1592
1633
|
} | null;
|
|
1593
1634
|
openDialog: {
|
|
@@ -1597,6 +1638,8 @@ export declare const actionZoomToFit: {
|
|
|
1597
1638
|
tab: "mermaid" | "text-to-diagram";
|
|
1598
1639
|
} | {
|
|
1599
1640
|
name: "commandPalette";
|
|
1641
|
+
} | {
|
|
1642
|
+
name: "settings";
|
|
1600
1643
|
} | {
|
|
1601
1644
|
name: "elementLinkSelector";
|
|
1602
1645
|
sourceElementId: string;
|
|
@@ -1666,7 +1709,7 @@ export declare const actionZoomToFit: {
|
|
|
1666
1709
|
shown: true;
|
|
1667
1710
|
data: import("../charts").Spreadsheet;
|
|
1668
1711
|
};
|
|
1669
|
-
showHyperlinkPopup: false | "
|
|
1712
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1670
1713
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1671
1714
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1672
1715
|
originSnapOffset: {
|
|
@@ -1686,6 +1729,7 @@ export declare const actionZoomToFit: {
|
|
|
1686
1729
|
lockedMultiSelections: {
|
|
1687
1730
|
[groupId: string]: true;
|
|
1688
1731
|
};
|
|
1732
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
1689
1733
|
};
|
|
1690
1734
|
captureUpdate: "EVENTUALLY";
|
|
1691
1735
|
};
|
|
@@ -1693,193 +1737,8 @@ export declare const actionZoomToFit: {
|
|
|
1693
1737
|
} & {
|
|
1694
1738
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1695
1739
|
};
|
|
1696
|
-
export declare const actionToggleTheme: {
|
|
1697
|
-
|
|
1698
|
-
label: (_: readonly ExcalidrawElement[], appState: Readonly<AppState>) => "buttons.lightMode" | "buttons.darkMode";
|
|
1699
|
-
keywords: string[];
|
|
1700
|
-
icon: (appState: import("../types").UIAppState) => import("react/jsx-runtime").JSX.Element;
|
|
1701
|
-
viewMode: true;
|
|
1702
|
-
trackEvent: {
|
|
1703
|
-
category: "canvas";
|
|
1704
|
-
};
|
|
1705
|
-
perform: (_: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
1706
|
-
appState: {
|
|
1707
|
-
theme: any;
|
|
1708
|
-
contextMenu: {
|
|
1709
|
-
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1710
|
-
top: number;
|
|
1711
|
-
left: number;
|
|
1712
|
-
} | null;
|
|
1713
|
-
showWelcomeScreen: boolean;
|
|
1714
|
-
isLoading: boolean;
|
|
1715
|
-
errorMessage: import("react").ReactNode;
|
|
1716
|
-
activeEmbeddable: {
|
|
1717
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1718
|
-
state: "active" | "hover";
|
|
1719
|
-
} | null;
|
|
1720
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1721
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1722
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1723
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1724
|
-
isBindingEnabled: boolean;
|
|
1725
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1726
|
-
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1727
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1728
|
-
frameRendering: {
|
|
1729
|
-
enabled: boolean;
|
|
1730
|
-
name: boolean;
|
|
1731
|
-
outline: boolean;
|
|
1732
|
-
clip: boolean;
|
|
1733
|
-
};
|
|
1734
|
-
editingFrame: string | null;
|
|
1735
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1736
|
-
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1737
|
-
activeTool: {
|
|
1738
|
-
lastActiveTool: import("../types").ActiveTool | null;
|
|
1739
|
-
locked: boolean;
|
|
1740
|
-
fromSelection: boolean;
|
|
1741
|
-
} & import("../types").ActiveTool;
|
|
1742
|
-
penMode: boolean;
|
|
1743
|
-
penDetected: boolean;
|
|
1744
|
-
exportBackground: boolean;
|
|
1745
|
-
exportEmbedScene: boolean;
|
|
1746
|
-
exportWithDarkMode: boolean;
|
|
1747
|
-
exportScale: number;
|
|
1748
|
-
currentItemStrokeColor: string;
|
|
1749
|
-
currentItemBackgroundColor: string;
|
|
1750
|
-
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1751
|
-
currentItemStrokeWidth: number;
|
|
1752
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1753
|
-
currentItemRoughness: number;
|
|
1754
|
-
currentItemOpacity: number;
|
|
1755
|
-
currentItemFontFamily: number;
|
|
1756
|
-
currentItemFontSize: number;
|
|
1757
|
-
currentItemTextAlign: string;
|
|
1758
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1759
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1760
|
-
currentHoveredFontFamily: number | null;
|
|
1761
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1762
|
-
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1763
|
-
viewBackgroundColor: string;
|
|
1764
|
-
scrollX: number;
|
|
1765
|
-
scrollY: number;
|
|
1766
|
-
cursorButton: "up" | "down";
|
|
1767
|
-
scrolledOutside: boolean;
|
|
1768
|
-
name: string | null;
|
|
1769
|
-
isResizing: boolean;
|
|
1770
|
-
isRotating: boolean;
|
|
1771
|
-
zoom: Readonly<{
|
|
1772
|
-
value: import("../types").NormalizedZoomValue;
|
|
1773
|
-
}>;
|
|
1774
|
-
openMenu: "canvas" | "shape" | null;
|
|
1775
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1776
|
-
openSidebar: {
|
|
1777
|
-
name: string;
|
|
1778
|
-
/** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
1779
|
-
tab?: string | undefined;
|
|
1780
|
-
} | null;
|
|
1781
|
-
openDialog: {
|
|
1782
|
-
name: "imageExport" | "help" | "jsonExport";
|
|
1783
|
-
} | {
|
|
1784
|
-
name: "ttd";
|
|
1785
|
-
tab: "mermaid" | "text-to-diagram";
|
|
1786
|
-
} | {
|
|
1787
|
-
name: "commandPalette";
|
|
1788
|
-
} | {
|
|
1789
|
-
name: "elementLinkSelector";
|
|
1790
|
-
sourceElementId: string;
|
|
1791
|
-
} | null;
|
|
1792
|
-
defaultSidebarDockedPreference: boolean;
|
|
1793
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1794
|
-
selectedElementIds: Readonly<{
|
|
1795
|
-
[id: string]: true;
|
|
1796
|
-
}>;
|
|
1797
|
-
hoveredElementIds: Readonly<{
|
|
1798
|
-
[id: string]: true;
|
|
1799
|
-
}>;
|
|
1800
|
-
previousSelectedElementIds: {
|
|
1801
|
-
[id: string]: true;
|
|
1802
|
-
};
|
|
1803
|
-
selectedElementsAreBeingDragged: boolean;
|
|
1804
|
-
shouldCacheIgnoreZoom: boolean;
|
|
1805
|
-
toast: {
|
|
1806
|
-
message: string;
|
|
1807
|
-
closable?: boolean | undefined;
|
|
1808
|
-
duration?: number | undefined;
|
|
1809
|
-
} | null;
|
|
1810
|
-
zenModeEnabled: boolean;
|
|
1811
|
-
gridSize: number;
|
|
1812
|
-
gridStep: number;
|
|
1813
|
-
gridModeEnabled: boolean;
|
|
1814
|
-
viewModeEnabled: boolean;
|
|
1815
|
-
selectedGroupIds: {
|
|
1816
|
-
[groupId: string]: boolean;
|
|
1817
|
-
};
|
|
1818
|
-
editingGroupId: string | null;
|
|
1819
|
-
width: number;
|
|
1820
|
-
height: number;
|
|
1821
|
-
offsetTop: number;
|
|
1822
|
-
offsetLeft: number;
|
|
1823
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1824
|
-
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
1825
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
1826
|
-
button?: "up" | "down" | undefined;
|
|
1827
|
-
selectedElementIds?: Readonly<{
|
|
1828
|
-
[id: string]: true;
|
|
1829
|
-
}> | undefined;
|
|
1830
|
-
username?: string | null | undefined;
|
|
1831
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1832
|
-
color?: {
|
|
1833
|
-
background: string;
|
|
1834
|
-
stroke: string;
|
|
1835
|
-
} | undefined;
|
|
1836
|
-
avatarUrl?: string | undefined;
|
|
1837
|
-
id?: string | undefined;
|
|
1838
|
-
socketId?: import("../types").SocketId | undefined;
|
|
1839
|
-
isCurrentUser?: boolean | undefined;
|
|
1840
|
-
isInCall?: boolean | undefined;
|
|
1841
|
-
isSpeaking?: boolean | undefined;
|
|
1842
|
-
isMuted?: boolean | undefined;
|
|
1843
|
-
}>>;
|
|
1844
|
-
stats: {
|
|
1845
|
-
open: boolean;
|
|
1846
|
-
panels: number;
|
|
1847
|
-
};
|
|
1848
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1849
|
-
pasteDialog: {
|
|
1850
|
-
shown: false;
|
|
1851
|
-
data: null;
|
|
1852
|
-
} | {
|
|
1853
|
-
shown: true;
|
|
1854
|
-
data: import("../charts").Spreadsheet;
|
|
1855
|
-
};
|
|
1856
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
1857
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1858
|
-
snapLines: readonly import("../snapping").SnapLine[];
|
|
1859
|
-
originSnapOffset: {
|
|
1860
|
-
x: number;
|
|
1861
|
-
y: number;
|
|
1862
|
-
} | null;
|
|
1863
|
-
objectsSnapModeEnabled: boolean;
|
|
1864
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
1865
|
-
followedBy: Set<import("../types").SocketId>;
|
|
1866
|
-
isCropping: boolean;
|
|
1867
|
-
croppingElementId: string | null;
|
|
1868
|
-
searchMatches: Readonly<{
|
|
1869
|
-
focusedId: string | null;
|
|
1870
|
-
matches: readonly import("../types").SearchMatch[];
|
|
1871
|
-
}> | null;
|
|
1872
|
-
activeLockedId: string | null;
|
|
1873
|
-
lockedMultiSelections: {
|
|
1874
|
-
[groupId: string]: true;
|
|
1875
|
-
};
|
|
1876
|
-
};
|
|
1877
|
-
captureUpdate: "EVENTUALLY";
|
|
1878
|
-
};
|
|
1879
|
-
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1880
|
-
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
1881
|
-
} & {
|
|
1882
|
-
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1740
|
+
export declare const actionToggleTheme: import("./types").Action<import("@excalidraw/element/types").Theme> & {
|
|
1741
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
1883
1742
|
};
|
|
1884
1743
|
export declare const actionToggleEraserTool: {
|
|
1885
1744
|
name: "toggleEraserTool";
|
|
@@ -1887,7 +1746,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1887
1746
|
trackEvent: {
|
|
1888
1747
|
category: "toolbar";
|
|
1889
1748
|
};
|
|
1890
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
1749
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1891
1750
|
appState: {
|
|
1892
1751
|
selectedElementIds: {};
|
|
1893
1752
|
selectedGroupIds: {};
|
|
@@ -1911,7 +1770,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1911
1770
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1912
1771
|
isBindingEnabled: boolean;
|
|
1913
1772
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1914
|
-
|
|
1773
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1915
1774
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1916
1775
|
frameRendering: {
|
|
1917
1776
|
enabled: boolean;
|
|
@@ -1922,6 +1781,10 @@ export declare const actionToggleEraserTool: {
|
|
|
1922
1781
|
editingFrame: string | null;
|
|
1923
1782
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1924
1783
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1784
|
+
preferredSelectionTool: {
|
|
1785
|
+
type: "selection" | "lasso";
|
|
1786
|
+
initialized: boolean;
|
|
1787
|
+
};
|
|
1925
1788
|
penMode: boolean;
|
|
1926
1789
|
penDetected: boolean;
|
|
1927
1790
|
exportBackground: boolean;
|
|
@@ -1954,11 +1817,10 @@ export declare const actionToggleEraserTool: {
|
|
|
1954
1817
|
zoom: Readonly<{
|
|
1955
1818
|
value: import("../types").NormalizedZoomValue;
|
|
1956
1819
|
}>;
|
|
1957
|
-
openMenu: "canvas" |
|
|
1958
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1820
|
+
openMenu: "canvas" | null;
|
|
1821
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1959
1822
|
openSidebar: {
|
|
1960
1823
|
name: string;
|
|
1961
|
-
/** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
1962
1824
|
tab?: string | undefined;
|
|
1963
1825
|
} | null;
|
|
1964
1826
|
openDialog: {
|
|
@@ -1968,6 +1830,8 @@ export declare const actionToggleEraserTool: {
|
|
|
1968
1830
|
tab: "mermaid" | "text-to-diagram";
|
|
1969
1831
|
} | {
|
|
1970
1832
|
name: "commandPalette";
|
|
1833
|
+
} | {
|
|
1834
|
+
name: "settings";
|
|
1971
1835
|
} | {
|
|
1972
1836
|
name: "elementLinkSelector";
|
|
1973
1837
|
sourceElementId: string;
|
|
@@ -2031,7 +1895,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2031
1895
|
shown: true;
|
|
2032
1896
|
data: import("../charts").Spreadsheet;
|
|
2033
1897
|
};
|
|
2034
|
-
showHyperlinkPopup: false | "
|
|
1898
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2035
1899
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2036
1900
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2037
1901
|
originSnapOffset: {
|
|
@@ -2051,6 +1915,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2051
1915
|
lockedMultiSelections: {
|
|
2052
1916
|
[groupId: string]: true;
|
|
2053
1917
|
};
|
|
1918
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
2054
1919
|
};
|
|
2055
1920
|
captureUpdate: "IMMEDIATELY";
|
|
2056
1921
|
};
|
|
@@ -2066,7 +1931,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2066
1931
|
category: "toolbar";
|
|
2067
1932
|
};
|
|
2068
1933
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
2069
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
1934
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
2070
1935
|
appState: {
|
|
2071
1936
|
selectedElementIds: {};
|
|
2072
1937
|
selectedGroupIds: {};
|
|
@@ -2090,7 +1955,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2090
1955
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2091
1956
|
isBindingEnabled: boolean;
|
|
2092
1957
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2093
|
-
|
|
1958
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2094
1959
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2095
1960
|
frameRendering: {
|
|
2096
1961
|
enabled: boolean;
|
|
@@ -2101,6 +1966,10 @@ export declare const actionToggleLassoTool: {
|
|
|
2101
1966
|
editingFrame: string | null;
|
|
2102
1967
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2103
1968
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1969
|
+
preferredSelectionTool: {
|
|
1970
|
+
type: "selection" | "lasso";
|
|
1971
|
+
initialized: boolean;
|
|
1972
|
+
};
|
|
2104
1973
|
penMode: boolean;
|
|
2105
1974
|
penDetected: boolean;
|
|
2106
1975
|
exportBackground: boolean;
|
|
@@ -2133,11 +2002,10 @@ export declare const actionToggleLassoTool: {
|
|
|
2133
2002
|
zoom: Readonly<{
|
|
2134
2003
|
value: import("../types").NormalizedZoomValue;
|
|
2135
2004
|
}>;
|
|
2136
|
-
openMenu: "canvas" |
|
|
2137
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2005
|
+
openMenu: "canvas" | null;
|
|
2006
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2138
2007
|
openSidebar: {
|
|
2139
2008
|
name: string;
|
|
2140
|
-
/** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
2141
2009
|
tab?: string | undefined;
|
|
2142
2010
|
} | null;
|
|
2143
2011
|
openDialog: {
|
|
@@ -2147,6 +2015,8 @@ export declare const actionToggleLassoTool: {
|
|
|
2147
2015
|
tab: "mermaid" | "text-to-diagram";
|
|
2148
2016
|
} | {
|
|
2149
2017
|
name: "commandPalette";
|
|
2018
|
+
} | {
|
|
2019
|
+
name: "settings";
|
|
2150
2020
|
} | {
|
|
2151
2021
|
name: "elementLinkSelector";
|
|
2152
2022
|
sourceElementId: string;
|
|
@@ -2210,7 +2080,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2210
2080
|
shown: true;
|
|
2211
2081
|
data: import("../charts").Spreadsheet;
|
|
2212
2082
|
};
|
|
2213
|
-
showHyperlinkPopup: false | "
|
|
2083
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2214
2084
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2215
2085
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2216
2086
|
originSnapOffset: {
|
|
@@ -2230,6 +2100,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2230
2100
|
lockedMultiSelections: {
|
|
2231
2101
|
[groupId: string]: true;
|
|
2232
2102
|
};
|
|
2103
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
2233
2104
|
};
|
|
2234
2105
|
captureUpdate: "NEVER";
|
|
2235
2106
|
};
|
|
@@ -2244,7 +2115,7 @@ export declare const actionToggleHandTool: {
|
|
|
2244
2115
|
};
|
|
2245
2116
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
2246
2117
|
viewMode: false;
|
|
2247
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
2118
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
2248
2119
|
appState: {
|
|
2249
2120
|
selectedElementIds: {};
|
|
2250
2121
|
selectedGroupIds: {};
|
|
@@ -2268,7 +2139,7 @@ export declare const actionToggleHandTool: {
|
|
|
2268
2139
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2269
2140
|
isBindingEnabled: boolean;
|
|
2270
2141
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2271
|
-
|
|
2142
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2272
2143
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2273
2144
|
frameRendering: {
|
|
2274
2145
|
enabled: boolean;
|
|
@@ -2279,6 +2150,10 @@ export declare const actionToggleHandTool: {
|
|
|
2279
2150
|
editingFrame: string | null;
|
|
2280
2151
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2281
2152
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2153
|
+
preferredSelectionTool: {
|
|
2154
|
+
type: "selection" | "lasso";
|
|
2155
|
+
initialized: boolean;
|
|
2156
|
+
};
|
|
2282
2157
|
penMode: boolean;
|
|
2283
2158
|
penDetected: boolean;
|
|
2284
2159
|
exportBackground: boolean;
|
|
@@ -2311,11 +2186,10 @@ export declare const actionToggleHandTool: {
|
|
|
2311
2186
|
zoom: Readonly<{
|
|
2312
2187
|
value: import("../types").NormalizedZoomValue;
|
|
2313
2188
|
}>;
|
|
2314
|
-
openMenu: "canvas" |
|
|
2315
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2189
|
+
openMenu: "canvas" | null;
|
|
2190
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2316
2191
|
openSidebar: {
|
|
2317
2192
|
name: string;
|
|
2318
|
-
/** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
2319
2193
|
tab?: string | undefined;
|
|
2320
2194
|
} | null;
|
|
2321
2195
|
openDialog: {
|
|
@@ -2325,6 +2199,8 @@ export declare const actionToggleHandTool: {
|
|
|
2325
2199
|
tab: "mermaid" | "text-to-diagram";
|
|
2326
2200
|
} | {
|
|
2327
2201
|
name: "commandPalette";
|
|
2202
|
+
} | {
|
|
2203
|
+
name: "settings";
|
|
2328
2204
|
} | {
|
|
2329
2205
|
name: "elementLinkSelector";
|
|
2330
2206
|
sourceElementId: string;
|
|
@@ -2388,7 +2264,7 @@ export declare const actionToggleHandTool: {
|
|
|
2388
2264
|
shown: true;
|
|
2389
2265
|
data: import("../charts").Spreadsheet;
|
|
2390
2266
|
};
|
|
2391
|
-
showHyperlinkPopup: false | "
|
|
2267
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2392
2268
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2393
2269
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2394
2270
|
originSnapOffset: {
|
|
@@ -2408,6 +2284,7 @@ export declare const actionToggleHandTool: {
|
|
|
2408
2284
|
lockedMultiSelections: {
|
|
2409
2285
|
[groupId: string]: true;
|
|
2410
2286
|
};
|
|
2287
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
2411
2288
|
};
|
|
2412
2289
|
captureUpdate: "IMMEDIATELY";
|
|
2413
2290
|
};
|