@excalidraw/excalidraw 0.18.0-b9d27d3 → 0.18.0-c158187
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev/{chunk-WWDIUJ2Q.js → chunk-5A4X24JB.js} +277 -456
- package/dist/dev/chunk-5A4X24JB.js.map +7 -0
- package/dist/dev/{chunk-FB2NA5UG.js → chunk-6JJSWC4C.js} +1 -1
- package/dist/dev/{chunk-FB2NA5UG.js.map → chunk-6JJSWC4C.js.map} +2 -2
- package/dist/dev/chunk-DJHLEOOZ.js +69 -0
- package/dist/dev/chunk-DJHLEOOZ.js.map +7 -0
- package/dist/dev/{chunk-QF5FRM6O.js → chunk-OCFTI2BU.js} +49 -26
- package/dist/dev/chunk-OCFTI2BU.js.map +7 -0
- package/dist/dev/data/{image-VTYIFRQE.js → image-Q6JHR7OE.js} +2 -2
- package/dist/dev/index.css +1042 -602
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +10053 -7628
- 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-ZRDYEPMS.js} +199 -41
- package/dist/dev/locales/de-DE-ZRDYEPMS.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-VLQBB7FJ.js} +212 -54
- package/dist/dev/locales/es-ES-VLQBB7FJ.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-A72LKGCO.js} +203 -45
- package/dist/dev/locales/fr-FR-A72LKGCO.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-X34PIOJ2.js} +202 -44
- package/dist/dev/locales/it-IT-X34PIOJ2.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-XGZJ7V2V.js} +297 -139
- package/dist/dev/locales/nl-NL-XGZJ7V2V.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-OGWD7R2K.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-RWC6UWGY.js} +200 -42
- package/dist/dev/locales/sk-SK-RWC6UWGY.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-KBZAVWP5.js +744 -0
- package/dist/dev/locales/vi-VN-KBZAVWP5.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/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/chunk-AJI3LATG.js +1 -0
- package/dist/prod/chunk-QNG5NH6R.js +12 -0
- package/dist/prod/chunk-TIFXQFVB.js +4 -0
- package/dist/prod/{chunk-LS7FJGPW.js → chunk-Z5NKEFVG.js} +8 -8
- package/dist/prod/data/{image-YQ6UXXDA.js → image-OPZV5J37.js} +1 -1
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +26 -26
- 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-G3JVZ4MQ.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-ART7BI3G.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-XEFNCM4I.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-GIGIGIBJ.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-R4C4SUIG.js +13 -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-OL6W367U.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-MC7UOHQO.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-K34TWHF7.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/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/common/src/bounds.d.ts +10 -0
- package/dist/types/common/src/colors.d.ts +5 -2
- package/dist/types/common/src/constants.d.ts +22 -24
- package/dist/types/common/src/editorInterface.d.ts +34 -0
- package/dist/types/common/src/font-metadata.d.ts +1 -3
- package/dist/types/common/src/index.d.ts +3 -0
- package/dist/types/common/src/keys.d.ts +1 -1
- package/dist/types/common/src/utility-types.d.ts +0 -1
- package/dist/types/common/src/utils.d.ts +49 -33
- package/dist/types/common/src/visualdebug.d.ts +41 -0
- package/dist/types/element/src/Scene.d.ts +3 -3
- package/dist/types/element/src/binding.d.ts +58 -44
- package/dist/types/element/src/bounds.d.ts +2 -10
- package/dist/types/element/src/collision.d.ts +6 -2
- package/dist/types/element/src/comparisons.d.ts +7 -7
- package/dist/types/element/src/dragElements.d.ts +3 -3
- package/dist/types/element/src/duplicate.d.ts +3 -3
- package/dist/types/element/src/fractionalIndex.d.ts +2 -2
- package/dist/types/element/src/frame.d.ts +5 -1
- package/dist/types/element/src/heading.d.ts +2 -1
- package/dist/types/element/src/image.d.ts +1 -11
- package/dist/types/element/src/index.d.ts +1 -3
- package/dist/types/element/src/linearElementEditor.d.ts +16 -20
- package/dist/types/element/src/mutateElement.d.ts +3 -1
- package/dist/types/element/src/newElement.d.ts +6 -6
- package/dist/types/element/src/renderElement.d.ts +4 -7
- package/dist/types/element/src/resizeElements.d.ts +10 -10
- package/dist/types/element/src/resizeTest.d.ts +6 -5
- package/dist/types/element/src/selection.d.ts +3 -7
- package/dist/types/element/src/shape.d.ts +8 -7
- package/dist/types/element/src/textMeasurements.d.ts +1 -3
- package/dist/types/{excalidraw/data → element/src}/transform.d.ts +3 -3
- package/dist/types/element/src/transformHandles.d.ts +8 -27
- package/dist/types/element/src/typeChecks.d.ts +4 -7
- package/dist/types/element/src/types.d.ts +7 -11
- package/dist/types/element/src/utils.d.ts +5 -2
- package/dist/types/element/src/zindex.d.ts +7 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +93 -136
- package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +67 -96
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +401 -771
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +86 -856
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +32 -47
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +107 -156
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +28 -45
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +66 -95
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +33 -48
- package/dist/types/excalidraw/actions/actionExport.d.ts +144 -1104
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +10 -394
- package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionFrame.d.ts +213 -308
- package/dist/types/excalidraw/actions/actionGroup.d.ts +70 -107
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +123 -178
- package/dist/types/excalidraw/actions/actionLink.d.ts +30 -45
- package/dist/types/excalidraw/actions/actionMenu.d.ts +27 -410
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +18 -359
- package/dist/types/excalidraw/actions/actionProperties.d.ts +129 -2488
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +35 -54
- package/dist/types/excalidraw/actions/actionStyles.d.ts +32 -47
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +32 -47
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +32 -47
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +25 -42
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +32 -47
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +32 -47
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +33 -48
- package/dist/types/excalidraw/actions/actionZindex.d.ts +2 -3
- package/dist/types/excalidraw/actions/index.d.ts +2 -2
- package/dist/types/excalidraw/actions/register.d.ts +2 -2
- package/dist/types/excalidraw/actions/types.d.ts +4 -4
- package/dist/types/excalidraw/appState.d.ts +12 -7
- package/dist/types/excalidraw/clipboard.d.ts +7 -29
- package/dist/types/excalidraw/components/Actions.d.ts +22 -5
- package/dist/types/excalidraw/components/App.d.ts +58 -59
- package/dist/types/excalidraw/components/ButtonIconCycle.d.ts +1 -1
- package/dist/types/excalidraw/components/Card.d.ts +0 -1
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +7 -4
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +0 -1
- package/dist/types/excalidraw/components/ColorPicker/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/ColorPicker/keyboardNavHandlers.d.ts +0 -1
- package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
- package/dist/types/excalidraw/components/CommandPalette/types.d.ts +1 -3
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
- package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
- package/dist/types/excalidraw/components/DefaultSidebar.d.ts +9 -13
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/Ellipsify.d.ts +1 -2
- package/dist/types/excalidraw/components/ErrorDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -2
- package/dist/types/excalidraw/components/EyeDropper.d.ts +0 -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/FontPicker/keyboardNavHandlers.d.ts +0 -1
- package/dist/types/excalidraw/components/HelpDialog.d.ts +1 -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/LibraryMenuControlButtons.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -2
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -3
- package/dist/types/excalidraw/components/LinkButton.d.ts +4 -0
- package/dist/types/excalidraw/components/LoadingMessage.d.ts +0 -1
- package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -5
- package/dist/types/excalidraw/components/MobileToolBar.d.ts +10 -0
- package/dist/types/excalidraw/components/Modal.d.ts +0 -1
- package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +1 -1
- package/dist/types/excalidraw/components/Popover.d.ts +2 -1
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
- package/dist/types/excalidraw/components/RadioGroup.d.ts +0 -1
- package/dist/types/excalidraw/components/RadioSelection.d.ts +4 -4
- package/dist/types/excalidraw/components/ScrollableList.d.ts +0 -1
- package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +15 -21
- package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +1 -1
- package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +1 -2
- package/dist/types/excalidraw/components/Spinner.d.ts +4 -4
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/index.d.ts +7 -8
- package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +0 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +2 -3
- package/dist/types/excalidraw/components/TTDDialog/common.d.ts +2 -3
- package/dist/types/excalidraw/components/TextField.d.ts +1 -0
- package/dist/types/excalidraw/components/Toast.d.ts +3 -3
- package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
- package/dist/types/excalidraw/components/Trans.d.ts +2 -2
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +6 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +30 -32
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +6 -5
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +3 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +10 -18
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +3 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +0 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +2 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +6 -6
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +3 -4
- package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
- package/dist/types/excalidraw/components/hoc/withInternalFallback.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -1
- package/dist/types/excalidraw/components/icons.d.ts +21 -11
- package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +4 -3
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +2 -2
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +25 -30
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +6 -6
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +15 -16
- package/dist/types/excalidraw/data/blob.d.ts +323 -5
- package/dist/types/excalidraw/data/encode.d.ts +4 -4
- package/dist/types/excalidraw/data/encryption.d.ts +5 -5
- package/dist/types/excalidraw/data/filesystem.d.ts +2 -2
- package/dist/types/excalidraw/data/index.d.ts +3 -3
- package/dist/types/excalidraw/data/json.d.ts +159 -2
- package/dist/types/excalidraw/data/library.d.ts +24 -9
- package/dist/types/excalidraw/data/restore.d.ts +25 -10
- package/dist/types/excalidraw/data/types.d.ts +4 -1
- package/dist/types/excalidraw/editor-jotai.d.ts +11 -11
- package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +4 -3
- package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -2
- package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
- package/dist/types/excalidraw/i18n.d.ts +2 -2
- package/dist/types/excalidraw/index.d.ts +4 -7
- package/dist/types/excalidraw/renderer/animation.d.ts +12 -0
- package/dist/types/excalidraw/renderer/helpers.d.ts +6 -8
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +8 -14
- package/dist/types/excalidraw/scene/Renderer.d.ts +5 -2
- package/dist/types/excalidraw/scene/export.d.ts +2 -2
- package/dist/types/excalidraw/scene/scroll.d.ts +1 -6
- package/dist/types/excalidraw/scene/types.d.ts +22 -5
- package/dist/types/excalidraw/shortcut.d.ts +1 -0
- package/dist/types/excalidraw/snapping.d.ts +5 -5
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-bindings.d.ts +1 -1
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-loader.d.ts +1 -1
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-wasm.d.ts +1 -1
- package/dist/types/excalidraw/subset/woff2/woff2-loader.d.ts +2 -2
- package/dist/types/excalidraw/subset/woff2/woff2-wasm.d.ts +1 -1
- package/dist/types/excalidraw/types.d.ts +31 -21
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +2 -2
- package/dist/types/math/src/polygon.d.ts +2 -2
- package/dist/types/math/src/range.d.ts +1 -3
- package/dist/types/math/src/segment.d.ts +4 -3
- package/dist/types/utils/src/bbox.d.ts +1 -1
- package/dist/types/utils/src/export.d.ts +5 -5
- package/dist/types/utils/src/shape.d.ts +6 -6
- package/dist/types/utils/src/withinBounds.d.ts +2 -2
- package/package.json +6 -6
- 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-Q6JHR7OE.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-OGWD7R2K.js.map} +0 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
3
2
|
import type { AppClassProperties, AppState } from "../types";
|
|
4
3
|
export declare const actionSelectAllElementsInFrame: {
|
|
@@ -7,7 +6,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
7
6
|
trackEvent: {
|
|
8
7
|
category: "canvas";
|
|
9
8
|
};
|
|
10
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
9
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
11
10
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
12
11
|
appState: {
|
|
13
12
|
selectedElementIds: Record<string, true>;
|
|
@@ -18,10 +17,10 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
18
17
|
} | null;
|
|
19
18
|
showWelcomeScreen: boolean;
|
|
20
19
|
isLoading: boolean;
|
|
21
|
-
errorMessage:
|
|
20
|
+
errorMessage: React.ReactNode;
|
|
22
21
|
activeEmbeddable: {
|
|
23
22
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
24
|
-
state: "
|
|
23
|
+
state: "hover" | "active";
|
|
25
24
|
} | null;
|
|
26
25
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
27
26
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -29,7 +28,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
29
28
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
30
29
|
isBindingEnabled: boolean;
|
|
31
30
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
32
|
-
|
|
31
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
33
32
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
34
33
|
frameRendering: {
|
|
35
34
|
enabled: boolean;
|
|
@@ -45,6 +44,10 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
45
44
|
locked: boolean;
|
|
46
45
|
fromSelection: boolean;
|
|
47
46
|
} & import("../types").ActiveTool;
|
|
47
|
+
preferredSelectionTool: {
|
|
48
|
+
type: "selection" | "lasso";
|
|
49
|
+
initialized: boolean;
|
|
50
|
+
};
|
|
48
51
|
penMode: boolean;
|
|
49
52
|
penDetected: boolean;
|
|
50
53
|
exportBackground: boolean;
|
|
@@ -53,19 +56,19 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
53
56
|
exportScale: number;
|
|
54
57
|
currentItemStrokeColor: string;
|
|
55
58
|
currentItemBackgroundColor: string;
|
|
56
|
-
currentItemFillStyle:
|
|
59
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
57
60
|
currentItemStrokeWidth: number;
|
|
58
|
-
currentItemStrokeStyle:
|
|
61
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
59
62
|
currentItemRoughness: number;
|
|
60
63
|
currentItemOpacity: number;
|
|
61
|
-
currentItemFontFamily:
|
|
64
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
62
65
|
currentItemFontSize: number;
|
|
63
|
-
currentItemTextAlign:
|
|
66
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
64
67
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
65
68
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
66
|
-
currentHoveredFontFamily:
|
|
69
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
67
70
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
68
|
-
currentItemArrowType: "
|
|
71
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
69
72
|
viewBackgroundColor: string;
|
|
70
73
|
scrollX: number;
|
|
71
74
|
scrollY: number;
|
|
@@ -74,26 +77,26 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
74
77
|
name: string | null;
|
|
75
78
|
isResizing: boolean;
|
|
76
79
|
isRotating: boolean;
|
|
77
|
-
zoom:
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
openMenu: "canvas" | "shape" | null;
|
|
81
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
80
|
+
zoom: import("../types").Zoom;
|
|
81
|
+
openMenu: "canvas" | null;
|
|
82
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
82
83
|
openSidebar: {
|
|
83
|
-
name:
|
|
84
|
-
tab?:
|
|
84
|
+
name: import("../types").SidebarName;
|
|
85
|
+
tab?: import("../types").SidebarTabName;
|
|
85
86
|
} | null;
|
|
86
|
-
openDialog: {
|
|
87
|
+
openDialog: null | {
|
|
87
88
|
name: "imageExport" | "help" | "jsonExport";
|
|
88
89
|
} | {
|
|
89
90
|
name: "ttd";
|
|
90
|
-
tab: "
|
|
91
|
+
tab: "text-to-diagram" | "mermaid";
|
|
91
92
|
} | {
|
|
92
93
|
name: "commandPalette";
|
|
94
|
+
} | {
|
|
95
|
+
name: "settings";
|
|
93
96
|
} | {
|
|
94
97
|
name: "elementLinkSelector";
|
|
95
|
-
sourceElementId:
|
|
96
|
-
}
|
|
98
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
99
|
+
};
|
|
97
100
|
defaultSidebarDockedPreference: boolean;
|
|
98
101
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
99
102
|
hoveredElementIds: Readonly<{
|
|
@@ -106,8 +109,8 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
106
109
|
shouldCacheIgnoreZoom: boolean;
|
|
107
110
|
toast: {
|
|
108
111
|
message: string;
|
|
109
|
-
closable?: boolean
|
|
110
|
-
duration?: number
|
|
112
|
+
closable?: boolean;
|
|
113
|
+
duration?: number;
|
|
111
114
|
} | null;
|
|
112
115
|
zenModeEnabled: boolean;
|
|
113
116
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -118,32 +121,13 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
118
121
|
selectedGroupIds: {
|
|
119
122
|
[groupId: string]: boolean;
|
|
120
123
|
};
|
|
121
|
-
editingGroupId:
|
|
124
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
122
125
|
width: number;
|
|
123
126
|
height: number;
|
|
124
127
|
offsetTop: number;
|
|
125
128
|
offsetLeft: number;
|
|
126
129
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
127
|
-
collaborators: Map<import("../types").SocketId,
|
|
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
|
-
}>>;
|
|
130
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
147
131
|
stats: {
|
|
148
132
|
open: boolean;
|
|
149
133
|
panels: number;
|
|
@@ -156,7 +140,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
156
140
|
shown: true;
|
|
157
141
|
data: import("../charts").Spreadsheet;
|
|
158
142
|
};
|
|
159
|
-
showHyperlinkPopup: false | "
|
|
143
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
160
144
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
161
145
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
162
146
|
originSnapOffset: {
|
|
@@ -167,15 +151,16 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
167
151
|
userToFollow: import("../types").UserToFollow | null;
|
|
168
152
|
followedBy: Set<import("../types").SocketId>;
|
|
169
153
|
isCropping: boolean;
|
|
170
|
-
croppingElementId:
|
|
154
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
171
155
|
searchMatches: Readonly<{
|
|
172
|
-
focusedId:
|
|
156
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
173
157
|
matches: readonly import("../types").SearchMatch[];
|
|
174
158
|
}> | null;
|
|
175
159
|
activeLockedId: string | null;
|
|
176
160
|
lockedMultiSelections: {
|
|
177
161
|
[groupId: string]: true;
|
|
178
162
|
};
|
|
163
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
179
164
|
};
|
|
180
165
|
captureUpdate: "IMMEDIATELY";
|
|
181
166
|
} | {
|
|
@@ -193,7 +178,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
193
178
|
trackEvent: {
|
|
194
179
|
category: "history";
|
|
195
180
|
};
|
|
196
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
181
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
197
182
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
198
183
|
appState: {
|
|
199
184
|
selectedElementIds: {
|
|
@@ -206,10 +191,10 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
206
191
|
} | null;
|
|
207
192
|
showWelcomeScreen: boolean;
|
|
208
193
|
isLoading: boolean;
|
|
209
|
-
errorMessage:
|
|
194
|
+
errorMessage: React.ReactNode;
|
|
210
195
|
activeEmbeddable: {
|
|
211
196
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
212
|
-
state: "
|
|
197
|
+
state: "hover" | "active";
|
|
213
198
|
} | null;
|
|
214
199
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
215
200
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -217,7 +202,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
217
202
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
218
203
|
isBindingEnabled: boolean;
|
|
219
204
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
220
|
-
|
|
205
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
221
206
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
222
207
|
frameRendering: {
|
|
223
208
|
enabled: boolean;
|
|
@@ -233,6 +218,10 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
233
218
|
locked: boolean;
|
|
234
219
|
fromSelection: boolean;
|
|
235
220
|
} & import("../types").ActiveTool;
|
|
221
|
+
preferredSelectionTool: {
|
|
222
|
+
type: "selection" | "lasso";
|
|
223
|
+
initialized: boolean;
|
|
224
|
+
};
|
|
236
225
|
penMode: boolean;
|
|
237
226
|
penDetected: boolean;
|
|
238
227
|
exportBackground: boolean;
|
|
@@ -241,19 +230,19 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
241
230
|
exportScale: number;
|
|
242
231
|
currentItemStrokeColor: string;
|
|
243
232
|
currentItemBackgroundColor: string;
|
|
244
|
-
currentItemFillStyle:
|
|
233
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
245
234
|
currentItemStrokeWidth: number;
|
|
246
|
-
currentItemStrokeStyle:
|
|
235
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
247
236
|
currentItemRoughness: number;
|
|
248
237
|
currentItemOpacity: number;
|
|
249
|
-
currentItemFontFamily:
|
|
238
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
250
239
|
currentItemFontSize: number;
|
|
251
|
-
currentItemTextAlign:
|
|
240
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
252
241
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
253
242
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
254
|
-
currentHoveredFontFamily:
|
|
243
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
255
244
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
256
|
-
currentItemArrowType: "
|
|
245
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
257
246
|
viewBackgroundColor: string;
|
|
258
247
|
scrollX: number;
|
|
259
248
|
scrollY: number;
|
|
@@ -262,26 +251,26 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
262
251
|
name: string | null;
|
|
263
252
|
isResizing: boolean;
|
|
264
253
|
isRotating: boolean;
|
|
265
|
-
zoom:
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
openMenu: "canvas" | "shape" | null;
|
|
269
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
254
|
+
zoom: import("../types").Zoom;
|
|
255
|
+
openMenu: "canvas" | null;
|
|
256
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
270
257
|
openSidebar: {
|
|
271
|
-
name:
|
|
272
|
-
tab?:
|
|
258
|
+
name: import("../types").SidebarName;
|
|
259
|
+
tab?: import("../types").SidebarTabName;
|
|
273
260
|
} | null;
|
|
274
|
-
openDialog: {
|
|
261
|
+
openDialog: null | {
|
|
275
262
|
name: "imageExport" | "help" | "jsonExport";
|
|
276
263
|
} | {
|
|
277
264
|
name: "ttd";
|
|
278
|
-
tab: "
|
|
265
|
+
tab: "text-to-diagram" | "mermaid";
|
|
279
266
|
} | {
|
|
280
267
|
name: "commandPalette";
|
|
268
|
+
} | {
|
|
269
|
+
name: "settings";
|
|
281
270
|
} | {
|
|
282
271
|
name: "elementLinkSelector";
|
|
283
|
-
sourceElementId:
|
|
284
|
-
}
|
|
272
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
273
|
+
};
|
|
285
274
|
defaultSidebarDockedPreference: boolean;
|
|
286
275
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
287
276
|
hoveredElementIds: Readonly<{
|
|
@@ -294,8 +283,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
294
283
|
shouldCacheIgnoreZoom: boolean;
|
|
295
284
|
toast: {
|
|
296
285
|
message: string;
|
|
297
|
-
closable?: boolean
|
|
298
|
-
duration?: number
|
|
286
|
+
closable?: boolean;
|
|
287
|
+
duration?: number;
|
|
299
288
|
} | null;
|
|
300
289
|
zenModeEnabled: boolean;
|
|
301
290
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -306,32 +295,13 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
306
295
|
selectedGroupIds: {
|
|
307
296
|
[groupId: string]: boolean;
|
|
308
297
|
};
|
|
309
|
-
editingGroupId:
|
|
298
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
310
299
|
width: number;
|
|
311
300
|
height: number;
|
|
312
301
|
offsetTop: number;
|
|
313
302
|
offsetLeft: number;
|
|
314
303
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
315
|
-
collaborators: Map<import("../types").SocketId,
|
|
316
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
317
|
-
button?: "up" | "down" | undefined;
|
|
318
|
-
selectedElementIds?: Readonly<{
|
|
319
|
-
[id: string]: true;
|
|
320
|
-
}> | undefined;
|
|
321
|
-
username?: string | null | undefined;
|
|
322
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
323
|
-
color?: {
|
|
324
|
-
background: string;
|
|
325
|
-
stroke: string;
|
|
326
|
-
} | undefined;
|
|
327
|
-
avatarUrl?: string | undefined;
|
|
328
|
-
id?: string | undefined;
|
|
329
|
-
socketId?: import("../types").SocketId | undefined;
|
|
330
|
-
isCurrentUser?: boolean | undefined;
|
|
331
|
-
isInCall?: boolean | undefined;
|
|
332
|
-
isSpeaking?: boolean | undefined;
|
|
333
|
-
isMuted?: boolean | undefined;
|
|
334
|
-
}>>;
|
|
304
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
335
305
|
stats: {
|
|
336
306
|
open: boolean;
|
|
337
307
|
panels: number;
|
|
@@ -344,7 +314,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
344
314
|
shown: true;
|
|
345
315
|
data: import("../charts").Spreadsheet;
|
|
346
316
|
};
|
|
347
|
-
showHyperlinkPopup: false | "
|
|
317
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
348
318
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
349
319
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
350
320
|
originSnapOffset: {
|
|
@@ -355,15 +325,16 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
355
325
|
userToFollow: import("../types").UserToFollow | null;
|
|
356
326
|
followedBy: Set<import("../types").SocketId>;
|
|
357
327
|
isCropping: boolean;
|
|
358
|
-
croppingElementId:
|
|
328
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
359
329
|
searchMatches: Readonly<{
|
|
360
|
-
focusedId:
|
|
330
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
361
331
|
matches: readonly import("../types").SearchMatch[];
|
|
362
332
|
}> | null;
|
|
363
333
|
activeLockedId: string | null;
|
|
364
334
|
lockedMultiSelections: {
|
|
365
335
|
[groupId: string]: true;
|
|
366
336
|
};
|
|
337
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
367
338
|
};
|
|
368
339
|
captureUpdate: "IMMEDIATELY";
|
|
369
340
|
} | {
|
|
@@ -398,10 +369,10 @@ export declare const actionupdateFrameRendering: {
|
|
|
398
369
|
} | null;
|
|
399
370
|
showWelcomeScreen: boolean;
|
|
400
371
|
isLoading: boolean;
|
|
401
|
-
errorMessage:
|
|
372
|
+
errorMessage: React.ReactNode;
|
|
402
373
|
activeEmbeddable: {
|
|
403
374
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
404
|
-
state: "
|
|
375
|
+
state: "hover" | "active";
|
|
405
376
|
} | null;
|
|
406
377
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
407
378
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -409,7 +380,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
409
380
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
410
381
|
isBindingEnabled: boolean;
|
|
411
382
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
412
|
-
|
|
383
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
413
384
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
414
385
|
editingFrame: string | null;
|
|
415
386
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -419,6 +390,10 @@ export declare const actionupdateFrameRendering: {
|
|
|
419
390
|
locked: boolean;
|
|
420
391
|
fromSelection: boolean;
|
|
421
392
|
} & import("../types").ActiveTool;
|
|
393
|
+
preferredSelectionTool: {
|
|
394
|
+
type: "selection" | "lasso";
|
|
395
|
+
initialized: boolean;
|
|
396
|
+
};
|
|
422
397
|
penMode: boolean;
|
|
423
398
|
penDetected: boolean;
|
|
424
399
|
exportBackground: boolean;
|
|
@@ -427,19 +402,19 @@ export declare const actionupdateFrameRendering: {
|
|
|
427
402
|
exportScale: number;
|
|
428
403
|
currentItemStrokeColor: string;
|
|
429
404
|
currentItemBackgroundColor: string;
|
|
430
|
-
currentItemFillStyle:
|
|
405
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
431
406
|
currentItemStrokeWidth: number;
|
|
432
|
-
currentItemStrokeStyle:
|
|
407
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
433
408
|
currentItemRoughness: number;
|
|
434
409
|
currentItemOpacity: number;
|
|
435
|
-
currentItemFontFamily:
|
|
410
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
436
411
|
currentItemFontSize: number;
|
|
437
|
-
currentItemTextAlign:
|
|
412
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
438
413
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
439
414
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
440
|
-
currentHoveredFontFamily:
|
|
415
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
441
416
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
442
|
-
currentItemArrowType: "
|
|
417
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
443
418
|
viewBackgroundColor: string;
|
|
444
419
|
scrollX: number;
|
|
445
420
|
scrollY: number;
|
|
@@ -448,26 +423,26 @@ export declare const actionupdateFrameRendering: {
|
|
|
448
423
|
name: string | null;
|
|
449
424
|
isResizing: boolean;
|
|
450
425
|
isRotating: boolean;
|
|
451
|
-
zoom:
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
openMenu: "canvas" | "shape" | null;
|
|
455
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
426
|
+
zoom: import("../types").Zoom;
|
|
427
|
+
openMenu: "canvas" | null;
|
|
428
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
456
429
|
openSidebar: {
|
|
457
|
-
name:
|
|
458
|
-
tab?:
|
|
430
|
+
name: import("../types").SidebarName;
|
|
431
|
+
tab?: import("../types").SidebarTabName;
|
|
459
432
|
} | null;
|
|
460
|
-
openDialog: {
|
|
433
|
+
openDialog: null | {
|
|
461
434
|
name: "imageExport" | "help" | "jsonExport";
|
|
462
435
|
} | {
|
|
463
436
|
name: "ttd";
|
|
464
|
-
tab: "
|
|
437
|
+
tab: "text-to-diagram" | "mermaid";
|
|
465
438
|
} | {
|
|
466
439
|
name: "commandPalette";
|
|
440
|
+
} | {
|
|
441
|
+
name: "settings";
|
|
467
442
|
} | {
|
|
468
443
|
name: "elementLinkSelector";
|
|
469
|
-
sourceElementId:
|
|
470
|
-
}
|
|
444
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
445
|
+
};
|
|
471
446
|
defaultSidebarDockedPreference: boolean;
|
|
472
447
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
473
448
|
selectedElementIds: Readonly<{
|
|
@@ -483,8 +458,8 @@ export declare const actionupdateFrameRendering: {
|
|
|
483
458
|
shouldCacheIgnoreZoom: boolean;
|
|
484
459
|
toast: {
|
|
485
460
|
message: string;
|
|
486
|
-
closable?: boolean
|
|
487
|
-
duration?: number
|
|
461
|
+
closable?: boolean;
|
|
462
|
+
duration?: number;
|
|
488
463
|
} | null;
|
|
489
464
|
zenModeEnabled: boolean;
|
|
490
465
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -495,32 +470,13 @@ export declare const actionupdateFrameRendering: {
|
|
|
495
470
|
selectedGroupIds: {
|
|
496
471
|
[groupId: string]: boolean;
|
|
497
472
|
};
|
|
498
|
-
editingGroupId:
|
|
473
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
499
474
|
width: number;
|
|
500
475
|
height: number;
|
|
501
476
|
offsetTop: number;
|
|
502
477
|
offsetLeft: number;
|
|
503
478
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
504
|
-
collaborators: Map<import("../types").SocketId,
|
|
505
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
506
|
-
button?: "up" | "down" | undefined;
|
|
507
|
-
selectedElementIds?: Readonly<{
|
|
508
|
-
[id: string]: true;
|
|
509
|
-
}> | undefined;
|
|
510
|
-
username?: string | null | undefined;
|
|
511
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
512
|
-
color?: {
|
|
513
|
-
background: string;
|
|
514
|
-
stroke: string;
|
|
515
|
-
} | undefined;
|
|
516
|
-
avatarUrl?: string | undefined;
|
|
517
|
-
id?: string | undefined;
|
|
518
|
-
socketId?: import("../types").SocketId | undefined;
|
|
519
|
-
isCurrentUser?: boolean | undefined;
|
|
520
|
-
isInCall?: boolean | undefined;
|
|
521
|
-
isSpeaking?: boolean | undefined;
|
|
522
|
-
isMuted?: boolean | undefined;
|
|
523
|
-
}>>;
|
|
479
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
524
480
|
stats: {
|
|
525
481
|
open: boolean;
|
|
526
482
|
panels: number;
|
|
@@ -533,7 +489,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
533
489
|
shown: true;
|
|
534
490
|
data: import("../charts").Spreadsheet;
|
|
535
491
|
};
|
|
536
|
-
showHyperlinkPopup: false | "
|
|
492
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
537
493
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
538
494
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
539
495
|
originSnapOffset: {
|
|
@@ -544,15 +500,16 @@ export declare const actionupdateFrameRendering: {
|
|
|
544
500
|
userToFollow: import("../types").UserToFollow | null;
|
|
545
501
|
followedBy: Set<import("../types").SocketId>;
|
|
546
502
|
isCropping: boolean;
|
|
547
|
-
croppingElementId:
|
|
503
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
548
504
|
searchMatches: Readonly<{
|
|
549
|
-
focusedId:
|
|
505
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
550
506
|
matches: readonly import("../types").SearchMatch[];
|
|
551
507
|
}> | null;
|
|
552
508
|
activeLockedId: string | null;
|
|
553
509
|
lockedMultiSelections: {
|
|
554
510
|
[groupId: string]: true;
|
|
555
511
|
};
|
|
512
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
556
513
|
};
|
|
557
514
|
captureUpdate: "EVENTUALLY";
|
|
558
515
|
};
|
|
@@ -568,7 +525,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
568
525
|
};
|
|
569
526
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
570
527
|
viewMode: false;
|
|
571
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
528
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
572
529
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
573
530
|
appState: {
|
|
574
531
|
activeTool: {
|
|
@@ -583,10 +540,10 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
583
540
|
} | null;
|
|
584
541
|
showWelcomeScreen: boolean;
|
|
585
542
|
isLoading: boolean;
|
|
586
|
-
errorMessage:
|
|
543
|
+
errorMessage: React.ReactNode;
|
|
587
544
|
activeEmbeddable: {
|
|
588
545
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
589
|
-
state: "
|
|
546
|
+
state: "hover" | "active";
|
|
590
547
|
} | null;
|
|
591
548
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
592
549
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -594,7 +551,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
594
551
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
595
552
|
isBindingEnabled: boolean;
|
|
596
553
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
597
|
-
|
|
554
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
598
555
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
599
556
|
frameRendering: {
|
|
600
557
|
enabled: boolean;
|
|
@@ -605,6 +562,10 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
605
562
|
editingFrame: string | null;
|
|
606
563
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
607
564
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
565
|
+
preferredSelectionTool: {
|
|
566
|
+
type: "selection" | "lasso";
|
|
567
|
+
initialized: boolean;
|
|
568
|
+
};
|
|
608
569
|
penMode: boolean;
|
|
609
570
|
penDetected: boolean;
|
|
610
571
|
exportBackground: boolean;
|
|
@@ -613,19 +574,19 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
613
574
|
exportScale: number;
|
|
614
575
|
currentItemStrokeColor: string;
|
|
615
576
|
currentItemBackgroundColor: string;
|
|
616
|
-
currentItemFillStyle:
|
|
577
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
617
578
|
currentItemStrokeWidth: number;
|
|
618
|
-
currentItemStrokeStyle:
|
|
579
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
619
580
|
currentItemRoughness: number;
|
|
620
581
|
currentItemOpacity: number;
|
|
621
|
-
currentItemFontFamily:
|
|
582
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
622
583
|
currentItemFontSize: number;
|
|
623
|
-
currentItemTextAlign:
|
|
584
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
624
585
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
625
586
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
626
|
-
currentHoveredFontFamily:
|
|
587
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
627
588
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
628
|
-
currentItemArrowType: "
|
|
589
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
629
590
|
viewBackgroundColor: string;
|
|
630
591
|
scrollX: number;
|
|
631
592
|
scrollY: number;
|
|
@@ -634,26 +595,26 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
634
595
|
name: string | null;
|
|
635
596
|
isResizing: boolean;
|
|
636
597
|
isRotating: boolean;
|
|
637
|
-
zoom:
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
openMenu: "canvas" | "shape" | null;
|
|
641
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
598
|
+
zoom: import("../types").Zoom;
|
|
599
|
+
openMenu: "canvas" | null;
|
|
600
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
642
601
|
openSidebar: {
|
|
643
|
-
name:
|
|
644
|
-
tab?:
|
|
602
|
+
name: import("../types").SidebarName;
|
|
603
|
+
tab?: import("../types").SidebarTabName;
|
|
645
604
|
} | null;
|
|
646
|
-
openDialog: {
|
|
605
|
+
openDialog: null | {
|
|
647
606
|
name: "imageExport" | "help" | "jsonExport";
|
|
648
607
|
} | {
|
|
649
608
|
name: "ttd";
|
|
650
|
-
tab: "
|
|
609
|
+
tab: "text-to-diagram" | "mermaid";
|
|
651
610
|
} | {
|
|
652
611
|
name: "commandPalette";
|
|
612
|
+
} | {
|
|
613
|
+
name: "settings";
|
|
653
614
|
} | {
|
|
654
615
|
name: "elementLinkSelector";
|
|
655
|
-
sourceElementId:
|
|
656
|
-
}
|
|
616
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
617
|
+
};
|
|
657
618
|
defaultSidebarDockedPreference: boolean;
|
|
658
619
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
659
620
|
selectedElementIds: Readonly<{
|
|
@@ -669,8 +630,8 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
669
630
|
shouldCacheIgnoreZoom: boolean;
|
|
670
631
|
toast: {
|
|
671
632
|
message: string;
|
|
672
|
-
closable?: boolean
|
|
673
|
-
duration?: number
|
|
633
|
+
closable?: boolean;
|
|
634
|
+
duration?: number;
|
|
674
635
|
} | null;
|
|
675
636
|
zenModeEnabled: boolean;
|
|
676
637
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -681,32 +642,13 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
681
642
|
selectedGroupIds: {
|
|
682
643
|
[groupId: string]: boolean;
|
|
683
644
|
};
|
|
684
|
-
editingGroupId:
|
|
645
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
685
646
|
width: number;
|
|
686
647
|
height: number;
|
|
687
648
|
offsetTop: number;
|
|
688
649
|
offsetLeft: number;
|
|
689
650
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
690
|
-
collaborators: Map<import("../types").SocketId,
|
|
691
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
692
|
-
button?: "up" | "down" | undefined;
|
|
693
|
-
selectedElementIds?: Readonly<{
|
|
694
|
-
[id: string]: true;
|
|
695
|
-
}> | undefined;
|
|
696
|
-
username?: string | null | undefined;
|
|
697
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
698
|
-
color?: {
|
|
699
|
-
background: string;
|
|
700
|
-
stroke: string;
|
|
701
|
-
} | undefined;
|
|
702
|
-
avatarUrl?: string | undefined;
|
|
703
|
-
id?: string | undefined;
|
|
704
|
-
socketId?: import("../types").SocketId | undefined;
|
|
705
|
-
isCurrentUser?: boolean | undefined;
|
|
706
|
-
isInCall?: boolean | undefined;
|
|
707
|
-
isSpeaking?: boolean | undefined;
|
|
708
|
-
isMuted?: boolean | undefined;
|
|
709
|
-
}>>;
|
|
651
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
710
652
|
stats: {
|
|
711
653
|
open: boolean;
|
|
712
654
|
panels: number;
|
|
@@ -719,7 +661,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
719
661
|
shown: true;
|
|
720
662
|
data: import("../charts").Spreadsheet;
|
|
721
663
|
};
|
|
722
|
-
showHyperlinkPopup: false | "
|
|
664
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
723
665
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
724
666
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
725
667
|
originSnapOffset: {
|
|
@@ -730,15 +672,16 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
730
672
|
userToFollow: import("../types").UserToFollow | null;
|
|
731
673
|
followedBy: Set<import("../types").SocketId>;
|
|
732
674
|
isCropping: boolean;
|
|
733
|
-
croppingElementId:
|
|
675
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
734
676
|
searchMatches: Readonly<{
|
|
735
|
-
focusedId:
|
|
677
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
736
678
|
matches: readonly import("../types").SearchMatch[];
|
|
737
679
|
}> | null;
|
|
738
680
|
activeLockedId: string | null;
|
|
739
681
|
lockedMultiSelections: {
|
|
740
682
|
[groupId: string]: true;
|
|
741
683
|
};
|
|
684
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
742
685
|
};
|
|
743
686
|
captureUpdate: "EVENTUALLY";
|
|
744
687
|
};
|
|
@@ -753,7 +696,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
753
696
|
category: "element";
|
|
754
697
|
};
|
|
755
698
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
756
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
699
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
757
700
|
elements: ((Readonly<{
|
|
758
701
|
id: string;
|
|
759
702
|
x: number;
|
|
@@ -763,10 +706,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
763
706
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
764
707
|
strokeWidth: number;
|
|
765
708
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
766
|
-
roundness: {
|
|
709
|
+
roundness: null | {
|
|
767
710
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
768
|
-
value?: number
|
|
769
|
-
}
|
|
711
|
+
value?: number;
|
|
712
|
+
};
|
|
770
713
|
roughness: number;
|
|
771
714
|
opacity: number;
|
|
772
715
|
width: number;
|
|
@@ -777,22 +720,18 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
777
720
|
versionNonce: number;
|
|
778
721
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
779
722
|
isDeleted: boolean;
|
|
780
|
-
groupIds: readonly
|
|
723
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
781
724
|
frameId: string | null;
|
|
782
|
-
boundElements: readonly
|
|
783
|
-
id: string;
|
|
784
|
-
type: "arrow" | "text";
|
|
785
|
-
}>[] | null;
|
|
725
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
786
726
|
updated: number;
|
|
787
727
|
link: string | null;
|
|
788
728
|
locked: boolean;
|
|
789
|
-
customData?: Record<string, any
|
|
729
|
+
customData?: Record<string, any>;
|
|
790
730
|
}> & Readonly<{
|
|
791
731
|
type: "line" | "arrow";
|
|
792
732
|
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
endBinding: import("@excalidraw/element/types").PointBinding | null;
|
|
733
|
+
startBinding: import("@excalidraw/element/types").FixedPointBinding | null;
|
|
734
|
+
endBinding: import("@excalidraw/element/types").FixedPointBinding | null;
|
|
796
735
|
startArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
797
736
|
endArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
798
737
|
}> & {
|
|
@@ -806,10 +745,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
806
745
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
807
746
|
strokeWidth: number;
|
|
808
747
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
809
|
-
roundness: {
|
|
748
|
+
roundness: null | {
|
|
810
749
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
811
|
-
value?: number
|
|
812
|
-
}
|
|
750
|
+
value?: number;
|
|
751
|
+
};
|
|
813
752
|
roughness: number;
|
|
814
753
|
opacity: number;
|
|
815
754
|
width: number;
|
|
@@ -820,16 +759,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
820
759
|
versionNonce: number;
|
|
821
760
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
822
761
|
isDeleted: boolean;
|
|
823
|
-
groupIds: readonly
|
|
762
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
824
763
|
frameId: string | null;
|
|
825
|
-
boundElements: readonly
|
|
826
|
-
id: string;
|
|
827
|
-
type: "arrow" | "text";
|
|
828
|
-
}>[] | null;
|
|
764
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
829
765
|
updated: number;
|
|
830
766
|
link: string | null;
|
|
831
767
|
locked: boolean;
|
|
832
|
-
customData?: Record<string, any
|
|
768
|
+
customData?: Record<string, any>;
|
|
833
769
|
}> & {
|
|
834
770
|
type: "selection";
|
|
835
771
|
} & {
|
|
@@ -843,10 +779,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
843
779
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
844
780
|
strokeWidth: number;
|
|
845
781
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
846
|
-
roundness: {
|
|
782
|
+
roundness: null | {
|
|
847
783
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
848
|
-
value?: number
|
|
849
|
-
}
|
|
784
|
+
value?: number;
|
|
785
|
+
};
|
|
850
786
|
roughness: number;
|
|
851
787
|
opacity: number;
|
|
852
788
|
width: number;
|
|
@@ -857,16 +793,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
857
793
|
versionNonce: number;
|
|
858
794
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
859
795
|
isDeleted: boolean;
|
|
860
|
-
groupIds: readonly
|
|
796
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
861
797
|
frameId: string | null;
|
|
862
|
-
boundElements: readonly
|
|
863
|
-
id: string;
|
|
864
|
-
type: "arrow" | "text";
|
|
865
|
-
}>[] | null;
|
|
798
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
866
799
|
updated: number;
|
|
867
800
|
link: string | null;
|
|
868
801
|
locked: boolean;
|
|
869
|
-
customData?: Record<string, any
|
|
802
|
+
customData?: Record<string, any>;
|
|
870
803
|
}> & {
|
|
871
804
|
type: "rectangle";
|
|
872
805
|
} & {
|
|
@@ -880,10 +813,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
880
813
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
881
814
|
strokeWidth: number;
|
|
882
815
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
883
|
-
roundness: {
|
|
816
|
+
roundness: null | {
|
|
884
817
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
885
|
-
value?: number
|
|
886
|
-
}
|
|
818
|
+
value?: number;
|
|
819
|
+
};
|
|
887
820
|
roughness: number;
|
|
888
821
|
opacity: number;
|
|
889
822
|
width: number;
|
|
@@ -894,16 +827,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
894
827
|
versionNonce: number;
|
|
895
828
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
896
829
|
isDeleted: boolean;
|
|
897
|
-
groupIds: readonly
|
|
830
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
898
831
|
frameId: string | null;
|
|
899
|
-
boundElements: readonly
|
|
900
|
-
id: string;
|
|
901
|
-
type: "arrow" | "text";
|
|
902
|
-
}>[] | null;
|
|
832
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
903
833
|
updated: number;
|
|
904
834
|
link: string | null;
|
|
905
835
|
locked: boolean;
|
|
906
|
-
customData?: Record<string, any
|
|
836
|
+
customData?: Record<string, any>;
|
|
907
837
|
}> & {
|
|
908
838
|
type: "diamond";
|
|
909
839
|
} & {
|
|
@@ -917,10 +847,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
917
847
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
918
848
|
strokeWidth: number;
|
|
919
849
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
920
|
-
roundness: {
|
|
850
|
+
roundness: null | {
|
|
921
851
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
922
|
-
value?: number
|
|
923
|
-
}
|
|
852
|
+
value?: number;
|
|
853
|
+
};
|
|
924
854
|
roughness: number;
|
|
925
855
|
opacity: number;
|
|
926
856
|
width: number;
|
|
@@ -931,16 +861,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
931
861
|
versionNonce: number;
|
|
932
862
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
933
863
|
isDeleted: boolean;
|
|
934
|
-
groupIds: readonly
|
|
864
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
935
865
|
frameId: string | null;
|
|
936
|
-
boundElements: readonly
|
|
937
|
-
id: string;
|
|
938
|
-
type: "arrow" | "text";
|
|
939
|
-
}>[] | null;
|
|
866
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
940
867
|
updated: number;
|
|
941
868
|
link: string | null;
|
|
942
869
|
locked: boolean;
|
|
943
|
-
customData?: Record<string, any
|
|
870
|
+
customData?: Record<string, any>;
|
|
944
871
|
}> & {
|
|
945
872
|
type: "ellipse";
|
|
946
873
|
} & {
|
|
@@ -954,10 +881,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
954
881
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
955
882
|
strokeWidth: number;
|
|
956
883
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
957
|
-
roundness: {
|
|
884
|
+
roundness: null | {
|
|
958
885
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
959
|
-
value?: number
|
|
960
|
-
}
|
|
886
|
+
value?: number;
|
|
887
|
+
};
|
|
961
888
|
roughness: number;
|
|
962
889
|
opacity: number;
|
|
963
890
|
width: number;
|
|
@@ -968,16 +895,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
968
895
|
versionNonce: number;
|
|
969
896
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
970
897
|
isDeleted: boolean;
|
|
971
|
-
groupIds: readonly
|
|
898
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
972
899
|
frameId: string | null;
|
|
973
|
-
boundElements: readonly
|
|
974
|
-
id: string;
|
|
975
|
-
type: "arrow" | "text";
|
|
976
|
-
}>[] | null;
|
|
900
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
977
901
|
updated: number;
|
|
978
902
|
link: string | null;
|
|
979
903
|
locked: boolean;
|
|
980
|
-
customData?: Record<string, any
|
|
904
|
+
customData?: Record<string, any>;
|
|
981
905
|
}> & Readonly<{
|
|
982
906
|
type: "embeddable";
|
|
983
907
|
}> & {
|
|
@@ -991,10 +915,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
991
915
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
992
916
|
strokeWidth: number;
|
|
993
917
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
994
|
-
roundness: {
|
|
918
|
+
roundness: null | {
|
|
995
919
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
996
|
-
value?: number
|
|
997
|
-
}
|
|
920
|
+
value?: number;
|
|
921
|
+
};
|
|
998
922
|
roughness: number;
|
|
999
923
|
opacity: number;
|
|
1000
924
|
width: number;
|
|
@@ -1005,21 +929,18 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1005
929
|
versionNonce: number;
|
|
1006
930
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1007
931
|
isDeleted: boolean;
|
|
1008
|
-
groupIds: readonly
|
|
932
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1009
933
|
frameId: string | null;
|
|
1010
|
-
boundElements: readonly
|
|
1011
|
-
id: string;
|
|
1012
|
-
type: "arrow" | "text";
|
|
1013
|
-
}>[] | null;
|
|
934
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1014
935
|
updated: number;
|
|
1015
936
|
link: string | null;
|
|
1016
937
|
locked: boolean;
|
|
1017
|
-
customData?: Record<string, any
|
|
938
|
+
customData?: Record<string, any>;
|
|
1018
939
|
}> & Readonly<{
|
|
1019
940
|
type: "iframe";
|
|
1020
941
|
customData?: {
|
|
1021
|
-
generationData?: import("@excalidraw/element/types").MagicGenerationData
|
|
1022
|
-
}
|
|
942
|
+
generationData?: import("@excalidraw/element/types").MagicGenerationData;
|
|
943
|
+
};
|
|
1023
944
|
}> & {
|
|
1024
945
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1025
946
|
}) | (Readonly<{
|
|
@@ -1031,10 +952,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1031
952
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1032
953
|
strokeWidth: number;
|
|
1033
954
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1034
|
-
roundness: {
|
|
955
|
+
roundness: null | {
|
|
1035
956
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1036
|
-
value?: number
|
|
1037
|
-
}
|
|
957
|
+
value?: number;
|
|
958
|
+
};
|
|
1038
959
|
roughness: number;
|
|
1039
960
|
opacity: number;
|
|
1040
961
|
width: number;
|
|
@@ -1045,20 +966,17 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1045
966
|
versionNonce: number;
|
|
1046
967
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1047
968
|
isDeleted: boolean;
|
|
1048
|
-
groupIds: readonly
|
|
969
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1049
970
|
frameId: string | null;
|
|
1050
|
-
boundElements: readonly
|
|
1051
|
-
id: string;
|
|
1052
|
-
type: "arrow" | "text";
|
|
1053
|
-
}>[] | null;
|
|
971
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1054
972
|
updated: number;
|
|
1055
973
|
link: string | null;
|
|
1056
974
|
locked: boolean;
|
|
1057
|
-
customData?: Record<string, any
|
|
975
|
+
customData?: Record<string, any>;
|
|
1058
976
|
}> & Readonly<{
|
|
1059
977
|
type: "image";
|
|
1060
978
|
fileId: import("@excalidraw/element/types").FileId | null;
|
|
1061
|
-
status: "pending" | "
|
|
979
|
+
status: "pending" | "saved" | "error";
|
|
1062
980
|
scale: [number, number];
|
|
1063
981
|
crop: import("@excalidraw/element/types").ImageCrop | null;
|
|
1064
982
|
}> & {
|
|
@@ -1072,10 +990,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1072
990
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1073
991
|
strokeWidth: number;
|
|
1074
992
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1075
|
-
roundness: {
|
|
993
|
+
roundness: null | {
|
|
1076
994
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1077
|
-
value?: number
|
|
1078
|
-
}
|
|
995
|
+
value?: number;
|
|
996
|
+
};
|
|
1079
997
|
roughness: number;
|
|
1080
998
|
opacity: number;
|
|
1081
999
|
width: number;
|
|
@@ -1086,16 +1004,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1086
1004
|
versionNonce: number;
|
|
1087
1005
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1088
1006
|
isDeleted: boolean;
|
|
1089
|
-
groupIds: readonly
|
|
1007
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1090
1008
|
frameId: string | null;
|
|
1091
|
-
boundElements: readonly
|
|
1092
|
-
id: string;
|
|
1093
|
-
type: "arrow" | "text";
|
|
1094
|
-
}>[] | null;
|
|
1009
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1095
1010
|
updated: number;
|
|
1096
1011
|
link: string | null;
|
|
1097
1012
|
locked: boolean;
|
|
1098
|
-
customData?: Record<string, any
|
|
1013
|
+
customData?: Record<string, any>;
|
|
1099
1014
|
}> & {
|
|
1100
1015
|
type: "frame";
|
|
1101
1016
|
name: string | null;
|
|
@@ -1110,10 +1025,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1110
1025
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1111
1026
|
strokeWidth: number;
|
|
1112
1027
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1113
|
-
roundness: {
|
|
1028
|
+
roundness: null | {
|
|
1114
1029
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1115
|
-
value?: number
|
|
1116
|
-
}
|
|
1030
|
+
value?: number;
|
|
1031
|
+
};
|
|
1117
1032
|
roughness: number;
|
|
1118
1033
|
opacity: number;
|
|
1119
1034
|
width: number;
|
|
@@ -1124,16 +1039,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1124
1039
|
versionNonce: number;
|
|
1125
1040
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1126
1041
|
isDeleted: boolean;
|
|
1127
|
-
groupIds: readonly
|
|
1042
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1128
1043
|
frameId: string | null;
|
|
1129
|
-
boundElements: readonly
|
|
1130
|
-
id: string;
|
|
1131
|
-
type: "arrow" | "text";
|
|
1132
|
-
}>[] | null;
|
|
1044
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1133
1045
|
updated: number;
|
|
1134
1046
|
link: string | null;
|
|
1135
1047
|
locked: boolean;
|
|
1136
|
-
customData?: Record<string, any
|
|
1048
|
+
customData?: Record<string, any>;
|
|
1137
1049
|
}> & {
|
|
1138
1050
|
type: "magicframe";
|
|
1139
1051
|
name: string | null;
|
|
@@ -1148,10 +1060,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1148
1060
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1149
1061
|
strokeWidth: number;
|
|
1150
1062
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1151
|
-
roundness: {
|
|
1063
|
+
roundness: null | {
|
|
1152
1064
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1153
|
-
value?: number
|
|
1154
|
-
}
|
|
1065
|
+
value?: number;
|
|
1066
|
+
};
|
|
1155
1067
|
roughness: number;
|
|
1156
1068
|
opacity: number;
|
|
1157
1069
|
width: number;
|
|
@@ -1162,24 +1074,21 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1162
1074
|
versionNonce: number;
|
|
1163
1075
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1164
1076
|
isDeleted: boolean;
|
|
1165
|
-
groupIds: readonly
|
|
1077
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1166
1078
|
frameId: string | null;
|
|
1167
|
-
boundElements: readonly
|
|
1168
|
-
id: string;
|
|
1169
|
-
type: "arrow" | "text";
|
|
1170
|
-
}>[] | null;
|
|
1079
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1171
1080
|
updated: number;
|
|
1172
1081
|
link: string | null;
|
|
1173
1082
|
locked: boolean;
|
|
1174
|
-
customData?: Record<string, any
|
|
1083
|
+
customData?: Record<string, any>;
|
|
1175
1084
|
}> & Readonly<{
|
|
1176
1085
|
type: "text";
|
|
1177
1086
|
fontSize: number;
|
|
1178
|
-
fontFamily:
|
|
1087
|
+
fontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1179
1088
|
text: string;
|
|
1180
|
-
textAlign:
|
|
1181
|
-
verticalAlign:
|
|
1182
|
-
containerId:
|
|
1089
|
+
textAlign: import("@excalidraw/element/types").TextAlign;
|
|
1090
|
+
verticalAlign: import("@excalidraw/element/types").VerticalAlign;
|
|
1091
|
+
containerId: import("@excalidraw/element/types").ExcalidrawGenericElement["id"] | null;
|
|
1183
1092
|
originalText: string;
|
|
1184
1093
|
autoResize: boolean;
|
|
1185
1094
|
lineHeight: number & {
|
|
@@ -1196,10 +1105,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1196
1105
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1197
1106
|
strokeWidth: number;
|
|
1198
1107
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1199
|
-
roundness: {
|
|
1108
|
+
roundness: null | {
|
|
1200
1109
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1201
|
-
value?: number
|
|
1202
|
-
}
|
|
1110
|
+
value?: number;
|
|
1111
|
+
};
|
|
1203
1112
|
roughness: number;
|
|
1204
1113
|
opacity: number;
|
|
1205
1114
|
width: number;
|
|
@@ -1210,22 +1119,18 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1210
1119
|
versionNonce: number;
|
|
1211
1120
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1212
1121
|
isDeleted: boolean;
|
|
1213
|
-
groupIds: readonly
|
|
1122
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1214
1123
|
frameId: string | null;
|
|
1215
|
-
boundElements: readonly
|
|
1216
|
-
id: string;
|
|
1217
|
-
type: "arrow" | "text";
|
|
1218
|
-
}>[] | null;
|
|
1124
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1219
1125
|
updated: number;
|
|
1220
1126
|
link: string | null;
|
|
1221
1127
|
locked: boolean;
|
|
1222
|
-
customData?: Record<string, any
|
|
1128
|
+
customData?: Record<string, any>;
|
|
1223
1129
|
}> & Readonly<{
|
|
1224
1130
|
type: "freedraw";
|
|
1225
1131
|
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
1226
1132
|
pressures: readonly number[];
|
|
1227
1133
|
simulatePressure: boolean;
|
|
1228
|
-
lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
|
|
1229
1134
|
}> & {
|
|
1230
1135
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1231
1136
|
}) | import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameElement>)[];
|