@excalidraw/element 0.18.0-a8acc82 → 0.18.0-a9ca16e
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 +4893 -2405
- package/dist/dev/index.js.map +4 -4
- package/dist/prod/index.js +19 -18
- 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 +23 -27
- 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 +53 -42
- package/dist/types/common/src/versionedSnapshotStore.d.ts +17 -0
- package/dist/types/element/src/Scene.d.ts +5 -3
- 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 +3 -11
- package/dist/types/element/src/collision.d.ts +7 -2
- package/dist/types/element/src/comparisons.d.ts +7 -7
- 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 +3 -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 +5 -1
- 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 +4 -3
- package/dist/types/element/src/linearElementEditor.d.ts +21 -20
- package/dist/types/element/src/mutateElement.d.ts +5 -1
- package/dist/types/element/src/newElement.d.ts +6 -6
- package/dist/types/element/src/renderElement.d.ts +1 -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 +8 -8
- package/dist/types/element/src/shape.d.ts +8 -7
- package/dist/types/element/src/textElement.d.ts +1 -1
- 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 +4 -7
- package/dist/types/element/src/types.d.ts +12 -13
- package/dist/types/element/src/utils.d.ts +8 -3
- package/dist/types/element/src/visualdebug.d.ts +59 -0
- package/dist/types/element/src/zindex.d.ts +7 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +128 -171
- package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +92 -121
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +544 -902
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +110 -884
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +44 -59
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +148 -195
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +36 -57
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +90 -119
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +45 -60
- package/dist/types/excalidraw/actions/actionExport.d.ts +171 -1412
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +10 -396
- package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionFrame.d.ts +275 -370
- package/dist/types/excalidraw/actions/actionGroup.d.ts +95 -132
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +153 -206
- package/dist/types/excalidraw/actions/actionLink.d.ts +42 -57
- package/dist/types/excalidraw/actions/actionMenu.d.ts +35 -424
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +18 -361
- package/dist/types/excalidraw/actions/actionProperties.d.ts +152 -2533
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +47 -66
- package/dist/types/excalidraw/actions/actionStyles.d.ts +44 -58
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +172 -0
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +44 -59
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +172 -0
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +44 -59
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +33 -54
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +44 -59
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +44 -59
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +45 -60
- package/dist/types/excalidraw/actions/actionZindex.d.ts +2 -3
- package/dist/types/excalidraw/actions/index.d.ts +3 -1
- 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/appState.d.ts +21 -15
- 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 +13 -38
- package/dist/types/excalidraw/components/Actions.d.ts +14 -4
- package/dist/types/excalidraw/components/App.d.ts +109 -70
- 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 +1 -3
- 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 +0 -1
- 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/types.d.ts +2 -4
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
- 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 +0 -1
- package/dist/types/excalidraw/components/FilledButton.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -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/LayerUI.d.ts +2 -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/PasteChartDialog.d.ts +4 -5
- package/dist/types/excalidraw/components/Popover.d.ts +2 -1
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -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/ScrollableList.d.ts +0 -1
- package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +15 -21
- 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 +7 -3
- 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 +0 -1
- 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 +44 -22
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +19 -2
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +39 -35
- package/dist/types/excalidraw/components/shapes.d.ts +74 -1
- package/dist/types/excalidraw/data/blob.d.ts +326 -7
- 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 +170 -4
- package/dist/types/excalidraw/data/library.d.ts +24 -9
- package/dist/types/excalidraw/data/resave.d.ts +7 -2
- package/dist/types/excalidraw/data/restore.d.ts +25 -10
- package/dist/types/excalidraw/editor-jotai.d.ts +11 -11
- package/dist/types/excalidraw/errors.d.ts +14 -0
- package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +4 -3
- package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -2
- package/dist/types/excalidraw/i18n.d.ts +2 -2
- package/dist/types/excalidraw/renderer/animation.d.ts +12 -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 +5 -2
- package/dist/types/excalidraw/scene/export.d.ts +2 -2
- package/dist/types/excalidraw/scene/scroll.d.ts +1 -6
- 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 +120 -36
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +7 -3
- package/dist/types/math/src/point.d.ts +7 -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 +3 -3
- package/dist/types/math/src/types.d.ts +25 -1
- package/dist/types/utils/src/bbox.d.ts +1 -1
- package/dist/types/utils/src/export.d.ts +5 -5
- package/dist/types/utils/src/shape.d.ts +6 -6
- package/dist/types/utils/src/withinBounds.d.ts +2 -2
- package/package.json +9 -3
- 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
|
@@ -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;
|
|
30
|
+
bindingPreference: "enabled" | "disabled";
|
|
31
|
+
isMidpointSnappingEnabled: boolean;
|
|
31
32
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
32
|
-
|
|
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,19 +61,19 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
53
61
|
exportScale: number;
|
|
54
62
|
currentItemStrokeColor: string;
|
|
55
63
|
currentItemBackgroundColor: string;
|
|
56
|
-
currentItemFillStyle:
|
|
64
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
57
65
|
currentItemStrokeWidth: number;
|
|
58
|
-
currentItemStrokeStyle:
|
|
66
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
59
67
|
currentItemRoughness: number;
|
|
60
68
|
currentItemOpacity: number;
|
|
61
|
-
currentItemFontFamily:
|
|
69
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
62
70
|
currentItemFontSize: number;
|
|
63
|
-
currentItemTextAlign:
|
|
71
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
64
72
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
65
73
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
66
|
-
currentHoveredFontFamily:
|
|
74
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
67
75
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
68
|
-
currentItemArrowType: "
|
|
76
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
69
77
|
viewBackgroundColor: string;
|
|
70
78
|
scrollX: number;
|
|
71
79
|
scrollY: number;
|
|
@@ -74,26 +82,30 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
74
82
|
name: string | null;
|
|
75
83
|
isResizing: boolean;
|
|
76
84
|
isRotating: boolean;
|
|
77
|
-
zoom:
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
openMenu: "canvas" | "shape" | null;
|
|
81
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
85
|
+
zoom: import("../types").Zoom;
|
|
86
|
+
openMenu: "canvas" | null;
|
|
87
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
82
88
|
openSidebar: {
|
|
83
|
-
name:
|
|
84
|
-
tab?:
|
|
89
|
+
name: import("../types").SidebarName;
|
|
90
|
+
tab?: import("../types").SidebarTabName;
|
|
85
91
|
} | null;
|
|
86
|
-
openDialog: {
|
|
92
|
+
openDialog: null | {
|
|
87
93
|
name: "imageExport" | "help" | "jsonExport";
|
|
88
94
|
} | {
|
|
89
95
|
name: "ttd";
|
|
90
|
-
tab: "
|
|
96
|
+
tab: "text-to-diagram" | "mermaid";
|
|
91
97
|
} | {
|
|
92
98
|
name: "commandPalette";
|
|
99
|
+
} | {
|
|
100
|
+
name: "settings";
|
|
93
101
|
} | {
|
|
94
102
|
name: "elementLinkSelector";
|
|
95
|
-
sourceElementId:
|
|
96
|
-
} |
|
|
103
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
104
|
+
} | {
|
|
105
|
+
name: "charts";
|
|
106
|
+
data: import("../charts").Spreadsheet;
|
|
107
|
+
rawText: string;
|
|
108
|
+
};
|
|
97
109
|
defaultSidebarDockedPreference: boolean;
|
|
98
110
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
99
111
|
hoveredElementIds: Readonly<{
|
|
@@ -105,9 +117,9 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
105
117
|
selectedElementsAreBeingDragged: boolean;
|
|
106
118
|
shouldCacheIgnoreZoom: boolean;
|
|
107
119
|
toast: {
|
|
108
|
-
message:
|
|
109
|
-
closable?: boolean
|
|
110
|
-
duration?: number
|
|
120
|
+
message: React.ReactNode;
|
|
121
|
+
closable?: boolean;
|
|
122
|
+
duration?: number;
|
|
111
123
|
} | null;
|
|
112
124
|
zenModeEnabled: boolean;
|
|
113
125
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -118,45 +130,18 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
118
130
|
selectedGroupIds: {
|
|
119
131
|
[groupId: string]: boolean;
|
|
120
132
|
};
|
|
121
|
-
editingGroupId:
|
|
133
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
122
134
|
width: number;
|
|
123
135
|
height: number;
|
|
124
136
|
offsetTop: number;
|
|
125
137
|
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
|
-
}>>;
|
|
138
|
+
fileHandle: FileSystemFileHandle | null;
|
|
139
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
147
140
|
stats: {
|
|
148
141
|
open: boolean;
|
|
149
142
|
panels: number;
|
|
150
143
|
};
|
|
151
|
-
|
|
152
|
-
pasteDialog: {
|
|
153
|
-
shown: false;
|
|
154
|
-
data: null;
|
|
155
|
-
} | {
|
|
156
|
-
shown: true;
|
|
157
|
-
data: import("../charts").Spreadsheet;
|
|
158
|
-
};
|
|
159
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
144
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
160
145
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
161
146
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
162
147
|
originSnapOffset: {
|
|
@@ -167,16 +152,16 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
167
152
|
userToFollow: import("../types").UserToFollow | null;
|
|
168
153
|
followedBy: Set<import("../types").SocketId>;
|
|
169
154
|
isCropping: boolean;
|
|
170
|
-
croppingElementId:
|
|
155
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
171
156
|
searchMatches: Readonly<{
|
|
172
|
-
focusedId:
|
|
157
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
173
158
|
matches: readonly import("../types").SearchMatch[];
|
|
174
159
|
}> | null;
|
|
175
160
|
activeLockedId: string | null;
|
|
176
161
|
lockedMultiSelections: {
|
|
177
162
|
[groupId: string]: true;
|
|
178
163
|
};
|
|
179
|
-
|
|
164
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
180
165
|
};
|
|
181
166
|
captureUpdate: "IMMEDIATELY";
|
|
182
167
|
} | {
|
|
@@ -194,7 +179,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
194
179
|
trackEvent: {
|
|
195
180
|
category: "history";
|
|
196
181
|
};
|
|
197
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
182
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
198
183
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
199
184
|
appState: {
|
|
200
185
|
selectedElementIds: {
|
|
@@ -207,18 +192,23 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
207
192
|
} | null;
|
|
208
193
|
showWelcomeScreen: boolean;
|
|
209
194
|
isLoading: boolean;
|
|
210
|
-
errorMessage:
|
|
195
|
+
errorMessage: React.ReactNode;
|
|
211
196
|
activeEmbeddable: {
|
|
212
197
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
213
|
-
state: "
|
|
198
|
+
state: "hover" | "active";
|
|
214
199
|
} | null;
|
|
215
200
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
216
201
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
217
202
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
218
203
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
219
204
|
isBindingEnabled: boolean;
|
|
205
|
+
bindingPreference: "enabled" | "disabled";
|
|
206
|
+
isMidpointSnappingEnabled: boolean;
|
|
220
207
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
221
|
-
|
|
208
|
+
suggestedBinding: {
|
|
209
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
210
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
211
|
+
} | null;
|
|
222
212
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
223
213
|
frameRendering: {
|
|
224
214
|
enabled: boolean;
|
|
@@ -228,12 +218,16 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
228
218
|
};
|
|
229
219
|
editingFrame: string | null;
|
|
230
220
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
231
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
221
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
232
222
|
activeTool: {
|
|
233
223
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
234
224
|
locked: boolean;
|
|
235
225
|
fromSelection: boolean;
|
|
236
226
|
} & import("../types").ActiveTool;
|
|
227
|
+
preferredSelectionTool: {
|
|
228
|
+
type: "selection" | "lasso";
|
|
229
|
+
initialized: boolean;
|
|
230
|
+
};
|
|
237
231
|
penMode: boolean;
|
|
238
232
|
penDetected: boolean;
|
|
239
233
|
exportBackground: boolean;
|
|
@@ -242,19 +236,19 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
242
236
|
exportScale: number;
|
|
243
237
|
currentItemStrokeColor: string;
|
|
244
238
|
currentItemBackgroundColor: string;
|
|
245
|
-
currentItemFillStyle:
|
|
239
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
246
240
|
currentItemStrokeWidth: number;
|
|
247
|
-
currentItemStrokeStyle:
|
|
241
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
248
242
|
currentItemRoughness: number;
|
|
249
243
|
currentItemOpacity: number;
|
|
250
|
-
currentItemFontFamily:
|
|
244
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
251
245
|
currentItemFontSize: number;
|
|
252
|
-
currentItemTextAlign:
|
|
246
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
253
247
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
254
248
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
255
|
-
currentHoveredFontFamily:
|
|
249
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
256
250
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
257
|
-
currentItemArrowType: "
|
|
251
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
258
252
|
viewBackgroundColor: string;
|
|
259
253
|
scrollX: number;
|
|
260
254
|
scrollY: number;
|
|
@@ -263,26 +257,30 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
263
257
|
name: string | null;
|
|
264
258
|
isResizing: boolean;
|
|
265
259
|
isRotating: boolean;
|
|
266
|
-
zoom:
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
openMenu: "canvas" | "shape" | null;
|
|
270
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
260
|
+
zoom: import("../types").Zoom;
|
|
261
|
+
openMenu: "canvas" | null;
|
|
262
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
271
263
|
openSidebar: {
|
|
272
|
-
name:
|
|
273
|
-
tab?:
|
|
264
|
+
name: import("../types").SidebarName;
|
|
265
|
+
tab?: import("../types").SidebarTabName;
|
|
274
266
|
} | null;
|
|
275
|
-
openDialog: {
|
|
267
|
+
openDialog: null | {
|
|
276
268
|
name: "imageExport" | "help" | "jsonExport";
|
|
277
269
|
} | {
|
|
278
270
|
name: "ttd";
|
|
279
|
-
tab: "
|
|
271
|
+
tab: "text-to-diagram" | "mermaid";
|
|
280
272
|
} | {
|
|
281
273
|
name: "commandPalette";
|
|
274
|
+
} | {
|
|
275
|
+
name: "settings";
|
|
282
276
|
} | {
|
|
283
277
|
name: "elementLinkSelector";
|
|
284
|
-
sourceElementId:
|
|
285
|
-
} |
|
|
278
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
279
|
+
} | {
|
|
280
|
+
name: "charts";
|
|
281
|
+
data: import("../charts").Spreadsheet;
|
|
282
|
+
rawText: string;
|
|
283
|
+
};
|
|
286
284
|
defaultSidebarDockedPreference: boolean;
|
|
287
285
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
288
286
|
hoveredElementIds: Readonly<{
|
|
@@ -294,9 +292,9 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
294
292
|
selectedElementsAreBeingDragged: boolean;
|
|
295
293
|
shouldCacheIgnoreZoom: boolean;
|
|
296
294
|
toast: {
|
|
297
|
-
message:
|
|
298
|
-
closable?: boolean
|
|
299
|
-
duration?: number
|
|
295
|
+
message: React.ReactNode;
|
|
296
|
+
closable?: boolean;
|
|
297
|
+
duration?: number;
|
|
300
298
|
} | null;
|
|
301
299
|
zenModeEnabled: boolean;
|
|
302
300
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -307,45 +305,18 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
307
305
|
selectedGroupIds: {
|
|
308
306
|
[groupId: string]: boolean;
|
|
309
307
|
};
|
|
310
|
-
editingGroupId:
|
|
308
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
311
309
|
width: number;
|
|
312
310
|
height: number;
|
|
313
311
|
offsetTop: number;
|
|
314
312
|
offsetLeft: number;
|
|
315
|
-
fileHandle:
|
|
316
|
-
collaborators: Map<import("../types").SocketId,
|
|
317
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
318
|
-
button?: "up" | "down" | undefined;
|
|
319
|
-
selectedElementIds?: Readonly<{
|
|
320
|
-
[id: string]: true;
|
|
321
|
-
}> | undefined;
|
|
322
|
-
username?: string | null | undefined;
|
|
323
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
324
|
-
color?: {
|
|
325
|
-
background: string;
|
|
326
|
-
stroke: string;
|
|
327
|
-
} | undefined;
|
|
328
|
-
avatarUrl?: string | undefined;
|
|
329
|
-
id?: string | undefined;
|
|
330
|
-
socketId?: import("../types").SocketId | undefined;
|
|
331
|
-
isCurrentUser?: boolean | undefined;
|
|
332
|
-
isInCall?: boolean | undefined;
|
|
333
|
-
isSpeaking?: boolean | undefined;
|
|
334
|
-
isMuted?: boolean | undefined;
|
|
335
|
-
}>>;
|
|
313
|
+
fileHandle: FileSystemFileHandle | null;
|
|
314
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
336
315
|
stats: {
|
|
337
316
|
open: boolean;
|
|
338
317
|
panels: number;
|
|
339
318
|
};
|
|
340
|
-
|
|
341
|
-
pasteDialog: {
|
|
342
|
-
shown: false;
|
|
343
|
-
data: null;
|
|
344
|
-
} | {
|
|
345
|
-
shown: true;
|
|
346
|
-
data: import("../charts").Spreadsheet;
|
|
347
|
-
};
|
|
348
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
319
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
349
320
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
350
321
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
351
322
|
originSnapOffset: {
|
|
@@ -356,16 +327,16 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
356
327
|
userToFollow: import("../types").UserToFollow | null;
|
|
357
328
|
followedBy: Set<import("../types").SocketId>;
|
|
358
329
|
isCropping: boolean;
|
|
359
|
-
croppingElementId:
|
|
330
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
360
331
|
searchMatches: Readonly<{
|
|
361
|
-
focusedId:
|
|
332
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
362
333
|
matches: readonly import("../types").SearchMatch[];
|
|
363
334
|
}> | null;
|
|
364
335
|
activeLockedId: string | null;
|
|
365
336
|
lockedMultiSelections: {
|
|
366
337
|
[groupId: string]: true;
|
|
367
338
|
};
|
|
368
|
-
|
|
339
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
369
340
|
};
|
|
370
341
|
captureUpdate: "IMMEDIATELY";
|
|
371
342
|
} | {
|
|
@@ -400,27 +371,36 @@ export declare const actionupdateFrameRendering: {
|
|
|
400
371
|
} | null;
|
|
401
372
|
showWelcomeScreen: boolean;
|
|
402
373
|
isLoading: boolean;
|
|
403
|
-
errorMessage:
|
|
374
|
+
errorMessage: React.ReactNode;
|
|
404
375
|
activeEmbeddable: {
|
|
405
376
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
406
|
-
state: "
|
|
377
|
+
state: "hover" | "active";
|
|
407
378
|
} | null;
|
|
408
379
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
409
380
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
410
381
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
411
382
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
412
383
|
isBindingEnabled: boolean;
|
|
384
|
+
bindingPreference: "enabled" | "disabled";
|
|
385
|
+
isMidpointSnappingEnabled: boolean;
|
|
413
386
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
414
|
-
|
|
387
|
+
suggestedBinding: {
|
|
388
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
389
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
390
|
+
} | null;
|
|
415
391
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
416
392
|
editingFrame: string | null;
|
|
417
393
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
418
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
394
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
419
395
|
activeTool: {
|
|
420
396
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
421
397
|
locked: boolean;
|
|
422
398
|
fromSelection: boolean;
|
|
423
399
|
} & import("../types").ActiveTool;
|
|
400
|
+
preferredSelectionTool: {
|
|
401
|
+
type: "selection" | "lasso";
|
|
402
|
+
initialized: boolean;
|
|
403
|
+
};
|
|
424
404
|
penMode: boolean;
|
|
425
405
|
penDetected: boolean;
|
|
426
406
|
exportBackground: boolean;
|
|
@@ -429,19 +409,19 @@ export declare const actionupdateFrameRendering: {
|
|
|
429
409
|
exportScale: number;
|
|
430
410
|
currentItemStrokeColor: string;
|
|
431
411
|
currentItemBackgroundColor: string;
|
|
432
|
-
currentItemFillStyle:
|
|
412
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
433
413
|
currentItemStrokeWidth: number;
|
|
434
|
-
currentItemStrokeStyle:
|
|
414
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
435
415
|
currentItemRoughness: number;
|
|
436
416
|
currentItemOpacity: number;
|
|
437
|
-
currentItemFontFamily:
|
|
417
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
438
418
|
currentItemFontSize: number;
|
|
439
|
-
currentItemTextAlign:
|
|
419
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
440
420
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
441
421
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
442
|
-
currentHoveredFontFamily:
|
|
422
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
443
423
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
444
|
-
currentItemArrowType: "
|
|
424
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
445
425
|
viewBackgroundColor: string;
|
|
446
426
|
scrollX: number;
|
|
447
427
|
scrollY: number;
|
|
@@ -450,26 +430,30 @@ export declare const actionupdateFrameRendering: {
|
|
|
450
430
|
name: string | null;
|
|
451
431
|
isResizing: boolean;
|
|
452
432
|
isRotating: boolean;
|
|
453
|
-
zoom:
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
openMenu: "canvas" | "shape" | null;
|
|
457
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
433
|
+
zoom: import("../types").Zoom;
|
|
434
|
+
openMenu: "canvas" | null;
|
|
435
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
458
436
|
openSidebar: {
|
|
459
|
-
name:
|
|
460
|
-
tab?:
|
|
437
|
+
name: import("../types").SidebarName;
|
|
438
|
+
tab?: import("../types").SidebarTabName;
|
|
461
439
|
} | null;
|
|
462
|
-
openDialog: {
|
|
440
|
+
openDialog: null | {
|
|
463
441
|
name: "imageExport" | "help" | "jsonExport";
|
|
464
442
|
} | {
|
|
465
443
|
name: "ttd";
|
|
466
|
-
tab: "
|
|
444
|
+
tab: "text-to-diagram" | "mermaid";
|
|
467
445
|
} | {
|
|
468
446
|
name: "commandPalette";
|
|
447
|
+
} | {
|
|
448
|
+
name: "settings";
|
|
469
449
|
} | {
|
|
470
450
|
name: "elementLinkSelector";
|
|
471
|
-
sourceElementId:
|
|
472
|
-
} |
|
|
451
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
452
|
+
} | {
|
|
453
|
+
name: "charts";
|
|
454
|
+
data: import("../charts").Spreadsheet;
|
|
455
|
+
rawText: string;
|
|
456
|
+
};
|
|
473
457
|
defaultSidebarDockedPreference: boolean;
|
|
474
458
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
475
459
|
selectedElementIds: Readonly<{
|
|
@@ -484,9 +468,9 @@ export declare const actionupdateFrameRendering: {
|
|
|
484
468
|
selectedElementsAreBeingDragged: boolean;
|
|
485
469
|
shouldCacheIgnoreZoom: boolean;
|
|
486
470
|
toast: {
|
|
487
|
-
message:
|
|
488
|
-
closable?: boolean
|
|
489
|
-
duration?: number
|
|
471
|
+
message: React.ReactNode;
|
|
472
|
+
closable?: boolean;
|
|
473
|
+
duration?: number;
|
|
490
474
|
} | null;
|
|
491
475
|
zenModeEnabled: boolean;
|
|
492
476
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -497,45 +481,18 @@ export declare const actionupdateFrameRendering: {
|
|
|
497
481
|
selectedGroupIds: {
|
|
498
482
|
[groupId: string]: boolean;
|
|
499
483
|
};
|
|
500
|
-
editingGroupId:
|
|
484
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
501
485
|
width: number;
|
|
502
486
|
height: number;
|
|
503
487
|
offsetTop: number;
|
|
504
488
|
offsetLeft: number;
|
|
505
|
-
fileHandle:
|
|
506
|
-
collaborators: Map<import("../types").SocketId,
|
|
507
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
508
|
-
button?: "up" | "down" | undefined;
|
|
509
|
-
selectedElementIds?: Readonly<{
|
|
510
|
-
[id: string]: true;
|
|
511
|
-
}> | undefined;
|
|
512
|
-
username?: string | null | undefined;
|
|
513
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
514
|
-
color?: {
|
|
515
|
-
background: string;
|
|
516
|
-
stroke: string;
|
|
517
|
-
} | undefined;
|
|
518
|
-
avatarUrl?: string | undefined;
|
|
519
|
-
id?: string | undefined;
|
|
520
|
-
socketId?: import("../types").SocketId | undefined;
|
|
521
|
-
isCurrentUser?: boolean | undefined;
|
|
522
|
-
isInCall?: boolean | undefined;
|
|
523
|
-
isSpeaking?: boolean | undefined;
|
|
524
|
-
isMuted?: boolean | undefined;
|
|
525
|
-
}>>;
|
|
489
|
+
fileHandle: FileSystemFileHandle | null;
|
|
490
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
526
491
|
stats: {
|
|
527
492
|
open: boolean;
|
|
528
493
|
panels: number;
|
|
529
494
|
};
|
|
530
|
-
|
|
531
|
-
pasteDialog: {
|
|
532
|
-
shown: false;
|
|
533
|
-
data: null;
|
|
534
|
-
} | {
|
|
535
|
-
shown: true;
|
|
536
|
-
data: import("../charts").Spreadsheet;
|
|
537
|
-
};
|
|
538
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
495
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
539
496
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
540
497
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
541
498
|
originSnapOffset: {
|
|
@@ -546,16 +503,16 @@ export declare const actionupdateFrameRendering: {
|
|
|
546
503
|
userToFollow: import("../types").UserToFollow | null;
|
|
547
504
|
followedBy: Set<import("../types").SocketId>;
|
|
548
505
|
isCropping: boolean;
|
|
549
|
-
croppingElementId:
|
|
506
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
550
507
|
searchMatches: Readonly<{
|
|
551
|
-
focusedId:
|
|
508
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
552
509
|
matches: readonly import("../types").SearchMatch[];
|
|
553
510
|
}> | null;
|
|
554
511
|
activeLockedId: string | null;
|
|
555
512
|
lockedMultiSelections: {
|
|
556
513
|
[groupId: string]: true;
|
|
557
514
|
};
|
|
558
|
-
|
|
515
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
559
516
|
};
|
|
560
517
|
captureUpdate: "EVENTUALLY";
|
|
561
518
|
};
|
|
@@ -571,7 +528,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
571
528
|
};
|
|
572
529
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
573
530
|
viewMode: false;
|
|
574
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
531
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
575
532
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
576
533
|
appState: {
|
|
577
534
|
activeTool: {
|
|
@@ -586,18 +543,23 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
586
543
|
} | null;
|
|
587
544
|
showWelcomeScreen: boolean;
|
|
588
545
|
isLoading: boolean;
|
|
589
|
-
errorMessage:
|
|
546
|
+
errorMessage: React.ReactNode;
|
|
590
547
|
activeEmbeddable: {
|
|
591
548
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
592
|
-
state: "
|
|
549
|
+
state: "hover" | "active";
|
|
593
550
|
} | null;
|
|
594
551
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
595
552
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
596
553
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
597
554
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
598
555
|
isBindingEnabled: boolean;
|
|
556
|
+
bindingPreference: "enabled" | "disabled";
|
|
557
|
+
isMidpointSnappingEnabled: boolean;
|
|
599
558
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
600
|
-
|
|
559
|
+
suggestedBinding: {
|
|
560
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
561
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
562
|
+
} | null;
|
|
601
563
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
602
564
|
frameRendering: {
|
|
603
565
|
enabled: boolean;
|
|
@@ -607,7 +569,11 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
607
569
|
};
|
|
608
570
|
editingFrame: string | null;
|
|
609
571
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
610
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
572
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
573
|
+
preferredSelectionTool: {
|
|
574
|
+
type: "selection" | "lasso";
|
|
575
|
+
initialized: boolean;
|
|
576
|
+
};
|
|
611
577
|
penMode: boolean;
|
|
612
578
|
penDetected: boolean;
|
|
613
579
|
exportBackground: boolean;
|
|
@@ -616,19 +582,19 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
616
582
|
exportScale: number;
|
|
617
583
|
currentItemStrokeColor: string;
|
|
618
584
|
currentItemBackgroundColor: string;
|
|
619
|
-
currentItemFillStyle:
|
|
585
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
620
586
|
currentItemStrokeWidth: number;
|
|
621
|
-
currentItemStrokeStyle:
|
|
587
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
622
588
|
currentItemRoughness: number;
|
|
623
589
|
currentItemOpacity: number;
|
|
624
|
-
currentItemFontFamily:
|
|
590
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
625
591
|
currentItemFontSize: number;
|
|
626
|
-
currentItemTextAlign:
|
|
592
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
627
593
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
628
594
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
629
|
-
currentHoveredFontFamily:
|
|
595
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
630
596
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
631
|
-
currentItemArrowType: "
|
|
597
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
632
598
|
viewBackgroundColor: string;
|
|
633
599
|
scrollX: number;
|
|
634
600
|
scrollY: number;
|
|
@@ -637,26 +603,30 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
637
603
|
name: string | null;
|
|
638
604
|
isResizing: boolean;
|
|
639
605
|
isRotating: boolean;
|
|
640
|
-
zoom:
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
openMenu: "canvas" | "shape" | null;
|
|
644
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
606
|
+
zoom: import("../types").Zoom;
|
|
607
|
+
openMenu: "canvas" | null;
|
|
608
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
645
609
|
openSidebar: {
|
|
646
|
-
name:
|
|
647
|
-
tab?:
|
|
610
|
+
name: import("../types").SidebarName;
|
|
611
|
+
tab?: import("../types").SidebarTabName;
|
|
648
612
|
} | null;
|
|
649
|
-
openDialog: {
|
|
613
|
+
openDialog: null | {
|
|
650
614
|
name: "imageExport" | "help" | "jsonExport";
|
|
651
615
|
} | {
|
|
652
616
|
name: "ttd";
|
|
653
|
-
tab: "
|
|
617
|
+
tab: "text-to-diagram" | "mermaid";
|
|
654
618
|
} | {
|
|
655
619
|
name: "commandPalette";
|
|
620
|
+
} | {
|
|
621
|
+
name: "settings";
|
|
656
622
|
} | {
|
|
657
623
|
name: "elementLinkSelector";
|
|
658
|
-
sourceElementId:
|
|
659
|
-
} |
|
|
624
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
625
|
+
} | {
|
|
626
|
+
name: "charts";
|
|
627
|
+
data: import("../charts").Spreadsheet;
|
|
628
|
+
rawText: string;
|
|
629
|
+
};
|
|
660
630
|
defaultSidebarDockedPreference: boolean;
|
|
661
631
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
662
632
|
selectedElementIds: Readonly<{
|
|
@@ -671,9 +641,9 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
671
641
|
selectedElementsAreBeingDragged: boolean;
|
|
672
642
|
shouldCacheIgnoreZoom: boolean;
|
|
673
643
|
toast: {
|
|
674
|
-
message:
|
|
675
|
-
closable?: boolean
|
|
676
|
-
duration?: number
|
|
644
|
+
message: React.ReactNode;
|
|
645
|
+
closable?: boolean;
|
|
646
|
+
duration?: number;
|
|
677
647
|
} | null;
|
|
678
648
|
zenModeEnabled: boolean;
|
|
679
649
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -684,45 +654,18 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
684
654
|
selectedGroupIds: {
|
|
685
655
|
[groupId: string]: boolean;
|
|
686
656
|
};
|
|
687
|
-
editingGroupId:
|
|
657
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
688
658
|
width: number;
|
|
689
659
|
height: number;
|
|
690
660
|
offsetTop: number;
|
|
691
661
|
offsetLeft: number;
|
|
692
|
-
fileHandle:
|
|
693
|
-
collaborators: Map<import("../types").SocketId,
|
|
694
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
695
|
-
button?: "up" | "down" | undefined;
|
|
696
|
-
selectedElementIds?: Readonly<{
|
|
697
|
-
[id: string]: true;
|
|
698
|
-
}> | undefined;
|
|
699
|
-
username?: string | null | undefined;
|
|
700
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
701
|
-
color?: {
|
|
702
|
-
background: string;
|
|
703
|
-
stroke: string;
|
|
704
|
-
} | undefined;
|
|
705
|
-
avatarUrl?: string | undefined;
|
|
706
|
-
id?: string | undefined;
|
|
707
|
-
socketId?: import("../types").SocketId | undefined;
|
|
708
|
-
isCurrentUser?: boolean | undefined;
|
|
709
|
-
isInCall?: boolean | undefined;
|
|
710
|
-
isSpeaking?: boolean | undefined;
|
|
711
|
-
isMuted?: boolean | undefined;
|
|
712
|
-
}>>;
|
|
662
|
+
fileHandle: FileSystemFileHandle | null;
|
|
663
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
713
664
|
stats: {
|
|
714
665
|
open: boolean;
|
|
715
666
|
panels: number;
|
|
716
667
|
};
|
|
717
|
-
|
|
718
|
-
pasteDialog: {
|
|
719
|
-
shown: false;
|
|
720
|
-
data: null;
|
|
721
|
-
} | {
|
|
722
|
-
shown: true;
|
|
723
|
-
data: import("../charts").Spreadsheet;
|
|
724
|
-
};
|
|
725
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
668
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
726
669
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
727
670
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
728
671
|
originSnapOffset: {
|
|
@@ -733,16 +676,16 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
733
676
|
userToFollow: import("../types").UserToFollow | null;
|
|
734
677
|
followedBy: Set<import("../types").SocketId>;
|
|
735
678
|
isCropping: boolean;
|
|
736
|
-
croppingElementId:
|
|
679
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
737
680
|
searchMatches: Readonly<{
|
|
738
|
-
focusedId:
|
|
681
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
739
682
|
matches: readonly import("../types").SearchMatch[];
|
|
740
683
|
}> | null;
|
|
741
684
|
activeLockedId: string | null;
|
|
742
685
|
lockedMultiSelections: {
|
|
743
686
|
[groupId: string]: true;
|
|
744
687
|
};
|
|
745
|
-
|
|
688
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
746
689
|
};
|
|
747
690
|
captureUpdate: "EVENTUALLY";
|
|
748
691
|
};
|
|
@@ -757,7 +700,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
757
700
|
category: "element";
|
|
758
701
|
};
|
|
759
702
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
760
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
703
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
761
704
|
elements: ((Readonly<{
|
|
762
705
|
id: string;
|
|
763
706
|
x: number;
|
|
@@ -767,36 +710,32 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
767
710
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
768
711
|
strokeWidth: number;
|
|
769
712
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
770
|
-
roundness: {
|
|
713
|
+
roundness: null | {
|
|
771
714
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
772
|
-
value?: number
|
|
773
|
-
}
|
|
715
|
+
value?: number;
|
|
716
|
+
};
|
|
774
717
|
roughness: number;
|
|
775
718
|
opacity: number;
|
|
776
719
|
width: number;
|
|
777
720
|
height: number;
|
|
778
|
-
angle: import("
|
|
721
|
+
angle: import("@excalidraw/math").Radians;
|
|
779
722
|
seed: number;
|
|
780
723
|
version: number;
|
|
781
724
|
versionNonce: number;
|
|
782
725
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
783
726
|
isDeleted: boolean;
|
|
784
|
-
groupIds: readonly
|
|
727
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
785
728
|
frameId: string | null;
|
|
786
|
-
boundElements: readonly
|
|
787
|
-
id: string;
|
|
788
|
-
type: "arrow" | "text";
|
|
789
|
-
}>[] | null;
|
|
729
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
790
730
|
updated: number;
|
|
791
731
|
link: string | null;
|
|
792
732
|
locked: boolean;
|
|
793
|
-
customData?: Record<string, any
|
|
733
|
+
customData?: Record<string, any>;
|
|
794
734
|
}> & Readonly<{
|
|
795
735
|
type: "line" | "arrow";
|
|
796
|
-
points: readonly import("
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
endBinding: import("@excalidraw/element/types").PointBinding | null;
|
|
736
|
+
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
737
|
+
startBinding: import("@excalidraw/element/types").FixedPointBinding | null;
|
|
738
|
+
endBinding: import("@excalidraw/element/types").FixedPointBinding | null;
|
|
800
739
|
startArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
801
740
|
endArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
802
741
|
}> & {
|
|
@@ -810,30 +749,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
810
749
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
811
750
|
strokeWidth: number;
|
|
812
751
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
813
|
-
roundness: {
|
|
752
|
+
roundness: null | {
|
|
814
753
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
815
|
-
value?: number
|
|
816
|
-
}
|
|
754
|
+
value?: number;
|
|
755
|
+
};
|
|
817
756
|
roughness: number;
|
|
818
757
|
opacity: number;
|
|
819
758
|
width: number;
|
|
820
759
|
height: number;
|
|
821
|
-
angle: import("
|
|
760
|
+
angle: import("@excalidraw/math").Radians;
|
|
822
761
|
seed: number;
|
|
823
762
|
version: number;
|
|
824
763
|
versionNonce: number;
|
|
825
764
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
826
765
|
isDeleted: boolean;
|
|
827
|
-
groupIds: readonly
|
|
766
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
828
767
|
frameId: string | null;
|
|
829
|
-
boundElements: readonly
|
|
830
|
-
id: string;
|
|
831
|
-
type: "arrow" | "text";
|
|
832
|
-
}>[] | null;
|
|
768
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
833
769
|
updated: number;
|
|
834
770
|
link: string | null;
|
|
835
771
|
locked: boolean;
|
|
836
|
-
customData?: Record<string, any
|
|
772
|
+
customData?: Record<string, any>;
|
|
837
773
|
}> & {
|
|
838
774
|
type: "selection";
|
|
839
775
|
} & {
|
|
@@ -847,30 +783,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
847
783
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
848
784
|
strokeWidth: number;
|
|
849
785
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
850
|
-
roundness: {
|
|
786
|
+
roundness: null | {
|
|
851
787
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
852
|
-
value?: number
|
|
853
|
-
}
|
|
788
|
+
value?: number;
|
|
789
|
+
};
|
|
854
790
|
roughness: number;
|
|
855
791
|
opacity: number;
|
|
856
792
|
width: number;
|
|
857
793
|
height: number;
|
|
858
|
-
angle: import("
|
|
794
|
+
angle: import("@excalidraw/math").Radians;
|
|
859
795
|
seed: number;
|
|
860
796
|
version: number;
|
|
861
797
|
versionNonce: number;
|
|
862
798
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
863
799
|
isDeleted: boolean;
|
|
864
|
-
groupIds: readonly
|
|
800
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
865
801
|
frameId: string | null;
|
|
866
|
-
boundElements: readonly
|
|
867
|
-
id: string;
|
|
868
|
-
type: "arrow" | "text";
|
|
869
|
-
}>[] | null;
|
|
802
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
870
803
|
updated: number;
|
|
871
804
|
link: string | null;
|
|
872
805
|
locked: boolean;
|
|
873
|
-
customData?: Record<string, any
|
|
806
|
+
customData?: Record<string, any>;
|
|
874
807
|
}> & {
|
|
875
808
|
type: "rectangle";
|
|
876
809
|
} & {
|
|
@@ -884,30 +817,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
884
817
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
885
818
|
strokeWidth: number;
|
|
886
819
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
887
|
-
roundness: {
|
|
820
|
+
roundness: null | {
|
|
888
821
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
889
|
-
value?: number
|
|
890
|
-
}
|
|
822
|
+
value?: number;
|
|
823
|
+
};
|
|
891
824
|
roughness: number;
|
|
892
825
|
opacity: number;
|
|
893
826
|
width: number;
|
|
894
827
|
height: number;
|
|
895
|
-
angle: import("
|
|
828
|
+
angle: import("@excalidraw/math").Radians;
|
|
896
829
|
seed: number;
|
|
897
830
|
version: number;
|
|
898
831
|
versionNonce: number;
|
|
899
832
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
900
833
|
isDeleted: boolean;
|
|
901
|
-
groupIds: readonly
|
|
834
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
902
835
|
frameId: string | null;
|
|
903
|
-
boundElements: readonly
|
|
904
|
-
id: string;
|
|
905
|
-
type: "arrow" | "text";
|
|
906
|
-
}>[] | null;
|
|
836
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
907
837
|
updated: number;
|
|
908
838
|
link: string | null;
|
|
909
839
|
locked: boolean;
|
|
910
|
-
customData?: Record<string, any
|
|
840
|
+
customData?: Record<string, any>;
|
|
911
841
|
}> & {
|
|
912
842
|
type: "diamond";
|
|
913
843
|
} & {
|
|
@@ -921,30 +851,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
921
851
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
922
852
|
strokeWidth: number;
|
|
923
853
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
924
|
-
roundness: {
|
|
854
|
+
roundness: null | {
|
|
925
855
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
926
|
-
value?: number
|
|
927
|
-
}
|
|
856
|
+
value?: number;
|
|
857
|
+
};
|
|
928
858
|
roughness: number;
|
|
929
859
|
opacity: number;
|
|
930
860
|
width: number;
|
|
931
861
|
height: number;
|
|
932
|
-
angle: import("
|
|
862
|
+
angle: import("@excalidraw/math").Radians;
|
|
933
863
|
seed: number;
|
|
934
864
|
version: number;
|
|
935
865
|
versionNonce: number;
|
|
936
866
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
937
867
|
isDeleted: boolean;
|
|
938
|
-
groupIds: readonly
|
|
868
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
939
869
|
frameId: string | null;
|
|
940
|
-
boundElements: readonly
|
|
941
|
-
id: string;
|
|
942
|
-
type: "arrow" | "text";
|
|
943
|
-
}>[] | null;
|
|
870
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
944
871
|
updated: number;
|
|
945
872
|
link: string | null;
|
|
946
873
|
locked: boolean;
|
|
947
|
-
customData?: Record<string, any
|
|
874
|
+
customData?: Record<string, any>;
|
|
948
875
|
}> & {
|
|
949
876
|
type: "ellipse";
|
|
950
877
|
} & {
|
|
@@ -958,30 +885,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
958
885
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
959
886
|
strokeWidth: number;
|
|
960
887
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
961
|
-
roundness: {
|
|
888
|
+
roundness: null | {
|
|
962
889
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
963
|
-
value?: number
|
|
964
|
-
}
|
|
890
|
+
value?: number;
|
|
891
|
+
};
|
|
965
892
|
roughness: number;
|
|
966
893
|
opacity: number;
|
|
967
894
|
width: number;
|
|
968
895
|
height: number;
|
|
969
|
-
angle: import("
|
|
896
|
+
angle: import("@excalidraw/math").Radians;
|
|
970
897
|
seed: number;
|
|
971
898
|
version: number;
|
|
972
899
|
versionNonce: number;
|
|
973
900
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
974
901
|
isDeleted: boolean;
|
|
975
|
-
groupIds: readonly
|
|
902
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
976
903
|
frameId: string | null;
|
|
977
|
-
boundElements: readonly
|
|
978
|
-
id: string;
|
|
979
|
-
type: "arrow" | "text";
|
|
980
|
-
}>[] | null;
|
|
904
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
981
905
|
updated: number;
|
|
982
906
|
link: string | null;
|
|
983
907
|
locked: boolean;
|
|
984
|
-
customData?: Record<string, any
|
|
908
|
+
customData?: Record<string, any>;
|
|
985
909
|
}> & Readonly<{
|
|
986
910
|
type: "embeddable";
|
|
987
911
|
}> & {
|
|
@@ -995,35 +919,32 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
995
919
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
996
920
|
strokeWidth: number;
|
|
997
921
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
998
|
-
roundness: {
|
|
922
|
+
roundness: null | {
|
|
999
923
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1000
|
-
value?: number
|
|
1001
|
-
}
|
|
924
|
+
value?: number;
|
|
925
|
+
};
|
|
1002
926
|
roughness: number;
|
|
1003
927
|
opacity: number;
|
|
1004
928
|
width: number;
|
|
1005
929
|
height: number;
|
|
1006
|
-
angle: import("
|
|
930
|
+
angle: import("@excalidraw/math").Radians;
|
|
1007
931
|
seed: number;
|
|
1008
932
|
version: number;
|
|
1009
933
|
versionNonce: number;
|
|
1010
934
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1011
935
|
isDeleted: boolean;
|
|
1012
|
-
groupIds: readonly
|
|
936
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1013
937
|
frameId: string | null;
|
|
1014
|
-
boundElements: readonly
|
|
1015
|
-
id: string;
|
|
1016
|
-
type: "arrow" | "text";
|
|
1017
|
-
}>[] | null;
|
|
938
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1018
939
|
updated: number;
|
|
1019
940
|
link: string | null;
|
|
1020
941
|
locked: boolean;
|
|
1021
|
-
customData?: Record<string, any
|
|
942
|
+
customData?: Record<string, any>;
|
|
1022
943
|
}> & Readonly<{
|
|
1023
944
|
type: "iframe";
|
|
1024
945
|
customData?: {
|
|
1025
|
-
generationData?: import("@excalidraw/element/types").MagicGenerationData
|
|
1026
|
-
}
|
|
946
|
+
generationData?: import("@excalidraw/element/types").MagicGenerationData;
|
|
947
|
+
};
|
|
1027
948
|
}> & {
|
|
1028
949
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1029
950
|
}) | (Readonly<{
|
|
@@ -1035,34 +956,31 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1035
956
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1036
957
|
strokeWidth: number;
|
|
1037
958
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1038
|
-
roundness: {
|
|
959
|
+
roundness: null | {
|
|
1039
960
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1040
|
-
value?: number
|
|
1041
|
-
}
|
|
961
|
+
value?: number;
|
|
962
|
+
};
|
|
1042
963
|
roughness: number;
|
|
1043
964
|
opacity: number;
|
|
1044
965
|
width: number;
|
|
1045
966
|
height: number;
|
|
1046
|
-
angle: import("
|
|
967
|
+
angle: import("@excalidraw/math").Radians;
|
|
1047
968
|
seed: number;
|
|
1048
969
|
version: number;
|
|
1049
970
|
versionNonce: number;
|
|
1050
971
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1051
972
|
isDeleted: boolean;
|
|
1052
|
-
groupIds: readonly
|
|
973
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1053
974
|
frameId: string | null;
|
|
1054
|
-
boundElements: readonly
|
|
1055
|
-
id: string;
|
|
1056
|
-
type: "arrow" | "text";
|
|
1057
|
-
}>[] | null;
|
|
975
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1058
976
|
updated: number;
|
|
1059
977
|
link: string | null;
|
|
1060
978
|
locked: boolean;
|
|
1061
|
-
customData?: Record<string, any
|
|
979
|
+
customData?: Record<string, any>;
|
|
1062
980
|
}> & Readonly<{
|
|
1063
981
|
type: "image";
|
|
1064
982
|
fileId: import("@excalidraw/element/types").FileId | null;
|
|
1065
|
-
status: "pending" | "
|
|
983
|
+
status: "pending" | "saved" | "error";
|
|
1066
984
|
scale: [number, number];
|
|
1067
985
|
crop: import("@excalidraw/element/types").ImageCrop | null;
|
|
1068
986
|
}> & {
|
|
@@ -1076,30 +994,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1076
994
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1077
995
|
strokeWidth: number;
|
|
1078
996
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1079
|
-
roundness: {
|
|
997
|
+
roundness: null | {
|
|
1080
998
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1081
|
-
value?: number
|
|
1082
|
-
}
|
|
999
|
+
value?: number;
|
|
1000
|
+
};
|
|
1083
1001
|
roughness: number;
|
|
1084
1002
|
opacity: number;
|
|
1085
1003
|
width: number;
|
|
1086
1004
|
height: number;
|
|
1087
|
-
angle: import("
|
|
1005
|
+
angle: import("@excalidraw/math").Radians;
|
|
1088
1006
|
seed: number;
|
|
1089
1007
|
version: number;
|
|
1090
1008
|
versionNonce: number;
|
|
1091
1009
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1092
1010
|
isDeleted: boolean;
|
|
1093
|
-
groupIds: readonly
|
|
1011
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1094
1012
|
frameId: string | null;
|
|
1095
|
-
boundElements: readonly
|
|
1096
|
-
id: string;
|
|
1097
|
-
type: "arrow" | "text";
|
|
1098
|
-
}>[] | null;
|
|
1013
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1099
1014
|
updated: number;
|
|
1100
1015
|
link: string | null;
|
|
1101
1016
|
locked: boolean;
|
|
1102
|
-
customData?: Record<string, any
|
|
1017
|
+
customData?: Record<string, any>;
|
|
1103
1018
|
}> & {
|
|
1104
1019
|
type: "frame";
|
|
1105
1020
|
name: string | null;
|
|
@@ -1114,30 +1029,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1114
1029
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1115
1030
|
strokeWidth: number;
|
|
1116
1031
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1117
|
-
roundness: {
|
|
1032
|
+
roundness: null | {
|
|
1118
1033
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1119
|
-
value?: number
|
|
1120
|
-
}
|
|
1034
|
+
value?: number;
|
|
1035
|
+
};
|
|
1121
1036
|
roughness: number;
|
|
1122
1037
|
opacity: number;
|
|
1123
1038
|
width: number;
|
|
1124
1039
|
height: number;
|
|
1125
|
-
angle: import("
|
|
1040
|
+
angle: import("@excalidraw/math").Radians;
|
|
1126
1041
|
seed: number;
|
|
1127
1042
|
version: number;
|
|
1128
1043
|
versionNonce: number;
|
|
1129
1044
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1130
1045
|
isDeleted: boolean;
|
|
1131
|
-
groupIds: readonly
|
|
1046
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1132
1047
|
frameId: string | null;
|
|
1133
|
-
boundElements: readonly
|
|
1134
|
-
id: string;
|
|
1135
|
-
type: "arrow" | "text";
|
|
1136
|
-
}>[] | null;
|
|
1048
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1137
1049
|
updated: number;
|
|
1138
1050
|
link: string | null;
|
|
1139
1051
|
locked: boolean;
|
|
1140
|
-
customData?: Record<string, any
|
|
1052
|
+
customData?: Record<string, any>;
|
|
1141
1053
|
}> & {
|
|
1142
1054
|
type: "magicframe";
|
|
1143
1055
|
name: string | null;
|
|
@@ -1152,38 +1064,35 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1152
1064
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1153
1065
|
strokeWidth: number;
|
|
1154
1066
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1155
|
-
roundness: {
|
|
1067
|
+
roundness: null | {
|
|
1156
1068
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1157
|
-
value?: number
|
|
1158
|
-
}
|
|
1069
|
+
value?: number;
|
|
1070
|
+
};
|
|
1159
1071
|
roughness: number;
|
|
1160
1072
|
opacity: number;
|
|
1161
1073
|
width: number;
|
|
1162
1074
|
height: number;
|
|
1163
|
-
angle: import("
|
|
1075
|
+
angle: import("@excalidraw/math").Radians;
|
|
1164
1076
|
seed: number;
|
|
1165
1077
|
version: number;
|
|
1166
1078
|
versionNonce: number;
|
|
1167
1079
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1168
1080
|
isDeleted: boolean;
|
|
1169
|
-
groupIds: readonly
|
|
1081
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1170
1082
|
frameId: string | null;
|
|
1171
|
-
boundElements: readonly
|
|
1172
|
-
id: string;
|
|
1173
|
-
type: "arrow" | "text";
|
|
1174
|
-
}>[] | null;
|
|
1083
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1175
1084
|
updated: number;
|
|
1176
1085
|
link: string | null;
|
|
1177
1086
|
locked: boolean;
|
|
1178
|
-
customData?: Record<string, any
|
|
1087
|
+
customData?: Record<string, any>;
|
|
1179
1088
|
}> & Readonly<{
|
|
1180
1089
|
type: "text";
|
|
1181
1090
|
fontSize: number;
|
|
1182
|
-
fontFamily:
|
|
1091
|
+
fontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1183
1092
|
text: string;
|
|
1184
|
-
textAlign:
|
|
1185
|
-
verticalAlign:
|
|
1186
|
-
containerId:
|
|
1093
|
+
textAlign: import("@excalidraw/element/types").TextAlign;
|
|
1094
|
+
verticalAlign: import("@excalidraw/element/types").VerticalAlign;
|
|
1095
|
+
containerId: import("@excalidraw/element/types").ExcalidrawGenericElement["id"] | null;
|
|
1187
1096
|
originalText: string;
|
|
1188
1097
|
autoResize: boolean;
|
|
1189
1098
|
lineHeight: number & {
|
|
@@ -1200,36 +1109,32 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1200
1109
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1201
1110
|
strokeWidth: number;
|
|
1202
1111
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1203
|
-
roundness: {
|
|
1112
|
+
roundness: null | {
|
|
1204
1113
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1205
|
-
value?: number
|
|
1206
|
-
}
|
|
1114
|
+
value?: number;
|
|
1115
|
+
};
|
|
1207
1116
|
roughness: number;
|
|
1208
1117
|
opacity: number;
|
|
1209
1118
|
width: number;
|
|
1210
1119
|
height: number;
|
|
1211
|
-
angle: import("
|
|
1120
|
+
angle: import("@excalidraw/math").Radians;
|
|
1212
1121
|
seed: number;
|
|
1213
1122
|
version: number;
|
|
1214
1123
|
versionNonce: number;
|
|
1215
1124
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1216
1125
|
isDeleted: boolean;
|
|
1217
|
-
groupIds: readonly
|
|
1126
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1218
1127
|
frameId: string | null;
|
|
1219
|
-
boundElements: readonly
|
|
1220
|
-
id: string;
|
|
1221
|
-
type: "arrow" | "text";
|
|
1222
|
-
}>[] | null;
|
|
1128
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1223
1129
|
updated: number;
|
|
1224
1130
|
link: string | null;
|
|
1225
1131
|
locked: boolean;
|
|
1226
|
-
customData?: Record<string, any
|
|
1132
|
+
customData?: Record<string, any>;
|
|
1227
1133
|
}> & Readonly<{
|
|
1228
1134
|
type: "freedraw";
|
|
1229
|
-
points: readonly import("
|
|
1135
|
+
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
1230
1136
|
pressures: readonly number[];
|
|
1231
1137
|
simulatePressure: boolean;
|
|
1232
|
-
lastCommittedPoint: import("../../math/src").LocalPoint | null;
|
|
1233
1138
|
}> & {
|
|
1234
1139
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1235
1140
|
}) | import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameElement>)[];
|