@dwelle/excalidraw 0.3.78 → 0.12.0-fork
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-3f3939003e50137eb96e.js +1 -0
- package/dist/excalidraw-assets/locales/bg-BG-json-41978e51de89ecb69832.js +1 -0
- package/dist/excalidraw-assets/locales/bn-BD-json-270049304edfc328feb0.js +1 -0
- package/dist/excalidraw-assets/locales/ca-ES-json-2e2ec4a6db0dadecd932.js +1 -0
- package/dist/excalidraw-assets/locales/cs-CZ-json-294f73284f7603f8b308.js +1 -0
- package/dist/excalidraw-assets/locales/da-DK-json-7cec75a31335c8eaab69.js +1 -0
- package/dist/excalidraw-assets/locales/de-DE-json-b972f335652b31abc478.js +1 -0
- package/dist/excalidraw-assets/locales/el-GR-json-0a17ab9d0298049bcf5f.js +1 -0
- package/dist/excalidraw-assets/locales/es-ES-json-2a821ff3ff417c43b325.js +1 -0
- package/dist/excalidraw-assets/locales/eu-ES-json-807880ff10379aea34f5.js +1 -0
- package/dist/excalidraw-assets/locales/fa-IR-json-30ce6b716d375cd90b9b.js +1 -0
- package/dist/excalidraw-assets/locales/fi-FI-json-d71c23aabcb9ca7449d9.js +1 -0
- package/dist/excalidraw-assets/locales/fr-FR-json-d53486b6942cd134938f.js +1 -0
- package/dist/excalidraw-assets/locales/gl-ES-json-24b9a50f57184ae44f99.js +1 -0
- package/dist/excalidraw-assets/locales/he-IL-json-f91ace474afb01d8f3ed.js +1 -0
- package/dist/excalidraw-assets/locales/hi-IN-json-9af974be0987a846db82.js +1 -0
- package/dist/excalidraw-assets/locales/hu-HU-json-dd5d9a15eb412598f794.js +1 -0
- package/dist/excalidraw-assets/locales/id-ID-json-acdf1f60176cd026af64.js +1 -0
- package/dist/excalidraw-assets/locales/it-IT-json-790983f96414735e8451.js +1 -0
- package/dist/excalidraw-assets/locales/ja-JP-json-b57e6afb227d9247b3c8.js +1 -0
- package/dist/excalidraw-assets/locales/kab-KAB-json-b3aced3d4ddccfb4127d.js +1 -0
- package/dist/excalidraw-assets/locales/kk-KZ-json-6f477840db7f293c3ff3.js +1 -0
- package/dist/excalidraw-assets/locales/ko-KR-json-d2e67336d6b43a42ff1e.js +1 -0
- package/dist/excalidraw-assets/locales/lt-LT-json-1a57a9a7596eb235b3e5.js +1 -0
- package/dist/excalidraw-assets/locales/lv-LV-json-40863b1530d2015aa72e.js +1 -0
- package/dist/excalidraw-assets/locales/mr-IN-json-3295641c432b154ab60f.js +1 -0
- package/dist/excalidraw-assets/locales/my-MM-json-dc1320c2d6c1adca77d0.js +1 -0
- package/dist/excalidraw-assets/locales/nb-NO-json-f073266126f35722bd87.js +1 -0
- package/dist/excalidraw-assets/locales/nl-NL-json-5d4a291a77a27fadddc1.js +1 -0
- package/dist/excalidraw-assets/locales/nn-NO-json-9fe14d0a715c691bb9aa.js +1 -0
- package/dist/excalidraw-assets/locales/oc-FR-json-b7a10ed3433fcb6dd59a.js +1 -0
- package/dist/excalidraw-assets/locales/pa-IN-json-e11565cbf1ccc3a53a3b.js +1 -0
- package/dist/excalidraw-assets/locales/pl-PL-json-843eb6fd0616dace3255.js +1 -0
- package/dist/excalidraw-assets/locales/pt-BR-json-e24132703235bd25ba2f.js +1 -0
- package/dist/excalidraw-assets/locales/pt-PT-json-0501abbca76504a7d110.js +1 -0
- package/dist/excalidraw-assets/locales/ro-RO-json-79dbe0225dfe06a010a6.js +1 -0
- package/dist/excalidraw-assets/locales/ru-RU-json-1d73c3f8bae6d1f3d779.js +1 -0
- package/dist/excalidraw-assets/locales/si-LK-json-dfe5be591dc8bbe15cd1.js +1 -0
- package/dist/excalidraw-assets/locales/sk-SK-json-bd7dbe4c1e42c016fcb5.js +1 -0
- package/dist/excalidraw-assets/locales/sl-SI-json-85c2d64d8aa86fcd537e.js +1 -0
- package/dist/excalidraw-assets/locales/sv-SE-json-74107fd3674c60fbe593.js +1 -0
- package/dist/excalidraw-assets/locales/ta-IN-json-c5b41d8c83aab479a2c6.js +1 -0
- package/dist/excalidraw-assets/locales/tr-TR-json-75f46a2579a01cf32ba7.js +1 -0
- package/dist/excalidraw-assets/locales/uk-UA-json-f5b7b281f867489710d7.js +1 -0
- package/dist/excalidraw-assets/locales/vi-VN-json-a56a1980b98f933cd604.js +1 -0
- package/dist/excalidraw-assets/locales/zh-CN-json-af7e4dc6eb1d97a22272.js +1 -0
- package/dist/excalidraw-assets/locales/zh-HK-json-d0511bd8842fe92cc42e.js +1 -0
- package/dist/excalidraw-assets/locales/zh-TW-json-43bef01a6edb6e4da73c.js +1 -0
- package/dist/excalidraw-assets-dev/locales/ar-SA-json-684b5e25f971902bd933.js +22 -0
- package/dist/excalidraw-assets-dev/locales/bg-BG-json-d78c84e8962f5d754019.js +22 -0
- package/dist/excalidraw-assets-dev/locales/bn-BD-json-79007d6cd3d09b6c1e82.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ca-ES-json-84b33ecd3096b99533c1.js +22 -0
- package/dist/excalidraw-assets-dev/locales/cs-CZ-json-1d48380fd54bd715a21c.js +22 -0
- package/dist/excalidraw-assets-dev/locales/da-DK-json-9dc062ac2b2aee3ad4ec.js +22 -0
- package/dist/excalidraw-assets-dev/locales/de-DE-json-2d48c0ec0901cee81272.js +22 -0
- package/dist/excalidraw-assets-dev/locales/el-GR-json-8ec22bd0cbf376e3ba5d.js +22 -0
- package/dist/excalidraw-assets-dev/locales/es-ES-json-5dd577ba17baf0f4382c.js +22 -0
- package/dist/excalidraw-assets-dev/locales/eu-ES-json-9ba2e12372db6b5be813.js +22 -0
- package/dist/excalidraw-assets-dev/locales/fa-IR-json-9866fde07b07d55f2cb9.js +22 -0
- package/dist/excalidraw-assets-dev/locales/fi-FI-json-2dcf087c4ff34b8a8ad7.js +22 -0
- package/dist/excalidraw-assets-dev/locales/fr-FR-json-e4bbc872fed09a689b27.js +22 -0
- package/dist/excalidraw-assets-dev/locales/gl-ES-json-4ab7103bd7905741cf7e.js +22 -0
- package/dist/excalidraw-assets-dev/locales/he-IL-json-abac6b158c54984aecba.js +22 -0
- package/dist/excalidraw-assets-dev/locales/hi-IN-json-3aba9d37f6dae9ca2445.js +22 -0
- package/dist/excalidraw-assets-dev/locales/hu-HU-json-8d604fcc349f93bc4440.js +22 -0
- package/dist/excalidraw-assets-dev/locales/id-ID-json-6d9b771568900ad6f055.js +22 -0
- package/dist/excalidraw-assets-dev/locales/it-IT-json-7086cd6c6f1f61016ba1.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ja-JP-json-d864fb849b2a3874b290.js +22 -0
- package/dist/excalidraw-assets-dev/locales/kab-KAB-json-c69f8a1079a411de837c.js +22 -0
- package/dist/excalidraw-assets-dev/locales/kk-KZ-json-8c7f34edcdac22c11c72.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ko-KR-json-c80065dfa01e02f28695.js +22 -0
- package/dist/excalidraw-assets-dev/locales/lt-LT-json-edaae0abc84fb205ee70.js +22 -0
- package/dist/excalidraw-assets-dev/locales/lv-LV-json-21cc252dcf4524c98e55.js +22 -0
- package/dist/excalidraw-assets-dev/locales/mr-IN-json-d28b9664c21ee08d79eb.js +22 -0
- package/dist/excalidraw-assets-dev/locales/my-MM-json-56d51a30e815283e7260.js +22 -0
- package/dist/excalidraw-assets-dev/locales/nb-NO-json-827603cac737fb4bb00f.js +22 -0
- package/dist/excalidraw-assets-dev/locales/nl-NL-json-9c5c4b7bfbfe3328e561.js +22 -0
- package/dist/excalidraw-assets-dev/locales/nn-NO-json-cb21e50c1afeb6a8f01d.js +22 -0
- package/dist/excalidraw-assets-dev/locales/oc-FR-json-bec2ee705e7d3980fd61.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pa-IN-json-189c7e5cad9e781f0ce5.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pl-PL-json-9cc770276a511a05e638.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pt-BR-json-788b2c323ae4afd36853.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pt-PT-json-4f16b87e256eb838c91a.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ro-RO-json-9ac079b4af3b20377160.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ru-RU-json-eda247a0b10c11a51eec.js +22 -0
- package/dist/excalidraw-assets-dev/locales/si-LK-json-ee3083905b0cf879022d.js +22 -0
- package/dist/excalidraw-assets-dev/locales/sk-SK-json-03a80aeb3e09f77b1be6.js +22 -0
- package/dist/excalidraw-assets-dev/locales/sl-SI-json-55f372eebf814a422031.js +22 -0
- package/dist/excalidraw-assets-dev/locales/sv-SE-json-ca85dde4f9c34d5ee346.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ta-IN-json-f9d1822384bc4ce086b6.js +22 -0
- package/dist/excalidraw-assets-dev/locales/tr-TR-json-30a4d84bda3152292dbe.js +22 -0
- package/dist/excalidraw-assets-dev/locales/uk-UA-json-b271ae2bf2e210aa582b.js +22 -0
- package/dist/excalidraw-assets-dev/locales/vi-VN-json-9a1f8e4ce0b77e05baa7.js +22 -0
- package/dist/excalidraw-assets-dev/locales/zh-CN-json-29856d6541bf2cbd6aea.js +22 -0
- package/dist/excalidraw-assets-dev/locales/zh-HK-json-8bb0f0928ccbce98f995.js +22 -0
- package/dist/excalidraw-assets-dev/locales/zh-TW-json-517b39d1a3184844b4d7.js +22 -0
- package/dist/excalidraw.development.js +285 -59
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +7 -2
- package/main.js +1 -4
- package/package.json +13 -6
- package/types/actions/actionAddToLibrary.d.ts +0 -3
- package/types/actions/actionAlign.d.ts +6 -6
- package/types/actions/actionBoundText.d.ts +0 -1
- package/types/actions/actionCanvas.d.ts +7 -15
- package/types/actions/actionClipboard.d.ts +0 -6
- package/types/actions/actionDeleteSelected.d.ts +1 -5
- package/types/actions/actionDistribute.d.ts +2 -2
- package/types/actions/actionDuplicateSelection.d.ts +1 -1
- package/types/actions/actionExport.d.ts +8 -17
- package/types/actions/actionFinalize.d.ts +1 -3
- package/types/actions/actionGroup.d.ts +2 -2
- package/types/actions/actionMenu.d.ts +3 -6
- package/types/actions/actionNavigate.d.ts +2 -1
- package/types/actions/actionProperties.d.ts +13 -26
- package/types/actions/actionSelectAll.d.ts +1 -1
- package/types/actions/actionStyles.d.ts +0 -1
- package/types/actions/actionToggleGridMode.d.ts +0 -1
- package/types/actions/actionToggleLock.d.ts +1 -99
- package/types/actions/actionToggleStats.d.ts +0 -1
- package/types/actions/actionToggleViewMode.d.ts +0 -1
- package/types/actions/actionToggleZenMode.d.ts +0 -1
- package/types/actions/actionZindex.d.ts +4 -4
- package/types/appState.d.ts +0 -1
- package/types/components/ActiveFile.d.ts +1 -0
- package/types/components/App.d.ts +3 -162
- package/types/components/ButtonIconSelect.d.ts +1 -0
- package/types/components/Card.d.ts +0 -1
- package/types/components/CheckboxItem.d.ts +0 -1
- package/types/components/ClearCanvas.d.ts +1 -0
- package/types/components/CollabButton.d.ts +1 -0
- package/types/components/ColorPicker.d.ts +1 -0
- package/types/components/ConfirmDialog.d.ts +1 -0
- package/types/components/DarkModeToggle.d.ts +1 -0
- package/types/components/ErrorDialog.d.ts +1 -0
- package/types/components/HelpDialog.d.ts +1 -0
- package/types/components/HelpIcon.d.ts +1 -0
- package/types/components/HintViewer.d.ts +1 -0
- package/types/components/IconPicker.d.ts +1 -0
- package/types/components/ImageExportDialog.d.ts +1 -0
- package/types/components/JSONExportDialog.d.ts +3 -2
- package/types/components/LayerUI.d.ts +1 -2
- package/types/components/LibraryMenu.d.ts +1 -0
- package/types/components/LibraryUnit.d.ts +1 -0
- package/types/components/LockButton.d.ts +1 -0
- package/types/components/MobileMenu.d.ts +3 -5
- package/types/components/Modal.d.ts +2 -2
- package/types/components/PenModeButton.d.ts +1 -0
- package/types/components/ProjectName.d.ts +1 -0
- package/types/components/PublishLibrary.d.ts +1 -0
- package/types/components/Section.d.ts +5 -4
- package/types/components/SidebarLockButton.d.ts +1 -0
- package/types/components/SingleLibraryItem.d.ts +1 -0
- package/types/components/Spinner.d.ts +1 -0
- package/types/components/Toast.d.ts +1 -0
- package/types/components/UserList.d.ts +0 -1
- package/types/components/icons.d.ts +0 -1
- package/types/constants.d.ts +3 -7
- package/types/element/Hyperlink.d.ts +1 -2
- package/types/element/index.d.ts +1 -1
- package/types/element/linearElementEditor.d.ts +5 -9
- package/types/element/sizeHelpers.d.ts +0 -4
- package/types/keys.d.ts +1 -1
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/ar-SA-json-3f3939003e50137eb96e.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/bg-BG-json-41978e51de89ecb69832.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/bn-BD-json-270049304edfc328feb0.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/ca-ES-json-2e2ec4a6db0dadecd932.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/cs-CZ-json-294f73284f7603f8b308.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/da-DK-json-7cec75a31335c8eaab69.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/de-DE-json-b972f335652b31abc478.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/el-GR-json-0a17ab9d0298049bcf5f.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/es-ES-json-2a821ff3ff417c43b325.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/eu-ES-json-807880ff10379aea34f5.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/fa-IR-json-30ce6b716d375cd90b9b.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/fi-FI-json-d71c23aabcb9ca7449d9.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/fr-FR-json-d53486b6942cd134938f.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/gl-ES-json-24b9a50f57184ae44f99.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/he-IL-json-f91ace474afb01d8f3ed.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/hi-IN-json-9af974be0987a846db82.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/hu-HU-json-dd5d9a15eb412598f794.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/id-ID-json-acdf1f60176cd026af64.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/it-IT-json-790983f96414735e8451.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/ja-JP-json-b57e6afb227d9247b3c8.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/kab-KAB-json-b3aced3d4ddccfb4127d.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/kk-KZ-json-6f477840db7f293c3ff3.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/ko-KR-json-d2e67336d6b43a42ff1e.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/lt-LT-json-1a57a9a7596eb235b3e5.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/lv-LV-json-40863b1530d2015aa72e.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/mr-IN-json-3295641c432b154ab60f.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/my-MM-json-dc1320c2d6c1adca77d0.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/nb-NO-json-f073266126f35722bd87.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/nl-NL-json-5d4a291a77a27fadddc1.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/nn-NO-json-9fe14d0a715c691bb9aa.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/oc-FR-json-b7a10ed3433fcb6dd59a.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/pa-IN-json-e11565cbf1ccc3a53a3b.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/pl-PL-json-843eb6fd0616dace3255.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/pt-BR-json-e24132703235bd25ba2f.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/pt-PT-json-0501abbca76504a7d110.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/ro-RO-json-79dbe0225dfe06a010a6.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/ru-RU-json-1d73c3f8bae6d1f3d779.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/si-LK-json-dfe5be591dc8bbe15cd1.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/sk-SK-json-bd7dbe4c1e42c016fcb5.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/sl-SI-json-85c2d64d8aa86fcd537e.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/sv-SE-json-74107fd3674c60fbe593.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/ta-IN-json-c5b41d8c83aab479a2c6.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/tr-TR-json-75f46a2579a01cf32ba7.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/uk-UA-json-f5b7b281f867489710d7.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/vi-VN-json-a56a1980b98f933cd604.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/zh-CN-json-af7e4dc6eb1d97a22272.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/zh-HK-json-d0511bd8842fe92cc42e.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/zh-TW-json-43bef01a6edb6e4da73c.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ar-SA-json-684b5e25f971902bd933.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/bg-BG-json-d78c84e8962f5d754019.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/bn-BD-json-79007d6cd3d09b6c1e82.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ca-ES-json-84b33ecd3096b99533c1.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/cs-CZ-json-1d48380fd54bd715a21c.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/da-DK-json-9dc062ac2b2aee3ad4ec.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/de-DE-json-2d48c0ec0901cee81272.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/el-GR-json-8ec22bd0cbf376e3ba5d.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/es-ES-json-5dd577ba17baf0f4382c.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/eu-ES-json-9ba2e12372db6b5be813.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/fa-IR-json-9866fde07b07d55f2cb9.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/fi-FI-json-2dcf087c4ff34b8a8ad7.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/fr-FR-json-e4bbc872fed09a689b27.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/gl-ES-json-4ab7103bd7905741cf7e.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/he-IL-json-abac6b158c54984aecba.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/hi-IN-json-3aba9d37f6dae9ca2445.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/hu-HU-json-8d604fcc349f93bc4440.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/id-ID-json-6d9b771568900ad6f055.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/it-IT-json-7086cd6c6f1f61016ba1.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ja-JP-json-d864fb849b2a3874b290.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/kab-KAB-json-c69f8a1079a411de837c.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/kk-KZ-json-8c7f34edcdac22c11c72.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ko-KR-json-c80065dfa01e02f28695.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/lt-LT-json-edaae0abc84fb205ee70.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/lv-LV-json-21cc252dcf4524c98e55.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/mr-IN-json-d28b9664c21ee08d79eb.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/my-MM-json-56d51a30e815283e7260.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/nb-NO-json-827603cac737fb4bb00f.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/nl-NL-json-9c5c4b7bfbfe3328e561.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/nn-NO-json-cb21e50c1afeb6a8f01d.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/oc-FR-json-bec2ee705e7d3980fd61.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/pa-IN-json-189c7e5cad9e781f0ce5.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/pl-PL-json-9cc770276a511a05e638.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/pt-BR-json-788b2c323ae4afd36853.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/pt-PT-json-4f16b87e256eb838c91a.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ro-RO-json-9ac079b4af3b20377160.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ru-RU-json-eda247a0b10c11a51eec.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/si-LK-json-ee3083905b0cf879022d.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/sk-SK-json-03a80aeb3e09f77b1be6.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/sl-SI-json-55f372eebf814a422031.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/sv-SE-json-ca85dde4f9c34d5ee346.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/ta-IN-json-f9d1822384bc4ce086b6.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/tr-TR-json-30a4d84bda3152292dbe.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/uk-UA-json-b271ae2bf2e210aa582b.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/vi-VN-json-9a1f8e4ce0b77e05baa7.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/zh-CN-json-29856d6541bf2cbd6aea.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/zh-HK-json-8bb0f0928ccbce98f995.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/zh-TW-json-517b39d1a3184844b4d7.d.ts +2 -0
- package/types/packages/excalidraw/example/App.d.ts +1 -0
- package/types/packages/excalidraw/index.d.ts +1 -4
- package/types/renderer/renderElement.d.ts +1 -2
- package/types/shapes.d.ts +1 -0
- package/types/types.d.ts +9 -23
package/main.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
if (
|
|
2
|
-
process.env.NODE_ENV === "production" ||
|
|
3
|
-
window.__excalidraw_env__ === "production"
|
|
4
|
-
) {
|
|
1
|
+
if (process.env.NODE_ENV === "production") {
|
|
5
2
|
module.exports = require("./dist/excalidraw.production.min.js");
|
|
6
3
|
} else {
|
|
7
4
|
module.exports = require("./dist/excalidraw.development.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dwelle/excalidraw",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0-fork",
|
|
4
4
|
"main": "main.js",
|
|
5
5
|
"types": "types/packages/excalidraw/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -11,8 +11,15 @@
|
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
13
|
"description": "Excalidraw as a React component",
|
|
14
|
+
"repository": "https://github.com/excalidraw/excalidraw",
|
|
14
15
|
"license": "MIT",
|
|
15
|
-
"keywords": [
|
|
16
|
+
"keywords": [
|
|
17
|
+
"excalidraw",
|
|
18
|
+
"excalidraw-embed",
|
|
19
|
+
"react",
|
|
20
|
+
"npm",
|
|
21
|
+
"npm excalidraw"
|
|
22
|
+
],
|
|
16
23
|
"browserslist": {
|
|
17
24
|
"production": [
|
|
18
25
|
">0.2%",
|
|
@@ -33,8 +40,8 @@
|
|
|
33
40
|
]
|
|
34
41
|
},
|
|
35
42
|
"peerDependencies": {
|
|
36
|
-
"react": "^17.0.2
|
|
37
|
-
"react-dom": "^17.0.2
|
|
43
|
+
"react": "^17.0.2",
|
|
44
|
+
"react-dom": "^17.0.2"
|
|
38
45
|
},
|
|
39
46
|
"devDependencies": {
|
|
40
47
|
"@babel/core": "7.18.9",
|
|
@@ -63,7 +70,7 @@
|
|
|
63
70
|
"webpack-dev-server": "4.9.3",
|
|
64
71
|
"webpack-merge": "5.8.0"
|
|
65
72
|
},
|
|
66
|
-
"
|
|
73
|
+
"bugs": "https://github.com/excalidraw/excalidraw/issues",
|
|
67
74
|
"homepage": "https://github.com/excalidraw/excalidraw/tree/master/src/packages/excalidraw",
|
|
68
75
|
"scripts": {
|
|
69
76
|
"gen:types": "tsc --project ../../../tsconfig-types.json",
|
|
@@ -72,6 +79,6 @@
|
|
|
72
79
|
"pack": "yarn build:umd && yarn pack",
|
|
73
80
|
"start": "webpack serve --config webpack.dev-server.config.js",
|
|
74
81
|
"install:deps": "yarn install --frozen-lockfile && yarn --cwd ../../../",
|
|
75
|
-
"build:example": "EXAMPLE=true webpack --config webpack.dev-server.config.js
|
|
82
|
+
"build:example": "EXAMPLE=true webpack --config webpack.dev-server.config.js"
|
|
76
83
|
}
|
|
77
84
|
}
|
|
@@ -100,7 +100,6 @@ export declare const actionAddToLibrary: {
|
|
|
100
100
|
};
|
|
101
101
|
pendingImageElementId: string | null;
|
|
102
102
|
showHyperlinkPopup: false | "info" | "editor";
|
|
103
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
104
103
|
};
|
|
105
104
|
} | {
|
|
106
105
|
commitToHistory: false;
|
|
@@ -201,7 +200,6 @@ export declare const actionAddToLibrary: {
|
|
|
201
200
|
};
|
|
202
201
|
pendingImageElementId: string | null;
|
|
203
202
|
showHyperlinkPopup: false | "info" | "editor";
|
|
204
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
205
203
|
};
|
|
206
204
|
}> | {
|
|
207
205
|
commitToHistory: false;
|
|
@@ -302,7 +300,6 @@ export declare const actionAddToLibrary: {
|
|
|
302
300
|
};
|
|
303
301
|
pendingImageElementId: string | null;
|
|
304
302
|
showHyperlinkPopup: false | "info" | "editor";
|
|
305
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
306
303
|
};
|
|
307
304
|
};
|
|
308
305
|
contextItemLabel: string;
|
|
@@ -12,7 +12,7 @@ export declare const actionAlignTop: {
|
|
|
12
12
|
commitToHistory: true;
|
|
13
13
|
};
|
|
14
14
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
15
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
15
|
+
PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
16
16
|
} & {
|
|
17
17
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
18
18
|
};
|
|
@@ -27,7 +27,7 @@ export declare const actionAlignBottom: {
|
|
|
27
27
|
commitToHistory: true;
|
|
28
28
|
};
|
|
29
29
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
30
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
30
|
+
PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
31
31
|
} & {
|
|
32
32
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
33
33
|
};
|
|
@@ -42,7 +42,7 @@ export declare const actionAlignLeft: {
|
|
|
42
42
|
commitToHistory: true;
|
|
43
43
|
};
|
|
44
44
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
45
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
45
|
+
PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
46
46
|
} & {
|
|
47
47
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
48
48
|
};
|
|
@@ -57,7 +57,7 @@ export declare const actionAlignRight: {
|
|
|
57
57
|
commitToHistory: true;
|
|
58
58
|
};
|
|
59
59
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
60
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
60
|
+
PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
61
61
|
} & {
|
|
62
62
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
63
63
|
};
|
|
@@ -71,7 +71,7 @@ export declare const actionAlignVerticallyCentered: {
|
|
|
71
71
|
elements: ExcalidrawElement[];
|
|
72
72
|
commitToHistory: true;
|
|
73
73
|
};
|
|
74
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
74
|
+
PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
75
75
|
} & {
|
|
76
76
|
keyTest?: undefined;
|
|
77
77
|
};
|
|
@@ -85,7 +85,7 @@ export declare const actionAlignHorizontallyCentered: {
|
|
|
85
85
|
elements: ExcalidrawElement[];
|
|
86
86
|
commitToHistory: true;
|
|
87
87
|
};
|
|
88
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
88
|
+
PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
89
89
|
} & {
|
|
90
90
|
keyTest?: undefined;
|
|
91
91
|
};
|
|
@@ -119,7 +119,6 @@ export declare const actionBindText: {
|
|
|
119
119
|
};
|
|
120
120
|
pendingImageElementId: string | null;
|
|
121
121
|
showHyperlinkPopup: false | "info" | "editor";
|
|
122
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
123
122
|
};
|
|
124
123
|
commitToHistory: true;
|
|
125
124
|
};
|
|
@@ -8,7 +8,7 @@ export declare const actionChangeViewBackgroundColor: {
|
|
|
8
8
|
appState: any;
|
|
9
9
|
commitToHistory: boolean;
|
|
10
10
|
};
|
|
11
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
11
|
+
PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
12
12
|
} & {
|
|
13
13
|
keyTest?: undefined;
|
|
14
14
|
};
|
|
@@ -113,11 +113,10 @@ export declare const actionClearCanvas: {
|
|
|
113
113
|
currentChartType: import("../element/types").ChartType;
|
|
114
114
|
pendingImageElementId: string | null;
|
|
115
115
|
showHyperlinkPopup: false | "info" | "editor";
|
|
116
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
117
116
|
};
|
|
118
117
|
commitToHistory: true;
|
|
119
118
|
};
|
|
120
|
-
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
119
|
+
PanelComponent: ({ updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
121
120
|
} & {
|
|
122
121
|
keyTest?: undefined;
|
|
123
122
|
};
|
|
@@ -224,11 +223,10 @@ export declare const actionZoomIn: {
|
|
|
224
223
|
};
|
|
225
224
|
pendingImageElementId: string | null;
|
|
226
225
|
showHyperlinkPopup: false | "info" | "editor";
|
|
227
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
228
226
|
};
|
|
229
227
|
commitToHistory: false;
|
|
230
228
|
};
|
|
231
|
-
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
229
|
+
PanelComponent: ({ updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
232
230
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
233
231
|
} & {
|
|
234
232
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -336,11 +334,10 @@ export declare const actionZoomOut: {
|
|
|
336
334
|
};
|
|
337
335
|
pendingImageElementId: string | null;
|
|
338
336
|
showHyperlinkPopup: false | "info" | "editor";
|
|
339
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
340
337
|
};
|
|
341
338
|
commitToHistory: false;
|
|
342
339
|
};
|
|
343
|
-
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
340
|
+
PanelComponent: ({ updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
344
341
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
345
342
|
} & {
|
|
346
343
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -448,11 +445,10 @@ export declare const actionResetZoom: {
|
|
|
448
445
|
};
|
|
449
446
|
pendingImageElementId: string | null;
|
|
450
447
|
showHyperlinkPopup: false | "info" | "editor";
|
|
451
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
452
448
|
};
|
|
453
449
|
commitToHistory: false;
|
|
454
450
|
};
|
|
455
|
-
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
|
|
451
|
+
PanelComponent: ({ updateData, appState }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
456
452
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
457
453
|
} & {
|
|
458
454
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -560,7 +556,6 @@ export declare const actionZoomToSelected: {
|
|
|
560
556
|
};
|
|
561
557
|
pendingImageElementId: string | null;
|
|
562
558
|
showHyperlinkPopup: false | "info" | "editor";
|
|
563
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
564
559
|
};
|
|
565
560
|
commitToHistory: boolean;
|
|
566
561
|
};
|
|
@@ -671,7 +666,6 @@ export declare const actionZoomToFit: {
|
|
|
671
666
|
};
|
|
672
667
|
pendingImageElementId: string | null;
|
|
673
668
|
showHyperlinkPopup: false | "info" | "editor";
|
|
674
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
675
669
|
};
|
|
676
670
|
commitToHistory: boolean;
|
|
677
671
|
};
|
|
@@ -782,11 +776,10 @@ export declare const actionToggleTheme: {
|
|
|
782
776
|
};
|
|
783
777
|
pendingImageElementId: string | null;
|
|
784
778
|
showHyperlinkPopup: false | "info" | "editor";
|
|
785
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
786
779
|
};
|
|
787
780
|
commitToHistory: false;
|
|
788
781
|
};
|
|
789
|
-
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
782
|
+
PanelComponent: ({ appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
790
783
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
791
784
|
} & {
|
|
792
785
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -890,12 +883,11 @@ export declare const actionErase: {
|
|
|
890
883
|
};
|
|
891
884
|
pendingImageElementId: string | null;
|
|
892
885
|
showHyperlinkPopup: false | "info" | "editor";
|
|
893
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
894
886
|
};
|
|
895
887
|
commitToHistory: true;
|
|
896
888
|
};
|
|
897
889
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
898
|
-
PanelComponent: ({ elements, appState, updateData, data }: import("./types").PanelComponentProps) => JSX.Element;
|
|
890
|
+
PanelComponent: ({ elements, appState, updateData, data }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
899
891
|
} & {
|
|
900
892
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
901
893
|
};
|
|
@@ -116,7 +116,6 @@ export declare const actionCut: {
|
|
|
116
116
|
};
|
|
117
117
|
pendingImageElementId: string | null;
|
|
118
118
|
showHyperlinkPopup: false | "info" | "editor";
|
|
119
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
120
119
|
};
|
|
121
120
|
commitToHistory: false;
|
|
122
121
|
} | {
|
|
@@ -139,7 +138,6 @@ export declare const actionCut: {
|
|
|
139
138
|
x: number;
|
|
140
139
|
y: number;
|
|
141
140
|
}>;
|
|
142
|
-
hoverPointIndex: number;
|
|
143
141
|
};
|
|
144
142
|
isLoading: boolean;
|
|
145
143
|
errorMessage: string | null;
|
|
@@ -236,7 +234,6 @@ export declare const actionCut: {
|
|
|
236
234
|
};
|
|
237
235
|
pendingImageElementId: string | null;
|
|
238
236
|
showHyperlinkPopup: false | "info" | "editor";
|
|
239
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
240
237
|
};
|
|
241
238
|
commitToHistory: true;
|
|
242
239
|
} | {
|
|
@@ -336,7 +333,6 @@ export declare const actionCut: {
|
|
|
336
333
|
};
|
|
337
334
|
pendingImageElementId: string | null;
|
|
338
335
|
showHyperlinkPopup: false | "info" | "editor";
|
|
339
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
340
336
|
};
|
|
341
337
|
commitToHistory: boolean;
|
|
342
338
|
};
|
|
@@ -451,7 +447,6 @@ export declare const actionCopyAsSvg: {
|
|
|
451
447
|
};
|
|
452
448
|
pendingImageElementId: string | null;
|
|
453
449
|
showHyperlinkPopup: false | "info" | "editor";
|
|
454
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
455
450
|
};
|
|
456
451
|
commitToHistory: false;
|
|
457
452
|
}>;
|
|
@@ -565,7 +560,6 @@ export declare const actionCopyAsPng: {
|
|
|
565
560
|
};
|
|
566
561
|
pendingImageElementId: string | null;
|
|
567
562
|
showHyperlinkPopup: false | "info" | "editor";
|
|
568
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
569
563
|
};
|
|
570
564
|
commitToHistory: false;
|
|
571
565
|
}>;
|
|
@@ -107,7 +107,6 @@ export declare const actionDeleteSelected: {
|
|
|
107
107
|
};
|
|
108
108
|
pendingImageElementId: string | null;
|
|
109
109
|
showHyperlinkPopup: false | "info" | "editor";
|
|
110
|
-
selectedLinearElement: LinearElementEditor | null;
|
|
111
110
|
};
|
|
112
111
|
commitToHistory: false;
|
|
113
112
|
} | {
|
|
@@ -130,7 +129,6 @@ export declare const actionDeleteSelected: {
|
|
|
130
129
|
x: number;
|
|
131
130
|
y: number;
|
|
132
131
|
}>;
|
|
133
|
-
hoverPointIndex: number;
|
|
134
132
|
};
|
|
135
133
|
isLoading: boolean;
|
|
136
134
|
errorMessage: string | null;
|
|
@@ -227,7 +225,6 @@ export declare const actionDeleteSelected: {
|
|
|
227
225
|
};
|
|
228
226
|
pendingImageElementId: string | null;
|
|
229
227
|
showHyperlinkPopup: false | "info" | "editor";
|
|
230
|
-
selectedLinearElement: LinearElementEditor | null;
|
|
231
228
|
};
|
|
232
229
|
commitToHistory: true;
|
|
233
230
|
} | {
|
|
@@ -327,13 +324,12 @@ export declare const actionDeleteSelected: {
|
|
|
327
324
|
};
|
|
328
325
|
pendingImageElementId: string | null;
|
|
329
326
|
showHyperlinkPopup: false | "info" | "editor";
|
|
330
|
-
selectedLinearElement: LinearElementEditor | null;
|
|
331
327
|
};
|
|
332
328
|
commitToHistory: boolean;
|
|
333
329
|
};
|
|
334
330
|
contextItemLabel: string;
|
|
335
331
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
336
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
332
|
+
PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
337
333
|
} & {
|
|
338
334
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
339
335
|
};
|
|
@@ -12,7 +12,7 @@ export declare const distributeHorizontally: {
|
|
|
12
12
|
commitToHistory: true;
|
|
13
13
|
};
|
|
14
14
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
15
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
15
|
+
PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
16
16
|
} & {
|
|
17
17
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
18
18
|
};
|
|
@@ -27,7 +27,7 @@ export declare const distributeVertically: {
|
|
|
27
27
|
commitToHistory: true;
|
|
28
28
|
};
|
|
29
29
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
30
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
30
|
+
PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
31
31
|
} & {
|
|
32
32
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
33
33
|
};
|
|
@@ -16,7 +16,7 @@ export declare const actionDuplicateSelection: {
|
|
|
16
16
|
};
|
|
17
17
|
contextItemLabel: string;
|
|
18
18
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
19
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
19
|
+
PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
20
20
|
} & {
|
|
21
21
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
22
22
|
};
|
|
@@ -101,11 +101,10 @@ export declare const actionChangeProjectName: {
|
|
|
101
101
|
};
|
|
102
102
|
pendingImageElementId: string | null;
|
|
103
103
|
showHyperlinkPopup: false | "info" | "editor";
|
|
104
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
105
104
|
};
|
|
106
105
|
commitToHistory: false;
|
|
107
106
|
};
|
|
108
|
-
PanelComponent: ({ appState, updateData, appProps }: import("./types").PanelComponentProps) => JSX.Element;
|
|
107
|
+
PanelComponent: ({ appState, updateData, appProps }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
109
108
|
} & {
|
|
110
109
|
keyTest?: undefined;
|
|
111
110
|
};
|
|
@@ -213,11 +212,10 @@ export declare const actionChangeExportScale: {
|
|
|
213
212
|
};
|
|
214
213
|
pendingImageElementId: string | null;
|
|
215
214
|
showHyperlinkPopup: false | "info" | "editor";
|
|
216
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
217
215
|
};
|
|
218
216
|
commitToHistory: false;
|
|
219
217
|
};
|
|
220
|
-
PanelComponent: ({ elements: allElements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
218
|
+
PanelComponent: ({ elements: allElements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
221
219
|
} & {
|
|
222
220
|
keyTest?: undefined;
|
|
223
221
|
};
|
|
@@ -325,11 +323,10 @@ export declare const actionChangeExportBackground: {
|
|
|
325
323
|
};
|
|
326
324
|
pendingImageElementId: string | null;
|
|
327
325
|
showHyperlinkPopup: false | "info" | "editor";
|
|
328
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
329
326
|
};
|
|
330
327
|
commitToHistory: false;
|
|
331
328
|
};
|
|
332
|
-
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
329
|
+
PanelComponent: ({ appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
333
330
|
} & {
|
|
334
331
|
keyTest?: undefined;
|
|
335
332
|
};
|
|
@@ -437,11 +434,10 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
437
434
|
};
|
|
438
435
|
pendingImageElementId: string | null;
|
|
439
436
|
showHyperlinkPopup: false | "info" | "editor";
|
|
440
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
441
437
|
};
|
|
442
438
|
commitToHistory: false;
|
|
443
439
|
};
|
|
444
|
-
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
440
|
+
PanelComponent: ({ appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
445
441
|
} & {
|
|
446
442
|
keyTest?: undefined;
|
|
447
443
|
};
|
|
@@ -547,14 +543,13 @@ export declare const actionSaveToActiveFile: {
|
|
|
547
543
|
};
|
|
548
544
|
pendingImageElementId: string | null;
|
|
549
545
|
showHyperlinkPopup: false | "info" | "editor";
|
|
550
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
551
546
|
};
|
|
552
547
|
} | {
|
|
553
548
|
commitToHistory: false;
|
|
554
549
|
appState?: undefined;
|
|
555
550
|
}>;
|
|
556
551
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
557
|
-
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
|
|
552
|
+
PanelComponent: ({ updateData, appState }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
558
553
|
} & {
|
|
559
554
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
560
555
|
};
|
|
@@ -662,14 +657,13 @@ export declare const actionSaveFileToDisk: {
|
|
|
662
657
|
};
|
|
663
658
|
pendingImageElementId: string | null;
|
|
664
659
|
showHyperlinkPopup: false | "info" | "editor";
|
|
665
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
666
660
|
};
|
|
667
661
|
} | {
|
|
668
662
|
commitToHistory: false;
|
|
669
663
|
appState?: undefined;
|
|
670
664
|
}>;
|
|
671
665
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
672
|
-
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
666
|
+
PanelComponent: ({ updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
673
667
|
} & {
|
|
674
668
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
675
669
|
};
|
|
@@ -773,7 +767,6 @@ export declare const actionLoadScene: {
|
|
|
773
767
|
};
|
|
774
768
|
pendingImageElementId: string | null;
|
|
775
769
|
showHyperlinkPopup: false | "info" | "editor";
|
|
776
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
777
770
|
};
|
|
778
771
|
files: import("../types").BinaryFiles;
|
|
779
772
|
commitToHistory: true;
|
|
@@ -876,13 +869,12 @@ export declare const actionLoadScene: {
|
|
|
876
869
|
};
|
|
877
870
|
pendingImageElementId: string | null;
|
|
878
871
|
showHyperlinkPopup: false | "info" | "editor";
|
|
879
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
880
872
|
};
|
|
881
873
|
files: import("../types").BinaryFiles;
|
|
882
874
|
commitToHistory: false;
|
|
883
875
|
}>;
|
|
884
876
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
885
|
-
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
|
|
877
|
+
PanelComponent: ({ updateData, appState }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
886
878
|
} & {
|
|
887
879
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
888
880
|
};
|
|
@@ -990,11 +982,10 @@ export declare const actionExportWithDarkMode: {
|
|
|
990
982
|
};
|
|
991
983
|
pendingImageElementId: string | null;
|
|
992
984
|
showHyperlinkPopup: false | "info" | "editor";
|
|
993
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
994
985
|
};
|
|
995
986
|
commitToHistory: false;
|
|
996
987
|
};
|
|
997
|
-
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
988
|
+
PanelComponent: ({ appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
998
989
|
} & {
|
|
999
990
|
keyTest?: undefined;
|
|
1000
991
|
};
|
|
@@ -103,7 +103,6 @@ export declare const actionFinalize: {
|
|
|
103
103
|
};
|
|
104
104
|
pendingImageElementId: string | null;
|
|
105
105
|
showHyperlinkPopup: false | "info" | "editor";
|
|
106
|
-
selectedLinearElement: LinearElementEditor | null;
|
|
107
106
|
};
|
|
108
107
|
commitToHistory: true;
|
|
109
108
|
} | {
|
|
@@ -129,7 +128,6 @@ export declare const actionFinalize: {
|
|
|
129
128
|
selectedElementIds: {
|
|
130
129
|
[id: string]: boolean;
|
|
131
130
|
};
|
|
132
|
-
selectedLinearElement: LinearElementEditor | null;
|
|
133
131
|
pendingImageElementId: null;
|
|
134
132
|
isLoading: boolean;
|
|
135
133
|
errorMessage: string | null;
|
|
@@ -210,7 +208,7 @@ export declare const actionFinalize: {
|
|
|
210
208
|
commitToHistory: boolean;
|
|
211
209
|
};
|
|
212
210
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState) => boolean;
|
|
213
|
-
PanelComponent: ({ appState, updateData, data }: import("./types").PanelComponentProps) => JSX.Element;
|
|
211
|
+
PanelComponent: ({ appState, updateData, data }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
214
212
|
} & {
|
|
215
213
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState) => boolean) | undefined;
|
|
216
214
|
};
|
|
@@ -18,7 +18,7 @@ export declare const actionGroup: {
|
|
|
18
18
|
contextItemLabel: string;
|
|
19
19
|
contextItemPredicate: (elements: readonly ExcalidrawElement[], appState: AppState) => boolean;
|
|
20
20
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
21
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
21
|
+
PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
22
22
|
} & {
|
|
23
23
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
24
24
|
};
|
|
@@ -39,7 +39,7 @@ export declare const actionUngroup: {
|
|
|
39
39
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
40
40
|
contextItemLabel: string;
|
|
41
41
|
contextItemPredicate: (elements: readonly ExcalidrawElement[], appState: AppState) => boolean;
|
|
42
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
42
|
+
PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
43
43
|
} & {
|
|
44
44
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
45
45
|
};
|
|
@@ -102,11 +102,10 @@ export declare const actionToggleCanvasMenu: {
|
|
|
102
102
|
};
|
|
103
103
|
pendingImageElementId: string | null;
|
|
104
104
|
showHyperlinkPopup: false | "info" | "editor";
|
|
105
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
106
105
|
};
|
|
107
106
|
commitToHistory: false;
|
|
108
107
|
};
|
|
109
|
-
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
108
|
+
PanelComponent: ({ appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
110
109
|
} & {
|
|
111
110
|
keyTest?: undefined;
|
|
112
111
|
};
|
|
@@ -213,11 +212,10 @@ export declare const actionToggleEditMenu: {
|
|
|
213
212
|
};
|
|
214
213
|
pendingImageElementId: string | null;
|
|
215
214
|
showHyperlinkPopup: false | "info" | "editor";
|
|
216
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
217
215
|
};
|
|
218
216
|
commitToHistory: false;
|
|
219
217
|
};
|
|
220
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
218
|
+
PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
221
219
|
} & {
|
|
222
220
|
keyTest?: undefined;
|
|
223
221
|
};
|
|
@@ -338,11 +336,10 @@ export declare const actionShortcuts: {
|
|
|
338
336
|
};
|
|
339
337
|
pendingImageElementId: string | null;
|
|
340
338
|
showHyperlinkPopup: false | "info" | "editor";
|
|
341
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
342
339
|
};
|
|
343
340
|
commitToHistory: false;
|
|
344
341
|
};
|
|
345
|
-
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
342
|
+
PanelComponent: ({ updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
346
343
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
347
344
|
} & {
|
|
348
345
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const actionGoToCollaborator: {
|
|
2
3
|
name: "goToCollaborator";
|
|
3
4
|
trackEvent: {
|
|
@@ -7,7 +8,7 @@ export declare const actionGoToCollaborator: {
|
|
|
7
8
|
appState: Readonly<import("../types").AppState>;
|
|
8
9
|
commitToHistory: false;
|
|
9
10
|
};
|
|
10
|
-
PanelComponent: ({ appState, updateData, data }: import("./types").PanelComponentProps) => JSX.Element;
|
|
11
|
+
PanelComponent: ({ appState, updateData, data }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
11
12
|
} & {
|
|
12
13
|
keyTest?: undefined;
|
|
13
14
|
};
|