@excalidraw/excalidraw 0.15.2-6546-5841e6a → 0.15.2-6546-21ca391
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 +3 -1
- package/README.md +4 -0
- package/dist/excalidraw-assets/locales/ar-SA-json-b9c75e6743e089f51f9b.js +1 -0
- package/dist/excalidraw-assets/locales/az-AZ-json-32268e2c7ad89fce5d2c.js +1 -0
- package/dist/excalidraw-assets/locales/bg-BG-json-ff5ef83d3c2706367417.js +1 -0
- package/dist/excalidraw-assets/locales/bn-BD-json-f9b1344b2f5c0ab53ce8.js +1 -0
- package/dist/excalidraw-assets/locales/ca-ES-json-d4a1f01f8c174c315974.js +1 -0
- package/dist/excalidraw-assets/locales/cs-CZ-json-ff1b9bbfe92356698245.js +1 -0
- package/dist/excalidraw-assets/locales/da-DK-json-ac982a0c1e02b45f9500.js +1 -0
- package/dist/excalidraw-assets/locales/de-DE-json-a3222d8a9ed4864ccedf.js +1 -0
- package/dist/excalidraw-assets/locales/el-GR-json-8cc1609bd088ec4f197a.js +1 -0
- package/dist/excalidraw-assets/locales/es-ES-json-f2467c6a875a9e288756.js +1 -0
- package/dist/excalidraw-assets/locales/eu-ES-json-f9efd2bf2555bceb526a.js +1 -0
- package/dist/excalidraw-assets/locales/fa-IR-json-abcad5d329ac9558750e.js +1 -0
- package/dist/excalidraw-assets/locales/fi-FI-json-7250174bb3682c3ee602.js +1 -0
- package/dist/excalidraw-assets/locales/fr-FR-json-f82759a1bc767e0889bd.js +1 -0
- package/dist/excalidraw-assets/locales/gl-ES-json-8408403b5df17158e269.js +1 -0
- package/dist/excalidraw-assets/locales/he-IL-json-2e5cea590dd00f76b42f.js +1 -0
- package/dist/excalidraw-assets/locales/hi-IN-json-e22f4ad73126c2971850.js +1 -0
- package/dist/excalidraw-assets/locales/hu-HU-json-1b5028b3a2676b3e7bde.js +1 -0
- package/dist/excalidraw-assets/locales/id-ID-json-0e69caf5d919807ed234.js +1 -0
- package/dist/excalidraw-assets/locales/it-IT-json-a1526e95ebe4c2156ffb.js +1 -0
- package/dist/excalidraw-assets/locales/ja-JP-json-b7b0079dca8ece2551c7.js +1 -0
- package/dist/excalidraw-assets/locales/kaa-json-b2f03ae2f239b9fae304.js +1 -0
- package/dist/excalidraw-assets/locales/kab-KAB-json-e8618205ea49417e5fb4.js +1 -0
- package/dist/excalidraw-assets/locales/kk-KZ-json-106d2a41c68f69765668.js +1 -0
- package/dist/excalidraw-assets/locales/km-KH-json-920cbd8cb9ea3c2ce631.js +1 -0
- package/dist/excalidraw-assets/locales/ko-KR-json-e5f26d9854a5d68ada0a.js +1 -0
- package/dist/excalidraw-assets/locales/ku-TR-json-374bbbb0b003a490681d.js +1 -0
- package/dist/excalidraw-assets/locales/lt-LT-json-9caac0d3530651221c75.js +1 -0
- package/dist/excalidraw-assets/locales/lv-LV-json-c811870330575e53285c.js +1 -0
- package/dist/excalidraw-assets/locales/mr-IN-json-05294735c64b63223d8e.js +1 -0
- package/dist/excalidraw-assets/locales/my-MM-json-c3cff6d30b1e629f546f.js +1 -0
- package/dist/excalidraw-assets/locales/nb-NO-json-75cfab63ad7c2ff45f19.js +1 -0
- package/dist/excalidraw-assets/locales/nl-NL-json-90ef39ed303967aeb9c2.js +1 -0
- package/dist/excalidraw-assets/locales/nn-NO-json-1a8db0d8c3717d895cc5.js +1 -0
- package/dist/excalidraw-assets/locales/oc-FR-json-925326d13bc187dcd377.js +1 -0
- package/dist/excalidraw-assets/locales/pa-IN-json-0fd029451b07248c5194.js +1 -0
- package/dist/excalidraw-assets/locales/pl-PL-json-9a1b0b7262cd86ab734f.js +1 -0
- package/dist/excalidraw-assets/locales/pt-BR-json-62a1095dd13343b61194.js +1 -0
- package/dist/excalidraw-assets/locales/pt-PT-json-cc517eed349ce432b054.js +1 -0
- package/dist/excalidraw-assets/locales/ro-RO-json-162b57c475da796d5a5b.js +1 -0
- package/dist/excalidraw-assets/locales/ru-RU-json-cfc347872e181d1335a7.js +1 -0
- package/dist/excalidraw-assets/locales/si-LK-json-674ece30d49390e45733.js +1 -0
- package/dist/excalidraw-assets/locales/sk-SK-json-8edebc008b63305c87e1.js +1 -0
- package/dist/excalidraw-assets/locales/sl-SI-json-826580e1006547dbbd3b.js +1 -0
- package/dist/excalidraw-assets/locales/sv-SE-json-84a855efd030e37f51ab.js +1 -0
- package/dist/excalidraw-assets/locales/ta-IN-json-f59f50c4b8f2b2fee8ca.js +1 -0
- package/dist/excalidraw-assets/locales/th-TH-json-4cbe42d56e0a6f261769.js +1 -0
- package/dist/excalidraw-assets/locales/tr-TR-json-eb07e9699c26fef02345.js +1 -0
- package/dist/excalidraw-assets/locales/uk-UA-json-a48bb2e866a11d396a35.js +1 -0
- package/dist/excalidraw-assets/locales/vi-VN-json-cbbaff972778abc0e34b.js +1 -0
- package/dist/excalidraw-assets/locales/zh-CN-json-62d636303447fe79db54.js +1 -0
- package/dist/excalidraw-assets/locales/zh-HK-json-19e6814bddb06e0dd6e3.js +1 -0
- package/dist/excalidraw-assets/locales/zh-TW-json-3fcc3dcef74999ea3757.js +1 -0
- package/dist/excalidraw-assets-dev/locales/ar-SA-json-a69e95810fd104088c5c.js +22 -0
- package/dist/excalidraw-assets-dev/locales/az-AZ-json-589b1b62c7020f14c833.js +22 -0
- package/dist/excalidraw-assets-dev/locales/bg-BG-json-79742eced03e74339dfa.js +22 -0
- package/dist/excalidraw-assets-dev/locales/bn-BD-json-737c1b739f303a032d89.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ca-ES-json-5f515dea6151baaa2eaa.js +22 -0
- package/dist/excalidraw-assets-dev/locales/cs-CZ-json-124bc5ab8060f0c7e965.js +22 -0
- package/dist/excalidraw-assets-dev/locales/da-DK-json-d099915b14b07f999456.js +22 -0
- package/dist/excalidraw-assets-dev/locales/de-DE-json-d8d9ee97794526088903.js +22 -0
- package/dist/excalidraw-assets-dev/locales/el-GR-json-8562deea2ef40d73cf8a.js +22 -0
- package/dist/excalidraw-assets-dev/locales/es-ES-json-da3d630806693d7dac08.js +22 -0
- package/dist/excalidraw-assets-dev/locales/eu-ES-json-ea32646b47bf29438fb9.js +22 -0
- package/dist/excalidraw-assets-dev/locales/fa-IR-json-e8d73ea1c5bdccca7b27.js +22 -0
- package/dist/excalidraw-assets-dev/locales/fi-FI-json-1d2a667fad3ea0ced0ef.js +22 -0
- package/dist/excalidraw-assets-dev/locales/fr-FR-json-ef3b02eac347cee42eac.js +22 -0
- package/dist/excalidraw-assets-dev/locales/gl-ES-json-3c8bbe9429fc52e410b2.js +22 -0
- package/dist/excalidraw-assets-dev/locales/he-IL-json-4a05a09da3b8c37144d5.js +22 -0
- package/dist/excalidraw-assets-dev/locales/hi-IN-json-0300ce94e80ea89134af.js +22 -0
- package/dist/excalidraw-assets-dev/locales/hu-HU-json-331ac1b31c82505ea6cc.js +22 -0
- package/dist/excalidraw-assets-dev/locales/id-ID-json-f8ba56a28586e4e77070.js +22 -0
- package/dist/excalidraw-assets-dev/locales/it-IT-json-0d8f11dec1a87e9359c8.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ja-JP-json-ceaa3287f265ae241112.js +22 -0
- package/dist/excalidraw-assets-dev/locales/kaa-json-4efd2d14964af8a534cb.js +22 -0
- package/dist/excalidraw-assets-dev/locales/kab-KAB-json-3e7e196cc06505d82d71.js +22 -0
- package/dist/excalidraw-assets-dev/locales/kk-KZ-json-96ab3e149666871ce872.js +22 -0
- package/dist/excalidraw-assets-dev/locales/km-KH-json-5e3f43be16a6ec0eb24f.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ko-KR-json-1f078c7aad070d3bd0e9.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ku-TR-json-fcef5d1f6a04981f2a5e.js +22 -0
- package/dist/excalidraw-assets-dev/locales/lt-LT-json-09bf8afbe684fc98c92a.js +22 -0
- package/dist/excalidraw-assets-dev/locales/lv-LV-json-95d0faca7a20097e219f.js +22 -0
- package/dist/excalidraw-assets-dev/locales/mr-IN-json-3ffe983e37fedc73cd65.js +22 -0
- package/dist/excalidraw-assets-dev/locales/my-MM-json-c88241ade5d8f9bafe5d.js +22 -0
- package/dist/excalidraw-assets-dev/locales/nb-NO-json-b80dd1befb2641b9364c.js +22 -0
- package/dist/excalidraw-assets-dev/locales/nl-NL-json-4f65f25ec5e87503413e.js +22 -0
- package/dist/excalidraw-assets-dev/locales/nn-NO-json-2134d8b06b7e30965748.js +22 -0
- package/dist/excalidraw-assets-dev/locales/oc-FR-json-3e134022a025ff54b6f2.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pa-IN-json-97ad2e2064b71f244820.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pl-PL-json-1ed88814e0018339868e.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pt-BR-json-49f03e588be4c6bbe08c.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pt-PT-json-2929d15eba5953ef7715.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ro-RO-json-785455320326c2640311.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ru-RU-json-8836a70e1fe715aa70c7.js +22 -0
- package/dist/excalidraw-assets-dev/locales/si-LK-json-244722aa29ba7ca8bd7a.js +22 -0
- package/dist/excalidraw-assets-dev/locales/sk-SK-json-97afb0ec22d1503e2af4.js +22 -0
- package/dist/excalidraw-assets-dev/locales/sl-SI-json-e59c2bd944228503e705.js +22 -0
- package/dist/excalidraw-assets-dev/locales/sv-SE-json-8ee6702d94e84e48faa8.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ta-IN-json-3c99dc4ff8af7e2523f3.js +22 -0
- package/dist/excalidraw-assets-dev/locales/th-TH-json-a4b323409d22013c30e2.js +22 -0
- package/dist/excalidraw-assets-dev/locales/tr-TR-json-399c6f39c50e30399d18.js +22 -0
- package/dist/excalidraw-assets-dev/locales/uk-UA-json-8657d9ac1c78af847957.js +22 -0
- package/dist/excalidraw-assets-dev/locales/vi-VN-json-e81217b667a314e4b841.js +22 -0
- package/dist/excalidraw-assets-dev/locales/zh-CN-json-8a2394a4129f40872d71.js +22 -0
- package/dist/excalidraw-assets-dev/locales/zh-HK-json-2f278ce98daca1c37501.js +22 -0
- package/dist/excalidraw-assets-dev/locales/zh-TW-json-e4eb1416e4564d3a1fd9.js +22 -0
- package/dist/excalidraw.development.js +465 -132
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +45 -15
- package/types/actions/actionAlign.d.ts +25 -19
- package/types/actions/actionBoundText.d.ts +34 -13
- package/types/actions/actionCanvas.d.ts +287 -52
- package/types/actions/actionClipboard.d.ts +74 -24
- package/types/actions/actionDeleteSelected.d.ts +42 -12
- package/types/actions/actionDistribute.d.ts +7 -7
- package/types/actions/actionElementLock.d.ts +32 -11
- package/types/actions/actionExport.d.ts +136 -46
- package/types/actions/actionFinalize.d.ts +30 -10
- package/types/actions/actionFlip.d.ts +4 -6
- package/types/actions/actionFrame.d.ts +412 -0
- package/types/actions/actionGroup.d.ts +5 -5
- package/types/actions/actionLinearEditor.d.ts +17 -7
- package/types/actions/actionMenu.d.ts +46 -17
- package/types/actions/actionNavigate.d.ts +1 -1
- package/types/actions/actionProperties.d.ts +195 -65
- package/types/actions/actionStyles.d.ts +15 -5
- package/types/actions/actionToggleGridMode.d.ts +15 -5
- package/types/actions/actionToggleStats.d.ts +15 -5
- package/types/actions/actionToggleViewMode.d.ts +15 -5
- package/types/actions/actionToggleZenMode.d.ts +15 -5
- package/types/actions/actionZindex.d.ts +4 -4
- package/types/actions/manager.d.ts +1 -1
- package/types/actions/types.d.ts +4 -3
- package/types/appState.d.ts +5 -5
- package/types/clients.d.ts +1 -5
- package/types/clipboard.d.ts +1 -0
- package/types/colors.d.ts +1 -0
- package/types/components/ActiveConfirmDialog.d.ts +1 -21
- package/types/components/App.d.ts +27 -4
- package/types/components/Avatar.d.ts +0 -1
- package/types/components/ColorPicker/ColorInput.d.ts +1 -1
- package/types/components/ColorPicker/ColorPicker.d.ts +3 -2
- package/types/components/ColorPicker/CustomColorList.d.ts +1 -1
- package/types/components/ColorPicker/Picker.d.ts +4 -2
- package/types/components/ColorPicker/PickerColorList.d.ts +1 -1
- package/types/components/ColorPicker/ShadeList.d.ts +1 -1
- package/types/components/ColorPicker/TopPicks.d.ts +1 -1
- package/types/components/ColorPicker/colorPickerUtils.d.ts +4 -24
- package/types/components/ColorPicker/keyboardNavHandlers.d.ts +8 -3
- package/types/components/Dialog.d.ts +3 -4
- package/types/components/EyeDropper.d.ts +18 -0
- package/types/components/FilledButton.d.ts +17 -0
- package/types/components/HintViewer.d.ts +3 -4
- package/types/components/ImageExportDialog.d.ts +3 -4
- package/types/components/LayerUI.d.ts +2 -1
- package/types/components/LibraryMenu.d.ts +3 -23
- package/types/components/LibraryMenuItems.d.ts +4 -5
- package/types/components/LibraryMenuSection.d.ts +22 -0
- package/types/components/LibraryUnit.d.ts +7 -3
- package/types/components/MobileMenu.d.ts +3 -2
- package/types/components/OverwriteConfirm/OverwriteConfirm.d.ts +17 -0
- package/types/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +17 -0
- package/types/components/OverwriteConfirm/OverwriteConfirmState.d.ts +22 -0
- package/types/components/ProjectName.d.ts +1 -0
- package/types/components/RadioGroup.d.ts +12 -0
- package/types/components/Sidebar/Sidebar.d.ts +1 -21
- package/types/components/Spinner.d.ts +2 -1
- package/types/components/Stack.d.ts +3 -2
- package/types/components/Switch.d.ts +9 -0
- package/types/components/ToolButton.d.ts +2 -1
- package/types/components/dropdownMenu/DropdownMenu.d.ts +3 -2
- package/types/components/dropdownMenu/DropdownMenuTrigger.d.ts +4 -2
- package/types/components/icons.d.ts +10 -0
- package/types/components/main-menu/MainMenu.d.ts +3 -2
- package/types/constants.d.ts +15 -0
- package/types/context/tunnels.d.ts +1 -0
- package/types/data/library.d.ts +3 -45
- package/types/data/restore.d.ts +1 -10
- package/types/data/transform.d.ts +72 -3
- package/types/data/types.d.ts +2 -47
- package/types/data/url.d.ts +2 -0
- package/types/element/Hyperlink.d.ts +15 -7
- package/types/element/binding.d.ts +1 -1
- package/types/element/bounds.d.ts +31 -6
- package/types/element/collision.d.ts +7 -7
- package/types/element/dragElements.d.ts +2 -1
- package/types/element/index.d.ts +3 -2
- package/types/element/linearElementEditor.d.ts +16 -6
- package/types/element/newElement.d.ts +4 -2
- package/types/element/resizeElements.d.ts +1 -0
- package/types/element/transformHandles.d.ts +7 -0
- package/types/element/typeChecks.d.ts +2 -1
- package/types/element/types.d.ts +8 -3
- package/types/frame.d.ts +40 -0
- package/types/groups.d.ts +7 -3
- package/types/history.d.ts +3 -3
- package/types/hooks/useCreatePortalContainer.d.ts +4 -0
- package/types/hooks/useLibraryItemSvg.d.ts +11 -0
- package/types/hooks/useOutsideClick.d.ts +19 -1
- package/types/hooks/useScrollPosition.d.ts +2 -0
- package/types/hooks/useTransition.d.ts +2 -0
- package/types/jotai.d.ts +16 -104
- package/types/keys.d.ts +2 -0
- package/types/math.d.ts +1 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/zh-TW-json-3fcc3dcef74999ea3757.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/zh-TW-json-e4eb1416e4564d3a1fd9.d.ts +2 -0
- package/types/packages/excalidraw/example/initialData.d.ts +206 -139
- package/types/packages/excalidraw/index.d.ts +1 -0
- package/types/renderer/renderElement.d.ts +2 -1
- package/types/renderer/renderScene.d.ts +12 -3
- package/types/renderer/roundRect.d.ts +1 -1
- package/types/scene/Scene.d.ts +21 -1
- package/types/scene/export.d.ts +1 -0
- package/types/scene/selection.d.ts +24 -4
- package/types/types.d.ts +38 -7
- package/types/utility-types.d.ts +2 -0
- package/types/utils.d.ts +46 -16
- package/types/zindex.d.ts +4 -4
- package/dist/excalidraw-assets/locales/ar-SA-json-0a59aece60276ed11321.js +0 -1
- package/dist/excalidraw-assets/locales/bg-BG-json-9194ad23121157147546.js +0 -1
- package/dist/excalidraw-assets/locales/bn-BD-json-ebf1d26fdb12c5bb181e.js +0 -1
- package/dist/excalidraw-assets/locales/ca-ES-json-79f84ac70a367a68e9a0.js +0 -1
- package/dist/excalidraw-assets/locales/cs-CZ-json-26c3db7e8a6c4e8bcf23.js +0 -1
- package/dist/excalidraw-assets/locales/da-DK-json-547418996cfd8bb285be.js +0 -1
- package/dist/excalidraw-assets/locales/de-DE-json-b03af65bb5eff6d7023b.js +0 -1
- package/dist/excalidraw-assets/locales/el-GR-json-ca506c54e42e135959b0.js +0 -1
- package/dist/excalidraw-assets/locales/es-ES-json-265b459985c4898b7781.js +0 -1
- package/dist/excalidraw-assets/locales/eu-ES-json-8714a4293a6a397560c4.js +0 -1
- package/dist/excalidraw-assets/locales/fa-IR-json-d891247fdcbdfc77d42a.js +0 -1
- package/dist/excalidraw-assets/locales/fi-FI-json-1640f182578a4d4a77ba.js +0 -1
- package/dist/excalidraw-assets/locales/fr-FR-json-08f595b2a14a7f1b5c3f.js +0 -1
- package/dist/excalidraw-assets/locales/gl-ES-json-190e4b913c120f078129.js +0 -1
- package/dist/excalidraw-assets/locales/he-IL-json-a3aadae77e5d8f9d9477.js +0 -1
- package/dist/excalidraw-assets/locales/hi-IN-json-f7636cdb60eac7c6d0e9.js +0 -1
- package/dist/excalidraw-assets/locales/hu-HU-json-7137c9d42ad71e4291e1.js +0 -1
- package/dist/excalidraw-assets/locales/id-ID-json-d1156d23b30643d02794.js +0 -1
- package/dist/excalidraw-assets/locales/it-IT-json-304768049d19d44f8b7c.js +0 -1
- package/dist/excalidraw-assets/locales/ja-JP-json-46cf12c4be04cc8b452d.js +0 -1
- package/dist/excalidraw-assets/locales/kaa-json-52971f5d051ddd65887f.js +0 -1
- package/dist/excalidraw-assets/locales/kab-KAB-json-3d0babc84b87ba5a6c40.js +0 -1
- package/dist/excalidraw-assets/locales/kk-KZ-json-f7739980a0373cac0448.js +0 -1
- package/dist/excalidraw-assets/locales/km-KH-json-93e08aa0ef1c18f9abe6.js +0 -1
- package/dist/excalidraw-assets/locales/ko-KR-json-d347255ddd5b17936d70.js +0 -1
- package/dist/excalidraw-assets/locales/ku-TR-json-1ce02dc10f8f18a3e609.js +0 -1
- package/dist/excalidraw-assets/locales/lt-LT-json-21dccba82996be6c9978.js +0 -1
- package/dist/excalidraw-assets/locales/lv-LV-json-2754b00cb2959287583a.js +0 -1
- package/dist/excalidraw-assets/locales/mr-IN-json-9fbf7ef2fc6a57f19633.js +0 -1
- package/dist/excalidraw-assets/locales/my-MM-json-09e2cd449c159b515bd5.js +0 -1
- package/dist/excalidraw-assets/locales/nb-NO-json-fa893095b70cefc2f7e2.js +0 -1
- package/dist/excalidraw-assets/locales/nl-NL-json-3117b157902ca19b9cc3.js +0 -1
- package/dist/excalidraw-assets/locales/nn-NO-json-e630a5b8e3fd3e0d98d4.js +0 -1
- package/dist/excalidraw-assets/locales/oc-FR-json-8bfe443f96fa0cc7073b.js +0 -1
- package/dist/excalidraw-assets/locales/pa-IN-json-5b1c3903004d63ad7bda.js +0 -1
- package/dist/excalidraw-assets/locales/pl-PL-json-85d9c16b934129641849.js +0 -1
- package/dist/excalidraw-assets/locales/pt-BR-json-fc4b878ac107c23255dd.js +0 -1
- package/dist/excalidraw-assets/locales/pt-PT-json-47032f63e88e79dd73f2.js +0 -1
- package/dist/excalidraw-assets/locales/ro-RO-json-cbce5205231a582024d7.js +0 -1
- package/dist/excalidraw-assets/locales/ru-RU-json-99829b1ba9d5093b157b.js +0 -1
- package/dist/excalidraw-assets/locales/si-LK-json-def580f91ccb834e3c2a.js +0 -1
- package/dist/excalidraw-assets/locales/sk-SK-json-48d5acc83691a9e45243.js +0 -1
- package/dist/excalidraw-assets/locales/sl-SI-json-2d3159666a9b694373e0.js +0 -1
- package/dist/excalidraw-assets/locales/sv-SE-json-81f406cec5a178dfc603.js +0 -1
- package/dist/excalidraw-assets/locales/ta-IN-json-aa166453a01a662a3e07.js +0 -1
- package/dist/excalidraw-assets/locales/th-TH-json-56e28d7ee80115f5dc07.js +0 -1
- package/dist/excalidraw-assets/locales/tr-TR-json-abd9e64817a5f1bf722a.js +0 -1
- package/dist/excalidraw-assets/locales/uk-UA-json-f41664cf41fa0a75d303.js +0 -1
- package/dist/excalidraw-assets/locales/vi-VN-json-79622fb3b0a457d8c17b.js +0 -1
- package/dist/excalidraw-assets/locales/zh-CN-json-a4a9d3ae663b3dadfc4a.js +0 -1
- package/dist/excalidraw-assets/locales/zh-HK-json-b5ebaab9e5576589fd75.js +0 -1
- package/dist/excalidraw-assets/locales/zh-TW-json-666cdd14005847709d40.js +0 -1
- package/dist/excalidraw-assets-dev/locales/ar-SA-json-70a5f1a783a785b7e93c.js +0 -22
- package/dist/excalidraw-assets-dev/locales/bg-BG-json-13911f22e77da62aed30.js +0 -22
- package/dist/excalidraw-assets-dev/locales/bn-BD-json-46d393116092c755f0f3.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ca-ES-json-3498504fc6da812b3058.js +0 -22
- package/dist/excalidraw-assets-dev/locales/cs-CZ-json-dde6031123de5441f318.js +0 -22
- package/dist/excalidraw-assets-dev/locales/da-DK-json-1ad7d7f19aec114ebe50.js +0 -22
- package/dist/excalidraw-assets-dev/locales/de-DE-json-a7a0a7a8f371bc7ba5c0.js +0 -22
- package/dist/excalidraw-assets-dev/locales/el-GR-json-f4a6ef403e57a5227a3a.js +0 -22
- package/dist/excalidraw-assets-dev/locales/es-ES-json-b8442d54aabef318e2dc.js +0 -22
- package/dist/excalidraw-assets-dev/locales/eu-ES-json-43e4d2f5e87feec87329.js +0 -22
- package/dist/excalidraw-assets-dev/locales/fa-IR-json-51cdec085b5f875af21b.js +0 -22
- package/dist/excalidraw-assets-dev/locales/fi-FI-json-f97e2e7d43641c0e840a.js +0 -22
- package/dist/excalidraw-assets-dev/locales/fr-FR-json-8979cd243e0bbc81c99b.js +0 -22
- package/dist/excalidraw-assets-dev/locales/gl-ES-json-36750301d902ad2b2806.js +0 -22
- package/dist/excalidraw-assets-dev/locales/he-IL-json-2093e314b87cdcfdd126.js +0 -22
- package/dist/excalidraw-assets-dev/locales/hi-IN-json-cb93e43b65701ce90198.js +0 -22
- package/dist/excalidraw-assets-dev/locales/hu-HU-json-4239cb5f99d6fda36fbe.js +0 -22
- package/dist/excalidraw-assets-dev/locales/id-ID-json-40f01633ae6046a20158.js +0 -22
- package/dist/excalidraw-assets-dev/locales/it-IT-json-395bb09586a95a3c7a0c.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ja-JP-json-a7e58b0f0528b0d9adee.js +0 -22
- package/dist/excalidraw-assets-dev/locales/kaa-json-8c158b975f7ac7595487.js +0 -22
- package/dist/excalidraw-assets-dev/locales/kab-KAB-json-16bc09201bc75389e0c2.js +0 -22
- package/dist/excalidraw-assets-dev/locales/kk-KZ-json-9d3bab1e41bdd0593cba.js +0 -22
- package/dist/excalidraw-assets-dev/locales/km-KH-json-5f033ad55694d12c770d.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ko-KR-json-2d7d04482b8f94ac8f65.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ku-TR-json-0dfab20d9c6ac0da2776.js +0 -22
- package/dist/excalidraw-assets-dev/locales/lt-LT-json-f6b8a91c2d0af70bb40a.js +0 -22
- package/dist/excalidraw-assets-dev/locales/lv-LV-json-200fd554e6f50cdb198f.js +0 -22
- package/dist/excalidraw-assets-dev/locales/mr-IN-json-3fd24dfc0b92db0ecaa3.js +0 -22
- package/dist/excalidraw-assets-dev/locales/my-MM-json-622c3f7b4b996f4d9675.js +0 -22
- package/dist/excalidraw-assets-dev/locales/nb-NO-json-06218da2a78c0389ca45.js +0 -22
- package/dist/excalidraw-assets-dev/locales/nl-NL-json-558c43ecce00b4f632ed.js +0 -22
- package/dist/excalidraw-assets-dev/locales/nn-NO-json-b1cdc9fe9e3ef6661443.js +0 -22
- package/dist/excalidraw-assets-dev/locales/oc-FR-json-aff7d8ffc8d29dcadf9f.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pa-IN-json-1676618fa49328bc0ecc.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pl-PL-json-52763bf24013775cc692.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pt-BR-json-cc1554e6671be344e008.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pt-PT-json-0b332e1305fa14c732d0.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ro-RO-json-672a25ac3a7165011576.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ru-RU-json-e88fc7d0b0022da65cd7.js +0 -22
- package/dist/excalidraw-assets-dev/locales/si-LK-json-988cd28b7f15bfd7b612.js +0 -22
- package/dist/excalidraw-assets-dev/locales/sk-SK-json-0b543a434ec1a4cc2831.js +0 -22
- package/dist/excalidraw-assets-dev/locales/sl-SI-json-3e7849fcb1fe7ed8e146.js +0 -22
- package/dist/excalidraw-assets-dev/locales/sv-SE-json-e594c928d13f0183f9bc.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ta-IN-json-97670b76df151af63fbe.js +0 -22
- package/dist/excalidraw-assets-dev/locales/th-TH-json-750c74d47969f873875a.js +0 -22
- package/dist/excalidraw-assets-dev/locales/tr-TR-json-55711d39e393bde4d8e1.js +0 -22
- package/dist/excalidraw-assets-dev/locales/uk-UA-json-1ad24b86d9998c472afe.js +0 -22
- package/dist/excalidraw-assets-dev/locales/vi-VN-json-67cf288dc185122c6fbd.js +0 -22
- package/dist/excalidraw-assets-dev/locales/zh-CN-json-8682588312662adaa170.js +0 -22
- package/dist/excalidraw-assets-dev/locales/zh-HK-json-f5a427054479f0a5781f.js +0 -22
- package/dist/excalidraw-assets-dev/locales/zh-TW-json-b4ebc4c389ccf204d77e.js +0 -22
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ar-SA-json-0a59aece60276ed11321.d.ts → ar-SA-json-b9c75e6743e089f51f9b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{bg-BG-json-9194ad23121157147546.d.ts → az-AZ-json-32268e2c7ad89fce5d2c.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{bn-BD-json-ebf1d26fdb12c5bb181e.d.ts → bg-BG-json-ff5ef83d3c2706367417.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ca-ES-json-79f84ac70a367a68e9a0.d.ts → bn-BD-json-f9b1344b2f5c0ab53ce8.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{cs-CZ-json-26c3db7e8a6c4e8bcf23.d.ts → ca-ES-json-d4a1f01f8c174c315974.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{da-DK-json-547418996cfd8bb285be.d.ts → cs-CZ-json-ff1b9bbfe92356698245.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{de-DE-json-b03af65bb5eff6d7023b.d.ts → da-DK-json-ac982a0c1e02b45f9500.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{el-GR-json-ca506c54e42e135959b0.d.ts → de-DE-json-a3222d8a9ed4864ccedf.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{es-ES-json-265b459985c4898b7781.d.ts → el-GR-json-8cc1609bd088ec4f197a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{eu-ES-json-8714a4293a6a397560c4.d.ts → es-ES-json-f2467c6a875a9e288756.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fa-IR-json-d891247fdcbdfc77d42a.d.ts → eu-ES-json-f9efd2bf2555bceb526a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fi-FI-json-1640f182578a4d4a77ba.d.ts → fa-IR-json-abcad5d329ac9558750e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fr-FR-json-08f595b2a14a7f1b5c3f.d.ts → fi-FI-json-7250174bb3682c3ee602.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{gl-ES-json-190e4b913c120f078129.d.ts → fr-FR-json-f82759a1bc767e0889bd.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{he-IL-json-a3aadae77e5d8f9d9477.d.ts → gl-ES-json-8408403b5df17158e269.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hi-IN-json-f7636cdb60eac7c6d0e9.d.ts → he-IL-json-2e5cea590dd00f76b42f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hu-HU-json-7137c9d42ad71e4291e1.d.ts → hi-IN-json-e22f4ad73126c2971850.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{id-ID-json-d1156d23b30643d02794.d.ts → hu-HU-json-1b5028b3a2676b3e7bde.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{it-IT-json-304768049d19d44f8b7c.d.ts → id-ID-json-0e69caf5d919807ed234.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ja-JP-json-46cf12c4be04cc8b452d.d.ts → it-IT-json-a1526e95ebe4c2156ffb.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kaa-json-52971f5d051ddd65887f.d.ts → ja-JP-json-b7b0079dca8ece2551c7.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kab-KAB-json-3d0babc84b87ba5a6c40.d.ts → kaa-json-b2f03ae2f239b9fae304.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kk-KZ-json-f7739980a0373cac0448.d.ts → kab-KAB-json-e8618205ea49417e5fb4.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{km-KH-json-93e08aa0ef1c18f9abe6.d.ts → kk-KZ-json-106d2a41c68f69765668.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ko-KR-json-d347255ddd5b17936d70.d.ts → km-KH-json-920cbd8cb9ea3c2ce631.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ku-TR-json-1ce02dc10f8f18a3e609.d.ts → ko-KR-json-e5f26d9854a5d68ada0a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{lt-LT-json-21dccba82996be6c9978.d.ts → ku-TR-json-374bbbb0b003a490681d.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{lv-LV-json-2754b00cb2959287583a.d.ts → lt-LT-json-9caac0d3530651221c75.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{mr-IN-json-9fbf7ef2fc6a57f19633.d.ts → lv-LV-json-c811870330575e53285c.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{my-MM-json-09e2cd449c159b515bd5.d.ts → mr-IN-json-05294735c64b63223d8e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nb-NO-json-fa893095b70cefc2f7e2.d.ts → my-MM-json-c3cff6d30b1e629f546f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nl-NL-json-3117b157902ca19b9cc3.d.ts → nb-NO-json-75cfab63ad7c2ff45f19.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nn-NO-json-e630a5b8e3fd3e0d98d4.d.ts → nl-NL-json-90ef39ed303967aeb9c2.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{oc-FR-json-8bfe443f96fa0cc7073b.d.ts → nn-NO-json-1a8db0d8c3717d895cc5.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pa-IN-json-5b1c3903004d63ad7bda.d.ts → oc-FR-json-925326d13bc187dcd377.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pl-PL-json-85d9c16b934129641849.d.ts → pa-IN-json-0fd029451b07248c5194.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pt-BR-json-fc4b878ac107c23255dd.d.ts → pl-PL-json-9a1b0b7262cd86ab734f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pt-PT-json-47032f63e88e79dd73f2.d.ts → pt-BR-json-62a1095dd13343b61194.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ro-RO-json-cbce5205231a582024d7.d.ts → pt-PT-json-cc517eed349ce432b054.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ru-RU-json-99829b1ba9d5093b157b.d.ts → ro-RO-json-162b57c475da796d5a5b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{si-LK-json-def580f91ccb834e3c2a.d.ts → ru-RU-json-cfc347872e181d1335a7.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sk-SK-json-48d5acc83691a9e45243.d.ts → si-LK-json-674ece30d49390e45733.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sl-SI-json-2d3159666a9b694373e0.d.ts → sk-SK-json-8edebc008b63305c87e1.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sv-SE-json-81f406cec5a178dfc603.d.ts → sl-SI-json-826580e1006547dbbd3b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ta-IN-json-aa166453a01a662a3e07.d.ts → sv-SE-json-84a855efd030e37f51ab.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{th-TH-json-56e28d7ee80115f5dc07.d.ts → ta-IN-json-f59f50c4b8f2b2fee8ca.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{tr-TR-json-abd9e64817a5f1bf722a.d.ts → th-TH-json-4cbe42d56e0a6f261769.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{uk-UA-json-f41664cf41fa0a75d303.d.ts → tr-TR-json-eb07e9699c26fef02345.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{vi-VN-json-79622fb3b0a457d8c17b.d.ts → uk-UA-json-a48bb2e866a11d396a35.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-CN-json-a4a9d3ae663b3dadfc4a.d.ts → vi-VN-json-cbbaff972778abc0e34b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-HK-json-b5ebaab9e5576589fd75.d.ts → zh-CN-json-62d636303447fe79db54.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-TW-json-666cdd14005847709d40.d.ts → zh-HK-json-19e6814bddb06e0dd6e3.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ar-SA-json-70a5f1a783a785b7e93c.d.ts → ar-SA-json-a69e95810fd104088c5c.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bg-BG-json-13911f22e77da62aed30.d.ts → az-AZ-json-589b1b62c7020f14c833.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bn-BD-json-46d393116092c755f0f3.d.ts → bg-BG-json-79742eced03e74339dfa.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ca-ES-json-3498504fc6da812b3058.d.ts → bn-BD-json-737c1b739f303a032d89.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{cs-CZ-json-dde6031123de5441f318.d.ts → ca-ES-json-5f515dea6151baaa2eaa.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{da-DK-json-1ad7d7f19aec114ebe50.d.ts → cs-CZ-json-124bc5ab8060f0c7e965.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{de-DE-json-a7a0a7a8f371bc7ba5c0.d.ts → da-DK-json-d099915b14b07f999456.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{el-GR-json-f4a6ef403e57a5227a3a.d.ts → de-DE-json-d8d9ee97794526088903.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{es-ES-json-b8442d54aabef318e2dc.d.ts → el-GR-json-8562deea2ef40d73cf8a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{eu-ES-json-43e4d2f5e87feec87329.d.ts → es-ES-json-da3d630806693d7dac08.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fa-IR-json-51cdec085b5f875af21b.d.ts → eu-ES-json-ea32646b47bf29438fb9.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fi-FI-json-f97e2e7d43641c0e840a.d.ts → fa-IR-json-e8d73ea1c5bdccca7b27.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fr-FR-json-8979cd243e0bbc81c99b.d.ts → fi-FI-json-1d2a667fad3ea0ced0ef.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{gl-ES-json-36750301d902ad2b2806.d.ts → fr-FR-json-ef3b02eac347cee42eac.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{he-IL-json-2093e314b87cdcfdd126.d.ts → gl-ES-json-3c8bbe9429fc52e410b2.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hi-IN-json-cb93e43b65701ce90198.d.ts → he-IL-json-4a05a09da3b8c37144d5.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hu-HU-json-4239cb5f99d6fda36fbe.d.ts → hi-IN-json-0300ce94e80ea89134af.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{id-ID-json-40f01633ae6046a20158.d.ts → hu-HU-json-331ac1b31c82505ea6cc.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{it-IT-json-395bb09586a95a3c7a0c.d.ts → id-ID-json-f8ba56a28586e4e77070.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ja-JP-json-a7e58b0f0528b0d9adee.d.ts → it-IT-json-0d8f11dec1a87e9359c8.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kaa-json-8c158b975f7ac7595487.d.ts → ja-JP-json-ceaa3287f265ae241112.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kab-KAB-json-16bc09201bc75389e0c2.d.ts → kaa-json-4efd2d14964af8a534cb.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kk-KZ-json-9d3bab1e41bdd0593cba.d.ts → kab-KAB-json-3e7e196cc06505d82d71.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{km-KH-json-5f033ad55694d12c770d.d.ts → kk-KZ-json-96ab3e149666871ce872.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ko-KR-json-2d7d04482b8f94ac8f65.d.ts → km-KH-json-5e3f43be16a6ec0eb24f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ku-TR-json-0dfab20d9c6ac0da2776.d.ts → ko-KR-json-1f078c7aad070d3bd0e9.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lt-LT-json-f6b8a91c2d0af70bb40a.d.ts → ku-TR-json-fcef5d1f6a04981f2a5e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lv-LV-json-200fd554e6f50cdb198f.d.ts → lt-LT-json-09bf8afbe684fc98c92a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{mr-IN-json-3fd24dfc0b92db0ecaa3.d.ts → lv-LV-json-95d0faca7a20097e219f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{my-MM-json-622c3f7b4b996f4d9675.d.ts → mr-IN-json-3ffe983e37fedc73cd65.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nb-NO-json-06218da2a78c0389ca45.d.ts → my-MM-json-c88241ade5d8f9bafe5d.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nl-NL-json-558c43ecce00b4f632ed.d.ts → nb-NO-json-b80dd1befb2641b9364c.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nn-NO-json-b1cdc9fe9e3ef6661443.d.ts → nl-NL-json-4f65f25ec5e87503413e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{oc-FR-json-aff7d8ffc8d29dcadf9f.d.ts → nn-NO-json-2134d8b06b7e30965748.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pa-IN-json-1676618fa49328bc0ecc.d.ts → oc-FR-json-3e134022a025ff54b6f2.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pl-PL-json-52763bf24013775cc692.d.ts → pa-IN-json-97ad2e2064b71f244820.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-BR-json-cc1554e6671be344e008.d.ts → pl-PL-json-1ed88814e0018339868e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-PT-json-0b332e1305fa14c732d0.d.ts → pt-BR-json-49f03e588be4c6bbe08c.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ro-RO-json-672a25ac3a7165011576.d.ts → pt-PT-json-2929d15eba5953ef7715.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ru-RU-json-e88fc7d0b0022da65cd7.d.ts → ro-RO-json-785455320326c2640311.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{si-LK-json-988cd28b7f15bfd7b612.d.ts → ru-RU-json-8836a70e1fe715aa70c7.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sk-SK-json-0b543a434ec1a4cc2831.d.ts → si-LK-json-244722aa29ba7ca8bd7a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sl-SI-json-3e7849fcb1fe7ed8e146.d.ts → sk-SK-json-97afb0ec22d1503e2af4.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sv-SE-json-e594c928d13f0183f9bc.d.ts → sl-SI-json-e59c2bd944228503e705.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ta-IN-json-97670b76df151af63fbe.d.ts → sv-SE-json-8ee6702d94e84e48faa8.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{th-TH-json-750c74d47969f873875a.d.ts → ta-IN-json-3c99dc4ff8af7e2523f3.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{tr-TR-json-55711d39e393bde4d8e1.d.ts → th-TH-json-a4b323409d22013c30e2.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{uk-UA-json-1ad24b86d9998c472afe.d.ts → tr-TR-json-399c6f39c50e30399d18.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{vi-VN-json-67cf288dc185122c6fbd.d.ts → uk-UA-json-8657d9ac1c78af847957.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-CN-json-8682588312662adaa170.d.ts → vi-VN-json-e81217b667a314e4b841.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-HK-json-f5a427054479f0a5781f.d.ts → zh-CN-json-8a2394a4129f40872d71.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-TW-json-b4ebc4c389ccf204d77e.d.ts → zh-HK-json-2f278ce98daca1c37501.d.ts} +0 -0
|
@@ -26,6 +26,7 @@ interface LayerUIProps {
|
|
|
26
26
|
onExportImage: AppClassProperties["onExportImage"];
|
|
27
27
|
renderWelcomeScreen: boolean;
|
|
28
28
|
children?: React.ReactNode;
|
|
29
|
+
app: AppClassProperties;
|
|
29
30
|
}
|
|
30
|
-
declare const _default: React.MemoExoticComponent<({ actionManager, appState, files, setAppState, elements, canvas, onLockToggle, onHandToolToggle, onPenModeToggle, showExitZenModeBtn, renderTopRightUI, renderCustomStats, UIOptions, onImageAction, onExportImage, renderWelcomeScreen, children, }: LayerUIProps) => JSX.Element>;
|
|
31
|
+
declare const _default: React.MemoExoticComponent<({ actionManager, appState, files, setAppState, elements, canvas, onLockToggle, onHandToolToggle, onPenModeToggle, showExitZenModeBtn, renderTopRightUI, renderCustomStats, UIOptions, onImageAction, onExportImage, renderWelcomeScreen, children, app, }: LayerUIProps) => JSX.Element>;
|
|
31
32
|
export default _default;
|
|
@@ -2,30 +2,10 @@ import React from "react";
|
|
|
2
2
|
import Library from "../data/library";
|
|
3
3
|
import { LibraryItems, LibraryItem, ExcalidrawProps, UIAppState } from "../types";
|
|
4
4
|
import "./LibraryMenu.scss";
|
|
5
|
-
export declare const isLibraryMenuOpenAtom: import("jotai").
|
|
6
|
-
write: (get: {
|
|
7
|
-
<Value>(atom: import("jotai").Atom<Value | Promise<Value>>): Value;
|
|
8
|
-
<Value_1>(atom: import("jotai").Atom<Promise<Value_1>>): Value_1;
|
|
9
|
-
<Value_2>(atom: import("jotai").Atom<Value_2>): Value_2 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_2;
|
|
10
|
-
} & {
|
|
11
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>, options: {
|
|
12
|
-
unstable_promise: true;
|
|
13
|
-
}): Value_3 | Promise<Value_3>;
|
|
14
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>, options: {
|
|
15
|
-
unstable_promise: true;
|
|
16
|
-
}): Value_4 | Promise<Value_4>;
|
|
17
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>, options: {
|
|
18
|
-
unstable_promise: true;
|
|
19
|
-
}): (Value_5 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_5) | Promise<Value_5 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_5>;
|
|
20
|
-
}, set: {
|
|
21
|
-
<Value_6, Result extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_6, undefined, Result>): Result;
|
|
22
|
-
<Value_7, Update, Result_1 extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_7, Update, Result_1>, update: Update): Result_1;
|
|
23
|
-
}, update: boolean | ((prev: boolean) => boolean)) => void;
|
|
24
|
-
onMount?: (<S extends (update: boolean | ((prev: boolean) => boolean)) => void>(setAtom: S) => void | (() => void)) | undefined;
|
|
25
|
-
} & {
|
|
5
|
+
export declare const isLibraryMenuOpenAtom: import("jotai").PrimitiveAtom<boolean> & {
|
|
26
6
|
init: boolean;
|
|
27
7
|
};
|
|
28
|
-
export declare const LibraryMenuContent: ({ onInsertLibraryItems, pendingElements, onAddToLibrary, setAppState, libraryReturnUrl, library, id,
|
|
8
|
+
export declare const LibraryMenuContent: ({ onInsertLibraryItems, pendingElements, onAddToLibrary, setAppState, libraryReturnUrl, library, id, theme, selectedItems, onSelectItems, }: {
|
|
29
9
|
pendingElements: LibraryItem["elements"];
|
|
30
10
|
onInsertLibraryItems: (libraryItems: LibraryItems) => void;
|
|
31
11
|
onAddToLibrary: () => void;
|
|
@@ -33,7 +13,7 @@ export declare const LibraryMenuContent: ({ onInsertLibraryItems, pendingElement
|
|
|
33
13
|
libraryReturnUrl: ExcalidrawProps["libraryReturnUrl"];
|
|
34
14
|
library: Library;
|
|
35
15
|
id: string;
|
|
36
|
-
|
|
16
|
+
theme: UIAppState["theme"];
|
|
37
17
|
selectedItems: LibraryItem["id"][];
|
|
38
18
|
onSelectItems: (id: LibraryItem["id"][]) => void;
|
|
39
19
|
}) => JSX.Element;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { ExcalidrawProps, LibraryItem, LibraryItems, UIAppState } from "../types";
|
|
2
2
|
import "./LibraryMenuItems.scss";
|
|
3
|
-
|
|
3
|
+
export default function LibraryMenuItems({ isLoading, libraryItems, onAddToLibrary, onInsertLibraryItems, pendingElements, theme, id, libraryReturnUrl, onSelectItems, selectedItems, }: {
|
|
4
4
|
isLoading: boolean;
|
|
5
5
|
libraryItems: LibraryItems;
|
|
6
6
|
pendingElements: LibraryItem["elements"];
|
|
7
7
|
onInsertLibraryItems: (libraryItems: LibraryItems) => void;
|
|
8
8
|
onAddToLibrary: (elements: LibraryItem["elements"]) => void;
|
|
9
|
-
selectedItems: LibraryItem["id"][];
|
|
10
|
-
onSelectItems: (id: LibraryItem["id"][]) => void;
|
|
11
9
|
libraryReturnUrl: ExcalidrawProps["libraryReturnUrl"];
|
|
12
10
|
theme: UIAppState["theme"];
|
|
13
11
|
id: string;
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
selectedItems: LibraryItem["id"][];
|
|
13
|
+
onSelectItems: (id: LibraryItem["id"][]) => void;
|
|
14
|
+
}): JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { LibraryItem } from "../types";
|
|
3
|
+
import { ExcalidrawElement, NonDeleted } from "../element/types";
|
|
4
|
+
import { SvgCache } from "../hooks/useLibraryItemSvg";
|
|
5
|
+
type LibraryOrPendingItem = (LibraryItem | /* pending library item */ {
|
|
6
|
+
id: null;
|
|
7
|
+
elements: readonly NonDeleted<ExcalidrawElement>[];
|
|
8
|
+
})[];
|
|
9
|
+
interface Props {
|
|
10
|
+
items: LibraryOrPendingItem;
|
|
11
|
+
onClick: (id: LibraryItem["id"] | null) => void;
|
|
12
|
+
onItemSelectToggle: (id: LibraryItem["id"], event: React.MouseEvent) => void;
|
|
13
|
+
onItemDrag: (id: LibraryItem["id"], event: React.DragEvent) => void;
|
|
14
|
+
isItemSelected: (id: LibraryItem["id"] | null) => boolean;
|
|
15
|
+
svgCache: SvgCache;
|
|
16
|
+
itemsRenderedPerBatch: number;
|
|
17
|
+
}
|
|
18
|
+
export declare const LibraryMenuSectionGrid: ({ children, }: {
|
|
19
|
+
children: ReactNode;
|
|
20
|
+
}) => JSX.Element;
|
|
21
|
+
export declare const LibraryMenuSection: React.MemoExoticComponent<({ items, onItemSelectToggle, onItemDrag, isItemSelected, onClick, svgCache, itemsRenderedPerBatch, }: Props) => JSX.Element>;
|
|
22
|
+
export {};
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { LibraryItem } from "../types";
|
|
2
3
|
import "./LibraryUnit.scss";
|
|
3
|
-
|
|
4
|
+
import { SvgCache } from "../hooks/useLibraryItemSvg";
|
|
5
|
+
export declare const LibraryUnit: import("react").MemoExoticComponent<({ id, elements, isPending, onClick, selected, onToggle, onDrag, svgCache, }: {
|
|
4
6
|
id: LibraryItem["id"] | /** for pending item */ null;
|
|
5
7
|
elements?: readonly import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | undefined;
|
|
6
8
|
isPending?: boolean | undefined;
|
|
7
|
-
onClick: () => void;
|
|
9
|
+
onClick: (id: LibraryItem["id"] | null) => void;
|
|
8
10
|
selected: boolean;
|
|
9
11
|
onToggle: (id: string, event: React.MouseEvent) => void;
|
|
10
12
|
onDrag: (id: string, event: React.DragEvent) => void;
|
|
11
|
-
|
|
13
|
+
svgCache: SvgCache;
|
|
14
|
+
}) => JSX.Element>;
|
|
15
|
+
export declare const EmptyLibraryUnit: () => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { AppState, Device, ExcalidrawProps, UIAppState } from "../types";
|
|
2
|
+
import { AppClassProperties, AppState, Device, ExcalidrawProps, UIAppState } from "../types";
|
|
3
3
|
import { ActionManager } from "../actions/manager";
|
|
4
4
|
import { NonDeletedExcalidrawElement } from "../element/types";
|
|
5
5
|
type MobileMenuProps = {
|
|
@@ -21,6 +21,7 @@ type MobileMenuProps = {
|
|
|
21
21
|
renderSidebars: () => JSX.Element | null;
|
|
22
22
|
device: Device;
|
|
23
23
|
renderWelcomeScreen: boolean;
|
|
24
|
+
app: AppClassProperties;
|
|
24
25
|
};
|
|
25
|
-
export declare const MobileMenu: ({ appState, elements, actionManager, setAppState, onLockToggle, onHandToolToggle, onPenModeToggle, canvas, onImageAction, renderTopRightUI, renderCustomStats, renderSidebars, device, renderWelcomeScreen, }: MobileMenuProps) => JSX.Element;
|
|
26
|
+
export declare const MobileMenu: ({ appState, elements, actionManager, setAppState, onLockToggle, onHandToolToggle, onPenModeToggle, canvas, onImageAction, renderTopRightUI, renderCustomStats, renderSidebars, device, renderWelcomeScreen, app, }: MobileMenuProps) => JSX.Element;
|
|
26
27
|
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./OverwriteConfirm.scss";
|
|
3
|
+
export type OverwriteConfirmDialogProps = {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
};
|
|
6
|
+
declare const OverwriteConfirmDialog: React.FC<OverwriteConfirmDialogProps & {
|
|
7
|
+
__fallback?: boolean | undefined;
|
|
8
|
+
}> & {
|
|
9
|
+
Actions: (({ children }: {
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
}) => JSX.Element) & {
|
|
12
|
+
ExportToImage: () => JSX.Element;
|
|
13
|
+
SaveToDisk: () => JSX.Element;
|
|
14
|
+
};
|
|
15
|
+
Action: ({ title, children, actionLabel, onClick, }: import("./OverwriteConfirmActions").ActionProps) => JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
export { OverwriteConfirmDialog };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type ActionProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
actionLabel: string;
|
|
6
|
+
onClick: () => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const Action: ({ title, children, actionLabel, onClick, }: ActionProps) => JSX.Element;
|
|
9
|
+
export declare const ExportToImage: () => JSX.Element;
|
|
10
|
+
export declare const SaveToDisk: () => JSX.Element;
|
|
11
|
+
declare const Actions: (({ children }: {
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
}) => JSX.Element) & {
|
|
14
|
+
ExportToImage: () => JSX.Element;
|
|
15
|
+
SaveToDisk: () => JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
export { Actions };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type OverwriteConfirmState = {
|
|
3
|
+
active: true;
|
|
4
|
+
title: string;
|
|
5
|
+
description: React.ReactNode;
|
|
6
|
+
actionLabel: string;
|
|
7
|
+
color: "danger" | "warning";
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
onConfirm: () => void;
|
|
10
|
+
onReject: () => void;
|
|
11
|
+
} | {
|
|
12
|
+
active: false;
|
|
13
|
+
};
|
|
14
|
+
export declare const overwriteConfirmStateAtom: import("jotai").PrimitiveAtom<OverwriteConfirmState> & {
|
|
15
|
+
init: OverwriteConfirmState;
|
|
16
|
+
};
|
|
17
|
+
export declare function openConfirmModal({ title, description, actionLabel, color, }: {
|
|
18
|
+
title: string;
|
|
19
|
+
description: React.ReactNode;
|
|
20
|
+
actionLabel: string;
|
|
21
|
+
color: "danger" | "warning";
|
|
22
|
+
}): Promise<boolean>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./RadioGroup.scss";
|
|
2
|
+
export type RadioGroupChoice<T> = {
|
|
3
|
+
value: T;
|
|
4
|
+
label: string;
|
|
5
|
+
};
|
|
6
|
+
export type RadioGroupProps<T> = {
|
|
7
|
+
choices: RadioGroupChoice<T>[];
|
|
8
|
+
value: T;
|
|
9
|
+
onChange: (value: T) => void;
|
|
10
|
+
name: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const RadioGroup: <T>({ onChange, value, choices, name, }: RadioGroupProps<T>) => JSX.Element;
|
|
@@ -8,27 +8,7 @@ import "./Sidebar.scss";
|
|
|
8
8
|
*
|
|
9
9
|
* Since we can only render one Sidebar at a time, we can use a simple flag.
|
|
10
10
|
*/
|
|
11
|
-
export declare const isSidebarDockedAtom: import("jotai").
|
|
12
|
-
write: (get: {
|
|
13
|
-
<Value>(atom: import("jotai").Atom<Value | Promise<Value>>): Value;
|
|
14
|
-
<Value_1>(atom: import("jotai").Atom<Promise<Value_1>>): Value_1;
|
|
15
|
-
<Value_2>(atom: import("jotai").Atom<Value_2>): Value_2 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_2;
|
|
16
|
-
} & {
|
|
17
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>, options: {
|
|
18
|
-
unstable_promise: true;
|
|
19
|
-
}): Value_3 | Promise<Value_3>;
|
|
20
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>, options: {
|
|
21
|
-
unstable_promise: true;
|
|
22
|
-
}): Value_4 | Promise<Value_4>;
|
|
23
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>, options: {
|
|
24
|
-
unstable_promise: true;
|
|
25
|
-
}): (Value_5 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_5) | Promise<Value_5 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_5>;
|
|
26
|
-
}, set: {
|
|
27
|
-
<Value_6, Result extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_6, undefined, Result>): Result;
|
|
28
|
-
<Value_7, Update, Result_1 extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_7, Update, Result_1>, update: Update): Result_1;
|
|
29
|
-
}, update: boolean | ((prev: boolean) => boolean)) => void;
|
|
30
|
-
onMount?: (<S extends (update: boolean | ((prev: boolean) => boolean)) => void>(setAtom: S) => void | (() => void)) | undefined;
|
|
31
|
-
} & {
|
|
11
|
+
export declare const isSidebarDockedAtom: import("jotai").PrimitiveAtom<boolean> & {
|
|
32
12
|
init: boolean;
|
|
33
13
|
};
|
|
34
14
|
export declare const SidebarInner: React.ForwardRefExoticComponent<Pick<{
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import "./Spinner.scss";
|
|
2
|
-
declare const Spinner: ({ size, circleWidth, }: {
|
|
2
|
+
declare const Spinner: ({ size, circleWidth, synchronized, }: {
|
|
3
3
|
size?: string | number | undefined;
|
|
4
4
|
circleWidth?: number | undefined;
|
|
5
|
+
synchronized?: boolean | undefined;
|
|
5
6
|
}) => JSX.Element;
|
|
6
7
|
export default Spinner;
|
|
@@ -7,9 +7,10 @@ type StackProps = {
|
|
|
7
7
|
justifyContent?: "center" | "space-around" | "space-between";
|
|
8
8
|
className?: string | boolean;
|
|
9
9
|
style?: React.CSSProperties;
|
|
10
|
+
ref: React.RefObject<HTMLDivElement>;
|
|
10
11
|
};
|
|
11
12
|
declare const _default: {
|
|
12
|
-
Row:
|
|
13
|
-
Col:
|
|
13
|
+
Row: React.ForwardRefExoticComponent<Pick<StackProps, "style" | "className" | "children" | "gap" | "justifyContent" | "align"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
Col: React.ForwardRefExoticComponent<Pick<StackProps, "style" | "className" | "children" | "gap" | "justifyContent" | "align"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
15
|
};
|
|
15
16
|
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "./Switch.scss";
|
|
2
|
+
export type SwitchProps = {
|
|
3
|
+
name: string;
|
|
4
|
+
checked: boolean;
|
|
5
|
+
title?: string;
|
|
6
|
+
onChange: (value: boolean) => void;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const Switch: ({ title, name, checked, onChange, disabled, }: SwitchProps) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./ToolIcon.scss";
|
|
2
|
-
import React from "react";
|
|
2
|
+
import React, { CSSProperties } from "react";
|
|
3
3
|
import { PointerType } from "../element/types";
|
|
4
4
|
export type ToolButtonSize = "small" | "medium";
|
|
5
5
|
type ToolButtonBaseProps = {
|
|
@@ -18,6 +18,7 @@ type ToolButtonBaseProps = {
|
|
|
18
18
|
visible?: boolean;
|
|
19
19
|
selected?: boolean;
|
|
20
20
|
className?: string;
|
|
21
|
+
style?: CSSProperties;
|
|
21
22
|
isLoading?: boolean;
|
|
22
23
|
};
|
|
23
24
|
type ToolButtonProps = (ToolButtonBaseProps & {
|
|
@@ -6,11 +6,12 @@ declare const DropdownMenu: {
|
|
|
6
6
|
open: boolean;
|
|
7
7
|
}): JSX.Element;
|
|
8
8
|
Trigger: {
|
|
9
|
-
({ className, children, onToggle, }: {
|
|
9
|
+
({ className, children, onToggle, title, ...rest }: {
|
|
10
10
|
className?: string | undefined;
|
|
11
11
|
children: React.ReactNode;
|
|
12
12
|
onToggle: () => void;
|
|
13
|
-
|
|
13
|
+
title?: string | undefined;
|
|
14
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onSelect">): JSX.Element;
|
|
14
15
|
displayName: string;
|
|
15
16
|
};
|
|
16
17
|
Content: {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const MenuTrigger: {
|
|
2
|
-
({ className, children, onToggle, }: {
|
|
3
|
+
({ className, children, onToggle, title, ...rest }: {
|
|
3
4
|
className?: string | undefined;
|
|
4
5
|
children: React.ReactNode;
|
|
5
6
|
onToggle: () => void;
|
|
6
|
-
|
|
7
|
+
title?: string | undefined;
|
|
8
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onSelect">): JSX.Element;
|
|
7
9
|
displayName: string;
|
|
8
10
|
};
|
|
9
11
|
export default MenuTrigger;
|
|
@@ -138,4 +138,14 @@ export declare const TextAlignMiddleIcon: React.MemoExoticComponent<({ theme }:
|
|
|
138
138
|
export declare const publishIcon: JSX.Element;
|
|
139
139
|
export declare const eraser: JSX.Element;
|
|
140
140
|
export declare const handIcon: JSX.Element;
|
|
141
|
+
export declare const downloadIcon: JSX.Element;
|
|
142
|
+
export declare const copyIcon: JSX.Element;
|
|
143
|
+
export declare const helpIcon: JSX.Element;
|
|
144
|
+
export declare const playerPlayIcon: JSX.Element;
|
|
145
|
+
export declare const playerStopFilledIcon: JSX.Element;
|
|
146
|
+
export declare const tablerCheckIcon: JSX.Element;
|
|
147
|
+
export declare const alertTriangleIcon: JSX.Element;
|
|
148
|
+
export declare const eyeDropperIcon: JSX.Element;
|
|
149
|
+
export declare const extraToolsIcon: JSX.Element;
|
|
150
|
+
export declare const frameToolIcon: JSX.Element;
|
|
141
151
|
export {};
|
|
@@ -10,11 +10,12 @@ declare const MainMenu: React.FC<{
|
|
|
10
10
|
__fallback?: boolean | undefined;
|
|
11
11
|
}> & {
|
|
12
12
|
Trigger: {
|
|
13
|
-
({ className, children, onToggle, }: {
|
|
13
|
+
({ className, children, onToggle, title, ...rest }: {
|
|
14
14
|
className?: string | undefined;
|
|
15
15
|
children: React.ReactNode;
|
|
16
16
|
onToggle: () => void;
|
|
17
|
-
|
|
17
|
+
title?: string | undefined;
|
|
18
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onSelect">): JSX.Element;
|
|
18
19
|
displayName: string;
|
|
19
20
|
};
|
|
20
21
|
Item: {
|
package/types/constants.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export declare enum EVENT {
|
|
|
47
47
|
GESTURE_START = "gesturestart",
|
|
48
48
|
GESTURE_CHANGE = "gesturechange",
|
|
49
49
|
POINTER_MOVE = "pointermove",
|
|
50
|
+
POINTER_DOWN = "pointerdown",
|
|
50
51
|
POINTER_UP = "pointerup",
|
|
51
52
|
STATE_CHANGE = "statechange",
|
|
52
53
|
WHEEL = "wheel",
|
|
@@ -74,6 +75,19 @@ export declare const THEME: {
|
|
|
74
75
|
LIGHT: string;
|
|
75
76
|
DARK: string;
|
|
76
77
|
};
|
|
78
|
+
export declare const FRAME_STYLE: {
|
|
79
|
+
strokeColor: string;
|
|
80
|
+
strokeWidth: number;
|
|
81
|
+
strokeStyle: import("./element/types").StrokeStyle;
|
|
82
|
+
fillStyle: import("./element/types").FillStyle;
|
|
83
|
+
roughness: number;
|
|
84
|
+
roundness: {
|
|
85
|
+
type: import("./element/types").RoundnessType;
|
|
86
|
+
value?: number | undefined;
|
|
87
|
+
} | null;
|
|
88
|
+
backgroundColor: string;
|
|
89
|
+
radius: number;
|
|
90
|
+
};
|
|
77
91
|
export declare const WINDOWS_EMOJI_FALLBACK_FONT = "Segoe UI Emoji";
|
|
78
92
|
export declare const DEFAULT_FONT_SIZE = 20;
|
|
79
93
|
export declare const DEFAULT_FONT_FAMILY: FontFamilyValues;
|
|
@@ -119,6 +133,7 @@ export declare const EXPORT_DATA_TYPES: {
|
|
|
119
133
|
readonly excalidraw: "excalidraw";
|
|
120
134
|
readonly excalidrawClipboard: "excalidraw/clipboard";
|
|
121
135
|
readonly excalidrawLibrary: "excalidrawlib";
|
|
136
|
+
readonly excalidrawClipboardWithAPI: "excalidraw-api/clipboard";
|
|
122
137
|
};
|
|
123
138
|
export declare const EXPORT_SOURCE: string;
|
|
124
139
|
export declare const IMAGE_RENDER_TIMEOUT = 500;
|
|
@@ -10,6 +10,7 @@ type TunnelsContextValue = {
|
|
|
10
10
|
FooterCenterTunnel: Tunnel;
|
|
11
11
|
DefaultSidebarTriggerTunnel: Tunnel;
|
|
12
12
|
DefaultSidebarTabTriggersTunnel: Tunnel;
|
|
13
|
+
OverwriteConfirmDialogTunnel: Tunnel;
|
|
13
14
|
jotaiScope: symbol;
|
|
14
15
|
};
|
|
15
16
|
export declare const TunnelsContext: React.Context<TunnelsContextValue>;
|
package/types/data/library.d.ts
CHANGED
|
@@ -1,55 +1,11 @@
|
|
|
1
1
|
import { LibraryItems, ExcalidrawImperativeAPI, LibraryItemsSource } from "../types";
|
|
2
2
|
import type App from "../components/App";
|
|
3
3
|
import { ExcalidrawElement } from "../element/types";
|
|
4
|
-
export declare const libraryItemsAtom: import("jotai").
|
|
4
|
+
export declare const libraryItemsAtom: import("jotai").PrimitiveAtom<{
|
|
5
5
|
status: "loading" | "loaded";
|
|
6
6
|
isInitialized: boolean;
|
|
7
7
|
libraryItems: LibraryItems;
|
|
8
8
|
}> & {
|
|
9
|
-
write: (get: {
|
|
10
|
-
<Value>(atom: import("jotai").Atom<Value | Promise<Value>>): Value;
|
|
11
|
-
<Value_1>(atom: import("jotai").Atom<Promise<Value_1>>): Value_1;
|
|
12
|
-
<Value_2>(atom: import("jotai").Atom<Value_2>): Value_2 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_2;
|
|
13
|
-
} & {
|
|
14
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>, options: {
|
|
15
|
-
unstable_promise: true;
|
|
16
|
-
}): Value_3 | Promise<Value_3>;
|
|
17
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>, options: {
|
|
18
|
-
unstable_promise: true;
|
|
19
|
-
}): Value_4 | Promise<Value_4>;
|
|
20
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>, options: {
|
|
21
|
-
unstable_promise: true;
|
|
22
|
-
}): (Value_5 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_5) | Promise<Value_5 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_5>;
|
|
23
|
-
}, set: {
|
|
24
|
-
<Value_6, Result extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_6, undefined, Result>): Result;
|
|
25
|
-
<Value_7, Update, Result_1 extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_7, Update, Result_1>, update: Update): Result_1;
|
|
26
|
-
}, update: {
|
|
27
|
-
status: "loading" | "loaded";
|
|
28
|
-
isInitialized: boolean;
|
|
29
|
-
libraryItems: LibraryItems;
|
|
30
|
-
} | ((prev: {
|
|
31
|
-
status: "loading" | "loaded";
|
|
32
|
-
isInitialized: boolean;
|
|
33
|
-
libraryItems: LibraryItems;
|
|
34
|
-
}) => {
|
|
35
|
-
status: "loading" | "loaded";
|
|
36
|
-
isInitialized: boolean;
|
|
37
|
-
libraryItems: LibraryItems;
|
|
38
|
-
})) => void;
|
|
39
|
-
onMount?: (<S extends (update: {
|
|
40
|
-
status: "loading" | "loaded";
|
|
41
|
-
isInitialized: boolean;
|
|
42
|
-
libraryItems: LibraryItems;
|
|
43
|
-
} | ((prev: {
|
|
44
|
-
status: "loading" | "loaded";
|
|
45
|
-
isInitialized: boolean;
|
|
46
|
-
libraryItems: LibraryItems;
|
|
47
|
-
}) => {
|
|
48
|
-
status: "loading" | "loaded";
|
|
49
|
-
isInitialized: boolean;
|
|
50
|
-
libraryItems: LibraryItems;
|
|
51
|
-
})) => void>(setAtom: S) => void | (() => void)) | undefined;
|
|
52
|
-
} & {
|
|
53
9
|
init: {
|
|
54
10
|
status: "loading" | "loaded";
|
|
55
11
|
isInitialized: boolean;
|
|
@@ -70,6 +26,8 @@ declare class Library {
|
|
|
70
26
|
private updateQueue;
|
|
71
27
|
private getLastUpdateTask;
|
|
72
28
|
private notifyListeners;
|
|
29
|
+
/** call on excalidraw instance unmount */
|
|
30
|
+
destroy: () => void;
|
|
73
31
|
resetLibrary: () => Promise<LibraryItems>;
|
|
74
32
|
/**
|
|
75
33
|
* @returns latest cloned libraryItems. Awaits all in-progress updates first.
|
package/types/data/restore.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExcalidrawElement
|
|
1
|
+
import { ExcalidrawElement } from "../element/types";
|
|
2
2
|
import { AppState, BinaryFiles, LibraryItem } from "../types";
|
|
3
3
|
import { ImportedDataState } from "./types";
|
|
4
4
|
type RestoredAppState = Omit<AppState, "offsetTop" | "offsetLeft" | "width" | "height">;
|
|
@@ -8,15 +8,6 @@ export type RestoredDataState = {
|
|
|
8
8
|
appState: RestoredAppState;
|
|
9
9
|
files: BinaryFiles;
|
|
10
10
|
};
|
|
11
|
-
export declare const restoreElementWithProperties: <T extends Required<Omit<ExcalidrawElement, "customData">> & {
|
|
12
|
-
customData?: ExcalidrawElement["customData"];
|
|
13
|
-
/** @deprecated */
|
|
14
|
-
boundElementIds?: readonly string[] | undefined;
|
|
15
|
-
/** @deprecated */
|
|
16
|
-
strokeSharpness?: StrokeRoundness | undefined;
|
|
17
|
-
/** metadata that may be present in elements during collaboration */
|
|
18
|
-
__precedingElement__?: string | undefined;
|
|
19
|
-
}, K extends Pick<T, Exclude<keyof T, "link" | "id" | "x" | "y" | "strokeColor" | "backgroundColor" | "fillStyle" | "strokeWidth" | "strokeStyle" | "roundness" | "roughness" | "opacity" | "width" | "height" | "angle" | "seed" | "version" | "versionNonce" | "isDeleted" | "groupIds" | "boundElements" | "updated" | "locked" | "customData" | "type">>>(element: T, extra: Pick<T, keyof K> & Partial<Pick<ExcalidrawElement, "x" | "y" | "type">>) => T;
|
|
20
11
|
export declare const restoreElements: (elements: ImportedDataState["elements"], localElements: readonly ExcalidrawElement[] | null | undefined, opts?: {
|
|
21
12
|
refreshDimensions?: boolean;
|
|
22
13
|
repairBindings?: boolean;
|
|
@@ -1,4 +1,73 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ElementConstructorOpts } from "../element/newElement";
|
|
2
|
+
import { ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawFrameElement, ExcalidrawFreeDrawElement, ExcalidrawGenericElement, ExcalidrawImageElement, ExcalidrawLinearElement, ExcalidrawSelectionElement, ExcalidrawTextElement, FontFamilyValues, TextAlign, VerticalAlign } from "../element/types";
|
|
3
|
+
import { MarkOptional } from "../utility-types";
|
|
4
|
+
export type ValidLinearElement = {
|
|
5
|
+
type: "arrow" | "line";
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
label?: {
|
|
9
|
+
text: string;
|
|
10
|
+
fontSize?: number;
|
|
11
|
+
fontFamily?: FontFamilyValues;
|
|
12
|
+
textAlign?: TextAlign;
|
|
13
|
+
verticalAlign?: VerticalAlign;
|
|
14
|
+
} & MarkOptional<ElementConstructorOpts, "x" | "y">;
|
|
15
|
+
end?: (({
|
|
16
|
+
type: Exclude<ExcalidrawBindableElement["type"], "image" | "selection" | "text" | "frame">;
|
|
17
|
+
id?: ExcalidrawGenericElement["id"];
|
|
18
|
+
} | {
|
|
19
|
+
id: ExcalidrawGenericElement["id"];
|
|
20
|
+
type?: Exclude<ExcalidrawBindableElement["type"], "image" | "selection" | "text" | "frame">;
|
|
21
|
+
}) | (({
|
|
22
|
+
type: "text";
|
|
23
|
+
text: string;
|
|
24
|
+
} | {
|
|
25
|
+
type?: "text";
|
|
26
|
+
id: ExcalidrawTextElement["id"];
|
|
27
|
+
text: string;
|
|
28
|
+
}) & Partial<ExcalidrawTextElement>)) & MarkOptional<ElementConstructorOpts, "x" | "y">;
|
|
29
|
+
start?: (({
|
|
30
|
+
type: Exclude<ExcalidrawBindableElement["type"], "image" | "selection" | "text" | "frame">;
|
|
31
|
+
id?: ExcalidrawGenericElement["id"];
|
|
32
|
+
} | {
|
|
33
|
+
id: ExcalidrawGenericElement["id"];
|
|
34
|
+
type?: Exclude<ExcalidrawBindableElement["type"], "image" | "selection" | "text" | "frame">;
|
|
35
|
+
}) | (({
|
|
36
|
+
type: "text";
|
|
37
|
+
text: string;
|
|
38
|
+
} | {
|
|
39
|
+
type?: "text";
|
|
40
|
+
id: ExcalidrawTextElement["id"];
|
|
41
|
+
text: string;
|
|
42
|
+
}) & Partial<ExcalidrawTextElement>)) & MarkOptional<ElementConstructorOpts, "x" | "y">;
|
|
43
|
+
} & Partial<ExcalidrawLinearElement>;
|
|
44
|
+
export type ValidContainer = {
|
|
45
|
+
type: Exclude<ExcalidrawGenericElement["type"], "selection">;
|
|
46
|
+
id?: ExcalidrawGenericElement["id"];
|
|
47
|
+
label?: {
|
|
48
|
+
text: string;
|
|
49
|
+
fontSize?: number;
|
|
50
|
+
fontFamily?: FontFamilyValues;
|
|
51
|
+
textAlign?: TextAlign;
|
|
52
|
+
verticalAlign?: VerticalAlign;
|
|
53
|
+
} & MarkOptional<ElementConstructorOpts, "x" | "y">;
|
|
54
|
+
} & ElementConstructorOpts;
|
|
55
|
+
export interface ExcalidrawProgrammaticAPI {
|
|
56
|
+
elements?: readonly (Extract<ExcalidrawElement, ExcalidrawSelectionElement | ExcalidrawFreeDrawElement | ExcalidrawFrameElement> | ({
|
|
57
|
+
type: Extract<ExcalidrawLinearElement["type"], "line">;
|
|
58
|
+
x: number;
|
|
59
|
+
y: number;
|
|
60
|
+
} & Partial<ExcalidrawLinearElement>) | ValidContainer | ValidLinearElement | ({
|
|
61
|
+
type: "text";
|
|
62
|
+
text: string;
|
|
63
|
+
x: number;
|
|
64
|
+
y: number;
|
|
65
|
+
id?: ExcalidrawTextElement["id"];
|
|
66
|
+
} & Partial<ExcalidrawTextElement>) | ({
|
|
67
|
+
type: Extract<ExcalidrawImageElement["type"], "image">;
|
|
68
|
+
x: number;
|
|
69
|
+
y: number;
|
|
70
|
+
} & Partial<ExcalidrawImageElement>))[] | null;
|
|
71
|
+
}
|
|
3
72
|
export declare const ELEMENTS_SUPPORTING_PROGRAMMATIC_API: string[];
|
|
4
|
-
export declare const convertToExcalidrawElements: (elements:
|
|
73
|
+
export declare const convertToExcalidrawElements: (elements: ExcalidrawProgrammaticAPI["elements"]) => ExcalidrawElement[];
|
package/types/data/types.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExcalidrawElement } from "../element/types";
|
|
2
2
|
import { AppState, BinaryFiles, LibraryItems, LibraryItems_anyVersion } from "../types";
|
|
3
3
|
import type { cleanAppStateForExport } from "../appState";
|
|
4
4
|
import { VERSIONS } from "../constants";
|
|
5
|
-
import { MarkOptional } from "../utility-types";
|
|
6
|
-
import { ElementConstructorOpts } from "../element/newElement";
|
|
7
5
|
export interface ExportedDataState {
|
|
8
6
|
type: string;
|
|
9
7
|
version: number;
|
|
@@ -27,50 +25,7 @@ export interface ImportedDataState {
|
|
|
27
25
|
type?: string;
|
|
28
26
|
version?: number;
|
|
29
27
|
source?: string;
|
|
30
|
-
elements?: readonly
|
|
31
|
-
type: Exclude<ExcalidrawGenericElement["type"], "selection">;
|
|
32
|
-
id?: ExcalidrawGenericElement["id"];
|
|
33
|
-
label?: {
|
|
34
|
-
text: string;
|
|
35
|
-
fontSize?: number;
|
|
36
|
-
fontFamily?: FontFamilyValues;
|
|
37
|
-
textAlign?: TextAlign;
|
|
38
|
-
verticalAlign?: VerticalAlign;
|
|
39
|
-
} & MarkOptional<ElementConstructorOpts, "x" | "y">;
|
|
40
|
-
} & ElementConstructorOpts) | ({
|
|
41
|
-
type: "text";
|
|
42
|
-
text: string;
|
|
43
|
-
x: number;
|
|
44
|
-
y: number;
|
|
45
|
-
id?: ExcalidrawTextElement["id"];
|
|
46
|
-
} & Partial<ExcalidrawTextElement>) | ({
|
|
47
|
-
type: ExcalidrawLinearElement["type"];
|
|
48
|
-
x: number;
|
|
49
|
-
y: number;
|
|
50
|
-
label?: {
|
|
51
|
-
text: string;
|
|
52
|
-
fontSize?: number;
|
|
53
|
-
fontFamily?: FontFamilyValues;
|
|
54
|
-
textAlign?: TextAlign;
|
|
55
|
-
verticalAlign?: VerticalAlign;
|
|
56
|
-
} & MarkOptional<ElementConstructorOpts, "x" | "y">;
|
|
57
|
-
end?: ({
|
|
58
|
-
type: Exclude<ExcalidrawBindableElement["type"], "image" | "selection" | "text">;
|
|
59
|
-
id?: ExcalidrawGenericElement["id"];
|
|
60
|
-
} | ({
|
|
61
|
-
type: "text";
|
|
62
|
-
text: string;
|
|
63
|
-
id?: ExcalidrawTextElement["id"];
|
|
64
|
-
} & Partial<ExcalidrawTextElement>)) & MarkOptional<ElementConstructorOpts, "x" | "y">;
|
|
65
|
-
start?: ({
|
|
66
|
-
type: Exclude<ExcalidrawBindableElement["type"], "image" | "selection" | "text">;
|
|
67
|
-
id?: ExcalidrawGenericElement["id"];
|
|
68
|
-
} | ({
|
|
69
|
-
type: "text";
|
|
70
|
-
text: string;
|
|
71
|
-
id?: ExcalidrawTextElement["id"];
|
|
72
|
-
} & Partial<ExcalidrawTextElement>)) & MarkOptional<ElementConstructorOpts, "x" | "y">;
|
|
73
|
-
} & Partial<ExcalidrawLinearElement>))[] | null;
|
|
28
|
+
elements?: readonly ExcalidrawElement[] | null;
|
|
74
29
|
appState?: Readonly<Partial<AppState & {
|
|
75
30
|
[T in keyof LegacyAppState]: LegacyAppState[T][0];
|
|
76
31
|
}>> | null;
|