@excalidraw/excalidraw 0.14.0-6121-fc3ad52 → 0.14.1-cf38c0f
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 +12 -2
- package/dist/excalidraw-assets/locales/ar-SA-json-7917b25a9d62d616fcc5.js +1 -0
- package/dist/excalidraw-assets/locales/{bg-BG-json-04c32894a53ff1b841f2.js → bg-BG-json-44988db4fe7f7bee07bc.js} +1 -1
- package/dist/excalidraw-assets/locales/{bn-BD-json-c8a37406c9152cd7acf4.js → bn-BD-json-7ff651d150881fbbfb13.js} +1 -1
- package/dist/excalidraw-assets/locales/{ca-ES-json-319bfc63af7c5cf7ec18.js → ca-ES-json-4d5527dd80e208ef2522.js} +1 -1
- package/dist/excalidraw-assets/locales/{cs-CZ-json-63e64aea4eee696f6560.js → cs-CZ-json-3ff3ea69ff9ae725c469.js} +1 -1
- package/dist/excalidraw-assets/locales/{da-DK-json-d3633cf24300764ec674.js → da-DK-json-d6ab0523c9f9ac4d4c9e.js} +1 -1
- package/dist/excalidraw-assets/locales/de-DE-json-9ee7f888aa463032fc1c.js +1 -0
- package/dist/excalidraw-assets/locales/el-GR-json-908e098345bfe344ced8.js +1 -0
- package/dist/excalidraw-assets/locales/{es-ES-json-124029c5c7386ccbce1c.js → es-ES-json-47d0ae898ef2c67ce309.js} +1 -1
- package/dist/excalidraw-assets/locales/eu-ES-json-5720590cf9a63067baf3.js +1 -0
- package/dist/excalidraw-assets/locales/{fa-IR-json-1a48b1b4d36c56bc98b2.js → fa-IR-json-97bb57d1147c72892c68.js} +1 -1
- package/dist/excalidraw-assets/locales/{fi-FI-json-5f4fce8f7a54b9660c99.js → fi-FI-json-192a5cc851541797f756.js} +1 -1
- package/dist/excalidraw-assets/locales/{fr-FR-json-9a524eca06b781609d92.js → fr-FR-json-a7f8d76d690714b6eb78.js} +1 -1
- package/dist/excalidraw-assets/locales/gl-ES-json-efa2a7afe9e96f9e3f3e.js +1 -0
- package/dist/excalidraw-assets/locales/{he-IL-json-2686abc8b155be579d06.js → he-IL-json-990bb8880202c20c3785.js} +1 -1
- package/dist/excalidraw-assets/locales/{hi-IN-json-a86588d386d42bea67ad.js → hi-IN-json-33a69bbfe9268d9133d4.js} +1 -1
- package/dist/excalidraw-assets/locales/{hu-HU-json-9eced03fca421da9dc33.js → hu-HU-json-545e1923f5ad1c94c6ab.js} +1 -1
- package/dist/excalidraw-assets/locales/id-ID-json-41353abc8704e1038943.js +1 -0
- package/dist/excalidraw-assets/locales/it-IT-json-b14da0116f6f5e0712e9.js +1 -0
- package/dist/excalidraw-assets/locales/{ja-JP-json-3ca539ebaf199164dd7f.js → ja-JP-json-fe7beb29f046cf979c5a.js} +1 -1
- package/dist/excalidraw-assets/locales/kab-KAB-json-17519996c12e47f5fded.js +1 -0
- package/dist/excalidraw-assets/locales/{kk-KZ-json-0d11cd6204ccf3fe525f.js → kk-KZ-json-99a76a48916e784a3941.js} +1 -1
- package/dist/excalidraw-assets/locales/ko-KR-json-04089ce24a73ee1c83f0.js +1 -0
- package/dist/excalidraw-assets/locales/{ku-TR-json-6077b8b65644d4b19461.js → ku-TR-json-05e1c3849ef5154e3157.js} +1 -1
- package/dist/excalidraw-assets/locales/{lt-LT-json-0d6150d8b3d418652fe9.js → lt-LT-json-f0baeb52b74ec4e2b65e.js} +1 -1
- package/dist/excalidraw-assets/locales/{lv-LV-json-5ff95e7961229ff568fb.js → lv-LV-json-c31a44bb3a66bf7e2106.js} +1 -1
- package/dist/excalidraw-assets/locales/{mr-IN-json-069b53ee4b91eda493ce.js → mr-IN-json-018610e3231f3e9bd068.js} +1 -1
- package/dist/excalidraw-assets/locales/{my-MM-json-354b418b74398f6efb2b.js → my-MM-json-42e19993d78f0511571b.js} +1 -1
- package/dist/excalidraw-assets/locales/{nb-NO-json-df3df0be06e3f1bf4b06.js → nb-NO-json-4f22057d9bc9df25cb6a.js} +1 -1
- package/dist/excalidraw-assets/locales/{nl-NL-json-85d5f44469db5c5e6124.js → nl-NL-json-57a2b32c58feb9bae878.js} +1 -1
- package/dist/excalidraw-assets/locales/{nn-NO-json-d566f1edbd6be33a70b3.js → nn-NO-json-5e0a10f6fe31c9155bd4.js} +1 -1
- package/dist/excalidraw-assets/locales/{oc-FR-json-24548a7feecb4c99eaa3.js → oc-FR-json-78fba0f25867078ee02f.js} +1 -1
- package/dist/excalidraw-assets/locales/{pa-IN-json-9ffe63db0e1a6b0274f7.js → pa-IN-json-9ec2bd766af522488b44.js} +1 -1
- package/dist/excalidraw-assets/locales/{pl-PL-json-a8ddc96c59a92fca9d77.js → pl-PL-json-474c6d4804d20d89d2dc.js} +1 -1
- package/dist/excalidraw-assets/locales/{pt-BR-json-1317f88b4d299ad9a2ce.js → pt-BR-json-94fa57d1ac7d244fde4e.js} +1 -1
- package/dist/excalidraw-assets/locales/pt-PT-json-6d8fb5092f873fdd74be.js +1 -0
- package/dist/excalidraw-assets/locales/{ro-RO-json-97f37a829dc90dfcc450.js → ro-RO-json-7e65c3ca40525a2b7f5e.js} +1 -1
- package/dist/excalidraw-assets/locales/{ru-RU-json-c7b2021bbfe94a4c3b92.js → ru-RU-json-96975eab7a07d2d6b772.js} +1 -1
- package/dist/excalidraw-assets/locales/{si-LK-json-1444e979b8c965d31530.js → si-LK-json-e13dc6084f655194af4f.js} +1 -1
- package/dist/excalidraw-assets/locales/sk-SK-json-cd3468557b0bce2c8793.js +1 -0
- package/dist/excalidraw-assets/locales/{sl-SI-json-239877b5b4b9450f4ff8.js → sl-SI-json-a0dbeb91d8ddbfac8ac1.js} +1 -1
- package/dist/excalidraw-assets/locales/{sv-SE-json-dbe06cf14132b3898415.js → sv-SE-json-209bf1d6aa674d6550df.js} +1 -1
- package/dist/excalidraw-assets/locales/{ta-IN-json-fb0ad99371cc9d395a4a.js → ta-IN-json-489ab902f9b0c9beda2e.js} +1 -1
- package/dist/excalidraw-assets/locales/{tr-TR-json-787da8dfc2342305e3a6.js → tr-TR-json-7cb48008ab8645becf37.js} +1 -1
- package/dist/excalidraw-assets/locales/{uk-UA-json-e1832968cea3ac1b1f14.js → uk-UA-json-2360947dd1e1db4ee5ad.js} +1 -1
- package/dist/excalidraw-assets/locales/{vi-VN-json-8e07b04b68ca2190a3ba.js → vi-VN-json-111b8f1260701cbdeb96.js} +1 -1
- package/dist/excalidraw-assets/locales/{zh-CN-json-0c84694ac9a1000f2eda.js → zh-CN-json-75e3e6cf7a1cb55917ed.js} +1 -1
- package/dist/excalidraw-assets/locales/{zh-HK-json-a90c2e97d0115af3affe.js → zh-HK-json-696f940b619ce66fe8d2.js} +1 -1
- package/dist/excalidraw-assets/locales/{zh-TW-json-a4a2e5b4cc51ab083773.js → zh-TW-json-34674e3698d74ccdf98b.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/ar-SA-json-96e4fe4f95a1be3983be.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{bg-BG-json-e9f8c439c703b9c46f8f.js → bg-BG-json-0da12a1e2151c9abeddd.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{bn-BD-json-b181d32e04f431472a00.js → bn-BD-json-c6894a7a9379197f0339.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{ca-ES-json-b8795d2c06e02f8459d2.js → ca-ES-json-31e2a61e80cf3fc5e692.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{cs-CZ-json-101521a09a7715f909be.js → cs-CZ-json-343789a27d8b5e259601.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{da-DK-json-291963ff7bdf063a3414.js → da-DK-json-fa77dc522933d084c6c6.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/de-DE-json-2600a783fee15a69cacc.js +22 -0
- package/dist/excalidraw-assets-dev/locales/el-GR-json-c5595d65d7aa1fde7a41.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{es-ES-json-93b74ae63ccd847c1735.js → es-ES-json-ad62d132bdf680947bb1.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/eu-ES-json-e480895dba843bf8cde0.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{fa-IR-json-d8736c460ba5f77209bf.js → fa-IR-json-94f0178e594bf4339882.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{fi-FI-json-29f534e1e3daf160eb2c.js → fi-FI-json-37fb26a58706b3949bb1.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{fr-FR-json-4a98afe80b0f71441e85.js → fr-FR-json-c966daa00fcfc0689b74.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/gl-ES-json-4652301a81ddc5cf642e.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{he-IL-json-9bb31b0b25e5a4e8ebec.js → he-IL-json-8eb84a20c4dca6812a50.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{hi-IN-json-568c16b512f4c2c8dc80.js → hi-IN-json-f836b4aefaa6ea897222.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{hu-HU-json-a96298a55c135b42996d.js → hu-HU-json-06c7fd881b6f211775f3.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/id-ID-json-864c1049b7c1d9c4afa6.js +22 -0
- package/dist/excalidraw-assets-dev/locales/it-IT-json-d843759aca6069b269dc.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{ja-JP-json-ea55175bf36ae67d1486.js → ja-JP-json-56cc5f3aa96171a64a22.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/kab-KAB-json-df2b76743a2c3409b1f5.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{kk-KZ-json-2c2022e9751e266daf48.js → kk-KZ-json-4f7020bbbed7cb7c32e5.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/ko-KR-json-f99bca5d636386cef1d9.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{ku-TR-json-7f671260a35125754327.js → ku-TR-json-2729f5ab5a5ff6559d01.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{lt-LT-json-6c2e9629a9ba65c0dca7.js → lt-LT-json-3a8687d15506be04a010.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{lv-LV-json-a811474717b56be40608.js → lv-LV-json-602964f8d302ae46b08b.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{mr-IN-json-d8ec700e1e33441c238b.js → mr-IN-json-78bc3cb48615cd48e74a.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{my-MM-json-5c3b77241cc063b2c5b0.js → my-MM-json-574ead3f733f6b07b31e.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{nb-NO-json-d7ca016e9141141cf6d2.js → nb-NO-json-44f164754214bc9c1baa.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{nl-NL-json-1690236e0232b67cd430.js → nl-NL-json-7315dae866197d6cc89a.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{nn-NO-json-cd35c740e50d116d56a0.js → nn-NO-json-0842a8c2527c65806122.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{oc-FR-json-54e22feb16f23f963b44.js → oc-FR-json-de0b9a7212e599f039d6.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{pa-IN-json-2ad0a6609c7ab52d467d.js → pa-IN-json-dac3ca0c7dc3107d180d.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{pl-PL-json-e9d55427ccc0a3ee2287.js → pl-PL-json-54a4380c2eb120f8391a.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{pt-BR-json-b51075fd4a34edc98c62.js → pt-BR-json-7d9b0fb67c76161b2785.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/pt-PT-json-77d5ca078872e12eb25b.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{ro-RO-json-f62b471f8125751df395.js → ro-RO-json-bddb9c5835477b2cf255.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{ru-RU-json-0b36410a81160861bfbe.js → ru-RU-json-8f00196487b21d4c1ce8.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{si-LK-json-338de2463f06f3a76069.js → si-LK-json-13432a6405a3e78d9a36.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/sk-SK-json-1335b58f9707aa5275fa.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{sl-SI-json-79d34e23c08ceec64254.js → sl-SI-json-3f5b456d22c9a71932f3.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{sv-SE-json-053d2c3abda7dcc70df7.js → sv-SE-json-99fffeccfd850fe9c2e1.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{ta-IN-json-82adc75c8ce42916819b.js → ta-IN-json-4228f65ccc341129ef91.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{tr-TR-json-745c327779771326407a.js → tr-TR-json-4ce84a228518e4c17dda.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{uk-UA-json-a91561233fde5c47199c.js → uk-UA-json-e2259f0f2a3d9e40527c.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{vi-VN-json-da80feb32fd43849da41.js → vi-VN-json-059de236624a1a5c0074.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{zh-CN-json-cfa7b0a95405aae3bd85.js → zh-CN-json-6c5e2f363709b51a4fca.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{zh-HK-json-d549d0545edbb2c9b957.js → zh-HK-json-aee1350572c354c80356.js} +1 -1
- package/dist/excalidraw-assets-dev/locales/{zh-TW-json-67cab9706c94be113c72.js → zh-TW-json-eb23779805948ed5342c.js} +1 -1
- package/dist/excalidraw.development.js +191 -147
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +10 -0
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +12 -15
- package/types/actions/actionBoundText.d.ts +4 -5
- package/types/actions/actionCanvas.d.ts +144 -42
- package/types/actions/actionClipboard.d.ts +20 -25
- package/types/actions/actionDeleteSelected.d.ts +12 -15
- package/types/actions/actionExport.d.ts +36 -45
- package/types/actions/actionFinalize.d.ts +8 -10
- package/types/actions/actionLinearEditor.d.ts +4 -5
- package/types/actions/actionMenu.d.ts +12 -15
- package/types/actions/actionProperties.d.ts +52 -65
- package/types/actions/actionStyles.d.ts +4 -5
- package/types/actions/actionToggleGridMode.d.ts +4 -5
- package/types/actions/actionToggleLock.d.ts +4 -5
- package/types/actions/actionToggleStats.d.ts +4 -5
- package/types/actions/actionToggleViewMode.d.ts +4 -5
- package/types/actions/actionToggleZenMode.d.ts +4 -5
- package/types/actions/types.d.ts +1 -1
- package/types/appState.d.ts +8 -6
- package/types/components/ActiveConfirmDialog.d.ts +24 -0
- package/types/components/App.d.ts +1 -0
- package/types/components/HandButton.d.ts +10 -0
- package/types/components/LayerUI.d.ts +2 -1
- package/types/components/LockButton.d.ts +0 -1
- package/types/components/MobileMenu.d.ts +2 -1
- package/types/components/ToolButton.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenu.d.ts +7 -5
- package/types/components/dropdownMenu/DropdownMenuContent.d.ts +7 -3
- package/types/components/dropdownMenu/DropdownMenuItem.d.ts +2 -3
- package/types/components/dropdownMenu/DropdownMenuItemLink.d.ts +3 -2
- package/types/components/dropdownMenu/common.d.ts +6 -0
- package/types/components/icons.d.ts +1 -0
- package/types/components/main-menu/MainMenu.d.ts +10 -5
- package/types/constants.d.ts +6 -1
- package/types/element/Hyperlink.d.ts +4 -5
- package/types/element/linearElementEditor.d.ts +5 -6
- package/types/keys.d.ts +0 -3
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ar-SA-json-1bb6302a93fa38d23d93.d.ts → ar-SA-json-7917b25a9d62d616fcc5.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{bg-BG-json-04c32894a53ff1b841f2.d.ts → bg-BG-json-44988db4fe7f7bee07bc.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{bn-BD-json-c8a37406c9152cd7acf4.d.ts → bn-BD-json-7ff651d150881fbbfb13.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ca-ES-json-319bfc63af7c5cf7ec18.d.ts → ca-ES-json-4d5527dd80e208ef2522.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{cs-CZ-json-63e64aea4eee696f6560.d.ts → cs-CZ-json-3ff3ea69ff9ae725c469.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{da-DK-json-d3633cf24300764ec674.d.ts → da-DK-json-d6ab0523c9f9ac4d4c9e.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{de-DE-json-f02ac029c64432725793.d.ts → de-DE-json-9ee7f888aa463032fc1c.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{el-GR-json-72b6ce23553a9c8e270b.d.ts → el-GR-json-908e098345bfe344ced8.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{es-ES-json-124029c5c7386ccbce1c.d.ts → es-ES-json-47d0ae898ef2c67ce309.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{eu-ES-json-2debb0a180f671e8c417.d.ts → eu-ES-json-5720590cf9a63067baf3.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fa-IR-json-1a48b1b4d36c56bc98b2.d.ts → fa-IR-json-97bb57d1147c72892c68.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fi-FI-json-5f4fce8f7a54b9660c99.d.ts → fi-FI-json-192a5cc851541797f756.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fr-FR-json-9a524eca06b781609d92.d.ts → fr-FR-json-a7f8d76d690714b6eb78.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{gl-ES-json-24ddd1aea2914489d66b.d.ts → gl-ES-json-efa2a7afe9e96f9e3f3e.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{he-IL-json-2686abc8b155be579d06.d.ts → he-IL-json-990bb8880202c20c3785.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hi-IN-json-a86588d386d42bea67ad.d.ts → hi-IN-json-33a69bbfe9268d9133d4.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hu-HU-json-9eced03fca421da9dc33.d.ts → hu-HU-json-545e1923f5ad1c94c6ab.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{id-ID-json-7b86bce77d4d5a362f05.d.ts → id-ID-json-41353abc8704e1038943.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{it-IT-json-9ecc203d696bd8ab1e5c.d.ts → it-IT-json-b14da0116f6f5e0712e9.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ja-JP-json-3ca539ebaf199164dd7f.d.ts → ja-JP-json-fe7beb29f046cf979c5a.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kab-KAB-json-4cd28c882b4db23990d8.d.ts → kab-KAB-json-17519996c12e47f5fded.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kk-KZ-json-0d11cd6204ccf3fe525f.d.ts → kk-KZ-json-99a76a48916e784a3941.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ko-KR-json-6ee79cc1ac4f34e85f50.d.ts → ko-KR-json-04089ce24a73ee1c83f0.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ku-TR-json-6077b8b65644d4b19461.d.ts → ku-TR-json-05e1c3849ef5154e3157.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{lt-LT-json-0d6150d8b3d418652fe9.d.ts → lt-LT-json-f0baeb52b74ec4e2b65e.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{lv-LV-json-5ff95e7961229ff568fb.d.ts → lv-LV-json-c31a44bb3a66bf7e2106.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{mr-IN-json-069b53ee4b91eda493ce.d.ts → mr-IN-json-018610e3231f3e9bd068.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{my-MM-json-354b418b74398f6efb2b.d.ts → my-MM-json-42e19993d78f0511571b.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nb-NO-json-df3df0be06e3f1bf4b06.d.ts → nb-NO-json-4f22057d9bc9df25cb6a.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nl-NL-json-85d5f44469db5c5e6124.d.ts → nl-NL-json-57a2b32c58feb9bae878.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nn-NO-json-d566f1edbd6be33a70b3.d.ts → nn-NO-json-5e0a10f6fe31c9155bd4.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{oc-FR-json-24548a7feecb4c99eaa3.d.ts → oc-FR-json-78fba0f25867078ee02f.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pa-IN-json-9ffe63db0e1a6b0274f7.d.ts → pa-IN-json-9ec2bd766af522488b44.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pl-PL-json-a8ddc96c59a92fca9d77.d.ts → pl-PL-json-474c6d4804d20d89d2dc.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pt-BR-json-1317f88b4d299ad9a2ce.d.ts → pt-BR-json-94fa57d1ac7d244fde4e.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pt-PT-json-37c5101916c53869cd8c.d.ts → pt-PT-json-6d8fb5092f873fdd74be.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ro-RO-json-97f37a829dc90dfcc450.d.ts → ro-RO-json-7e65c3ca40525a2b7f5e.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ru-RU-json-c7b2021bbfe94a4c3b92.d.ts → ru-RU-json-96975eab7a07d2d6b772.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{si-LK-json-1444e979b8c965d31530.d.ts → si-LK-json-e13dc6084f655194af4f.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sk-SK-json-02cfad34246f8cfedd42.d.ts → sk-SK-json-cd3468557b0bce2c8793.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sl-SI-json-239877b5b4b9450f4ff8.d.ts → sl-SI-json-a0dbeb91d8ddbfac8ac1.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sv-SE-json-dbe06cf14132b3898415.d.ts → sv-SE-json-209bf1d6aa674d6550df.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ta-IN-json-fb0ad99371cc9d395a4a.d.ts → ta-IN-json-489ab902f9b0c9beda2e.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{tr-TR-json-787da8dfc2342305e3a6.d.ts → tr-TR-json-7cb48008ab8645becf37.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{uk-UA-json-e1832968cea3ac1b1f14.d.ts → uk-UA-json-2360947dd1e1db4ee5ad.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{vi-VN-json-8e07b04b68ca2190a3ba.d.ts → vi-VN-json-111b8f1260701cbdeb96.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-CN-json-0c84694ac9a1000f2eda.d.ts → zh-CN-json-75e3e6cf7a1cb55917ed.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-HK-json-a90c2e97d0115af3affe.d.ts → zh-HK-json-696f940b619ce66fe8d2.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-TW-json-a4a2e5b4cc51ab083773.d.ts → zh-TW-json-34674e3698d74ccdf98b.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ar-SA-json-808d2efbf452212f669d.d.ts → ar-SA-json-96e4fe4f95a1be3983be.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bg-BG-json-e9f8c439c703b9c46f8f.d.ts → bg-BG-json-0da12a1e2151c9abeddd.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bn-BD-json-b181d32e04f431472a00.d.ts → bn-BD-json-c6894a7a9379197f0339.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ca-ES-json-b8795d2c06e02f8459d2.d.ts → ca-ES-json-31e2a61e80cf3fc5e692.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{cs-CZ-json-101521a09a7715f909be.d.ts → cs-CZ-json-343789a27d8b5e259601.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{da-DK-json-291963ff7bdf063a3414.d.ts → da-DK-json-fa77dc522933d084c6c6.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{de-DE-json-0dfed44e094e5e7647ea.d.ts → de-DE-json-2600a783fee15a69cacc.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{el-GR-json-6b618647cd5dc299d56b.d.ts → el-GR-json-c5595d65d7aa1fde7a41.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{es-ES-json-93b74ae63ccd847c1735.d.ts → es-ES-json-ad62d132bdf680947bb1.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{eu-ES-json-2ce16fff0331672e3630.d.ts → eu-ES-json-e480895dba843bf8cde0.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fa-IR-json-d8736c460ba5f77209bf.d.ts → fa-IR-json-94f0178e594bf4339882.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fi-FI-json-29f534e1e3daf160eb2c.d.ts → fi-FI-json-37fb26a58706b3949bb1.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fr-FR-json-4a98afe80b0f71441e85.d.ts → fr-FR-json-c966daa00fcfc0689b74.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{gl-ES-json-210eff58e4414a5490e8.d.ts → gl-ES-json-4652301a81ddc5cf642e.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{he-IL-json-9bb31b0b25e5a4e8ebec.d.ts → he-IL-json-8eb84a20c4dca6812a50.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hi-IN-json-568c16b512f4c2c8dc80.d.ts → hi-IN-json-f836b4aefaa6ea897222.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hu-HU-json-a96298a55c135b42996d.d.ts → hu-HU-json-06c7fd881b6f211775f3.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{id-ID-json-cec1d9b72fad17e79219.d.ts → id-ID-json-864c1049b7c1d9c4afa6.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{it-IT-json-2cef8370cf78d9233c2b.d.ts → it-IT-json-d843759aca6069b269dc.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ja-JP-json-ea55175bf36ae67d1486.d.ts → ja-JP-json-56cc5f3aa96171a64a22.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kab-KAB-json-0571060fae93fb1f4655.d.ts → kab-KAB-json-df2b76743a2c3409b1f5.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kk-KZ-json-2c2022e9751e266daf48.d.ts → kk-KZ-json-4f7020bbbed7cb7c32e5.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ko-KR-json-8a4074591f36df4d0c58.d.ts → ko-KR-json-f99bca5d636386cef1d9.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ku-TR-json-7f671260a35125754327.d.ts → ku-TR-json-2729f5ab5a5ff6559d01.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lt-LT-json-6c2e9629a9ba65c0dca7.d.ts → lt-LT-json-3a8687d15506be04a010.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lv-LV-json-a811474717b56be40608.d.ts → lv-LV-json-602964f8d302ae46b08b.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{mr-IN-json-d8ec700e1e33441c238b.d.ts → mr-IN-json-78bc3cb48615cd48e74a.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{my-MM-json-5c3b77241cc063b2c5b0.d.ts → my-MM-json-574ead3f733f6b07b31e.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nb-NO-json-d7ca016e9141141cf6d2.d.ts → nb-NO-json-44f164754214bc9c1baa.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nl-NL-json-1690236e0232b67cd430.d.ts → nl-NL-json-7315dae866197d6cc89a.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nn-NO-json-cd35c740e50d116d56a0.d.ts → nn-NO-json-0842a8c2527c65806122.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{oc-FR-json-54e22feb16f23f963b44.d.ts → oc-FR-json-de0b9a7212e599f039d6.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pa-IN-json-2ad0a6609c7ab52d467d.d.ts → pa-IN-json-dac3ca0c7dc3107d180d.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pl-PL-json-e9d55427ccc0a3ee2287.d.ts → pl-PL-json-54a4380c2eb120f8391a.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-BR-json-b51075fd4a34edc98c62.d.ts → pt-BR-json-7d9b0fb67c76161b2785.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-PT-json-f580e6aa27acd18cf7eb.d.ts → pt-PT-json-77d5ca078872e12eb25b.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ro-RO-json-f62b471f8125751df395.d.ts → ro-RO-json-bddb9c5835477b2cf255.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ru-RU-json-0b36410a81160861bfbe.d.ts → ru-RU-json-8f00196487b21d4c1ce8.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{si-LK-json-338de2463f06f3a76069.d.ts → si-LK-json-13432a6405a3e78d9a36.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sk-SK-json-dc42543f0ffa26f7e2de.d.ts → sk-SK-json-1335b58f9707aa5275fa.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sl-SI-json-79d34e23c08ceec64254.d.ts → sl-SI-json-3f5b456d22c9a71932f3.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sv-SE-json-053d2c3abda7dcc70df7.d.ts → sv-SE-json-99fffeccfd850fe9c2e1.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ta-IN-json-82adc75c8ce42916819b.d.ts → ta-IN-json-4228f65ccc341129ef91.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{tr-TR-json-745c327779771326407a.d.ts → tr-TR-json-4ce84a228518e4c17dda.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{uk-UA-json-a91561233fde5c47199c.d.ts → uk-UA-json-e2259f0f2a3d9e40527c.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{vi-VN-json-da80feb32fd43849da41.d.ts → vi-VN-json-059de236624a1a5c0074.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-CN-json-cfa7b0a95405aae3bd85.d.ts → zh-CN-json-6c5e2f363709b51a4fca.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-HK-json-d549d0545edbb2c9b957.d.ts → zh-HK-json-aee1350572c354c80356.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-TW-json-67cab9706c94be113c72.d.ts → zh-TW-json-eb23779805948ed5342c.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw.development.d.ts +2 -2
- package/types/packages/excalidraw/webpack.dev.config.d.ts +0 -12
- package/types/packages/excalidraw/webpack.prod.config.d.ts +0 -12
- package/types/types.d.ts +10 -7
- package/types/utils.d.ts +6 -3
- package/dist/excalidraw-assets/locales/ar-SA-json-1bb6302a93fa38d23d93.js +0 -1
- package/dist/excalidraw-assets/locales/de-DE-json-f02ac029c64432725793.js +0 -1
- package/dist/excalidraw-assets/locales/el-GR-json-72b6ce23553a9c8e270b.js +0 -1
- package/dist/excalidraw-assets/locales/eu-ES-json-2debb0a180f671e8c417.js +0 -1
- package/dist/excalidraw-assets/locales/gl-ES-json-24ddd1aea2914489d66b.js +0 -1
- package/dist/excalidraw-assets/locales/id-ID-json-7b86bce77d4d5a362f05.js +0 -1
- package/dist/excalidraw-assets/locales/it-IT-json-9ecc203d696bd8ab1e5c.js +0 -1
- package/dist/excalidraw-assets/locales/kab-KAB-json-4cd28c882b4db23990d8.js +0 -1
- package/dist/excalidraw-assets/locales/ko-KR-json-6ee79cc1ac4f34e85f50.js +0 -1
- package/dist/excalidraw-assets/locales/pt-PT-json-37c5101916c53869cd8c.js +0 -1
- package/dist/excalidraw-assets/locales/sk-SK-json-02cfad34246f8cfedd42.js +0 -1
- package/dist/excalidraw-assets-dev/locales/ar-SA-json-808d2efbf452212f669d.js +0 -22
- package/dist/excalidraw-assets-dev/locales/de-DE-json-0dfed44e094e5e7647ea.js +0 -22
- package/dist/excalidraw-assets-dev/locales/el-GR-json-6b618647cd5dc299d56b.js +0 -22
- package/dist/excalidraw-assets-dev/locales/eu-ES-json-2ce16fff0331672e3630.js +0 -22
- package/dist/excalidraw-assets-dev/locales/gl-ES-json-210eff58e4414a5490e8.js +0 -22
- package/dist/excalidraw-assets-dev/locales/id-ID-json-cec1d9b72fad17e79219.js +0 -22
- package/dist/excalidraw-assets-dev/locales/it-IT-json-2cef8370cf78d9233c2b.js +0 -22
- package/dist/excalidraw-assets-dev/locales/kab-KAB-json-0571060fae93fb1f4655.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ko-KR-json-8a4074591f36df4d0c58.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pt-PT-json-f580e6aa27acd18cf7eb.js +0 -22
- package/dist/excalidraw-assets-dev/locales/sk-SK-json-dc42543f0ffa26f7e2de.js +0 -22
|
@@ -1 +1,11 @@
|
|
|
1
1
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* react-jsx-runtime.production.min.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
package/package.json
CHANGED
|
@@ -27,16 +27,15 @@ export declare const actionAddToLibrary: {
|
|
|
27
27
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
28
28
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
29
29
|
activeTool: {
|
|
30
|
-
|
|
31
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
30
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
32
31
|
locked: boolean;
|
|
32
|
+
} & ({
|
|
33
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
33
34
|
customType: null;
|
|
34
35
|
} | {
|
|
35
36
|
type: "custom";
|
|
36
37
|
customType: string;
|
|
37
|
-
|
|
38
|
-
locked: boolean;
|
|
39
|
-
};
|
|
38
|
+
});
|
|
40
39
|
penMode: boolean;
|
|
41
40
|
penDetected: boolean;
|
|
42
41
|
exportBackground: boolean;
|
|
@@ -128,16 +127,15 @@ export declare const actionAddToLibrary: {
|
|
|
128
127
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
129
128
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
130
129
|
activeTool: {
|
|
131
|
-
|
|
132
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
130
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
133
131
|
locked: boolean;
|
|
132
|
+
} & ({
|
|
133
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
134
134
|
customType: null;
|
|
135
135
|
} | {
|
|
136
136
|
type: "custom";
|
|
137
137
|
customType: string;
|
|
138
|
-
|
|
139
|
-
locked: boolean;
|
|
140
|
-
};
|
|
138
|
+
});
|
|
141
139
|
penMode: boolean;
|
|
142
140
|
penDetected: boolean;
|
|
143
141
|
exportBackground: boolean;
|
|
@@ -234,16 +232,15 @@ export declare const actionAddToLibrary: {
|
|
|
234
232
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
235
233
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
236
234
|
activeTool: {
|
|
237
|
-
|
|
238
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
235
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
239
236
|
locked: boolean;
|
|
237
|
+
} & ({
|
|
238
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
240
239
|
customType: null;
|
|
241
240
|
} | {
|
|
242
241
|
type: "custom";
|
|
243
242
|
customType: string;
|
|
244
|
-
|
|
245
|
-
locked: boolean;
|
|
246
|
-
};
|
|
243
|
+
});
|
|
247
244
|
penMode: boolean;
|
|
248
245
|
penDetected: boolean;
|
|
249
246
|
exportBackground: boolean;
|
|
@@ -44,16 +44,15 @@ export declare const actionBindText: {
|
|
|
44
44
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
45
45
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
46
46
|
activeTool: {
|
|
47
|
-
|
|
48
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
47
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
49
48
|
locked: boolean;
|
|
49
|
+
} & ({
|
|
50
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
50
51
|
customType: null;
|
|
51
52
|
} | {
|
|
52
53
|
type: "custom";
|
|
53
54
|
customType: string;
|
|
54
|
-
|
|
55
|
-
locked: boolean;
|
|
56
|
-
};
|
|
55
|
+
});
|
|
57
56
|
penMode: boolean;
|
|
58
57
|
penDetected: boolean;
|
|
59
58
|
exportBackground: boolean;
|
|
@@ -38,16 +38,15 @@ export declare const actionClearCanvas: {
|
|
|
38
38
|
data: import("../charts").Spreadsheet;
|
|
39
39
|
};
|
|
40
40
|
activeTool: {
|
|
41
|
-
|
|
42
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
41
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
43
42
|
locked: boolean;
|
|
43
|
+
} & ({
|
|
44
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
44
45
|
customType: null;
|
|
45
46
|
} | {
|
|
46
47
|
type: "custom";
|
|
47
48
|
customType: string;
|
|
48
|
-
|
|
49
|
-
locked: boolean;
|
|
50
|
-
};
|
|
49
|
+
});
|
|
51
50
|
name: string;
|
|
52
51
|
contextMenu: {
|
|
53
52
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -158,16 +157,15 @@ export declare const actionZoomIn: {
|
|
|
158
157
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
159
158
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
160
159
|
activeTool: {
|
|
161
|
-
|
|
162
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
160
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
163
161
|
locked: boolean;
|
|
162
|
+
} & ({
|
|
163
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
164
164
|
customType: null;
|
|
165
165
|
} | {
|
|
166
166
|
type: "custom";
|
|
167
167
|
customType: string;
|
|
168
|
-
|
|
169
|
-
locked: boolean;
|
|
170
|
-
};
|
|
168
|
+
});
|
|
171
169
|
penMode: boolean;
|
|
172
170
|
penDetected: boolean;
|
|
173
171
|
exportBackground: boolean;
|
|
@@ -276,16 +274,15 @@ export declare const actionZoomOut: {
|
|
|
276
274
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
277
275
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
278
276
|
activeTool: {
|
|
279
|
-
|
|
280
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
277
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
281
278
|
locked: boolean;
|
|
279
|
+
} & ({
|
|
280
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
282
281
|
customType: null;
|
|
283
282
|
} | {
|
|
284
283
|
type: "custom";
|
|
285
284
|
customType: string;
|
|
286
|
-
|
|
287
|
-
locked: boolean;
|
|
288
|
-
};
|
|
285
|
+
});
|
|
289
286
|
penMode: boolean;
|
|
290
287
|
penDetected: boolean;
|
|
291
288
|
exportBackground: boolean;
|
|
@@ -394,16 +391,15 @@ export declare const actionResetZoom: {
|
|
|
394
391
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
395
392
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
396
393
|
activeTool: {
|
|
397
|
-
|
|
398
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
394
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
399
395
|
locked: boolean;
|
|
396
|
+
} & ({
|
|
397
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
400
398
|
customType: null;
|
|
401
399
|
} | {
|
|
402
400
|
type: "custom";
|
|
403
401
|
customType: string;
|
|
404
|
-
|
|
405
|
-
locked: boolean;
|
|
406
|
-
};
|
|
402
|
+
});
|
|
407
403
|
penMode: boolean;
|
|
408
404
|
penDetected: boolean;
|
|
409
405
|
exportBackground: boolean;
|
|
@@ -511,16 +507,15 @@ export declare const actionZoomToSelected: {
|
|
|
511
507
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
512
508
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
513
509
|
activeTool: {
|
|
514
|
-
|
|
515
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
510
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
516
511
|
locked: boolean;
|
|
512
|
+
} & ({
|
|
513
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
517
514
|
customType: null;
|
|
518
515
|
} | {
|
|
519
516
|
type: "custom";
|
|
520
517
|
customType: string;
|
|
521
|
-
|
|
522
|
-
locked: boolean;
|
|
523
|
-
};
|
|
518
|
+
});
|
|
524
519
|
penMode: boolean;
|
|
525
520
|
penDetected: boolean;
|
|
526
521
|
exportBackground: boolean;
|
|
@@ -628,16 +623,15 @@ export declare const actionZoomToFit: {
|
|
|
628
623
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
629
624
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
630
625
|
activeTool: {
|
|
631
|
-
|
|
632
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
626
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
633
627
|
locked: boolean;
|
|
628
|
+
} & ({
|
|
629
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
634
630
|
customType: null;
|
|
635
631
|
} | {
|
|
636
632
|
type: "custom";
|
|
637
633
|
customType: string;
|
|
638
|
-
|
|
639
|
-
locked: boolean;
|
|
640
|
-
};
|
|
634
|
+
});
|
|
641
635
|
penMode: boolean;
|
|
642
636
|
penDetected: boolean;
|
|
643
637
|
exportBackground: boolean;
|
|
@@ -741,16 +735,15 @@ export declare const actionToggleTheme: {
|
|
|
741
735
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
742
736
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
743
737
|
activeTool: {
|
|
744
|
-
|
|
745
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
738
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
746
739
|
locked: boolean;
|
|
740
|
+
} & ({
|
|
741
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
747
742
|
customType: null;
|
|
748
743
|
} | {
|
|
749
744
|
type: "custom";
|
|
750
745
|
customType: string;
|
|
751
|
-
|
|
752
|
-
locked: boolean;
|
|
753
|
-
};
|
|
746
|
+
});
|
|
754
747
|
penMode: boolean;
|
|
755
748
|
penDetected: boolean;
|
|
756
749
|
exportBackground: boolean;
|
|
@@ -832,8 +825,8 @@ export declare const actionToggleTheme: {
|
|
|
832
825
|
} & {
|
|
833
826
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
834
827
|
};
|
|
835
|
-
export declare const
|
|
836
|
-
name: "
|
|
828
|
+
export declare const actionToggleEraserTool: {
|
|
829
|
+
name: "toggleEraserTool";
|
|
837
830
|
trackEvent: {
|
|
838
831
|
category: "toolbar";
|
|
839
832
|
};
|
|
@@ -842,16 +835,126 @@ export declare const actionErase: {
|
|
|
842
835
|
selectedElementIds: {};
|
|
843
836
|
selectedGroupIds: {};
|
|
844
837
|
activeTool: {
|
|
845
|
-
|
|
846
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
838
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
847
839
|
locked: boolean;
|
|
840
|
+
} & ({
|
|
841
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
848
842
|
customType: null;
|
|
849
843
|
} | {
|
|
850
844
|
type: "custom";
|
|
851
845
|
customType: string;
|
|
852
|
-
|
|
853
|
-
|
|
846
|
+
});
|
|
847
|
+
contextMenu: {
|
|
848
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
849
|
+
top: number;
|
|
850
|
+
left: number;
|
|
851
|
+
} | null;
|
|
852
|
+
showWelcomeScreen: boolean;
|
|
853
|
+
isLoading: boolean;
|
|
854
|
+
errorMessage: string | null;
|
|
855
|
+
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
856
|
+
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
857
|
+
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
858
|
+
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
859
|
+
isBindingEnabled: boolean;
|
|
860
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
861
|
+
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
862
|
+
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
863
|
+
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
864
|
+
penMode: boolean;
|
|
865
|
+
penDetected: boolean;
|
|
866
|
+
exportBackground: boolean;
|
|
867
|
+
exportEmbedScene: boolean;
|
|
868
|
+
exportWithDarkMode: boolean;
|
|
869
|
+
exportScale: number;
|
|
870
|
+
currentItemStrokeColor: string;
|
|
871
|
+
currentItemBackgroundColor: string;
|
|
872
|
+
currentItemFillStyle: import("../element/types").FillStyle;
|
|
873
|
+
currentItemStrokeWidth: number;
|
|
874
|
+
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
875
|
+
currentItemRoughness: number;
|
|
876
|
+
currentItemOpacity: number;
|
|
877
|
+
currentItemFontFamily: number;
|
|
878
|
+
currentItemFontSize: number;
|
|
879
|
+
currentItemTextAlign: string;
|
|
880
|
+
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
881
|
+
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
882
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
883
|
+
viewBackgroundColor: string;
|
|
884
|
+
scrollX: number;
|
|
885
|
+
scrollY: number;
|
|
886
|
+
cursorButton: "up" | "down";
|
|
887
|
+
scrolledOutside: boolean;
|
|
888
|
+
name: string;
|
|
889
|
+
isResizing: boolean;
|
|
890
|
+
isRotating: boolean;
|
|
891
|
+
zoom: Readonly<{
|
|
892
|
+
value: NormalizedZoomValue;
|
|
893
|
+
}>;
|
|
894
|
+
openMenu: "canvas" | "shape" | null;
|
|
895
|
+
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
896
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
897
|
+
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
898
|
+
isSidebarDocked: boolean;
|
|
899
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
900
|
+
previousSelectedElementIds: {
|
|
901
|
+
[id: string]: boolean;
|
|
854
902
|
};
|
|
903
|
+
shouldCacheIgnoreZoom: boolean;
|
|
904
|
+
toast: {
|
|
905
|
+
message: string;
|
|
906
|
+
closable?: boolean | undefined;
|
|
907
|
+
duration?: number | undefined;
|
|
908
|
+
} | null;
|
|
909
|
+
zenModeEnabled: boolean;
|
|
910
|
+
theme: string;
|
|
911
|
+
gridSize: number | null;
|
|
912
|
+
viewModeEnabled: boolean;
|
|
913
|
+
editingGroupId: string | null;
|
|
914
|
+
width: number;
|
|
915
|
+
height: number;
|
|
916
|
+
offsetTop: number;
|
|
917
|
+
offsetLeft: number;
|
|
918
|
+
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
919
|
+
collaborators: Map<string, import("../types").Collaborator>;
|
|
920
|
+
showStats: boolean;
|
|
921
|
+
currentChartType: import("../element/types").ChartType;
|
|
922
|
+
pasteDialog: {
|
|
923
|
+
shown: false;
|
|
924
|
+
data: null;
|
|
925
|
+
} | {
|
|
926
|
+
shown: true;
|
|
927
|
+
data: import("../charts").Spreadsheet;
|
|
928
|
+
};
|
|
929
|
+
pendingImageElementId: string | null;
|
|
930
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
931
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
932
|
+
};
|
|
933
|
+
commitToHistory: true;
|
|
934
|
+
};
|
|
935
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
936
|
+
} & {
|
|
937
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
938
|
+
};
|
|
939
|
+
export declare const actionToggleHandTool: {
|
|
940
|
+
name: "toggleHandTool";
|
|
941
|
+
trackEvent: {
|
|
942
|
+
category: "toolbar";
|
|
943
|
+
};
|
|
944
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
|
|
945
|
+
appState: {
|
|
946
|
+
selectedElementIds: {};
|
|
947
|
+
selectedGroupIds: {};
|
|
948
|
+
activeTool: {
|
|
949
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
950
|
+
locked: boolean;
|
|
951
|
+
} & ({
|
|
952
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
953
|
+
customType: null;
|
|
954
|
+
} | {
|
|
955
|
+
type: "custom";
|
|
956
|
+
customType: string;
|
|
957
|
+
});
|
|
855
958
|
contextMenu: {
|
|
856
959
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
857
960
|
top: number;
|
|
@@ -941,7 +1044,6 @@ export declare const actionErase: {
|
|
|
941
1044
|
commitToHistory: true;
|
|
942
1045
|
};
|
|
943
1046
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
944
|
-
PanelComponent: ({ elements, appState, updateData, data }: import("./types").PanelComponentProps) => JSX.Element;
|
|
945
1047
|
} & {
|
|
946
1048
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
947
1049
|
};
|
|
@@ -53,16 +53,15 @@ export declare const actionCut: {
|
|
|
53
53
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
54
54
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
55
55
|
activeTool: {
|
|
56
|
-
|
|
57
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
56
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
58
57
|
locked: boolean;
|
|
58
|
+
} & ({
|
|
59
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
59
60
|
customType: null;
|
|
60
61
|
} | {
|
|
61
62
|
type: "custom";
|
|
62
63
|
customType: string;
|
|
63
|
-
|
|
64
|
-
locked: boolean;
|
|
65
|
-
};
|
|
64
|
+
});
|
|
66
65
|
penMode: boolean;
|
|
67
66
|
penDetected: boolean;
|
|
68
67
|
exportBackground: boolean;
|
|
@@ -188,16 +187,15 @@ export declare const actionCut: {
|
|
|
188
187
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
189
188
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
190
189
|
activeTool: {
|
|
191
|
-
|
|
192
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
190
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
193
191
|
locked: boolean;
|
|
192
|
+
} & ({
|
|
193
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
194
194
|
customType: null;
|
|
195
195
|
} | {
|
|
196
196
|
type: "custom";
|
|
197
197
|
customType: string;
|
|
198
|
-
|
|
199
|
-
locked: boolean;
|
|
200
|
-
};
|
|
198
|
+
});
|
|
201
199
|
penMode: boolean;
|
|
202
200
|
penDetected: boolean;
|
|
203
201
|
exportBackground: boolean;
|
|
@@ -278,16 +276,15 @@ export declare const actionCut: {
|
|
|
278
276
|
elements: import("../element/types").ExcalidrawElement[];
|
|
279
277
|
appState: {
|
|
280
278
|
activeTool: {
|
|
281
|
-
|
|
282
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
279
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
283
280
|
locked: boolean;
|
|
281
|
+
} & ({
|
|
282
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
284
283
|
customType: null;
|
|
285
284
|
} | {
|
|
286
285
|
type: "custom";
|
|
287
286
|
customType: string;
|
|
288
|
-
|
|
289
|
-
locked: boolean;
|
|
290
|
-
};
|
|
287
|
+
});
|
|
291
288
|
multiElement: null;
|
|
292
289
|
selectedElementIds: {};
|
|
293
290
|
contextMenu: {
|
|
@@ -414,16 +411,15 @@ export declare const actionCopyAsSvg: {
|
|
|
414
411
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
415
412
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
416
413
|
activeTool: {
|
|
417
|
-
|
|
418
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
414
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
419
415
|
locked: boolean;
|
|
416
|
+
} & ({
|
|
417
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
420
418
|
customType: null;
|
|
421
419
|
} | {
|
|
422
420
|
type: "custom";
|
|
423
421
|
customType: string;
|
|
424
|
-
|
|
425
|
-
locked: boolean;
|
|
426
|
-
};
|
|
422
|
+
});
|
|
427
423
|
penMode: boolean;
|
|
428
424
|
penDetected: boolean;
|
|
429
425
|
exportBackground: boolean;
|
|
@@ -534,16 +530,15 @@ export declare const actionCopyAsPng: {
|
|
|
534
530
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
535
531
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
536
532
|
activeTool: {
|
|
537
|
-
|
|
538
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
533
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
539
534
|
locked: boolean;
|
|
535
|
+
} & ({
|
|
536
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
540
537
|
customType: null;
|
|
541
538
|
} | {
|
|
542
539
|
type: "custom";
|
|
543
540
|
customType: string;
|
|
544
|
-
|
|
545
|
-
locked: boolean;
|
|
546
|
-
};
|
|
541
|
+
});
|
|
547
542
|
penMode: boolean;
|
|
548
543
|
penDetected: boolean;
|
|
549
544
|
exportBackground: boolean;
|
|
@@ -29,16 +29,15 @@ export declare const actionDeleteSelected: {
|
|
|
29
29
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
30
30
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
31
31
|
activeTool: {
|
|
32
|
-
|
|
33
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
32
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
34
33
|
locked: boolean;
|
|
34
|
+
} & ({
|
|
35
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
35
36
|
customType: null;
|
|
36
37
|
} | {
|
|
37
38
|
type: "custom";
|
|
38
39
|
customType: string;
|
|
39
|
-
|
|
40
|
-
locked: boolean;
|
|
41
|
-
};
|
|
40
|
+
});
|
|
42
41
|
penMode: boolean;
|
|
43
42
|
penDetected: boolean;
|
|
44
43
|
exportBackground: boolean;
|
|
@@ -164,16 +163,15 @@ export declare const actionDeleteSelected: {
|
|
|
164
163
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
165
164
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
166
165
|
activeTool: {
|
|
167
|
-
|
|
168
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
166
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
169
167
|
locked: boolean;
|
|
168
|
+
} & ({
|
|
169
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
170
170
|
customType: null;
|
|
171
171
|
} | {
|
|
172
172
|
type: "custom";
|
|
173
173
|
customType: string;
|
|
174
|
-
|
|
175
|
-
locked: boolean;
|
|
176
|
-
};
|
|
174
|
+
});
|
|
177
175
|
penMode: boolean;
|
|
178
176
|
penDetected: boolean;
|
|
179
177
|
exportBackground: boolean;
|
|
@@ -254,16 +252,15 @@ export declare const actionDeleteSelected: {
|
|
|
254
252
|
elements: ExcalidrawElement[];
|
|
255
253
|
appState: {
|
|
256
254
|
activeTool: {
|
|
257
|
-
|
|
258
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
255
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
259
256
|
locked: boolean;
|
|
257
|
+
} & ({
|
|
258
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
260
259
|
customType: null;
|
|
261
260
|
} | {
|
|
262
261
|
type: "custom";
|
|
263
262
|
customType: string;
|
|
264
|
-
|
|
265
|
-
locked: boolean;
|
|
266
|
-
};
|
|
263
|
+
});
|
|
267
264
|
multiElement: null;
|
|
268
265
|
selectedElementIds: {};
|
|
269
266
|
contextMenu: {
|