@dwelle/excalidraw 0.5.0-e6263588 → 0.5.0-e9944c4
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 +16 -0
- package/dist/dev/{chunk-MYBMQLFV.js → chunk-6FPW7UII.js} +2 -2
- package/dist/dev/{chunk-MYBMQLFV.js.map → chunk-6FPW7UII.js.map} +1 -1
- package/dist/dev/{chunk-MUNVYEGW.js → chunk-A4LHQJCQ.js} +16 -3
- package/dist/dev/chunk-A4LHQJCQ.js.map +7 -0
- package/dist/dev/{chunk-GK2P2Z4N.js → chunk-MUXNIGJA.js} +5140 -3664
- package/dist/dev/chunk-MUXNIGJA.js.map +7 -0
- package/dist/dev/chunk-Q67DF2PJ.js +69 -0
- package/dist/dev/chunk-Q67DF2PJ.js.map +7 -0
- package/dist/dev/components/TTDDialog/{CodeMirrorEditor-FCA7YAIL.js → CodeMirrorEditor-XFPXQDTD.js} +2 -2
- package/dist/dev/data/{image-5N65CA7G.js → image-DBJ5VI3T.js} +3 -3
- package/dist/dev/index.css +324 -221
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +3846 -1991
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{ar-SA-YEOLME2Y.js → ar-SA-EW44IW4V.js} +14 -2
- package/dist/dev/locales/ar-SA-EW44IW4V.js.map +7 -0
- package/dist/dev/locales/{az-AZ-DQL36U4O.js → az-AZ-AI7WAYA2.js} +14 -2
- package/dist/dev/locales/az-AZ-AI7WAYA2.js.map +7 -0
- package/dist/dev/locales/{bg-BG-LG6R5FEQ.js → bg-BG-43ZNGDXF.js} +14 -2
- package/dist/dev/locales/bg-BG-43ZNGDXF.js.map +7 -0
- package/dist/dev/locales/{bn-BD-W63P7JT5.js → bn-BD-PU4CN7NP.js} +14 -2
- package/dist/dev/locales/bn-BD-PU4CN7NP.js.map +7 -0
- package/dist/dev/locales/{bn-IN-SCHACAA6.js → bn-IN-54CF43JL.js} +14 -2
- package/dist/dev/locales/bn-IN-54CF43JL.js.map +7 -0
- package/dist/dev/locales/{ca-ES-XP3CQTWV.js → ca-ES-RHJO3QDO.js} +14 -2
- package/dist/dev/locales/ca-ES-RHJO3QDO.js.map +7 -0
- package/dist/dev/locales/{cs-CZ-EXLEOJMD.js → cs-CZ-ZRSAO3BA.js} +14 -2
- package/dist/dev/locales/cs-CZ-ZRSAO3BA.js.map +7 -0
- package/dist/dev/locales/{da-DK-46ONLZRX.js → da-DK-OAB6DEJX.js} +14 -2
- package/dist/dev/locales/da-DK-OAB6DEJX.js.map +7 -0
- package/dist/dev/locales/{de-CH-A5QH3YGW.js → de-CH-QF7JLXTF.js} +14 -2
- package/dist/dev/locales/de-CH-QF7JLXTF.js.map +7 -0
- package/dist/dev/locales/{de-DE-FVCCKR5N.js → de-DE-5ZO4KOPT.js} +14 -2
- package/dist/dev/locales/de-DE-5ZO4KOPT.js.map +7 -0
- package/dist/dev/locales/{el-GR-SB4MX5JS.js → el-GR-F74ZSUEO.js} +14 -2
- package/dist/dev/locales/el-GR-F74ZSUEO.js.map +7 -0
- package/dist/dev/locales/{en-AZHTDC2Z.js → en-INQU5YPU.js} +2 -2
- package/dist/dev/locales/{es-ES-VRTYQG6S.js → es-ES-3B3IENPS.js} +14 -2
- package/dist/dev/locales/es-ES-3B3IENPS.js.map +7 -0
- package/dist/dev/locales/{eu-ES-3OHEU2YV.js → eu-ES-NH447TVU.js} +14 -2
- package/dist/dev/locales/eu-ES-NH447TVU.js.map +7 -0
- package/dist/dev/locales/{fa-IR-74WR2KXF.js → fa-IR-V44PNTTK.js} +46 -34
- package/dist/dev/locales/fa-IR-V44PNTTK.js.map +7 -0
- package/dist/dev/locales/{fi-FI-XZQC4II2.js → fi-FI-ZXSYWCC4.js} +14 -2
- package/dist/dev/locales/fi-FI-ZXSYWCC4.js.map +7 -0
- package/dist/dev/locales/{fr-FR-RABBDBKM.js → fr-FR-RJSOSEYS.js} +25 -13
- package/dist/dev/locales/fr-FR-RJSOSEYS.js.map +7 -0
- package/dist/dev/locales/{gl-ES-OU3Q6XUE.js → gl-ES-NAUVMVFY.js} +14 -2
- package/dist/dev/locales/gl-ES-NAUVMVFY.js.map +7 -0
- package/dist/dev/locales/{he-IL-6NCD5D54.js → he-IL-JBKWWR75.js} +67 -55
- package/dist/dev/locales/he-IL-JBKWWR75.js.map +7 -0
- package/dist/dev/locales/{hi-IN-M54WKOJI.js → hi-IN-SD773MVZ.js} +14 -2
- package/dist/dev/locales/hi-IN-SD773MVZ.js.map +7 -0
- package/dist/dev/locales/{hu-HU-HAW63BCI.js → hu-HU-OTA7GOAV.js} +14 -2
- package/dist/dev/locales/hu-HU-OTA7GOAV.js.map +7 -0
- package/dist/dev/locales/{id-ID-TFSPHGWX.js → id-ID-KGCGQFTT.js} +100 -88
- package/dist/dev/locales/id-ID-KGCGQFTT.js.map +7 -0
- package/dist/dev/locales/{it-IT-MH3BAO5W.js → it-IT-EWGEXMVK.js} +25 -13
- package/dist/dev/locales/it-IT-EWGEXMVK.js.map +7 -0
- package/dist/dev/locales/{ja-JP-UGJBHLX6.js → ja-JP-YMGRGBPS.js} +17 -5
- package/dist/dev/locales/ja-JP-YMGRGBPS.js.map +7 -0
- package/dist/dev/locales/{kaa-5ZUEYWIM.js → kaa-RRE7XUCW.js} +14 -2
- package/dist/dev/locales/kaa-RRE7XUCW.js.map +7 -0
- package/dist/dev/locales/{kab-KAB-RLAZQZSM.js → kab-KAB-ZCYVOJU4.js} +14 -2
- package/dist/dev/locales/kab-KAB-ZCYVOJU4.js.map +7 -0
- package/dist/dev/locales/{kk-KZ-CIP7GOIF.js → kk-KZ-TO6XEFJC.js} +14 -2
- package/dist/dev/locales/kk-KZ-TO6XEFJC.js.map +7 -0
- package/dist/dev/locales/{km-KH-YMR4247H.js → km-KH-3HTDL5HB.js} +14 -2
- package/dist/dev/locales/km-KH-3HTDL5HB.js.map +7 -0
- package/dist/dev/locales/{ko-KR-WGKQKR2R.js → ko-KR-O4L4O7L6.js} +14 -2
- package/dist/dev/locales/ko-KR-O4L4O7L6.js.map +7 -0
- package/dist/dev/locales/{ku-TR-ZSJN6TN6.js → ku-TR-AFJWDY67.js} +14 -2
- package/dist/dev/locales/ku-TR-AFJWDY67.js.map +7 -0
- package/dist/dev/locales/{lt-LT-FT6ZGIZP.js → lt-LT-7QOT2VDQ.js} +14 -2
- package/dist/dev/locales/lt-LT-7QOT2VDQ.js.map +7 -0
- package/dist/dev/locales/{lv-LV-U74YKDPR.js → lv-LV-WV6C4NYF.js} +14 -2
- package/dist/dev/locales/lv-LV-WV6C4NYF.js.map +7 -0
- package/dist/dev/locales/{mr-IN-KN72LOIA.js → mr-IN-3TLYWOEI.js} +14 -2
- package/dist/dev/locales/mr-IN-3TLYWOEI.js.map +7 -0
- package/dist/dev/locales/{my-MM-E57NLQ7W.js → my-MM-NNL2QJT3.js} +14 -2
- package/dist/dev/locales/my-MM-NNL2QJT3.js.map +7 -0
- package/dist/dev/locales/{nb-NO-FYQDWD7X.js → nb-NO-PG3XLMEV.js} +14 -2
- package/dist/dev/locales/nb-NO-PG3XLMEV.js.map +7 -0
- package/dist/dev/locales/{nl-NL-D5MZQRAC.js → nl-NL-MMOYEKKQ.js} +14 -2
- package/dist/dev/locales/nl-NL-MMOYEKKQ.js.map +7 -0
- package/dist/dev/locales/{nn-NO-5ZEUZJV4.js → nn-NO-AAC2I2YX.js} +14 -2
- package/dist/dev/locales/nn-NO-AAC2I2YX.js.map +7 -0
- package/dist/dev/locales/{oc-FR-MVW6LDAP.js → oc-FR-SR6MFB4N.js} +14 -2
- package/dist/dev/locales/oc-FR-SR6MFB4N.js.map +7 -0
- package/dist/dev/locales/{pa-IN-2NH3SVNI.js → pa-IN-ADGMQLQI.js} +14 -2
- package/dist/dev/locales/pa-IN-ADGMQLQI.js.map +7 -0
- package/dist/dev/locales/{percentages-QBBLQLIV.js → percentages-X2QIQ6XJ.js} +2 -2
- package/dist/dev/locales/{pl-PL-M6LYWLHY.js → pl-PL-FNIPTMVP.js} +14 -2
- package/dist/dev/locales/pl-PL-FNIPTMVP.js.map +7 -0
- package/dist/dev/locales/{pt-BR-27M3CCS7.js → pt-BR-67FMCDNE.js} +14 -2
- package/dist/dev/locales/pt-BR-67FMCDNE.js.map +7 -0
- package/dist/dev/locales/{pt-PT-V3C226NP.js → pt-PT-4G3GI4SF.js} +14 -2
- package/dist/dev/locales/pt-PT-4G3GI4SF.js.map +7 -0
- package/dist/dev/locales/{ro-RO-S4GNBAJI.js → ro-RO-CUZFN555.js} +25 -13
- package/dist/dev/locales/ro-RO-CUZFN555.js.map +7 -0
- package/dist/dev/locales/{ru-RU-CRRT5JUZ.js → ru-RU-4GHINTII.js} +14 -2
- package/dist/dev/locales/ru-RU-4GHINTII.js.map +7 -0
- package/dist/dev/locales/{si-LK-APMICZ7H.js → si-LK-SSNT7T4A.js} +14 -2
- package/dist/dev/locales/si-LK-SSNT7T4A.js.map +7 -0
- package/dist/dev/locales/{sk-SK-7ZFDZG6Y.js → sk-SK-J7TKZQEH.js} +14 -2
- package/dist/dev/locales/sk-SK-J7TKZQEH.js.map +7 -0
- package/dist/dev/locales/{sl-SI-BBENCX7D.js → sl-SI-SIBMLDYY.js} +130 -118
- package/dist/dev/locales/sl-SI-SIBMLDYY.js.map +7 -0
- package/dist/dev/locales/{sv-SE-35QJIOEW.js → sv-SE-6GYGFZNL.js} +25 -13
- package/dist/dev/locales/sv-SE-6GYGFZNL.js.map +7 -0
- package/dist/dev/locales/{ta-IN-4N5CFIWZ.js → ta-IN-7AW6CTGA.js} +14 -2
- package/dist/dev/locales/ta-IN-7AW6CTGA.js.map +7 -0
- package/dist/dev/locales/{th-TH-2F4V4IDB.js → th-TH-FP7ULYYM.js} +23 -11
- package/dist/dev/locales/th-TH-FP7ULYYM.js.map +7 -0
- package/dist/dev/locales/{tr-TR-NDFP3F7P.js → tr-TR-UDQGNXAG.js} +14 -2
- package/dist/dev/locales/tr-TR-UDQGNXAG.js.map +7 -0
- package/dist/dev/locales/{uk-UA-4I6VBQZ5.js → uk-UA-25HL2NCU.js} +51 -39
- package/dist/dev/locales/uk-UA-25HL2NCU.js.map +7 -0
- package/dist/dev/locales/{uz-UZ-UVKC7UNZ.js → uz-UZ-OPSBAY4H.js} +14 -2
- package/dist/dev/locales/uz-UZ-OPSBAY4H.js.map +7 -0
- package/dist/dev/locales/{vi-VN-UQCETDRL.js → vi-VN-DK367UGA.js} +14 -2
- package/dist/dev/locales/vi-VN-DK367UGA.js.map +7 -0
- package/dist/dev/locales/{zh-CN-RSRHKN75.js → zh-CN-QCVKNWUH.js} +14 -2
- package/dist/dev/locales/zh-CN-QCVKNWUH.js.map +7 -0
- package/dist/dev/locales/{zh-HK-XSFQ32U4.js → zh-HK-WFGYHWPG.js} +14 -2
- package/dist/dev/locales/zh-HK-WFGYHWPG.js.map +7 -0
- package/dist/dev/locales/{zh-TW-KFVYWRFJ.js → zh-TW-WHQS4ZSD.js} +33 -21
- package/dist/dev/locales/zh-TW-WHQS4ZSD.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-25DVBZY5.js +34 -0
- package/dist/prod/chunk-52O7NOSZ.js +12 -0
- package/dist/prod/chunk-DYU5D34O.js +1 -0
- package/dist/prod/{chunk-KVZVLATH.js → chunk-RNVAYDMN.js} +1 -1
- package/dist/prod/components/TTDDialog/{CodeMirrorEditor-IYDFKSMV.js → CodeMirrorEditor-WLFHUPRX.js} +1 -1
- package/dist/prod/data/image-USJGQDOA.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +63 -94
- package/dist/prod/locales/{ar-SA-PQUY64WN.js → ar-SA-5WIASEJP.js} +5 -5
- package/dist/prod/locales/az-AZ-V5EUQD6C.js +1 -0
- package/dist/prod/locales/bg-BG-EXASCMTR.js +5 -0
- package/dist/prod/locales/bn-BD-U4SYNFCO.js +3 -0
- package/dist/prod/locales/bn-IN-HKDJIITE.js +3 -0
- package/dist/prod/locales/ca-ES-2KGUU5XB.js +8 -0
- package/dist/prod/locales/cs-CZ-VUCGPRML.js +7 -0
- package/dist/prod/locales/da-DK-NNDP2IVP.js +2 -0
- package/dist/prod/locales/de-CH-I7RAVIZN.js +11 -0
- package/dist/prod/locales/de-DE-WBQ3DQLR.js +11 -0
- package/dist/prod/locales/el-GR-TYQHVGXW.js +7 -0
- package/dist/prod/locales/{en-VMWWLRQY.js → en-MYE3M2F3.js} +1 -1
- package/dist/prod/locales/es-ES-JEUOREKJ.js +12 -0
- package/dist/prod/locales/eu-ES-SO5DEEAN.js +8 -0
- package/dist/prod/locales/fa-IR-I4JNTJHK.js +9 -0
- package/dist/prod/locales/fi-FI-REAEF6HQ.js +6 -0
- package/dist/prod/locales/fr-FR-SUCL7J6B.js +12 -0
- package/dist/prod/locales/gl-ES-KHCSOGVH.js +6 -0
- package/dist/prod/locales/he-IL-JYXVXV2Q.js +9 -0
- package/dist/prod/locales/hi-IN-BU52H3BO.js +3 -0
- package/dist/prod/locales/hu-HU-OWADXDQ3.js +3 -0
- package/dist/prod/locales/id-ID-2WY7E4VX.js +8 -0
- package/dist/prod/locales/it-IT-INVHSAJF.js +12 -0
- package/dist/prod/locales/ja-JP-JBNTKYP4.js +12 -0
- package/dist/prod/locales/kaa-TC3VIB7V.js +1 -0
- package/dist/prod/locales/kab-KAB-UOUDSQKM.js +4 -0
- package/dist/prod/locales/kk-KZ-P5H2X7YS.js +1 -0
- package/dist/prod/locales/{km-KH-PCWDKPHP.js → km-KH-IHMV2US7.js} +4 -4
- package/dist/prod/locales/ko-KR-ZTMANIDF.js +5 -0
- package/dist/prod/locales/ku-TR-GPJTRB5G.js +6 -0
- package/dist/prod/locales/lt-LT-V3XDOK3P.js +3 -0
- package/dist/prod/locales/lv-LV-DVQ3FADO.js +4 -0
- package/dist/prod/locales/mr-IN-VZ6HH5FE.js +9 -0
- package/dist/prod/locales/my-MM-XYKWHRK6.js +1 -0
- package/dist/prod/locales/nb-NO-UNO2GGZJ.js +8 -0
- package/dist/prod/locales/nl-NL-76EFHT4P.js +13 -0
- package/dist/prod/locales/nn-NO-CFKD7ABE.js +4 -0
- package/dist/prod/locales/oc-FR-YBJTCJ3J.js +4 -0
- package/dist/prod/locales/pa-IN-SNOXSMRV.js +4 -0
- package/dist/prod/locales/percentages-LWOC67ZH.js +1 -0
- package/dist/prod/locales/pl-PL-BSY6YFZ3.js +12 -0
- package/dist/prod/locales/pt-BR-CZDV62R3.js +10 -0
- package/dist/prod/locales/pt-PT-JO57XJJW.js +12 -0
- package/dist/prod/locales/ro-RO-UZ5ICYYN.js +12 -0
- package/dist/prod/locales/ru-RU-AN7JPREC.js +10 -0
- package/dist/prod/locales/si-LK-7CBLD6QQ.js +1 -0
- package/dist/prod/locales/sk-SK-SWR6DKBI.js +7 -0
- package/dist/prod/locales/sl-SI-QY5KCFGA.js +8 -0
- package/dist/prod/locales/sv-SE-O3OFCY3J.js +12 -0
- package/dist/prod/locales/ta-IN-V6NHHU6Z.js +6 -0
- package/dist/prod/locales/th-TH-WLSZUSBX.js +1 -0
- package/dist/prod/locales/tr-TR-GUFYG22B.js +4 -0
- package/dist/prod/locales/uk-UA-K6SV5NFQ.js +6 -0
- package/dist/prod/locales/uz-UZ-TVKTZO2G.js +1 -0
- package/dist/prod/locales/vi-VN-7FKFXJNO.js +7 -0
- package/dist/prod/locales/zh-CN-AOKVLNNK.js +11 -0
- package/dist/prod/locales/zh-HK-CDKPF5DC.js +1 -0
- package/dist/prod/locales/zh-TW-ZVGYESGW.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 +13 -7
- package/dist/types/common/src/constants.d.ts +44 -0
- package/dist/types/common/src/keys.d.ts +2 -0
- package/dist/types/common/src/random.d.ts +7 -0
- package/dist/types/element/src/Scene.d.ts +1 -1
- package/dist/types/element/src/comparisons.d.ts +5 -3
- package/dist/types/element/src/delta.d.ts +23 -1
- package/dist/types/element/src/flowchart.d.ts +5 -1
- package/dist/types/element/src/frame.d.ts +2 -2
- package/dist/types/element/src/index.d.ts +1 -0
- package/dist/types/element/src/linearElementEditor.d.ts +10 -0
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/newElement.d.ts +24 -2
- package/dist/types/element/src/sizeHelpers.d.ts +6 -0
- package/dist/types/element/src/sortElements.d.ts +10 -0
- package/dist/types/element/src/stickyNote.d.ts +183 -0
- package/dist/types/element/src/textElement.d.ts +2 -1
- package/dist/types/element/src/transform.d.ts +25 -6
- package/dist/types/element/src/typeChecks.d.ts +3 -2
- package/dist/types/element/src/types.d.ts +35 -6
- package/dist/types/element/src/utils.d.ts +7 -3
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +30 -6
- package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -6
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +20 -4
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +70 -14
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +20 -4
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +31 -7
- package/dist/types/excalidraw/actions/actionDeselect.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +20 -4
- package/dist/types/excalidraw/actions/actionExport.d.ts +20 -4
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionFrame.d.ts +81 -7
- package/dist/types/excalidraw/actions/actionGroup.d.ts +21 -5
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +61 -3
- package/dist/types/excalidraw/actions/actionLink.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionMenu.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionProperties.d.ts +30 -10
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionStyles.d.ts +11 -3
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +10 -2
- package/dist/types/excalidraw/actions/colorTargets.d.ts +39 -0
- package/dist/types/excalidraw/appState.d.ts +21 -1
- package/dist/types/excalidraw/components/App.arrowText.d.ts +40 -8
- package/dist/types/excalidraw/components/App.bucketFill.d.ts +14 -0
- package/dist/types/excalidraw/components/App.cursor.d.ts +10 -3
- package/dist/types/excalidraw/components/App.d.ts +111 -14
- package/dist/types/excalidraw/components/App.toolDrag.d.ts +63 -0
- package/dist/types/excalidraw/components/App.wheel.d.ts +33 -0
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +6 -2
- package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +3 -1
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +4 -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/topPicksDnD.d.ts +31 -0
- package/dist/types/excalidraw/components/IconButton.d.ts +2 -0
- package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
- package/dist/types/excalidraw/components/TTDDialog/utils/TTDStreamFetch.d.ts +1 -0
- package/dist/types/excalidraw/components/Tools.d.ts +7 -2
- 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/NewElementCanvas.d.ts +2 -0
- package/dist/types/excalidraw/components/icons.d.ts +4 -0
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -0
- package/dist/types/excalidraw/components/shapeActionPredicates.d.ts +2 -2
- package/dist/types/excalidraw/data/blob.d.ts +20 -4
- package/dist/types/excalidraw/data/json.d.ts +10 -2
- package/dist/types/excalidraw/fonts/Fonts.d.ts +3 -2
- package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +5 -5
- package/dist/types/excalidraw/index.d.ts +3 -1
- package/dist/types/excalidraw/lasso/utils.d.ts +2 -0
- package/dist/types/excalidraw/renderer/helpers.d.ts +25 -0
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +50 -1
- package/dist/types/excalidraw/scene/index.d.ts +1 -1
- package/dist/types/excalidraw/scene/types.d.ts +1 -0
- package/dist/types/excalidraw/types.d.ts +88 -6
- package/dist/types/excalidraw/viewport.d.ts +10 -2
- package/dist/types/math/src/curve.d.ts +19 -12
- package/dist/types/math/src/segment.d.ts +6 -0
- package/dist/types/utils/src/shape.d.ts +2 -2
- package/package.json +2 -2
- package/dist/dev/chunk-GK2P2Z4N.js.map +0 -7
- package/dist/dev/chunk-HY55C7T4.js +0 -69
- package/dist/dev/chunk-HY55C7T4.js.map +0 -7
- package/dist/dev/chunk-MUNVYEGW.js.map +0 -7
- package/dist/dev/locales/ar-SA-YEOLME2Y.js.map +0 -7
- package/dist/dev/locales/az-AZ-DQL36U4O.js.map +0 -7
- package/dist/dev/locales/bg-BG-LG6R5FEQ.js.map +0 -7
- package/dist/dev/locales/bn-BD-W63P7JT5.js.map +0 -7
- package/dist/dev/locales/bn-IN-SCHACAA6.js.map +0 -7
- package/dist/dev/locales/ca-ES-XP3CQTWV.js.map +0 -7
- package/dist/dev/locales/cs-CZ-EXLEOJMD.js.map +0 -7
- package/dist/dev/locales/da-DK-46ONLZRX.js.map +0 -7
- package/dist/dev/locales/de-CH-A5QH3YGW.js.map +0 -7
- package/dist/dev/locales/de-DE-FVCCKR5N.js.map +0 -7
- package/dist/dev/locales/el-GR-SB4MX5JS.js.map +0 -7
- package/dist/dev/locales/es-ES-VRTYQG6S.js.map +0 -7
- package/dist/dev/locales/eu-ES-3OHEU2YV.js.map +0 -7
- package/dist/dev/locales/fa-IR-74WR2KXF.js.map +0 -7
- package/dist/dev/locales/fi-FI-XZQC4II2.js.map +0 -7
- package/dist/dev/locales/fr-FR-RABBDBKM.js.map +0 -7
- package/dist/dev/locales/gl-ES-OU3Q6XUE.js.map +0 -7
- package/dist/dev/locales/he-IL-6NCD5D54.js.map +0 -7
- package/dist/dev/locales/hi-IN-M54WKOJI.js.map +0 -7
- package/dist/dev/locales/hu-HU-HAW63BCI.js.map +0 -7
- package/dist/dev/locales/id-ID-TFSPHGWX.js.map +0 -7
- package/dist/dev/locales/it-IT-MH3BAO5W.js.map +0 -7
- package/dist/dev/locales/ja-JP-UGJBHLX6.js.map +0 -7
- package/dist/dev/locales/kaa-5ZUEYWIM.js.map +0 -7
- package/dist/dev/locales/kab-KAB-RLAZQZSM.js.map +0 -7
- package/dist/dev/locales/kk-KZ-CIP7GOIF.js.map +0 -7
- package/dist/dev/locales/km-KH-YMR4247H.js.map +0 -7
- package/dist/dev/locales/ko-KR-WGKQKR2R.js.map +0 -7
- package/dist/dev/locales/ku-TR-ZSJN6TN6.js.map +0 -7
- package/dist/dev/locales/lt-LT-FT6ZGIZP.js.map +0 -7
- package/dist/dev/locales/lv-LV-U74YKDPR.js.map +0 -7
- package/dist/dev/locales/mr-IN-KN72LOIA.js.map +0 -7
- package/dist/dev/locales/my-MM-E57NLQ7W.js.map +0 -7
- package/dist/dev/locales/nb-NO-FYQDWD7X.js.map +0 -7
- package/dist/dev/locales/nl-NL-D5MZQRAC.js.map +0 -7
- package/dist/dev/locales/nn-NO-5ZEUZJV4.js.map +0 -7
- package/dist/dev/locales/oc-FR-MVW6LDAP.js.map +0 -7
- package/dist/dev/locales/pa-IN-2NH3SVNI.js.map +0 -7
- package/dist/dev/locales/pl-PL-M6LYWLHY.js.map +0 -7
- package/dist/dev/locales/pt-BR-27M3CCS7.js.map +0 -7
- package/dist/dev/locales/pt-PT-V3C226NP.js.map +0 -7
- package/dist/dev/locales/ro-RO-S4GNBAJI.js.map +0 -7
- package/dist/dev/locales/ru-RU-CRRT5JUZ.js.map +0 -7
- package/dist/dev/locales/si-LK-APMICZ7H.js.map +0 -7
- package/dist/dev/locales/sk-SK-7ZFDZG6Y.js.map +0 -7
- package/dist/dev/locales/sl-SI-BBENCX7D.js.map +0 -7
- package/dist/dev/locales/sv-SE-35QJIOEW.js.map +0 -7
- package/dist/dev/locales/ta-IN-4N5CFIWZ.js.map +0 -7
- package/dist/dev/locales/th-TH-2F4V4IDB.js.map +0 -7
- package/dist/dev/locales/tr-TR-NDFP3F7P.js.map +0 -7
- package/dist/dev/locales/uk-UA-4I6VBQZ5.js.map +0 -7
- package/dist/dev/locales/uz-UZ-UVKC7UNZ.js.map +0 -7
- package/dist/dev/locales/vi-VN-UQCETDRL.js.map +0 -7
- package/dist/dev/locales/zh-CN-RSRHKN75.js.map +0 -7
- package/dist/dev/locales/zh-HK-XSFQ32U4.js.map +0 -7
- package/dist/dev/locales/zh-TW-KFVYWRFJ.js.map +0 -7
- package/dist/prod/chunk-7XWMRXBY.js +0 -1
- package/dist/prod/chunk-JTZGFME4.js +0 -34
- package/dist/prod/chunk-ZKUAT4MX.js +0 -12
- package/dist/prod/data/image-GN2OCBLE.js +0 -1
- package/dist/prod/locales/az-AZ-OXJXL76K.js +0 -1
- package/dist/prod/locales/bg-BG-W2GKIJDF.js +0 -5
- package/dist/prod/locales/bn-BD-TGL7M4PJ.js +0 -3
- package/dist/prod/locales/bn-IN-BKETKYEH.js +0 -3
- package/dist/prod/locales/ca-ES-LD5SCRVV.js +0 -8
- package/dist/prod/locales/cs-CZ-OFPU5DBV.js +0 -7
- package/dist/prod/locales/da-DK-FRDJFYWF.js +0 -2
- package/dist/prod/locales/de-CH-ZG7H3QK3.js +0 -11
- package/dist/prod/locales/de-DE-SIJYH4IH.js +0 -11
- package/dist/prod/locales/el-GR-IEE2CGI2.js +0 -7
- package/dist/prod/locales/es-ES-TVVPWKV5.js +0 -12
- package/dist/prod/locales/eu-ES-CGBMFQDT.js +0 -8
- package/dist/prod/locales/fa-IR-IE6XAPR4.js +0 -9
- package/dist/prod/locales/fi-FI-P7TKNHRM.js +0 -6
- package/dist/prod/locales/fr-FR-QI2XZNT7.js +0 -12
- package/dist/prod/locales/gl-ES-TLYCNOZZ.js +0 -6
- package/dist/prod/locales/he-IL-ZX43XLGP.js +0 -9
- package/dist/prod/locales/hi-IN-UTYRMTUF.js +0 -3
- package/dist/prod/locales/hu-HU-AJOSEBW6.js +0 -3
- package/dist/prod/locales/id-ID-ETLTVG6C.js +0 -8
- package/dist/prod/locales/it-IT-B4B6TP6L.js +0 -12
- package/dist/prod/locales/ja-JP-IYKVURR5.js +0 -12
- package/dist/prod/locales/kaa-SE2BUIKX.js +0 -1
- package/dist/prod/locales/kab-KAB-Y3GLKXLR.js +0 -4
- package/dist/prod/locales/kk-KZ-ABWUFVOH.js +0 -1
- package/dist/prod/locales/ko-KR-7JQDXKGM.js +0 -5
- package/dist/prod/locales/ku-TR-NAH2Q5B7.js +0 -6
- package/dist/prod/locales/lt-LT-VQFYRSNQ.js +0 -3
- package/dist/prod/locales/lv-LV-T62VSYUM.js +0 -4
- package/dist/prod/locales/mr-IN-V4FHLCJE.js +0 -9
- package/dist/prod/locales/my-MM-E3SQ6E54.js +0 -1
- package/dist/prod/locales/nb-NO-MLNOFN5H.js +0 -8
- package/dist/prod/locales/nl-NL-D5L3ZV4M.js +0 -13
- package/dist/prod/locales/nn-NO-NNHDGPKB.js +0 -4
- package/dist/prod/locales/oc-FR-DWCRF55G.js +0 -4
- package/dist/prod/locales/pa-IN-3JSAY44M.js +0 -4
- package/dist/prod/locales/percentages-ETZPVQEE.js +0 -1
- package/dist/prod/locales/pl-PL-ACURYKP3.js +0 -12
- package/dist/prod/locales/pt-BR-LOX7MLGD.js +0 -10
- package/dist/prod/locales/pt-PT-CZ2U2RFQ.js +0 -12
- package/dist/prod/locales/ro-RO-2HECL2X6.js +0 -12
- package/dist/prod/locales/ru-RU-HAYNXO46.js +0 -10
- package/dist/prod/locales/si-LK-W5KNS4H6.js +0 -1
- package/dist/prod/locales/sk-SK-7K2CFGDV.js +0 -7
- package/dist/prod/locales/sl-SI-OXV2QZWW.js +0 -6
- package/dist/prod/locales/sv-SE-JTOBZRGL.js +0 -12
- package/dist/prod/locales/ta-IN-KFAVKXGT.js +0 -6
- package/dist/prod/locales/th-TH-VDMSCPDL.js +0 -1
- package/dist/prod/locales/tr-TR-CEZ6GX45.js +0 -4
- package/dist/prod/locales/uk-UA-Q3H3OXQC.js +0 -6
- package/dist/prod/locales/uz-UZ-NGCSWWPX.js +0 -1
- package/dist/prod/locales/vi-VN-P3NDEVPS.js +0 -7
- package/dist/prod/locales/zh-CN-SS3O57GA.js +0 -11
- package/dist/prod/locales/zh-HK-LWJT3VCF.js +0 -1
- package/dist/prod/locales/zh-TW-VJXC72RT.js +0 -13
- package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +0 -10
- /package/dist/dev/components/TTDDialog/{CodeMirrorEditor-FCA7YAIL.js.map → CodeMirrorEditor-XFPXQDTD.js.map} +0 -0
- /package/dist/dev/data/{image-5N65CA7G.js.map → image-DBJ5VI3T.js.map} +0 -0
- /package/dist/dev/locales/{en-AZHTDC2Z.js.map → en-INQU5YPU.js.map} +0 -0
- /package/dist/dev/locales/{percentages-QBBLQLIV.js.map → percentages-X2QIQ6XJ.js.map} +0 -0
|
@@ -49,6 +49,7 @@ export declare const actionBindText: {
|
|
|
49
49
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
50
50
|
bindingPreference: "enabled" | "disabled";
|
|
51
51
|
isMidpointSnappingEnabled: boolean;
|
|
52
|
+
inputDevice: import("../types").InputDevice;
|
|
52
53
|
suggestedBinding: {
|
|
53
54
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
54
55
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -83,6 +84,8 @@ export declare const actionBindText: {
|
|
|
83
84
|
exportWithDarkMode: boolean;
|
|
84
85
|
exportScale: number;
|
|
85
86
|
currentItemStrokeColor: string;
|
|
87
|
+
currentItemStickynoteStrokeColor: string;
|
|
88
|
+
currentItemStickynoteBackgroundColor: string;
|
|
86
89
|
currentItemBackgroundColor: string;
|
|
87
90
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
88
91
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -174,8 +177,6 @@ export declare const actionBindText: {
|
|
|
174
177
|
y: number;
|
|
175
178
|
} | null;
|
|
176
179
|
objectsSnapModeEnabled: boolean;
|
|
177
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
178
|
-
followedBy: Set<import("../types").SocketId>;
|
|
179
180
|
isCropping: boolean;
|
|
180
181
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
181
182
|
searchMatches: Readonly<{
|
|
@@ -187,6 +188,13 @@ export declare const actionBindText: {
|
|
|
187
188
|
[groupId: string]: true;
|
|
188
189
|
};
|
|
189
190
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
191
|
+
colorTopPicks: {
|
|
192
|
+
elementStroke: readonly string[] | null;
|
|
193
|
+
elementBackground: readonly string[] | null;
|
|
194
|
+
bucketFill: readonly string[] | null;
|
|
195
|
+
stickyNoteStroke: readonly string[] | null;
|
|
196
|
+
stickyNoteBackground: readonly string[] | null;
|
|
197
|
+
};
|
|
190
198
|
};
|
|
191
199
|
captureUpdate: "IMMEDIATELY";
|
|
192
200
|
};
|
|
@@ -226,6 +234,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
226
234
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
227
235
|
bindingPreference: "enabled" | "disabled";
|
|
228
236
|
isMidpointSnappingEnabled: boolean;
|
|
237
|
+
inputDevice: import("../types").InputDevice;
|
|
229
238
|
suggestedBinding: {
|
|
230
239
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
231
240
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -260,6 +269,8 @@ export declare const actionWrapTextInContainer: {
|
|
|
260
269
|
exportWithDarkMode: boolean;
|
|
261
270
|
exportScale: number;
|
|
262
271
|
currentItemStrokeColor: string;
|
|
272
|
+
currentItemStickynoteStrokeColor: string;
|
|
273
|
+
currentItemStickynoteBackgroundColor: string;
|
|
263
274
|
currentItemBackgroundColor: string;
|
|
264
275
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
265
276
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -351,8 +362,6 @@ export declare const actionWrapTextInContainer: {
|
|
|
351
362
|
y: number;
|
|
352
363
|
} | null;
|
|
353
364
|
objectsSnapModeEnabled: boolean;
|
|
354
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
355
|
-
followedBy: Set<import("../types").SocketId>;
|
|
356
365
|
isCropping: boolean;
|
|
357
366
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
358
367
|
searchMatches: Readonly<{
|
|
@@ -364,6 +373,13 @@ export declare const actionWrapTextInContainer: {
|
|
|
364
373
|
[groupId: string]: true;
|
|
365
374
|
};
|
|
366
375
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
376
|
+
colorTopPicks: {
|
|
377
|
+
elementStroke: readonly string[] | null;
|
|
378
|
+
elementBackground: readonly string[] | null;
|
|
379
|
+
bucketFill: readonly string[] | null;
|
|
380
|
+
stickyNoteStroke: readonly string[] | null;
|
|
381
|
+
stickyNoteBackground: readonly string[] | null;
|
|
382
|
+
};
|
|
367
383
|
};
|
|
368
384
|
captureUpdate: "IMMEDIATELY";
|
|
369
385
|
};
|
|
@@ -26,6 +26,13 @@ export declare const actionClearCanvas: {
|
|
|
26
26
|
open: boolean;
|
|
27
27
|
panels: number;
|
|
28
28
|
};
|
|
29
|
+
colorTopPicks: {
|
|
30
|
+
elementStroke: readonly string[] | null;
|
|
31
|
+
elementBackground: readonly string[] | null;
|
|
32
|
+
bucketFill: readonly string[] | null;
|
|
33
|
+
stickyNoteStroke: readonly string[] | null;
|
|
34
|
+
stickyNoteBackground: readonly string[] | null;
|
|
35
|
+
};
|
|
29
36
|
activeTool: {
|
|
30
37
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
31
38
|
locked: boolean;
|
|
@@ -117,6 +124,7 @@ export declare const actionClearCanvas: {
|
|
|
117
124
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
118
125
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
119
126
|
bindingPreference: "enabled" | "disabled";
|
|
127
|
+
inputDevice: import("../types").InputDevice;
|
|
120
128
|
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
121
129
|
preferredSelectionTool: {
|
|
122
130
|
type: "selection" | "lasso";
|
|
@@ -124,6 +132,8 @@ export declare const actionClearCanvas: {
|
|
|
124
132
|
};
|
|
125
133
|
exportWithDarkMode: boolean;
|
|
126
134
|
currentItemStrokeColor: string;
|
|
135
|
+
currentItemStickynoteStrokeColor: string;
|
|
136
|
+
currentItemStickynoteBackgroundColor: string;
|
|
127
137
|
currentItemBackgroundColor: string;
|
|
128
138
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
129
139
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -166,8 +176,6 @@ export declare const actionClearCanvas: {
|
|
|
166
176
|
y: number;
|
|
167
177
|
} | null;
|
|
168
178
|
objectsSnapModeEnabled: boolean;
|
|
169
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
170
|
-
followedBy: Set<import("../types").SocketId>;
|
|
171
179
|
lockedMultiSelections: {
|
|
172
180
|
[groupId: string]: true;
|
|
173
181
|
};
|
|
@@ -189,7 +197,6 @@ export declare const actionZoomIn: {
|
|
|
189
197
|
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
190
198
|
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
191
199
|
appState: {
|
|
192
|
-
userToFollow: null;
|
|
193
200
|
zoom: import("../types").Zoom;
|
|
194
201
|
scrollX: number;
|
|
195
202
|
scrollY: number;
|
|
@@ -213,6 +220,7 @@ export declare const actionZoomIn: {
|
|
|
213
220
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
214
221
|
bindingPreference: "enabled" | "disabled";
|
|
215
222
|
isMidpointSnappingEnabled: boolean;
|
|
223
|
+
inputDevice: import("../types").InputDevice;
|
|
216
224
|
suggestedBinding: {
|
|
217
225
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
218
226
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -247,6 +255,8 @@ export declare const actionZoomIn: {
|
|
|
247
255
|
exportWithDarkMode: boolean;
|
|
248
256
|
exportScale: number;
|
|
249
257
|
currentItemStrokeColor: string;
|
|
258
|
+
currentItemStickynoteStrokeColor: string;
|
|
259
|
+
currentItemStickynoteBackgroundColor: string;
|
|
250
260
|
currentItemBackgroundColor: string;
|
|
251
261
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
252
262
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -338,7 +348,6 @@ export declare const actionZoomIn: {
|
|
|
338
348
|
y: number;
|
|
339
349
|
} | null;
|
|
340
350
|
objectsSnapModeEnabled: boolean;
|
|
341
|
-
followedBy: Set<import("../types").SocketId>;
|
|
342
351
|
isCropping: boolean;
|
|
343
352
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
344
353
|
searchMatches: Readonly<{
|
|
@@ -350,6 +359,13 @@ export declare const actionZoomIn: {
|
|
|
350
359
|
[groupId: string]: true;
|
|
351
360
|
};
|
|
352
361
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
362
|
+
colorTopPicks: {
|
|
363
|
+
elementStroke: readonly string[] | null;
|
|
364
|
+
elementBackground: readonly string[] | null;
|
|
365
|
+
bucketFill: readonly string[] | null;
|
|
366
|
+
stickyNoteStroke: readonly string[] | null;
|
|
367
|
+
stickyNoteBackground: readonly string[] | null;
|
|
368
|
+
};
|
|
353
369
|
};
|
|
354
370
|
captureUpdate: "EVENTUALLY";
|
|
355
371
|
};
|
|
@@ -370,7 +386,6 @@ export declare const actionZoomOut: {
|
|
|
370
386
|
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
371
387
|
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
372
388
|
appState: {
|
|
373
|
-
userToFollow: null;
|
|
374
389
|
zoom: import("../types").Zoom;
|
|
375
390
|
scrollX: number;
|
|
376
391
|
scrollY: number;
|
|
@@ -394,6 +409,7 @@ export declare const actionZoomOut: {
|
|
|
394
409
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
395
410
|
bindingPreference: "enabled" | "disabled";
|
|
396
411
|
isMidpointSnappingEnabled: boolean;
|
|
412
|
+
inputDevice: import("../types").InputDevice;
|
|
397
413
|
suggestedBinding: {
|
|
398
414
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
399
415
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -428,6 +444,8 @@ export declare const actionZoomOut: {
|
|
|
428
444
|
exportWithDarkMode: boolean;
|
|
429
445
|
exportScale: number;
|
|
430
446
|
currentItemStrokeColor: string;
|
|
447
|
+
currentItemStickynoteStrokeColor: string;
|
|
448
|
+
currentItemStickynoteBackgroundColor: string;
|
|
431
449
|
currentItemBackgroundColor: string;
|
|
432
450
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
433
451
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -519,7 +537,6 @@ export declare const actionZoomOut: {
|
|
|
519
537
|
y: number;
|
|
520
538
|
} | null;
|
|
521
539
|
objectsSnapModeEnabled: boolean;
|
|
522
|
-
followedBy: Set<import("../types").SocketId>;
|
|
523
540
|
isCropping: boolean;
|
|
524
541
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
525
542
|
searchMatches: Readonly<{
|
|
@@ -531,6 +548,13 @@ export declare const actionZoomOut: {
|
|
|
531
548
|
[groupId: string]: true;
|
|
532
549
|
};
|
|
533
550
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
551
|
+
colorTopPicks: {
|
|
552
|
+
elementStroke: readonly string[] | null;
|
|
553
|
+
elementBackground: readonly string[] | null;
|
|
554
|
+
bucketFill: readonly string[] | null;
|
|
555
|
+
stickyNoteStroke: readonly string[] | null;
|
|
556
|
+
stickyNoteBackground: readonly string[] | null;
|
|
557
|
+
};
|
|
534
558
|
};
|
|
535
559
|
captureUpdate: "EVENTUALLY";
|
|
536
560
|
};
|
|
@@ -551,7 +575,6 @@ export declare const actionResetZoom: {
|
|
|
551
575
|
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
552
576
|
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
553
577
|
appState: {
|
|
554
|
-
userToFollow: null;
|
|
555
578
|
zoom: import("../types").Zoom;
|
|
556
579
|
scrollX: number;
|
|
557
580
|
scrollY: number;
|
|
@@ -575,6 +598,7 @@ export declare const actionResetZoom: {
|
|
|
575
598
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
576
599
|
bindingPreference: "enabled" | "disabled";
|
|
577
600
|
isMidpointSnappingEnabled: boolean;
|
|
601
|
+
inputDevice: import("../types").InputDevice;
|
|
578
602
|
suggestedBinding: {
|
|
579
603
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
580
604
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -609,6 +633,8 @@ export declare const actionResetZoom: {
|
|
|
609
633
|
exportWithDarkMode: boolean;
|
|
610
634
|
exportScale: number;
|
|
611
635
|
currentItemStrokeColor: string;
|
|
636
|
+
currentItemStickynoteStrokeColor: string;
|
|
637
|
+
currentItemStickynoteBackgroundColor: string;
|
|
612
638
|
currentItemBackgroundColor: string;
|
|
613
639
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
614
640
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -700,7 +726,6 @@ export declare const actionResetZoom: {
|
|
|
700
726
|
y: number;
|
|
701
727
|
} | null;
|
|
702
728
|
objectsSnapModeEnabled: boolean;
|
|
703
|
-
followedBy: Set<import("../types").SocketId>;
|
|
704
729
|
isCropping: boolean;
|
|
705
730
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
706
731
|
searchMatches: Readonly<{
|
|
@@ -712,6 +737,13 @@ export declare const actionResetZoom: {
|
|
|
712
737
|
[groupId: string]: true;
|
|
713
738
|
};
|
|
714
739
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
740
|
+
colorTopPicks: {
|
|
741
|
+
elementStroke: readonly string[] | null;
|
|
742
|
+
elementBackground: readonly string[] | null;
|
|
743
|
+
bucketFill: readonly string[] | null;
|
|
744
|
+
stickyNoteStroke: readonly string[] | null;
|
|
745
|
+
stickyNoteBackground: readonly string[] | null;
|
|
746
|
+
};
|
|
715
747
|
};
|
|
716
748
|
captureUpdate: "EVENTUALLY";
|
|
717
749
|
};
|
|
@@ -755,6 +787,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
755
787
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
756
788
|
bindingPreference: "enabled" | "disabled";
|
|
757
789
|
isMidpointSnappingEnabled: boolean;
|
|
790
|
+
inputDevice: import("../types").InputDevice;
|
|
758
791
|
suggestedBinding: {
|
|
759
792
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
760
793
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -789,6 +822,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
789
822
|
exportWithDarkMode: boolean;
|
|
790
823
|
exportScale: number;
|
|
791
824
|
currentItemStrokeColor: string;
|
|
825
|
+
currentItemStickynoteStrokeColor: string;
|
|
826
|
+
currentItemStickynoteBackgroundColor: string;
|
|
792
827
|
currentItemBackgroundColor: string;
|
|
793
828
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
794
829
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -880,8 +915,6 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
880
915
|
y: number;
|
|
881
916
|
} | null;
|
|
882
917
|
objectsSnapModeEnabled: boolean;
|
|
883
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
884
|
-
followedBy: Set<import("../types").SocketId>;
|
|
885
918
|
isCropping: boolean;
|
|
886
919
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
887
920
|
searchMatches: Readonly<{
|
|
@@ -893,6 +926,13 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
893
926
|
[groupId: string]: true;
|
|
894
927
|
};
|
|
895
928
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
929
|
+
colorTopPicks: {
|
|
930
|
+
elementStroke: readonly string[] | null;
|
|
931
|
+
elementBackground: readonly string[] | null;
|
|
932
|
+
bucketFill: readonly string[] | null;
|
|
933
|
+
stickyNoteStroke: readonly string[] | null;
|
|
934
|
+
stickyNoteBackground: readonly string[] | null;
|
|
935
|
+
};
|
|
896
936
|
};
|
|
897
937
|
captureUpdate: "EVENTUALLY";
|
|
898
938
|
};
|
|
@@ -935,6 +975,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
935
975
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
936
976
|
bindingPreference: "enabled" | "disabled";
|
|
937
977
|
isMidpointSnappingEnabled: boolean;
|
|
978
|
+
inputDevice: import("../types").InputDevice;
|
|
938
979
|
suggestedBinding: {
|
|
939
980
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
940
981
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -969,6 +1010,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
969
1010
|
exportWithDarkMode: boolean;
|
|
970
1011
|
exportScale: number;
|
|
971
1012
|
currentItemStrokeColor: string;
|
|
1013
|
+
currentItemStickynoteStrokeColor: string;
|
|
1014
|
+
currentItemStickynoteBackgroundColor: string;
|
|
972
1015
|
currentItemBackgroundColor: string;
|
|
973
1016
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
974
1017
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -1060,8 +1103,6 @@ export declare const actionZoomToFitSelection: {
|
|
|
1060
1103
|
y: number;
|
|
1061
1104
|
} | null;
|
|
1062
1105
|
objectsSnapModeEnabled: boolean;
|
|
1063
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
1064
|
-
followedBy: Set<import("../types").SocketId>;
|
|
1065
1106
|
isCropping: boolean;
|
|
1066
1107
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
1067
1108
|
searchMatches: Readonly<{
|
|
@@ -1073,6 +1114,13 @@ export declare const actionZoomToFitSelection: {
|
|
|
1073
1114
|
[groupId: string]: true;
|
|
1074
1115
|
};
|
|
1075
1116
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
1117
|
+
colorTopPicks: {
|
|
1118
|
+
elementStroke: readonly string[] | null;
|
|
1119
|
+
elementBackground: readonly string[] | null;
|
|
1120
|
+
bucketFill: readonly string[] | null;
|
|
1121
|
+
stickyNoteStroke: readonly string[] | null;
|
|
1122
|
+
stickyNoteBackground: readonly string[] | null;
|
|
1123
|
+
};
|
|
1076
1124
|
};
|
|
1077
1125
|
captureUpdate: "EVENTUALLY";
|
|
1078
1126
|
};
|
|
@@ -1115,6 +1163,7 @@ export declare const actionZoomToFit: {
|
|
|
1115
1163
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
1116
1164
|
bindingPreference: "enabled" | "disabled";
|
|
1117
1165
|
isMidpointSnappingEnabled: boolean;
|
|
1166
|
+
inputDevice: import("../types").InputDevice;
|
|
1118
1167
|
suggestedBinding: {
|
|
1119
1168
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1120
1169
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -1149,6 +1198,8 @@ export declare const actionZoomToFit: {
|
|
|
1149
1198
|
exportWithDarkMode: boolean;
|
|
1150
1199
|
exportScale: number;
|
|
1151
1200
|
currentItemStrokeColor: string;
|
|
1201
|
+
currentItemStickynoteStrokeColor: string;
|
|
1202
|
+
currentItemStickynoteBackgroundColor: string;
|
|
1152
1203
|
currentItemBackgroundColor: string;
|
|
1153
1204
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
1154
1205
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -1240,8 +1291,6 @@ export declare const actionZoomToFit: {
|
|
|
1240
1291
|
y: number;
|
|
1241
1292
|
} | null;
|
|
1242
1293
|
objectsSnapModeEnabled: boolean;
|
|
1243
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
1244
|
-
followedBy: Set<import("../types").SocketId>;
|
|
1245
1294
|
isCropping: boolean;
|
|
1246
1295
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
1247
1296
|
searchMatches: Readonly<{
|
|
@@ -1253,6 +1302,13 @@ export declare const actionZoomToFit: {
|
|
|
1253
1302
|
[groupId: string]: true;
|
|
1254
1303
|
};
|
|
1255
1304
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
1305
|
+
colorTopPicks: {
|
|
1306
|
+
elementStroke: readonly string[] | null;
|
|
1307
|
+
elementBackground: readonly string[] | null;
|
|
1308
|
+
bucketFill: readonly string[] | null;
|
|
1309
|
+
stickyNoteStroke: readonly string[] | null;
|
|
1310
|
+
stickyNoteBackground: readonly string[] | null;
|
|
1311
|
+
};
|
|
1256
1312
|
};
|
|
1257
1313
|
captureUpdate: "EVENTUALLY";
|
|
1258
1314
|
};
|
|
@@ -30,6 +30,7 @@ export declare const actionPaste: {
|
|
|
30
30
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
31
31
|
bindingPreference: "enabled" | "disabled";
|
|
32
32
|
isMidpointSnappingEnabled: boolean;
|
|
33
|
+
inputDevice: import("../types").InputDevice;
|
|
33
34
|
suggestedBinding: {
|
|
34
35
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
35
36
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -64,6 +65,8 @@ export declare const actionPaste: {
|
|
|
64
65
|
exportWithDarkMode: boolean;
|
|
65
66
|
exportScale: number;
|
|
66
67
|
currentItemStrokeColor: string;
|
|
68
|
+
currentItemStickynoteStrokeColor: string;
|
|
69
|
+
currentItemStickynoteBackgroundColor: string;
|
|
67
70
|
currentItemBackgroundColor: string;
|
|
68
71
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
69
72
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -158,8 +161,6 @@ export declare const actionPaste: {
|
|
|
158
161
|
y: number;
|
|
159
162
|
} | null;
|
|
160
163
|
objectsSnapModeEnabled: boolean;
|
|
161
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
162
|
-
followedBy: Set<import("../types").SocketId>;
|
|
163
164
|
isCropping: boolean;
|
|
164
165
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
165
166
|
searchMatches: Readonly<{
|
|
@@ -171,6 +172,13 @@ export declare const actionPaste: {
|
|
|
171
172
|
[groupId: string]: true;
|
|
172
173
|
};
|
|
173
174
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
175
|
+
colorTopPicks: {
|
|
176
|
+
elementStroke: readonly string[] | null;
|
|
177
|
+
elementBackground: readonly string[] | null;
|
|
178
|
+
bucketFill: readonly string[] | null;
|
|
179
|
+
stickyNoteStroke: readonly string[] | null;
|
|
180
|
+
stickyNoteBackground: readonly string[] | null;
|
|
181
|
+
};
|
|
174
182
|
};
|
|
175
183
|
} | {
|
|
176
184
|
captureUpdate: "EVENTUALLY";
|
|
@@ -245,6 +253,7 @@ export declare const actionCopyAsPng: {
|
|
|
245
253
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
246
254
|
bindingPreference: "enabled" | "disabled";
|
|
247
255
|
isMidpointSnappingEnabled: boolean;
|
|
256
|
+
inputDevice: import("../types").InputDevice;
|
|
248
257
|
suggestedBinding: {
|
|
249
258
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
250
259
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -279,6 +288,8 @@ export declare const actionCopyAsPng: {
|
|
|
279
288
|
exportWithDarkMode: boolean;
|
|
280
289
|
exportScale: number;
|
|
281
290
|
currentItemStrokeColor: string;
|
|
291
|
+
currentItemStickynoteStrokeColor: string;
|
|
292
|
+
currentItemStickynoteBackgroundColor: string;
|
|
282
293
|
currentItemBackgroundColor: string;
|
|
283
294
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
284
295
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -373,8 +384,6 @@ export declare const actionCopyAsPng: {
|
|
|
373
384
|
y: number;
|
|
374
385
|
} | null;
|
|
375
386
|
objectsSnapModeEnabled: boolean;
|
|
376
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
377
|
-
followedBy: Set<import("../types").SocketId>;
|
|
378
387
|
isCropping: boolean;
|
|
379
388
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
380
389
|
searchMatches: Readonly<{
|
|
@@ -386,6 +395,13 @@ export declare const actionCopyAsPng: {
|
|
|
386
395
|
[groupId: string]: true;
|
|
387
396
|
};
|
|
388
397
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
398
|
+
colorTopPicks: {
|
|
399
|
+
elementStroke: readonly string[] | null;
|
|
400
|
+
elementBackground: readonly string[] | null;
|
|
401
|
+
bucketFill: readonly string[] | null;
|
|
402
|
+
stickyNoteStroke: readonly string[] | null;
|
|
403
|
+
stickyNoteBackground: readonly string[] | null;
|
|
404
|
+
};
|
|
389
405
|
};
|
|
390
406
|
captureUpdate: "EVENTUALLY";
|
|
391
407
|
}>;
|
|
@@ -31,6 +31,7 @@ export declare const actionToggleCropEditor: {
|
|
|
31
31
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
32
32
|
bindingPreference: "enabled" | "disabled";
|
|
33
33
|
isMidpointSnappingEnabled: boolean;
|
|
34
|
+
inputDevice: import("../types").InputDevice;
|
|
34
35
|
suggestedBinding: {
|
|
35
36
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
36
37
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -65,6 +66,8 @@ export declare const actionToggleCropEditor: {
|
|
|
65
66
|
exportWithDarkMode: boolean;
|
|
66
67
|
exportScale: number;
|
|
67
68
|
currentItemStrokeColor: string;
|
|
69
|
+
currentItemStickynoteStrokeColor: string;
|
|
70
|
+
currentItemStickynoteBackgroundColor: string;
|
|
68
71
|
currentItemBackgroundColor: string;
|
|
69
72
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
70
73
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -159,8 +162,6 @@ export declare const actionToggleCropEditor: {
|
|
|
159
162
|
y: number;
|
|
160
163
|
} | null;
|
|
161
164
|
objectsSnapModeEnabled: boolean;
|
|
162
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
163
|
-
followedBy: Set<import("../types").SocketId>;
|
|
164
165
|
searchMatches: Readonly<{
|
|
165
166
|
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
166
167
|
matches: readonly import("../types").SearchMatch[];
|
|
@@ -170,6 +171,13 @@ export declare const actionToggleCropEditor: {
|
|
|
170
171
|
[groupId: string]: true;
|
|
171
172
|
};
|
|
172
173
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
174
|
+
colorTopPicks: {
|
|
175
|
+
elementStroke: readonly string[] | null;
|
|
176
|
+
elementBackground: readonly string[] | null;
|
|
177
|
+
bucketFill: readonly string[] | null;
|
|
178
|
+
stickyNoteStroke: readonly string[] | null;
|
|
179
|
+
stickyNoteBackground: readonly string[] | null;
|
|
180
|
+
};
|
|
173
181
|
};
|
|
174
182
|
captureUpdate: "IMMEDIATELY";
|
|
175
183
|
};
|
|
@@ -32,6 +32,7 @@ export declare const actionDeleteSelected: {
|
|
|
32
32
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
33
33
|
bindingPreference: "enabled" | "disabled";
|
|
34
34
|
isMidpointSnappingEnabled: boolean;
|
|
35
|
+
inputDevice: import("../types").InputDevice;
|
|
35
36
|
suggestedBinding: {
|
|
36
37
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
37
38
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -66,6 +67,8 @@ export declare const actionDeleteSelected: {
|
|
|
66
67
|
exportWithDarkMode: boolean;
|
|
67
68
|
exportScale: number;
|
|
68
69
|
currentItemStrokeColor: string;
|
|
70
|
+
currentItemStickynoteStrokeColor: string;
|
|
71
|
+
currentItemStickynoteBackgroundColor: string;
|
|
69
72
|
currentItemBackgroundColor: string;
|
|
70
73
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
71
74
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -159,8 +162,6 @@ export declare const actionDeleteSelected: {
|
|
|
159
162
|
y: number;
|
|
160
163
|
} | null;
|
|
161
164
|
objectsSnapModeEnabled: boolean;
|
|
162
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
163
|
-
followedBy: Set<import("../types").SocketId>;
|
|
164
165
|
isCropping: boolean;
|
|
165
166
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
166
167
|
searchMatches: Readonly<{
|
|
@@ -172,6 +173,13 @@ export declare const actionDeleteSelected: {
|
|
|
172
173
|
[groupId: string]: true;
|
|
173
174
|
};
|
|
174
175
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
176
|
+
colorTopPicks: {
|
|
177
|
+
elementStroke: readonly string[] | null;
|
|
178
|
+
elementBackground: readonly string[] | null;
|
|
179
|
+
bucketFill: readonly string[] | null;
|
|
180
|
+
stickyNoteStroke: readonly string[] | null;
|
|
181
|
+
stickyNoteBackground: readonly string[] | null;
|
|
182
|
+
};
|
|
175
183
|
};
|
|
176
184
|
captureUpdate: "IMMEDIATELY";
|
|
177
185
|
} | {
|
|
@@ -231,6 +239,7 @@ export declare const actionDeleteSelected: {
|
|
|
231
239
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
232
240
|
bindingPreference: "enabled" | "disabled";
|
|
233
241
|
isMidpointSnappingEnabled: boolean;
|
|
242
|
+
inputDevice: import("../types").InputDevice;
|
|
234
243
|
suggestedBinding: {
|
|
235
244
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
236
245
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -265,6 +274,8 @@ export declare const actionDeleteSelected: {
|
|
|
265
274
|
exportWithDarkMode: boolean;
|
|
266
275
|
exportScale: number;
|
|
267
276
|
currentItemStrokeColor: string;
|
|
277
|
+
currentItemStickynoteStrokeColor: string;
|
|
278
|
+
currentItemStickynoteBackgroundColor: string;
|
|
268
279
|
currentItemBackgroundColor: string;
|
|
269
280
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
270
281
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -358,8 +369,6 @@ export declare const actionDeleteSelected: {
|
|
|
358
369
|
y: number;
|
|
359
370
|
} | null;
|
|
360
371
|
objectsSnapModeEnabled: boolean;
|
|
361
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
362
|
-
followedBy: Set<import("../types").SocketId>;
|
|
363
372
|
isCropping: boolean;
|
|
364
373
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
365
374
|
searchMatches: Readonly<{
|
|
@@ -371,10 +380,17 @@ export declare const actionDeleteSelected: {
|
|
|
371
380
|
[groupId: string]: true;
|
|
372
381
|
};
|
|
373
382
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
383
|
+
colorTopPicks: {
|
|
384
|
+
elementStroke: readonly string[] | null;
|
|
385
|
+
elementBackground: readonly string[] | null;
|
|
386
|
+
bucketFill: readonly string[] | null;
|
|
387
|
+
stickyNoteStroke: readonly string[] | null;
|
|
388
|
+
stickyNoteBackground: readonly string[] | null;
|
|
389
|
+
};
|
|
374
390
|
};
|
|
375
391
|
captureUpdate: "IMMEDIATELY";
|
|
376
392
|
} | {
|
|
377
|
-
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)[];
|
|
393
|
+
elements: (import("@excalidraw/element/types").ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawStickyNoteElement | 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)[];
|
|
378
394
|
appState: {
|
|
379
395
|
activeTool: {
|
|
380
396
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -402,6 +418,7 @@ export declare const actionDeleteSelected: {
|
|
|
402
418
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
403
419
|
bindingPreference: "enabled" | "disabled";
|
|
404
420
|
isMidpointSnappingEnabled: boolean;
|
|
421
|
+
inputDevice: import("../types").InputDevice;
|
|
405
422
|
suggestedBinding: {
|
|
406
423
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
407
424
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -431,6 +448,8 @@ export declare const actionDeleteSelected: {
|
|
|
431
448
|
exportWithDarkMode: boolean;
|
|
432
449
|
exportScale: number;
|
|
433
450
|
currentItemStrokeColor: string;
|
|
451
|
+
currentItemStickynoteStrokeColor: string;
|
|
452
|
+
currentItemStickynoteBackgroundColor: string;
|
|
434
453
|
currentItemBackgroundColor: string;
|
|
435
454
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
436
455
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -517,8 +536,6 @@ export declare const actionDeleteSelected: {
|
|
|
517
536
|
y: number;
|
|
518
537
|
} | null;
|
|
519
538
|
objectsSnapModeEnabled: boolean;
|
|
520
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
521
|
-
followedBy: Set<import("../types").SocketId>;
|
|
522
539
|
isCropping: boolean;
|
|
523
540
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
524
541
|
searchMatches: Readonly<{
|
|
@@ -530,6 +547,13 @@ export declare const actionDeleteSelected: {
|
|
|
530
547
|
[groupId: string]: true;
|
|
531
548
|
};
|
|
532
549
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
550
|
+
colorTopPicks: {
|
|
551
|
+
elementStroke: readonly string[] | null;
|
|
552
|
+
elementBackground: readonly string[] | null;
|
|
553
|
+
bucketFill: readonly string[] | null;
|
|
554
|
+
stickyNoteStroke: readonly string[] | null;
|
|
555
|
+
stickyNoteBackground: readonly string[] | null;
|
|
556
|
+
};
|
|
533
557
|
};
|
|
534
558
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
535
559
|
};
|
|
@@ -35,6 +35,7 @@ export declare const actionDeselect: {
|
|
|
35
35
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
36
36
|
bindingPreference: "enabled" | "disabled";
|
|
37
37
|
isMidpointSnappingEnabled: boolean;
|
|
38
|
+
inputDevice: import("../types").InputDevice;
|
|
38
39
|
frameRendering: {
|
|
39
40
|
enabled: boolean;
|
|
40
41
|
name: boolean;
|
|
@@ -55,6 +56,8 @@ export declare const actionDeselect: {
|
|
|
55
56
|
exportWithDarkMode: boolean;
|
|
56
57
|
exportScale: number;
|
|
57
58
|
currentItemStrokeColor: string;
|
|
59
|
+
currentItemStickynoteStrokeColor: string;
|
|
60
|
+
currentItemStickynoteBackgroundColor: string;
|
|
58
61
|
currentItemBackgroundColor: string;
|
|
59
62
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
60
63
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -140,8 +143,6 @@ export declare const actionDeselect: {
|
|
|
140
143
|
y: number;
|
|
141
144
|
} | null;
|
|
142
145
|
objectsSnapModeEnabled: boolean;
|
|
143
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
144
|
-
followedBy: Set<import("../types").SocketId>;
|
|
145
146
|
isCropping: boolean;
|
|
146
147
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
147
148
|
searchMatches: Readonly<{
|
|
@@ -153,6 +154,13 @@ export declare const actionDeselect: {
|
|
|
153
154
|
[groupId: string]: true;
|
|
154
155
|
};
|
|
155
156
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
157
|
+
colorTopPicks: {
|
|
158
|
+
elementStroke: readonly string[] | null;
|
|
159
|
+
elementBackground: readonly string[] | null;
|
|
160
|
+
bucketFill: readonly string[] | null;
|
|
161
|
+
stickyNoteStroke: readonly string[] | null;
|
|
162
|
+
stickyNoteBackground: readonly string[] | null;
|
|
163
|
+
};
|
|
156
164
|
};
|
|
157
165
|
captureUpdate: "IMMEDIATELY";
|
|
158
166
|
};
|