@myoc/excalidraw 0.19.521 → 0.19.522
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +227 -8
- package/dist/dev/{chunk-P7I4FGOG.js → chunk-6T5HZJCI.js} +2 -2
- package/dist/dev/chunk-72CYJXY3.js +69 -0
- package/dist/dev/chunk-72CYJXY3.js.map +7 -0
- package/dist/dev/{chunk-MN6E45MP.js → chunk-BCNQXIBK.js} +348 -85
- package/dist/dev/chunk-BCNQXIBK.js.map +7 -0
- package/dist/dev/{chunk-IU2VFRFU.js → chunk-SKCAT7JG.js} +19 -6
- package/dist/dev/chunk-SKCAT7JG.js.map +7 -0
- package/dist/dev/data/{image-ZYGVHYLC.js → image-NFLICJEW.js} +3 -3
- package/dist/dev/index.css +2198 -2250
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +14897 -11932
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{ar-SA-NFU76NHO.js → ar-SA-JEFXMY43.js} +69 -29
- package/dist/dev/locales/ar-SA-JEFXMY43.js.map +7 -0
- package/dist/dev/locales/{az-AZ-F7U432OF.js → az-AZ-K5GG7N2H.js} +47 -7
- package/dist/dev/locales/az-AZ-K5GG7N2H.js.map +7 -0
- package/dist/dev/locales/{bg-BG-VMJGHZ3R.js → bg-BG-YUNBCAUF.js} +47 -7
- package/dist/dev/locales/bg-BG-YUNBCAUF.js.map +7 -0
- package/dist/dev/locales/{bn-BD-ABWH5RGF.js → bn-BD-TASJ52R7.js} +47 -7
- package/dist/dev/locales/bn-BD-TASJ52R7.js.map +7 -0
- package/dist/dev/locales/{bn-IN-6FBCHDUY.js → bn-IN-CQJ5XUTI.js} +47 -7
- package/dist/dev/locales/bn-IN-CQJ5XUTI.js.map +7 -0
- package/dist/dev/locales/{ca-ES-UX7K2ENH.js → ca-ES-F62AQUFY.js} +47 -69
- package/dist/dev/locales/ca-ES-F62AQUFY.js.map +7 -0
- package/dist/dev/locales/{cs-CZ-TBYIRH36.js → cs-CZ-YHUNUU6P.js} +47 -69
- package/dist/dev/locales/cs-CZ-YHUNUU6P.js.map +7 -0
- package/dist/dev/locales/{da-DK-KW4TGU6O.js → da-DK-QU24E74Q.js} +47 -69
- package/dist/dev/locales/da-DK-QU24E74Q.js.map +7 -0
- package/dist/dev/locales/{de-CH-QSJHIHEN.js → de-CH-KLWBYLGC.js} +110 -132
- package/dist/dev/locales/de-CH-KLWBYLGC.js.map +7 -0
- package/dist/dev/locales/{de-DE-2WQ5IRPT.js → de-DE-UB755M7G.js} +110 -132
- package/dist/dev/locales/de-DE-UB755M7G.js.map +7 -0
- package/dist/dev/locales/{el-GR-N7JWYMV5.js → el-GR-J2BFDAEA.js} +47 -69
- package/dist/dev/locales/el-GR-J2BFDAEA.js.map +7 -0
- package/dist/dev/locales/{en-25BPHB4T.js → en-RETPDZ4S.js} +4 -2
- package/dist/dev/locales/{es-ES-37LJTLHM.js → es-ES-GL35U3D6.js} +97 -119
- package/dist/dev/locales/es-ES-GL35U3D6.js.map +7 -0
- package/dist/dev/locales/{eu-ES-2IFCUP7K.js → eu-ES-5LL7P4G7.js} +150 -172
- package/dist/dev/locales/eu-ES-5LL7P4G7.js.map +7 -0
- package/dist/dev/locales/{fa-IR-VDT7BNM4.js → fa-IR-2D6AXPSB.js} +52 -74
- package/dist/dev/locales/fa-IR-2D6AXPSB.js.map +7 -0
- package/dist/dev/locales/{fi-FI-HLYF5ISJ.js → fi-FI-WLH5PKEI.js} +47 -69
- package/dist/dev/locales/fi-FI-WLH5PKEI.js.map +7 -0
- package/dist/dev/locales/{fr-FR-5YNPDFPF.js → fr-FR-2OK3WPK2.js} +50 -72
- package/dist/dev/locales/fr-FR-2OK3WPK2.js.map +7 -0
- package/dist/dev/locales/{gl-ES-S56CRRSA.js → gl-ES-EZQPQSMM.js} +47 -69
- package/dist/dev/locales/gl-ES-EZQPQSMM.js.map +7 -0
- package/dist/dev/locales/{he-IL-7GR3BHPZ.js → he-IL-AZ66QXVH.js} +101 -123
- package/dist/dev/locales/he-IL-AZ66QXVH.js.map +7 -0
- package/dist/dev/locales/{hi-IN-AQ7X42V5.js → hi-IN-FLBMKLKL.js} +47 -69
- package/dist/dev/locales/hi-IN-FLBMKLKL.js.map +7 -0
- package/dist/dev/locales/{hu-HU-4HM3N3P3.js → hu-HU-VDOE4ASN.js} +47 -69
- package/dist/dev/locales/hu-HU-VDOE4ASN.js.map +7 -0
- package/dist/dev/locales/{id-ID-P7V2I35Q.js → id-ID-ONDPKYZS.js} +94 -116
- package/dist/dev/locales/id-ID-ONDPKYZS.js.map +7 -0
- package/dist/dev/locales/{it-IT-HUGIPGTB.js → it-IT-VBFSF2PC.js} +50 -72
- package/dist/dev/locales/it-IT-VBFSF2PC.js.map +7 -0
- package/dist/dev/locales/{ja-JP-XFX5V5ZL.js → ja-JP-HYYYQCGH.js} +141 -163
- package/dist/dev/locales/ja-JP-HYYYQCGH.js.map +7 -0
- package/dist/dev/locales/{kaa-X53Z7Q4I.js → kaa-TY3DGTWH.js} +47 -69
- package/dist/dev/locales/kaa-TY3DGTWH.js.map +7 -0
- package/dist/dev/locales/{kab-KAB-GGKAECT5.js → kab-KAB-IY5ZIQCV.js} +47 -69
- package/dist/dev/locales/kab-KAB-IY5ZIQCV.js.map +7 -0
- package/dist/dev/locales/{kk-KZ-Z6R3NY65.js → kk-KZ-XL46CODC.js} +47 -69
- package/dist/dev/locales/kk-KZ-XL46CODC.js.map +7 -0
- package/dist/dev/locales/{km-KH-DGK3UTBI.js → km-KH-SBKIWI6O.js} +47 -69
- package/dist/dev/locales/km-KH-SBKIWI6O.js.map +7 -0
- package/dist/dev/locales/{ko-KR-W7QZK3EC.js → ko-KR-G6PO3BPA.js} +109 -131
- package/dist/dev/locales/ko-KR-G6PO3BPA.js.map +7 -0
- package/dist/dev/locales/{ku-TR-3UJE7FNE.js → ku-TR-DCRJVW6B.js} +47 -69
- package/dist/dev/locales/ku-TR-DCRJVW6B.js.map +7 -0
- package/dist/dev/locales/{lt-LT-OTNQMXF6.js → lt-LT-HMDRWN2A.js} +47 -69
- package/dist/dev/locales/lt-LT-HMDRWN2A.js.map +7 -0
- package/dist/dev/locales/{lv-LV-Y44YX4AK.js → lv-LV-E7XBXM5Z.js} +47 -69
- package/dist/dev/locales/lv-LV-E7XBXM5Z.js.map +7 -0
- package/dist/dev/locales/{mr-IN-MT2HYNUI.js → mr-IN-7HMFEVFE.js} +48 -70
- package/dist/dev/locales/mr-IN-7HMFEVFE.js.map +7 -0
- package/dist/dev/locales/{my-MM-ZBRKQSW3.js → my-MM-L4VSI7TR.js} +47 -69
- package/dist/dev/locales/my-MM-L4VSI7TR.js.map +7 -0
- package/dist/dev/locales/{nb-NO-ZY7DB7O2.js → nb-NO-GBRDJCO7.js} +47 -69
- package/dist/dev/locales/nb-NO-GBRDJCO7.js.map +7 -0
- package/dist/dev/locales/{nl-NL-YLVMYG2H.js → nl-NL-Z3EVTIXJ.js} +52 -74
- package/dist/dev/locales/nl-NL-Z3EVTIXJ.js.map +7 -0
- package/dist/dev/locales/{nn-NO-4SXLBTTQ.js → nn-NO-WCTTYN3P.js} +47 -69
- package/dist/dev/locales/nn-NO-WCTTYN3P.js.map +7 -0
- package/dist/dev/locales/{oc-FR-NMOJCLB4.js → oc-FR-6IH2LZOZ.js} +47 -69
- package/dist/dev/locales/oc-FR-6IH2LZOZ.js.map +7 -0
- package/dist/dev/locales/{pa-IN-G5T3AUSW.js → pa-IN-3KCEDMBE.js} +47 -69
- package/dist/dev/locales/pa-IN-3KCEDMBE.js.map +7 -0
- package/dist/dev/locales/{percentages-ZRLRVMSI.js → percentages-DKKGPYTW.js} +2 -2
- package/dist/dev/locales/{pl-PL-TXUESISZ.js → pl-PL-OFE4QPOR.js} +47 -69
- package/dist/dev/locales/pl-PL-OFE4QPOR.js.map +7 -0
- package/dist/dev/locales/{pt-BR-KEMR6KPT.js → pt-BR-KFYVREQI.js} +94 -116
- package/dist/dev/locales/pt-BR-KFYVREQI.js.map +7 -0
- package/dist/dev/locales/{pt-PT-ZCG2G3PR.js → pt-PT-GZLT46KI.js} +92 -114
- package/dist/dev/locales/pt-PT-GZLT46KI.js.map +7 -0
- package/dist/dev/locales/{ro-RO-MDAUF4EM.js → ro-RO-DKVFNBHO.js} +50 -72
- package/dist/dev/locales/ro-RO-DKVFNBHO.js.map +7 -0
- package/dist/dev/locales/{ru-RU-ZIRVCAVQ.js → ru-RU-6JEBKTLT.js} +50 -72
- package/dist/dev/locales/ru-RU-6JEBKTLT.js.map +7 -0
- package/dist/dev/locales/{si-LK-FPEI3WT5.js → si-LK-6AKNCJA5.js} +47 -69
- package/dist/dev/locales/si-LK-6AKNCJA5.js.map +7 -0
- package/dist/dev/locales/{sk-SK-TZJ3W5LE.js → sk-SK-2ATL6K2E.js} +50 -72
- package/dist/dev/locales/sk-SK-2ATL6K2E.js.map +7 -0
- package/dist/dev/locales/{sl-SI-KIJ3UR57.js → sl-SI-YMMKUPW6.js} +47 -69
- package/dist/dev/locales/sl-SI-YMMKUPW6.js.map +7 -0
- package/dist/dev/locales/{sv-SE-WX2A2Y2N.js → sv-SE-WBMU72M2.js} +88 -110
- package/dist/dev/locales/sv-SE-WBMU72M2.js.map +7 -0
- package/dist/dev/locales/{ta-IN-ECFHL2WQ.js → ta-IN-OVDW7DBM.js} +47 -69
- package/dist/dev/locales/ta-IN-OVDW7DBM.js.map +7 -0
- package/dist/dev/locales/{th-TH-XIGNEM6A.js → th-TH-7L42SH4O.js} +73 -95
- package/dist/dev/locales/th-TH-7L42SH4O.js.map +7 -0
- package/dist/dev/locales/{tr-TR-RCLDMBSM.js → tr-TR-MPDZYTZ2.js} +83 -105
- package/dist/dev/locales/tr-TR-MPDZYTZ2.js.map +7 -0
- package/dist/dev/locales/{uk-UA-2ADII6GR.js → uk-UA-5SVBS74S.js} +66 -88
- package/dist/dev/locales/uk-UA-5SVBS74S.js.map +7 -0
- package/dist/dev/locales/{uz-UZ-COGLAKY3.js → uz-UZ-QYTGSZB2.js} +47 -69
- package/dist/dev/locales/uz-UZ-QYTGSZB2.js.map +7 -0
- package/dist/dev/locales/{vi-VN-QBW5T274.js → vi-VN-KMVP2XW5.js} +47 -69
- package/dist/dev/locales/vi-VN-KMVP2XW5.js.map +7 -0
- package/dist/dev/locales/{zh-CN-WONZCIPT.js → zh-CN-KR2L555J.js} +51 -73
- package/dist/dev/locales/zh-CN-KR2L555J.js.map +7 -0
- package/dist/dev/locales/{zh-HK-AJ2UN7VN.js → zh-HK-VFOCIZQM.js} +47 -69
- package/dist/dev/locales/zh-HK-VFOCIZQM.js.map +7 -0
- package/dist/dev/locales/{zh-TW-O73UCU5T.js → zh-TW-OIQ4BXFH.js} +91 -113
- package/dist/dev/locales/zh-TW-OIQ4BXFH.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-5XKZK2GL.js +1 -0
- package/dist/prod/chunk-66O5T5YX.js +4 -0
- package/dist/prod/chunk-DARW3V66.js +12 -0
- package/dist/prod/{chunk-ZYOK2JIN.js → chunk-SZWH77NQ.js} +1 -1
- package/dist/prod/data/image-AAJBLI3M.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +20 -111
- package/dist/prod/locales/ar-SA-E6E2KRZ5.js +10 -0
- package/dist/prod/locales/az-AZ-RDMGQYMZ.js +1 -0
- package/dist/prod/locales/bg-BG-CHUVCTEA.js +5 -0
- package/dist/prod/locales/bn-BD-ZMOEPIQW.js +3 -0
- package/dist/prod/locales/bn-IN-OHZAWF5C.js +3 -0
- package/dist/prod/locales/ca-ES-K4A7PUP4.js +8 -0
- package/dist/prod/locales/cs-CZ-RVP6YORC.js +7 -0
- package/dist/prod/locales/da-DK-ENJX4GIQ.js +2 -0
- package/dist/prod/locales/de-CH-VYBKDWRU.js +11 -0
- package/dist/prod/locales/de-DE-6MCXRRVA.js +11 -0
- package/dist/prod/locales/el-GR-WEDZAIPA.js +7 -0
- package/dist/prod/locales/en-RNZ7CUK6.js +1 -0
- package/dist/prod/locales/es-ES-LLEALNRO.js +11 -0
- package/dist/prod/locales/eu-ES-M4Y34NOW.js +8 -0
- package/dist/prod/locales/fa-IR-XSMVGGRV.js +9 -0
- package/dist/prod/locales/fi-FI-K2D3DDUS.js +6 -0
- package/dist/prod/locales/fr-FR-EQKMVJSO.js +12 -0
- package/dist/prod/locales/gl-ES-RCPQTYJV.js +6 -0
- package/dist/prod/locales/he-IL-RHAGKYKH.js +9 -0
- package/dist/prod/locales/hi-IN-3UDCLKHN.js +3 -0
- package/dist/prod/locales/hu-HU-T3REA7IL.js +3 -0
- package/dist/prod/locales/id-ID-KW4N25IN.js +8 -0
- package/dist/prod/locales/it-IT-LJVXK4LO.js +12 -0
- package/dist/prod/locales/ja-JP-GGGK3KPX.js +12 -0
- package/dist/prod/locales/kaa-TSEHAWJR.js +1 -0
- package/dist/prod/locales/kab-KAB-IWXTEINV.js +4 -0
- package/dist/prod/locales/kk-KZ-6GNYSAU7.js +1 -0
- package/dist/prod/locales/km-KH-ILUXSOEW.js +7 -0
- package/dist/prod/locales/ko-KR-FJWHM3OT.js +5 -0
- package/dist/prod/locales/ku-TR-DRDDAECA.js +6 -0
- package/dist/prod/locales/lt-LT-IYFIPPJI.js +3 -0
- package/dist/prod/locales/lv-LV-7F754RSS.js +4 -0
- package/dist/prod/locales/mr-IN-BYRIZ3PC.js +9 -0
- package/dist/prod/locales/my-MM-RBYJSIJ6.js +1 -0
- package/dist/prod/locales/nb-NO-EKTZIYSK.js +8 -0
- package/dist/prod/locales/nl-NL-UECYYIUK.js +13 -0
- package/dist/prod/locales/nn-NO-JPXGIDBA.js +4 -0
- package/dist/prod/locales/oc-FR-4RSIVDPZ.js +4 -0
- package/dist/prod/locales/pa-IN-GPHFXISR.js +4 -0
- package/dist/prod/locales/percentages-Q7USCRWZ.js +1 -0
- package/dist/prod/locales/pl-PL-HKHPAEVK.js +12 -0
- package/dist/prod/locales/pt-BR-UBWN6CKP.js +10 -0
- package/dist/prod/locales/pt-PT-XDY4S4SD.js +12 -0
- package/dist/prod/locales/ro-RO-2B3UXAQO.js +12 -0
- package/dist/prod/locales/ru-RU-EW52HAV3.js +10 -0
- package/dist/prod/locales/si-LK-PIEHI4JX.js +1 -0
- package/dist/prod/locales/sk-SK-TZXYYIFD.js +7 -0
- package/dist/prod/locales/sl-SI-VUDQNDF3.js +6 -0
- package/dist/prod/locales/sv-SE-IJTJRA7S.js +12 -0
- package/dist/prod/locales/ta-IN-Q5PXZT3U.js +6 -0
- package/dist/prod/locales/th-TH-HK66ZQXE.js +1 -0
- package/dist/prod/locales/tr-TR-CLYYPVPL.js +4 -0
- package/dist/prod/locales/uk-UA-YR4OMRYF.js +6 -0
- package/dist/prod/locales/uz-UZ-CY4LSY5Y.js +1 -0
- package/dist/prod/locales/vi-VN-UDAEMEBG.js +7 -0
- package/dist/prod/locales/zh-CN-EGBL23FT.js +11 -0
- package/dist/prod/locales/zh-HK-ZOJEG32A.js +1 -0
- package/dist/prod/locales/zh-TW-TM5HZP7M.js +13 -0
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/common/src/colors.d.ts +14 -0
- package/dist/types/common/src/constants.d.ts +3 -0
- package/dist/types/common/src/keys.d.ts +2 -0
- package/dist/types/common/src/points.d.ts +1 -1
- package/dist/types/common/src/utils.d.ts +1 -1
- package/dist/types/element/src/Scene.d.ts +1 -1
- package/dist/types/element/src/align.d.ts +2 -2
- package/dist/types/element/src/arrowEndpointText.d.ts +49 -0
- package/dist/types/element/src/arrows/focus.d.ts +5 -2
- package/dist/types/element/src/binding.d.ts +17 -8
- package/dist/types/element/src/bounds.d.ts +5 -9
- package/dist/types/element/src/bucketFill.d.ts +110 -0
- package/dist/types/element/src/collision.d.ts +1 -1
- package/dist/types/element/src/comparisons.d.ts +4 -4
- package/dist/types/element/src/convertToShape.d.ts +23 -0
- package/dist/types/element/src/distribute.d.ts +2 -2
- package/dist/types/element/src/dragElements.d.ts +27 -0
- package/dist/types/element/src/duplicate.d.ts +3 -3
- package/dist/types/element/src/embeddable.d.ts +2 -2
- package/dist/types/element/src/flowchart.d.ts +7 -7
- package/dist/types/element/src/fractionalIndex.d.ts +2 -2
- package/dist/types/element/src/frame.d.ts +4 -4
- package/dist/types/element/src/groups.d.ts +9 -9
- package/dist/types/element/src/index.d.ts +4 -1
- package/dist/types/element/src/linearElementEditor.d.ts +17 -10
- package/dist/types/element/src/newElement.d.ts +13 -0
- package/dist/types/element/src/renderElement.d.ts +0 -3
- package/dist/types/element/src/resizeElements.d.ts +2 -2
- package/dist/types/element/src/selection.d.ts +5 -5
- package/dist/types/element/src/shape.d.ts +12 -0
- package/dist/types/element/src/sortElements.d.ts +10 -0
- package/dist/types/element/src/textElement.d.ts +12 -9
- package/dist/types/element/src/transform.d.ts +2 -2
- package/dist/types/element/src/typeChecks.d.ts +25 -25
- package/dist/types/element/src/types.d.ts +2 -1
- package/dist/types/element/src/zindex.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -6
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +24 -8
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +128 -961
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +24 -8
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +12 -4
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +38 -13
- package/dist/types/excalidraw/actions/actionDeselect.d.ts +9 -4
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +12 -4
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +25 -9
- package/dist/types/excalidraw/actions/actionExport.d.ts +26 -10
- package/dist/types/excalidraw/actions/actionFrame.d.ts +47 -205
- package/dist/types/excalidraw/actions/actionGroup.d.ts +39 -23
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +15 -6
- package/dist/types/excalidraw/actions/actionLink.d.ts +13 -5
- package/dist/types/excalidraw/actions/actionMenu.d.ts +12 -4
- package/dist/types/excalidraw/actions/actionProperties.d.ts +43 -24
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +17 -9
- package/dist/types/excalidraw/actions/actionStyles.d.ts +12 -4
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +14 -6
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +16 -9
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +13 -5
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +13 -5
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +16 -9
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +13 -5
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +14 -6
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +13 -5
- package/dist/types/excalidraw/actions/index.d.ts +1 -2
- package/dist/types/excalidraw/actions/manager.d.ts +1 -0
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +8 -4
- package/dist/types/excalidraw/appState.d.ts +10 -5
- package/dist/types/excalidraw/components/Actions.d.ts +17 -12
- package/dist/types/excalidraw/components/App.arrowText.d.ts +72 -0
- package/dist/types/excalidraw/components/App.bucketFill.d.ts +48 -0
- package/dist/types/excalidraw/components/App.cursor.d.ts +30 -0
- package/dist/types/excalidraw/components/App.d.ts +384 -60
- package/dist/types/excalidraw/components/App.drawshape.d.ts +55 -0
- package/dist/types/excalidraw/components/App.flowchart.d.ts +21 -0
- package/dist/types/excalidraw/components/App.viewport.d.ts +73 -0
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +9 -3
- package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +3 -1
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +3 -1
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +9 -2
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +4 -2
- package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +8 -1
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/topPicksDnD.d.ts +31 -0
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +1 -1
- package/dist/types/excalidraw/components/CursorHint.d.ts +46 -0
- package/dist/types/excalidraw/components/{ToolButton.d.ts → IconButton.d.ts} +16 -19
- package/dist/types/excalidraw/components/Island.d.ts +7 -0
- package/dist/types/excalidraw/components/LaserPointerButton.d.ts +2 -4
- package/dist/types/excalidraw/components/LayerUI.d.ts +5 -2
- package/dist/types/excalidraw/components/LockButton.d.ts +3 -4
- package/dist/types/excalidraw/components/MagicButton.d.ts +0 -2
- package/dist/types/excalidraw/components/MobileMenu.d.ts +4 -4
- package/dist/types/excalidraw/components/MobileToolbar.d.ts +9 -0
- package/dist/types/excalidraw/components/PenModeButton.d.ts +2 -5
- package/dist/types/excalidraw/components/Popover.d.ts +1 -3
- package/dist/types/excalidraw/components/{ButtonIcon.d.ts → RadioButton.d.ts} +2 -5
- package/dist/types/excalidraw/components/Stats/Angle.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/Dimension.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/Position.d.ts +3 -3
- package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
- package/dist/types/excalidraw/components/ToolPopover.d.ts +3 -6
- package/dist/types/excalidraw/components/Toolbar.d.ts +11 -0
- package/dist/types/excalidraw/components/Tools.d.ts +146 -0
- package/dist/types/excalidraw/components/UserList.d.ts +3 -2
- package/dist/types/excalidraw/components/ViewportStatusFrame/ViewportStatusFrame.d.ts +11 -0
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -0
- package/dist/types/excalidraw/components/footer/Footer.d.ts +3 -1
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -2
- package/dist/types/excalidraw/components/icons.d.ts +4 -1
- package/dist/types/excalidraw/components/positionElementBesideCursor.d.ts +26 -0
- package/dist/types/excalidraw/components/shapeActionPredicates.d.ts +39 -0
- package/dist/types/excalidraw/context/tunnels.d.ts +0 -1
- package/dist/types/excalidraw/data/blob.d.ts +14 -6
- package/dist/types/excalidraw/data/index.d.ts +4 -4
- package/dist/types/excalidraw/data/json.d.ts +20 -12
- package/dist/types/excalidraw/drawShapeTrail.d.ts +16 -0
- package/dist/types/excalidraw/index.d.ts +3 -3
- package/dist/types/excalidraw/lasso/utils.d.ts +2 -0
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +10 -3
- package/dist/types/excalidraw/scene/Renderer.d.ts +11 -11
- package/dist/types/excalidraw/scene/export.d.ts +3 -3
- package/dist/types/excalidraw/scene/index.d.ts +1 -1
- package/dist/types/excalidraw/scene/types.d.ts +4 -3
- package/dist/types/excalidraw/snapping.d.ts +7 -7
- package/dist/types/excalidraw/types.d.ts +423 -27
- package/dist/types/excalidraw/viewport.d.ts +283 -0
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +2 -3
- package/dist/types/laser-pointer/src/state.d.ts +1 -0
- package/dist/types/math/src/index.d.ts +1 -0
- package/dist/types/math/src/pca.d.ts +79 -0
- package/dist/types/math/src/polygon.d.ts +25 -1
- package/dist/types/utils/src/export.d.ts +3 -3
- package/package.json +4 -4
- package/dist/dev/chunk-IU2VFRFU.js.map +0 -7
- package/dist/dev/chunk-MN6E45MP.js.map +0 -7
- package/dist/dev/chunk-URPEKBQ3.js +0 -69
- package/dist/dev/chunk-URPEKBQ3.js.map +0 -7
- package/dist/dev/locales/ar-SA-NFU76NHO.js.map +0 -7
- package/dist/dev/locales/az-AZ-F7U432OF.js.map +0 -7
- package/dist/dev/locales/bg-BG-VMJGHZ3R.js.map +0 -7
- package/dist/dev/locales/bn-BD-ABWH5RGF.js.map +0 -7
- package/dist/dev/locales/bn-IN-6FBCHDUY.js.map +0 -7
- package/dist/dev/locales/ca-ES-UX7K2ENH.js.map +0 -7
- package/dist/dev/locales/cs-CZ-TBYIRH36.js.map +0 -7
- package/dist/dev/locales/da-DK-KW4TGU6O.js.map +0 -7
- package/dist/dev/locales/de-CH-QSJHIHEN.js.map +0 -7
- package/dist/dev/locales/de-DE-2WQ5IRPT.js.map +0 -7
- package/dist/dev/locales/el-GR-N7JWYMV5.js.map +0 -7
- package/dist/dev/locales/es-ES-37LJTLHM.js.map +0 -7
- package/dist/dev/locales/eu-ES-2IFCUP7K.js.map +0 -7
- package/dist/dev/locales/fa-IR-VDT7BNM4.js.map +0 -7
- package/dist/dev/locales/fi-FI-HLYF5ISJ.js.map +0 -7
- package/dist/dev/locales/fr-FR-5YNPDFPF.js.map +0 -7
- package/dist/dev/locales/gl-ES-S56CRRSA.js.map +0 -7
- package/dist/dev/locales/he-IL-7GR3BHPZ.js.map +0 -7
- package/dist/dev/locales/hi-IN-AQ7X42V5.js.map +0 -7
- package/dist/dev/locales/hu-HU-4HM3N3P3.js.map +0 -7
- package/dist/dev/locales/id-ID-P7V2I35Q.js.map +0 -7
- package/dist/dev/locales/it-IT-HUGIPGTB.js.map +0 -7
- package/dist/dev/locales/ja-JP-XFX5V5ZL.js.map +0 -7
- package/dist/dev/locales/kaa-X53Z7Q4I.js.map +0 -7
- package/dist/dev/locales/kab-KAB-GGKAECT5.js.map +0 -7
- package/dist/dev/locales/kk-KZ-Z6R3NY65.js.map +0 -7
- package/dist/dev/locales/km-KH-DGK3UTBI.js.map +0 -7
- package/dist/dev/locales/ko-KR-W7QZK3EC.js.map +0 -7
- package/dist/dev/locales/ku-TR-3UJE7FNE.js.map +0 -7
- package/dist/dev/locales/lt-LT-OTNQMXF6.js.map +0 -7
- package/dist/dev/locales/lv-LV-Y44YX4AK.js.map +0 -7
- package/dist/dev/locales/mr-IN-MT2HYNUI.js.map +0 -7
- package/dist/dev/locales/my-MM-ZBRKQSW3.js.map +0 -7
- package/dist/dev/locales/nb-NO-ZY7DB7O2.js.map +0 -7
- package/dist/dev/locales/nl-NL-YLVMYG2H.js.map +0 -7
- package/dist/dev/locales/nn-NO-4SXLBTTQ.js.map +0 -7
- package/dist/dev/locales/oc-FR-NMOJCLB4.js.map +0 -7
- package/dist/dev/locales/pa-IN-G5T3AUSW.js.map +0 -7
- package/dist/dev/locales/pl-PL-TXUESISZ.js.map +0 -7
- package/dist/dev/locales/pt-BR-KEMR6KPT.js.map +0 -7
- package/dist/dev/locales/pt-PT-ZCG2G3PR.js.map +0 -7
- package/dist/dev/locales/ro-RO-MDAUF4EM.js.map +0 -7
- package/dist/dev/locales/ru-RU-ZIRVCAVQ.js.map +0 -7
- package/dist/dev/locales/si-LK-FPEI3WT5.js.map +0 -7
- package/dist/dev/locales/sk-SK-TZJ3W5LE.js.map +0 -7
- package/dist/dev/locales/sl-SI-KIJ3UR57.js.map +0 -7
- package/dist/dev/locales/sv-SE-WX2A2Y2N.js.map +0 -7
- package/dist/dev/locales/ta-IN-ECFHL2WQ.js.map +0 -7
- package/dist/dev/locales/th-TH-XIGNEM6A.js.map +0 -7
- package/dist/dev/locales/tr-TR-RCLDMBSM.js.map +0 -7
- package/dist/dev/locales/uk-UA-2ADII6GR.js.map +0 -7
- package/dist/dev/locales/uz-UZ-COGLAKY3.js.map +0 -7
- package/dist/dev/locales/vi-VN-QBW5T274.js.map +0 -7
- package/dist/dev/locales/zh-CN-WONZCIPT.js.map +0 -7
- package/dist/dev/locales/zh-HK-AJ2UN7VN.js.map +0 -7
- package/dist/dev/locales/zh-TW-O73UCU5T.js.map +0 -7
- package/dist/prod/chunk-3PELD44J.js +0 -1
- package/dist/prod/chunk-3UXKIWVY.js +0 -12
- package/dist/prod/chunk-BNYGVLQX.js +0 -4
- package/dist/prod/data/image-OFIWDJ6Z.js +0 -1
- package/dist/prod/locales/ar-SA-3G7FTBZJ.js +0 -8
- package/dist/prod/locales/az-AZ-HMFZUPFL.js +0 -1
- package/dist/prod/locales/bg-BG-Y7OZ2DXF.js +0 -5
- package/dist/prod/locales/bn-BD-36TGMEAF.js +0 -3
- package/dist/prod/locales/bn-IN-FALW4RB5.js +0 -3
- package/dist/prod/locales/ca-ES-MJRJ6GTN.js +0 -8
- package/dist/prod/locales/cs-CZ-52YM52ZO.js +0 -7
- package/dist/prod/locales/da-DK-QEP42HP6.js +0 -2
- package/dist/prod/locales/de-CH-LGHSGO4X.js +0 -7
- package/dist/prod/locales/de-DE-GHNPPGTN.js +0 -7
- package/dist/prod/locales/el-GR-2UZLGABX.js +0 -7
- package/dist/prod/locales/en-AH5BYWXT.js +0 -1
- package/dist/prod/locales/es-ES-2NUH2FTW.js +0 -7
- package/dist/prod/locales/eu-ES-LW4CGHUU.js +0 -7
- package/dist/prod/locales/fa-IR-U32PFECK.js +0 -9
- package/dist/prod/locales/fi-FI-G7756HAK.js +0 -6
- package/dist/prod/locales/fr-FR-VIEH4DTC.js +0 -12
- package/dist/prod/locales/gl-ES-JWQDRMPC.js +0 -6
- package/dist/prod/locales/he-IL-YYBNMYP4.js +0 -8
- package/dist/prod/locales/hi-IN-4J4RW5AN.js +0 -3
- package/dist/prod/locales/hu-HU-MBXXMHSF.js +0 -3
- package/dist/prod/locales/id-ID-5U764SVL.js +0 -8
- package/dist/prod/locales/it-IT-7BNDK63V.js +0 -12
- package/dist/prod/locales/ja-JP-4SLEHWLA.js +0 -7
- package/dist/prod/locales/kaa-YHCGFUY5.js +0 -1
- package/dist/prod/locales/kab-KAB-LSGAIMUB.js +0 -4
- package/dist/prod/locales/kk-KZ-3YNSB7GZ.js +0 -1
- package/dist/prod/locales/km-KH-7GXC5R4I.js +0 -7
- package/dist/prod/locales/ko-KR-B6Q6YTFE.js +0 -5
- package/dist/prod/locales/ku-TR-FBC7A657.js +0 -6
- package/dist/prod/locales/lt-LT-NTZ3RRBU.js +0 -3
- package/dist/prod/locales/lv-LV-G24LH3KG.js +0 -4
- package/dist/prod/locales/mr-IN-FMZEIYNW.js +0 -9
- package/dist/prod/locales/my-MM-B6EJQIQF.js +0 -1
- package/dist/prod/locales/nb-NO-GEP6ZOEM.js +0 -8
- package/dist/prod/locales/nl-NL-4QUIWSVP.js +0 -13
- package/dist/prod/locales/nn-NO-P32L2VHA.js +0 -4
- package/dist/prod/locales/oc-FR-QRACY6JR.js +0 -4
- package/dist/prod/locales/pa-IN-GBDTCDVG.js +0 -4
- package/dist/prod/locales/percentages-5DKR754L.js +0 -1
- package/dist/prod/locales/pl-PL-2Y6CXCHK.js +0 -12
- package/dist/prod/locales/pt-BR-FKWT7UFL.js +0 -6
- package/dist/prod/locales/pt-PT-6EMD7SCZ.js +0 -8
- package/dist/prod/locales/ro-RO-XERO3Y25.js +0 -12
- package/dist/prod/locales/ru-RU-XKTTT4QL.js +0 -10
- package/dist/prod/locales/si-LK-MGLC5APF.js +0 -1
- package/dist/prod/locales/sk-SK-BMCDJLZC.js +0 -7
- package/dist/prod/locales/sl-SI-LAWKY4LU.js +0 -6
- package/dist/prod/locales/sv-SE-X2ORO3SG.js +0 -8
- package/dist/prod/locales/ta-IN-RZDP4ZDC.js +0 -6
- package/dist/prod/locales/th-TH-GY4Y5ENV.js +0 -1
- package/dist/prod/locales/tr-TR-CT4QTEX3.js +0 -4
- package/dist/prod/locales/uk-UA-XEPSQF3S.js +0 -6
- package/dist/prod/locales/uz-UZ-WM3HHDOU.js +0 -1
- package/dist/prod/locales/vi-VN-RFG3SAMP.js +0 -7
- package/dist/prod/locales/zh-CN-2WGTQQH5.js +0 -11
- package/dist/prod/locales/zh-HK-J64WV2A2.js +0 -1
- package/dist/prod/locales/zh-TW-4JITCNYX.js +0 -9
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +0 -180
- package/dist/types/excalidraw/components/DiagramToCodePlugin/DiagramToCodePlugin.d.ts +0 -4
- package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +0 -10
- package/dist/types/excalidraw/components/HandButton.d.ts +0 -10
- package/dist/types/excalidraw/components/MobileToolBar.d.ts +0 -12
- package/dist/types/excalidraw/components/shapes.d.ts +0 -270
- package/dist/types/excalidraw/cursor.d.ts +0 -5
- package/dist/types/excalidraw/scene/scroll.d.ts +0 -18
- package/dist/types/excalidraw/scene/zoom.d.ts +0 -12
- package/dist/types/excalidraw/scroll.d.ts +0 -46
- /package/dist/dev/{chunk-P7I4FGOG.js.map → chunk-6T5HZJCI.js.map} +0 -0
- /package/dist/dev/data/{image-ZYGVHYLC.js.map → image-NFLICJEW.js.map} +0 -0
- /package/dist/dev/locales/{en-25BPHB4T.js.map → en-RETPDZ4S.js.map} +0 -0
- /package/dist/dev/locales/{percentages-ZRLRVMSI.js.map → percentages-DKKGPYTW.js.map} +0 -0
|
@@ -46,6 +46,10 @@ export declare const actionPaste: {
|
|
|
46
46
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
47
47
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
48
48
|
} | null;
|
|
49
|
+
hoveredArrowTextAnchor: {
|
|
50
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
51
|
+
anchor: "start" | "end" | "label";
|
|
52
|
+
} | null;
|
|
49
53
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
50
54
|
frameRendering: {
|
|
51
55
|
enabled: boolean;
|
|
@@ -53,8 +57,8 @@ export declare const actionPaste: {
|
|
|
53
57
|
outline: boolean;
|
|
54
58
|
clip: boolean;
|
|
55
59
|
};
|
|
56
|
-
editingFrame:
|
|
57
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
60
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
61
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
58
62
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
59
63
|
activeTool: {
|
|
60
64
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -90,6 +94,7 @@ export declare const actionPaste: {
|
|
|
90
94
|
viewBackgroundColor: string;
|
|
91
95
|
scrollX: number;
|
|
92
96
|
scrollY: number;
|
|
97
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
93
98
|
cursorButton: "up" | "down";
|
|
94
99
|
scrolledOutside: boolean;
|
|
95
100
|
name: string | null;
|
|
@@ -161,8 +166,6 @@ export declare const actionPaste: {
|
|
|
161
166
|
y: number;
|
|
162
167
|
} | null;
|
|
163
168
|
objectsSnapModeEnabled: boolean;
|
|
164
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
165
|
-
followedBy: Set<import("../types").SocketId>;
|
|
166
169
|
isCropping: boolean;
|
|
167
170
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
168
171
|
searchMatches: Readonly<{
|
|
@@ -174,6 +177,11 @@ export declare const actionPaste: {
|
|
|
174
177
|
[groupId: string]: true;
|
|
175
178
|
};
|
|
176
179
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
180
|
+
colorTopPicks: {
|
|
181
|
+
elementStroke: readonly string[] | null;
|
|
182
|
+
elementBackground: readonly string[] | null;
|
|
183
|
+
bucketFill: readonly string[] | null;
|
|
184
|
+
};
|
|
177
185
|
};
|
|
178
186
|
} | {
|
|
179
187
|
captureUpdate: "EVENTUALLY";
|
|
@@ -264,6 +272,10 @@ export declare const actionCopyAsPng: {
|
|
|
264
272
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
265
273
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
266
274
|
} | null;
|
|
275
|
+
hoveredArrowTextAnchor: {
|
|
276
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
277
|
+
anchor: "start" | "end" | "label";
|
|
278
|
+
} | null;
|
|
267
279
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
268
280
|
frameRendering: {
|
|
269
281
|
enabled: boolean;
|
|
@@ -271,8 +283,8 @@ export declare const actionCopyAsPng: {
|
|
|
271
283
|
outline: boolean;
|
|
272
284
|
clip: boolean;
|
|
273
285
|
};
|
|
274
|
-
editingFrame:
|
|
275
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
286
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
287
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
276
288
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
277
289
|
activeTool: {
|
|
278
290
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -308,6 +320,7 @@ export declare const actionCopyAsPng: {
|
|
|
308
320
|
viewBackgroundColor: string;
|
|
309
321
|
scrollX: number;
|
|
310
322
|
scrollY: number;
|
|
323
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
311
324
|
cursorButton: "up" | "down";
|
|
312
325
|
scrolledOutside: boolean;
|
|
313
326
|
name: string | null;
|
|
@@ -379,8 +392,6 @@ export declare const actionCopyAsPng: {
|
|
|
379
392
|
y: number;
|
|
380
393
|
} | null;
|
|
381
394
|
objectsSnapModeEnabled: boolean;
|
|
382
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
383
|
-
followedBy: Set<import("../types").SocketId>;
|
|
384
395
|
isCropping: boolean;
|
|
385
396
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
386
397
|
searchMatches: Readonly<{
|
|
@@ -392,6 +403,11 @@ export declare const actionCopyAsPng: {
|
|
|
392
403
|
[groupId: string]: true;
|
|
393
404
|
};
|
|
394
405
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
406
|
+
colorTopPicks: {
|
|
407
|
+
elementStroke: readonly string[] | null;
|
|
408
|
+
elementBackground: readonly string[] | null;
|
|
409
|
+
bucketFill: readonly string[] | null;
|
|
410
|
+
};
|
|
395
411
|
};
|
|
396
412
|
captureUpdate: "EVENTUALLY";
|
|
397
413
|
}>;
|
|
@@ -47,6 +47,10 @@ export declare const actionToggleCropEditor: {
|
|
|
47
47
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
48
48
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
49
49
|
} | null;
|
|
50
|
+
hoveredArrowTextAnchor: {
|
|
51
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
52
|
+
anchor: "start" | "end" | "label";
|
|
53
|
+
} | null;
|
|
50
54
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
51
55
|
frameRendering: {
|
|
52
56
|
enabled: boolean;
|
|
@@ -54,8 +58,8 @@ export declare const actionToggleCropEditor: {
|
|
|
54
58
|
outline: boolean;
|
|
55
59
|
clip: boolean;
|
|
56
60
|
};
|
|
57
|
-
editingFrame:
|
|
58
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
61
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
62
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
59
63
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
60
64
|
activeTool: {
|
|
61
65
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -91,6 +95,7 @@ export declare const actionToggleCropEditor: {
|
|
|
91
95
|
viewBackgroundColor: string;
|
|
92
96
|
scrollX: number;
|
|
93
97
|
scrollY: number;
|
|
98
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
94
99
|
cursorButton: "up" | "down";
|
|
95
100
|
scrolledOutside: boolean;
|
|
96
101
|
name: string | null;
|
|
@@ -162,8 +167,6 @@ export declare const actionToggleCropEditor: {
|
|
|
162
167
|
y: number;
|
|
163
168
|
} | null;
|
|
164
169
|
objectsSnapModeEnabled: boolean;
|
|
165
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
166
|
-
followedBy: Set<import("../types").SocketId>;
|
|
167
170
|
searchMatches: Readonly<{
|
|
168
171
|
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
169
172
|
matches: readonly import("../types").SearchMatch[];
|
|
@@ -173,6 +176,11 @@ export declare const actionToggleCropEditor: {
|
|
|
173
176
|
[groupId: string]: true;
|
|
174
177
|
};
|
|
175
178
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
179
|
+
colorTopPicks: {
|
|
180
|
+
elementStroke: readonly string[] | null;
|
|
181
|
+
elementBackground: readonly string[] | null;
|
|
182
|
+
bucketFill: readonly string[] | null;
|
|
183
|
+
};
|
|
176
184
|
};
|
|
177
185
|
captureUpdate: "IMMEDIATELY";
|
|
178
186
|
};
|
|
@@ -48,6 +48,10 @@ export declare const actionDeleteSelected: {
|
|
|
48
48
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
49
49
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
50
50
|
} | null;
|
|
51
|
+
hoveredArrowTextAnchor: {
|
|
52
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
53
|
+
anchor: "start" | "end" | "label";
|
|
54
|
+
} | null;
|
|
51
55
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
52
56
|
frameRendering: {
|
|
53
57
|
enabled: boolean;
|
|
@@ -55,8 +59,8 @@ export declare const actionDeleteSelected: {
|
|
|
55
59
|
outline: boolean;
|
|
56
60
|
clip: boolean;
|
|
57
61
|
};
|
|
58
|
-
editingFrame:
|
|
59
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
62
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
63
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
60
64
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
61
65
|
activeTool: {
|
|
62
66
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -92,6 +96,7 @@ export declare const actionDeleteSelected: {
|
|
|
92
96
|
viewBackgroundColor: string;
|
|
93
97
|
scrollX: number;
|
|
94
98
|
scrollY: number;
|
|
99
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
95
100
|
cursorButton: "up" | "down";
|
|
96
101
|
scrolledOutside: boolean;
|
|
97
102
|
name: string | null;
|
|
@@ -162,8 +167,6 @@ export declare const actionDeleteSelected: {
|
|
|
162
167
|
y: number;
|
|
163
168
|
} | null;
|
|
164
169
|
objectsSnapModeEnabled: boolean;
|
|
165
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
166
|
-
followedBy: Set<import("../types").SocketId>;
|
|
167
170
|
isCropping: boolean;
|
|
168
171
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
169
172
|
searchMatches: Readonly<{
|
|
@@ -175,6 +178,11 @@ export declare const actionDeleteSelected: {
|
|
|
175
178
|
[groupId: string]: true;
|
|
176
179
|
};
|
|
177
180
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
181
|
+
colorTopPicks: {
|
|
182
|
+
elementStroke: readonly string[] | null;
|
|
183
|
+
elementBackground: readonly string[] | null;
|
|
184
|
+
bucketFill: readonly string[] | null;
|
|
185
|
+
};
|
|
178
186
|
};
|
|
179
187
|
captureUpdate: "IMMEDIATELY";
|
|
180
188
|
} | {
|
|
@@ -196,6 +204,7 @@ export declare const actionDeleteSelected: {
|
|
|
196
204
|
};
|
|
197
205
|
arrowStartIsInside: boolean;
|
|
198
206
|
altFocusPoint: Readonly<import("@excalidraw/math").GlobalPoint> | null;
|
|
207
|
+
arrowOtherEndpointInitialBinding: import("@excalidraw/element/types").FixedPointBinding | null;
|
|
199
208
|
}>;
|
|
200
209
|
isDragging: boolean;
|
|
201
210
|
lastUncommittedPoint: import("@excalidraw/math").LocalPoint | null;
|
|
@@ -249,6 +258,10 @@ export declare const actionDeleteSelected: {
|
|
|
249
258
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
250
259
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
251
260
|
} | null;
|
|
261
|
+
hoveredArrowTextAnchor: {
|
|
262
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
263
|
+
anchor: "start" | "end" | "label";
|
|
264
|
+
} | null;
|
|
252
265
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
253
266
|
frameRendering: {
|
|
254
267
|
enabled: boolean;
|
|
@@ -256,8 +269,8 @@ export declare const actionDeleteSelected: {
|
|
|
256
269
|
outline: boolean;
|
|
257
270
|
clip: boolean;
|
|
258
271
|
};
|
|
259
|
-
editingFrame:
|
|
260
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
272
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
273
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
261
274
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
262
275
|
activeTool: {
|
|
263
276
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -293,6 +306,7 @@ export declare const actionDeleteSelected: {
|
|
|
293
306
|
viewBackgroundColor: string;
|
|
294
307
|
scrollX: number;
|
|
295
308
|
scrollY: number;
|
|
309
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
296
310
|
cursorButton: "up" | "down";
|
|
297
311
|
scrolledOutside: boolean;
|
|
298
312
|
name: string | null;
|
|
@@ -363,8 +377,6 @@ export declare const actionDeleteSelected: {
|
|
|
363
377
|
y: number;
|
|
364
378
|
} | null;
|
|
365
379
|
objectsSnapModeEnabled: boolean;
|
|
366
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
367
|
-
followedBy: Set<import("../types").SocketId>;
|
|
368
380
|
isCropping: boolean;
|
|
369
381
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
370
382
|
searchMatches: Readonly<{
|
|
@@ -376,10 +388,15 @@ export declare const actionDeleteSelected: {
|
|
|
376
388
|
[groupId: string]: true;
|
|
377
389
|
};
|
|
378
390
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
391
|
+
colorTopPicks: {
|
|
392
|
+
elementStroke: readonly string[] | null;
|
|
393
|
+
elementBackground: readonly string[] | null;
|
|
394
|
+
bucketFill: readonly string[] | null;
|
|
395
|
+
};
|
|
379
396
|
};
|
|
380
397
|
captureUpdate: "IMMEDIATELY";
|
|
381
398
|
} | {
|
|
382
|
-
elements:
|
|
399
|
+
elements: (import("@excalidraw/element/types").ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | import("@excalidraw/element/types").ExcalidrawTextElement | import("@excalidraw/element/types").ExcalidrawFreeDrawElement)[];
|
|
383
400
|
appState: {
|
|
384
401
|
activeTool: {
|
|
385
402
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -423,6 +440,10 @@ export declare const actionDeleteSelected: {
|
|
|
423
440
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
424
441
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
425
442
|
} | null;
|
|
443
|
+
hoveredArrowTextAnchor: {
|
|
444
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
445
|
+
anchor: "start" | "end" | "label";
|
|
446
|
+
} | null;
|
|
426
447
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
427
448
|
frameRendering: {
|
|
428
449
|
enabled: boolean;
|
|
@@ -430,8 +451,8 @@ export declare const actionDeleteSelected: {
|
|
|
430
451
|
outline: boolean;
|
|
431
452
|
clip: boolean;
|
|
432
453
|
};
|
|
433
|
-
editingFrame:
|
|
434
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
454
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
455
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
435
456
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
436
457
|
preferredSelectionTool: {
|
|
437
458
|
type: "selection" | "lasso";
|
|
@@ -462,6 +483,7 @@ export declare const actionDeleteSelected: {
|
|
|
462
483
|
viewBackgroundColor: string;
|
|
463
484
|
scrollX: number;
|
|
464
485
|
scrollY: number;
|
|
486
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
465
487
|
cursorButton: "up" | "down";
|
|
466
488
|
scrolledOutside: boolean;
|
|
467
489
|
name: string | null;
|
|
@@ -525,8 +547,6 @@ export declare const actionDeleteSelected: {
|
|
|
525
547
|
y: number;
|
|
526
548
|
} | null;
|
|
527
549
|
objectsSnapModeEnabled: boolean;
|
|
528
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
529
|
-
followedBy: Set<import("../types").SocketId>;
|
|
530
550
|
isCropping: boolean;
|
|
531
551
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
532
552
|
searchMatches: Readonly<{
|
|
@@ -538,6 +558,11 @@ export declare const actionDeleteSelected: {
|
|
|
538
558
|
[groupId: string]: true;
|
|
539
559
|
};
|
|
540
560
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
561
|
+
colorTopPicks: {
|
|
562
|
+
elementStroke: readonly string[] | null;
|
|
563
|
+
elementBackground: readonly string[] | null;
|
|
564
|
+
bucketFill: readonly string[] | null;
|
|
565
|
+
};
|
|
541
566
|
};
|
|
542
567
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
543
568
|
};
|
|
@@ -15,6 +15,7 @@ export declare const actionDeselect: {
|
|
|
15
15
|
selectionElement: null;
|
|
16
16
|
showHyperlinkPopup: false;
|
|
17
17
|
suggestedBinding: null;
|
|
18
|
+
hoveredArrowTextAnchor: null;
|
|
18
19
|
frameToHighlight: null;
|
|
19
20
|
editingGroupId: AppState["editingGroupId"];
|
|
20
21
|
selectedElementIds: AppState["selectedElementIds"];
|
|
@@ -52,8 +53,8 @@ export declare const actionDeselect: {
|
|
|
52
53
|
outline: boolean;
|
|
53
54
|
clip: boolean;
|
|
54
55
|
};
|
|
55
|
-
editingFrame:
|
|
56
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
56
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
57
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
57
58
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
58
59
|
preferredSelectionTool: {
|
|
59
60
|
type: "selection" | "lasso";
|
|
@@ -84,6 +85,7 @@ export declare const actionDeselect: {
|
|
|
84
85
|
viewBackgroundColor: string;
|
|
85
86
|
scrollX: number;
|
|
86
87
|
scrollY: number;
|
|
88
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
87
89
|
cursorButton: "up" | "down";
|
|
88
90
|
scrolledOutside: boolean;
|
|
89
91
|
name: string | null;
|
|
@@ -146,8 +148,6 @@ export declare const actionDeselect: {
|
|
|
146
148
|
y: number;
|
|
147
149
|
} | null;
|
|
148
150
|
objectsSnapModeEnabled: boolean;
|
|
149
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
150
|
-
followedBy: Set<import("../types").SocketId>;
|
|
151
151
|
isCropping: boolean;
|
|
152
152
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
153
153
|
searchMatches: Readonly<{
|
|
@@ -159,6 +159,11 @@ export declare const actionDeselect: {
|
|
|
159
159
|
[groupId: string]: true;
|
|
160
160
|
};
|
|
161
161
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
162
|
+
colorTopPicks: {
|
|
163
|
+
elementStroke: readonly string[] | null;
|
|
164
|
+
elementBackground: readonly string[] | null;
|
|
165
|
+
bucketFill: readonly string[] | null;
|
|
166
|
+
};
|
|
162
167
|
};
|
|
163
168
|
captureUpdate: "IMMEDIATELY";
|
|
164
169
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
2
1
|
import type { AppClassProperties, AppState } from "../types";
|
|
3
2
|
export declare const distributeHorizontally: {
|
|
4
3
|
name: "distributeHorizontally";
|
|
@@ -8,7 +7,7 @@ export declare const distributeHorizontally: {
|
|
|
8
7
|
};
|
|
9
8
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
10
9
|
appState: Readonly<AppState>;
|
|
11
|
-
elements:
|
|
10
|
+
elements: (import("@excalidraw/element/types").ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | import("@excalidraw/element/types").ExcalidrawTextElement | import("@excalidraw/element/types").ExcalidrawFreeDrawElement)[];
|
|
12
11
|
captureUpdate: "IMMEDIATELY";
|
|
13
12
|
};
|
|
14
13
|
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
@@ -24,7 +23,7 @@ export declare const distributeVertically: {
|
|
|
24
23
|
};
|
|
25
24
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
26
25
|
appState: Readonly<AppState>;
|
|
27
|
-
elements:
|
|
26
|
+
elements: (import("@excalidraw/element/types").ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | import("@excalidraw/element/types").ExcalidrawTextElement | import("@excalidraw/element/types").ExcalidrawFreeDrawElement)[];
|
|
28
27
|
captureUpdate: "IMMEDIATELY";
|
|
29
28
|
};
|
|
30
29
|
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
@@ -76,6 +76,10 @@ export declare const actionLinkToElement: {
|
|
|
76
76
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
77
77
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
78
78
|
} | null;
|
|
79
|
+
hoveredArrowTextAnchor: {
|
|
80
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
81
|
+
anchor: "start" | "end" | "label";
|
|
82
|
+
} | null;
|
|
79
83
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
80
84
|
frameRendering: {
|
|
81
85
|
enabled: boolean;
|
|
@@ -83,8 +87,8 @@ export declare const actionLinkToElement: {
|
|
|
83
87
|
outline: boolean;
|
|
84
88
|
clip: boolean;
|
|
85
89
|
};
|
|
86
|
-
editingFrame:
|
|
87
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
90
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
91
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
88
92
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
89
93
|
activeTool: {
|
|
90
94
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -120,6 +124,7 @@ export declare const actionLinkToElement: {
|
|
|
120
124
|
viewBackgroundColor: string;
|
|
121
125
|
scrollX: number;
|
|
122
126
|
scrollY: number;
|
|
127
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
123
128
|
cursorButton: "up" | "down";
|
|
124
129
|
scrolledOutside: boolean;
|
|
125
130
|
name: string | null;
|
|
@@ -179,8 +184,6 @@ export declare const actionLinkToElement: {
|
|
|
179
184
|
y: number;
|
|
180
185
|
} | null;
|
|
181
186
|
objectsSnapModeEnabled: boolean;
|
|
182
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
183
|
-
followedBy: Set<import("../types").SocketId>;
|
|
184
187
|
isCropping: boolean;
|
|
185
188
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
186
189
|
searchMatches: Readonly<{
|
|
@@ -192,6 +195,11 @@ export declare const actionLinkToElement: {
|
|
|
192
195
|
[groupId: string]: true;
|
|
193
196
|
};
|
|
194
197
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
198
|
+
colorTopPicks: {
|
|
199
|
+
elementStroke: readonly string[] | null;
|
|
200
|
+
elementBackground: readonly string[] | null;
|
|
201
|
+
bucketFill: readonly string[] | null;
|
|
202
|
+
};
|
|
195
203
|
};
|
|
196
204
|
captureUpdate: "IMMEDIATELY";
|
|
197
205
|
elements?: undefined;
|
|
@@ -2,7 +2,7 @@ import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
|
2
2
|
import type { AppState } from "../types";
|
|
3
3
|
export declare const actionToggleElementLock: {
|
|
4
4
|
name: "toggleElementLock";
|
|
5
|
-
label: (elements: readonly ExcalidrawElement[], appState: Readonly<
|
|
5
|
+
label: (elements: readonly ExcalidrawElement[], appState: Readonly<import("../types").UIAppState>, app: import("../types").AppClassProperties) => "labels.elementLock.lock" | "labels.elementLock.unlock";
|
|
6
6
|
icon: (appState: import("../types").UIAppState, elements: readonly ExcalidrawElement[]) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
trackEvent: {
|
|
8
8
|
category: "element";
|
|
@@ -58,6 +58,10 @@ export declare const actionToggleElementLock: {
|
|
|
58
58
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
59
59
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
60
60
|
} | null;
|
|
61
|
+
hoveredArrowTextAnchor: {
|
|
62
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
63
|
+
anchor: "start" | "end" | "label";
|
|
64
|
+
} | null;
|
|
61
65
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
62
66
|
frameRendering: {
|
|
63
67
|
enabled: boolean;
|
|
@@ -65,8 +69,8 @@ export declare const actionToggleElementLock: {
|
|
|
65
69
|
outline: boolean;
|
|
66
70
|
clip: boolean;
|
|
67
71
|
};
|
|
68
|
-
editingFrame:
|
|
69
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
72
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
73
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
70
74
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
71
75
|
activeTool: {
|
|
72
76
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -102,6 +106,7 @@ export declare const actionToggleElementLock: {
|
|
|
102
106
|
viewBackgroundColor: string;
|
|
103
107
|
scrollX: number;
|
|
104
108
|
scrollY: number;
|
|
109
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
105
110
|
cursorButton: "up" | "down";
|
|
106
111
|
scrolledOutside: boolean;
|
|
107
112
|
name: string | null;
|
|
@@ -166,8 +171,6 @@ export declare const actionToggleElementLock: {
|
|
|
166
171
|
y: number;
|
|
167
172
|
} | null;
|
|
168
173
|
objectsSnapModeEnabled: boolean;
|
|
169
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
170
|
-
followedBy: Set<import("../types").SocketId>;
|
|
171
174
|
isCropping: boolean;
|
|
172
175
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
173
176
|
searchMatches: Readonly<{
|
|
@@ -175,6 +178,11 @@ export declare const actionToggleElementLock: {
|
|
|
175
178
|
matches: readonly import("../types").SearchMatch[];
|
|
176
179
|
}> | null;
|
|
177
180
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
181
|
+
colorTopPicks: {
|
|
182
|
+
elementStroke: readonly string[] | null;
|
|
183
|
+
elementBackground: readonly string[] | null;
|
|
184
|
+
bucketFill: readonly string[] | null;
|
|
185
|
+
};
|
|
178
186
|
};
|
|
179
187
|
captureUpdate: "IMMEDIATELY";
|
|
180
188
|
};
|
|
@@ -237,6 +245,10 @@ export declare const actionUnlockAllElements: {
|
|
|
237
245
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
238
246
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
239
247
|
} | null;
|
|
248
|
+
hoveredArrowTextAnchor: {
|
|
249
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
250
|
+
anchor: "start" | "end" | "label";
|
|
251
|
+
} | null;
|
|
240
252
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
241
253
|
frameRendering: {
|
|
242
254
|
enabled: boolean;
|
|
@@ -244,8 +256,8 @@ export declare const actionUnlockAllElements: {
|
|
|
244
256
|
outline: boolean;
|
|
245
257
|
clip: boolean;
|
|
246
258
|
};
|
|
247
|
-
editingFrame:
|
|
248
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
259
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
260
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
249
261
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
250
262
|
activeTool: {
|
|
251
263
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -281,6 +293,7 @@ export declare const actionUnlockAllElements: {
|
|
|
281
293
|
viewBackgroundColor: string;
|
|
282
294
|
scrollX: number;
|
|
283
295
|
scrollY: number;
|
|
296
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
284
297
|
cursorButton: "up" | "down";
|
|
285
298
|
scrolledOutside: boolean;
|
|
286
299
|
name: string | null;
|
|
@@ -346,8 +359,6 @@ export declare const actionUnlockAllElements: {
|
|
|
346
359
|
y: number;
|
|
347
360
|
} | null;
|
|
348
361
|
objectsSnapModeEnabled: boolean;
|
|
349
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
350
|
-
followedBy: Set<import("../types").SocketId>;
|
|
351
362
|
isCropping: boolean;
|
|
352
363
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
353
364
|
searchMatches: Readonly<{
|
|
@@ -355,6 +366,11 @@ export declare const actionUnlockAllElements: {
|
|
|
355
366
|
matches: readonly import("../types").SearchMatch[];
|
|
356
367
|
}> | null;
|
|
357
368
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
369
|
+
colorTopPicks: {
|
|
370
|
+
elementStroke: readonly string[] | null;
|
|
371
|
+
elementBackground: readonly string[] | null;
|
|
372
|
+
bucketFill: readonly string[] | null;
|
|
373
|
+
};
|
|
358
374
|
};
|
|
359
375
|
captureUpdate: "IMMEDIATELY";
|
|
360
376
|
};
|