@excalidraw/excalidraw 0.15.2-6546-9e30320 → 0.15.2-6546-da8e97a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/excalidraw-assets/locales/{ar-SA-json-af9f33573806a2b17db5.js → ar-SA-json-0a59aece60276ed11321.js} +1 -1
- package/dist/excalidraw-assets/locales/{bg-BG-json-a3f29bd627c85a3b0c09.js → bg-BG-json-9194ad23121157147546.js} +1 -1
- package/dist/excalidraw-assets/locales/{bn-BD-json-3f24d6535bb251542bb5.js → bn-BD-json-ebf1d26fdb12c5bb181e.js} +1 -1
- package/dist/excalidraw-assets/locales/{ca-ES-json-7ba6318a6ce18b150755.js → ca-ES-json-79f84ac70a367a68e9a0.js} +1 -1
- package/dist/excalidraw-assets/locales/{cs-CZ-json-5d11ff0ce2122c3bbf9d.js → cs-CZ-json-26c3db7e8a6c4e8bcf23.js} +1 -1
- package/dist/excalidraw-assets/locales/{da-DK-json-274791ee26d07767950e.js → da-DK-json-547418996cfd8bb285be.js} +1 -1
- package/dist/excalidraw-assets/locales/{de-DE-json-725680257d7a1d7db20e.js → de-DE-json-b03af65bb5eff6d7023b.js} +1 -1
- package/dist/excalidraw-assets/locales/{el-GR-json-b1a0f73643adea39ed31.js → el-GR-json-ca506c54e42e135959b0.js} +1 -1
- package/dist/excalidraw-assets/locales/{es-ES-json-3ca4ab2ad942b5cf8d9a.js → es-ES-json-265b459985c4898b7781.js} +1 -1
- package/dist/excalidraw-assets/locales/eu-ES-json-8714a4293a6a397560c4.js +1 -0
- package/dist/excalidraw-assets/locales/{fa-IR-json-e00ed81abe02d242bdb3.js → fa-IR-json-d891247fdcbdfc77d42a.js} +1 -1
- package/dist/excalidraw-assets/locales/{fi-FI-json-7dcc36b84a5d99012192.js → fi-FI-json-1640f182578a4d4a77ba.js} +1 -1
- package/dist/excalidraw-assets/locales/{fr-FR-json-9d97947d53501a0a341e.js → fr-FR-json-08f595b2a14a7f1b5c3f.js} +1 -1
- package/dist/excalidraw-assets/locales/{gl-ES-json-2576befc81eaed5aa65e.js → gl-ES-json-190e4b913c120f078129.js} +1 -1
- package/dist/excalidraw-assets/locales/{he-IL-json-df9689750e6a9e3fc2b9.js → he-IL-json-a3aadae77e5d8f9d9477.js} +1 -1
- package/dist/excalidraw-assets/locales/{hi-IN-json-15b2d720e1b2b20158cb.js → hi-IN-json-f7636cdb60eac7c6d0e9.js} +1 -1
- package/dist/excalidraw-assets/locales/{hu-HU-json-484077f149c645102803.js → hu-HU-json-7137c9d42ad71e4291e1.js} +1 -1
- package/dist/excalidraw-assets/locales/{id-ID-json-2a2270978704bae8b567.js → id-ID-json-d1156d23b30643d02794.js} +1 -1
- package/dist/excalidraw-assets/locales/it-IT-json-304768049d19d44f8b7c.js +1 -0
- package/dist/excalidraw-assets/locales/{ja-JP-json-00427e1b4759220948e1.js → ja-JP-json-46cf12c4be04cc8b452d.js} +1 -1
- package/dist/excalidraw-assets/locales/{kaa-json-b8a1931a54affae6ce6f.js → kaa-json-52971f5d051ddd65887f.js} +1 -1
- package/dist/excalidraw-assets/locales/kab-KAB-json-3d0babc84b87ba5a6c40.js +1 -0
- package/dist/excalidraw-assets/locales/{kk-KZ-json-a8e8bbe5119dd3a53af4.js → kk-KZ-json-f7739980a0373cac0448.js} +1 -1
- package/dist/excalidraw-assets/locales/{km-KH-json-51759d5379a45b355944.js → km-KH-json-93e08aa0ef1c18f9abe6.js} +1 -1
- package/dist/excalidraw-assets/locales/{ko-KR-json-81f8d97ebb8f67b66cbb.js → ko-KR-json-d347255ddd5b17936d70.js} +1 -1
- package/dist/excalidraw-assets/locales/{ku-TR-json-24ea9bad0f5c166fcdfa.js → ku-TR-json-1ce02dc10f8f18a3e609.js} +1 -1
- package/dist/excalidraw-assets/locales/{lt-LT-json-c97807dbd05b378d19a8.js → lt-LT-json-21dccba82996be6c9978.js} +1 -1
- package/dist/excalidraw-assets/locales/{lv-LV-json-4aa8653ffc57472135d1.js → lv-LV-json-2754b00cb2959287583a.js} +1 -1
- package/dist/excalidraw-assets/locales/{mr-IN-json-c7e95d47af75ea8f507b.js → mr-IN-json-9fbf7ef2fc6a57f19633.js} +1 -1
- package/dist/excalidraw-assets/locales/{my-MM-json-ae47996f76e07c62f2e2.js → my-MM-json-09e2cd449c159b515bd5.js} +1 -1
- package/dist/excalidraw-assets/locales/{nb-NO-json-ce4166112fa056369a3d.js → nb-NO-json-fa893095b70cefc2f7e2.js} +1 -1
- package/dist/excalidraw-assets/locales/{nl-NL-json-8001e673fb3f434f00ba.js → nl-NL-json-3117b157902ca19b9cc3.js} +1 -1
- package/dist/excalidraw-assets/locales/{nn-NO-json-4fe3b63e7c0949e035a1.js → nn-NO-json-e630a5b8e3fd3e0d98d4.js} +1 -1
- package/dist/excalidraw-assets/locales/{oc-FR-json-2a7b244777a29ac4540d.js → oc-FR-json-8bfe443f96fa0cc7073b.js} +1 -1
- package/dist/excalidraw-assets/locales/pa-IN-json-5b1c3903004d63ad7bda.js +1 -0
- package/dist/excalidraw-assets/locales/{pl-PL-json-093569bfd3a5afeda0a3.js → pl-PL-json-85d9c16b934129641849.js} +1 -1
- package/dist/excalidraw-assets/locales/pt-BR-json-fc4b878ac107c23255dd.js +1 -0
- package/dist/excalidraw-assets/locales/pt-PT-json-47032f63e88e79dd73f2.js +1 -0
- package/dist/excalidraw-assets/locales/{ro-RO-json-1cd4bc568653407afe44.js → ro-RO-json-cbce5205231a582024d7.js} +1 -1
- package/dist/excalidraw-assets/locales/{ru-RU-json-6f16105f9e3a666bcca9.js → ru-RU-json-99829b1ba9d5093b157b.js} +1 -1
- package/dist/excalidraw-assets/locales/{si-LK-json-69b88abfac862b65241d.js → si-LK-json-def580f91ccb834e3c2a.js} +1 -1
- package/dist/excalidraw-assets/locales/{sk-SK-json-c53b73a632863f5f447f.js → sk-SK-json-48d5acc83691a9e45243.js} +1 -1
- package/dist/excalidraw-assets/locales/{sl-SI-json-571553f7ef1f32c44b9e.js → sl-SI-json-2d3159666a9b694373e0.js} +1 -1
- package/dist/excalidraw-assets/locales/{sv-SE-json-29f8fd0f6fe182274d55.js → sv-SE-json-81f406cec5a178dfc603.js} +1 -1
- package/dist/excalidraw-assets/locales/{ta-IN-json-3ffe4cded65c2f0ae4b6.js → ta-IN-json-aa166453a01a662a3e07.js} +1 -1
- package/dist/excalidraw-assets/locales/{th-TH-json-35e29f56952088017288.js → th-TH-json-56e28d7ee80115f5dc07.js} +1 -1
- package/dist/excalidraw-assets/locales/{tr-TR-json-18de81acaa52d2e0f6c6.js → tr-TR-json-abd9e64817a5f1bf722a.js} +1 -1
- package/dist/excalidraw-assets/locales/uk-UA-json-f41664cf41fa0a75d303.js +1 -0
- package/dist/excalidraw-assets/locales/{vi-VN-json-d4b137a881014828d846.js → vi-VN-json-79622fb3b0a457d8c17b.js} +1 -1
- package/dist/excalidraw-assets/locales/zh-CN-json-a4a9d3ae663b3dadfc4a.js +1 -0
- package/dist/excalidraw-assets/locales/{zh-HK-json-1fb52905cf97d0b1c945.js → zh-HK-json-b5ebaab9e5576589fd75.js} +1 -1
- package/dist/excalidraw-assets/locales/{zh-TW-json-f4a4d2bf76e17e58994d.js → zh-TW-json-666cdd14005847709d40.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{ar-SA-json-e8e481885098e57829de.js → ar-SA-json-70a5f1a783a785b7e93c.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{bg-BG-json-7d3264c2a5893345bf63.js → bg-BG-json-13911f22e77da62aed30.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{bn-BD-json-699c6189a7d8085d681e.js → bn-BD-json-46d393116092c755f0f3.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{ca-ES-json-d981eba7a9f53160ff51.js → ca-ES-json-3498504fc6da812b3058.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{cs-CZ-json-4d677ad1941def4e93fc.js → cs-CZ-json-dde6031123de5441f318.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{da-DK-json-1da0ee18f6134ecc310e.js → da-DK-json-1ad7d7f19aec114ebe50.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{de-DE-json-0be3ec99525c61bdcba3.js → de-DE-json-a7a0a7a8f371bc7ba5c0.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{el-GR-json-388edf089413073931eb.js → el-GR-json-f4a6ef403e57a5227a3a.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{es-ES-json-85cfca766fae1f406fd7.js → es-ES-json-b8442d54aabef318e2dc.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/eu-ES-json-43e4d2f5e87feec87329.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{fa-IR-json-e5d56b7aca5dc354f7af.js → fa-IR-json-51cdec085b5f875af21b.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{fi-FI-json-cb29a42edf8f5291f8c3.js → fi-FI-json-f97e2e7d43641c0e840a.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{fr-FR-json-b0dbe7d058f2a1a49121.js → fr-FR-json-8979cd243e0bbc81c99b.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{gl-ES-json-d8d0f4cb2490aa386e7f.js → gl-ES-json-36750301d902ad2b2806.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{he-IL-json-105198ac3a4c03bd8c4e.js → he-IL-json-2093e314b87cdcfdd126.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{hi-IN-json-3a90a39ee45b0a25acf0.js → hi-IN-json-cb93e43b65701ce90198.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{hu-HU-json-0b100a81d35a9fbacedc.js → hu-HU-json-4239cb5f99d6fda36fbe.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{id-ID-json-ce0c7798d61b01b6de8e.js → id-ID-json-40f01633ae6046a20158.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/it-IT-json-395bb09586a95a3c7a0c.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{ja-JP-json-c3b89682cb079237d4b1.js → ja-JP-json-a7e58b0f0528b0d9adee.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{kaa-json-022d123c622de36b2ffd.js → kaa-json-8c158b975f7ac7595487.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/kab-KAB-json-16bc09201bc75389e0c2.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{kk-KZ-json-2f67b4e257c72ba296ea.js → kk-KZ-json-9d3bab1e41bdd0593cba.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{km-KH-json-6044125ce86d33e4d013.js → km-KH-json-5f033ad55694d12c770d.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{ko-KR-json-7527e56cd2a14c8f4d38.js → ko-KR-json-2d7d04482b8f94ac8f65.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{ku-TR-json-37b6c9f37d164c0a8750.js → ku-TR-json-0dfab20d9c6ac0da2776.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{lt-LT-json-6c724317d3a154ee0922.js → lt-LT-json-f6b8a91c2d0af70bb40a.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{lv-LV-json-d3456c9eed9db873851c.js → lv-LV-json-200fd554e6f50cdb198f.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{mr-IN-json-68c33362d2688cf9a86a.js → mr-IN-json-3fd24dfc0b92db0ecaa3.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{my-MM-json-8bcf2c1106b41d299b22.js → my-MM-json-622c3f7b4b996f4d9675.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{nb-NO-json-1e91626c5141406d4171.js → nb-NO-json-06218da2a78c0389ca45.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{nl-NL-json-d59fb9cdb3694c05d4d3.js → nl-NL-json-558c43ecce00b4f632ed.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{nn-NO-json-2110d3022652857f0d4e.js → nn-NO-json-b1cdc9fe9e3ef6661443.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{oc-FR-json-f59199dae5b5fd1cd73e.js → oc-FR-json-aff7d8ffc8d29dcadf9f.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/pa-IN-json-1676618fa49328bc0ecc.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{pl-PL-json-89fa28aabd2914fe0396.js → pl-PL-json-52763bf24013775cc692.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/pt-BR-json-cc1554e6671be344e008.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{pt-PT-json-60936bdd0cb60fa61754.js → pt-PT-json-0b332e1305fa14c732d0.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{ro-RO-json-f55c1fc1cc7a03bf14ec.js → ro-RO-json-672a25ac3a7165011576.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{ru-RU-json-32b411f319cb3486effb.js → ru-RU-json-e88fc7d0b0022da65cd7.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{si-LK-json-b46d31c3231c1a5a9bef.js → si-LK-json-988cd28b7f15bfd7b612.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{sk-SK-json-d32509ca142ed0b8cdcd.js → sk-SK-json-0b543a434ec1a4cc2831.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{sl-SI-json-fa5755e107a0fd45fba1.js → sl-SI-json-3e7849fcb1fe7ed8e146.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{sv-SE-json-246b162a13d49e29a4da.js → sv-SE-json-e594c928d13f0183f9bc.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{ta-IN-json-ece6caa568e593236b8f.js → ta-IN-json-97670b76df151af63fbe.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{th-TH-json-a157cfe4042b491f8a6a.js → th-TH-json-750c74d47969f873875a.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{tr-TR-json-66680580284c2db06be2.js → tr-TR-json-55711d39e393bde4d8e1.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/uk-UA-json-1ad24b86d9998c472afe.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{vi-VN-json-508428e8e4c39aa390aa.js → vi-VN-json-67cf288dc185122c6fbd.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/zh-CN-json-8682588312662adaa170.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{zh-HK-json-e69824cc96d688bf90d2.js → zh-HK-json-f5a427054479f0a5781f.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{zh-TW-json-7dbf8aee365138759c72.js → zh-TW-json-b4ebc4c389ccf204d77e.js} +1 -1
- package/dist/excalidraw.development.js +567 -72
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +2 -2
- package/types/actions/actionAddToLibrary.d.ts +6 -6
- package/types/actions/actionBoundText.d.ts +4 -4
- package/types/actions/actionCanvas.d.ts +21 -21
- package/types/actions/actionClipboard.d.ts +10 -10
- package/types/actions/actionDeleteSelected.d.ts +6 -6
- package/types/actions/actionElementLock.d.ts +243 -0
- package/types/actions/actionExport.d.ts +27 -27
- package/types/actions/actionFinalize.d.ts +4 -4
- package/types/actions/actionHistory.d.ts +1 -1
- package/types/actions/actionLinearEditor.d.ts +2 -2
- package/types/actions/actionMenu.d.ts +6 -6
- package/types/actions/actionProperties.d.ts +28 -28
- package/types/actions/actionStyles.d.ts +2 -2
- package/types/actions/actionToggleGridMode.d.ts +2 -2
- package/types/actions/actionToggleStats.d.ts +2 -2
- package/types/actions/actionToggleViewMode.d.ts +2 -2
- package/types/actions/actionToggleZenMode.d.ts +2 -2
- package/types/actions/actionZindex.d.ts +2 -2
- package/types/actions/index.d.ts +1 -1
- package/types/actions/shortcuts.d.ts +1 -1
- package/types/actions/types.d.ts +7 -7
- package/types/appState.d.ts +2 -2
- package/types/charts.d.ts +2 -2
- package/types/clients.d.ts +4 -1
- package/types/colors.d.ts +59 -5
- package/types/components/App.d.ts +3 -0
- package/types/components/Avatar.d.ts +1 -1
- package/types/components/ColorPicker/ColorInput.d.ts +7 -0
- package/types/components/ColorPicker/ColorPicker.d.ts +18 -0
- package/types/components/ColorPicker/CustomColorList.d.ts +8 -0
- package/types/components/ColorPicker/HotkeyLabel.d.ts +8 -0
- package/types/components/ColorPicker/Picker.d.ts +16 -0
- package/types/components/ColorPicker/PickerColorList.d.ts +10 -0
- package/types/components/ColorPicker/PickerHeading.d.ts +5 -0
- package/types/components/ColorPicker/ShadeList.d.ts +8 -0
- package/types/components/ColorPicker/TopPicks.d.ts +9 -0
- package/types/components/ColorPicker/colorPickerUtils.d.ts +41 -0
- package/types/components/ColorPicker/keyboardNavHandlers.d.ts +16 -0
- package/types/components/ContextMenu.d.ts +3 -3
- package/types/components/FixedSideContainer.d.ts +1 -1
- package/types/components/HandButton.d.ts +1 -1
- package/types/components/HelpButton.d.ts +1 -1
- package/types/components/ImageExportDialog.d.ts +6 -10
- package/types/components/Island.d.ts +1 -1
- package/types/components/JSONExportDialog.d.ts +1 -1
- package/types/components/LayerUI.d.ts +3 -2
- package/types/components/LibraryMenuControlButtons.d.ts +4 -4
- package/types/components/LibraryMenuHeaderContent.d.ts +3 -1
- package/types/components/LockButton.d.ts +1 -1
- package/types/components/MobileMenu.d.ts +1 -1
- package/types/components/PenModeButton.d.ts +1 -1
- package/types/components/Popover.d.ts +1 -1
- package/types/components/ProjectName.d.ts +1 -1
- package/types/components/Sidebar/common.d.ts +3 -3
- package/types/components/Stack.d.ts +1 -1
- package/types/components/ToolButton.d.ts +3 -3
- package/types/components/Tooltip.d.ts +1 -1
- package/types/components/icons.d.ts +1 -1
- package/types/constants.d.ts +5 -0
- package/types/context/tunnels.d.ts +2 -2
- package/types/data/encode.d.ts +1 -1
- package/types/data/filesystem.d.ts +1 -1
- package/types/data/restore.d.ts +12 -3
- package/types/data/types.d.ts +35 -6
- package/types/element/Hyperlink.d.ts +2 -2
- package/types/element/binding.d.ts +3 -2
- package/types/element/bounds.d.ts +1 -1
- package/types/element/linearElementEditor.d.ts +2 -2
- package/types/element/mutateElement.d.ts +1 -1
- package/types/element/newElement.d.ts +2 -1
- package/types/element/textElement.d.ts +1 -2
- package/types/element/transformHandles.d.ts +6 -6
- package/types/element/types.d.ts +35 -35
- package/types/errors.d.ts +1 -1
- package/types/ga.d.ts +5 -5
- package/types/i18n.d.ts +2 -2
- package/types/keys.d.ts +1 -1
- package/types/packages/excalidraw/example/initialData.d.ts +40 -88
- package/types/packages/excalidraw/index.d.ts +1 -1
- package/types/packages/utils.d.ts +1 -1
- package/types/renderer/renderElement.d.ts +2 -2
- package/types/scene/Scene.d.ts +4 -4
- package/types/scene/types.d.ts +4 -4
- package/types/shapes.d.ts +1 -1
- package/types/types.d.ts +35 -33
- package/types/utility-types.d.ts +13 -13
- package/types/utils.d.ts +4 -4
- package/types/zindex.d.ts +2 -2
- package/dist/excalidraw-assets/locales/eu-ES-json-7d9398c86be603c5b8bd.js +0 -1
- package/dist/excalidraw-assets/locales/it-IT-json-45824e053eb867323aaa.js +0 -1
- package/dist/excalidraw-assets/locales/kab-KAB-json-d3b57bc235e6986200cb.js +0 -1
- package/dist/excalidraw-assets/locales/pa-IN-json-7a43cceaf71ab41aa772.js +0 -1
- package/dist/excalidraw-assets/locales/pt-BR-json-b2e52cb153719f9fcc21.js +0 -1
- package/dist/excalidraw-assets/locales/pt-PT-json-37f6807c2e30c2c04e0a.js +0 -1
- package/dist/excalidraw-assets/locales/uk-UA-json-ddb1a218e27b6516f707.js +0 -1
- package/dist/excalidraw-assets/locales/zh-CN-json-006110a878ce56805814.js +0 -1
- package/dist/excalidraw-assets-dev/locales/eu-ES-json-ac9c079dfafc1c496aa6.js +0 -22
- package/dist/excalidraw-assets-dev/locales/it-IT-json-0bb94a9b829e3d7eae49.js +0 -22
- package/dist/excalidraw-assets-dev/locales/kab-KAB-json-1f7aa99a00c2764bbd6a.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pa-IN-json-eee62a309aa298c6a042.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pt-BR-json-3cbcf214f049d5e746fd.js +0 -22
- package/dist/excalidraw-assets-dev/locales/uk-UA-json-a212f26f95b2989f0430.js +0 -22
- package/dist/excalidraw-assets-dev/locales/zh-CN-json-63cf3f7b69e2e58cf7af.js +0 -22
- package/types/actions/actionToggleLock.d.ts +0 -122
- package/types/components/ColorPicker.d.ts +0 -14
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ar-SA-json-af9f33573806a2b17db5.d.ts → ar-SA-json-0a59aece60276ed11321.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{bg-BG-json-a3f29bd627c85a3b0c09.d.ts → bg-BG-json-9194ad23121157147546.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{bn-BD-json-3f24d6535bb251542bb5.d.ts → bn-BD-json-ebf1d26fdb12c5bb181e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ca-ES-json-7ba6318a6ce18b150755.d.ts → ca-ES-json-79f84ac70a367a68e9a0.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{cs-CZ-json-5d11ff0ce2122c3bbf9d.d.ts → cs-CZ-json-26c3db7e8a6c4e8bcf23.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{da-DK-json-274791ee26d07767950e.d.ts → da-DK-json-547418996cfd8bb285be.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{de-DE-json-725680257d7a1d7db20e.d.ts → de-DE-json-b03af65bb5eff6d7023b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{el-GR-json-b1a0f73643adea39ed31.d.ts → el-GR-json-ca506c54e42e135959b0.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{es-ES-json-3ca4ab2ad942b5cf8d9a.d.ts → es-ES-json-265b459985c4898b7781.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{eu-ES-json-7d9398c86be603c5b8bd.d.ts → eu-ES-json-8714a4293a6a397560c4.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fa-IR-json-e00ed81abe02d242bdb3.d.ts → fa-IR-json-d891247fdcbdfc77d42a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fi-FI-json-7dcc36b84a5d99012192.d.ts → fi-FI-json-1640f182578a4d4a77ba.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fr-FR-json-9d97947d53501a0a341e.d.ts → fr-FR-json-08f595b2a14a7f1b5c3f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{gl-ES-json-2576befc81eaed5aa65e.d.ts → gl-ES-json-190e4b913c120f078129.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{he-IL-json-df9689750e6a9e3fc2b9.d.ts → he-IL-json-a3aadae77e5d8f9d9477.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hi-IN-json-15b2d720e1b2b20158cb.d.ts → hi-IN-json-f7636cdb60eac7c6d0e9.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hu-HU-json-484077f149c645102803.d.ts → hu-HU-json-7137c9d42ad71e4291e1.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{id-ID-json-2a2270978704bae8b567.d.ts → id-ID-json-d1156d23b30643d02794.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{it-IT-json-45824e053eb867323aaa.d.ts → it-IT-json-304768049d19d44f8b7c.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ja-JP-json-00427e1b4759220948e1.d.ts → ja-JP-json-46cf12c4be04cc8b452d.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kaa-json-b8a1931a54affae6ce6f.d.ts → kaa-json-52971f5d051ddd65887f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kab-KAB-json-d3b57bc235e6986200cb.d.ts → kab-KAB-json-3d0babc84b87ba5a6c40.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kk-KZ-json-a8e8bbe5119dd3a53af4.d.ts → kk-KZ-json-f7739980a0373cac0448.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{km-KH-json-51759d5379a45b355944.d.ts → km-KH-json-93e08aa0ef1c18f9abe6.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ko-KR-json-81f8d97ebb8f67b66cbb.d.ts → ko-KR-json-d347255ddd5b17936d70.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ku-TR-json-24ea9bad0f5c166fcdfa.d.ts → ku-TR-json-1ce02dc10f8f18a3e609.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{lt-LT-json-c97807dbd05b378d19a8.d.ts → lt-LT-json-21dccba82996be6c9978.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{lv-LV-json-4aa8653ffc57472135d1.d.ts → lv-LV-json-2754b00cb2959287583a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{mr-IN-json-c7e95d47af75ea8f507b.d.ts → mr-IN-json-9fbf7ef2fc6a57f19633.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{my-MM-json-ae47996f76e07c62f2e2.d.ts → my-MM-json-09e2cd449c159b515bd5.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nb-NO-json-ce4166112fa056369a3d.d.ts → nb-NO-json-fa893095b70cefc2f7e2.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nl-NL-json-8001e673fb3f434f00ba.d.ts → nl-NL-json-3117b157902ca19b9cc3.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nn-NO-json-4fe3b63e7c0949e035a1.d.ts → nn-NO-json-e630a5b8e3fd3e0d98d4.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{oc-FR-json-2a7b244777a29ac4540d.d.ts → oc-FR-json-8bfe443f96fa0cc7073b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pa-IN-json-7a43cceaf71ab41aa772.d.ts → pa-IN-json-5b1c3903004d63ad7bda.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pl-PL-json-093569bfd3a5afeda0a3.d.ts → pl-PL-json-85d9c16b934129641849.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pt-BR-json-b2e52cb153719f9fcc21.d.ts → pt-BR-json-fc4b878ac107c23255dd.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pt-PT-json-37f6807c2e30c2c04e0a.d.ts → pt-PT-json-47032f63e88e79dd73f2.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ro-RO-json-1cd4bc568653407afe44.d.ts → ro-RO-json-cbce5205231a582024d7.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ru-RU-json-6f16105f9e3a666bcca9.d.ts → ru-RU-json-99829b1ba9d5093b157b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{si-LK-json-69b88abfac862b65241d.d.ts → si-LK-json-def580f91ccb834e3c2a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sk-SK-json-c53b73a632863f5f447f.d.ts → sk-SK-json-48d5acc83691a9e45243.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sl-SI-json-571553f7ef1f32c44b9e.d.ts → sl-SI-json-2d3159666a9b694373e0.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sv-SE-json-29f8fd0f6fe182274d55.d.ts → sv-SE-json-81f406cec5a178dfc603.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ta-IN-json-3ffe4cded65c2f0ae4b6.d.ts → ta-IN-json-aa166453a01a662a3e07.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{th-TH-json-35e29f56952088017288.d.ts → th-TH-json-56e28d7ee80115f5dc07.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{tr-TR-json-18de81acaa52d2e0f6c6.d.ts → tr-TR-json-abd9e64817a5f1bf722a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{uk-UA-json-ddb1a218e27b6516f707.d.ts → uk-UA-json-f41664cf41fa0a75d303.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{vi-VN-json-d4b137a881014828d846.d.ts → vi-VN-json-79622fb3b0a457d8c17b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-CN-json-006110a878ce56805814.d.ts → zh-CN-json-a4a9d3ae663b3dadfc4a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-HK-json-1fb52905cf97d0b1c945.d.ts → zh-HK-json-b5ebaab9e5576589fd75.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-TW-json-f4a4d2bf76e17e58994d.d.ts → zh-TW-json-666cdd14005847709d40.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ar-SA-json-e8e481885098e57829de.d.ts → ar-SA-json-70a5f1a783a785b7e93c.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bg-BG-json-7d3264c2a5893345bf63.d.ts → bg-BG-json-13911f22e77da62aed30.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bn-BD-json-699c6189a7d8085d681e.d.ts → bn-BD-json-46d393116092c755f0f3.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ca-ES-json-d981eba7a9f53160ff51.d.ts → ca-ES-json-3498504fc6da812b3058.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{cs-CZ-json-4d677ad1941def4e93fc.d.ts → cs-CZ-json-dde6031123de5441f318.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{da-DK-json-1da0ee18f6134ecc310e.d.ts → da-DK-json-1ad7d7f19aec114ebe50.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{de-DE-json-0be3ec99525c61bdcba3.d.ts → de-DE-json-a7a0a7a8f371bc7ba5c0.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{el-GR-json-388edf089413073931eb.d.ts → el-GR-json-f4a6ef403e57a5227a3a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{es-ES-json-85cfca766fae1f406fd7.d.ts → es-ES-json-b8442d54aabef318e2dc.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{eu-ES-json-ac9c079dfafc1c496aa6.d.ts → eu-ES-json-43e4d2f5e87feec87329.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fa-IR-json-e5d56b7aca5dc354f7af.d.ts → fa-IR-json-51cdec085b5f875af21b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fi-FI-json-cb29a42edf8f5291f8c3.d.ts → fi-FI-json-f97e2e7d43641c0e840a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fr-FR-json-b0dbe7d058f2a1a49121.d.ts → fr-FR-json-8979cd243e0bbc81c99b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{gl-ES-json-d8d0f4cb2490aa386e7f.d.ts → gl-ES-json-36750301d902ad2b2806.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{he-IL-json-105198ac3a4c03bd8c4e.d.ts → he-IL-json-2093e314b87cdcfdd126.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hi-IN-json-3a90a39ee45b0a25acf0.d.ts → hi-IN-json-cb93e43b65701ce90198.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hu-HU-json-0b100a81d35a9fbacedc.d.ts → hu-HU-json-4239cb5f99d6fda36fbe.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{id-ID-json-ce0c7798d61b01b6de8e.d.ts → id-ID-json-40f01633ae6046a20158.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{it-IT-json-0bb94a9b829e3d7eae49.d.ts → it-IT-json-395bb09586a95a3c7a0c.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ja-JP-json-c3b89682cb079237d4b1.d.ts → ja-JP-json-a7e58b0f0528b0d9adee.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kaa-json-022d123c622de36b2ffd.d.ts → kaa-json-8c158b975f7ac7595487.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kab-KAB-json-1f7aa99a00c2764bbd6a.d.ts → kab-KAB-json-16bc09201bc75389e0c2.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kk-KZ-json-2f67b4e257c72ba296ea.d.ts → kk-KZ-json-9d3bab1e41bdd0593cba.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{km-KH-json-6044125ce86d33e4d013.d.ts → km-KH-json-5f033ad55694d12c770d.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ko-KR-json-7527e56cd2a14c8f4d38.d.ts → ko-KR-json-2d7d04482b8f94ac8f65.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ku-TR-json-37b6c9f37d164c0a8750.d.ts → ku-TR-json-0dfab20d9c6ac0da2776.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lt-LT-json-6c724317d3a154ee0922.d.ts → lt-LT-json-f6b8a91c2d0af70bb40a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lv-LV-json-d3456c9eed9db873851c.d.ts → lv-LV-json-200fd554e6f50cdb198f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{mr-IN-json-68c33362d2688cf9a86a.d.ts → mr-IN-json-3fd24dfc0b92db0ecaa3.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{my-MM-json-8bcf2c1106b41d299b22.d.ts → my-MM-json-622c3f7b4b996f4d9675.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nb-NO-json-1e91626c5141406d4171.d.ts → nb-NO-json-06218da2a78c0389ca45.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nl-NL-json-d59fb9cdb3694c05d4d3.d.ts → nl-NL-json-558c43ecce00b4f632ed.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nn-NO-json-2110d3022652857f0d4e.d.ts → nn-NO-json-b1cdc9fe9e3ef6661443.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{oc-FR-json-f59199dae5b5fd1cd73e.d.ts → oc-FR-json-aff7d8ffc8d29dcadf9f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pa-IN-json-eee62a309aa298c6a042.d.ts → pa-IN-json-1676618fa49328bc0ecc.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pl-PL-json-89fa28aabd2914fe0396.d.ts → pl-PL-json-52763bf24013775cc692.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-BR-json-3cbcf214f049d5e746fd.d.ts → pt-BR-json-cc1554e6671be344e008.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-PT-json-60936bdd0cb60fa61754.d.ts → pt-PT-json-0b332e1305fa14c732d0.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ro-RO-json-f55c1fc1cc7a03bf14ec.d.ts → ro-RO-json-672a25ac3a7165011576.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ru-RU-json-32b411f319cb3486effb.d.ts → ru-RU-json-e88fc7d0b0022da65cd7.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{si-LK-json-b46d31c3231c1a5a9bef.d.ts → si-LK-json-988cd28b7f15bfd7b612.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sk-SK-json-d32509ca142ed0b8cdcd.d.ts → sk-SK-json-0b543a434ec1a4cc2831.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sl-SI-json-fa5755e107a0fd45fba1.d.ts → sl-SI-json-3e7849fcb1fe7ed8e146.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sv-SE-json-246b162a13d49e29a4da.d.ts → sv-SE-json-e594c928d13f0183f9bc.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ta-IN-json-ece6caa568e593236b8f.d.ts → ta-IN-json-97670b76df151af63fbe.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{th-TH-json-a157cfe4042b491f8a6a.d.ts → th-TH-json-750c74d47969f873875a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{tr-TR-json-66680580284c2db06be2.d.ts → tr-TR-json-55711d39e393bde4d8e1.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{uk-UA-json-a212f26f95b2989f0430.d.ts → uk-UA-json-1ad24b86d9998c472afe.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{vi-VN-json-508428e8e4c39aa390aa.d.ts → vi-VN-json-67cf288dc185122c6fbd.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-CN-json-63cf3f7b69e2e58cf7af.d.ts → zh-CN-json-8682588312662adaa170.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-HK-json-e69824cc96d688bf90d2.d.ts → zh-HK-json-f5a427054479f0a5781f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-TW-json-7dbf8aee365138759c72.d.ts → zh-TW-json-b4ebc4c389ccf204d77e.d.ts} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ExcalidrawElement, NonDeletedExcalidrawElement, PointerType } from "./types";
|
|
2
2
|
import { AppState, Zoom } from "../types";
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
3
|
+
export type TransformHandleDirection = "n" | "s" | "w" | "e" | "nw" | "ne" | "sw" | "se";
|
|
4
|
+
export type TransformHandleType = TransformHandleDirection | "rotation";
|
|
5
|
+
export type TransformHandle = [number, number, number, number];
|
|
6
|
+
export type TransformHandles = Partial<{
|
|
7
7
|
[T in TransformHandleType]: TransformHandle;
|
|
8
8
|
}>;
|
|
9
|
-
export
|
|
9
|
+
export type MaybeTransformHandleType = TransformHandleType | false;
|
|
10
10
|
export declare const OMIT_SIDES_FOR_MULTIPLE_ELEMENTS: {
|
|
11
11
|
e: boolean;
|
|
12
12
|
s: boolean;
|
|
@@ -16,8 +16,8 @@ export declare const OMIT_SIDES_FOR_MULTIPLE_ELEMENTS: {
|
|
|
16
16
|
export declare const getTransformHandlesFromCoords: ([x1, y1, x2, y2, cx, cy]: [number, number, number, number, number, number], angle: number, zoom: Zoom, pointerType: PointerType, omitSides?: {
|
|
17
17
|
s?: boolean | undefined;
|
|
18
18
|
e?: boolean | undefined;
|
|
19
|
-
n?: boolean | undefined;
|
|
20
19
|
w?: boolean | undefined;
|
|
20
|
+
n?: boolean | undefined;
|
|
21
21
|
nw?: boolean | undefined;
|
|
22
22
|
ne?: boolean | undefined;
|
|
23
23
|
sw?: boolean | undefined;
|
package/types/element/types.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { Point } from "../types";
|
|
2
2
|
import { FONT_FAMILY, ROUNDNESS, TEXT_ALIGN, THEME, VERTICAL_ALIGN } from "../constants";
|
|
3
3
|
import { MarkNonNullable, ValueOf } from "../utility-types";
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
4
|
+
export type ChartType = "bar" | "line";
|
|
5
|
+
export type FillStyle = "hachure" | "cross-hatch" | "solid" | "zigzag";
|
|
6
|
+
export type FontFamilyKeys = keyof typeof FONT_FAMILY;
|
|
7
|
+
export type FontFamilyValues = typeof FONT_FAMILY[FontFamilyKeys];
|
|
8
|
+
export type Theme = typeof THEME[keyof typeof THEME];
|
|
9
|
+
export type FontString = string & {
|
|
10
10
|
_brand: "fontString";
|
|
11
11
|
};
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
|
|
19
|
-
export
|
|
20
|
-
|
|
12
|
+
export type GroupId = string;
|
|
13
|
+
export type PointerType = "mouse" | "pen" | "touch";
|
|
14
|
+
export type StrokeRoundness = "round" | "sharp";
|
|
15
|
+
export type RoundnessType = ValueOf<typeof ROUNDNESS>;
|
|
16
|
+
export type StrokeStyle = "solid" | "dashed" | "dotted";
|
|
17
|
+
export type TextAlign = typeof TEXT_ALIGN[keyof typeof TEXT_ALIGN];
|
|
18
|
+
type VerticalAlignKeys = keyof typeof VERTICAL_ALIGN;
|
|
19
|
+
export type VerticalAlign = typeof VERTICAL_ALIGN[VerticalAlignKeys];
|
|
20
|
+
type _ExcalidrawElementBase = Readonly<{
|
|
21
21
|
id: string;
|
|
22
22
|
x: number;
|
|
23
23
|
y: number;
|
|
@@ -60,19 +60,19 @@ declare type _ExcalidrawElementBase = Readonly<{
|
|
|
60
60
|
locked: boolean;
|
|
61
61
|
customData?: Record<string, any>;
|
|
62
62
|
}>;
|
|
63
|
-
export
|
|
63
|
+
export type ExcalidrawSelectionElement = _ExcalidrawElementBase & {
|
|
64
64
|
type: "selection";
|
|
65
65
|
};
|
|
66
|
-
export
|
|
66
|
+
export type ExcalidrawRectangleElement = _ExcalidrawElementBase & {
|
|
67
67
|
type: "rectangle";
|
|
68
68
|
};
|
|
69
|
-
export
|
|
69
|
+
export type ExcalidrawDiamondElement = _ExcalidrawElementBase & {
|
|
70
70
|
type: "diamond";
|
|
71
71
|
};
|
|
72
|
-
export
|
|
72
|
+
export type ExcalidrawEllipseElement = _ExcalidrawElementBase & {
|
|
73
73
|
type: "ellipse";
|
|
74
74
|
};
|
|
75
|
-
export
|
|
75
|
+
export type ExcalidrawImageElement = _ExcalidrawElementBase & Readonly<{
|
|
76
76
|
type: "image";
|
|
77
77
|
fileId: FileId | null;
|
|
78
78
|
/** whether respective file is persisted */
|
|
@@ -80,22 +80,22 @@ export declare type ExcalidrawImageElement = _ExcalidrawElementBase & Readonly<{
|
|
|
80
80
|
/** X and Y scale factors <-1, 1>, used for image axis flipping */
|
|
81
81
|
scale: [number, number];
|
|
82
82
|
}>;
|
|
83
|
-
export
|
|
83
|
+
export type InitializedExcalidrawImageElement = MarkNonNullable<ExcalidrawImageElement, "fileId">;
|
|
84
84
|
/**
|
|
85
85
|
* These are elements that don't have any additional properties.
|
|
86
86
|
*/
|
|
87
|
-
export
|
|
87
|
+
export type ExcalidrawGenericElement = ExcalidrawSelectionElement | ExcalidrawRectangleElement | ExcalidrawDiamondElement | ExcalidrawEllipseElement;
|
|
88
88
|
/**
|
|
89
89
|
* ExcalidrawElement should be JSON serializable and (eventually) contain
|
|
90
90
|
* no computed data. The list of all ExcalidrawElements should be shareable
|
|
91
91
|
* between peers and contain no state local to the peer.
|
|
92
92
|
*/
|
|
93
|
-
export
|
|
94
|
-
export
|
|
93
|
+
export type ExcalidrawElement = ExcalidrawGenericElement | ExcalidrawTextElement | ExcalidrawLinearElement | ExcalidrawFreeDrawElement | ExcalidrawImageElement;
|
|
94
|
+
export type NonDeleted<TElement extends ExcalidrawElement> = TElement & {
|
|
95
95
|
isDeleted: boolean;
|
|
96
96
|
};
|
|
97
|
-
export
|
|
98
|
-
export
|
|
97
|
+
export type NonDeletedExcalidrawElement = NonDeleted<ExcalidrawElement>;
|
|
98
|
+
export type ExcalidrawTextElement = _ExcalidrawElementBase & Readonly<{
|
|
99
99
|
type: "text";
|
|
100
100
|
fontSize: number;
|
|
101
101
|
fontFamily: FontFamilyValues;
|
|
@@ -113,18 +113,18 @@ export declare type ExcalidrawTextElement = _ExcalidrawElementBase & Readonly<{
|
|
|
113
113
|
_brand: "unitlessLineHeight";
|
|
114
114
|
};
|
|
115
115
|
}>;
|
|
116
|
-
export
|
|
117
|
-
export
|
|
118
|
-
export
|
|
116
|
+
export type ExcalidrawBindableElement = ExcalidrawRectangleElement | ExcalidrawDiamondElement | ExcalidrawEllipseElement | ExcalidrawTextElement | ExcalidrawImageElement;
|
|
117
|
+
export type ExcalidrawTextContainer = ExcalidrawRectangleElement | ExcalidrawDiamondElement | ExcalidrawEllipseElement | ExcalidrawImageElement | ExcalidrawArrowElement;
|
|
118
|
+
export type ExcalidrawTextElementWithContainer = {
|
|
119
119
|
containerId: ExcalidrawTextContainer["id"];
|
|
120
120
|
} & ExcalidrawTextElement;
|
|
121
|
-
export
|
|
121
|
+
export type PointBinding = {
|
|
122
122
|
elementId: ExcalidrawBindableElement["id"];
|
|
123
123
|
focus: number;
|
|
124
124
|
gap: number;
|
|
125
125
|
};
|
|
126
|
-
export
|
|
127
|
-
export
|
|
126
|
+
export type Arrowhead = "arrow" | "bar" | "dot" | "triangle";
|
|
127
|
+
export type ExcalidrawLinearElement = _ExcalidrawElementBase & Readonly<{
|
|
128
128
|
type: "line" | "arrow";
|
|
129
129
|
points: readonly Point[];
|
|
130
130
|
lastCommittedPoint: Point | null;
|
|
@@ -133,17 +133,17 @@ export declare type ExcalidrawLinearElement = _ExcalidrawElementBase & Readonly<
|
|
|
133
133
|
startArrowhead: Arrowhead | null;
|
|
134
134
|
endArrowhead: Arrowhead | null;
|
|
135
135
|
}>;
|
|
136
|
-
export
|
|
136
|
+
export type ExcalidrawArrowElement = ExcalidrawLinearElement & Readonly<{
|
|
137
137
|
type: "arrow";
|
|
138
138
|
}>;
|
|
139
|
-
export
|
|
139
|
+
export type ExcalidrawFreeDrawElement = _ExcalidrawElementBase & Readonly<{
|
|
140
140
|
type: "freedraw";
|
|
141
141
|
points: readonly Point[];
|
|
142
142
|
pressures: readonly number[];
|
|
143
143
|
simulatePressure: boolean;
|
|
144
144
|
lastCommittedPoint: Point | null;
|
|
145
145
|
}>;
|
|
146
|
-
export
|
|
146
|
+
export type FileId = string & {
|
|
147
147
|
_brand: "FileId";
|
|
148
148
|
};
|
|
149
149
|
export {};
|
package/types/errors.d.ts
CHANGED
package/types/ga.d.ts
CHANGED
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
* See GAPoint, GALine, GADirection and GATransform modules for common
|
|
17
17
|
* operations.
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
19
|
+
export type Point = NVector;
|
|
20
|
+
export type Direction = NVector;
|
|
21
|
+
export type Line = NVector;
|
|
22
|
+
export type Transform = NVector;
|
|
23
23
|
export declare const point: (x: number, y: number) => NVector;
|
|
24
24
|
export declare const origin: () => NVector;
|
|
25
25
|
export declare const direction: (x: number, y: number) => NVector;
|
|
26
26
|
export declare const offset: (x: number, y: number) => NVector;
|
|
27
|
-
|
|
27
|
+
type NVector = readonly [
|
|
28
28
|
number,
|
|
29
29
|
number,
|
|
30
30
|
number,
|
package/types/i18n.d.ts
CHANGED
|
@@ -12,10 +12,10 @@ export declare const setLanguage: (lang: Language) => Promise<void>;
|
|
|
12
12
|
export declare const getLanguage: () => Language;
|
|
13
13
|
export declare const t: (path: string, replacement?: {
|
|
14
14
|
[key: string]: string | number;
|
|
15
|
-
} | undefined) => string;
|
|
15
|
+
} | null | undefined, fallback?: string) => string;
|
|
16
16
|
export declare const useI18n: () => {
|
|
17
17
|
t: (path: string, replacement?: {
|
|
18
18
|
[key: string]: string | number;
|
|
19
|
-
} | undefined) => string;
|
|
19
|
+
} | null | undefined, fallback?: string) => string;
|
|
20
20
|
langCode: string;
|
|
21
21
|
};
|
package/types/keys.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ export declare const KEYS: {
|
|
|
70
70
|
readonly 8: "8";
|
|
71
71
|
readonly 9: "9";
|
|
72
72
|
};
|
|
73
|
-
export
|
|
73
|
+
export type Key = keyof typeof KEYS;
|
|
74
74
|
export declare const isArrowKey: (key: string) => boolean;
|
|
75
75
|
export declare const shouldResizeFromCenter: (event: MouseEvent | KeyboardEvent) => boolean;
|
|
76
76
|
export declare const shouldMaintainAspectRatio: (event: MouseEvent | KeyboardEvent) => boolean;
|
|
@@ -2,54 +2,27 @@ declare namespace _default {
|
|
|
2
2
|
const elements: ({
|
|
3
3
|
type: string;
|
|
4
4
|
x: number;
|
|
5
|
+
y: number;
|
|
5
6
|
strokeWidth: string;
|
|
6
7
|
backgroundColor?: undefined;
|
|
7
8
|
label?: undefined;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
start?: undefined;
|
|
10
|
+
end?: undefined;
|
|
11
|
+
fileId?: undefined;
|
|
12
|
+
width?: undefined;
|
|
13
|
+
height?: undefined;
|
|
14
|
+
angle?: undefined;
|
|
15
|
+
strokeColor?: undefined;
|
|
13
16
|
fillStyle?: undefined;
|
|
14
17
|
strokeStyle?: undefined;
|
|
15
18
|
roughness?: undefined;
|
|
16
19
|
opacity?: undefined;
|
|
17
|
-
angle?: undefined;
|
|
18
|
-
strokeColor?: undefined;
|
|
19
|
-
width?: undefined;
|
|
20
|
-
height?: undefined;
|
|
21
|
-
seed?: undefined;
|
|
22
20
|
groupIds?: undefined;
|
|
23
|
-
fileId?: undefined;
|
|
24
21
|
strokeSharpness?: undefined;
|
|
25
|
-
|
|
26
|
-
updated?: undefined;
|
|
27
|
-
link?: undefined;
|
|
28
|
-
status?: undefined;
|
|
29
|
-
scale?: undefined;
|
|
30
|
-
} | {
|
|
31
|
-
type: string;
|
|
32
|
-
x?: undefined;
|
|
33
|
-
strokeWidth?: undefined;
|
|
34
|
-
backgroundColor?: undefined;
|
|
35
|
-
label?: undefined;
|
|
36
|
-
y?: undefined;
|
|
22
|
+
seed?: undefined;
|
|
37
23
|
version?: undefined;
|
|
38
24
|
versionNonce?: undefined;
|
|
39
25
|
isDeleted?: undefined;
|
|
40
|
-
id?: undefined;
|
|
41
|
-
fillStyle?: undefined;
|
|
42
|
-
strokeStyle?: undefined;
|
|
43
|
-
roughness?: undefined;
|
|
44
|
-
opacity?: undefined;
|
|
45
|
-
angle?: undefined;
|
|
46
|
-
strokeColor?: undefined;
|
|
47
|
-
width?: undefined;
|
|
48
|
-
height?: undefined;
|
|
49
|
-
seed?: undefined;
|
|
50
|
-
groupIds?: undefined;
|
|
51
|
-
fileId?: undefined;
|
|
52
|
-
strokeSharpness?: undefined;
|
|
53
26
|
boundElements?: undefined;
|
|
54
27
|
updated?: undefined;
|
|
55
28
|
link?: undefined;
|
|
@@ -58,6 +31,7 @@ declare namespace _default {
|
|
|
58
31
|
} | {
|
|
59
32
|
type: string;
|
|
60
33
|
x: number;
|
|
34
|
+
y: number;
|
|
61
35
|
backgroundColor: string;
|
|
62
36
|
strokeWidth: string;
|
|
63
37
|
label: {
|
|
@@ -65,23 +39,23 @@ declare namespace _default {
|
|
|
65
39
|
strokeColor: string;
|
|
66
40
|
fontSize: number;
|
|
67
41
|
};
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
42
|
+
start?: undefined;
|
|
43
|
+
end?: undefined;
|
|
44
|
+
fileId?: undefined;
|
|
45
|
+
width?: undefined;
|
|
46
|
+
height?: undefined;
|
|
47
|
+
angle?: undefined;
|
|
48
|
+
strokeColor?: undefined;
|
|
73
49
|
fillStyle?: undefined;
|
|
74
50
|
strokeStyle?: undefined;
|
|
75
51
|
roughness?: undefined;
|
|
76
52
|
opacity?: undefined;
|
|
77
|
-
angle?: undefined;
|
|
78
|
-
strokeColor?: undefined;
|
|
79
|
-
width?: undefined;
|
|
80
|
-
height?: undefined;
|
|
81
|
-
seed?: undefined;
|
|
82
53
|
groupIds?: undefined;
|
|
83
|
-
fileId?: undefined;
|
|
84
54
|
strokeSharpness?: undefined;
|
|
55
|
+
seed?: undefined;
|
|
56
|
+
version?: undefined;
|
|
57
|
+
versionNonce?: undefined;
|
|
58
|
+
isDeleted?: undefined;
|
|
85
59
|
boundElements?: undefined;
|
|
86
60
|
updated?: undefined;
|
|
87
61
|
link?: undefined;
|
|
@@ -93,55 +67,32 @@ declare namespace _default {
|
|
|
93
67
|
y: number;
|
|
94
68
|
label: {
|
|
95
69
|
text: string;
|
|
96
|
-
strokeColor
|
|
97
|
-
fontSize
|
|
70
|
+
strokeColor?: undefined;
|
|
71
|
+
fontSize?: undefined;
|
|
72
|
+
};
|
|
73
|
+
start: {
|
|
74
|
+
type: string;
|
|
75
|
+
};
|
|
76
|
+
end: {
|
|
77
|
+
type: string;
|
|
98
78
|
};
|
|
99
79
|
strokeWidth?: undefined;
|
|
100
80
|
backgroundColor?: undefined;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
81
|
+
fileId?: undefined;
|
|
82
|
+
width?: undefined;
|
|
83
|
+
height?: undefined;
|
|
84
|
+
angle?: undefined;
|
|
85
|
+
strokeColor?: undefined;
|
|
105
86
|
fillStyle?: undefined;
|
|
106
87
|
strokeStyle?: undefined;
|
|
107
88
|
roughness?: undefined;
|
|
108
89
|
opacity?: undefined;
|
|
109
|
-
angle?: undefined;
|
|
110
|
-
strokeColor?: undefined;
|
|
111
|
-
width?: undefined;
|
|
112
|
-
height?: undefined;
|
|
113
|
-
seed?: undefined;
|
|
114
90
|
groupIds?: undefined;
|
|
115
|
-
fileId?: undefined;
|
|
116
|
-
strokeSharpness?: undefined;
|
|
117
|
-
boundElements?: undefined;
|
|
118
|
-
updated?: undefined;
|
|
119
|
-
link?: undefined;
|
|
120
|
-
status?: undefined;
|
|
121
|
-
scale?: undefined;
|
|
122
|
-
} | {
|
|
123
|
-
type: string;
|
|
124
|
-
version: number;
|
|
125
|
-
versionNonce: number;
|
|
126
|
-
isDeleted: boolean;
|
|
127
|
-
id: string;
|
|
128
|
-
fillStyle: string;
|
|
129
|
-
strokeWidth: number;
|
|
130
|
-
strokeStyle: string;
|
|
131
|
-
roughness: number;
|
|
132
|
-
opacity: number;
|
|
133
|
-
angle: number;
|
|
134
|
-
x: number;
|
|
135
|
-
y: number;
|
|
136
|
-
strokeColor: string;
|
|
137
|
-
backgroundColor: string;
|
|
138
|
-
width: number;
|
|
139
|
-
height: number;
|
|
140
|
-
seed: number;
|
|
141
|
-
groupIds: never[];
|
|
142
|
-
label?: undefined;
|
|
143
|
-
fileId?: undefined;
|
|
144
91
|
strokeSharpness?: undefined;
|
|
92
|
+
seed?: undefined;
|
|
93
|
+
version?: undefined;
|
|
94
|
+
versionNonce?: undefined;
|
|
95
|
+
isDeleted?: undefined;
|
|
145
96
|
boundElements?: undefined;
|
|
146
97
|
updated?: undefined;
|
|
147
98
|
link?: undefined;
|
|
@@ -174,7 +125,8 @@ declare namespace _default {
|
|
|
174
125
|
status: string;
|
|
175
126
|
scale: number[];
|
|
176
127
|
label?: undefined;
|
|
177
|
-
|
|
128
|
+
start?: undefined;
|
|
129
|
+
end?: undefined;
|
|
178
130
|
})[];
|
|
179
131
|
namespace appState {
|
|
180
132
|
const viewBackgroundColor: string;
|
|
@@ -6,7 +6,7 @@ import Footer from "../../components/footer/FooterCenter";
|
|
|
6
6
|
import MainMenu from "../../components/main-menu/MainMenu";
|
|
7
7
|
import WelcomeScreen from "../../components/welcome-screen/WelcomeScreen";
|
|
8
8
|
import LiveCollaborationTrigger from "../../components/live-collaboration/LiveCollaborationTrigger";
|
|
9
|
-
|
|
9
|
+
type PublicExcalidrawProps = Omit<ExcalidrawProps, "forwardedRef">;
|
|
10
10
|
export declare const Excalidraw: React.MemoExoticComponent<React.ForwardRefExoticComponent<PublicExcalidrawProps & React.RefAttributes<ExcalidrawAPIRefValue>>>;
|
|
11
11
|
export { getSceneVersion, isInvisiblySmallElement, getNonDeletedElements, } from "../../element";
|
|
12
12
|
export { defaultLang, useI18n, languages } from "../../i18n";
|
|
@@ -2,7 +2,7 @@ import { AppState, BinaryFiles } from "../types";
|
|
|
2
2
|
import { ExcalidrawElement, NonDeleted } from "../element/types";
|
|
3
3
|
import { MIME_TYPES } from "../constants";
|
|
4
4
|
export { MIME_TYPES };
|
|
5
|
-
|
|
5
|
+
type ExportOpts = {
|
|
6
6
|
elements: readonly NonDeleted<ExcalidrawElement>[];
|
|
7
7
|
appState?: Partial<Omit<AppState, "offsetTop" | "offsetLeft">>;
|
|
8
8
|
files: BinaryFiles | null;
|
|
@@ -15,8 +15,8 @@ export interface ExcalidrawElementWithCanvas {
|
|
|
15
15
|
boundTextElementVersion: number | null;
|
|
16
16
|
}
|
|
17
17
|
export declare const DEFAULT_LINK_SIZE = 14;
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
type ElementShape = Drawable | Drawable[] | null;
|
|
19
|
+
type ElementShapes = {
|
|
20
20
|
freedraw: Drawable | null;
|
|
21
21
|
arrow: Drawable[];
|
|
22
22
|
line: Drawable[];
|
package/types/scene/Scene.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ExcalidrawElement, NonDeletedExcalidrawElement, NonDeleted } from "../element/types";
|
|
2
2
|
import { LinearElementEditor } from "../element/linearElementEditor";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
type ElementIdKey = InstanceType<typeof LinearElementEditor>["elementId"];
|
|
4
|
+
type ElementKey = ExcalidrawElement | ElementIdKey;
|
|
5
|
+
type SceneStateCallback = () => void;
|
|
6
|
+
type SceneStateCallbackRemover = () => void;
|
|
7
7
|
declare class Scene {
|
|
8
8
|
private static sceneMapByElement;
|
|
9
9
|
private static sceneMapById;
|
package/types/scene/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExcalidrawTextElement } from "../element/types";
|
|
2
2
|
import { AppClassProperties, AppState } from "../types";
|
|
3
|
-
export
|
|
3
|
+
export type RenderConfig = {
|
|
4
4
|
scrollX: AppState["scrollX"];
|
|
5
5
|
scrollY: AppState["scrollY"];
|
|
6
6
|
/** null indicates transparent bg */
|
|
@@ -35,15 +35,15 @@ export declare type RenderConfig = {
|
|
|
35
35
|
isExporting: boolean;
|
|
36
36
|
selectionColor?: string;
|
|
37
37
|
};
|
|
38
|
-
export
|
|
38
|
+
export type SceneScroll = {
|
|
39
39
|
scrollX: number;
|
|
40
40
|
scrollY: number;
|
|
41
41
|
};
|
|
42
42
|
export interface Scene {
|
|
43
43
|
elements: ExcalidrawTextElement[];
|
|
44
44
|
}
|
|
45
|
-
export
|
|
46
|
-
export
|
|
45
|
+
export type ExportType = "png" | "clipboard" | "clipboard-svg" | "backend" | "svg";
|
|
46
|
+
export type ScrollBars = {
|
|
47
47
|
horizontal: {
|
|
48
48
|
x: number;
|
|
49
49
|
y: number;
|
package/types/shapes.d.ts
CHANGED
|
@@ -59,4 +59,4 @@ export declare const SHAPES: readonly [{
|
|
|
59
59
|
readonly numericKey: "0";
|
|
60
60
|
readonly fillable: false;
|
|
61
61
|
}];
|
|
62
|
-
export declare const findShapeByKey: (key: string) => "
|
|
62
|
+
export declare const findShapeByKey: (key: string) => "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | null;
|