@excalidraw/element 0.18.0-51ad895 → 0.18.0-6135548
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 +1065 -175
- package/dist/dev/index.js.map +4 -4
- package/dist/prod/index.js +17 -17
- 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 +13 -11
- package/dist/types/common/src/editorInterface.d.ts +1 -1
- package/dist/types/common/src/font-metadata.d.ts +1 -3
- package/dist/types/common/src/index.d.ts +1 -1
- 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 +43 -34
- package/dist/types/element/src/Scene.d.ts +3 -3
- package/dist/types/element/src/binding.d.ts +6 -4
- package/dist/types/element/src/bounds.d.ts +2 -10
- package/dist/types/element/src/collision.d.ts +2 -2
- package/dist/types/element/src/comparisons.d.ts +7 -7
- 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/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 +1 -0
- package/dist/types/element/src/linearElementEditor.d.ts +1 -2
- package/dist/types/element/src/mutateElement.d.ts +3 -1
- package/dist/types/element/src/newElement.d.ts +6 -6
- package/dist/types/element/src/renderElement.d.ts +0 -6
- package/dist/types/element/src/resizeElements.d.ts +10 -10
- package/dist/types/element/src/resizeTest.d.ts +1 -1
- package/dist/types/element/src/selection.d.ts +3 -7
- package/dist/types/element/src/shape.d.ts +8 -7
- package/dist/types/element/src/textMeasurements.d.ts +1 -3
- package/dist/types/{excalidraw/data → element/src}/transform.d.ts +3 -3
- package/dist/types/element/src/transformHandles.d.ts +3 -23
- package/dist/types/element/src/typeChecks.d.ts +2 -4
- package/dist/types/element/src/utils.d.ts +3 -1
- package/dist/types/{common → element}/src/visualdebug.d.ts +20 -2
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +62 -126
- package/dist/types/excalidraw/actions/actionAlign.d.ts +0 -1
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +44 -87
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +263 -510
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +44 -87
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +21 -43
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +74 -142
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +0 -1
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +0 -1
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +18 -40
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +45 -88
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +22 -44
- package/dist/types/excalidraw/actions/actionExport.d.ts +85 -170
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionFlip.d.ts +0 -1
- package/dist/types/excalidraw/actions/actionFrame.d.ts +181 -302
- package/dist/types/excalidraw/actions/actionGroup.d.ts +48 -99
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +122 -180
- package/dist/types/excalidraw/actions/actionLink.d.ts +22 -44
- package/dist/types/excalidraw/actions/actionMenu.d.ts +17 -39
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionProperties.d.ts +59 -102
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +24 -50
- package/dist/types/excalidraw/actions/actionStyles.d.ts +20 -42
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +22 -44
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +22 -44
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +16 -38
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +22 -44
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +22 -44
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +22 -44
- package/dist/types/excalidraw/actions/actionZindex.d.ts +0 -1
- package/dist/types/excalidraw/actions/manager.d.ts +1 -1
- package/dist/types/excalidraw/actions/register.d.ts +2 -2
- package/dist/types/excalidraw/appState.d.ts +3 -3
- package/dist/types/excalidraw/clipboard.d.ts +7 -31
- package/dist/types/excalidraw/components/Actions.d.ts +1 -1
- package/dist/types/excalidraw/components/App.d.ts +33 -41
- 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/colorPickerUtils.d.ts +0 -1
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +0 -1
- package/dist/types/excalidraw/components/CommandPalette/types.d.ts +0 -1
- 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/ExcalidrawLogo.d.ts +0 -1
- package/dist/types/excalidraw/components/EyeDropper.d.ts +0 -1
- package/dist/types/excalidraw/components/FilledButton.d.ts +1 -0
- 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/InlineIcon.d.ts +2 -2
- 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/LibraryUnit.d.ts +2 -3
- package/dist/types/excalidraw/components/LoadingMessage.d.ts +0 -1
- package/dist/types/excalidraw/components/MobileToolBar.d.ts +0 -1
- 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/RadioGroup.d.ts +0 -1
- package/dist/types/excalidraw/components/RadioSelection.d.ts +4 -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/TTDDialog/Chat/ChatHistoryMenu.d.ts +15 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/ChatInterface.d.ts +27 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/ChatMessage.d.ts +14 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/TTDChatPanel.d.ts +26 -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/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 +4 -25
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +2 -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/TTDDialogTrigger.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDPreviewPanel.d.ts +9 -0
- package/dist/types/excalidraw/components/TTDDialog/TextToDiagram.d.ts +8 -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/types.d.ts +91 -0
- package/dist/types/excalidraw/components/TTDDialog/useTTDChatStorage.d.ts +22 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/TTDStreamFetch.d.ts +24 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/chat.d.ts +10 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidValidation.d.ts +1 -0
- package/dist/types/excalidraw/components/Toast.d.ts +3 -3
- package/dist/types/excalidraw/components/Trans.d.ts +2 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +30 -33
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +5 -5
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +3 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +12 -19
- 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/DropdownMenuTrigger.d.ts +3 -4
- package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
- 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 +16 -12
- package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +2 -13
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +2 -2
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +26 -29
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +6 -6
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +15 -16
- package/dist/types/excalidraw/data/blob.d.ts +321 -3
- 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 +2 -2
- package/dist/types/excalidraw/data/index.d.ts +3 -3
- package/dist/types/excalidraw/data/json.d.ts +159 -2
- package/dist/types/excalidraw/data/library.d.ts +24 -9
- 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/useOutsideClick.d.ts +1 -2
- package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -2
- package/dist/types/excalidraw/i18n.d.ts +2 -2
- package/dist/types/excalidraw/index.d.ts +4 -4
- package/dist/types/excalidraw/renderer/helpers.d.ts +6 -4
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +8 -6
- 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 +7 -2
- 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/types.d.ts +1 -2
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +2 -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/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
|
@@ -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: {
|
|
@@ -18,10 +17,10 @@ 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;
|
|
@@ -57,19 +56,19 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
57
56
|
exportScale: number;
|
|
58
57
|
currentItemStrokeColor: string;
|
|
59
58
|
currentItemBackgroundColor: string;
|
|
60
|
-
currentItemFillStyle:
|
|
59
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
61
60
|
currentItemStrokeWidth: number;
|
|
62
|
-
currentItemStrokeStyle:
|
|
61
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
63
62
|
currentItemRoughness: number;
|
|
64
63
|
currentItemOpacity: number;
|
|
65
|
-
currentItemFontFamily:
|
|
64
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
66
65
|
currentItemFontSize: number;
|
|
67
|
-
currentItemTextAlign:
|
|
66
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
68
67
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
69
68
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
70
|
-
currentHoveredFontFamily:
|
|
69
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
71
70
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
72
|
-
currentItemArrowType: "
|
|
71
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
73
72
|
viewBackgroundColor: string;
|
|
74
73
|
scrollX: number;
|
|
75
74
|
scrollY: number;
|
|
@@ -78,28 +77,26 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
78
77
|
name: string | null;
|
|
79
78
|
isResizing: boolean;
|
|
80
79
|
isRotating: boolean;
|
|
81
|
-
zoom:
|
|
82
|
-
value: import("../types").NormalizedZoomValue;
|
|
83
|
-
}>;
|
|
80
|
+
zoom: import("../types").Zoom;
|
|
84
81
|
openMenu: "canvas" | null;
|
|
85
|
-
openPopup: "
|
|
82
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
86
83
|
openSidebar: {
|
|
87
|
-
name:
|
|
88
|
-
tab?:
|
|
84
|
+
name: import("../types").SidebarName;
|
|
85
|
+
tab?: import("../types").SidebarTabName;
|
|
89
86
|
} | null;
|
|
90
|
-
openDialog: {
|
|
87
|
+
openDialog: null | {
|
|
91
88
|
name: "imageExport" | "help" | "jsonExport";
|
|
92
89
|
} | {
|
|
93
90
|
name: "ttd";
|
|
94
|
-
tab: "
|
|
91
|
+
tab: "text-to-diagram" | "mermaid";
|
|
95
92
|
} | {
|
|
96
93
|
name: "commandPalette";
|
|
97
94
|
} | {
|
|
98
95
|
name: "settings";
|
|
99
96
|
} | {
|
|
100
97
|
name: "elementLinkSelector";
|
|
101
|
-
sourceElementId:
|
|
102
|
-
}
|
|
98
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
99
|
+
};
|
|
103
100
|
defaultSidebarDockedPreference: boolean;
|
|
104
101
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
105
102
|
hoveredElementIds: Readonly<{
|
|
@@ -112,8 +109,8 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
112
109
|
shouldCacheIgnoreZoom: boolean;
|
|
113
110
|
toast: {
|
|
114
111
|
message: string;
|
|
115
|
-
closable?: boolean
|
|
116
|
-
duration?: number
|
|
112
|
+
closable?: boolean;
|
|
113
|
+
duration?: number;
|
|
117
114
|
} | null;
|
|
118
115
|
zenModeEnabled: boolean;
|
|
119
116
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -124,32 +121,13 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
124
121
|
selectedGroupIds: {
|
|
125
122
|
[groupId: string]: boolean;
|
|
126
123
|
};
|
|
127
|
-
editingGroupId:
|
|
124
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
128
125
|
width: number;
|
|
129
126
|
height: number;
|
|
130
127
|
offsetTop: number;
|
|
131
128
|
offsetLeft: number;
|
|
132
129
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
133
|
-
collaborators: Map<import("../types").SocketId,
|
|
134
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
135
|
-
button?: "up" | "down" | undefined;
|
|
136
|
-
selectedElementIds?: Readonly<{
|
|
137
|
-
[id: string]: true;
|
|
138
|
-
}> | undefined;
|
|
139
|
-
username?: string | null | undefined;
|
|
140
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
141
|
-
color?: {
|
|
142
|
-
background: string;
|
|
143
|
-
stroke: string;
|
|
144
|
-
} | undefined;
|
|
145
|
-
avatarUrl?: string | undefined;
|
|
146
|
-
id?: string | undefined;
|
|
147
|
-
socketId?: import("../types").SocketId | undefined;
|
|
148
|
-
isCurrentUser?: boolean | undefined;
|
|
149
|
-
isInCall?: boolean | undefined;
|
|
150
|
-
isSpeaking?: boolean | undefined;
|
|
151
|
-
isMuted?: boolean | undefined;
|
|
152
|
-
}>>;
|
|
130
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
153
131
|
stats: {
|
|
154
132
|
open: boolean;
|
|
155
133
|
panels: number;
|
|
@@ -173,9 +151,9 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
173
151
|
userToFollow: import("../types").UserToFollow | null;
|
|
174
152
|
followedBy: Set<import("../types").SocketId>;
|
|
175
153
|
isCropping: boolean;
|
|
176
|
-
croppingElementId:
|
|
154
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
177
155
|
searchMatches: Readonly<{
|
|
178
|
-
focusedId:
|
|
156
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
179
157
|
matches: readonly import("../types").SearchMatch[];
|
|
180
158
|
}> | null;
|
|
181
159
|
activeLockedId: string | null;
|
|
@@ -213,10 +191,10 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
213
191
|
} | null;
|
|
214
192
|
showWelcomeScreen: boolean;
|
|
215
193
|
isLoading: boolean;
|
|
216
|
-
errorMessage:
|
|
194
|
+
errorMessage: React.ReactNode;
|
|
217
195
|
activeEmbeddable: {
|
|
218
196
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
219
|
-
state: "
|
|
197
|
+
state: "hover" | "active";
|
|
220
198
|
} | null;
|
|
221
199
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
222
200
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -252,19 +230,19 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
252
230
|
exportScale: number;
|
|
253
231
|
currentItemStrokeColor: string;
|
|
254
232
|
currentItemBackgroundColor: string;
|
|
255
|
-
currentItemFillStyle:
|
|
233
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
256
234
|
currentItemStrokeWidth: number;
|
|
257
|
-
currentItemStrokeStyle:
|
|
235
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
258
236
|
currentItemRoughness: number;
|
|
259
237
|
currentItemOpacity: number;
|
|
260
|
-
currentItemFontFamily:
|
|
238
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
261
239
|
currentItemFontSize: number;
|
|
262
|
-
currentItemTextAlign:
|
|
240
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
263
241
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
264
242
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
265
|
-
currentHoveredFontFamily:
|
|
243
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
266
244
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
267
|
-
currentItemArrowType: "
|
|
245
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
268
246
|
viewBackgroundColor: string;
|
|
269
247
|
scrollX: number;
|
|
270
248
|
scrollY: number;
|
|
@@ -273,28 +251,26 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
273
251
|
name: string | null;
|
|
274
252
|
isResizing: boolean;
|
|
275
253
|
isRotating: boolean;
|
|
276
|
-
zoom:
|
|
277
|
-
value: import("../types").NormalizedZoomValue;
|
|
278
|
-
}>;
|
|
254
|
+
zoom: import("../types").Zoom;
|
|
279
255
|
openMenu: "canvas" | null;
|
|
280
|
-
openPopup: "
|
|
256
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
281
257
|
openSidebar: {
|
|
282
|
-
name:
|
|
283
|
-
tab?:
|
|
258
|
+
name: import("../types").SidebarName;
|
|
259
|
+
tab?: import("../types").SidebarTabName;
|
|
284
260
|
} | null;
|
|
285
|
-
openDialog: {
|
|
261
|
+
openDialog: null | {
|
|
286
262
|
name: "imageExport" | "help" | "jsonExport";
|
|
287
263
|
} | {
|
|
288
264
|
name: "ttd";
|
|
289
|
-
tab: "
|
|
265
|
+
tab: "text-to-diagram" | "mermaid";
|
|
290
266
|
} | {
|
|
291
267
|
name: "commandPalette";
|
|
292
268
|
} | {
|
|
293
269
|
name: "settings";
|
|
294
270
|
} | {
|
|
295
271
|
name: "elementLinkSelector";
|
|
296
|
-
sourceElementId:
|
|
297
|
-
}
|
|
272
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
273
|
+
};
|
|
298
274
|
defaultSidebarDockedPreference: boolean;
|
|
299
275
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
300
276
|
hoveredElementIds: Readonly<{
|
|
@@ -307,8 +283,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
307
283
|
shouldCacheIgnoreZoom: boolean;
|
|
308
284
|
toast: {
|
|
309
285
|
message: string;
|
|
310
|
-
closable?: boolean
|
|
311
|
-
duration?: number
|
|
286
|
+
closable?: boolean;
|
|
287
|
+
duration?: number;
|
|
312
288
|
} | null;
|
|
313
289
|
zenModeEnabled: boolean;
|
|
314
290
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -319,32 +295,13 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
319
295
|
selectedGroupIds: {
|
|
320
296
|
[groupId: string]: boolean;
|
|
321
297
|
};
|
|
322
|
-
editingGroupId:
|
|
298
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
323
299
|
width: number;
|
|
324
300
|
height: number;
|
|
325
301
|
offsetTop: number;
|
|
326
302
|
offsetLeft: number;
|
|
327
303
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
328
|
-
collaborators: Map<import("../types").SocketId,
|
|
329
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
330
|
-
button?: "up" | "down" | undefined;
|
|
331
|
-
selectedElementIds?: Readonly<{
|
|
332
|
-
[id: string]: true;
|
|
333
|
-
}> | undefined;
|
|
334
|
-
username?: string | null | undefined;
|
|
335
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
336
|
-
color?: {
|
|
337
|
-
background: string;
|
|
338
|
-
stroke: string;
|
|
339
|
-
} | undefined;
|
|
340
|
-
avatarUrl?: string | undefined;
|
|
341
|
-
id?: string | undefined;
|
|
342
|
-
socketId?: import("../types").SocketId | undefined;
|
|
343
|
-
isCurrentUser?: boolean | undefined;
|
|
344
|
-
isInCall?: boolean | undefined;
|
|
345
|
-
isSpeaking?: boolean | undefined;
|
|
346
|
-
isMuted?: boolean | undefined;
|
|
347
|
-
}>>;
|
|
304
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
348
305
|
stats: {
|
|
349
306
|
open: boolean;
|
|
350
307
|
panels: number;
|
|
@@ -368,9 +325,9 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
368
325
|
userToFollow: import("../types").UserToFollow | null;
|
|
369
326
|
followedBy: Set<import("../types").SocketId>;
|
|
370
327
|
isCropping: boolean;
|
|
371
|
-
croppingElementId:
|
|
328
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
372
329
|
searchMatches: Readonly<{
|
|
373
|
-
focusedId:
|
|
330
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
374
331
|
matches: readonly import("../types").SearchMatch[];
|
|
375
332
|
}> | null;
|
|
376
333
|
activeLockedId: string | null;
|
|
@@ -412,10 +369,10 @@ export declare const actionupdateFrameRendering: {
|
|
|
412
369
|
} | null;
|
|
413
370
|
showWelcomeScreen: boolean;
|
|
414
371
|
isLoading: boolean;
|
|
415
|
-
errorMessage:
|
|
372
|
+
errorMessage: React.ReactNode;
|
|
416
373
|
activeEmbeddable: {
|
|
417
374
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
418
|
-
state: "
|
|
375
|
+
state: "hover" | "active";
|
|
419
376
|
} | null;
|
|
420
377
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
421
378
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -445,19 +402,19 @@ export declare const actionupdateFrameRendering: {
|
|
|
445
402
|
exportScale: number;
|
|
446
403
|
currentItemStrokeColor: string;
|
|
447
404
|
currentItemBackgroundColor: string;
|
|
448
|
-
currentItemFillStyle:
|
|
405
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
449
406
|
currentItemStrokeWidth: number;
|
|
450
|
-
currentItemStrokeStyle:
|
|
407
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
451
408
|
currentItemRoughness: number;
|
|
452
409
|
currentItemOpacity: number;
|
|
453
|
-
currentItemFontFamily:
|
|
410
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
454
411
|
currentItemFontSize: number;
|
|
455
|
-
currentItemTextAlign:
|
|
412
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
456
413
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
457
414
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
458
|
-
currentHoveredFontFamily:
|
|
415
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
459
416
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
460
|
-
currentItemArrowType: "
|
|
417
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
461
418
|
viewBackgroundColor: string;
|
|
462
419
|
scrollX: number;
|
|
463
420
|
scrollY: number;
|
|
@@ -466,28 +423,26 @@ export declare const actionupdateFrameRendering: {
|
|
|
466
423
|
name: string | null;
|
|
467
424
|
isResizing: boolean;
|
|
468
425
|
isRotating: boolean;
|
|
469
|
-
zoom:
|
|
470
|
-
value: import("../types").NormalizedZoomValue;
|
|
471
|
-
}>;
|
|
426
|
+
zoom: import("../types").Zoom;
|
|
472
427
|
openMenu: "canvas" | null;
|
|
473
|
-
openPopup: "
|
|
428
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
474
429
|
openSidebar: {
|
|
475
|
-
name:
|
|
476
|
-
tab?:
|
|
430
|
+
name: import("../types").SidebarName;
|
|
431
|
+
tab?: import("../types").SidebarTabName;
|
|
477
432
|
} | null;
|
|
478
|
-
openDialog: {
|
|
433
|
+
openDialog: null | {
|
|
479
434
|
name: "imageExport" | "help" | "jsonExport";
|
|
480
435
|
} | {
|
|
481
436
|
name: "ttd";
|
|
482
|
-
tab: "
|
|
437
|
+
tab: "text-to-diagram" | "mermaid";
|
|
483
438
|
} | {
|
|
484
439
|
name: "commandPalette";
|
|
485
440
|
} | {
|
|
486
441
|
name: "settings";
|
|
487
442
|
} | {
|
|
488
443
|
name: "elementLinkSelector";
|
|
489
|
-
sourceElementId:
|
|
490
|
-
}
|
|
444
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
445
|
+
};
|
|
491
446
|
defaultSidebarDockedPreference: boolean;
|
|
492
447
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
493
448
|
selectedElementIds: Readonly<{
|
|
@@ -503,8 +458,8 @@ export declare const actionupdateFrameRendering: {
|
|
|
503
458
|
shouldCacheIgnoreZoom: boolean;
|
|
504
459
|
toast: {
|
|
505
460
|
message: string;
|
|
506
|
-
closable?: boolean
|
|
507
|
-
duration?: number
|
|
461
|
+
closable?: boolean;
|
|
462
|
+
duration?: number;
|
|
508
463
|
} | null;
|
|
509
464
|
zenModeEnabled: boolean;
|
|
510
465
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -515,32 +470,13 @@ export declare const actionupdateFrameRendering: {
|
|
|
515
470
|
selectedGroupIds: {
|
|
516
471
|
[groupId: string]: boolean;
|
|
517
472
|
};
|
|
518
|
-
editingGroupId:
|
|
473
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
519
474
|
width: number;
|
|
520
475
|
height: number;
|
|
521
476
|
offsetTop: number;
|
|
522
477
|
offsetLeft: number;
|
|
523
478
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
524
|
-
collaborators: Map<import("../types").SocketId,
|
|
525
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
526
|
-
button?: "up" | "down" | undefined;
|
|
527
|
-
selectedElementIds?: Readonly<{
|
|
528
|
-
[id: string]: true;
|
|
529
|
-
}> | undefined;
|
|
530
|
-
username?: string | null | undefined;
|
|
531
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
532
|
-
color?: {
|
|
533
|
-
background: string;
|
|
534
|
-
stroke: string;
|
|
535
|
-
} | undefined;
|
|
536
|
-
avatarUrl?: string | undefined;
|
|
537
|
-
id?: string | undefined;
|
|
538
|
-
socketId?: import("../types").SocketId | undefined;
|
|
539
|
-
isCurrentUser?: boolean | undefined;
|
|
540
|
-
isInCall?: boolean | undefined;
|
|
541
|
-
isSpeaking?: boolean | undefined;
|
|
542
|
-
isMuted?: boolean | undefined;
|
|
543
|
-
}>>;
|
|
479
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
544
480
|
stats: {
|
|
545
481
|
open: boolean;
|
|
546
482
|
panels: number;
|
|
@@ -564,9 +500,9 @@ export declare const actionupdateFrameRendering: {
|
|
|
564
500
|
userToFollow: import("../types").UserToFollow | null;
|
|
565
501
|
followedBy: Set<import("../types").SocketId>;
|
|
566
502
|
isCropping: boolean;
|
|
567
|
-
croppingElementId:
|
|
503
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
568
504
|
searchMatches: Readonly<{
|
|
569
|
-
focusedId:
|
|
505
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
570
506
|
matches: readonly import("../types").SearchMatch[];
|
|
571
507
|
}> | null;
|
|
572
508
|
activeLockedId: string | null;
|
|
@@ -604,10 +540,10 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
604
540
|
} | null;
|
|
605
541
|
showWelcomeScreen: boolean;
|
|
606
542
|
isLoading: boolean;
|
|
607
|
-
errorMessage:
|
|
543
|
+
errorMessage: React.ReactNode;
|
|
608
544
|
activeEmbeddable: {
|
|
609
545
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
610
|
-
state: "
|
|
546
|
+
state: "hover" | "active";
|
|
611
547
|
} | null;
|
|
612
548
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
613
549
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -638,19 +574,19 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
638
574
|
exportScale: number;
|
|
639
575
|
currentItemStrokeColor: string;
|
|
640
576
|
currentItemBackgroundColor: string;
|
|
641
|
-
currentItemFillStyle:
|
|
577
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
642
578
|
currentItemStrokeWidth: number;
|
|
643
|
-
currentItemStrokeStyle:
|
|
579
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
644
580
|
currentItemRoughness: number;
|
|
645
581
|
currentItemOpacity: number;
|
|
646
|
-
currentItemFontFamily:
|
|
582
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
647
583
|
currentItemFontSize: number;
|
|
648
|
-
currentItemTextAlign:
|
|
584
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
649
585
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
650
586
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
651
|
-
currentHoveredFontFamily:
|
|
587
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
652
588
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
653
|
-
currentItemArrowType: "
|
|
589
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
654
590
|
viewBackgroundColor: string;
|
|
655
591
|
scrollX: number;
|
|
656
592
|
scrollY: number;
|
|
@@ -659,28 +595,26 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
659
595
|
name: string | null;
|
|
660
596
|
isResizing: boolean;
|
|
661
597
|
isRotating: boolean;
|
|
662
|
-
zoom:
|
|
663
|
-
value: import("../types").NormalizedZoomValue;
|
|
664
|
-
}>;
|
|
598
|
+
zoom: import("../types").Zoom;
|
|
665
599
|
openMenu: "canvas" | null;
|
|
666
|
-
openPopup: "
|
|
600
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
667
601
|
openSidebar: {
|
|
668
|
-
name:
|
|
669
|
-
tab?:
|
|
602
|
+
name: import("../types").SidebarName;
|
|
603
|
+
tab?: import("../types").SidebarTabName;
|
|
670
604
|
} | null;
|
|
671
|
-
openDialog: {
|
|
605
|
+
openDialog: null | {
|
|
672
606
|
name: "imageExport" | "help" | "jsonExport";
|
|
673
607
|
} | {
|
|
674
608
|
name: "ttd";
|
|
675
|
-
tab: "
|
|
609
|
+
tab: "text-to-diagram" | "mermaid";
|
|
676
610
|
} | {
|
|
677
611
|
name: "commandPalette";
|
|
678
612
|
} | {
|
|
679
613
|
name: "settings";
|
|
680
614
|
} | {
|
|
681
615
|
name: "elementLinkSelector";
|
|
682
|
-
sourceElementId:
|
|
683
|
-
}
|
|
616
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
617
|
+
};
|
|
684
618
|
defaultSidebarDockedPreference: boolean;
|
|
685
619
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
686
620
|
selectedElementIds: Readonly<{
|
|
@@ -696,8 +630,8 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
696
630
|
shouldCacheIgnoreZoom: boolean;
|
|
697
631
|
toast: {
|
|
698
632
|
message: string;
|
|
699
|
-
closable?: boolean
|
|
700
|
-
duration?: number
|
|
633
|
+
closable?: boolean;
|
|
634
|
+
duration?: number;
|
|
701
635
|
} | null;
|
|
702
636
|
zenModeEnabled: boolean;
|
|
703
637
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -708,32 +642,13 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
708
642
|
selectedGroupIds: {
|
|
709
643
|
[groupId: string]: boolean;
|
|
710
644
|
};
|
|
711
|
-
editingGroupId:
|
|
645
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
712
646
|
width: number;
|
|
713
647
|
height: number;
|
|
714
648
|
offsetTop: number;
|
|
715
649
|
offsetLeft: number;
|
|
716
650
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
717
|
-
collaborators: Map<import("../types").SocketId,
|
|
718
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
719
|
-
button?: "up" | "down" | undefined;
|
|
720
|
-
selectedElementIds?: Readonly<{
|
|
721
|
-
[id: string]: true;
|
|
722
|
-
}> | undefined;
|
|
723
|
-
username?: string | null | undefined;
|
|
724
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
725
|
-
color?: {
|
|
726
|
-
background: string;
|
|
727
|
-
stroke: string;
|
|
728
|
-
} | undefined;
|
|
729
|
-
avatarUrl?: string | undefined;
|
|
730
|
-
id?: string | undefined;
|
|
731
|
-
socketId?: import("../types").SocketId | undefined;
|
|
732
|
-
isCurrentUser?: boolean | undefined;
|
|
733
|
-
isInCall?: boolean | undefined;
|
|
734
|
-
isSpeaking?: boolean | undefined;
|
|
735
|
-
isMuted?: boolean | undefined;
|
|
736
|
-
}>>;
|
|
651
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
737
652
|
stats: {
|
|
738
653
|
open: boolean;
|
|
739
654
|
panels: number;
|
|
@@ -757,9 +672,9 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
757
672
|
userToFollow: import("../types").UserToFollow | null;
|
|
758
673
|
followedBy: Set<import("../types").SocketId>;
|
|
759
674
|
isCropping: boolean;
|
|
760
|
-
croppingElementId:
|
|
675
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
761
676
|
searchMatches: Readonly<{
|
|
762
|
-
focusedId:
|
|
677
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
763
678
|
matches: readonly import("../types").SearchMatch[];
|
|
764
679
|
}> | null;
|
|
765
680
|
activeLockedId: string | null;
|
|
@@ -791,33 +706,30 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
791
706
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
792
707
|
strokeWidth: number;
|
|
793
708
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
794
|
-
roundness: {
|
|
709
|
+
roundness: null | {
|
|
795
710
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
796
|
-
value?: number
|
|
797
|
-
}
|
|
711
|
+
value?: number;
|
|
712
|
+
};
|
|
798
713
|
roughness: number;
|
|
799
714
|
opacity: number;
|
|
800
715
|
width: number;
|
|
801
716
|
height: number;
|
|
802
|
-
angle: import("
|
|
717
|
+
angle: import("@excalidraw/math").Radians;
|
|
803
718
|
seed: number;
|
|
804
719
|
version: number;
|
|
805
720
|
versionNonce: number;
|
|
806
721
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
807
722
|
isDeleted: boolean;
|
|
808
|
-
groupIds: readonly
|
|
723
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
809
724
|
frameId: string | null;
|
|
810
|
-
boundElements: readonly
|
|
811
|
-
id: string;
|
|
812
|
-
type: "arrow" | "text";
|
|
813
|
-
}>[] | null;
|
|
725
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
814
726
|
updated: number;
|
|
815
727
|
link: string | null;
|
|
816
728
|
locked: boolean;
|
|
817
|
-
customData?: Record<string, any
|
|
729
|
+
customData?: Record<string, any>;
|
|
818
730
|
}> & Readonly<{
|
|
819
731
|
type: "line" | "arrow";
|
|
820
|
-
points: readonly import("
|
|
732
|
+
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
821
733
|
startBinding: import("@excalidraw/element/types").FixedPointBinding | null;
|
|
822
734
|
endBinding: import("@excalidraw/element/types").FixedPointBinding | null;
|
|
823
735
|
startArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
@@ -833,30 +745,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
833
745
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
834
746
|
strokeWidth: number;
|
|
835
747
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
836
|
-
roundness: {
|
|
748
|
+
roundness: null | {
|
|
837
749
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
838
|
-
value?: number
|
|
839
|
-
}
|
|
750
|
+
value?: number;
|
|
751
|
+
};
|
|
840
752
|
roughness: number;
|
|
841
753
|
opacity: number;
|
|
842
754
|
width: number;
|
|
843
755
|
height: number;
|
|
844
|
-
angle: import("
|
|
756
|
+
angle: import("@excalidraw/math").Radians;
|
|
845
757
|
seed: number;
|
|
846
758
|
version: number;
|
|
847
759
|
versionNonce: number;
|
|
848
760
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
849
761
|
isDeleted: boolean;
|
|
850
|
-
groupIds: readonly
|
|
762
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
851
763
|
frameId: string | null;
|
|
852
|
-
boundElements: readonly
|
|
853
|
-
id: string;
|
|
854
|
-
type: "arrow" | "text";
|
|
855
|
-
}>[] | null;
|
|
764
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
856
765
|
updated: number;
|
|
857
766
|
link: string | null;
|
|
858
767
|
locked: boolean;
|
|
859
|
-
customData?: Record<string, any
|
|
768
|
+
customData?: Record<string, any>;
|
|
860
769
|
}> & {
|
|
861
770
|
type: "selection";
|
|
862
771
|
} & {
|
|
@@ -870,30 +779,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
870
779
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
871
780
|
strokeWidth: number;
|
|
872
781
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
873
|
-
roundness: {
|
|
782
|
+
roundness: null | {
|
|
874
783
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
875
|
-
value?: number
|
|
876
|
-
}
|
|
784
|
+
value?: number;
|
|
785
|
+
};
|
|
877
786
|
roughness: number;
|
|
878
787
|
opacity: number;
|
|
879
788
|
width: number;
|
|
880
789
|
height: number;
|
|
881
|
-
angle: import("
|
|
790
|
+
angle: import("@excalidraw/math").Radians;
|
|
882
791
|
seed: number;
|
|
883
792
|
version: number;
|
|
884
793
|
versionNonce: number;
|
|
885
794
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
886
795
|
isDeleted: boolean;
|
|
887
|
-
groupIds: readonly
|
|
796
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
888
797
|
frameId: string | null;
|
|
889
|
-
boundElements: readonly
|
|
890
|
-
id: string;
|
|
891
|
-
type: "arrow" | "text";
|
|
892
|
-
}>[] | null;
|
|
798
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
893
799
|
updated: number;
|
|
894
800
|
link: string | null;
|
|
895
801
|
locked: boolean;
|
|
896
|
-
customData?: Record<string, any
|
|
802
|
+
customData?: Record<string, any>;
|
|
897
803
|
}> & {
|
|
898
804
|
type: "rectangle";
|
|
899
805
|
} & {
|
|
@@ -907,30 +813,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
907
813
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
908
814
|
strokeWidth: number;
|
|
909
815
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
910
|
-
roundness: {
|
|
816
|
+
roundness: null | {
|
|
911
817
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
912
|
-
value?: number
|
|
913
|
-
}
|
|
818
|
+
value?: number;
|
|
819
|
+
};
|
|
914
820
|
roughness: number;
|
|
915
821
|
opacity: number;
|
|
916
822
|
width: number;
|
|
917
823
|
height: number;
|
|
918
|
-
angle: import("
|
|
824
|
+
angle: import("@excalidraw/math").Radians;
|
|
919
825
|
seed: number;
|
|
920
826
|
version: number;
|
|
921
827
|
versionNonce: number;
|
|
922
828
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
923
829
|
isDeleted: boolean;
|
|
924
|
-
groupIds: readonly
|
|
830
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
925
831
|
frameId: string | null;
|
|
926
|
-
boundElements: readonly
|
|
927
|
-
id: string;
|
|
928
|
-
type: "arrow" | "text";
|
|
929
|
-
}>[] | null;
|
|
832
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
930
833
|
updated: number;
|
|
931
834
|
link: string | null;
|
|
932
835
|
locked: boolean;
|
|
933
|
-
customData?: Record<string, any
|
|
836
|
+
customData?: Record<string, any>;
|
|
934
837
|
}> & {
|
|
935
838
|
type: "diamond";
|
|
936
839
|
} & {
|
|
@@ -944,30 +847,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
944
847
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
945
848
|
strokeWidth: number;
|
|
946
849
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
947
|
-
roundness: {
|
|
850
|
+
roundness: null | {
|
|
948
851
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
949
|
-
value?: number
|
|
950
|
-
}
|
|
852
|
+
value?: number;
|
|
853
|
+
};
|
|
951
854
|
roughness: number;
|
|
952
855
|
opacity: number;
|
|
953
856
|
width: number;
|
|
954
857
|
height: number;
|
|
955
|
-
angle: import("
|
|
858
|
+
angle: import("@excalidraw/math").Radians;
|
|
956
859
|
seed: number;
|
|
957
860
|
version: number;
|
|
958
861
|
versionNonce: number;
|
|
959
862
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
960
863
|
isDeleted: boolean;
|
|
961
|
-
groupIds: readonly
|
|
864
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
962
865
|
frameId: string | null;
|
|
963
|
-
boundElements: readonly
|
|
964
|
-
id: string;
|
|
965
|
-
type: "arrow" | "text";
|
|
966
|
-
}>[] | null;
|
|
866
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
967
867
|
updated: number;
|
|
968
868
|
link: string | null;
|
|
969
869
|
locked: boolean;
|
|
970
|
-
customData?: Record<string, any
|
|
870
|
+
customData?: Record<string, any>;
|
|
971
871
|
}> & {
|
|
972
872
|
type: "ellipse";
|
|
973
873
|
} & {
|
|
@@ -981,30 +881,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
981
881
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
982
882
|
strokeWidth: number;
|
|
983
883
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
984
|
-
roundness: {
|
|
884
|
+
roundness: null | {
|
|
985
885
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
986
|
-
value?: number
|
|
987
|
-
}
|
|
886
|
+
value?: number;
|
|
887
|
+
};
|
|
988
888
|
roughness: number;
|
|
989
889
|
opacity: number;
|
|
990
890
|
width: number;
|
|
991
891
|
height: number;
|
|
992
|
-
angle: import("
|
|
892
|
+
angle: import("@excalidraw/math").Radians;
|
|
993
893
|
seed: number;
|
|
994
894
|
version: number;
|
|
995
895
|
versionNonce: number;
|
|
996
896
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
997
897
|
isDeleted: boolean;
|
|
998
|
-
groupIds: readonly
|
|
898
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
999
899
|
frameId: string | null;
|
|
1000
|
-
boundElements: readonly
|
|
1001
|
-
id: string;
|
|
1002
|
-
type: "arrow" | "text";
|
|
1003
|
-
}>[] | null;
|
|
900
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1004
901
|
updated: number;
|
|
1005
902
|
link: string | null;
|
|
1006
903
|
locked: boolean;
|
|
1007
|
-
customData?: Record<string, any
|
|
904
|
+
customData?: Record<string, any>;
|
|
1008
905
|
}> & Readonly<{
|
|
1009
906
|
type: "embeddable";
|
|
1010
907
|
}> & {
|
|
@@ -1018,35 +915,32 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1018
915
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1019
916
|
strokeWidth: number;
|
|
1020
917
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1021
|
-
roundness: {
|
|
918
|
+
roundness: null | {
|
|
1022
919
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1023
|
-
value?: number
|
|
1024
|
-
}
|
|
920
|
+
value?: number;
|
|
921
|
+
};
|
|
1025
922
|
roughness: number;
|
|
1026
923
|
opacity: number;
|
|
1027
924
|
width: number;
|
|
1028
925
|
height: number;
|
|
1029
|
-
angle: import("
|
|
926
|
+
angle: import("@excalidraw/math").Radians;
|
|
1030
927
|
seed: number;
|
|
1031
928
|
version: number;
|
|
1032
929
|
versionNonce: number;
|
|
1033
930
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1034
931
|
isDeleted: boolean;
|
|
1035
|
-
groupIds: readonly
|
|
932
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1036
933
|
frameId: string | null;
|
|
1037
|
-
boundElements: readonly
|
|
1038
|
-
id: string;
|
|
1039
|
-
type: "arrow" | "text";
|
|
1040
|
-
}>[] | null;
|
|
934
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1041
935
|
updated: number;
|
|
1042
936
|
link: string | null;
|
|
1043
937
|
locked: boolean;
|
|
1044
|
-
customData?: Record<string, any
|
|
938
|
+
customData?: Record<string, any>;
|
|
1045
939
|
}> & Readonly<{
|
|
1046
940
|
type: "iframe";
|
|
1047
941
|
customData?: {
|
|
1048
|
-
generationData?: import("@excalidraw/element/types").MagicGenerationData
|
|
1049
|
-
}
|
|
942
|
+
generationData?: import("@excalidraw/element/types").MagicGenerationData;
|
|
943
|
+
};
|
|
1050
944
|
}> & {
|
|
1051
945
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1052
946
|
}) | (Readonly<{
|
|
@@ -1058,34 +952,31 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1058
952
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1059
953
|
strokeWidth: number;
|
|
1060
954
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1061
|
-
roundness: {
|
|
955
|
+
roundness: null | {
|
|
1062
956
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1063
|
-
value?: number
|
|
1064
|
-
}
|
|
957
|
+
value?: number;
|
|
958
|
+
};
|
|
1065
959
|
roughness: number;
|
|
1066
960
|
opacity: number;
|
|
1067
961
|
width: number;
|
|
1068
962
|
height: number;
|
|
1069
|
-
angle: import("
|
|
963
|
+
angle: import("@excalidraw/math").Radians;
|
|
1070
964
|
seed: number;
|
|
1071
965
|
version: number;
|
|
1072
966
|
versionNonce: number;
|
|
1073
967
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1074
968
|
isDeleted: boolean;
|
|
1075
|
-
groupIds: readonly
|
|
969
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1076
970
|
frameId: string | null;
|
|
1077
|
-
boundElements: readonly
|
|
1078
|
-
id: string;
|
|
1079
|
-
type: "arrow" | "text";
|
|
1080
|
-
}>[] | null;
|
|
971
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1081
972
|
updated: number;
|
|
1082
973
|
link: string | null;
|
|
1083
974
|
locked: boolean;
|
|
1084
|
-
customData?: Record<string, any
|
|
975
|
+
customData?: Record<string, any>;
|
|
1085
976
|
}> & Readonly<{
|
|
1086
977
|
type: "image";
|
|
1087
978
|
fileId: import("@excalidraw/element/types").FileId | null;
|
|
1088
|
-
status: "pending" | "
|
|
979
|
+
status: "pending" | "saved" | "error";
|
|
1089
980
|
scale: [number, number];
|
|
1090
981
|
crop: import("@excalidraw/element/types").ImageCrop | null;
|
|
1091
982
|
}> & {
|
|
@@ -1099,30 +990,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1099
990
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1100
991
|
strokeWidth: number;
|
|
1101
992
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1102
|
-
roundness: {
|
|
993
|
+
roundness: null | {
|
|
1103
994
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1104
|
-
value?: number
|
|
1105
|
-
}
|
|
995
|
+
value?: number;
|
|
996
|
+
};
|
|
1106
997
|
roughness: number;
|
|
1107
998
|
opacity: number;
|
|
1108
999
|
width: number;
|
|
1109
1000
|
height: number;
|
|
1110
|
-
angle: import("
|
|
1001
|
+
angle: import("@excalidraw/math").Radians;
|
|
1111
1002
|
seed: number;
|
|
1112
1003
|
version: number;
|
|
1113
1004
|
versionNonce: number;
|
|
1114
1005
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1115
1006
|
isDeleted: boolean;
|
|
1116
|
-
groupIds: readonly
|
|
1007
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1117
1008
|
frameId: string | null;
|
|
1118
|
-
boundElements: readonly
|
|
1119
|
-
id: string;
|
|
1120
|
-
type: "arrow" | "text";
|
|
1121
|
-
}>[] | null;
|
|
1009
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1122
1010
|
updated: number;
|
|
1123
1011
|
link: string | null;
|
|
1124
1012
|
locked: boolean;
|
|
1125
|
-
customData?: Record<string, any
|
|
1013
|
+
customData?: Record<string, any>;
|
|
1126
1014
|
}> & {
|
|
1127
1015
|
type: "frame";
|
|
1128
1016
|
name: string | null;
|
|
@@ -1137,30 +1025,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1137
1025
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1138
1026
|
strokeWidth: number;
|
|
1139
1027
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1140
|
-
roundness: {
|
|
1028
|
+
roundness: null | {
|
|
1141
1029
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1142
|
-
value?: number
|
|
1143
|
-
}
|
|
1030
|
+
value?: number;
|
|
1031
|
+
};
|
|
1144
1032
|
roughness: number;
|
|
1145
1033
|
opacity: number;
|
|
1146
1034
|
width: number;
|
|
1147
1035
|
height: number;
|
|
1148
|
-
angle: import("
|
|
1036
|
+
angle: import("@excalidraw/math").Radians;
|
|
1149
1037
|
seed: number;
|
|
1150
1038
|
version: number;
|
|
1151
1039
|
versionNonce: number;
|
|
1152
1040
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1153
1041
|
isDeleted: boolean;
|
|
1154
|
-
groupIds: readonly
|
|
1042
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1155
1043
|
frameId: string | null;
|
|
1156
|
-
boundElements: readonly
|
|
1157
|
-
id: string;
|
|
1158
|
-
type: "arrow" | "text";
|
|
1159
|
-
}>[] | null;
|
|
1044
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1160
1045
|
updated: number;
|
|
1161
1046
|
link: string | null;
|
|
1162
1047
|
locked: boolean;
|
|
1163
|
-
customData?: Record<string, any
|
|
1048
|
+
customData?: Record<string, any>;
|
|
1164
1049
|
}> & {
|
|
1165
1050
|
type: "magicframe";
|
|
1166
1051
|
name: string | null;
|
|
@@ -1175,38 +1060,35 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1175
1060
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1176
1061
|
strokeWidth: number;
|
|
1177
1062
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1178
|
-
roundness: {
|
|
1063
|
+
roundness: null | {
|
|
1179
1064
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1180
|
-
value?: number
|
|
1181
|
-
}
|
|
1065
|
+
value?: number;
|
|
1066
|
+
};
|
|
1182
1067
|
roughness: number;
|
|
1183
1068
|
opacity: number;
|
|
1184
1069
|
width: number;
|
|
1185
1070
|
height: number;
|
|
1186
|
-
angle: import("
|
|
1071
|
+
angle: import("@excalidraw/math").Radians;
|
|
1187
1072
|
seed: number;
|
|
1188
1073
|
version: number;
|
|
1189
1074
|
versionNonce: number;
|
|
1190
1075
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1191
1076
|
isDeleted: boolean;
|
|
1192
|
-
groupIds: readonly
|
|
1077
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1193
1078
|
frameId: string | null;
|
|
1194
|
-
boundElements: readonly
|
|
1195
|
-
id: string;
|
|
1196
|
-
type: "arrow" | "text";
|
|
1197
|
-
}>[] | null;
|
|
1079
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1198
1080
|
updated: number;
|
|
1199
1081
|
link: string | null;
|
|
1200
1082
|
locked: boolean;
|
|
1201
|
-
customData?: Record<string, any
|
|
1083
|
+
customData?: Record<string, any>;
|
|
1202
1084
|
}> & Readonly<{
|
|
1203
1085
|
type: "text";
|
|
1204
1086
|
fontSize: number;
|
|
1205
|
-
fontFamily:
|
|
1087
|
+
fontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1206
1088
|
text: string;
|
|
1207
|
-
textAlign:
|
|
1208
|
-
verticalAlign:
|
|
1209
|
-
containerId:
|
|
1089
|
+
textAlign: import("@excalidraw/element/types").TextAlign;
|
|
1090
|
+
verticalAlign: import("@excalidraw/element/types").VerticalAlign;
|
|
1091
|
+
containerId: import("@excalidraw/element/types").ExcalidrawGenericElement["id"] | null;
|
|
1210
1092
|
originalText: string;
|
|
1211
1093
|
autoResize: boolean;
|
|
1212
1094
|
lineHeight: number & {
|
|
@@ -1223,33 +1105,30 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1223
1105
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1224
1106
|
strokeWidth: number;
|
|
1225
1107
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1226
|
-
roundness: {
|
|
1108
|
+
roundness: null | {
|
|
1227
1109
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1228
|
-
value?: number
|
|
1229
|
-
}
|
|
1110
|
+
value?: number;
|
|
1111
|
+
};
|
|
1230
1112
|
roughness: number;
|
|
1231
1113
|
opacity: number;
|
|
1232
1114
|
width: number;
|
|
1233
1115
|
height: number;
|
|
1234
|
-
angle: import("
|
|
1116
|
+
angle: import("@excalidraw/math").Radians;
|
|
1235
1117
|
seed: number;
|
|
1236
1118
|
version: number;
|
|
1237
1119
|
versionNonce: number;
|
|
1238
1120
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1239
1121
|
isDeleted: boolean;
|
|
1240
|
-
groupIds: readonly
|
|
1122
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1241
1123
|
frameId: string | null;
|
|
1242
|
-
boundElements: readonly
|
|
1243
|
-
id: string;
|
|
1244
|
-
type: "arrow" | "text";
|
|
1245
|
-
}>[] | null;
|
|
1124
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1246
1125
|
updated: number;
|
|
1247
1126
|
link: string | null;
|
|
1248
1127
|
locked: boolean;
|
|
1249
|
-
customData?: Record<string, any
|
|
1128
|
+
customData?: Record<string, any>;
|
|
1250
1129
|
}> & Readonly<{
|
|
1251
1130
|
type: "freedraw";
|
|
1252
|
-
points: readonly import("
|
|
1131
|
+
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
1253
1132
|
pressures: readonly number[];
|
|
1254
1133
|
simulatePressure: boolean;
|
|
1255
1134
|
}> & {
|