@excalidraw/math 0.18.0-508de2f3a → 0.18.0-51ca8ab
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev/index.js +96 -65
- package/dist/dev/index.js.map +3 -3
- package/dist/prod/index.js +1 -1
- package/dist/types/common/debug.d.ts +21 -0
- package/dist/types/common/src/appEventBus.d.ts +27 -0
- package/dist/types/common/src/bounds.d.ts +10 -0
- package/dist/types/common/src/colors.d.ts +59 -39
- package/dist/types/common/src/constants.d.ts +46 -33
- package/dist/types/common/src/editorInterface.d.ts +34 -0
- package/dist/types/common/src/font-metadata.d.ts +1 -3
- package/dist/types/common/src/index.d.ts +5 -0
- package/dist/types/common/src/keys.d.ts +1 -1
- package/dist/types/common/src/utility-types.d.ts +0 -1
- package/dist/types/common/src/utils.d.ts +46 -76
- package/dist/types/common/src/versionedSnapshotStore.d.ts +17 -0
- package/dist/types/element/src/Scene.d.ts +10 -6
- package/dist/types/element/src/arrowheads.d.ts +3 -0
- package/dist/types/element/src/arrows/focus.d.ts +27 -0
- package/dist/types/element/src/arrows/helpers.d.ts +5 -0
- package/dist/types/element/src/binding.d.ts +67 -48
- package/dist/types/element/src/bounds.d.ts +25 -18
- package/dist/types/element/src/collision.d.ts +7 -2
- package/dist/types/element/src/comparisons.d.ts +8 -7
- package/dist/types/element/src/delta.d.ts +4 -5
- package/dist/types/element/src/distribute.d.ts +2 -1
- package/dist/types/element/src/dragElements.d.ts +3 -3
- package/dist/types/element/src/duplicate.d.ts +4 -3
- package/dist/types/element/src/elbowArrow.d.ts +2 -0
- package/dist/types/element/src/fractionalIndex.d.ts +2 -2
- package/dist/types/element/src/frame.d.ts +12 -7
- package/dist/types/element/src/heading.d.ts +2 -1
- package/dist/types/element/src/image.d.ts +1 -11
- package/dist/types/element/src/index.d.ts +5 -3
- package/dist/types/element/src/linearElementEditor.d.ts +23 -22
- package/dist/types/element/src/mutateElement.d.ts +5 -2
- package/dist/types/element/src/newElement.d.ts +7 -6
- package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
- package/dist/types/element/src/renderElement.d.ts +4 -7
- package/dist/types/element/src/resizeElements.d.ts +10 -10
- package/dist/types/element/src/resizeTest.d.ts +6 -5
- package/dist/types/element/src/selection.d.ts +10 -10
- package/dist/types/element/src/shape.d.ts +9 -8
- package/dist/types/element/src/store.d.ts +5 -0
- package/dist/types/element/src/textElement.d.ts +2 -2
- package/dist/types/element/src/textMeasurements.d.ts +1 -3
- package/dist/types/element/src/textWrapping.d.ts +26 -0
- package/dist/types/{excalidraw/data → element/src}/transform.d.ts +3 -3
- package/dist/types/element/src/transformHandles.d.ts +8 -27
- package/dist/types/element/src/typeChecks.d.ts +5 -7
- package/dist/types/element/src/types.d.ts +18 -13
- package/dist/types/element/src/utils.d.ts +9 -4
- package/dist/types/element/src/zindex.d.ts +7 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +176 -210
- package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +100 -123
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +520 -1193
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +129 -893
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +48 -60
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +157 -195
- package/dist/types/excalidraw/actions/actionDeselect.d.ts +161 -0
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +3 -4
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +56 -74
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +98 -121
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +62 -74
- package/dist/types/excalidraw/actions/actionExport.d.ts +179 -1407
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +10 -394
- package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionFrame.d.ts +278 -360
- package/dist/types/excalidraw/actions/actionGroup.d.ts +103 -134
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +142 -191
- package/dist/types/excalidraw/actions/actionLink.d.ts +62 -74
- package/dist/types/excalidraw/actions/actionMenu.d.ts +51 -435
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +18 -359
- package/dist/types/excalidraw/actions/actionProperties.d.ts +166 -2510
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +51 -67
- package/dist/types/excalidraw/actions/actionStyles.d.ts +48 -59
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +174 -0
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +62 -74
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +174 -0
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +62 -74
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +50 -68
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +61 -73
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +62 -74
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +62 -74
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -9
- package/dist/types/excalidraw/actions/index.d.ts +5 -2
- package/dist/types/excalidraw/actions/register.d.ts +2 -2
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +4 -4
- package/dist/types/excalidraw/{animated-trail.d.ts → animatedTrail.d.ts} +4 -3
- package/dist/types/excalidraw/appState.d.ts +31 -22
- package/dist/types/excalidraw/charts/charts.bar.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.constants.d.ts +48 -0
- package/dist/types/excalidraw/charts/charts.helpers.d.ts +32 -0
- package/dist/types/excalidraw/charts/charts.line.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.parse.d.ts +10 -0
- package/dist/types/excalidraw/charts/charts.radar.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.types.d.ts +18 -0
- package/dist/types/excalidraw/charts/index.d.ts +7 -0
- package/dist/types/excalidraw/clipboard.d.ts +57 -19
- package/dist/types/excalidraw/components/Actions.d.ts +22 -5
- package/dist/types/excalidraw/components/ActiveConfirmDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/App.d.ts +168 -103
- package/dist/types/excalidraw/components/AppStateObserver.d.ts +37 -0
- package/dist/types/excalidraw/components/Card.d.ts +1 -3
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -4
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +0 -1
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -2
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +0 -1
- package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
- package/dist/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts +1 -2
- package/dist/types/excalidraw/components/CommandPalette/types.d.ts +2 -4
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +3 -3
- package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
- package/dist/types/excalidraw/components/DefaultSidebar.d.ts +9 -13
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/Ellipsify.d.ts +1 -2
- package/dist/types/excalidraw/components/ErrorDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -2
- package/dist/types/excalidraw/components/FilledButton.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +3 -1
- package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +0 -1
- package/dist/types/excalidraw/components/HelpDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/HintViewer.d.ts +4 -3
- package/dist/types/excalidraw/components/IconPicker.d.ts +14 -9
- package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
- package/dist/types/excalidraw/components/Island.d.ts +7 -0
- package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
- package/dist/types/excalidraw/components/LibraryMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryMenuControlButtons.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -2
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -3
- package/dist/types/excalidraw/components/LoadingMessage.d.ts +0 -1
- package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -5
- package/dist/types/excalidraw/components/MobileToolBar.d.ts +10 -0
- package/dist/types/excalidraw/components/Modal.d.ts +0 -1
- package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +1 -1
- package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts +1 -1
- package/dist/types/excalidraw/components/PasteChartDialog.d.ts +4 -5
- package/dist/types/excalidraw/components/Popover.d.ts +2 -1
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +2 -1
- package/dist/types/excalidraw/components/RadioGroup.d.ts +0 -1
- package/dist/types/excalidraw/components/RadioSelection.d.ts +4 -4
- package/dist/types/excalidraw/components/Range.d.ts +10 -4
- package/dist/types/excalidraw/components/SVGLayer.d.ts +1 -1
- package/dist/types/excalidraw/components/ScrollableList.d.ts +0 -1
- package/dist/types/excalidraw/components/SearchMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +16 -22
- package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +1 -1
- package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +1 -2
- package/dist/types/excalidraw/components/Spinner.d.ts +4 -4
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/index.d.ts +7 -8
- package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/Chat/ChatHistoryMenu.d.ts +15 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/ChatInterface.d.ts +23 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/ChatMessage.d.ts +14 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/TTDChatPanel.d.ts +27 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/index.d.ts +3 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/useChatAgent.d.ts +8 -0
- package/dist/types/excalidraw/components/TTDDialog/CodeMirrorEditor.d.ts +11 -0
- package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +3 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDContext.d.ts +13 -0
- package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +12 -29
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +3 -3
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +5 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +13 -9
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDPreviewPanel.d.ts +9 -0
- package/dist/types/excalidraw/components/TTDDialog/TTDWelcomeMessage.d.ts +1 -0
- package/dist/types/excalidraw/components/TTDDialog/TextToDiagram.d.ts +9 -0
- package/dist/types/excalidraw/components/TTDDialog/common.d.ts +16 -16
- package/dist/types/excalidraw/components/TTDDialog/hooks/useChatManagement.d.ts +13 -0
- package/dist/types/excalidraw/components/TTDDialog/hooks/useMermaidRenderer.d.ts +14 -0
- package/dist/types/excalidraw/components/TTDDialog/hooks/useTextGeneration.d.ts +7 -0
- package/dist/types/excalidraw/components/TTDDialog/mermaid-lang-lite.d.ts +2 -0
- package/dist/types/excalidraw/components/TTDDialog/types.d.ts +95 -0
- package/dist/types/excalidraw/components/TTDDialog/useTTDChatStorage.d.ts +22 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/chat.d.ts +10 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidAutoFix.d.ts +1 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidError.d.ts +10 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidValidation.d.ts +1 -0
- package/dist/types/excalidraw/components/TextField.d.ts +1 -0
- package/dist/types/excalidraw/components/Toast.d.ts +11 -7
- package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
- package/dist/types/excalidraw/components/Trans.d.ts +2 -2
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +8 -4
- package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -0
- package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +47 -35
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +7 -5
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +3 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +13 -22
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCheckbox.d.ts +5 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +5 -4
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +2 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +2 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +6 -6
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSub.d.ts +23 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSubContent.d.ts +8 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSubTrigger.d.ts +12 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +3 -4
- package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +2 -2
- package/dist/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +2 -0
- package/dist/types/excalidraw/components/hoc/withInternalFallback.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -1
- package/dist/types/excalidraw/components/icons.d.ts +51 -21
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +24 -3
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +39 -35
- package/dist/types/excalidraw/components/shapes.d.ts +209 -1
- package/dist/types/excalidraw/data/blob.d.ts +331 -12
- package/dist/types/excalidraw/data/encode.d.ts +4 -4
- package/dist/types/excalidraw/data/encryption.d.ts +5 -5
- package/dist/types/excalidraw/data/filesystem.d.ts +5 -7
- package/dist/types/excalidraw/data/index.d.ts +4 -5
- package/dist/types/excalidraw/data/json.d.ts +172 -4
- package/dist/types/excalidraw/data/library.d.ts +25 -10
- package/dist/types/excalidraw/data/resave.d.ts +7 -2
- package/dist/types/excalidraw/data/restore.d.ts +25 -10
- package/dist/types/excalidraw/data/types.d.ts +4 -1
- package/dist/types/excalidraw/editor-jotai.d.ts +11 -11
- package/dist/types/excalidraw/eraser/index.d.ts +2 -3
- package/dist/types/excalidraw/errors.d.ts +14 -0
- package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +2 -2
- package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +4 -3
- package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -2
- package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
- package/dist/types/excalidraw/i18n.d.ts +2 -2
- package/dist/types/excalidraw/{laser-trails.d.ts → laserTrails.d.ts} +5 -7
- package/dist/types/excalidraw/lasso/index.d.ts +2 -3
- package/dist/types/excalidraw/renderer/animation.d.ts +16 -0
- package/dist/types/excalidraw/renderer/helpers.d.ts +6 -8
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +8 -14
- package/dist/types/excalidraw/scene/Renderer.d.ts +428 -18
- package/dist/types/excalidraw/scene/export.d.ts +2 -2
- package/dist/types/excalidraw/scene/index.d.ts +2 -2
- package/dist/types/excalidraw/scene/types.d.ts +22 -5
- package/dist/types/excalidraw/shortcut.d.ts +1 -0
- package/dist/types/excalidraw/snapping.d.ts +5 -5
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-bindings.d.ts +1 -1
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-loader.d.ts +1 -1
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-wasm.d.ts +1 -1
- package/dist/types/excalidraw/subset/woff2/woff2-loader.d.ts +2 -2
- package/dist/types/excalidraw/subset/woff2/woff2-wasm.d.ts +1 -1
- package/dist/types/excalidraw/textAutoResizeHandle.d.ts +15 -0
- package/dist/types/excalidraw/types.d.ts +290 -40
- package/dist/types/excalidraw/viewport.d.ts +316 -0
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +7 -3
- package/dist/types/fractional-indexing/src/index.d.ts +29 -0
- package/dist/types/laser-pointer/src/index.d.ts +2 -0
- package/dist/types/laser-pointer/src/math.d.ts +16 -0
- package/dist/types/laser-pointer/src/simplify.d.ts +2 -0
- package/dist/types/laser-pointer/src/state.d.ts +35 -0
- package/dist/types/math/src/constants.d.ts +0 -1
- package/dist/types/math/src/curve.d.ts +4 -1
- package/dist/types/math/src/point.d.ts +8 -2
- package/dist/types/math/src/polygon.d.ts +2 -2
- package/dist/types/math/src/range.d.ts +1 -3
- package/dist/types/math/src/segment.d.ts +4 -3
- package/dist/types/math/src/types.d.ts +25 -1
- package/dist/types/utils/src/export.d.ts +5 -5
- package/dist/types/utils/src/index.d.ts +1 -2
- package/dist/types/utils/src/shape.d.ts +6 -6
- package/package.json +2 -2
- package/dist/types/excalidraw/animation-frame-handler.d.ts +0 -16
- package/dist/types/excalidraw/charts.d.ts +0 -27
- package/dist/types/excalidraw/components/DiagramToCodePlugin/DiagramToCodePlugin.d.ts +0 -4
- package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +0 -16
- package/dist/types/excalidraw/components/InitializeApp.d.ts +0 -10
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +0 -9
- package/dist/types/excalidraw/components/footer/FooterCenter.d.ts +0 -8
- package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +0 -10
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +0 -58
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +0 -19
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +0 -85
- package/dist/types/excalidraw/data/reconcile.d.ts +0 -7
- package/dist/types/excalidraw/index.d.ts +0 -47
- package/dist/types/excalidraw/polyfill.d.ts +0 -2
- package/dist/types/excalidraw/scene/scroll.d.ts +0 -23
- package/dist/types/utils/src/bbox.d.ts +0 -9
- package/dist/types/utils/src/withinBounds.d.ts +0 -19
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
3
2
|
import type { AppClassProperties, AppState } from "../types";
|
|
4
3
|
export declare const actionSelectAllElementsInFrame: {
|
|
@@ -7,7 +6,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
7
6
|
trackEvent: {
|
|
8
7
|
category: "canvas";
|
|
9
8
|
};
|
|
10
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
9
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
11
10
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
12
11
|
appState: {
|
|
13
12
|
selectedElementIds: Record<string, true>;
|
|
@@ -18,18 +17,23 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
18
17
|
} | null;
|
|
19
18
|
showWelcomeScreen: boolean;
|
|
20
19
|
isLoading: boolean;
|
|
21
|
-
errorMessage:
|
|
20
|
+
errorMessage: React.ReactNode;
|
|
22
21
|
activeEmbeddable: {
|
|
23
22
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
24
|
-
state: "
|
|
23
|
+
state: "hover" | "active";
|
|
25
24
|
} | null;
|
|
26
25
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
27
26
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
28
27
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
29
28
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
30
29
|
isBindingEnabled: boolean;
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
31
|
+
bindingPreference: "enabled" | "disabled";
|
|
32
|
+
isMidpointSnappingEnabled: boolean;
|
|
33
|
+
suggestedBinding: {
|
|
34
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
35
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
36
|
+
} | null;
|
|
33
37
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
34
38
|
frameRendering: {
|
|
35
39
|
enabled: boolean;
|
|
@@ -39,12 +43,16 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
39
43
|
};
|
|
40
44
|
editingFrame: string | null;
|
|
41
45
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
42
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
46
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
43
47
|
activeTool: {
|
|
44
48
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
45
49
|
locked: boolean;
|
|
46
50
|
fromSelection: boolean;
|
|
47
51
|
} & import("../types").ActiveTool;
|
|
52
|
+
preferredSelectionTool: {
|
|
53
|
+
type: "selection" | "lasso";
|
|
54
|
+
initialized: boolean;
|
|
55
|
+
};
|
|
48
56
|
penMode: boolean;
|
|
49
57
|
penDetected: boolean;
|
|
50
58
|
exportBackground: boolean;
|
|
@@ -53,47 +61,53 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
53
61
|
exportScale: number;
|
|
54
62
|
currentItemStrokeColor: string;
|
|
55
63
|
currentItemBackgroundColor: string;
|
|
56
|
-
currentItemFillStyle:
|
|
57
|
-
|
|
58
|
-
currentItemStrokeStyle:
|
|
64
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
65
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
66
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
59
67
|
currentItemRoughness: number;
|
|
68
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
60
69
|
currentItemOpacity: number;
|
|
61
|
-
currentItemFontFamily:
|
|
70
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
62
71
|
currentItemFontSize: number;
|
|
63
|
-
currentItemTextAlign:
|
|
72
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
64
73
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
65
74
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
66
|
-
currentHoveredFontFamily:
|
|
75
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
67
76
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
68
|
-
currentItemArrowType: "
|
|
77
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
69
78
|
viewBackgroundColor: string;
|
|
70
79
|
scrollX: number;
|
|
71
80
|
scrollY: number;
|
|
81
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
72
82
|
cursorButton: "up" | "down";
|
|
73
83
|
scrolledOutside: boolean;
|
|
74
84
|
name: string | null;
|
|
75
85
|
isResizing: boolean;
|
|
76
86
|
isRotating: boolean;
|
|
77
|
-
zoom:
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
openMenu: "canvas" | "shape" | null;
|
|
81
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
87
|
+
zoom: import("../types").Zoom;
|
|
88
|
+
openMenu: "canvas" | null;
|
|
89
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
82
90
|
openSidebar: {
|
|
83
|
-
name:
|
|
84
|
-
tab?:
|
|
91
|
+
name: import("../types").SidebarName;
|
|
92
|
+
tab?: import("../types").SidebarTabName;
|
|
85
93
|
} | null;
|
|
86
|
-
openDialog: {
|
|
94
|
+
openDialog: null | {
|
|
87
95
|
name: "imageExport" | "help" | "jsonExport";
|
|
88
96
|
} | {
|
|
89
97
|
name: "ttd";
|
|
90
|
-
tab: "
|
|
98
|
+
tab: "text-to-diagram" | "mermaid";
|
|
91
99
|
} | {
|
|
92
100
|
name: "commandPalette";
|
|
101
|
+
} | {
|
|
102
|
+
name: "settings";
|
|
93
103
|
} | {
|
|
94
104
|
name: "elementLinkSelector";
|
|
95
|
-
sourceElementId:
|
|
96
|
-
} |
|
|
105
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
106
|
+
} | {
|
|
107
|
+
name: "charts";
|
|
108
|
+
data: import("../charts").Spreadsheet;
|
|
109
|
+
rawText: string;
|
|
110
|
+
};
|
|
97
111
|
defaultSidebarDockedPreference: boolean;
|
|
98
112
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
99
113
|
hoveredElementIds: Readonly<{
|
|
@@ -105,9 +119,9 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
105
119
|
selectedElementsAreBeingDragged: boolean;
|
|
106
120
|
shouldCacheIgnoreZoom: boolean;
|
|
107
121
|
toast: {
|
|
108
|
-
message:
|
|
109
|
-
closable?: boolean
|
|
110
|
-
duration?: number
|
|
122
|
+
message: React.ReactNode;
|
|
123
|
+
closable?: boolean;
|
|
124
|
+
duration?: number;
|
|
111
125
|
} | null;
|
|
112
126
|
zenModeEnabled: boolean;
|
|
113
127
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -118,45 +132,18 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
118
132
|
selectedGroupIds: {
|
|
119
133
|
[groupId: string]: boolean;
|
|
120
134
|
};
|
|
121
|
-
editingGroupId:
|
|
135
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
122
136
|
width: number;
|
|
123
137
|
height: number;
|
|
124
138
|
offsetTop: number;
|
|
125
139
|
offsetLeft: number;
|
|
126
|
-
fileHandle:
|
|
127
|
-
collaborators: Map<import("../types").SocketId,
|
|
128
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
129
|
-
button?: "up" | "down" | undefined;
|
|
130
|
-
selectedElementIds?: Readonly<{
|
|
131
|
-
[id: string]: true;
|
|
132
|
-
}> | undefined;
|
|
133
|
-
username?: string | null | undefined;
|
|
134
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
135
|
-
color?: {
|
|
136
|
-
background: string;
|
|
137
|
-
stroke: string;
|
|
138
|
-
} | undefined;
|
|
139
|
-
avatarUrl?: string | undefined;
|
|
140
|
-
id?: string | undefined;
|
|
141
|
-
socketId?: import("../types").SocketId | undefined;
|
|
142
|
-
isCurrentUser?: boolean | undefined;
|
|
143
|
-
isInCall?: boolean | undefined;
|
|
144
|
-
isSpeaking?: boolean | undefined;
|
|
145
|
-
isMuted?: boolean | undefined;
|
|
146
|
-
}>>;
|
|
140
|
+
fileHandle: FileSystemFileHandle | null;
|
|
141
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
147
142
|
stats: {
|
|
148
143
|
open: boolean;
|
|
149
144
|
panels: number;
|
|
150
145
|
};
|
|
151
|
-
|
|
152
|
-
pasteDialog: {
|
|
153
|
-
shown: false;
|
|
154
|
-
data: null;
|
|
155
|
-
} | {
|
|
156
|
-
shown: true;
|
|
157
|
-
data: import("../charts").Spreadsheet;
|
|
158
|
-
};
|
|
159
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
146
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
160
147
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
161
148
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
162
149
|
originSnapOffset: {
|
|
@@ -167,15 +154,16 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
167
154
|
userToFollow: import("../types").UserToFollow | null;
|
|
168
155
|
followedBy: Set<import("../types").SocketId>;
|
|
169
156
|
isCropping: boolean;
|
|
170
|
-
croppingElementId:
|
|
157
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
171
158
|
searchMatches: Readonly<{
|
|
172
|
-
focusedId:
|
|
159
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
173
160
|
matches: readonly import("../types").SearchMatch[];
|
|
174
161
|
}> | null;
|
|
175
162
|
activeLockedId: string | null;
|
|
176
163
|
lockedMultiSelections: {
|
|
177
164
|
[groupId: string]: true;
|
|
178
165
|
};
|
|
166
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
179
167
|
};
|
|
180
168
|
captureUpdate: "IMMEDIATELY";
|
|
181
169
|
} | {
|
|
@@ -193,7 +181,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
193
181
|
trackEvent: {
|
|
194
182
|
category: "history";
|
|
195
183
|
};
|
|
196
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
184
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
197
185
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
198
186
|
appState: {
|
|
199
187
|
selectedElementIds: {
|
|
@@ -206,18 +194,23 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
206
194
|
} | null;
|
|
207
195
|
showWelcomeScreen: boolean;
|
|
208
196
|
isLoading: boolean;
|
|
209
|
-
errorMessage:
|
|
197
|
+
errorMessage: React.ReactNode;
|
|
210
198
|
activeEmbeddable: {
|
|
211
199
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
212
|
-
state: "
|
|
200
|
+
state: "hover" | "active";
|
|
213
201
|
} | null;
|
|
214
202
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
215
203
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
216
204
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
217
205
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
218
206
|
isBindingEnabled: boolean;
|
|
219
|
-
|
|
220
|
-
|
|
207
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
208
|
+
bindingPreference: "enabled" | "disabled";
|
|
209
|
+
isMidpointSnappingEnabled: boolean;
|
|
210
|
+
suggestedBinding: {
|
|
211
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
212
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
213
|
+
} | null;
|
|
221
214
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
222
215
|
frameRendering: {
|
|
223
216
|
enabled: boolean;
|
|
@@ -227,12 +220,16 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
227
220
|
};
|
|
228
221
|
editingFrame: string | null;
|
|
229
222
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
230
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
223
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
231
224
|
activeTool: {
|
|
232
225
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
233
226
|
locked: boolean;
|
|
234
227
|
fromSelection: boolean;
|
|
235
228
|
} & import("../types").ActiveTool;
|
|
229
|
+
preferredSelectionTool: {
|
|
230
|
+
type: "selection" | "lasso";
|
|
231
|
+
initialized: boolean;
|
|
232
|
+
};
|
|
236
233
|
penMode: boolean;
|
|
237
234
|
penDetected: boolean;
|
|
238
235
|
exportBackground: boolean;
|
|
@@ -241,47 +238,53 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
241
238
|
exportScale: number;
|
|
242
239
|
currentItemStrokeColor: string;
|
|
243
240
|
currentItemBackgroundColor: string;
|
|
244
|
-
currentItemFillStyle:
|
|
245
|
-
|
|
246
|
-
currentItemStrokeStyle:
|
|
241
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
242
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
243
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
247
244
|
currentItemRoughness: number;
|
|
245
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
248
246
|
currentItemOpacity: number;
|
|
249
|
-
currentItemFontFamily:
|
|
247
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
250
248
|
currentItemFontSize: number;
|
|
251
|
-
currentItemTextAlign:
|
|
249
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
252
250
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
253
251
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
254
|
-
currentHoveredFontFamily:
|
|
252
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
255
253
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
256
|
-
currentItemArrowType: "
|
|
254
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
257
255
|
viewBackgroundColor: string;
|
|
258
256
|
scrollX: number;
|
|
259
257
|
scrollY: number;
|
|
258
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
260
259
|
cursorButton: "up" | "down";
|
|
261
260
|
scrolledOutside: boolean;
|
|
262
261
|
name: string | null;
|
|
263
262
|
isResizing: boolean;
|
|
264
263
|
isRotating: boolean;
|
|
265
|
-
zoom:
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
openMenu: "canvas" | "shape" | null;
|
|
269
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
264
|
+
zoom: import("../types").Zoom;
|
|
265
|
+
openMenu: "canvas" | null;
|
|
266
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
270
267
|
openSidebar: {
|
|
271
|
-
name:
|
|
272
|
-
tab?:
|
|
268
|
+
name: import("../types").SidebarName;
|
|
269
|
+
tab?: import("../types").SidebarTabName;
|
|
273
270
|
} | null;
|
|
274
|
-
openDialog: {
|
|
271
|
+
openDialog: null | {
|
|
275
272
|
name: "imageExport" | "help" | "jsonExport";
|
|
276
273
|
} | {
|
|
277
274
|
name: "ttd";
|
|
278
|
-
tab: "
|
|
275
|
+
tab: "text-to-diagram" | "mermaid";
|
|
279
276
|
} | {
|
|
280
277
|
name: "commandPalette";
|
|
278
|
+
} | {
|
|
279
|
+
name: "settings";
|
|
281
280
|
} | {
|
|
282
281
|
name: "elementLinkSelector";
|
|
283
|
-
sourceElementId:
|
|
284
|
-
} |
|
|
282
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
283
|
+
} | {
|
|
284
|
+
name: "charts";
|
|
285
|
+
data: import("../charts").Spreadsheet;
|
|
286
|
+
rawText: string;
|
|
287
|
+
};
|
|
285
288
|
defaultSidebarDockedPreference: boolean;
|
|
286
289
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
287
290
|
hoveredElementIds: Readonly<{
|
|
@@ -293,9 +296,9 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
293
296
|
selectedElementsAreBeingDragged: boolean;
|
|
294
297
|
shouldCacheIgnoreZoom: boolean;
|
|
295
298
|
toast: {
|
|
296
|
-
message:
|
|
297
|
-
closable?: boolean
|
|
298
|
-
duration?: number
|
|
299
|
+
message: React.ReactNode;
|
|
300
|
+
closable?: boolean;
|
|
301
|
+
duration?: number;
|
|
299
302
|
} | null;
|
|
300
303
|
zenModeEnabled: boolean;
|
|
301
304
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -306,45 +309,18 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
306
309
|
selectedGroupIds: {
|
|
307
310
|
[groupId: string]: boolean;
|
|
308
311
|
};
|
|
309
|
-
editingGroupId:
|
|
312
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
310
313
|
width: number;
|
|
311
314
|
height: number;
|
|
312
315
|
offsetTop: number;
|
|
313
316
|
offsetLeft: number;
|
|
314
|
-
fileHandle:
|
|
315
|
-
collaborators: Map<import("../types").SocketId,
|
|
316
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
317
|
-
button?: "up" | "down" | undefined;
|
|
318
|
-
selectedElementIds?: Readonly<{
|
|
319
|
-
[id: string]: true;
|
|
320
|
-
}> | undefined;
|
|
321
|
-
username?: string | null | undefined;
|
|
322
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
323
|
-
color?: {
|
|
324
|
-
background: string;
|
|
325
|
-
stroke: string;
|
|
326
|
-
} | undefined;
|
|
327
|
-
avatarUrl?: string | undefined;
|
|
328
|
-
id?: string | undefined;
|
|
329
|
-
socketId?: import("../types").SocketId | undefined;
|
|
330
|
-
isCurrentUser?: boolean | undefined;
|
|
331
|
-
isInCall?: boolean | undefined;
|
|
332
|
-
isSpeaking?: boolean | undefined;
|
|
333
|
-
isMuted?: boolean | undefined;
|
|
334
|
-
}>>;
|
|
317
|
+
fileHandle: FileSystemFileHandle | null;
|
|
318
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
335
319
|
stats: {
|
|
336
320
|
open: boolean;
|
|
337
321
|
panels: number;
|
|
338
322
|
};
|
|
339
|
-
|
|
340
|
-
pasteDialog: {
|
|
341
|
-
shown: false;
|
|
342
|
-
data: null;
|
|
343
|
-
} | {
|
|
344
|
-
shown: true;
|
|
345
|
-
data: import("../charts").Spreadsheet;
|
|
346
|
-
};
|
|
347
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
323
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
348
324
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
349
325
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
350
326
|
originSnapOffset: {
|
|
@@ -355,15 +331,16 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
355
331
|
userToFollow: import("../types").UserToFollow | null;
|
|
356
332
|
followedBy: Set<import("../types").SocketId>;
|
|
357
333
|
isCropping: boolean;
|
|
358
|
-
croppingElementId:
|
|
334
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
359
335
|
searchMatches: Readonly<{
|
|
360
|
-
focusedId:
|
|
336
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
361
337
|
matches: readonly import("../types").SearchMatch[];
|
|
362
338
|
}> | null;
|
|
363
339
|
activeLockedId: string | null;
|
|
364
340
|
lockedMultiSelections: {
|
|
365
341
|
[groupId: string]: true;
|
|
366
342
|
};
|
|
343
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
367
344
|
};
|
|
368
345
|
captureUpdate: "IMMEDIATELY";
|
|
369
346
|
} | {
|
|
@@ -398,27 +375,36 @@ export declare const actionupdateFrameRendering: {
|
|
|
398
375
|
} | null;
|
|
399
376
|
showWelcomeScreen: boolean;
|
|
400
377
|
isLoading: boolean;
|
|
401
|
-
errorMessage:
|
|
378
|
+
errorMessage: React.ReactNode;
|
|
402
379
|
activeEmbeddable: {
|
|
403
380
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
404
|
-
state: "
|
|
381
|
+
state: "hover" | "active";
|
|
405
382
|
} | null;
|
|
406
383
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
407
384
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
408
385
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
409
386
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
410
387
|
isBindingEnabled: boolean;
|
|
411
|
-
|
|
412
|
-
|
|
388
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
389
|
+
bindingPreference: "enabled" | "disabled";
|
|
390
|
+
isMidpointSnappingEnabled: boolean;
|
|
391
|
+
suggestedBinding: {
|
|
392
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
393
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
394
|
+
} | null;
|
|
413
395
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
414
396
|
editingFrame: string | null;
|
|
415
397
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
416
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
398
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
417
399
|
activeTool: {
|
|
418
400
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
419
401
|
locked: boolean;
|
|
420
402
|
fromSelection: boolean;
|
|
421
403
|
} & import("../types").ActiveTool;
|
|
404
|
+
preferredSelectionTool: {
|
|
405
|
+
type: "selection" | "lasso";
|
|
406
|
+
initialized: boolean;
|
|
407
|
+
};
|
|
422
408
|
penMode: boolean;
|
|
423
409
|
penDetected: boolean;
|
|
424
410
|
exportBackground: boolean;
|
|
@@ -427,47 +413,53 @@ export declare const actionupdateFrameRendering: {
|
|
|
427
413
|
exportScale: number;
|
|
428
414
|
currentItemStrokeColor: string;
|
|
429
415
|
currentItemBackgroundColor: string;
|
|
430
|
-
currentItemFillStyle:
|
|
431
|
-
|
|
432
|
-
currentItemStrokeStyle:
|
|
416
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
417
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
418
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
433
419
|
currentItemRoughness: number;
|
|
420
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
434
421
|
currentItemOpacity: number;
|
|
435
|
-
currentItemFontFamily:
|
|
422
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
436
423
|
currentItemFontSize: number;
|
|
437
|
-
currentItemTextAlign:
|
|
424
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
438
425
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
439
426
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
440
|
-
currentHoveredFontFamily:
|
|
427
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
441
428
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
442
|
-
currentItemArrowType: "
|
|
429
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
443
430
|
viewBackgroundColor: string;
|
|
444
431
|
scrollX: number;
|
|
445
432
|
scrollY: number;
|
|
433
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
446
434
|
cursorButton: "up" | "down";
|
|
447
435
|
scrolledOutside: boolean;
|
|
448
436
|
name: string | null;
|
|
449
437
|
isResizing: boolean;
|
|
450
438
|
isRotating: boolean;
|
|
451
|
-
zoom:
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
openMenu: "canvas" | "shape" | null;
|
|
455
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
439
|
+
zoom: import("../types").Zoom;
|
|
440
|
+
openMenu: "canvas" | null;
|
|
441
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
456
442
|
openSidebar: {
|
|
457
|
-
name:
|
|
458
|
-
tab?:
|
|
443
|
+
name: import("../types").SidebarName;
|
|
444
|
+
tab?: import("../types").SidebarTabName;
|
|
459
445
|
} | null;
|
|
460
|
-
openDialog: {
|
|
446
|
+
openDialog: null | {
|
|
461
447
|
name: "imageExport" | "help" | "jsonExport";
|
|
462
448
|
} | {
|
|
463
449
|
name: "ttd";
|
|
464
|
-
tab: "
|
|
450
|
+
tab: "text-to-diagram" | "mermaid";
|
|
465
451
|
} | {
|
|
466
452
|
name: "commandPalette";
|
|
453
|
+
} | {
|
|
454
|
+
name: "settings";
|
|
467
455
|
} | {
|
|
468
456
|
name: "elementLinkSelector";
|
|
469
|
-
sourceElementId:
|
|
470
|
-
} |
|
|
457
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
458
|
+
} | {
|
|
459
|
+
name: "charts";
|
|
460
|
+
data: import("../charts").Spreadsheet;
|
|
461
|
+
rawText: string;
|
|
462
|
+
};
|
|
471
463
|
defaultSidebarDockedPreference: boolean;
|
|
472
464
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
473
465
|
selectedElementIds: Readonly<{
|
|
@@ -482,9 +474,9 @@ export declare const actionupdateFrameRendering: {
|
|
|
482
474
|
selectedElementsAreBeingDragged: boolean;
|
|
483
475
|
shouldCacheIgnoreZoom: boolean;
|
|
484
476
|
toast: {
|
|
485
|
-
message:
|
|
486
|
-
closable?: boolean
|
|
487
|
-
duration?: number
|
|
477
|
+
message: React.ReactNode;
|
|
478
|
+
closable?: boolean;
|
|
479
|
+
duration?: number;
|
|
488
480
|
} | null;
|
|
489
481
|
zenModeEnabled: boolean;
|
|
490
482
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -495,45 +487,18 @@ export declare const actionupdateFrameRendering: {
|
|
|
495
487
|
selectedGroupIds: {
|
|
496
488
|
[groupId: string]: boolean;
|
|
497
489
|
};
|
|
498
|
-
editingGroupId:
|
|
490
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
499
491
|
width: number;
|
|
500
492
|
height: number;
|
|
501
493
|
offsetTop: number;
|
|
502
494
|
offsetLeft: number;
|
|
503
|
-
fileHandle:
|
|
504
|
-
collaborators: Map<import("../types").SocketId,
|
|
505
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
506
|
-
button?: "up" | "down" | undefined;
|
|
507
|
-
selectedElementIds?: Readonly<{
|
|
508
|
-
[id: string]: true;
|
|
509
|
-
}> | undefined;
|
|
510
|
-
username?: string | null | undefined;
|
|
511
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
512
|
-
color?: {
|
|
513
|
-
background: string;
|
|
514
|
-
stroke: string;
|
|
515
|
-
} | undefined;
|
|
516
|
-
avatarUrl?: string | undefined;
|
|
517
|
-
id?: string | undefined;
|
|
518
|
-
socketId?: import("../types").SocketId | undefined;
|
|
519
|
-
isCurrentUser?: boolean | undefined;
|
|
520
|
-
isInCall?: boolean | undefined;
|
|
521
|
-
isSpeaking?: boolean | undefined;
|
|
522
|
-
isMuted?: boolean | undefined;
|
|
523
|
-
}>>;
|
|
495
|
+
fileHandle: FileSystemFileHandle | null;
|
|
496
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
524
497
|
stats: {
|
|
525
498
|
open: boolean;
|
|
526
499
|
panels: number;
|
|
527
500
|
};
|
|
528
|
-
|
|
529
|
-
pasteDialog: {
|
|
530
|
-
shown: false;
|
|
531
|
-
data: null;
|
|
532
|
-
} | {
|
|
533
|
-
shown: true;
|
|
534
|
-
data: import("../charts").Spreadsheet;
|
|
535
|
-
};
|
|
536
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
501
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
537
502
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
538
503
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
539
504
|
originSnapOffset: {
|
|
@@ -544,15 +509,16 @@ export declare const actionupdateFrameRendering: {
|
|
|
544
509
|
userToFollow: import("../types").UserToFollow | null;
|
|
545
510
|
followedBy: Set<import("../types").SocketId>;
|
|
546
511
|
isCropping: boolean;
|
|
547
|
-
croppingElementId:
|
|
512
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
548
513
|
searchMatches: Readonly<{
|
|
549
|
-
focusedId:
|
|
514
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
550
515
|
matches: readonly import("../types").SearchMatch[];
|
|
551
516
|
}> | null;
|
|
552
517
|
activeLockedId: string | null;
|
|
553
518
|
lockedMultiSelections: {
|
|
554
519
|
[groupId: string]: true;
|
|
555
520
|
};
|
|
521
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
556
522
|
};
|
|
557
523
|
captureUpdate: "EVENTUALLY";
|
|
558
524
|
};
|
|
@@ -568,7 +534,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
568
534
|
};
|
|
569
535
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
570
536
|
viewMode: false;
|
|
571
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
537
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
572
538
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
573
539
|
appState: {
|
|
574
540
|
activeTool: {
|
|
@@ -583,18 +549,23 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
583
549
|
} | null;
|
|
584
550
|
showWelcomeScreen: boolean;
|
|
585
551
|
isLoading: boolean;
|
|
586
|
-
errorMessage:
|
|
552
|
+
errorMessage: React.ReactNode;
|
|
587
553
|
activeEmbeddable: {
|
|
588
554
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
589
|
-
state: "
|
|
555
|
+
state: "hover" | "active";
|
|
590
556
|
} | null;
|
|
591
557
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
592
558
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
593
559
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
594
560
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
595
561
|
isBindingEnabled: boolean;
|
|
596
|
-
|
|
597
|
-
|
|
562
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
563
|
+
bindingPreference: "enabled" | "disabled";
|
|
564
|
+
isMidpointSnappingEnabled: boolean;
|
|
565
|
+
suggestedBinding: {
|
|
566
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
567
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
568
|
+
} | null;
|
|
598
569
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
599
570
|
frameRendering: {
|
|
600
571
|
enabled: boolean;
|
|
@@ -604,7 +575,11 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
604
575
|
};
|
|
605
576
|
editingFrame: string | null;
|
|
606
577
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
607
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
578
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
579
|
+
preferredSelectionTool: {
|
|
580
|
+
type: "selection" | "lasso";
|
|
581
|
+
initialized: boolean;
|
|
582
|
+
};
|
|
608
583
|
penMode: boolean;
|
|
609
584
|
penDetected: boolean;
|
|
610
585
|
exportBackground: boolean;
|
|
@@ -613,47 +588,53 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
613
588
|
exportScale: number;
|
|
614
589
|
currentItemStrokeColor: string;
|
|
615
590
|
currentItemBackgroundColor: string;
|
|
616
|
-
currentItemFillStyle:
|
|
617
|
-
|
|
618
|
-
currentItemStrokeStyle:
|
|
591
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
592
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
593
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
619
594
|
currentItemRoughness: number;
|
|
595
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
620
596
|
currentItemOpacity: number;
|
|
621
|
-
currentItemFontFamily:
|
|
597
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
622
598
|
currentItemFontSize: number;
|
|
623
|
-
currentItemTextAlign:
|
|
599
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
624
600
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
625
601
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
626
|
-
currentHoveredFontFamily:
|
|
602
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
627
603
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
628
|
-
currentItemArrowType: "
|
|
604
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
629
605
|
viewBackgroundColor: string;
|
|
630
606
|
scrollX: number;
|
|
631
607
|
scrollY: number;
|
|
608
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
632
609
|
cursorButton: "up" | "down";
|
|
633
610
|
scrolledOutside: boolean;
|
|
634
611
|
name: string | null;
|
|
635
612
|
isResizing: boolean;
|
|
636
613
|
isRotating: boolean;
|
|
637
|
-
zoom:
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
openMenu: "canvas" | "shape" | null;
|
|
641
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
614
|
+
zoom: import("../types").Zoom;
|
|
615
|
+
openMenu: "canvas" | null;
|
|
616
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
642
617
|
openSidebar: {
|
|
643
|
-
name:
|
|
644
|
-
tab?:
|
|
618
|
+
name: import("../types").SidebarName;
|
|
619
|
+
tab?: import("../types").SidebarTabName;
|
|
645
620
|
} | null;
|
|
646
|
-
openDialog: {
|
|
621
|
+
openDialog: null | {
|
|
647
622
|
name: "imageExport" | "help" | "jsonExport";
|
|
648
623
|
} | {
|
|
649
624
|
name: "ttd";
|
|
650
|
-
tab: "
|
|
625
|
+
tab: "text-to-diagram" | "mermaid";
|
|
651
626
|
} | {
|
|
652
627
|
name: "commandPalette";
|
|
628
|
+
} | {
|
|
629
|
+
name: "settings";
|
|
653
630
|
} | {
|
|
654
631
|
name: "elementLinkSelector";
|
|
655
|
-
sourceElementId:
|
|
656
|
-
} |
|
|
632
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
633
|
+
} | {
|
|
634
|
+
name: "charts";
|
|
635
|
+
data: import("../charts").Spreadsheet;
|
|
636
|
+
rawText: string;
|
|
637
|
+
};
|
|
657
638
|
defaultSidebarDockedPreference: boolean;
|
|
658
639
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
659
640
|
selectedElementIds: Readonly<{
|
|
@@ -668,9 +649,9 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
668
649
|
selectedElementsAreBeingDragged: boolean;
|
|
669
650
|
shouldCacheIgnoreZoom: boolean;
|
|
670
651
|
toast: {
|
|
671
|
-
message:
|
|
672
|
-
closable?: boolean
|
|
673
|
-
duration?: number
|
|
652
|
+
message: React.ReactNode;
|
|
653
|
+
closable?: boolean;
|
|
654
|
+
duration?: number;
|
|
674
655
|
} | null;
|
|
675
656
|
zenModeEnabled: boolean;
|
|
676
657
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -681,45 +662,18 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
681
662
|
selectedGroupIds: {
|
|
682
663
|
[groupId: string]: boolean;
|
|
683
664
|
};
|
|
684
|
-
editingGroupId:
|
|
665
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
685
666
|
width: number;
|
|
686
667
|
height: number;
|
|
687
668
|
offsetTop: number;
|
|
688
669
|
offsetLeft: number;
|
|
689
|
-
fileHandle:
|
|
690
|
-
collaborators: Map<import("../types").SocketId,
|
|
691
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
692
|
-
button?: "up" | "down" | undefined;
|
|
693
|
-
selectedElementIds?: Readonly<{
|
|
694
|
-
[id: string]: true;
|
|
695
|
-
}> | undefined;
|
|
696
|
-
username?: string | null | undefined;
|
|
697
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
698
|
-
color?: {
|
|
699
|
-
background: string;
|
|
700
|
-
stroke: string;
|
|
701
|
-
} | undefined;
|
|
702
|
-
avatarUrl?: string | undefined;
|
|
703
|
-
id?: string | undefined;
|
|
704
|
-
socketId?: import("../types").SocketId | undefined;
|
|
705
|
-
isCurrentUser?: boolean | undefined;
|
|
706
|
-
isInCall?: boolean | undefined;
|
|
707
|
-
isSpeaking?: boolean | undefined;
|
|
708
|
-
isMuted?: boolean | undefined;
|
|
709
|
-
}>>;
|
|
670
|
+
fileHandle: FileSystemFileHandle | null;
|
|
671
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
710
672
|
stats: {
|
|
711
673
|
open: boolean;
|
|
712
674
|
panels: number;
|
|
713
675
|
};
|
|
714
|
-
|
|
715
|
-
pasteDialog: {
|
|
716
|
-
shown: false;
|
|
717
|
-
data: null;
|
|
718
|
-
} | {
|
|
719
|
-
shown: true;
|
|
720
|
-
data: import("../charts").Spreadsheet;
|
|
721
|
-
};
|
|
722
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
676
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
723
677
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
724
678
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
725
679
|
originSnapOffset: {
|
|
@@ -730,15 +684,16 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
730
684
|
userToFollow: import("../types").UserToFollow | null;
|
|
731
685
|
followedBy: Set<import("../types").SocketId>;
|
|
732
686
|
isCropping: boolean;
|
|
733
|
-
croppingElementId:
|
|
687
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
734
688
|
searchMatches: Readonly<{
|
|
735
|
-
focusedId:
|
|
689
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
736
690
|
matches: readonly import("../types").SearchMatch[];
|
|
737
691
|
}> | null;
|
|
738
692
|
activeLockedId: string | null;
|
|
739
693
|
lockedMultiSelections: {
|
|
740
694
|
[groupId: string]: true;
|
|
741
695
|
};
|
|
696
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
742
697
|
};
|
|
743
698
|
captureUpdate: "EVENTUALLY";
|
|
744
699
|
};
|
|
@@ -753,7 +708,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
753
708
|
category: "element";
|
|
754
709
|
};
|
|
755
710
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
756
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
711
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
757
712
|
elements: ((Readonly<{
|
|
758
713
|
id: string;
|
|
759
714
|
x: number;
|
|
@@ -763,10 +718,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
763
718
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
764
719
|
strokeWidth: number;
|
|
765
720
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
766
|
-
roundness: {
|
|
721
|
+
roundness: null | {
|
|
767
722
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
768
|
-
value?: number
|
|
769
|
-
}
|
|
723
|
+
value?: number;
|
|
724
|
+
};
|
|
770
725
|
roughness: number;
|
|
771
726
|
opacity: number;
|
|
772
727
|
width: number;
|
|
@@ -777,22 +732,18 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
777
732
|
versionNonce: number;
|
|
778
733
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
779
734
|
isDeleted: boolean;
|
|
780
|
-
groupIds: readonly
|
|
735
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
781
736
|
frameId: string | null;
|
|
782
|
-
boundElements: readonly
|
|
783
|
-
id: string;
|
|
784
|
-
type: "arrow" | "text";
|
|
785
|
-
}>[] | null;
|
|
737
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
786
738
|
updated: number;
|
|
787
739
|
link: string | null;
|
|
788
740
|
locked: boolean;
|
|
789
|
-
customData?: Record<string, any
|
|
741
|
+
customData?: Record<string, any>;
|
|
790
742
|
}> & Readonly<{
|
|
791
743
|
type: "line" | "arrow";
|
|
792
744
|
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
endBinding: import("@excalidraw/element/types").PointBinding | null;
|
|
745
|
+
startBinding: import("@excalidraw/element/types").FixedPointBinding | null;
|
|
746
|
+
endBinding: import("@excalidraw/element/types").FixedPointBinding | null;
|
|
796
747
|
startArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
797
748
|
endArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
798
749
|
}> & {
|
|
@@ -806,10 +757,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
806
757
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
807
758
|
strokeWidth: number;
|
|
808
759
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
809
|
-
roundness: {
|
|
760
|
+
roundness: null | {
|
|
810
761
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
811
|
-
value?: number
|
|
812
|
-
}
|
|
762
|
+
value?: number;
|
|
763
|
+
};
|
|
813
764
|
roughness: number;
|
|
814
765
|
opacity: number;
|
|
815
766
|
width: number;
|
|
@@ -820,16 +771,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
820
771
|
versionNonce: number;
|
|
821
772
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
822
773
|
isDeleted: boolean;
|
|
823
|
-
groupIds: readonly
|
|
774
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
824
775
|
frameId: string | null;
|
|
825
|
-
boundElements: readonly
|
|
826
|
-
id: string;
|
|
827
|
-
type: "arrow" | "text";
|
|
828
|
-
}>[] | null;
|
|
776
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
829
777
|
updated: number;
|
|
830
778
|
link: string | null;
|
|
831
779
|
locked: boolean;
|
|
832
|
-
customData?: Record<string, any
|
|
780
|
+
customData?: Record<string, any>;
|
|
833
781
|
}> & {
|
|
834
782
|
type: "selection";
|
|
835
783
|
} & {
|
|
@@ -843,10 +791,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
843
791
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
844
792
|
strokeWidth: number;
|
|
845
793
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
846
|
-
roundness: {
|
|
794
|
+
roundness: null | {
|
|
847
795
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
848
|
-
value?: number
|
|
849
|
-
}
|
|
796
|
+
value?: number;
|
|
797
|
+
};
|
|
850
798
|
roughness: number;
|
|
851
799
|
opacity: number;
|
|
852
800
|
width: number;
|
|
@@ -857,16 +805,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
857
805
|
versionNonce: number;
|
|
858
806
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
859
807
|
isDeleted: boolean;
|
|
860
|
-
groupIds: readonly
|
|
808
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
861
809
|
frameId: string | null;
|
|
862
|
-
boundElements: readonly
|
|
863
|
-
id: string;
|
|
864
|
-
type: "arrow" | "text";
|
|
865
|
-
}>[] | null;
|
|
810
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
866
811
|
updated: number;
|
|
867
812
|
link: string | null;
|
|
868
813
|
locked: boolean;
|
|
869
|
-
customData?: Record<string, any
|
|
814
|
+
customData?: Record<string, any>;
|
|
870
815
|
}> & {
|
|
871
816
|
type: "rectangle";
|
|
872
817
|
} & {
|
|
@@ -880,10 +825,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
880
825
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
881
826
|
strokeWidth: number;
|
|
882
827
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
883
|
-
roundness: {
|
|
828
|
+
roundness: null | {
|
|
884
829
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
885
|
-
value?: number
|
|
886
|
-
}
|
|
830
|
+
value?: number;
|
|
831
|
+
};
|
|
887
832
|
roughness: number;
|
|
888
833
|
opacity: number;
|
|
889
834
|
width: number;
|
|
@@ -894,16 +839,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
894
839
|
versionNonce: number;
|
|
895
840
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
896
841
|
isDeleted: boolean;
|
|
897
|
-
groupIds: readonly
|
|
842
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
898
843
|
frameId: string | null;
|
|
899
|
-
boundElements: readonly
|
|
900
|
-
id: string;
|
|
901
|
-
type: "arrow" | "text";
|
|
902
|
-
}>[] | null;
|
|
844
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
903
845
|
updated: number;
|
|
904
846
|
link: string | null;
|
|
905
847
|
locked: boolean;
|
|
906
|
-
customData?: Record<string, any
|
|
848
|
+
customData?: Record<string, any>;
|
|
907
849
|
}> & {
|
|
908
850
|
type: "diamond";
|
|
909
851
|
} & {
|
|
@@ -917,10 +859,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
917
859
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
918
860
|
strokeWidth: number;
|
|
919
861
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
920
|
-
roundness: {
|
|
862
|
+
roundness: null | {
|
|
921
863
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
922
|
-
value?: number
|
|
923
|
-
}
|
|
864
|
+
value?: number;
|
|
865
|
+
};
|
|
924
866
|
roughness: number;
|
|
925
867
|
opacity: number;
|
|
926
868
|
width: number;
|
|
@@ -931,16 +873,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
931
873
|
versionNonce: number;
|
|
932
874
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
933
875
|
isDeleted: boolean;
|
|
934
|
-
groupIds: readonly
|
|
876
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
935
877
|
frameId: string | null;
|
|
936
|
-
boundElements: readonly
|
|
937
|
-
id: string;
|
|
938
|
-
type: "arrow" | "text";
|
|
939
|
-
}>[] | null;
|
|
878
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
940
879
|
updated: number;
|
|
941
880
|
link: string | null;
|
|
942
881
|
locked: boolean;
|
|
943
|
-
customData?: Record<string, any
|
|
882
|
+
customData?: Record<string, any>;
|
|
944
883
|
}> & {
|
|
945
884
|
type: "ellipse";
|
|
946
885
|
} & {
|
|
@@ -954,10 +893,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
954
893
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
955
894
|
strokeWidth: number;
|
|
956
895
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
957
|
-
roundness: {
|
|
896
|
+
roundness: null | {
|
|
958
897
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
959
|
-
value?: number
|
|
960
|
-
}
|
|
898
|
+
value?: number;
|
|
899
|
+
};
|
|
961
900
|
roughness: number;
|
|
962
901
|
opacity: number;
|
|
963
902
|
width: number;
|
|
@@ -968,16 +907,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
968
907
|
versionNonce: number;
|
|
969
908
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
970
909
|
isDeleted: boolean;
|
|
971
|
-
groupIds: readonly
|
|
910
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
972
911
|
frameId: string | null;
|
|
973
|
-
boundElements: readonly
|
|
974
|
-
id: string;
|
|
975
|
-
type: "arrow" | "text";
|
|
976
|
-
}>[] | null;
|
|
912
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
977
913
|
updated: number;
|
|
978
914
|
link: string | null;
|
|
979
915
|
locked: boolean;
|
|
980
|
-
customData?: Record<string, any
|
|
916
|
+
customData?: Record<string, any>;
|
|
981
917
|
}> & Readonly<{
|
|
982
918
|
type: "embeddable";
|
|
983
919
|
}> & {
|
|
@@ -991,10 +927,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
991
927
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
992
928
|
strokeWidth: number;
|
|
993
929
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
994
|
-
roundness: {
|
|
930
|
+
roundness: null | {
|
|
995
931
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
996
|
-
value?: number
|
|
997
|
-
}
|
|
932
|
+
value?: number;
|
|
933
|
+
};
|
|
998
934
|
roughness: number;
|
|
999
935
|
opacity: number;
|
|
1000
936
|
width: number;
|
|
@@ -1005,21 +941,18 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1005
941
|
versionNonce: number;
|
|
1006
942
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1007
943
|
isDeleted: boolean;
|
|
1008
|
-
groupIds: readonly
|
|
944
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1009
945
|
frameId: string | null;
|
|
1010
|
-
boundElements: readonly
|
|
1011
|
-
id: string;
|
|
1012
|
-
type: "arrow" | "text";
|
|
1013
|
-
}>[] | null;
|
|
946
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1014
947
|
updated: number;
|
|
1015
948
|
link: string | null;
|
|
1016
949
|
locked: boolean;
|
|
1017
|
-
customData?: Record<string, any
|
|
950
|
+
customData?: Record<string, any>;
|
|
1018
951
|
}> & Readonly<{
|
|
1019
952
|
type: "iframe";
|
|
1020
953
|
customData?: {
|
|
1021
|
-
generationData?: import("@excalidraw/element/types").MagicGenerationData
|
|
1022
|
-
}
|
|
954
|
+
generationData?: import("@excalidraw/element/types").MagicGenerationData;
|
|
955
|
+
};
|
|
1023
956
|
}> & {
|
|
1024
957
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1025
958
|
}) | (Readonly<{
|
|
@@ -1031,10 +964,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1031
964
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1032
965
|
strokeWidth: number;
|
|
1033
966
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1034
|
-
roundness: {
|
|
967
|
+
roundness: null | {
|
|
1035
968
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1036
|
-
value?: number
|
|
1037
|
-
}
|
|
969
|
+
value?: number;
|
|
970
|
+
};
|
|
1038
971
|
roughness: number;
|
|
1039
972
|
opacity: number;
|
|
1040
973
|
width: number;
|
|
@@ -1045,20 +978,17 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1045
978
|
versionNonce: number;
|
|
1046
979
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1047
980
|
isDeleted: boolean;
|
|
1048
|
-
groupIds: readonly
|
|
981
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1049
982
|
frameId: string | null;
|
|
1050
|
-
boundElements: readonly
|
|
1051
|
-
id: string;
|
|
1052
|
-
type: "arrow" | "text";
|
|
1053
|
-
}>[] | null;
|
|
983
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1054
984
|
updated: number;
|
|
1055
985
|
link: string | null;
|
|
1056
986
|
locked: boolean;
|
|
1057
|
-
customData?: Record<string, any
|
|
987
|
+
customData?: Record<string, any>;
|
|
1058
988
|
}> & Readonly<{
|
|
1059
989
|
type: "image";
|
|
1060
990
|
fileId: import("@excalidraw/element/types").FileId | null;
|
|
1061
|
-
status: "pending" | "
|
|
991
|
+
status: "pending" | "saved" | "error";
|
|
1062
992
|
scale: [number, number];
|
|
1063
993
|
crop: import("@excalidraw/element/types").ImageCrop | null;
|
|
1064
994
|
}> & {
|
|
@@ -1072,10 +1002,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1072
1002
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1073
1003
|
strokeWidth: number;
|
|
1074
1004
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1075
|
-
roundness: {
|
|
1005
|
+
roundness: null | {
|
|
1076
1006
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1077
|
-
value?: number
|
|
1078
|
-
}
|
|
1007
|
+
value?: number;
|
|
1008
|
+
};
|
|
1079
1009
|
roughness: number;
|
|
1080
1010
|
opacity: number;
|
|
1081
1011
|
width: number;
|
|
@@ -1086,16 +1016,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1086
1016
|
versionNonce: number;
|
|
1087
1017
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1088
1018
|
isDeleted: boolean;
|
|
1089
|
-
groupIds: readonly
|
|
1019
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1090
1020
|
frameId: string | null;
|
|
1091
|
-
boundElements: readonly
|
|
1092
|
-
id: string;
|
|
1093
|
-
type: "arrow" | "text";
|
|
1094
|
-
}>[] | null;
|
|
1021
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1095
1022
|
updated: number;
|
|
1096
1023
|
link: string | null;
|
|
1097
1024
|
locked: boolean;
|
|
1098
|
-
customData?: Record<string, any
|
|
1025
|
+
customData?: Record<string, any>;
|
|
1099
1026
|
}> & {
|
|
1100
1027
|
type: "frame";
|
|
1101
1028
|
name: string | null;
|
|
@@ -1110,10 +1037,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1110
1037
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1111
1038
|
strokeWidth: number;
|
|
1112
1039
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1113
|
-
roundness: {
|
|
1040
|
+
roundness: null | {
|
|
1114
1041
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1115
|
-
value?: number
|
|
1116
|
-
}
|
|
1042
|
+
value?: number;
|
|
1043
|
+
};
|
|
1117
1044
|
roughness: number;
|
|
1118
1045
|
opacity: number;
|
|
1119
1046
|
width: number;
|
|
@@ -1124,16 +1051,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1124
1051
|
versionNonce: number;
|
|
1125
1052
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1126
1053
|
isDeleted: boolean;
|
|
1127
|
-
groupIds: readonly
|
|
1054
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1128
1055
|
frameId: string | null;
|
|
1129
|
-
boundElements: readonly
|
|
1130
|
-
id: string;
|
|
1131
|
-
type: "arrow" | "text";
|
|
1132
|
-
}>[] | null;
|
|
1056
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1133
1057
|
updated: number;
|
|
1134
1058
|
link: string | null;
|
|
1135
1059
|
locked: boolean;
|
|
1136
|
-
customData?: Record<string, any
|
|
1060
|
+
customData?: Record<string, any>;
|
|
1137
1061
|
}> & {
|
|
1138
1062
|
type: "magicframe";
|
|
1139
1063
|
name: string | null;
|
|
@@ -1148,10 +1072,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1148
1072
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1149
1073
|
strokeWidth: number;
|
|
1150
1074
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1151
|
-
roundness: {
|
|
1075
|
+
roundness: null | {
|
|
1152
1076
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1153
|
-
value?: number
|
|
1154
|
-
}
|
|
1077
|
+
value?: number;
|
|
1078
|
+
};
|
|
1155
1079
|
roughness: number;
|
|
1156
1080
|
opacity: number;
|
|
1157
1081
|
width: number;
|
|
@@ -1162,24 +1086,21 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1162
1086
|
versionNonce: number;
|
|
1163
1087
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1164
1088
|
isDeleted: boolean;
|
|
1165
|
-
groupIds: readonly
|
|
1089
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1166
1090
|
frameId: string | null;
|
|
1167
|
-
boundElements: readonly
|
|
1168
|
-
id: string;
|
|
1169
|
-
type: "arrow" | "text";
|
|
1170
|
-
}>[] | null;
|
|
1091
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1171
1092
|
updated: number;
|
|
1172
1093
|
link: string | null;
|
|
1173
1094
|
locked: boolean;
|
|
1174
|
-
customData?: Record<string, any
|
|
1095
|
+
customData?: Record<string, any>;
|
|
1175
1096
|
}> & Readonly<{
|
|
1176
1097
|
type: "text";
|
|
1177
1098
|
fontSize: number;
|
|
1178
|
-
fontFamily:
|
|
1099
|
+
fontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1179
1100
|
text: string;
|
|
1180
|
-
textAlign:
|
|
1181
|
-
verticalAlign:
|
|
1182
|
-
containerId:
|
|
1101
|
+
textAlign: import("@excalidraw/element/types").TextAlign;
|
|
1102
|
+
verticalAlign: import("@excalidraw/element/types").VerticalAlign;
|
|
1103
|
+
containerId: import("@excalidraw/element/types").ExcalidrawGenericElement["id"] | null;
|
|
1183
1104
|
originalText: string;
|
|
1184
1105
|
autoResize: boolean;
|
|
1185
1106
|
lineHeight: number & {
|
|
@@ -1196,10 +1117,10 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1196
1117
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1197
1118
|
strokeWidth: number;
|
|
1198
1119
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1199
|
-
roundness: {
|
|
1120
|
+
roundness: null | {
|
|
1200
1121
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1201
|
-
value?: number
|
|
1202
|
-
}
|
|
1122
|
+
value?: number;
|
|
1123
|
+
};
|
|
1203
1124
|
roughness: number;
|
|
1204
1125
|
opacity: number;
|
|
1205
1126
|
width: number;
|
|
@@ -1210,22 +1131,19 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1210
1131
|
versionNonce: number;
|
|
1211
1132
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1212
1133
|
isDeleted: boolean;
|
|
1213
|
-
groupIds: readonly
|
|
1134
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1214
1135
|
frameId: string | null;
|
|
1215
|
-
boundElements: readonly
|
|
1216
|
-
id: string;
|
|
1217
|
-
type: "arrow" | "text";
|
|
1218
|
-
}>[] | null;
|
|
1136
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1219
1137
|
updated: number;
|
|
1220
1138
|
link: string | null;
|
|
1221
1139
|
locked: boolean;
|
|
1222
|
-
customData?: Record<string, any
|
|
1140
|
+
customData?: Record<string, any>;
|
|
1223
1141
|
}> & Readonly<{
|
|
1224
1142
|
type: "freedraw";
|
|
1225
1143
|
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
1226
1144
|
pressures: readonly number[];
|
|
1227
1145
|
simulatePressure: boolean;
|
|
1228
|
-
|
|
1146
|
+
strokeOptions: import("@excalidraw/element/types").StrokeOptions;
|
|
1229
1147
|
}> & {
|
|
1230
1148
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1231
1149
|
}) | import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameElement>)[];
|