@excalidraw/excalidraw 0.18.0-4e471c107 → 0.18.0-51ad895
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-OCFTI2BU.js} +49 -26
- package/dist/dev/chunk-OCFTI2BU.js.map +7 -0
- package/dist/dev/{chunk-CBGOW5JB.js → chunk-SJTAY27F.js} +185 -389
- package/dist/dev/chunk-SJTAY27F.js.map +7 -0
- package/dist/dev/chunk-WCM2OLWY.js +69 -0
- package/dist/dev/chunk-WCM2OLWY.js.map +7 -0
- package/dist/dev/data/{image-SURZSZNX.js → image-S2GFZH7W.js} +2 -2
- package/dist/dev/index.css +944 -498
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +10405 -7221
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{ar-SA-XORAP2EK.js → ar-SA-JK5MQ7TT.js} +300 -142
- package/dist/dev/locales/ar-SA-JK5MQ7TT.js.map +7 -0
- package/dist/dev/locales/{az-AZ-NAUU3Z4Y.js → az-AZ-2PAD62G4.js} +241 -83
- package/dist/dev/locales/az-AZ-2PAD62G4.js.map +7 -0
- package/dist/dev/locales/{bg-BG-AAABLFCY.js → bg-BG-HUKVYCRK.js} +229 -71
- package/dist/dev/locales/bg-BG-HUKVYCRK.js.map +7 -0
- package/dist/dev/locales/{bn-BD-PM4AC5WG.js → bn-BD-V2CQI46P.js} +209 -51
- package/dist/dev/locales/bn-BD-V2CQI46P.js.map +7 -0
- package/dist/dev/locales/bn-IN-MBEO4C3J.js +744 -0
- package/dist/dev/locales/bn-IN-MBEO4C3J.js.map +7 -0
- package/dist/dev/locales/{ca-ES-YNNMFRQX.js → ca-ES-KWEKW4C3.js} +275 -117
- package/dist/dev/locales/ca-ES-KWEKW4C3.js.map +7 -0
- package/dist/dev/locales/{cs-CZ-DGZA5IKG.js → cs-CZ-W5AHZB5H.js} +229 -71
- package/dist/dev/locales/cs-CZ-W5AHZB5H.js.map +7 -0
- package/dist/dev/locales/{da-DK-N76F4QAJ.js → da-DK-ITTM6YM4.js} +298 -140
- package/dist/dev/locales/da-DK-ITTM6YM4.js.map +7 -0
- package/dist/dev/locales/de-CH-OAWPDQFJ.js +744 -0
- package/dist/dev/locales/de-CH-OAWPDQFJ.js.map +7 -0
- package/dist/dev/locales/{de-DE-DMRXZ2SZ.js → de-DE-HE4SJIAA.js} +199 -41
- package/dist/dev/locales/de-DE-HE4SJIAA.js.map +7 -0
- package/dist/dev/locales/{el-GR-HIKPLEXI.js → el-GR-QXASZLPE.js} +274 -116
- package/dist/dev/locales/el-GR-QXASZLPE.js.map +7 -0
- package/dist/dev/locales/{en-SMAPCEOQ.js → en-MLZIHOCR.js} +4 -2
- package/dist/dev/locales/{es-ES-AQYVXC32.js → es-ES-EDA76ZAF.js} +212 -54
- package/dist/dev/locales/es-ES-EDA76ZAF.js.map +7 -0
- package/dist/dev/locales/{eu-ES-3TOEU5DE.js → eu-ES-TF2DGTZU.js} +210 -52
- package/dist/dev/locales/eu-ES-TF2DGTZU.js.map +7 -0
- package/dist/dev/locales/{fa-IR-527GAKUP.js → fa-IR-ITKFQ7QV.js} +286 -128
- package/dist/dev/locales/fa-IR-ITKFQ7QV.js.map +7 -0
- package/dist/dev/locales/{fi-FI-M3WLVDFP.js → fi-FI-UWZRVXFI.js} +240 -82
- package/dist/dev/locales/fi-FI-UWZRVXFI.js.map +7 -0
- package/dist/dev/locales/{fr-FR-YE4VDJFI.js → fr-FR-Z3SBW42Y.js} +203 -45
- package/dist/dev/locales/fr-FR-Z3SBW42Y.js.map +7 -0
- package/dist/dev/locales/{gl-ES-KMXUYGUN.js → gl-ES-2QCVIBFP.js} +212 -54
- package/dist/dev/locales/gl-ES-2QCVIBFP.js.map +7 -0
- package/dist/dev/locales/he-IL-WJNUHU26.js +744 -0
- package/dist/dev/locales/he-IL-WJNUHU26.js.map +7 -0
- package/dist/dev/locales/hi-IN-XGMO235V.js +744 -0
- package/dist/dev/locales/hi-IN-XGMO235V.js.map +7 -0
- package/dist/dev/locales/{hu-HU-VIYZI3X4.js → hu-HU-37FDQFIS.js} +238 -80
- package/dist/dev/locales/hu-HU-37FDQFIS.js.map +7 -0
- package/dist/dev/locales/{id-ID-22TWZNLA.js → id-ID-EJIDCO4E.js} +245 -87
- package/dist/dev/locales/id-ID-EJIDCO4E.js.map +7 -0
- package/dist/dev/locales/{it-IT-MDEQ2SG3.js → it-IT-HD26UZNF.js} +202 -44
- package/dist/dev/locales/it-IT-HD26UZNF.js.map +7 -0
- package/dist/dev/locales/{ja-JP-K2DI4W6B.js → ja-JP-37FC23PR.js} +247 -89
- package/dist/dev/locales/ja-JP-37FC23PR.js.map +7 -0
- package/dist/dev/locales/{kaa-6BPSNM3R.js → kaa-7ZYDFVKA.js} +202 -44
- package/dist/dev/locales/kaa-7ZYDFVKA.js.map +7 -0
- package/dist/dev/locales/{kab-KAB-2S7ZURK7.js → kab-KAB-MILWXBA6.js} +210 -52
- package/dist/dev/locales/kab-KAB-MILWXBA6.js.map +7 -0
- package/dist/dev/locales/{kk-KZ-UJPYGRQQ.js → kk-KZ-7BWTPIAV.js} +175 -17
- package/dist/dev/locales/kk-KZ-7BWTPIAV.js.map +7 -0
- package/dist/dev/locales/{km-KH-M5T5JKUE.js → km-KH-BV4P2KSZ.js} +198 -40
- package/dist/dev/locales/km-KH-BV4P2KSZ.js.map +7 -0
- package/dist/dev/locales/{ko-KR-RQX37SNF.js → ko-KR-TSXE5P7B.js} +218 -60
- package/dist/dev/locales/ko-KR-TSXE5P7B.js.map +7 -0
- package/dist/dev/locales/{ku-TR-5XJDIERL.js → ku-TR-ASSXNN3U.js} +198 -40
- package/dist/dev/locales/ku-TR-ASSXNN3U.js.map +7 -0
- package/dist/dev/locales/{lt-LT-MGUBX6CA.js → lt-LT-G7RZYQQU.js} +179 -21
- package/dist/dev/locales/lt-LT-G7RZYQQU.js.map +7 -0
- package/dist/dev/locales/{lv-LV-MD7N5VHD.js → lv-LV-DXNPBJZU.js} +196 -38
- package/dist/dev/locales/lv-LV-DXNPBJZU.js.map +7 -0
- package/dist/dev/locales/{mr-IN-4XWMNGQC.js → mr-IN-7F2ZCTCF.js} +204 -46
- package/dist/dev/locales/mr-IN-7F2ZCTCF.js.map +7 -0
- package/dist/dev/locales/{my-MM-O4Z74GN5.js → my-MM-NBI3KQGW.js} +181 -23
- package/dist/dev/locales/my-MM-NBI3KQGW.js.map +7 -0
- package/dist/dev/locales/{nb-NO-BMB73KRH.js → nb-NO-4DCTQT6L.js} +220 -62
- package/dist/dev/locales/nb-NO-4DCTQT6L.js.map +7 -0
- package/dist/dev/locales/{nl-NL-F2257BLQ.js → nl-NL-RCSOXLW3.js} +218 -60
- package/dist/dev/locales/nl-NL-RCSOXLW3.js.map +7 -0
- package/dist/dev/locales/{nn-NO-NCORG7TS.js → nn-NO-FR534JV5.js} +201 -43
- package/dist/dev/locales/nn-NO-FR534JV5.js.map +7 -0
- package/dist/dev/locales/{oc-FR-ATFBDMF6.js → oc-FR-YQCIKZIK.js} +220 -62
- package/dist/dev/locales/oc-FR-YQCIKZIK.js.map +7 -0
- package/dist/dev/locales/{pa-IN-D2I375G4.js → pa-IN-UM43JGD2.js} +190 -32
- package/dist/dev/locales/pa-IN-UM43JGD2.js.map +7 -0
- package/dist/dev/locales/{percentages-YKFLWNK2.js → percentages-TR7IWPFY.js} +2 -2
- package/dist/dev/locales/{pl-PL-YJHOWAAW.js → pl-PL-2UGKA6HK.js} +214 -56
- package/dist/dev/locales/pl-PL-2UGKA6HK.js.map +7 -0
- package/dist/dev/locales/{pt-BR-APOPYZJ7.js → pt-BR-H23QFYE3.js} +237 -79
- package/dist/dev/locales/pt-BR-H23QFYE3.js.map +7 -0
- package/dist/dev/locales/pt-PT-RHKJH5I5.js +744 -0
- package/dist/dev/locales/pt-PT-RHKJH5I5.js.map +7 -0
- package/dist/dev/locales/{ro-RO-L575VRQA.js → ro-RO-IIFONL3T.js} +203 -45
- package/dist/dev/locales/ro-RO-IIFONL3T.js.map +7 -0
- package/dist/dev/locales/{ru-RU-BLG6HZG5.js → ru-RU-QEP6D7GK.js} +253 -95
- package/dist/dev/locales/ru-RU-QEP6D7GK.js.map +7 -0
- package/dist/dev/locales/si-LK-LZYJQLHF.js +744 -0
- package/dist/dev/locales/si-LK-LZYJQLHF.js.map +7 -0
- package/dist/dev/locales/{sk-SK-DY6IPO5U.js → sk-SK-G2J6PSCB.js} +200 -42
- package/dist/dev/locales/sk-SK-G2J6PSCB.js.map +7 -0
- package/dist/dev/locales/{sl-SI-5DZSRA47.js → sl-SI-QJT2CAUO.js} +197 -39
- package/dist/dev/locales/sl-SI-QJT2CAUO.js.map +7 -0
- package/dist/dev/locales/{sv-SE-V32YHALQ.js → sv-SE-3MAT3NDX.js} +202 -44
- package/dist/dev/locales/sv-SE-3MAT3NDX.js.map +7 -0
- package/dist/dev/locales/{ta-IN-5JRAGQAO.js → ta-IN-J7XOYF2T.js} +257 -99
- package/dist/dev/locales/ta-IN-J7XOYF2T.js.map +7 -0
- package/dist/dev/locales/{th-TH-55ACRHDJ.js → th-TH-2OI52EOQ.js} +289 -131
- package/dist/dev/locales/th-TH-2OI52EOQ.js.map +7 -0
- package/dist/dev/locales/{tr-TR-7QYBXDBO.js → tr-TR-G7TAUHUI.js} +257 -99
- package/dist/dev/locales/tr-TR-G7TAUHUI.js.map +7 -0
- package/dist/dev/locales/{uk-UA-TJS2TMRH.js → uk-UA-IVSVBJIG.js} +229 -71
- package/dist/dev/locales/uk-UA-IVSVBJIG.js.map +7 -0
- package/dist/dev/locales/{si-LK-KT7GGO6D.js → uz-UZ-KCVDUVDE.js} +212 -54
- package/dist/dev/locales/uz-UZ-KCVDUVDE.js.map +7 -0
- package/dist/dev/locales/vi-VN-XF3AYKJ7.js +744 -0
- package/dist/dev/locales/vi-VN-XF3AYKJ7.js.map +7 -0
- package/dist/dev/locales/{zh-CN-4MXUOFTH.js → zh-CN-IS26RG2D.js} +199 -41
- package/dist/dev/locales/zh-CN-IS26RG2D.js.map +7 -0
- package/dist/dev/locales/{zh-HK-RBTGIU3U.js → zh-HK-KBWQ6SJC.js} +175 -17
- package/dist/dev/locales/zh-HK-KBWQ6SJC.js.map +7 -0
- package/dist/dev/locales/{zh-TW-U5VF4CCU.js → zh-TW-JKJWJQ4J.js} +204 -46
- package/dist/dev/locales/zh-TW-JKJWJQ4J.js.map +7 -0
- package/dist/prod/chunk-Q7BNPSJU.js +1 -0
- package/dist/prod/chunk-QNG5NH6R.js +12 -0
- package/dist/prod/chunk-XJNFOLHK.js +4 -0
- package/dist/prod/data/{image-HXEZYJPQ.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-IYHKZRSE.js +8 -0
- package/dist/prod/locales/az-AZ-WL5GYRHK.js +1 -0
- package/dist/prod/locales/bg-BG-FXZYTRPD.js +5 -0
- package/dist/prod/locales/bn-BD-KO6YL5G2.js +3 -0
- package/dist/prod/locales/bn-IN-PC6JHKYB.js +3 -0
- package/dist/prod/locales/ca-ES-AREX5NEO.js +8 -0
- package/dist/prod/locales/cs-CZ-HXAZMFYH.js +7 -0
- package/dist/prod/locales/da-DK-5X7ZLFU3.js +2 -0
- package/dist/prod/locales/de-CH-76ZNVSOF.js +7 -0
- package/dist/prod/locales/de-DE-KU2ABQRN.js +7 -0
- package/dist/prod/locales/el-GR-4AZTZGY6.js +7 -0
- package/dist/prod/locales/en-BARVNJLJ.js +1 -0
- package/dist/prod/locales/es-ES-MXQVAWTQ.js +7 -0
- package/dist/prod/locales/eu-ES-BIF4XBMT.js +7 -0
- package/dist/prod/locales/fa-IR-D4HHKAAI.js +9 -0
- package/dist/prod/locales/fi-FI-O35ZY7UI.js +6 -0
- package/dist/prod/locales/fr-FR-PJOMXPCV.js +12 -0
- package/dist/prod/locales/gl-ES-U4NYM3X5.js +6 -0
- package/dist/prod/locales/he-IL-656ABAVQ.js +8 -0
- package/dist/prod/locales/hi-IN-Z55GAFFR.js +3 -0
- package/dist/prod/locales/hu-HU-UJ62DVIW.js +3 -0
- package/dist/prod/locales/id-ID-FLZFU3OO.js +8 -0
- package/dist/prod/locales/it-IT-DQZT3VFE.js +12 -0
- package/dist/prod/locales/ja-JP-43VXGDWI.js +7 -0
- package/dist/prod/locales/kaa-L3IMSDYL.js +1 -0
- package/dist/prod/locales/kab-KAB-XKPWJLNL.js +4 -0
- package/dist/prod/locales/kk-KZ-SXPDDY2H.js +1 -0
- package/dist/prod/locales/km-KH-DOS4CPGC.js +7 -0
- package/dist/prod/locales/ko-KR-BGC6VCY4.js +5 -0
- package/dist/prod/locales/ku-TR-J7IUITIA.js +6 -0
- package/dist/prod/locales/lt-LT-AC3LV5KG.js +3 -0
- package/dist/prod/locales/lv-LV-I6AY7QG2.js +4 -0
- package/dist/prod/locales/mr-IN-5SP4HV5B.js +9 -0
- package/dist/prod/locales/my-MM-S7ECRBYZ.js +1 -0
- package/dist/prod/locales/nb-NO-6PNHTF4R.js +8 -0
- package/dist/prod/locales/nl-NL-AVTAYVB7.js +7 -0
- package/dist/prod/locales/nn-NO-3TFXTM7Y.js +4 -0
- package/dist/prod/locales/oc-FR-IK6GIE7H.js +4 -0
- package/dist/prod/locales/pa-IN-YAKHYJET.js +4 -0
- package/dist/prod/locales/percentages-FZSTHYWV.js +1 -0
- package/dist/prod/locales/pl-PL-BIY22ZWU.js +12 -0
- package/dist/prod/locales/pt-BR-Q23NUPD6.js +6 -0
- package/dist/prod/locales/pt-PT-LOPEJLPJ.js +8 -0
- package/dist/prod/locales/ro-RO-W3D2ZATV.js +12 -0
- package/dist/prod/locales/ru-RU-DCTW7QSH.js +10 -0
- package/dist/prod/locales/si-LK-FYRRHO3C.js +1 -0
- package/dist/prod/locales/sk-SK-2KAMKFW5.js +7 -0
- package/dist/prod/locales/sl-SI-L6B6HFY5.js +6 -0
- package/dist/prod/locales/sv-SE-KMY6L2BA.js +8 -0
- package/dist/prod/locales/ta-IN-ZQCYE2JK.js +6 -0
- package/dist/prod/locales/th-TH-WS7ECBAV.js +1 -0
- package/dist/prod/locales/tr-TR-S5FI7JRW.js +4 -0
- package/dist/prod/locales/uk-UA-4EZUWUSQ.js +6 -0
- package/dist/prod/locales/uz-UZ-OKHL6AFA.js +1 -0
- package/dist/prod/locales/vi-VN-I6Q2YS4S.js +7 -0
- package/dist/prod/locales/zh-CN-JE4UZWNO.js +11 -0
- package/dist/prod/locales/zh-HK-RM35YDXX.js +1 -0
- package/dist/prod/locales/zh-TW-ONGLV6Y5.js +9 -0
- package/dist/types/common/src/constants.d.ts +21 -15
- 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/Scene.d.ts +6 -2
- package/dist/types/element/src/align.d.ts +2 -1
- package/dist/types/element/src/binding.d.ts +55 -43
- package/dist/types/element/src/bounds.d.ts +1 -1
- package/dist/types/element/src/collision.d.ts +6 -2
- package/dist/types/element/src/delta.d.ts +16 -4
- package/dist/types/element/src/distribute.d.ts +2 -1
- package/dist/types/element/src/groups.d.ts +1 -0
- package/dist/types/element/src/index.d.ts +1 -3
- package/dist/types/element/src/linearElementEditor.d.ts +17 -19
- package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
- 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/store.d.ts +6 -1
- package/dist/types/element/src/textElement.d.ts +1 -1
- 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 -16
- package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -6
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +25 -13
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +153 -275
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +45 -777
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +12 -6
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +45 -29
- 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 -7
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +23 -11
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +12 -6
- package/dist/types/excalidraw/actions/actionExport.d.ts +68 -952
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +10 -394
- package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionFrame.d.ts +50 -28
- package/dist/types/excalidraw/actions/actionGroup.d.ts +24 -12
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +47 -14
- package/dist/types/excalidraw/actions/actionLink.d.ts +9 -3
- package/dist/types/excalidraw/actions/actionMenu.d.ts +10 -374
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +21 -361
- package/dist/types/excalidraw/actions/actionProperties.d.ts +87 -2418
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +12 -6
- package/dist/types/excalidraw/actions/actionStyles.d.ts +13 -7
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +11 -5
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +11 -5
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +10 -6
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +11 -5
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +11 -5
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +12 -6
- 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 +64 -1
- package/dist/types/excalidraw/components/Actions.d.ts +20 -7
- package/dist/types/excalidraw/components/App.d.ts +35 -25
- 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/Ellipsify.d.ts +4 -0
- 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/components/shapes.d.ts +129 -1
- package/dist/types/excalidraw/data/blob.d.ts +3 -7
- package/dist/types/excalidraw/data/reconcile.d.ts +1 -0
- package/dist/types/excalidraw/data/restore.d.ts +7 -2
- 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 +4 -4
- 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/renderer/staticScene.d.ts +4 -1
- 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 +37 -24
- package/dist/types/math/src/segment.d.ts +1 -0
- package/history.ts +1 -1
- package/package.json +6 -6
- package/dist/dev/chunk-CBGOW5JB.js.map +0 -7
- 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/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-IRHK23LL.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-SURZSZNX.js.map → image-S2GFZH7W.js.map} +0 -0
- /package/dist/dev/locales/{en-SMAPCEOQ.js.map → en-MLZIHOCR.js.map} +0 -0
- /package/dist/dev/locales/{percentages-YKFLWNK2.js.map → percentages-TR7IWPFY.js.map} +0 -0
|
@@ -1,742 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { Theme } from "@excalidraw/element/types";
|
|
3
3
|
import "../components/ToolIcon.scss";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
showWelcomeScreen: boolean;
|
|
17
|
-
isLoading: boolean;
|
|
18
|
-
errorMessage: import("react").ReactNode;
|
|
19
|
-
activeEmbeddable: {
|
|
20
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
21
|
-
state: "active" | "hover";
|
|
22
|
-
} | null;
|
|
23
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
24
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
25
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
26
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
27
|
-
isBindingEnabled: boolean;
|
|
28
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
29
|
-
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
30
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
31
|
-
frameRendering: {
|
|
32
|
-
enabled: boolean;
|
|
33
|
-
name: boolean;
|
|
34
|
-
outline: boolean;
|
|
35
|
-
clip: boolean;
|
|
36
|
-
};
|
|
37
|
-
editingFrame: string | null;
|
|
38
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
39
|
-
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
40
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
41
|
-
activeTool: {
|
|
42
|
-
lastActiveTool: import("../types").ActiveTool | null;
|
|
43
|
-
locked: boolean;
|
|
44
|
-
fromSelection: boolean;
|
|
45
|
-
} & import("../types").ActiveTool;
|
|
46
|
-
penMode: boolean;
|
|
47
|
-
penDetected: boolean;
|
|
48
|
-
exportBackground: boolean;
|
|
49
|
-
exportEmbedScene: boolean;
|
|
50
|
-
exportWithDarkMode: boolean;
|
|
51
|
-
exportScale: number;
|
|
52
|
-
currentItemStrokeColor: string;
|
|
53
|
-
currentItemBackgroundColor: string;
|
|
54
|
-
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
55
|
-
currentItemStrokeWidth: number;
|
|
56
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
57
|
-
currentItemRoughness: number;
|
|
58
|
-
currentItemOpacity: number;
|
|
59
|
-
currentItemFontFamily: number;
|
|
60
|
-
currentItemFontSize: number;
|
|
61
|
-
currentItemTextAlign: string;
|
|
62
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
63
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
64
|
-
currentHoveredFontFamily: number | null;
|
|
65
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
66
|
-
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
67
|
-
viewBackgroundColor: string;
|
|
68
|
-
scrollX: number;
|
|
69
|
-
scrollY: number;
|
|
70
|
-
cursorButton: "up" | "down";
|
|
71
|
-
scrolledOutside: boolean;
|
|
72
|
-
isResizing: boolean;
|
|
73
|
-
isRotating: boolean;
|
|
74
|
-
zoom: Readonly<{
|
|
75
|
-
value: import("../types").NormalizedZoomValue;
|
|
76
|
-
}>;
|
|
77
|
-
openMenu: "canvas" | "shape" | null;
|
|
78
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
79
|
-
openSidebar: {
|
|
80
|
-
name: string;
|
|
81
|
-
tab?: string | undefined;
|
|
82
|
-
} | null;
|
|
83
|
-
openDialog: {
|
|
84
|
-
name: "imageExport" | "help" | "jsonExport";
|
|
85
|
-
} | {
|
|
86
|
-
name: "ttd";
|
|
87
|
-
tab: "mermaid" | "text-to-diagram";
|
|
88
|
-
} | {
|
|
89
|
-
name: "commandPalette";
|
|
90
|
-
} | {
|
|
91
|
-
name: "elementLinkSelector";
|
|
92
|
-
sourceElementId: string;
|
|
93
|
-
} | null;
|
|
94
|
-
defaultSidebarDockedPreference: boolean;
|
|
95
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
96
|
-
selectedElementIds: Readonly<{
|
|
97
|
-
[id: string]: true;
|
|
98
|
-
}>;
|
|
99
|
-
hoveredElementIds: Readonly<{
|
|
100
|
-
[id: string]: true;
|
|
101
|
-
}>;
|
|
102
|
-
previousSelectedElementIds: {
|
|
103
|
-
[id: string]: true;
|
|
104
|
-
};
|
|
105
|
-
selectedElementsAreBeingDragged: boolean;
|
|
106
|
-
shouldCacheIgnoreZoom: boolean;
|
|
107
|
-
toast: {
|
|
108
|
-
message: string;
|
|
109
|
-
closable?: boolean | undefined;
|
|
110
|
-
duration?: number | undefined;
|
|
111
|
-
} | null;
|
|
112
|
-
zenModeEnabled: boolean;
|
|
113
|
-
theme: Theme;
|
|
114
|
-
gridSize: number;
|
|
115
|
-
gridStep: number;
|
|
116
|
-
gridModeEnabled: boolean;
|
|
117
|
-
viewModeEnabled: boolean;
|
|
118
|
-
selectedGroupIds: {
|
|
119
|
-
[groupId: string]: boolean;
|
|
120
|
-
};
|
|
121
|
-
editingGroupId: string | null;
|
|
122
|
-
width: number;
|
|
123
|
-
height: number;
|
|
124
|
-
offsetTop: number;
|
|
125
|
-
offsetLeft: number;
|
|
126
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
127
|
-
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
128
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
129
|
-
button?: "up" | "down" | undefined;
|
|
130
|
-
selectedElementIds?: Readonly<{
|
|
131
|
-
[id: string]: true;
|
|
132
|
-
}> | undefined;
|
|
133
|
-
username?: string | null | undefined;
|
|
134
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
135
|
-
color?: {
|
|
136
|
-
background: string;
|
|
137
|
-
stroke: string;
|
|
138
|
-
} | undefined;
|
|
139
|
-
avatarUrl?: string | undefined;
|
|
140
|
-
id?: string | undefined;
|
|
141
|
-
socketId?: import("../types").SocketId | undefined;
|
|
142
|
-
isCurrentUser?: boolean | undefined;
|
|
143
|
-
isInCall?: boolean | undefined;
|
|
144
|
-
isSpeaking?: boolean | undefined;
|
|
145
|
-
isMuted?: boolean | undefined;
|
|
146
|
-
}>>;
|
|
147
|
-
stats: {
|
|
148
|
-
open: boolean;
|
|
149
|
-
panels: number;
|
|
150
|
-
};
|
|
151
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
152
|
-
pasteDialog: {
|
|
153
|
-
shown: false;
|
|
154
|
-
data: null;
|
|
155
|
-
} | {
|
|
156
|
-
shown: true;
|
|
157
|
-
data: import("../charts").Spreadsheet;
|
|
158
|
-
};
|
|
159
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
160
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
161
|
-
snapLines: readonly import("../snapping").SnapLine[];
|
|
162
|
-
originSnapOffset: {
|
|
163
|
-
x: number;
|
|
164
|
-
y: number;
|
|
165
|
-
} | null;
|
|
166
|
-
objectsSnapModeEnabled: boolean;
|
|
167
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
168
|
-
followedBy: Set<import("../types").SocketId>;
|
|
169
|
-
isCropping: boolean;
|
|
170
|
-
croppingElementId: string | null;
|
|
171
|
-
searchMatches: Readonly<{
|
|
172
|
-
focusedId: string | null;
|
|
173
|
-
matches: readonly import("../types").SearchMatch[];
|
|
174
|
-
}> | null;
|
|
175
|
-
activeLockedId: string | null;
|
|
176
|
-
lockedMultiSelections: {
|
|
177
|
-
[groupId: string]: true;
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
captureUpdate: "EVENTUALLY";
|
|
181
|
-
};
|
|
182
|
-
PanelComponent: ({ appState, updateData, appProps, data, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
183
|
-
} & {
|
|
184
|
-
keyTest?: undefined;
|
|
185
|
-
};
|
|
186
|
-
export declare const actionChangeExportScale: {
|
|
187
|
-
name: "changeExportScale";
|
|
188
|
-
label: string;
|
|
189
|
-
trackEvent: {
|
|
190
|
-
category: "export";
|
|
191
|
-
action: string;
|
|
192
|
-
};
|
|
193
|
-
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
|
|
194
|
-
appState: {
|
|
195
|
-
exportScale: any;
|
|
196
|
-
contextMenu: {
|
|
197
|
-
items: import("../components/ContextMenu").ContextMenuItems;
|
|
198
|
-
top: number;
|
|
199
|
-
left: number;
|
|
200
|
-
} | null;
|
|
201
|
-
showWelcomeScreen: boolean;
|
|
202
|
-
isLoading: boolean;
|
|
203
|
-
errorMessage: import("react").ReactNode;
|
|
204
|
-
activeEmbeddable: {
|
|
205
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
206
|
-
state: "active" | "hover";
|
|
207
|
-
} | null;
|
|
208
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
209
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
210
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
211
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
212
|
-
isBindingEnabled: boolean;
|
|
213
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
214
|
-
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
215
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
216
|
-
frameRendering: {
|
|
217
|
-
enabled: boolean;
|
|
218
|
-
name: boolean;
|
|
219
|
-
outline: boolean;
|
|
220
|
-
clip: boolean;
|
|
221
|
-
};
|
|
222
|
-
editingFrame: string | null;
|
|
223
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
224
|
-
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
225
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
226
|
-
activeTool: {
|
|
227
|
-
lastActiveTool: import("../types").ActiveTool | null;
|
|
228
|
-
locked: boolean;
|
|
229
|
-
fromSelection: boolean;
|
|
230
|
-
} & import("../types").ActiveTool;
|
|
231
|
-
penMode: boolean;
|
|
232
|
-
penDetected: boolean;
|
|
233
|
-
exportBackground: boolean;
|
|
234
|
-
exportEmbedScene: boolean;
|
|
235
|
-
exportWithDarkMode: boolean;
|
|
236
|
-
currentItemStrokeColor: string;
|
|
237
|
-
currentItemBackgroundColor: string;
|
|
238
|
-
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
239
|
-
currentItemStrokeWidth: number;
|
|
240
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
241
|
-
currentItemRoughness: number;
|
|
242
|
-
currentItemOpacity: number;
|
|
243
|
-
currentItemFontFamily: number;
|
|
244
|
-
currentItemFontSize: number;
|
|
245
|
-
currentItemTextAlign: string;
|
|
246
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
247
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
248
|
-
currentHoveredFontFamily: number | null;
|
|
249
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
250
|
-
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
251
|
-
viewBackgroundColor: string;
|
|
252
|
-
scrollX: number;
|
|
253
|
-
scrollY: number;
|
|
254
|
-
cursorButton: "up" | "down";
|
|
255
|
-
scrolledOutside: boolean;
|
|
256
|
-
name: string | null;
|
|
257
|
-
isResizing: boolean;
|
|
258
|
-
isRotating: boolean;
|
|
259
|
-
zoom: Readonly<{
|
|
260
|
-
value: import("../types").NormalizedZoomValue;
|
|
261
|
-
}>;
|
|
262
|
-
openMenu: "canvas" | "shape" | null;
|
|
263
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
264
|
-
openSidebar: {
|
|
265
|
-
name: string;
|
|
266
|
-
tab?: string | undefined;
|
|
267
|
-
} | null;
|
|
268
|
-
openDialog: {
|
|
269
|
-
name: "imageExport" | "help" | "jsonExport";
|
|
270
|
-
} | {
|
|
271
|
-
name: "ttd";
|
|
272
|
-
tab: "mermaid" | "text-to-diagram";
|
|
273
|
-
} | {
|
|
274
|
-
name: "commandPalette";
|
|
275
|
-
} | {
|
|
276
|
-
name: "elementLinkSelector";
|
|
277
|
-
sourceElementId: string;
|
|
278
|
-
} | null;
|
|
279
|
-
defaultSidebarDockedPreference: boolean;
|
|
280
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
281
|
-
selectedElementIds: Readonly<{
|
|
282
|
-
[id: string]: true;
|
|
283
|
-
}>;
|
|
284
|
-
hoveredElementIds: Readonly<{
|
|
285
|
-
[id: string]: true;
|
|
286
|
-
}>;
|
|
287
|
-
previousSelectedElementIds: {
|
|
288
|
-
[id: string]: true;
|
|
289
|
-
};
|
|
290
|
-
selectedElementsAreBeingDragged: boolean;
|
|
291
|
-
shouldCacheIgnoreZoom: boolean;
|
|
292
|
-
toast: {
|
|
293
|
-
message: string;
|
|
294
|
-
closable?: boolean | undefined;
|
|
295
|
-
duration?: number | undefined;
|
|
296
|
-
} | null;
|
|
297
|
-
zenModeEnabled: boolean;
|
|
298
|
-
theme: Theme;
|
|
299
|
-
gridSize: number;
|
|
300
|
-
gridStep: number;
|
|
301
|
-
gridModeEnabled: boolean;
|
|
302
|
-
viewModeEnabled: boolean;
|
|
303
|
-
selectedGroupIds: {
|
|
304
|
-
[groupId: string]: boolean;
|
|
305
|
-
};
|
|
306
|
-
editingGroupId: string | null;
|
|
307
|
-
width: number;
|
|
308
|
-
height: number;
|
|
309
|
-
offsetTop: number;
|
|
310
|
-
offsetLeft: number;
|
|
311
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
312
|
-
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
313
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
314
|
-
button?: "up" | "down" | undefined;
|
|
315
|
-
selectedElementIds?: Readonly<{
|
|
316
|
-
[id: string]: true;
|
|
317
|
-
}> | undefined;
|
|
318
|
-
username?: string | null | undefined;
|
|
319
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
320
|
-
color?: {
|
|
321
|
-
background: string;
|
|
322
|
-
stroke: string;
|
|
323
|
-
} | undefined;
|
|
324
|
-
avatarUrl?: string | undefined;
|
|
325
|
-
id?: string | undefined;
|
|
326
|
-
socketId?: import("../types").SocketId | undefined;
|
|
327
|
-
isCurrentUser?: boolean | undefined;
|
|
328
|
-
isInCall?: boolean | undefined;
|
|
329
|
-
isSpeaking?: boolean | undefined;
|
|
330
|
-
isMuted?: boolean | undefined;
|
|
331
|
-
}>>;
|
|
332
|
-
stats: {
|
|
333
|
-
open: boolean;
|
|
334
|
-
panels: number;
|
|
335
|
-
};
|
|
336
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
337
|
-
pasteDialog: {
|
|
338
|
-
shown: false;
|
|
339
|
-
data: null;
|
|
340
|
-
} | {
|
|
341
|
-
shown: true;
|
|
342
|
-
data: import("../charts").Spreadsheet;
|
|
343
|
-
};
|
|
344
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
345
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
346
|
-
snapLines: readonly import("../snapping").SnapLine[];
|
|
347
|
-
originSnapOffset: {
|
|
348
|
-
x: number;
|
|
349
|
-
y: number;
|
|
350
|
-
} | null;
|
|
351
|
-
objectsSnapModeEnabled: boolean;
|
|
352
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
353
|
-
followedBy: Set<import("../types").SocketId>;
|
|
354
|
-
isCropping: boolean;
|
|
355
|
-
croppingElementId: string | null;
|
|
356
|
-
searchMatches: Readonly<{
|
|
357
|
-
focusedId: string | null;
|
|
358
|
-
matches: readonly import("../types").SearchMatch[];
|
|
359
|
-
}> | null;
|
|
360
|
-
activeLockedId: string | null;
|
|
361
|
-
lockedMultiSelections: {
|
|
362
|
-
[groupId: string]: true;
|
|
363
|
-
};
|
|
364
|
-
};
|
|
365
|
-
captureUpdate: "EVENTUALLY";
|
|
366
|
-
};
|
|
367
|
-
PanelComponent: ({ elements: allElements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
368
|
-
} & {
|
|
369
|
-
keyTest?: undefined;
|
|
370
|
-
};
|
|
371
|
-
export declare const actionChangeExportBackground: {
|
|
372
|
-
name: "changeExportBackground";
|
|
373
|
-
label: string;
|
|
374
|
-
trackEvent: {
|
|
375
|
-
category: "export";
|
|
376
|
-
action: string;
|
|
377
|
-
};
|
|
378
|
-
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
|
|
379
|
-
appState: {
|
|
380
|
-
exportBackground: any;
|
|
381
|
-
contextMenu: {
|
|
382
|
-
items: import("../components/ContextMenu").ContextMenuItems;
|
|
383
|
-
top: number;
|
|
384
|
-
left: number;
|
|
385
|
-
} | null;
|
|
386
|
-
showWelcomeScreen: boolean;
|
|
387
|
-
isLoading: boolean;
|
|
388
|
-
errorMessage: import("react").ReactNode;
|
|
389
|
-
activeEmbeddable: {
|
|
390
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
391
|
-
state: "active" | "hover";
|
|
392
|
-
} | null;
|
|
393
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
394
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
395
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
396
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
397
|
-
isBindingEnabled: boolean;
|
|
398
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
399
|
-
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
400
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
401
|
-
frameRendering: {
|
|
402
|
-
enabled: boolean;
|
|
403
|
-
name: boolean;
|
|
404
|
-
outline: boolean;
|
|
405
|
-
clip: boolean;
|
|
406
|
-
};
|
|
407
|
-
editingFrame: string | null;
|
|
408
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
409
|
-
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
410
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
411
|
-
activeTool: {
|
|
412
|
-
lastActiveTool: import("../types").ActiveTool | null;
|
|
413
|
-
locked: boolean;
|
|
414
|
-
fromSelection: boolean;
|
|
415
|
-
} & import("../types").ActiveTool;
|
|
416
|
-
penMode: boolean;
|
|
417
|
-
penDetected: boolean;
|
|
418
|
-
exportEmbedScene: boolean;
|
|
419
|
-
exportWithDarkMode: boolean;
|
|
420
|
-
exportScale: number;
|
|
421
|
-
currentItemStrokeColor: string;
|
|
422
|
-
currentItemBackgroundColor: string;
|
|
423
|
-
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
424
|
-
currentItemStrokeWidth: number;
|
|
425
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
426
|
-
currentItemRoughness: number;
|
|
427
|
-
currentItemOpacity: number;
|
|
428
|
-
currentItemFontFamily: number;
|
|
429
|
-
currentItemFontSize: number;
|
|
430
|
-
currentItemTextAlign: string;
|
|
431
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
432
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
433
|
-
currentHoveredFontFamily: number | null;
|
|
434
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
435
|
-
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
436
|
-
viewBackgroundColor: string;
|
|
437
|
-
scrollX: number;
|
|
438
|
-
scrollY: number;
|
|
439
|
-
cursorButton: "up" | "down";
|
|
440
|
-
scrolledOutside: boolean;
|
|
441
|
-
name: string | null;
|
|
442
|
-
isResizing: boolean;
|
|
443
|
-
isRotating: boolean;
|
|
444
|
-
zoom: Readonly<{
|
|
445
|
-
value: import("../types").NormalizedZoomValue;
|
|
446
|
-
}>;
|
|
447
|
-
openMenu: "canvas" | "shape" | null;
|
|
448
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
449
|
-
openSidebar: {
|
|
450
|
-
name: string;
|
|
451
|
-
tab?: string | undefined;
|
|
452
|
-
} | null;
|
|
453
|
-
openDialog: {
|
|
454
|
-
name: "imageExport" | "help" | "jsonExport";
|
|
455
|
-
} | {
|
|
456
|
-
name: "ttd";
|
|
457
|
-
tab: "mermaid" | "text-to-diagram";
|
|
458
|
-
} | {
|
|
459
|
-
name: "commandPalette";
|
|
460
|
-
} | {
|
|
461
|
-
name: "elementLinkSelector";
|
|
462
|
-
sourceElementId: string;
|
|
463
|
-
} | null;
|
|
464
|
-
defaultSidebarDockedPreference: boolean;
|
|
465
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
466
|
-
selectedElementIds: Readonly<{
|
|
467
|
-
[id: string]: true;
|
|
468
|
-
}>;
|
|
469
|
-
hoveredElementIds: Readonly<{
|
|
470
|
-
[id: string]: true;
|
|
471
|
-
}>;
|
|
472
|
-
previousSelectedElementIds: {
|
|
473
|
-
[id: string]: true;
|
|
474
|
-
};
|
|
475
|
-
selectedElementsAreBeingDragged: boolean;
|
|
476
|
-
shouldCacheIgnoreZoom: boolean;
|
|
477
|
-
toast: {
|
|
478
|
-
message: string;
|
|
479
|
-
closable?: boolean | undefined;
|
|
480
|
-
duration?: number | undefined;
|
|
481
|
-
} | null;
|
|
482
|
-
zenModeEnabled: boolean;
|
|
483
|
-
theme: Theme;
|
|
484
|
-
gridSize: number;
|
|
485
|
-
gridStep: number;
|
|
486
|
-
gridModeEnabled: boolean;
|
|
487
|
-
viewModeEnabled: boolean;
|
|
488
|
-
selectedGroupIds: {
|
|
489
|
-
[groupId: string]: boolean;
|
|
490
|
-
};
|
|
491
|
-
editingGroupId: string | null;
|
|
492
|
-
width: number;
|
|
493
|
-
height: number;
|
|
494
|
-
offsetTop: number;
|
|
495
|
-
offsetLeft: number;
|
|
496
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
497
|
-
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
498
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
499
|
-
button?: "up" | "down" | undefined;
|
|
500
|
-
selectedElementIds?: Readonly<{
|
|
501
|
-
[id: string]: true;
|
|
502
|
-
}> | undefined;
|
|
503
|
-
username?: string | null | undefined;
|
|
504
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
505
|
-
color?: {
|
|
506
|
-
background: string;
|
|
507
|
-
stroke: string;
|
|
508
|
-
} | undefined;
|
|
509
|
-
avatarUrl?: string | undefined;
|
|
510
|
-
id?: string | undefined;
|
|
511
|
-
socketId?: import("../types").SocketId | undefined;
|
|
512
|
-
isCurrentUser?: boolean | undefined;
|
|
513
|
-
isInCall?: boolean | undefined;
|
|
514
|
-
isSpeaking?: boolean | undefined;
|
|
515
|
-
isMuted?: boolean | undefined;
|
|
516
|
-
}>>;
|
|
517
|
-
stats: {
|
|
518
|
-
open: boolean;
|
|
519
|
-
panels: number;
|
|
520
|
-
};
|
|
521
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
522
|
-
pasteDialog: {
|
|
523
|
-
shown: false;
|
|
524
|
-
data: null;
|
|
525
|
-
} | {
|
|
526
|
-
shown: true;
|
|
527
|
-
data: import("../charts").Spreadsheet;
|
|
528
|
-
};
|
|
529
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
530
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
531
|
-
snapLines: readonly import("../snapping").SnapLine[];
|
|
532
|
-
originSnapOffset: {
|
|
533
|
-
x: number;
|
|
534
|
-
y: number;
|
|
535
|
-
} | null;
|
|
536
|
-
objectsSnapModeEnabled: boolean;
|
|
537
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
538
|
-
followedBy: Set<import("../types").SocketId>;
|
|
539
|
-
isCropping: boolean;
|
|
540
|
-
croppingElementId: string | null;
|
|
541
|
-
searchMatches: Readonly<{
|
|
542
|
-
focusedId: string | null;
|
|
543
|
-
matches: readonly import("../types").SearchMatch[];
|
|
544
|
-
}> | null;
|
|
545
|
-
activeLockedId: string | null;
|
|
546
|
-
lockedMultiSelections: {
|
|
547
|
-
[groupId: string]: true;
|
|
548
|
-
};
|
|
549
|
-
};
|
|
550
|
-
captureUpdate: "EVENTUALLY";
|
|
551
|
-
};
|
|
552
|
-
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
553
|
-
} & {
|
|
554
|
-
keyTest?: undefined;
|
|
555
|
-
};
|
|
556
|
-
export declare const actionChangeExportEmbedScene: {
|
|
557
|
-
name: "changeExportEmbedScene";
|
|
558
|
-
label: string;
|
|
559
|
-
trackEvent: {
|
|
560
|
-
category: "export";
|
|
561
|
-
action: string;
|
|
562
|
-
};
|
|
563
|
-
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
|
|
564
|
-
appState: {
|
|
565
|
-
exportEmbedScene: any;
|
|
566
|
-
contextMenu: {
|
|
567
|
-
items: import("../components/ContextMenu").ContextMenuItems;
|
|
568
|
-
top: number;
|
|
569
|
-
left: number;
|
|
570
|
-
} | null;
|
|
571
|
-
showWelcomeScreen: boolean;
|
|
572
|
-
isLoading: boolean;
|
|
573
|
-
errorMessage: import("react").ReactNode;
|
|
574
|
-
activeEmbeddable: {
|
|
575
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
576
|
-
state: "active" | "hover";
|
|
577
|
-
} | null;
|
|
578
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
579
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
580
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
581
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
582
|
-
isBindingEnabled: boolean;
|
|
583
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
584
|
-
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
585
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
586
|
-
frameRendering: {
|
|
587
|
-
enabled: boolean;
|
|
588
|
-
name: boolean;
|
|
589
|
-
outline: boolean;
|
|
590
|
-
clip: boolean;
|
|
591
|
-
};
|
|
592
|
-
editingFrame: string | null;
|
|
593
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
594
|
-
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
595
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
596
|
-
activeTool: {
|
|
597
|
-
lastActiveTool: import("../types").ActiveTool | null;
|
|
598
|
-
locked: boolean;
|
|
599
|
-
fromSelection: boolean;
|
|
600
|
-
} & import("../types").ActiveTool;
|
|
601
|
-
penMode: boolean;
|
|
602
|
-
penDetected: boolean;
|
|
603
|
-
exportBackground: boolean;
|
|
604
|
-
exportWithDarkMode: boolean;
|
|
605
|
-
exportScale: number;
|
|
606
|
-
currentItemStrokeColor: string;
|
|
607
|
-
currentItemBackgroundColor: string;
|
|
608
|
-
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
609
|
-
currentItemStrokeWidth: number;
|
|
610
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
611
|
-
currentItemRoughness: number;
|
|
612
|
-
currentItemOpacity: number;
|
|
613
|
-
currentItemFontFamily: number;
|
|
614
|
-
currentItemFontSize: number;
|
|
615
|
-
currentItemTextAlign: string;
|
|
616
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
617
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
618
|
-
currentHoveredFontFamily: number | null;
|
|
619
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
620
|
-
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
621
|
-
viewBackgroundColor: string;
|
|
622
|
-
scrollX: number;
|
|
623
|
-
scrollY: number;
|
|
624
|
-
cursorButton: "up" | "down";
|
|
625
|
-
scrolledOutside: boolean;
|
|
626
|
-
name: string | null;
|
|
627
|
-
isResizing: boolean;
|
|
628
|
-
isRotating: boolean;
|
|
629
|
-
zoom: Readonly<{
|
|
630
|
-
value: import("../types").NormalizedZoomValue;
|
|
631
|
-
}>;
|
|
632
|
-
openMenu: "canvas" | "shape" | null;
|
|
633
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
634
|
-
openSidebar: {
|
|
635
|
-
name: string;
|
|
636
|
-
tab?: string | undefined;
|
|
637
|
-
} | null;
|
|
638
|
-
openDialog: {
|
|
639
|
-
name: "imageExport" | "help" | "jsonExport";
|
|
640
|
-
} | {
|
|
641
|
-
name: "ttd";
|
|
642
|
-
tab: "mermaid" | "text-to-diagram";
|
|
643
|
-
} | {
|
|
644
|
-
name: "commandPalette";
|
|
645
|
-
} | {
|
|
646
|
-
name: "elementLinkSelector";
|
|
647
|
-
sourceElementId: string;
|
|
648
|
-
} | null;
|
|
649
|
-
defaultSidebarDockedPreference: boolean;
|
|
650
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
651
|
-
selectedElementIds: Readonly<{
|
|
652
|
-
[id: string]: true;
|
|
653
|
-
}>;
|
|
654
|
-
hoveredElementIds: Readonly<{
|
|
655
|
-
[id: string]: true;
|
|
656
|
-
}>;
|
|
657
|
-
previousSelectedElementIds: {
|
|
658
|
-
[id: string]: true;
|
|
659
|
-
};
|
|
660
|
-
selectedElementsAreBeingDragged: boolean;
|
|
661
|
-
shouldCacheIgnoreZoom: boolean;
|
|
662
|
-
toast: {
|
|
663
|
-
message: string;
|
|
664
|
-
closable?: boolean | undefined;
|
|
665
|
-
duration?: number | undefined;
|
|
666
|
-
} | null;
|
|
667
|
-
zenModeEnabled: boolean;
|
|
668
|
-
theme: Theme;
|
|
669
|
-
gridSize: number;
|
|
670
|
-
gridStep: number;
|
|
671
|
-
gridModeEnabled: boolean;
|
|
672
|
-
viewModeEnabled: boolean;
|
|
673
|
-
selectedGroupIds: {
|
|
674
|
-
[groupId: string]: boolean;
|
|
675
|
-
};
|
|
676
|
-
editingGroupId: string | null;
|
|
677
|
-
width: number;
|
|
678
|
-
height: number;
|
|
679
|
-
offsetTop: number;
|
|
680
|
-
offsetLeft: number;
|
|
681
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
682
|
-
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
683
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
684
|
-
button?: "up" | "down" | undefined;
|
|
685
|
-
selectedElementIds?: Readonly<{
|
|
686
|
-
[id: string]: true;
|
|
687
|
-
}> | undefined;
|
|
688
|
-
username?: string | null | undefined;
|
|
689
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
690
|
-
color?: {
|
|
691
|
-
background: string;
|
|
692
|
-
stroke: string;
|
|
693
|
-
} | undefined;
|
|
694
|
-
avatarUrl?: string | undefined;
|
|
695
|
-
id?: string | undefined;
|
|
696
|
-
socketId?: import("../types").SocketId | undefined;
|
|
697
|
-
isCurrentUser?: boolean | undefined;
|
|
698
|
-
isInCall?: boolean | undefined;
|
|
699
|
-
isSpeaking?: boolean | undefined;
|
|
700
|
-
isMuted?: boolean | undefined;
|
|
701
|
-
}>>;
|
|
702
|
-
stats: {
|
|
703
|
-
open: boolean;
|
|
704
|
-
panels: number;
|
|
705
|
-
};
|
|
706
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
707
|
-
pasteDialog: {
|
|
708
|
-
shown: false;
|
|
709
|
-
data: null;
|
|
710
|
-
} | {
|
|
711
|
-
shown: true;
|
|
712
|
-
data: import("../charts").Spreadsheet;
|
|
713
|
-
};
|
|
714
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
715
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
716
|
-
snapLines: readonly import("../snapping").SnapLine[];
|
|
717
|
-
originSnapOffset: {
|
|
718
|
-
x: number;
|
|
719
|
-
y: number;
|
|
720
|
-
} | null;
|
|
721
|
-
objectsSnapModeEnabled: boolean;
|
|
722
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
723
|
-
followedBy: Set<import("../types").SocketId>;
|
|
724
|
-
isCropping: boolean;
|
|
725
|
-
croppingElementId: string | null;
|
|
726
|
-
searchMatches: Readonly<{
|
|
727
|
-
focusedId: string | null;
|
|
728
|
-
matches: readonly import("../types").SearchMatch[];
|
|
729
|
-
}> | null;
|
|
730
|
-
activeLockedId: string | null;
|
|
731
|
-
lockedMultiSelections: {
|
|
732
|
-
[groupId: string]: true;
|
|
733
|
-
};
|
|
734
|
-
};
|
|
735
|
-
captureUpdate: "EVENTUALLY";
|
|
736
|
-
};
|
|
737
|
-
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
738
|
-
} & {
|
|
739
|
-
keyTest?: undefined;
|
|
4
|
+
import type { AppState } from "../types";
|
|
5
|
+
export declare const actionChangeProjectName: import("./types").Action<string | null> & {
|
|
6
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
7
|
+
};
|
|
8
|
+
export declare const actionChangeExportScale: import("./types").Action<number> & {
|
|
9
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
10
|
+
};
|
|
11
|
+
export declare const actionChangeExportBackground: import("./types").Action<boolean> & {
|
|
12
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
13
|
+
};
|
|
14
|
+
export declare const actionChangeExportEmbedScene: import("./types").Action<boolean> & {
|
|
15
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
740
16
|
};
|
|
741
17
|
export declare const actionSaveToActiveFile: {
|
|
742
18
|
name: "saveToActiveFile";
|
|
@@ -745,8 +21,8 @@ export declare const actionSaveToActiveFile: {
|
|
|
745
21
|
trackEvent: {
|
|
746
22
|
category: "export";
|
|
747
23
|
};
|
|
748
|
-
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState:
|
|
749
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<
|
|
24
|
+
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
25
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: import("../types").AppClassProperties) => Promise<{
|
|
750
26
|
captureUpdate: "EVENTUALLY";
|
|
751
27
|
appState: {
|
|
752
28
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
@@ -771,7 +47,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
771
47
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
772
48
|
isBindingEnabled: boolean;
|
|
773
49
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
774
|
-
|
|
50
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
775
51
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
776
52
|
frameRendering: {
|
|
777
53
|
enabled: boolean;
|
|
@@ -782,12 +58,15 @@ export declare const actionSaveToActiveFile: {
|
|
|
782
58
|
editingFrame: string | null;
|
|
783
59
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
784
60
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
785
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
786
61
|
activeTool: {
|
|
787
62
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
788
63
|
locked: boolean;
|
|
789
64
|
fromSelection: boolean;
|
|
790
65
|
} & import("../types").ActiveTool;
|
|
66
|
+
preferredSelectionTool: {
|
|
67
|
+
type: "selection" | "lasso";
|
|
68
|
+
initialized: boolean;
|
|
69
|
+
};
|
|
791
70
|
penMode: boolean;
|
|
792
71
|
penDetected: boolean;
|
|
793
72
|
exportBackground: boolean;
|
|
@@ -820,8 +99,8 @@ export declare const actionSaveToActiveFile: {
|
|
|
820
99
|
zoom: Readonly<{
|
|
821
100
|
value: import("../types").NormalizedZoomValue;
|
|
822
101
|
}>;
|
|
823
|
-
openMenu: "canvas" |
|
|
824
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
102
|
+
openMenu: "canvas" | null;
|
|
103
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
825
104
|
openSidebar: {
|
|
826
105
|
name: string;
|
|
827
106
|
tab?: string | undefined;
|
|
@@ -833,6 +112,8 @@ export declare const actionSaveToActiveFile: {
|
|
|
833
112
|
tab: "mermaid" | "text-to-diagram";
|
|
834
113
|
} | {
|
|
835
114
|
name: "commandPalette";
|
|
115
|
+
} | {
|
|
116
|
+
name: "settings";
|
|
836
117
|
} | {
|
|
837
118
|
name: "elementLinkSelector";
|
|
838
119
|
sourceElementId: string;
|
|
@@ -896,7 +177,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
896
177
|
shown: true;
|
|
897
178
|
data: import("../charts").Spreadsheet;
|
|
898
179
|
};
|
|
899
|
-
showHyperlinkPopup: false | "
|
|
180
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
900
181
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
901
182
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
902
183
|
originSnapOffset: {
|
|
@@ -916,6 +197,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
916
197
|
lockedMultiSelections: {
|
|
917
198
|
[groupId: string]: true;
|
|
918
199
|
};
|
|
200
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
919
201
|
};
|
|
920
202
|
} | {
|
|
921
203
|
captureUpdate: "EVENTUALLY";
|
|
@@ -933,7 +215,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
933
215
|
trackEvent: {
|
|
934
216
|
category: "export";
|
|
935
217
|
};
|
|
936
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<
|
|
218
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: import("../types").AppClassProperties) => Promise<{
|
|
937
219
|
captureUpdate: "EVENTUALLY";
|
|
938
220
|
appState: {
|
|
939
221
|
openDialog: null;
|
|
@@ -959,7 +241,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
959
241
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
960
242
|
isBindingEnabled: boolean;
|
|
961
243
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
962
|
-
|
|
244
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
963
245
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
964
246
|
frameRendering: {
|
|
965
247
|
enabled: boolean;
|
|
@@ -970,12 +252,15 @@ export declare const actionSaveFileToDisk: {
|
|
|
970
252
|
editingFrame: string | null;
|
|
971
253
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
972
254
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
973
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
974
255
|
activeTool: {
|
|
975
256
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
976
257
|
locked: boolean;
|
|
977
258
|
fromSelection: boolean;
|
|
978
259
|
} & import("../types").ActiveTool;
|
|
260
|
+
preferredSelectionTool: {
|
|
261
|
+
type: "selection" | "lasso";
|
|
262
|
+
initialized: boolean;
|
|
263
|
+
};
|
|
979
264
|
penMode: boolean;
|
|
980
265
|
penDetected: boolean;
|
|
981
266
|
exportBackground: boolean;
|
|
@@ -1008,8 +293,8 @@ export declare const actionSaveFileToDisk: {
|
|
|
1008
293
|
zoom: Readonly<{
|
|
1009
294
|
value: import("../types").NormalizedZoomValue;
|
|
1010
295
|
}>;
|
|
1011
|
-
openMenu: "canvas" |
|
|
1012
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
296
|
+
openMenu: "canvas" | null;
|
|
297
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1013
298
|
openSidebar: {
|
|
1014
299
|
name: string;
|
|
1015
300
|
tab?: string | undefined;
|
|
@@ -1073,7 +358,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
1073
358
|
shown: true;
|
|
1074
359
|
data: import("../charts").Spreadsheet;
|
|
1075
360
|
};
|
|
1076
|
-
showHyperlinkPopup: false | "
|
|
361
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1077
362
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1078
363
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1079
364
|
originSnapOffset: {
|
|
@@ -1093,6 +378,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
1093
378
|
lockedMultiSelections: {
|
|
1094
379
|
[groupId: string]: true;
|
|
1095
380
|
};
|
|
381
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
1096
382
|
};
|
|
1097
383
|
} | {
|
|
1098
384
|
captureUpdate: "EVENTUALLY";
|
|
@@ -1109,8 +395,8 @@ export declare const actionLoadScene: {
|
|
|
1109
395
|
trackEvent: {
|
|
1110
396
|
category: "export";
|
|
1111
397
|
};
|
|
1112
|
-
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState:
|
|
1113
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<
|
|
398
|
+
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
399
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => Promise<false | {
|
|
1114
400
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
1115
401
|
appState: {
|
|
1116
402
|
viewBackgroundColor: string;
|
|
@@ -1134,6 +420,8 @@ export declare const actionLoadScene: {
|
|
|
1134
420
|
tab: "mermaid" | "text-to-diagram";
|
|
1135
421
|
} | {
|
|
1136
422
|
name: "commandPalette";
|
|
423
|
+
} | {
|
|
424
|
+
name: "settings";
|
|
1137
425
|
} | {
|
|
1138
426
|
name: "elementLinkSelector";
|
|
1139
427
|
sourceElementId: string;
|
|
@@ -1148,15 +436,15 @@ export declare const actionLoadScene: {
|
|
|
1148
436
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1149
437
|
state: "active" | "hover";
|
|
1150
438
|
} | null;
|
|
1151
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1152
439
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1153
440
|
selectedGroupIds: {
|
|
1154
441
|
[groupId: string]: boolean;
|
|
1155
442
|
};
|
|
1156
443
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1157
444
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
445
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1158
446
|
isBindingEnabled: boolean;
|
|
1159
|
-
|
|
447
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1160
448
|
isRotating: boolean;
|
|
1161
449
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1162
450
|
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
@@ -1189,6 +477,13 @@ export declare const actionLoadScene: {
|
|
|
1189
477
|
matches: readonly import("../types").SearchMatch[];
|
|
1190
478
|
}> | null;
|
|
1191
479
|
activeLockedId: string | null;
|
|
480
|
+
hoveredElementIds: Readonly<{
|
|
481
|
+
[id: string]: true;
|
|
482
|
+
}>;
|
|
483
|
+
shouldCacheIgnoreZoom: boolean;
|
|
484
|
+
exportScale: number;
|
|
485
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
486
|
+
gridSize: number;
|
|
1192
487
|
contextMenu: {
|
|
1193
488
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1194
489
|
top: number;
|
|
@@ -1197,7 +492,6 @@ export declare const actionLoadScene: {
|
|
|
1197
492
|
showWelcomeScreen: boolean;
|
|
1198
493
|
isLoading: boolean;
|
|
1199
494
|
errorMessage: import("react").ReactNode;
|
|
1200
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1201
495
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1202
496
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1203
497
|
editingFrame: string | null;
|
|
@@ -1206,12 +500,15 @@ export declare const actionLoadScene: {
|
|
|
1206
500
|
locked: boolean;
|
|
1207
501
|
fromSelection: boolean;
|
|
1208
502
|
} & import("../types").ActiveTool;
|
|
503
|
+
preferredSelectionTool: {
|
|
504
|
+
type: "selection" | "lasso";
|
|
505
|
+
initialized: boolean;
|
|
506
|
+
};
|
|
1209
507
|
penMode: boolean;
|
|
1210
508
|
penDetected: boolean;
|
|
1211
509
|
exportBackground: boolean;
|
|
1212
510
|
exportEmbedScene: boolean;
|
|
1213
511
|
exportWithDarkMode: boolean;
|
|
1214
|
-
exportScale: number;
|
|
1215
512
|
currentItemStrokeColor: string;
|
|
1216
513
|
currentItemBackgroundColor: string;
|
|
1217
514
|
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
@@ -1230,28 +527,23 @@ export declare const actionLoadScene: {
|
|
|
1230
527
|
cursorButton: "up" | "down";
|
|
1231
528
|
scrolledOutside: boolean;
|
|
1232
529
|
isResizing: boolean;
|
|
1233
|
-
openMenu: "canvas" |
|
|
1234
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
530
|
+
openMenu: "canvas" | null;
|
|
531
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1235
532
|
openSidebar: {
|
|
1236
533
|
name: string;
|
|
1237
534
|
tab?: string | undefined;
|
|
1238
535
|
} | null;
|
|
1239
536
|
defaultSidebarDockedPreference: boolean;
|
|
1240
537
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1241
|
-
hoveredElementIds: Readonly<{
|
|
1242
|
-
[id: string]: true;
|
|
1243
|
-
}>;
|
|
1244
538
|
previousSelectedElementIds: {
|
|
1245
539
|
[id: string]: true;
|
|
1246
540
|
};
|
|
1247
541
|
selectedElementsAreBeingDragged: boolean;
|
|
1248
|
-
shouldCacheIgnoreZoom: boolean;
|
|
1249
542
|
toast: {
|
|
1250
543
|
message: string;
|
|
1251
544
|
closable?: boolean | undefined;
|
|
1252
545
|
duration?: number | undefined;
|
|
1253
546
|
} | null;
|
|
1254
|
-
gridSize: number;
|
|
1255
547
|
gridStep: number;
|
|
1256
548
|
gridModeEnabled: boolean;
|
|
1257
549
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
@@ -1267,7 +559,7 @@ export declare const actionLoadScene: {
|
|
|
1267
559
|
shown: true;
|
|
1268
560
|
data: import("../charts").Spreadsheet;
|
|
1269
561
|
};
|
|
1270
|
-
showHyperlinkPopup: false | "
|
|
562
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1271
563
|
originSnapOffset: {
|
|
1272
564
|
x: number;
|
|
1273
565
|
y: number;
|
|
@@ -1302,7 +594,7 @@ export declare const actionLoadScene: {
|
|
|
1302
594
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1303
595
|
isBindingEnabled: boolean;
|
|
1304
596
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1305
|
-
|
|
597
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1306
598
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1307
599
|
frameRendering: {
|
|
1308
600
|
enabled: boolean;
|
|
@@ -1313,12 +605,15 @@ export declare const actionLoadScene: {
|
|
|
1313
605
|
editingFrame: string | null;
|
|
1314
606
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1315
607
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1316
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1317
608
|
activeTool: {
|
|
1318
609
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1319
610
|
locked: boolean;
|
|
1320
611
|
fromSelection: boolean;
|
|
1321
612
|
} & import("../types").ActiveTool;
|
|
613
|
+
preferredSelectionTool: {
|
|
614
|
+
type: "selection" | "lasso";
|
|
615
|
+
initialized: boolean;
|
|
616
|
+
};
|
|
1322
617
|
penMode: boolean;
|
|
1323
618
|
penDetected: boolean;
|
|
1324
619
|
exportBackground: boolean;
|
|
@@ -1351,8 +646,8 @@ export declare const actionLoadScene: {
|
|
|
1351
646
|
zoom: Readonly<{
|
|
1352
647
|
value: import("../types").NormalizedZoomValue;
|
|
1353
648
|
}>;
|
|
1354
|
-
openMenu: "canvas" |
|
|
1355
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
649
|
+
openMenu: "canvas" | null;
|
|
650
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1356
651
|
openSidebar: {
|
|
1357
652
|
name: string;
|
|
1358
653
|
tab?: string | undefined;
|
|
@@ -1364,6 +659,8 @@ export declare const actionLoadScene: {
|
|
|
1364
659
|
tab: "mermaid" | "text-to-diagram";
|
|
1365
660
|
} | {
|
|
1366
661
|
name: "commandPalette";
|
|
662
|
+
} | {
|
|
663
|
+
name: "settings";
|
|
1367
664
|
} | {
|
|
1368
665
|
name: "elementLinkSelector";
|
|
1369
666
|
sourceElementId: string;
|
|
@@ -1433,7 +730,7 @@ export declare const actionLoadScene: {
|
|
|
1433
730
|
shown: true;
|
|
1434
731
|
data: import("../charts").Spreadsheet;
|
|
1435
732
|
};
|
|
1436
|
-
showHyperlinkPopup: false | "
|
|
733
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1437
734
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1438
735
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1439
736
|
originSnapOffset: {
|
|
@@ -1453,6 +750,7 @@ export declare const actionLoadScene: {
|
|
|
1453
750
|
lockedMultiSelections: {
|
|
1454
751
|
[groupId: string]: true;
|
|
1455
752
|
};
|
|
753
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
1456
754
|
};
|
|
1457
755
|
files: import("../types").BinaryFiles;
|
|
1458
756
|
captureUpdate: "EVENTUALLY";
|
|
@@ -1461,188 +759,6 @@ export declare const actionLoadScene: {
|
|
|
1461
759
|
} & {
|
|
1462
760
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1463
761
|
};
|
|
1464
|
-
export declare const actionExportWithDarkMode: {
|
|
1465
|
-
|
|
1466
|
-
label: string;
|
|
1467
|
-
trackEvent: {
|
|
1468
|
-
category: "export";
|
|
1469
|
-
action: string;
|
|
1470
|
-
};
|
|
1471
|
-
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
|
|
1472
|
-
appState: {
|
|
1473
|
-
exportWithDarkMode: any;
|
|
1474
|
-
contextMenu: {
|
|
1475
|
-
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1476
|
-
top: number;
|
|
1477
|
-
left: number;
|
|
1478
|
-
} | null;
|
|
1479
|
-
showWelcomeScreen: boolean;
|
|
1480
|
-
isLoading: boolean;
|
|
1481
|
-
errorMessage: import("react").ReactNode;
|
|
1482
|
-
activeEmbeddable: {
|
|
1483
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1484
|
-
state: "active" | "hover";
|
|
1485
|
-
} | null;
|
|
1486
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1487
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1488
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1489
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1490
|
-
isBindingEnabled: boolean;
|
|
1491
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1492
|
-
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1493
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1494
|
-
frameRendering: {
|
|
1495
|
-
enabled: boolean;
|
|
1496
|
-
name: boolean;
|
|
1497
|
-
outline: boolean;
|
|
1498
|
-
clip: boolean;
|
|
1499
|
-
};
|
|
1500
|
-
editingFrame: string | null;
|
|
1501
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1502
|
-
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1503
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1504
|
-
activeTool: {
|
|
1505
|
-
lastActiveTool: import("../types").ActiveTool | null;
|
|
1506
|
-
locked: boolean;
|
|
1507
|
-
fromSelection: boolean;
|
|
1508
|
-
} & import("../types").ActiveTool;
|
|
1509
|
-
penMode: boolean;
|
|
1510
|
-
penDetected: boolean;
|
|
1511
|
-
exportBackground: boolean;
|
|
1512
|
-
exportEmbedScene: boolean;
|
|
1513
|
-
exportScale: number;
|
|
1514
|
-
currentItemStrokeColor: string;
|
|
1515
|
-
currentItemBackgroundColor: string;
|
|
1516
|
-
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1517
|
-
currentItemStrokeWidth: number;
|
|
1518
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1519
|
-
currentItemRoughness: number;
|
|
1520
|
-
currentItemOpacity: number;
|
|
1521
|
-
currentItemFontFamily: number;
|
|
1522
|
-
currentItemFontSize: number;
|
|
1523
|
-
currentItemTextAlign: string;
|
|
1524
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1525
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1526
|
-
currentHoveredFontFamily: number | null;
|
|
1527
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1528
|
-
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1529
|
-
viewBackgroundColor: string;
|
|
1530
|
-
scrollX: number;
|
|
1531
|
-
scrollY: number;
|
|
1532
|
-
cursorButton: "up" | "down";
|
|
1533
|
-
scrolledOutside: boolean;
|
|
1534
|
-
name: string | null;
|
|
1535
|
-
isResizing: boolean;
|
|
1536
|
-
isRotating: boolean;
|
|
1537
|
-
zoom: Readonly<{
|
|
1538
|
-
value: import("../types").NormalizedZoomValue;
|
|
1539
|
-
}>;
|
|
1540
|
-
openMenu: "canvas" | "shape" | null;
|
|
1541
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1542
|
-
openSidebar: {
|
|
1543
|
-
name: string;
|
|
1544
|
-
tab?: string | undefined;
|
|
1545
|
-
} | null;
|
|
1546
|
-
openDialog: {
|
|
1547
|
-
name: "imageExport" | "help" | "jsonExport";
|
|
1548
|
-
} | {
|
|
1549
|
-
name: "ttd";
|
|
1550
|
-
tab: "mermaid" | "text-to-diagram";
|
|
1551
|
-
} | {
|
|
1552
|
-
name: "commandPalette";
|
|
1553
|
-
} | {
|
|
1554
|
-
name: "elementLinkSelector";
|
|
1555
|
-
sourceElementId: string;
|
|
1556
|
-
} | null;
|
|
1557
|
-
defaultSidebarDockedPreference: boolean;
|
|
1558
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1559
|
-
selectedElementIds: Readonly<{
|
|
1560
|
-
[id: string]: true;
|
|
1561
|
-
}>;
|
|
1562
|
-
hoveredElementIds: Readonly<{
|
|
1563
|
-
[id: string]: true;
|
|
1564
|
-
}>;
|
|
1565
|
-
previousSelectedElementIds: {
|
|
1566
|
-
[id: string]: true;
|
|
1567
|
-
};
|
|
1568
|
-
selectedElementsAreBeingDragged: boolean;
|
|
1569
|
-
shouldCacheIgnoreZoom: boolean;
|
|
1570
|
-
toast: {
|
|
1571
|
-
message: string;
|
|
1572
|
-
closable?: boolean | undefined;
|
|
1573
|
-
duration?: number | undefined;
|
|
1574
|
-
} | null;
|
|
1575
|
-
zenModeEnabled: boolean;
|
|
1576
|
-
theme: Theme;
|
|
1577
|
-
gridSize: number;
|
|
1578
|
-
gridStep: number;
|
|
1579
|
-
gridModeEnabled: boolean;
|
|
1580
|
-
viewModeEnabled: boolean;
|
|
1581
|
-
selectedGroupIds: {
|
|
1582
|
-
[groupId: string]: boolean;
|
|
1583
|
-
};
|
|
1584
|
-
editingGroupId: string | null;
|
|
1585
|
-
width: number;
|
|
1586
|
-
height: number;
|
|
1587
|
-
offsetTop: number;
|
|
1588
|
-
offsetLeft: number;
|
|
1589
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1590
|
-
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
1591
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
1592
|
-
button?: "up" | "down" | undefined;
|
|
1593
|
-
selectedElementIds?: Readonly<{
|
|
1594
|
-
[id: string]: true;
|
|
1595
|
-
}> | undefined;
|
|
1596
|
-
username?: string | null | undefined;
|
|
1597
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1598
|
-
color?: {
|
|
1599
|
-
background: string;
|
|
1600
|
-
stroke: string;
|
|
1601
|
-
} | undefined;
|
|
1602
|
-
avatarUrl?: string | undefined;
|
|
1603
|
-
id?: string | undefined;
|
|
1604
|
-
socketId?: import("../types").SocketId | undefined;
|
|
1605
|
-
isCurrentUser?: boolean | undefined;
|
|
1606
|
-
isInCall?: boolean | undefined;
|
|
1607
|
-
isSpeaking?: boolean | undefined;
|
|
1608
|
-
isMuted?: boolean | undefined;
|
|
1609
|
-
}>>;
|
|
1610
|
-
stats: {
|
|
1611
|
-
open: boolean;
|
|
1612
|
-
panels: number;
|
|
1613
|
-
};
|
|
1614
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1615
|
-
pasteDialog: {
|
|
1616
|
-
shown: false;
|
|
1617
|
-
data: null;
|
|
1618
|
-
} | {
|
|
1619
|
-
shown: true;
|
|
1620
|
-
data: import("../charts").Spreadsheet;
|
|
1621
|
-
};
|
|
1622
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
1623
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1624
|
-
snapLines: readonly import("../snapping").SnapLine[];
|
|
1625
|
-
originSnapOffset: {
|
|
1626
|
-
x: number;
|
|
1627
|
-
y: number;
|
|
1628
|
-
} | null;
|
|
1629
|
-
objectsSnapModeEnabled: boolean;
|
|
1630
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
1631
|
-
followedBy: Set<import("../types").SocketId>;
|
|
1632
|
-
isCropping: boolean;
|
|
1633
|
-
croppingElementId: string | null;
|
|
1634
|
-
searchMatches: Readonly<{
|
|
1635
|
-
focusedId: string | null;
|
|
1636
|
-
matches: readonly import("../types").SearchMatch[];
|
|
1637
|
-
}> | null;
|
|
1638
|
-
activeLockedId: string | null;
|
|
1639
|
-
lockedMultiSelections: {
|
|
1640
|
-
[groupId: string]: true;
|
|
1641
|
-
};
|
|
1642
|
-
};
|
|
1643
|
-
captureUpdate: "EVENTUALLY";
|
|
1644
|
-
};
|
|
1645
|
-
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
1646
|
-
} & {
|
|
1647
|
-
keyTest?: undefined;
|
|
762
|
+
export declare const actionExportWithDarkMode: import("./types").Action<boolean> & {
|
|
763
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
1648
764
|
};
|