@excalidraw/excalidraw 0.15.2-6213-0f92339 → 0.15.2-6441-09a9176
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/README.md +4 -0
- package/dist/excalidraw-assets/locales/ar-SA-json-20b8359339093c0d55e4.js +1 -0
- package/dist/excalidraw-assets/locales/az-AZ-json-95ab85135314fce51ccc.js +1 -0
- package/dist/excalidraw-assets/locales/bg-BG-json-0d8dbcb99870971021ee.js +1 -0
- package/dist/excalidraw-assets/locales/bn-BD-json-e2b7f233baf2dcd84360.js +1 -0
- package/dist/excalidraw-assets/locales/ca-ES-json-2526e4d277313d9fa2ba.js +1 -0
- package/dist/excalidraw-assets/locales/cs-CZ-json-9eb9864732272e7dd3e5.js +1 -0
- package/dist/excalidraw-assets/locales/da-DK-json-4f8e7ffffcfe77676372.js +1 -0
- package/dist/excalidraw-assets/locales/de-DE-json-d3be08a6c1c77da3217b.js +1 -0
- package/dist/excalidraw-assets/locales/el-GR-json-dbefbe1435eb60114eb6.js +1 -0
- package/dist/excalidraw-assets/locales/es-ES-json-c1f2257ac1f4cf4ae735.js +1 -0
- package/dist/excalidraw-assets/locales/eu-ES-json-5533c5bc25f2a8c5f167.js +1 -0
- package/dist/excalidraw-assets/locales/fa-IR-json-5a4de9617f16bd36abf9.js +1 -0
- package/dist/excalidraw-assets/locales/fi-FI-json-8941c5209ec2fe54175f.js +1 -0
- package/dist/excalidraw-assets/locales/fr-FR-json-f350482e7da034549dbf.js +1 -0
- package/dist/excalidraw-assets/locales/gl-ES-json-c54966edc31ab5d6917e.js +1 -0
- package/dist/excalidraw-assets/locales/he-IL-json-0a140148a521e80ef951.js +1 -0
- package/dist/excalidraw-assets/locales/hi-IN-json-fa6d3964054b114046c0.js +1 -0
- package/dist/excalidraw-assets/locales/hu-HU-json-ec488d80d0a50ac94743.js +1 -0
- package/dist/excalidraw-assets/locales/id-ID-json-b724e9ec875dd8ffee62.js +1 -0
- package/dist/excalidraw-assets/locales/it-IT-json-4e385faed32727fe36ce.js +1 -0
- package/dist/excalidraw-assets/locales/ja-JP-json-323f591c38869b307b87.js +1 -0
- package/dist/excalidraw-assets/locales/kaa-json-ac1f4f50b9d889b7b8c6.js +1 -0
- package/dist/excalidraw-assets/locales/kab-KAB-json-8a859cf6ef556b4cb21a.js +1 -0
- package/dist/excalidraw-assets/locales/kk-KZ-json-31eb6ba41a19136eff88.js +1 -0
- package/dist/excalidraw-assets/locales/km-KH-json-7f445f80e19ca90e9998.js +1 -0
- package/dist/excalidraw-assets/locales/ko-KR-json-9a0b6ecc5be0f4e98fee.js +1 -0
- package/dist/excalidraw-assets/locales/ku-TR-json-2608a20f805341b51a6e.js +1 -0
- package/dist/excalidraw-assets/locales/lt-LT-json-a258da44916407cf694a.js +1 -0
- package/dist/excalidraw-assets/locales/lv-LV-json-7dbbb288da81c4987475.js +1 -0
- package/dist/excalidraw-assets/locales/mr-IN-json-d72d88dfcb51c3668e5b.js +1 -0
- package/dist/excalidraw-assets/locales/my-MM-json-e35accf714a96ecbf476.js +1 -0
- package/dist/excalidraw-assets/locales/nb-NO-json-4f1808f3507956e1afe9.js +1 -0
- package/dist/excalidraw-assets/locales/nl-NL-json-e2408c0b590b8987e423.js +1 -0
- package/dist/excalidraw-assets/locales/nn-NO-json-67ff40e2c3eb08ee2368.js +1 -0
- package/dist/excalidraw-assets/locales/oc-FR-json-ff98e2029afacd5a71e7.js +1 -0
- package/dist/excalidraw-assets/locales/pa-IN-json-4727608e172fc670161c.js +1 -0
- package/dist/excalidraw-assets/locales/pl-PL-json-8d41ca8cad23ad48c767.js +1 -0
- package/dist/excalidraw-assets/locales/pt-BR-json-80997877c2c88f481632.js +1 -0
- package/dist/excalidraw-assets/locales/pt-PT-json-54e547cc2cd8b0700305.js +1 -0
- package/dist/excalidraw-assets/locales/ro-RO-json-6f6fbe0dacd28213189e.js +1 -0
- package/dist/excalidraw-assets/locales/ru-RU-json-f3368da59c45bb4ea83d.js +1 -0
- package/dist/excalidraw-assets/locales/si-LK-json-0e496395bea7aa09c12e.js +1 -0
- package/dist/excalidraw-assets/locales/sk-SK-json-f6694f00a14601aafbc9.js +1 -0
- package/dist/excalidraw-assets/locales/sl-SI-json-956739803bca409172cb.js +1 -0
- package/dist/excalidraw-assets/locales/sv-SE-json-036a58ce76df0ef486f1.js +1 -0
- package/dist/excalidraw-assets/locales/ta-IN-json-e215bca042782bf1aafb.js +1 -0
- package/dist/excalidraw-assets/locales/th-TH-json-779ad701c23e676f3907.js +1 -0
- package/dist/excalidraw-assets/locales/tr-TR-json-1f83ec99916cff31ea83.js +1 -0
- package/dist/excalidraw-assets/locales/uk-UA-json-b402aaa379cc70152220.js +1 -0
- package/dist/excalidraw-assets/locales/vi-VN-json-bcc95c0e05c13d6f59f3.js +1 -0
- package/dist/excalidraw-assets/locales/zh-CN-json-cba518876516337cde09.js +1 -0
- package/dist/excalidraw-assets/locales/zh-HK-json-9af6e5a3292b417d9698.js +1 -0
- package/dist/excalidraw-assets/locales/zh-TW-json-c578828a49f1eb06685e.js +1 -0
- package/dist/excalidraw-assets/{vendor-53d1c69ef585b6dd219b.js → vendor-a026459b6e88c51893c3.js} +2 -2
- package/dist/excalidraw-assets-dev/locales/ar-SA-json-f0a936944c7690d6ca20.js +22 -0
- package/dist/excalidraw-assets-dev/locales/az-AZ-json-aa2106a195005649f288.js +22 -0
- package/dist/excalidraw-assets-dev/locales/bg-BG-json-244a526ffd7fb0401bf4.js +22 -0
- package/dist/excalidraw-assets-dev/locales/bn-BD-json-84daac1a6f87d54ab482.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ca-ES-json-f19488481689426f35e7.js +22 -0
- package/dist/excalidraw-assets-dev/locales/cs-CZ-json-4131c5c6a650ff359d88.js +22 -0
- package/dist/excalidraw-assets-dev/locales/da-DK-json-43c89c591886c0bf87c5.js +22 -0
- package/dist/excalidraw-assets-dev/locales/de-DE-json-c1c6f1ccba0c81e36ff3.js +22 -0
- package/dist/excalidraw-assets-dev/locales/el-GR-json-a0d2db555d8eabf2314d.js +22 -0
- package/dist/excalidraw-assets-dev/locales/es-ES-json-d28c0a34dd65557c36d1.js +22 -0
- package/dist/excalidraw-assets-dev/locales/eu-ES-json-a9c30edbcd64040f6d81.js +22 -0
- package/dist/excalidraw-assets-dev/locales/fa-IR-json-c94925ee07701ef438a2.js +22 -0
- package/dist/excalidraw-assets-dev/locales/fi-FI-json-534ff9afaddfa5e98712.js +22 -0
- package/dist/excalidraw-assets-dev/locales/fr-FR-json-148222fdde4309b9ffdd.js +22 -0
- package/dist/excalidraw-assets-dev/locales/gl-ES-json-b6d43d24dfabd06e45d5.js +22 -0
- package/dist/excalidraw-assets-dev/locales/he-IL-json-5f74dda2737436b4482a.js +22 -0
- package/dist/excalidraw-assets-dev/locales/hi-IN-json-5ce4fc9ec6678cfd2f6b.js +22 -0
- package/dist/excalidraw-assets-dev/locales/hu-HU-json-e6a409606cf22a639a75.js +22 -0
- package/dist/excalidraw-assets-dev/locales/id-ID-json-81ef59d57194b5eaf5cc.js +22 -0
- package/dist/excalidraw-assets-dev/locales/it-IT-json-3ae9ff054a8832e055d3.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ja-JP-json-4f64b1c6188e0451fd4b.js +22 -0
- package/dist/excalidraw-assets-dev/locales/kaa-json-4017d8481aa0b479424a.js +22 -0
- package/dist/excalidraw-assets-dev/locales/kab-KAB-json-ffe286fa0d0bb4f0c8b0.js +22 -0
- package/dist/excalidraw-assets-dev/locales/kk-KZ-json-0a85d681d9deb9c440c9.js +22 -0
- package/dist/excalidraw-assets-dev/locales/km-KH-json-38d489a3cd78fb378b39.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ko-KR-json-dab1c947d6d2ca3ddac0.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ku-TR-json-c342bf0a9985d2953f39.js +22 -0
- package/dist/excalidraw-assets-dev/locales/lt-LT-json-5b6406e76cf0d826cc16.js +22 -0
- package/dist/excalidraw-assets-dev/locales/lv-LV-json-216a1fe6e16d46a93b33.js +22 -0
- package/dist/excalidraw-assets-dev/locales/mr-IN-json-d2359502fdbadc31b122.js +22 -0
- package/dist/excalidraw-assets-dev/locales/my-MM-json-0ee160095e1784b8d62b.js +22 -0
- package/dist/excalidraw-assets-dev/locales/nb-NO-json-2cf7b76c223968714b89.js +22 -0
- package/dist/excalidraw-assets-dev/locales/nl-NL-json-04f6aacdcbd509af44a0.js +22 -0
- package/dist/excalidraw-assets-dev/locales/nn-NO-json-cd3bec2e4911f6ca612d.js +22 -0
- package/dist/excalidraw-assets-dev/locales/oc-FR-json-ec9566e0768dfe4b1496.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pa-IN-json-64ff3aef4c4f2285e7d4.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pl-PL-json-6ce16ec772ca39cb8744.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pt-BR-json-7571b67e63f5e151e90a.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pt-PT-json-a0efd06ca81979f0a547.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ro-RO-json-259991b384060c398825.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ru-RU-json-1666880345e0ee1d9198.js +22 -0
- package/dist/excalidraw-assets-dev/locales/si-LK-json-e6e6b1caa13f7abcfacc.js +22 -0
- package/dist/excalidraw-assets-dev/locales/sk-SK-json-f0dcb9f158c1416791e9.js +22 -0
- package/dist/excalidraw-assets-dev/locales/sl-SI-json-cd56d7fa0376488e5343.js +22 -0
- package/dist/excalidraw-assets-dev/locales/sv-SE-json-b16a829e634fedfb3471.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ta-IN-json-0f92406d511259672140.js +22 -0
- package/dist/excalidraw-assets-dev/locales/th-TH-json-53f4f07ed0af4f4164f1.js +22 -0
- package/dist/excalidraw-assets-dev/locales/tr-TR-json-efa928fe68850c03bfed.js +22 -0
- package/dist/excalidraw-assets-dev/locales/uk-UA-json-4e9f0d94b39ba92e56f2.js +22 -0
- package/dist/excalidraw-assets-dev/locales/vi-VN-json-87f5a22fd45850d1ddf7.js +22 -0
- package/dist/excalidraw-assets-dev/locales/zh-CN-json-09003f959f8d8d9ee650.js +22 -0
- package/dist/excalidraw-assets-dev/locales/zh-HK-json-79ea857f9fc00efa982e.js +22 -0
- package/dist/excalidraw-assets-dev/locales/zh-TW-json-fa855c8136cdf8c637e0.js +22 -0
- package/dist/excalidraw-assets-dev/{vendor-e6df8519da951026ff69.js → vendor-314a9d35303abe8e0fa9.js} +6 -6
- package/dist/excalidraw.development.js +1010 -240
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +3 -2
- package/types/actions/actionAddToLibrary.d.ts +21 -7
- package/types/actions/actionAlign.d.ts +6 -1
- package/types/actions/actionBoundText.d.ts +14 -5
- package/types/actions/actionCanvas.d.ts +71 -22
- package/types/actions/actionClipboard.d.ts +35 -11
- package/types/actions/actionDeleteSelected.d.ts +21 -7
- package/types/actions/actionDistribute.d.ts +0 -1
- package/types/actions/actionDuplicateSelection.d.ts +0 -1
- package/types/actions/actionElementLock.d.ts +253 -0
- package/types/actions/actionExport.d.ts +64 -20
- package/types/actions/actionFinalize.d.ts +14 -5
- package/types/actions/actionFlip.d.ts +2 -5
- package/types/actions/actionFrame.d.ts +396 -0
- package/types/actions/actionGroup.d.ts +2 -3
- package/types/actions/actionHistory.d.ts +1 -1
- package/types/actions/actionLinearEditor.d.ts +7 -3
- package/types/actions/actionMenu.d.ts +22 -9
- package/types/actions/actionNavigate.d.ts +1 -1
- package/types/actions/actionProperties.d.ts +93 -29
- package/types/actions/actionSelectAll.d.ts +0 -1
- package/types/actions/actionStyles.d.ts +7 -3
- package/types/actions/actionToggleGridMode.d.ts +7 -3
- package/types/actions/actionToggleStats.d.ts +7 -3
- package/types/actions/actionToggleViewMode.d.ts +7 -3
- package/types/actions/actionToggleZenMode.d.ts +7 -3
- package/types/actions/actionZindex.d.ts +4 -4
- package/types/actions/index.d.ts +1 -1
- package/types/actions/manager.d.ts +1 -1
- package/types/actions/shortcuts.d.ts +1 -1
- package/types/actions/types.d.ts +7 -7
- package/types/appState.d.ts +1 -1
- package/types/charts.d.ts +2 -2
- package/types/clients.d.ts +5 -6
- package/types/colors.d.ts +60 -5
- package/types/components/Actions.d.ts +5 -5
- package/types/components/ActiveConfirmDialog.d.ts +1 -21
- package/types/components/App.d.ts +14 -4
- package/types/components/Avatar.d.ts +1 -2
- package/types/components/Button.d.ts +0 -1
- package/types/components/Card.d.ts +0 -1
- package/types/components/ColorPicker/ColorInput.d.ts +7 -0
- package/types/components/ColorPicker/ColorPicker.d.ts +19 -0
- package/types/components/ColorPicker/CustomColorList.d.ts +8 -0
- package/types/components/ColorPicker/HotkeyLabel.d.ts +8 -0
- package/types/components/ColorPicker/Picker.d.ts +18 -0
- package/types/components/ColorPicker/PickerColorList.d.ts +10 -0
- package/types/components/ColorPicker/PickerHeading.d.ts +5 -0
- package/types/components/ColorPicker/ShadeList.d.ts +8 -0
- package/types/components/ColorPicker/TopPicks.d.ts +9 -0
- package/types/components/ColorPicker/colorPickerUtils.d.ts +21 -0
- package/types/components/ColorPicker/keyboardNavHandlers.d.ts +20 -0
- package/types/components/ContextMenu.d.ts +3 -3
- package/types/components/DefaultSidebar.d.ts +0 -1
- package/types/components/Dialog.d.ts +2 -4
- package/types/components/EyeDropper.d.ts +17 -0
- package/types/components/FilledButton.d.ts +16 -0
- package/types/components/FixedSideContainer.d.ts +1 -1
- package/types/components/HandButton.d.ts +1 -1
- package/types/components/HelpButton.d.ts +1 -1
- package/types/components/HintViewer.d.ts +2 -2
- package/types/components/ImageExportDialog.d.ts +8 -13
- package/types/components/Island.d.ts +1 -1
- package/types/components/JSONExportDialog.d.ts +4 -4
- package/types/components/LayerUI.d.ts +4 -3
- package/types/components/LibraryMenu.d.ts +5 -25
- package/types/components/LibraryMenuBrowseButton.d.ts +2 -2
- package/types/components/LibraryMenuControlButtons.d.ts +5 -5
- package/types/components/LibraryMenuHeaderContent.d.ts +6 -5
- package/types/components/LibraryMenuItems.d.ts +6 -7
- package/types/components/LibraryMenuSection.d.ts +22 -0
- package/types/components/LibraryUnit.d.ts +6 -3
- package/types/components/LoadingMessage.d.ts +0 -1
- package/types/components/LockButton.d.ts +1 -1
- package/types/components/MobileMenu.d.ts +4 -4
- package/types/components/PasteChartDialog.d.ts +3 -3
- package/types/components/PenModeButton.d.ts +1 -1
- package/types/components/Popover.d.ts +1 -1
- package/types/components/ProjectName.d.ts +2 -1
- package/types/components/PublishLibrary.d.ts +2 -2
- package/types/components/RadioGroup.d.ts +12 -0
- package/types/components/Sidebar/Sidebar.d.ts +1 -21
- package/types/components/Sidebar/SidebarTab.d.ts +0 -1
- package/types/components/Sidebar/SidebarTabTrigger.d.ts +0 -1
- package/types/components/Sidebar/SidebarTabTriggers.d.ts +0 -1
- package/types/components/Sidebar/SidebarTabs.d.ts +0 -1
- package/types/components/Sidebar/common.d.ts +3 -3
- package/types/components/Spinner.d.ts +2 -1
- package/types/components/Stack.d.ts +4 -3
- package/types/components/Stats.d.ts +3 -3
- package/types/components/Switch.d.ts +9 -0
- package/types/components/ToolButton.d.ts +5 -4
- package/types/components/Tooltip.d.ts +1 -1
- package/types/components/Trans.d.ts +8 -0
- package/types/components/dropdownMenu/DropdownMenu.d.ts +3 -2
- package/types/components/dropdownMenu/DropdownMenuTrigger.d.ts +3 -2
- package/types/components/footer/Footer.d.ts +2 -2
- package/types/components/icons.d.ts +10 -1
- package/types/components/live-collaboration/LiveCollaborationTrigger.d.ts +0 -1
- package/types/components/main-menu/MainMenu.d.ts +4 -5
- package/types/components/welcome-screen/WelcomeScreen.Center.d.ts +0 -1
- package/types/components/welcome-screen/WelcomeScreen.d.ts +0 -1
- package/types/constants.d.ts +19 -0
- package/types/context/tunnels.d.ts +2 -2
- package/types/context/ui-appState.d.ts +3 -3
- package/types/data/encode.d.ts +1 -1
- package/types/data/filesystem.d.ts +1 -1
- package/types/data/library.d.ts +3 -45
- package/types/data/restore.d.ts +2 -2
- package/types/data/types.d.ts +1 -1
- package/types/element/Hyperlink.d.ts +9 -5
- package/types/element/binding.d.ts +3 -3
- 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 +8 -4
- package/types/element/mutateElement.d.ts +1 -1
- package/types/element/newElement.d.ts +4 -2
- package/types/element/resizeElements.d.ts +1 -0
- package/types/element/showSelectedShapeActions.d.ts +2 -2
- package/types/element/transformHandles.d.ts +12 -5
- package/types/element/typeChecks.d.ts +2 -1
- package/types/element/types.d.ts +40 -35
- package/types/errors.d.ts +1 -1
- package/types/frame.d.ts +40 -0
- package/types/ga.d.ts +5 -5
- package/types/groups.d.ts +4 -0
- package/types/hooks/useCreatePortalContainer.d.ts +4 -0
- package/types/hooks/useLibraryItemSvg.d.ts +11 -0
- package/types/hooks/useOutsideClick.d.ts +19 -2
- package/types/hooks/useScrollPosition.d.ts +1 -0
- package/types/hooks/useTransition.d.ts +2 -0
- package/types/i18n.d.ts +2 -2
- package/types/jotai.d.ts +16 -104
- package/types/keys.d.ts +2 -1
- package/types/math.d.ts +1 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/zh-HK-json-9af6e5a3292b417d9698.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/zh-TW-json-c578828a49f1eb06685e.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-a026459b6e88c51893c3.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/zh-CN-json-09003f959f8d8d9ee650.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/zh-HK-json-79ea857f9fc00efa982e.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/zh-TW-json-fa855c8136cdf8c637e0.d.ts +2 -0
- package/types/packages/excalidraw/example/initialData.d.ts +6 -0
- package/types/packages/excalidraw/index.d.ts +1 -1
- package/types/packages/excalidraw/webpack.dev.config.d.ts +8 -2
- package/types/packages/excalidraw/webpack.prod.config.d.ts +8 -0
- package/types/packages/utils.d.ts +1 -1
- package/types/renderer/renderElement.d.ts +4 -3
- package/types/renderer/renderScene.d.ts +12 -3
- package/types/renderer/roundRect.d.ts +1 -1
- package/types/scene/Scene.d.ts +12 -5
- package/types/scene/export.d.ts +1 -0
- package/types/scene/selection.d.ts +15 -5
- package/types/scene/types.d.ts +4 -4
- package/types/types.d.ts +69 -40
- package/types/utility-types.d.ts +13 -14
- package/types/utils.d.ts +9 -6
- package/types/zindex.d.ts +4 -4
- package/dist/excalidraw-assets/locales/ar-SA-json-06d4bd2f3a164162f2b8.js +0 -1
- package/dist/excalidraw-assets/locales/bg-BG-json-72ac7b7548d7fefdcd2a.js +0 -1
- package/dist/excalidraw-assets/locales/bn-BD-json-759924ef13bd9e602cb3.js +0 -1
- package/dist/excalidraw-assets/locales/ca-ES-json-6108f4ae0be3d1e369a6.js +0 -1
- package/dist/excalidraw-assets/locales/cs-CZ-json-1ae99f296c9febb99f72.js +0 -1
- package/dist/excalidraw-assets/locales/da-DK-json-ed85a6f48e1df51b1b46.js +0 -1
- package/dist/excalidraw-assets/locales/de-DE-json-f70dfb7201a16dc3f9fc.js +0 -1
- package/dist/excalidraw-assets/locales/el-GR-json-79f7d66730b39df84f8e.js +0 -1
- package/dist/excalidraw-assets/locales/es-ES-json-682b92427b8b27bb0aa8.js +0 -1
- package/dist/excalidraw-assets/locales/eu-ES-json-1cc77079b354b962615f.js +0 -1
- package/dist/excalidraw-assets/locales/fa-IR-json-586a1324f942d89620b6.js +0 -1
- package/dist/excalidraw-assets/locales/fi-FI-json-d43636fb51002f55e2a4.js +0 -1
- package/dist/excalidraw-assets/locales/fr-FR-json-b5ea877625968f748b7f.js +0 -1
- package/dist/excalidraw-assets/locales/gl-ES-json-2117445509ba7c479ee0.js +0 -1
- package/dist/excalidraw-assets/locales/he-IL-json-3280be0edae615c7685f.js +0 -1
- package/dist/excalidraw-assets/locales/hi-IN-json-dad8ce15f9b7a435a926.js +0 -1
- package/dist/excalidraw-assets/locales/hu-HU-json-6ccf0d8a164ecec52187.js +0 -1
- package/dist/excalidraw-assets/locales/id-ID-json-6031eb8be253b20c28e9.js +0 -1
- package/dist/excalidraw-assets/locales/it-IT-json-446b14f993000d0f572f.js +0 -1
- package/dist/excalidraw-assets/locales/ja-JP-json-ef6ec5abb0c3c53c7a51.js +0 -1
- package/dist/excalidraw-assets/locales/kab-KAB-json-69853849c71eff277ba0.js +0 -1
- package/dist/excalidraw-assets/locales/kk-KZ-json-1f9df2b51e34996bad30.js +0 -1
- package/dist/excalidraw-assets/locales/ko-KR-json-cf33ecf52ab95055544b.js +0 -1
- package/dist/excalidraw-assets/locales/ku-TR-json-d10a4bb9ede3c08a08e1.js +0 -1
- package/dist/excalidraw-assets/locales/lt-LT-json-08c7fc343ef2f533ec5f.js +0 -1
- package/dist/excalidraw-assets/locales/lv-LV-json-1e3a5e87e39d2d90274c.js +0 -1
- package/dist/excalidraw-assets/locales/mr-IN-json-c922a007bb00d3e4f3b1.js +0 -1
- package/dist/excalidraw-assets/locales/my-MM-json-1a05d5c242c822079dca.js +0 -1
- package/dist/excalidraw-assets/locales/nb-NO-json-7ea7ab2356e76889af8d.js +0 -1
- package/dist/excalidraw-assets/locales/nl-NL-json-5805f36f33a3f8e53adc.js +0 -1
- package/dist/excalidraw-assets/locales/nn-NO-json-8209f0f674435b52293d.js +0 -1
- package/dist/excalidraw-assets/locales/oc-FR-json-e90ca79174b6e1eccb72.js +0 -1
- package/dist/excalidraw-assets/locales/pa-IN-json-1854ecccf3c6f8ea9c46.js +0 -1
- package/dist/excalidraw-assets/locales/pl-PL-json-b4be83b26070e4cf70ca.js +0 -1
- package/dist/excalidraw-assets/locales/pt-BR-json-2e7a1690edc8d46e8842.js +0 -1
- package/dist/excalidraw-assets/locales/pt-PT-json-aba1622a80e32e465a3d.js +0 -1
- package/dist/excalidraw-assets/locales/ro-RO-json-3397acad1a98b5093c8b.js +0 -1
- package/dist/excalidraw-assets/locales/ru-RU-json-8ab49e8d0473e92a8ab9.js +0 -1
- package/dist/excalidraw-assets/locales/si-LK-json-db1222db995d9425e281.js +0 -1
- package/dist/excalidraw-assets/locales/sk-SK-json-50dcb09552f93c2de3a4.js +0 -1
- package/dist/excalidraw-assets/locales/sl-SI-json-68eba9ac00ae57bae3f4.js +0 -1
- package/dist/excalidraw-assets/locales/sv-SE-json-36b97455521e61312a47.js +0 -1
- package/dist/excalidraw-assets/locales/ta-IN-json-4063d11b19f24794564a.js +0 -1
- package/dist/excalidraw-assets/locales/th-TH-json-3a152569bbebfec7c6c0.js +0 -1
- package/dist/excalidraw-assets/locales/tr-TR-json-9002b1505b0931924d42.js +0 -1
- package/dist/excalidraw-assets/locales/uk-UA-json-4e345c790342b7672248.js +0 -1
- package/dist/excalidraw-assets/locales/vi-VN-json-2f5b95c0011820e16f4b.js +0 -1
- package/dist/excalidraw-assets/locales/zh-CN-json-2cb13b38b6615ada3097.js +0 -1
- package/dist/excalidraw-assets/locales/zh-HK-json-4bcbf71743fda1544a84.js +0 -1
- package/dist/excalidraw-assets/locales/zh-TW-json-c39caba2da3f001066a8.js +0 -1
- package/dist/excalidraw-assets-dev/locales/ar-SA-json-8df64942a3f6232064a4.js +0 -22
- package/dist/excalidraw-assets-dev/locales/bg-BG-json-f0939048738ceeacefae.js +0 -22
- package/dist/excalidraw-assets-dev/locales/bn-BD-json-4b92eb02a90d83c47173.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ca-ES-json-e85ce0d6447d42432c66.js +0 -22
- package/dist/excalidraw-assets-dev/locales/cs-CZ-json-2a885b79b3be836df283.js +0 -22
- package/dist/excalidraw-assets-dev/locales/da-DK-json-dfdaec93be64dc2704d9.js +0 -22
- package/dist/excalidraw-assets-dev/locales/de-DE-json-72757b9d842748bf832e.js +0 -22
- package/dist/excalidraw-assets-dev/locales/el-GR-json-c18382659d1c0307b73b.js +0 -22
- package/dist/excalidraw-assets-dev/locales/es-ES-json-aacc6f2fd98f0f967c32.js +0 -22
- package/dist/excalidraw-assets-dev/locales/eu-ES-json-63e15be6c04e80959411.js +0 -22
- package/dist/excalidraw-assets-dev/locales/fa-IR-json-7b9d274d5accc82982e9.js +0 -22
- package/dist/excalidraw-assets-dev/locales/fi-FI-json-b466031cdd8ef6f8c32b.js +0 -22
- package/dist/excalidraw-assets-dev/locales/fr-FR-json-0d4f6fdfa9be76a941d7.js +0 -22
- package/dist/excalidraw-assets-dev/locales/gl-ES-json-46863175bb629a5bb37e.js +0 -22
- package/dist/excalidraw-assets-dev/locales/he-IL-json-e0bd304682986695208c.js +0 -22
- package/dist/excalidraw-assets-dev/locales/hi-IN-json-0e1dae2ff14e81ba2dd4.js +0 -22
- package/dist/excalidraw-assets-dev/locales/hu-HU-json-230434a2a2eb764d410c.js +0 -22
- package/dist/excalidraw-assets-dev/locales/id-ID-json-c163c21859b707d96c6d.js +0 -22
- package/dist/excalidraw-assets-dev/locales/it-IT-json-f3776c336b416375460b.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ja-JP-json-452835b81621e5ae6cb6.js +0 -22
- package/dist/excalidraw-assets-dev/locales/kab-KAB-json-61a7d382c88b96fe1f38.js +0 -22
- package/dist/excalidraw-assets-dev/locales/kk-KZ-json-0f99b0b0e9aeb250f10d.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ko-KR-json-3de3dc5cb1dac5b79f94.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ku-TR-json-22a3fdac3947f747cd75.js +0 -22
- package/dist/excalidraw-assets-dev/locales/lt-LT-json-535e00475a2d73aa8927.js +0 -22
- package/dist/excalidraw-assets-dev/locales/lv-LV-json-6e981883d91c29060dd4.js +0 -22
- package/dist/excalidraw-assets-dev/locales/mr-IN-json-6ad409707531c84de376.js +0 -22
- package/dist/excalidraw-assets-dev/locales/my-MM-json-cb25da0149000113fd3f.js +0 -22
- package/dist/excalidraw-assets-dev/locales/nb-NO-json-bd11ba266e4e2c0fa619.js +0 -22
- package/dist/excalidraw-assets-dev/locales/nl-NL-json-8e66a88c43a7eeed44f8.js +0 -22
- package/dist/excalidraw-assets-dev/locales/nn-NO-json-608fd6a88621d6d18035.js +0 -22
- package/dist/excalidraw-assets-dev/locales/oc-FR-json-dc16297d69033e71846a.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pa-IN-json-03bbe592bfa55fe214a9.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pl-PL-json-3e483c75de431520dfa3.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pt-BR-json-a9f4548703a436582ea1.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pt-PT-json-722910761860dbd3fb87.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ro-RO-json-fe65a70419c866a6ce94.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ru-RU-json-2c39ffbb623db8024be0.js +0 -22
- package/dist/excalidraw-assets-dev/locales/si-LK-json-a867646cf3fa3a22cafb.js +0 -22
- package/dist/excalidraw-assets-dev/locales/sk-SK-json-bb5ffb40cd779a63565f.js +0 -22
- package/dist/excalidraw-assets-dev/locales/sl-SI-json-d1036f8f3d1f6b1a70f4.js +0 -22
- package/dist/excalidraw-assets-dev/locales/sv-SE-json-53791d0a923a4de6a2e2.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ta-IN-json-30fffc9f1cedf1d559d8.js +0 -22
- package/dist/excalidraw-assets-dev/locales/th-TH-json-523e92f9f3b6924c3f66.js +0 -22
- package/dist/excalidraw-assets-dev/locales/tr-TR-json-e43e35aa81edeb9058ee.js +0 -22
- package/dist/excalidraw-assets-dev/locales/uk-UA-json-2cd06c30d512defd8a0b.js +0 -22
- package/dist/excalidraw-assets-dev/locales/vi-VN-json-fe2d25d75865c608e798.js +0 -22
- package/dist/excalidraw-assets-dev/locales/zh-CN-json-e5e59a1cd383192a1792.js +0 -22
- package/dist/excalidraw-assets-dev/locales/zh-HK-json-2e545ed460deb9818584.js +0 -22
- package/dist/excalidraw-assets-dev/locales/zh-TW-json-5c0415fa2e3076904544.js +0 -22
- package/types/actions/actionToggleLock.d.ts +0 -122
- package/types/components/ColorPicker.d.ts +0 -14
- /package/dist/excalidraw-assets/{vendor-53d1c69ef585b6dd219b.js.LICENSE.txt → vendor-a026459b6e88c51893c3.js.LICENSE.txt} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ar-SA-json-06d4bd2f3a164162f2b8.d.ts → ar-SA-json-20b8359339093c0d55e4.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{bg-BG-json-72ac7b7548d7fefdcd2a.d.ts → az-AZ-json-95ab85135314fce51ccc.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{bn-BD-json-759924ef13bd9e602cb3.d.ts → bg-BG-json-0d8dbcb99870971021ee.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ca-ES-json-6108f4ae0be3d1e369a6.d.ts → bn-BD-json-e2b7f233baf2dcd84360.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{cs-CZ-json-1ae99f296c9febb99f72.d.ts → ca-ES-json-2526e4d277313d9fa2ba.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{da-DK-json-ed85a6f48e1df51b1b46.d.ts → cs-CZ-json-9eb9864732272e7dd3e5.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{de-DE-json-f70dfb7201a16dc3f9fc.d.ts → da-DK-json-4f8e7ffffcfe77676372.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{el-GR-json-79f7d66730b39df84f8e.d.ts → de-DE-json-d3be08a6c1c77da3217b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{es-ES-json-682b92427b8b27bb0aa8.d.ts → el-GR-json-dbefbe1435eb60114eb6.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{eu-ES-json-1cc77079b354b962615f.d.ts → es-ES-json-c1f2257ac1f4cf4ae735.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fa-IR-json-586a1324f942d89620b6.d.ts → eu-ES-json-5533c5bc25f2a8c5f167.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fi-FI-json-d43636fb51002f55e2a4.d.ts → fa-IR-json-5a4de9617f16bd36abf9.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fr-FR-json-b5ea877625968f748b7f.d.ts → fi-FI-json-8941c5209ec2fe54175f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{gl-ES-json-2117445509ba7c479ee0.d.ts → fr-FR-json-f350482e7da034549dbf.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{he-IL-json-3280be0edae615c7685f.d.ts → gl-ES-json-c54966edc31ab5d6917e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hi-IN-json-dad8ce15f9b7a435a926.d.ts → he-IL-json-0a140148a521e80ef951.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hu-HU-json-6ccf0d8a164ecec52187.d.ts → hi-IN-json-fa6d3964054b114046c0.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{id-ID-json-6031eb8be253b20c28e9.d.ts → hu-HU-json-ec488d80d0a50ac94743.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{it-IT-json-446b14f993000d0f572f.d.ts → id-ID-json-b724e9ec875dd8ffee62.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ja-JP-json-ef6ec5abb0c3c53c7a51.d.ts → it-IT-json-4e385faed32727fe36ce.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kab-KAB-json-69853849c71eff277ba0.d.ts → ja-JP-json-323f591c38869b307b87.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kk-KZ-json-1f9df2b51e34996bad30.d.ts → kaa-json-ac1f4f50b9d889b7b8c6.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ko-KR-json-cf33ecf52ab95055544b.d.ts → kab-KAB-json-8a859cf6ef556b4cb21a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ku-TR-json-d10a4bb9ede3c08a08e1.d.ts → kk-KZ-json-31eb6ba41a19136eff88.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{lt-LT-json-08c7fc343ef2f533ec5f.d.ts → km-KH-json-7f445f80e19ca90e9998.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{lv-LV-json-1e3a5e87e39d2d90274c.d.ts → ko-KR-json-9a0b6ecc5be0f4e98fee.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{mr-IN-json-c922a007bb00d3e4f3b1.d.ts → ku-TR-json-2608a20f805341b51a6e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{my-MM-json-1a05d5c242c822079dca.d.ts → lt-LT-json-a258da44916407cf694a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nb-NO-json-7ea7ab2356e76889af8d.d.ts → lv-LV-json-7dbbb288da81c4987475.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nl-NL-json-5805f36f33a3f8e53adc.d.ts → mr-IN-json-d72d88dfcb51c3668e5b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nn-NO-json-8209f0f674435b52293d.d.ts → my-MM-json-e35accf714a96ecbf476.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{oc-FR-json-e90ca79174b6e1eccb72.d.ts → nb-NO-json-4f1808f3507956e1afe9.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pa-IN-json-1854ecccf3c6f8ea9c46.d.ts → nl-NL-json-e2408c0b590b8987e423.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pl-PL-json-b4be83b26070e4cf70ca.d.ts → nn-NO-json-67ff40e2c3eb08ee2368.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pt-BR-json-2e7a1690edc8d46e8842.d.ts → oc-FR-json-ff98e2029afacd5a71e7.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pt-PT-json-aba1622a80e32e465a3d.d.ts → pa-IN-json-4727608e172fc670161c.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ro-RO-json-3397acad1a98b5093c8b.d.ts → pl-PL-json-8d41ca8cad23ad48c767.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ru-RU-json-8ab49e8d0473e92a8ab9.d.ts → pt-BR-json-80997877c2c88f481632.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{si-LK-json-db1222db995d9425e281.d.ts → pt-PT-json-54e547cc2cd8b0700305.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sk-SK-json-50dcb09552f93c2de3a4.d.ts → ro-RO-json-6f6fbe0dacd28213189e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sl-SI-json-68eba9ac00ae57bae3f4.d.ts → ru-RU-json-f3368da59c45bb4ea83d.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sv-SE-json-36b97455521e61312a47.d.ts → si-LK-json-0e496395bea7aa09c12e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ta-IN-json-4063d11b19f24794564a.d.ts → sk-SK-json-f6694f00a14601aafbc9.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{th-TH-json-3a152569bbebfec7c6c0.d.ts → sl-SI-json-956739803bca409172cb.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{tr-TR-json-9002b1505b0931924d42.d.ts → sv-SE-json-036a58ce76df0ef486f1.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{uk-UA-json-4e345c790342b7672248.d.ts → ta-IN-json-e215bca042782bf1aafb.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{vi-VN-json-2f5b95c0011820e16f4b.d.ts → th-TH-json-779ad701c23e676f3907.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-CN-json-2cb13b38b6615ada3097.d.ts → tr-TR-json-1f83ec99916cff31ea83.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-HK-json-4bcbf71743fda1544a84.d.ts → uk-UA-json-b402aaa379cc70152220.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-TW-json-c39caba2da3f001066a8.d.ts → vi-VN-json-bcc95c0e05c13d6f59f3.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/{vendor-53d1c69ef585b6dd219b.d.ts → locales/zh-CN-json-cba518876516337cde09.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ar-SA-json-8df64942a3f6232064a4.d.ts → ar-SA-json-f0a936944c7690d6ca20.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bg-BG-json-f0939048738ceeacefae.d.ts → az-AZ-json-aa2106a195005649f288.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bn-BD-json-4b92eb02a90d83c47173.d.ts → bg-BG-json-244a526ffd7fb0401bf4.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ca-ES-json-e85ce0d6447d42432c66.d.ts → bn-BD-json-84daac1a6f87d54ab482.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{cs-CZ-json-2a885b79b3be836df283.d.ts → ca-ES-json-f19488481689426f35e7.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{da-DK-json-dfdaec93be64dc2704d9.d.ts → cs-CZ-json-4131c5c6a650ff359d88.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{de-DE-json-72757b9d842748bf832e.d.ts → da-DK-json-43c89c591886c0bf87c5.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{el-GR-json-c18382659d1c0307b73b.d.ts → de-DE-json-c1c6f1ccba0c81e36ff3.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{es-ES-json-aacc6f2fd98f0f967c32.d.ts → el-GR-json-a0d2db555d8eabf2314d.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{eu-ES-json-63e15be6c04e80959411.d.ts → es-ES-json-d28c0a34dd65557c36d1.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fa-IR-json-7b9d274d5accc82982e9.d.ts → eu-ES-json-a9c30edbcd64040f6d81.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fi-FI-json-b466031cdd8ef6f8c32b.d.ts → fa-IR-json-c94925ee07701ef438a2.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fr-FR-json-0d4f6fdfa9be76a941d7.d.ts → fi-FI-json-534ff9afaddfa5e98712.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{gl-ES-json-46863175bb629a5bb37e.d.ts → fr-FR-json-148222fdde4309b9ffdd.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{he-IL-json-e0bd304682986695208c.d.ts → gl-ES-json-b6d43d24dfabd06e45d5.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hi-IN-json-0e1dae2ff14e81ba2dd4.d.ts → he-IL-json-5f74dda2737436b4482a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hu-HU-json-230434a2a2eb764d410c.d.ts → hi-IN-json-5ce4fc9ec6678cfd2f6b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{id-ID-json-c163c21859b707d96c6d.d.ts → hu-HU-json-e6a409606cf22a639a75.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{it-IT-json-f3776c336b416375460b.d.ts → id-ID-json-81ef59d57194b5eaf5cc.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ja-JP-json-452835b81621e5ae6cb6.d.ts → it-IT-json-3ae9ff054a8832e055d3.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kab-KAB-json-61a7d382c88b96fe1f38.d.ts → ja-JP-json-4f64b1c6188e0451fd4b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kk-KZ-json-0f99b0b0e9aeb250f10d.d.ts → kaa-json-4017d8481aa0b479424a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ko-KR-json-3de3dc5cb1dac5b79f94.d.ts → kab-KAB-json-ffe286fa0d0bb4f0c8b0.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ku-TR-json-22a3fdac3947f747cd75.d.ts → kk-KZ-json-0a85d681d9deb9c440c9.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lt-LT-json-535e00475a2d73aa8927.d.ts → km-KH-json-38d489a3cd78fb378b39.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lv-LV-json-6e981883d91c29060dd4.d.ts → ko-KR-json-dab1c947d6d2ca3ddac0.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{mr-IN-json-6ad409707531c84de376.d.ts → ku-TR-json-c342bf0a9985d2953f39.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{my-MM-json-cb25da0149000113fd3f.d.ts → lt-LT-json-5b6406e76cf0d826cc16.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nb-NO-json-bd11ba266e4e2c0fa619.d.ts → lv-LV-json-216a1fe6e16d46a93b33.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nl-NL-json-8e66a88c43a7eeed44f8.d.ts → mr-IN-json-d2359502fdbadc31b122.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nn-NO-json-608fd6a88621d6d18035.d.ts → my-MM-json-0ee160095e1784b8d62b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{oc-FR-json-dc16297d69033e71846a.d.ts → nb-NO-json-2cf7b76c223968714b89.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pa-IN-json-03bbe592bfa55fe214a9.d.ts → nl-NL-json-04f6aacdcbd509af44a0.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pl-PL-json-3e483c75de431520dfa3.d.ts → nn-NO-json-cd3bec2e4911f6ca612d.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-BR-json-a9f4548703a436582ea1.d.ts → oc-FR-json-ec9566e0768dfe4b1496.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-PT-json-722910761860dbd3fb87.d.ts → pa-IN-json-64ff3aef4c4f2285e7d4.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ro-RO-json-fe65a70419c866a6ce94.d.ts → pl-PL-json-6ce16ec772ca39cb8744.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ru-RU-json-2c39ffbb623db8024be0.d.ts → pt-BR-json-7571b67e63f5e151e90a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{si-LK-json-a867646cf3fa3a22cafb.d.ts → pt-PT-json-a0efd06ca81979f0a547.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sk-SK-json-bb5ffb40cd779a63565f.d.ts → ro-RO-json-259991b384060c398825.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sl-SI-json-d1036f8f3d1f6b1a70f4.d.ts → ru-RU-json-1666880345e0ee1d9198.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sv-SE-json-53791d0a923a4de6a2e2.d.ts → si-LK-json-e6e6b1caa13f7abcfacc.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ta-IN-json-30fffc9f1cedf1d559d8.d.ts → sk-SK-json-f0dcb9f158c1416791e9.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{th-TH-json-523e92f9f3b6924c3f66.d.ts → sl-SI-json-cd56d7fa0376488e5343.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{tr-TR-json-e43e35aa81edeb9058ee.d.ts → sv-SE-json-b16a829e634fedfb3471.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{uk-UA-json-2cd06c30d512defd8a0b.d.ts → ta-IN-json-0f92406d511259672140.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{vi-VN-json-fe2d25d75865c608e798.d.ts → th-TH-json-53f4f07ed0af4f4164f1.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-CN-json-e5e59a1cd383192a1792.d.ts → tr-TR-json-efa928fe68850c03bfed.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-HK-json-2e545ed460deb9818584.d.ts → uk-UA-json-4e9f0d94b39ba92e56f2.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-TW-json-5c0415fa2e3076904544.d.ts → vi-VN-json-87f5a22fd45850d1ddf7.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/{vendor-e6df8519da951026ff69.d.ts → vendor-314a9d35303abe8e0fa9.d.ts} +0 -0
package/types/element/types.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { Point } from "../types";
|
|
2
2
|
import { FONT_FAMILY, ROUNDNESS, TEXT_ALIGN, THEME, VERTICAL_ALIGN } from "../constants";
|
|
3
3
|
import { MarkNonNullable, ValueOf } from "../utility-types";
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
4
|
+
export type ChartType = "bar" | "line";
|
|
5
|
+
export type FillStyle = "hachure" | "cross-hatch" | "solid" | "zigzag";
|
|
6
|
+
export type FontFamilyKeys = keyof typeof FONT_FAMILY;
|
|
7
|
+
export type FontFamilyValues = typeof FONT_FAMILY[FontFamilyKeys];
|
|
8
|
+
export type Theme = typeof THEME[keyof typeof THEME];
|
|
9
|
+
export type FontString = string & {
|
|
10
10
|
_brand: "fontString";
|
|
11
11
|
};
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
|
|
19
|
-
export
|
|
20
|
-
|
|
12
|
+
export type GroupId = string;
|
|
13
|
+
export type PointerType = "mouse" | "pen" | "touch";
|
|
14
|
+
export type StrokeRoundness = "round" | "sharp";
|
|
15
|
+
export type RoundnessType = ValueOf<typeof ROUNDNESS>;
|
|
16
|
+
export type StrokeStyle = "solid" | "dashed" | "dotted";
|
|
17
|
+
export type TextAlign = typeof TEXT_ALIGN[keyof typeof TEXT_ALIGN];
|
|
18
|
+
type VerticalAlignKeys = keyof typeof VERTICAL_ALIGN;
|
|
19
|
+
export type VerticalAlign = typeof VERTICAL_ALIGN[VerticalAlignKeys];
|
|
20
|
+
type _ExcalidrawElementBase = Readonly<{
|
|
21
21
|
id: string;
|
|
22
22
|
x: number;
|
|
23
23
|
y: number;
|
|
@@ -49,6 +49,7 @@ declare type _ExcalidrawElementBase = Readonly<{
|
|
|
49
49
|
/** List of groups the element belongs to.
|
|
50
50
|
Ordered from deepest to shallowest. */
|
|
51
51
|
groupIds: readonly GroupId[];
|
|
52
|
+
frameId: string | null;
|
|
52
53
|
/** other elements that are bound to this element */
|
|
53
54
|
boundElements: readonly Readonly<{
|
|
54
55
|
id: ExcalidrawLinearElement["id"];
|
|
@@ -60,19 +61,19 @@ declare type _ExcalidrawElementBase = Readonly<{
|
|
|
60
61
|
locked: boolean;
|
|
61
62
|
customData?: Record<string, any>;
|
|
62
63
|
}>;
|
|
63
|
-
export
|
|
64
|
+
export type ExcalidrawSelectionElement = _ExcalidrawElementBase & {
|
|
64
65
|
type: "selection";
|
|
65
66
|
};
|
|
66
|
-
export
|
|
67
|
+
export type ExcalidrawRectangleElement = _ExcalidrawElementBase & {
|
|
67
68
|
type: "rectangle";
|
|
68
69
|
};
|
|
69
|
-
export
|
|
70
|
+
export type ExcalidrawDiamondElement = _ExcalidrawElementBase & {
|
|
70
71
|
type: "diamond";
|
|
71
72
|
};
|
|
72
|
-
export
|
|
73
|
+
export type ExcalidrawEllipseElement = _ExcalidrawElementBase & {
|
|
73
74
|
type: "ellipse";
|
|
74
75
|
};
|
|
75
|
-
export
|
|
76
|
+
export type ExcalidrawImageElement = _ExcalidrawElementBase & Readonly<{
|
|
76
77
|
type: "image";
|
|
77
78
|
fileId: FileId | null;
|
|
78
79
|
/** whether respective file is persisted */
|
|
@@ -80,22 +81,26 @@ export declare type ExcalidrawImageElement = _ExcalidrawElementBase & Readonly<{
|
|
|
80
81
|
/** X and Y scale factors <-1, 1>, used for image axis flipping */
|
|
81
82
|
scale: [number, number];
|
|
82
83
|
}>;
|
|
83
|
-
export
|
|
84
|
+
export type InitializedExcalidrawImageElement = MarkNonNullable<ExcalidrawImageElement, "fileId">;
|
|
85
|
+
export type ExcalidrawFrameElement = _ExcalidrawElementBase & {
|
|
86
|
+
type: "frame";
|
|
87
|
+
name: string | null;
|
|
88
|
+
};
|
|
84
89
|
/**
|
|
85
90
|
* These are elements that don't have any additional properties.
|
|
86
91
|
*/
|
|
87
|
-
export
|
|
92
|
+
export type ExcalidrawGenericElement = ExcalidrawSelectionElement | ExcalidrawRectangleElement | ExcalidrawDiamondElement | ExcalidrawEllipseElement;
|
|
88
93
|
/**
|
|
89
94
|
* ExcalidrawElement should be JSON serializable and (eventually) contain
|
|
90
95
|
* no computed data. The list of all ExcalidrawElements should be shareable
|
|
91
96
|
* between peers and contain no state local to the peer.
|
|
92
97
|
*/
|
|
93
|
-
export
|
|
94
|
-
export
|
|
98
|
+
export type ExcalidrawElement = ExcalidrawGenericElement | ExcalidrawTextElement | ExcalidrawLinearElement | ExcalidrawFreeDrawElement | ExcalidrawImageElement | ExcalidrawFrameElement;
|
|
99
|
+
export type NonDeleted<TElement extends ExcalidrawElement> = TElement & {
|
|
95
100
|
isDeleted: boolean;
|
|
96
101
|
};
|
|
97
|
-
export
|
|
98
|
-
export
|
|
102
|
+
export type NonDeletedExcalidrawElement = NonDeleted<ExcalidrawElement>;
|
|
103
|
+
export type ExcalidrawTextElement = _ExcalidrawElementBase & Readonly<{
|
|
99
104
|
type: "text";
|
|
100
105
|
fontSize: number;
|
|
101
106
|
fontFamily: FontFamilyValues;
|
|
@@ -113,18 +118,18 @@ export declare type ExcalidrawTextElement = _ExcalidrawElementBase & Readonly<{
|
|
|
113
118
|
_brand: "unitlessLineHeight";
|
|
114
119
|
};
|
|
115
120
|
}>;
|
|
116
|
-
export
|
|
117
|
-
export
|
|
118
|
-
export
|
|
121
|
+
export type ExcalidrawBindableElement = ExcalidrawRectangleElement | ExcalidrawDiamondElement | ExcalidrawEllipseElement | ExcalidrawTextElement | ExcalidrawImageElement | ExcalidrawFrameElement;
|
|
122
|
+
export type ExcalidrawTextContainer = ExcalidrawRectangleElement | ExcalidrawDiamondElement | ExcalidrawEllipseElement | ExcalidrawArrowElement;
|
|
123
|
+
export type ExcalidrawTextElementWithContainer = {
|
|
119
124
|
containerId: ExcalidrawTextContainer["id"];
|
|
120
125
|
} & ExcalidrawTextElement;
|
|
121
|
-
export
|
|
126
|
+
export type PointBinding = {
|
|
122
127
|
elementId: ExcalidrawBindableElement["id"];
|
|
123
128
|
focus: number;
|
|
124
129
|
gap: number;
|
|
125
130
|
};
|
|
126
|
-
export
|
|
127
|
-
export
|
|
131
|
+
export type Arrowhead = "arrow" | "bar" | "dot" | "triangle";
|
|
132
|
+
export type ExcalidrawLinearElement = _ExcalidrawElementBase & Readonly<{
|
|
128
133
|
type: "line" | "arrow";
|
|
129
134
|
points: readonly Point[];
|
|
130
135
|
lastCommittedPoint: Point | null;
|
|
@@ -133,17 +138,17 @@ export declare type ExcalidrawLinearElement = _ExcalidrawElementBase & Readonly<
|
|
|
133
138
|
startArrowhead: Arrowhead | null;
|
|
134
139
|
endArrowhead: Arrowhead | null;
|
|
135
140
|
}>;
|
|
136
|
-
export
|
|
141
|
+
export type ExcalidrawArrowElement = ExcalidrawLinearElement & Readonly<{
|
|
137
142
|
type: "arrow";
|
|
138
143
|
}>;
|
|
139
|
-
export
|
|
144
|
+
export type ExcalidrawFreeDrawElement = _ExcalidrawElementBase & Readonly<{
|
|
140
145
|
type: "freedraw";
|
|
141
146
|
points: readonly Point[];
|
|
142
147
|
pressures: readonly number[];
|
|
143
148
|
simulatePressure: boolean;
|
|
144
149
|
lastCommittedPoint: Point | null;
|
|
145
150
|
}>;
|
|
146
|
-
export
|
|
151
|
+
export type FileId = string & {
|
|
147
152
|
_brand: "FileId";
|
|
148
153
|
};
|
|
149
154
|
export {};
|
package/types/errors.d.ts
CHANGED
package/types/frame.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ExcalidrawElement, ExcalidrawFrameElement, NonDeleted, NonDeletedExcalidrawElement } from "./element/types";
|
|
2
|
+
import { AppState } from "./types";
|
|
3
|
+
import { ExcalidrawElementsIncludingDeleted } from "./scene/Scene";
|
|
4
|
+
export declare const bindElementsToFramesAfterDuplication: (nextElements: ExcalidrawElement[], oldElements: readonly ExcalidrawElement[], oldIdToDuplicatedId: Map<ExcalidrawElement["id"], ExcalidrawElement["id"]>) => void;
|
|
5
|
+
export declare const getElementsCompletelyInFrame: (elements: readonly ExcalidrawElement[], frame: ExcalidrawFrameElement) => ExcalidrawElement[];
|
|
6
|
+
export declare const isElementContainingFrame: (elements: readonly ExcalidrawElement[], element: ExcalidrawElement, frame: ExcalidrawFrameElement) => boolean;
|
|
7
|
+
export declare const getElementsIntersectingFrame: (elements: readonly ExcalidrawElement[], frame: ExcalidrawFrameElement) => ExcalidrawElement[];
|
|
8
|
+
export declare const elementsAreInFrameBounds: (elements: readonly ExcalidrawElement[], frame: ExcalidrawFrameElement) => boolean;
|
|
9
|
+
export declare const elementOverlapsWithFrame: (element: ExcalidrawElement, frame: ExcalidrawFrameElement) => boolean;
|
|
10
|
+
export declare const isCursorInFrame: (cursorCoords: {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
}, frame: NonDeleted<ExcalidrawFrameElement>) => boolean;
|
|
14
|
+
export declare const groupsAreAtLeastIntersectingTheFrame: (elements: readonly NonDeletedExcalidrawElement[], groupIds: readonly string[], frame: ExcalidrawFrameElement) => boolean;
|
|
15
|
+
export declare const groupsAreCompletelyOutOfFrame: (elements: readonly NonDeletedExcalidrawElement[], groupIds: readonly string[], frame: ExcalidrawFrameElement) => boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Returns a map of frameId to frame elements. Includes empty frames.
|
|
18
|
+
*/
|
|
19
|
+
export declare const groupByFrames: (elements: ExcalidrawElementsIncludingDeleted) => Map<string, ExcalidrawElement[]>;
|
|
20
|
+
export declare const getFrameElements: (allElements: ExcalidrawElementsIncludingDeleted, frameId: string) => ExcalidrawElement[];
|
|
21
|
+
export declare const getElementsInResizingFrame: (allElements: ExcalidrawElementsIncludingDeleted, frame: ExcalidrawFrameElement, appState: AppState) => ExcalidrawElement[];
|
|
22
|
+
export declare const getElementsInNewFrame: (allElements: ExcalidrawElementsIncludingDeleted, frame: ExcalidrawFrameElement) => ExcalidrawElement[];
|
|
23
|
+
export declare const getContainingFrame: (element: ExcalidrawElement, elementsMap?: Map<string, ExcalidrawElement>) => ExcalidrawFrameElement | null;
|
|
24
|
+
export declare const addElementsToFrame: (allElements: ExcalidrawElementsIncludingDeleted, elementsToAdd: NonDeletedExcalidrawElement[], frame: ExcalidrawFrameElement) => ExcalidrawElement[];
|
|
25
|
+
export declare const removeElementsFromFrame: (allElements: ExcalidrawElementsIncludingDeleted, elementsToRemove: NonDeletedExcalidrawElement[], appState: AppState) => ExcalidrawElement[];
|
|
26
|
+
export declare const removeAllElementsFromFrame: (allElements: ExcalidrawElementsIncludingDeleted, frame: ExcalidrawFrameElement, appState: AppState) => ExcalidrawElement[];
|
|
27
|
+
export declare const replaceAllElementsInFrame: (allElements: ExcalidrawElementsIncludingDeleted, nextElementsInFrame: ExcalidrawElement[], frame: ExcalidrawFrameElement, appState: AppState) => ExcalidrawElement[];
|
|
28
|
+
/** does not mutate elements, but return new ones */
|
|
29
|
+
export declare const updateFrameMembershipOfSelectedElements: (allElements: ExcalidrawElementsIncludingDeleted, appState: AppState) => ExcalidrawElement[];
|
|
30
|
+
/**
|
|
31
|
+
* filters out elements that are inside groups that contain a frame element
|
|
32
|
+
* anywhere in the group tree
|
|
33
|
+
*/
|
|
34
|
+
export declare const omitGroupsContainingFrames: (allElements: ExcalidrawElementsIncludingDeleted, selectedElements?: readonly ExcalidrawElement[]) => ExcalidrawElement[];
|
|
35
|
+
/**
|
|
36
|
+
* depending on the appState, return target frame, which is the frame the given element
|
|
37
|
+
* is going to be added to or remove from
|
|
38
|
+
*/
|
|
39
|
+
export declare const getTargetFrame: (element: ExcalidrawElement, appState: AppState) => ExcalidrawFrameElement | null;
|
|
40
|
+
export declare const isElementInFrame: (element: ExcalidrawElement, allElements: ExcalidrawElementsIncludingDeleted, appState: AppState) => boolean;
|
package/types/ga.d.ts
CHANGED
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
* See GAPoint, GALine, GADirection and GATransform modules for common
|
|
17
17
|
* operations.
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
19
|
+
export type Point = NVector;
|
|
20
|
+
export type Direction = NVector;
|
|
21
|
+
export type Line = NVector;
|
|
22
|
+
export type Transform = NVector;
|
|
23
23
|
export declare const point: (x: number, y: number) => NVector;
|
|
24
24
|
export declare const origin: () => NVector;
|
|
25
25
|
export declare const direction: (x: number, y: number) => NVector;
|
|
26
26
|
export declare const offset: (x: number, y: number) => NVector;
|
|
27
|
-
|
|
27
|
+
type NVector = readonly [
|
|
28
28
|
number,
|
|
29
29
|
number,
|
|
30
30
|
number,
|
package/types/groups.d.ts
CHANGED
|
@@ -13,6 +13,9 @@ export declare const getSelectedGroupIds: (appState: AppState) => GroupId[];
|
|
|
13
13
|
* you're currently editing that group.
|
|
14
14
|
*/
|
|
15
15
|
export declare const selectGroupsForSelectedElements: (appState: AppState, elements: readonly NonDeleted<ExcalidrawElement>[]) => AppState;
|
|
16
|
+
export declare const selectGroupsFromGivenElements: (elements: readonly NonDeleted<ExcalidrawElement>[], appState: AppState) => {
|
|
17
|
+
[groupId: string]: boolean;
|
|
18
|
+
};
|
|
16
19
|
export declare const editGroupForSelectedElement: (appState: AppState, element: NonDeleted<ExcalidrawElement>) => AppState;
|
|
17
20
|
export declare const isElementInGroup: (element: ExcalidrawElement, groupId: string) => boolean;
|
|
18
21
|
export declare const getElementsInGroup: (elements: readonly ExcalidrawElement[], groupId: string) => ExcalidrawElement[];
|
|
@@ -25,3 +28,4 @@ export declare const removeFromSelectedGroups: (groupIds: ExcalidrawElement["gro
|
|
|
25
28
|
[groupId: string]: boolean;
|
|
26
29
|
}) => string[];
|
|
27
30
|
export declare const getMaximumGroups: (elements: ExcalidrawElement[]) => ExcalidrawElement[][];
|
|
31
|
+
export declare const elementsAreInSameGroup: (elements: ExcalidrawElement[]) => boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LibraryItem } from "../types";
|
|
2
|
+
export type SvgCache = Map<LibraryItem["id"], SVGSVGElement>;
|
|
3
|
+
export declare const libraryItemSvgsCache: import("jotai").PrimitiveAtom<SvgCache> & {
|
|
4
|
+
init: SvgCache;
|
|
5
|
+
};
|
|
6
|
+
export declare const useLibraryItemSvg: (id: LibraryItem["id"] | null, elements: LibraryItem["elements"] | undefined, svgCache: SvgCache) => SVGSVGElement | undefined;
|
|
7
|
+
export declare const useLibraryCache: () => {
|
|
8
|
+
clearLibraryCache: () => void;
|
|
9
|
+
deleteItemsFromLibraryCache: (items: LibraryItem["id"][]) => void;
|
|
10
|
+
svgCache: SvgCache;
|
|
11
|
+
};
|
|
@@ -1,2 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare function useOutsideClick<T extends HTMLElement>(ref: React.RefObject<T>,
|
|
2
|
+
/** if performance is of concern, memoize the callback */
|
|
3
|
+
callback: (event: Event) => void,
|
|
4
|
+
/**
|
|
5
|
+
* Optional callback which is called on every click.
|
|
6
|
+
*
|
|
7
|
+
* Should return `true` if click should be considered as inside the container,
|
|
8
|
+
* and `false` if it falls outside and should call the `callback`.
|
|
9
|
+
*
|
|
10
|
+
* Returning `true` overrides the default behavior and `callback` won't be
|
|
11
|
+
* called.
|
|
12
|
+
*
|
|
13
|
+
* Returning `undefined` will fallback to the default behavior.
|
|
14
|
+
*/
|
|
15
|
+
isInside?: (event: Event & {
|
|
16
|
+
target: HTMLElement;
|
|
17
|
+
},
|
|
18
|
+
/** the element of the passed ref */
|
|
19
|
+
container: T) => boolean | undefined): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useScrollPosition: <T extends HTMLElement>(elementRef: import("react").RefObject<T>) => number;
|
package/types/i18n.d.ts
CHANGED
|
@@ -12,10 +12,10 @@ export declare const setLanguage: (lang: Language) => Promise<void>;
|
|
|
12
12
|
export declare const getLanguage: () => Language;
|
|
13
13
|
export declare const t: (path: string, replacement?: {
|
|
14
14
|
[key: string]: string | number;
|
|
15
|
-
} | undefined) => string;
|
|
15
|
+
} | null | undefined, fallback?: string) => string;
|
|
16
16
|
export declare const useI18n: () => {
|
|
17
17
|
t: (path: string, replacement?: {
|
|
18
18
|
[key: string]: string | number;
|
|
19
|
-
} | undefined) => string;
|
|
19
|
+
} | null | undefined, fallback?: string) => string;
|
|
20
20
|
langCode: string;
|
|
21
21
|
};
|
package/types/jotai.d.ts
CHANGED
|
@@ -1,122 +1,34 @@
|
|
|
1
1
|
import { PrimitiveAtom } from "jotai";
|
|
2
2
|
export declare const jotaiScope: unique symbol;
|
|
3
3
|
export declare const jotaiStore: {
|
|
4
|
-
get: <Value>(atom: import("jotai").Atom<Value>) =>
|
|
5
|
-
asyncGet: <Value_1>(atom: import("jotai").Atom<Value_1>) => Promise<
|
|
4
|
+
get: <Value>(atom: import("jotai").Atom<Value>) => Awaited<Value> | undefined;
|
|
5
|
+
asyncGet: <Value_1>(atom: import("jotai").Atom<Value_1>) => Promise<Awaited<Value_1>>;
|
|
6
6
|
set: <Value_2, Update, Result extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_2, Update, Result>, update: Update) => Result;
|
|
7
|
-
sub: (atom:
|
|
8
|
-
toString: () => string;
|
|
9
|
-
debugLabel?: string | undefined;
|
|
10
|
-
read: (get: {
|
|
11
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>): Value_3;
|
|
12
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>): Value_4;
|
|
13
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>): Value_5 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? any : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : Value_5;
|
|
14
|
-
}) => unknown;
|
|
15
|
-
}, callback: () => void) => () => void;
|
|
7
|
+
sub: (atom: import("jotai").Atom<unknown>, callback: () => void) => () => void;
|
|
16
8
|
SECRET_INTERNAL_store: {
|
|
17
|
-
r: <
|
|
9
|
+
r: <Value_3>(readingAtom: import("jotai").Atom<Value_3>, version?: import("jotai/core/store").VersionObject | undefined) => import("jotai/core/store").AtomState<Value_3>;
|
|
18
10
|
w: <Value_1_1, Update_1, Result_1 extends void | Promise<void>>(writingAtom: import("jotai").WritableAtom<Value_1_1, Update_1, Result_1>, update: Update_1, version?: import("jotai/core/store").VersionObject | undefined) => Result_1;
|
|
19
|
-
c: (_atom:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
read: (get: {
|
|
23
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>): Value_3;
|
|
24
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>): Value_4;
|
|
25
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>): Value_5 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? any : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : Value_5;
|
|
26
|
-
}) => unknown;
|
|
27
|
-
} | null, version?: import("jotai/core/store").VersionObject | undefined) => void;
|
|
28
|
-
s: (atom: {
|
|
29
|
-
toString: () => string;
|
|
30
|
-
debugLabel?: string | undefined;
|
|
31
|
-
read: (get: {
|
|
32
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>): Value_3;
|
|
33
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>): Value_4;
|
|
34
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>): Value_5 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? any : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : Value_5;
|
|
35
|
-
}) => unknown;
|
|
36
|
-
}, callback: (version?: import("jotai/core/store").VersionObject | undefined) => void) => () => void;
|
|
37
|
-
h: (values: Iterable<readonly [{
|
|
38
|
-
toString: () => string;
|
|
39
|
-
debugLabel?: string | undefined;
|
|
40
|
-
read: (get: {
|
|
41
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>): Value_3;
|
|
42
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>): Value_4;
|
|
43
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>): Value_5 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? any : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : Value_5;
|
|
44
|
-
}) => unknown;
|
|
45
|
-
}, unknown]>, version?: import("jotai/core/store").VersionObject | undefined) => void;
|
|
11
|
+
c: (_atom: import("jotai").Atom<unknown> | null, version?: import("jotai/core/store").VersionObject | undefined) => void;
|
|
12
|
+
s: (atom: import("jotai").Atom<unknown>, callback: (version?: import("jotai/core/store").VersionObject | undefined) => void, version?: import("jotai/core/store").VersionObject | undefined) => () => void;
|
|
13
|
+
h: (values: Iterable<readonly [import("jotai").Atom<unknown>, unknown]>, version?: import("jotai/core/store").VersionObject | undefined) => void;
|
|
46
14
|
n: (l: () => void) => () => void;
|
|
47
|
-
l: () => IterableIterator<
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
read: (get: {
|
|
51
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>): Value_3;
|
|
52
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>): Value_4;
|
|
53
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>): Value_5 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? any : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : Value_5;
|
|
54
|
-
}) => unknown;
|
|
55
|
-
}>;
|
|
56
|
-
a: (a: {
|
|
57
|
-
toString: () => string;
|
|
58
|
-
debugLabel?: string | undefined;
|
|
59
|
-
read: (get: {
|
|
60
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>): Value_3;
|
|
61
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>): Value_4;
|
|
62
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>): Value_5 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? any : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : Value_5;
|
|
63
|
-
}) => unknown;
|
|
64
|
-
}) => import("jotai/core/store").AtomState<unknown> | undefined;
|
|
65
|
-
m: (a: {
|
|
66
|
-
toString: () => string;
|
|
67
|
-
debugLabel?: string | undefined;
|
|
68
|
-
read: (get: {
|
|
69
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>): Value_3;
|
|
70
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>): Value_4;
|
|
71
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>): Value_5 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? any : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : Value_5;
|
|
72
|
-
}) => unknown;
|
|
73
|
-
}) => {
|
|
15
|
+
l: () => IterableIterator<import("jotai").Atom<unknown>>;
|
|
16
|
+
a: (a: import("jotai").Atom<unknown>) => import("jotai/core/store").AtomState<unknown> | undefined;
|
|
17
|
+
m: (a: import("jotai").Atom<unknown>) => {
|
|
74
18
|
l: Set<(version?: import("jotai/core/store").VersionObject | undefined) => void>;
|
|
75
|
-
t: Set<
|
|
76
|
-
toString: () => string;
|
|
77
|
-
debugLabel?: string | undefined;
|
|
78
|
-
read: (get: {
|
|
79
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>): Value_3;
|
|
80
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>): Value_4;
|
|
81
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>): Value_5 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? any : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : Value_5;
|
|
82
|
-
}) => unknown;
|
|
83
|
-
}>;
|
|
19
|
+
t: Set<import("jotai").Atom<unknown>>;
|
|
84
20
|
u?: (() => void) | undefined;
|
|
85
21
|
} | undefined;
|
|
86
22
|
} | {
|
|
87
|
-
r: <
|
|
23
|
+
r: <Value_4>(readingAtom: import("jotai").Atom<Value_4>, version?: import("jotai/core/store").VersionObject | undefined) => import("jotai/core/store").AtomState<Value_4>;
|
|
88
24
|
w: <Value_1_2, Update_2, Result_2 extends void | Promise<void>>(writingAtom: import("jotai").WritableAtom<Value_1_2, Update_2, Result_2>, update: Update_2, version?: import("jotai/core/store").VersionObject | undefined) => Result_2;
|
|
89
|
-
c: (_atom:
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
read: (get: {
|
|
93
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>): Value_3;
|
|
94
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>): Value_4;
|
|
95
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>): Value_5 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? any : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : Value_5;
|
|
96
|
-
}) => unknown;
|
|
97
|
-
} | null, version?: import("jotai/core/store").VersionObject | undefined) => void;
|
|
98
|
-
s: (atom: {
|
|
99
|
-
toString: () => string;
|
|
100
|
-
debugLabel?: string | undefined;
|
|
101
|
-
read: (get: {
|
|
102
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>): Value_3;
|
|
103
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>): Value_4;
|
|
104
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>): Value_5 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? any : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : Value_5;
|
|
105
|
-
}) => unknown;
|
|
106
|
-
}, callback: (version?: import("jotai/core/store").VersionObject | undefined) => void) => () => void;
|
|
107
|
-
h: (values: Iterable<readonly [{
|
|
108
|
-
toString: () => string;
|
|
109
|
-
debugLabel?: string | undefined;
|
|
110
|
-
read: (get: {
|
|
111
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>): Value_3;
|
|
112
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>): Value_4;
|
|
113
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>): Value_5 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? V_1 extends Promise<infer V_1> ? any : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : V_1 : Value_5;
|
|
114
|
-
}) => unknown;
|
|
115
|
-
}, unknown]>, version?: import("jotai/core/store").VersionObject | undefined) => void;
|
|
25
|
+
c: (_atom: import("jotai").Atom<unknown> | null, version?: import("jotai/core/store").VersionObject | undefined) => void;
|
|
26
|
+
s: (atom: import("jotai").Atom<unknown>, callback: (version?: import("jotai/core/store").VersionObject | undefined) => void, version?: import("jotai/core/store").VersionObject | undefined) => () => void;
|
|
27
|
+
h: (values: Iterable<readonly [import("jotai").Atom<unknown>, unknown]>, version?: import("jotai/core/store").VersionObject | undefined) => void;
|
|
116
28
|
n?: undefined;
|
|
117
29
|
l?: undefined;
|
|
118
30
|
a?: undefined;
|
|
119
31
|
m?: undefined;
|
|
120
32
|
};
|
|
121
33
|
};
|
|
122
|
-
export declare const useAtomWithInitialValue: <T extends unknown, A extends PrimitiveAtom<T>>(atom: A, initialValue: T | (() => T)) => readonly [
|
|
34
|
+
export declare const useAtomWithInitialValue: <T extends unknown, A extends PrimitiveAtom<T>>(atom: A, initialValue: T | (() => T)) => readonly [Awaited<T>, import("jotai/core/atom").SetAtom<T | ((prev: T) => T), void>];
|
package/types/keys.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare const KEYS: {
|
|
|
39
39
|
readonly CHEVRON_RIGHT: ">";
|
|
40
40
|
readonly PERIOD: ".";
|
|
41
41
|
readonly COMMA: ",";
|
|
42
|
+
readonly SUBTRACT: "-";
|
|
42
43
|
readonly A: "a";
|
|
43
44
|
readonly C: "c";
|
|
44
45
|
readonly D: "d";
|
|
@@ -70,7 +71,7 @@ export declare const KEYS: {
|
|
|
70
71
|
readonly 8: "8";
|
|
71
72
|
readonly 9: "9";
|
|
72
73
|
};
|
|
73
|
-
export
|
|
74
|
+
export type Key = keyof typeof KEYS;
|
|
74
75
|
export declare const isArrowKey: (key: string) => boolean;
|
|
75
76
|
export declare const shouldResizeFromCenter: (event: MouseEvent | KeyboardEvent) => boolean;
|
|
76
77
|
export declare const shouldMaintainAspectRatio: (event: MouseEvent | KeyboardEvent) => boolean;
|
package/types/math.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export declare const distance2d: (x1: number, y1: number, x2: number, y2: number
|
|
|
17
17
|
export declare const centerPoint: (a: readonly [number, number], b: readonly [number, number]) => readonly [number, number];
|
|
18
18
|
export declare const isPathALoop: (points: ExcalidrawLinearElement["points"], zoomValue?: Zoom["value"]) => boolean;
|
|
19
19
|
export declare const isPointInPolygon: (points: Point[], x: number, y: number) => boolean;
|
|
20
|
+
export declare const isPointWithinBounds: (p: readonly [number, number], q: readonly [number, number], r: readonly [number, number]) => boolean;
|
|
20
21
|
export declare const getGridPoint: (x: number, y: number, gridSize: number | null) => [number, number];
|
|
21
22
|
export declare const getCornerRadius: (x: number, element: ExcalidrawElement) => number;
|
|
22
23
|
export declare const getControlPointsForBezierCurve: (element: NonDeleted<ExcalidrawLinearElement>, endPoint: readonly [number, number]) => [number, number][] | null;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -19,6 +19,7 @@ declare namespace _default {
|
|
|
19
19
|
height: number;
|
|
20
20
|
seed: number;
|
|
21
21
|
groupIds: never[];
|
|
22
|
+
frameId: null;
|
|
22
23
|
fileId?: undefined;
|
|
23
24
|
strokeSharpness?: undefined;
|
|
24
25
|
boundElements?: undefined;
|
|
@@ -42,6 +43,7 @@ declare namespace _default {
|
|
|
42
43
|
roughness: number;
|
|
43
44
|
opacity: number;
|
|
44
45
|
groupIds: never[];
|
|
46
|
+
frameId: null;
|
|
45
47
|
strokeSharpness: string;
|
|
46
48
|
seed: number;
|
|
47
49
|
version: number;
|
|
@@ -79,6 +81,7 @@ declare namespace _default {
|
|
|
79
81
|
height: number;
|
|
80
82
|
seed: number;
|
|
81
83
|
groupIds: string[];
|
|
84
|
+
frameId: null;
|
|
82
85
|
strokeSharpness: string;
|
|
83
86
|
boundElementIds: never[];
|
|
84
87
|
startBinding: null;
|
|
@@ -107,6 +110,7 @@ declare namespace _default {
|
|
|
107
110
|
height: number;
|
|
108
111
|
seed: number;
|
|
109
112
|
groupIds: string[];
|
|
113
|
+
frameId: null;
|
|
110
114
|
strokeSharpness: string;
|
|
111
115
|
boundElementIds: string[];
|
|
112
116
|
startBinding?: undefined;
|
|
@@ -135,6 +139,7 @@ declare namespace _default {
|
|
|
135
139
|
height: number;
|
|
136
140
|
seed: number;
|
|
137
141
|
groupIds: string[];
|
|
142
|
+
frameId: null;
|
|
138
143
|
strokeSharpness: string;
|
|
139
144
|
boundElementIds: string[];
|
|
140
145
|
points?: undefined;
|
|
@@ -161,6 +166,7 @@ declare namespace _default {
|
|
|
161
166
|
height: number;
|
|
162
167
|
seed: number;
|
|
163
168
|
groupIds: string[];
|
|
169
|
+
frameId: null;
|
|
164
170
|
strokeSharpness: string;
|
|
165
171
|
boundElementIds: never[];
|
|
166
172
|
points: number[][];
|
|
@@ -6,7 +6,7 @@ import Footer from "../../components/footer/FooterCenter";
|
|
|
6
6
|
import MainMenu from "../../components/main-menu/MainMenu";
|
|
7
7
|
import WelcomeScreen from "../../components/welcome-screen/WelcomeScreen";
|
|
8
8
|
import LiveCollaborationTrigger from "../../components/live-collaboration/LiveCollaborationTrigger";
|
|
9
|
-
|
|
9
|
+
type PublicExcalidrawProps = Omit<ExcalidrawProps, "forwardedRef">;
|
|
10
10
|
export declare const Excalidraw: React.MemoExoticComponent<React.ForwardRefExoticComponent<PublicExcalidrawProps & React.RefAttributes<ExcalidrawAPIRefValue>>>;
|
|
11
11
|
export { getSceneVersion, isInvisiblySmallElement, getNonDeletedElements, } from "../../element";
|
|
12
12
|
export { defaultLang, useI18n, languages } from "../../i18n";
|
|
@@ -36,13 +36,19 @@ export namespace module {
|
|
|
36
36
|
} | {
|
|
37
37
|
test: RegExp;
|
|
38
38
|
exclude: RegExp;
|
|
39
|
-
use: {
|
|
39
|
+
use: ({
|
|
40
|
+
loader: string;
|
|
41
|
+
options: {
|
|
42
|
+
transpileOnly?: undefined;
|
|
43
|
+
configFile?: undefined;
|
|
44
|
+
};
|
|
45
|
+
} | {
|
|
40
46
|
loader: string;
|
|
41
47
|
options: {
|
|
42
48
|
transpileOnly: boolean;
|
|
43
49
|
configFile: string;
|
|
44
50
|
};
|
|
45
|
-
}[];
|
|
51
|
+
})[];
|
|
46
52
|
type?: undefined;
|
|
47
53
|
} | {
|
|
48
54
|
test: RegExp;
|
|
@@ -36,6 +36,14 @@ export namespace module {
|
|
|
36
36
|
test: RegExp;
|
|
37
37
|
exclude: RegExp;
|
|
38
38
|
use: ({
|
|
39
|
+
loader: string;
|
|
40
|
+
options: {
|
|
41
|
+
transpileOnly?: undefined;
|
|
42
|
+
configFile?: undefined;
|
|
43
|
+
presets?: undefined;
|
|
44
|
+
plugins?: undefined;
|
|
45
|
+
};
|
|
46
|
+
} | {
|
|
39
47
|
loader: string;
|
|
40
48
|
options: {
|
|
41
49
|
transpileOnly: boolean;
|
|
@@ -2,7 +2,7 @@ import { AppState, BinaryFiles } from "../types";
|
|
|
2
2
|
import { ExcalidrawElement, NonDeleted } from "../element/types";
|
|
3
3
|
import { MIME_TYPES } from "../constants";
|
|
4
4
|
export { MIME_TYPES };
|
|
5
|
-
|
|
5
|
+
type ExportOpts = {
|
|
6
6
|
elements: readonly NonDeleted<ExcalidrawElement>[];
|
|
7
7
|
appState?: Partial<Omit<AppState, "offsetTop" | "offsetLeft">>;
|
|
8
8
|
files: BinaryFiles | null;
|