@excalidraw/element 0.18.0-c141960 → 0.18.0-c158187
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 +1061 -171
- 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 +5 -2
- package/dist/types/common/src/constants.d.ts +13 -11
- package/dist/types/common/src/font-metadata.d.ts +1 -3
- package/dist/types/common/src/index.d.ts +1 -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 +43 -33
- package/dist/types/common/src/visualdebug.d.ts +1 -1
- 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/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 +0 -1
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +7 -4
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.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/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/TTDDialog.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +0 -1
- 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/common.d.ts +2 -3
- 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 +28 -32
- 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 +10 -18
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +3 -3
- 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 +11 -11
- 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 -28
- 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/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 +2 -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 -1
- 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 +3 -3
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ExcalidrawLinearElement } from "@excalidraw/element/types";
|
|
3
2
|
export declare const actionToggleLinearEditor: {
|
|
4
3
|
name: "toggleLinearEditor";
|
|
@@ -13,31 +12,31 @@ export declare const actionToggleLinearEditor: {
|
|
|
13
12
|
appState: {
|
|
14
13
|
selectedLinearElement: {
|
|
15
14
|
isEditing: boolean;
|
|
16
|
-
elementId:
|
|
15
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"] & {
|
|
17
16
|
_brand: "excalidrawLinearElementId";
|
|
18
17
|
};
|
|
19
18
|
selectedPointsIndices: readonly number[] | null;
|
|
20
19
|
initialState: Readonly<{
|
|
21
20
|
prevSelectedPointsIndices: readonly number[] | null;
|
|
22
21
|
lastClickedPoint: number;
|
|
23
|
-
origin: Readonly<import("
|
|
22
|
+
origin: Readonly<import("@excalidraw/math").GlobalPoint> | null;
|
|
24
23
|
segmentMidpoint: {
|
|
25
|
-
value: import("
|
|
24
|
+
value: import("@excalidraw/math").GlobalPoint | null;
|
|
26
25
|
index: number | null;
|
|
27
26
|
added: boolean;
|
|
28
27
|
};
|
|
29
28
|
arrowStartIsInside: boolean;
|
|
30
|
-
altFocusPoint: Readonly<import("
|
|
29
|
+
altFocusPoint: Readonly<import("@excalidraw/math").GlobalPoint> | null;
|
|
31
30
|
}>;
|
|
32
31
|
isDragging: boolean;
|
|
33
|
-
lastUncommittedPoint: import("
|
|
34
|
-
lastCommittedPoint: import("
|
|
32
|
+
lastUncommittedPoint: import("@excalidraw/math").LocalPoint | null;
|
|
33
|
+
lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
|
|
35
34
|
pointerOffset: Readonly<{
|
|
36
35
|
x: number;
|
|
37
36
|
y: number;
|
|
38
37
|
}>;
|
|
39
38
|
hoverPointIndex: number;
|
|
40
|
-
segmentMidPointHoveredCoords: import("
|
|
39
|
+
segmentMidPointHoveredCoords: import("@excalidraw/math").GlobalPoint | null;
|
|
41
40
|
elbowed: boolean;
|
|
42
41
|
customLineAngle: number | null;
|
|
43
42
|
pointerDownState: never;
|
|
@@ -49,10 +48,10 @@ export declare const actionToggleLinearEditor: {
|
|
|
49
48
|
} | null;
|
|
50
49
|
showWelcomeScreen: boolean;
|
|
51
50
|
isLoading: boolean;
|
|
52
|
-
errorMessage:
|
|
51
|
+
errorMessage: React.ReactNode;
|
|
53
52
|
activeEmbeddable: {
|
|
54
53
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
55
|
-
state: "
|
|
54
|
+
state: "hover" | "active";
|
|
56
55
|
} | null;
|
|
57
56
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
58
57
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -88,19 +87,19 @@ export declare const actionToggleLinearEditor: {
|
|
|
88
87
|
exportScale: number;
|
|
89
88
|
currentItemStrokeColor: string;
|
|
90
89
|
currentItemBackgroundColor: string;
|
|
91
|
-
currentItemFillStyle: import("@excalidraw/element/types").
|
|
90
|
+
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
92
91
|
currentItemStrokeWidth: number;
|
|
93
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").
|
|
92
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
94
93
|
currentItemRoughness: number;
|
|
95
94
|
currentItemOpacity: number;
|
|
96
|
-
currentItemFontFamily:
|
|
95
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
97
96
|
currentItemFontSize: number;
|
|
98
|
-
currentItemTextAlign:
|
|
97
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
99
98
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
100
99
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
101
|
-
currentHoveredFontFamily:
|
|
100
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
102
101
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
103
|
-
currentItemArrowType: "
|
|
102
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
104
103
|
viewBackgroundColor: string;
|
|
105
104
|
scrollX: number;
|
|
106
105
|
scrollY: number;
|
|
@@ -109,28 +108,26 @@ export declare const actionToggleLinearEditor: {
|
|
|
109
108
|
name: string | null;
|
|
110
109
|
isResizing: boolean;
|
|
111
110
|
isRotating: boolean;
|
|
112
|
-
zoom:
|
|
113
|
-
value: import("../types").NormalizedZoomValue;
|
|
114
|
-
}>;
|
|
111
|
+
zoom: import("../types").Zoom;
|
|
115
112
|
openMenu: "canvas" | null;
|
|
116
|
-
openPopup: "
|
|
113
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
117
114
|
openSidebar: {
|
|
118
|
-
name:
|
|
119
|
-
tab?:
|
|
115
|
+
name: import("../types").SidebarName;
|
|
116
|
+
tab?: import("../types").SidebarTabName;
|
|
120
117
|
} | null;
|
|
121
|
-
openDialog: {
|
|
118
|
+
openDialog: null | {
|
|
122
119
|
name: "imageExport" | "help" | "jsonExport";
|
|
123
120
|
} | {
|
|
124
121
|
name: "ttd";
|
|
125
|
-
tab: "
|
|
122
|
+
tab: "text-to-diagram" | "mermaid";
|
|
126
123
|
} | {
|
|
127
124
|
name: "commandPalette";
|
|
128
125
|
} | {
|
|
129
126
|
name: "settings";
|
|
130
127
|
} | {
|
|
131
128
|
name: "elementLinkSelector";
|
|
132
|
-
sourceElementId:
|
|
133
|
-
}
|
|
129
|
+
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
130
|
+
};
|
|
134
131
|
defaultSidebarDockedPreference: boolean;
|
|
135
132
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
136
133
|
selectedElementIds: Readonly<{
|
|
@@ -146,8 +143,8 @@ export declare const actionToggleLinearEditor: {
|
|
|
146
143
|
shouldCacheIgnoreZoom: boolean;
|
|
147
144
|
toast: {
|
|
148
145
|
message: string;
|
|
149
|
-
closable?: boolean
|
|
150
|
-
duration?: number
|
|
146
|
+
closable?: boolean;
|
|
147
|
+
duration?: number;
|
|
151
148
|
} | null;
|
|
152
149
|
zenModeEnabled: boolean;
|
|
153
150
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -158,32 +155,13 @@ export declare const actionToggleLinearEditor: {
|
|
|
158
155
|
selectedGroupIds: {
|
|
159
156
|
[groupId: string]: boolean;
|
|
160
157
|
};
|
|
161
|
-
editingGroupId:
|
|
158
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
162
159
|
width: number;
|
|
163
160
|
height: number;
|
|
164
161
|
offsetTop: number;
|
|
165
162
|
offsetLeft: number;
|
|
166
163
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
167
|
-
collaborators: Map<import("../types").SocketId,
|
|
168
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
169
|
-
button?: "up" | "down" | undefined;
|
|
170
|
-
selectedElementIds?: Readonly<{
|
|
171
|
-
[id: string]: true;
|
|
172
|
-
}> | undefined;
|
|
173
|
-
username?: string | null | undefined;
|
|
174
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
175
|
-
color?: {
|
|
176
|
-
background: string;
|
|
177
|
-
stroke: string;
|
|
178
|
-
} | undefined;
|
|
179
|
-
avatarUrl?: string | undefined;
|
|
180
|
-
id?: string | undefined;
|
|
181
|
-
socketId?: import("../types").SocketId | undefined;
|
|
182
|
-
isCurrentUser?: boolean | undefined;
|
|
183
|
-
isInCall?: boolean | undefined;
|
|
184
|
-
isSpeaking?: boolean | undefined;
|
|
185
|
-
isMuted?: boolean | undefined;
|
|
186
|
-
}>>;
|
|
164
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
187
165
|
stats: {
|
|
188
166
|
open: boolean;
|
|
189
167
|
panels: number;
|
|
@@ -206,9 +184,9 @@ export declare const actionToggleLinearEditor: {
|
|
|
206
184
|
userToFollow: import("../types").UserToFollow | null;
|
|
207
185
|
followedBy: Set<import("../types").SocketId>;
|
|
208
186
|
isCropping: boolean;
|
|
209
|
-
croppingElementId:
|
|
187
|
+
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
210
188
|
searchMatches: Readonly<{
|
|
211
|
-
focusedId:
|
|
189
|
+
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
212
190
|
matches: readonly import("../types").SearchMatch[];
|
|
213
191
|
}> | null;
|
|
214
192
|
activeLockedId: string | null;
|
|
@@ -243,33 +221,30 @@ export declare const actionTogglePolygon: {
|
|
|
243
221
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
244
222
|
strokeWidth: number;
|
|
245
223
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
246
|
-
roundness: {
|
|
224
|
+
roundness: null | {
|
|
247
225
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
248
|
-
value?: number
|
|
249
|
-
}
|
|
226
|
+
value?: number;
|
|
227
|
+
};
|
|
250
228
|
roughness: number;
|
|
251
229
|
opacity: number;
|
|
252
230
|
width: number;
|
|
253
231
|
height: number;
|
|
254
|
-
angle: import("
|
|
232
|
+
angle: import("@excalidraw/math").Radians;
|
|
255
233
|
seed: number;
|
|
256
234
|
version: number;
|
|
257
235
|
versionNonce: number;
|
|
258
236
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
259
237
|
isDeleted: boolean;
|
|
260
|
-
groupIds: readonly
|
|
238
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
261
239
|
frameId: string | null;
|
|
262
|
-
boundElements: readonly
|
|
263
|
-
id: string;
|
|
264
|
-
type: "arrow" | "text";
|
|
265
|
-
}>[] | null;
|
|
240
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
266
241
|
updated: number;
|
|
267
242
|
link: string | null;
|
|
268
243
|
locked: boolean;
|
|
269
|
-
customData?: Record<string, any
|
|
244
|
+
customData?: Record<string, any>;
|
|
270
245
|
}> & Readonly<{
|
|
271
246
|
type: "line" | "arrow";
|
|
272
|
-
points: readonly import("
|
|
247
|
+
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
273
248
|
startBinding: import("@excalidraw/element/types").FixedPointBinding | null;
|
|
274
249
|
endBinding: import("@excalidraw/element/types").FixedPointBinding | null;
|
|
275
250
|
startArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
@@ -285,30 +260,27 @@ export declare const actionTogglePolygon: {
|
|
|
285
260
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
286
261
|
strokeWidth: number;
|
|
287
262
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
288
|
-
roundness: {
|
|
263
|
+
roundness: null | {
|
|
289
264
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
290
|
-
value?: number
|
|
291
|
-
}
|
|
265
|
+
value?: number;
|
|
266
|
+
};
|
|
292
267
|
roughness: number;
|
|
293
268
|
opacity: number;
|
|
294
269
|
width: number;
|
|
295
270
|
height: number;
|
|
296
|
-
angle: import("
|
|
271
|
+
angle: import("@excalidraw/math").Radians;
|
|
297
272
|
seed: number;
|
|
298
273
|
version: number;
|
|
299
274
|
versionNonce: number;
|
|
300
275
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
301
276
|
isDeleted: boolean;
|
|
302
|
-
groupIds: readonly
|
|
277
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
303
278
|
frameId: string | null;
|
|
304
|
-
boundElements: readonly
|
|
305
|
-
id: string;
|
|
306
|
-
type: "arrow" | "text";
|
|
307
|
-
}>[] | null;
|
|
279
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
308
280
|
updated: number;
|
|
309
281
|
link: string | null;
|
|
310
282
|
locked: boolean;
|
|
311
|
-
customData?: Record<string, any
|
|
283
|
+
customData?: Record<string, any>;
|
|
312
284
|
}> & {
|
|
313
285
|
type: "selection";
|
|
314
286
|
} & {
|
|
@@ -322,30 +294,27 @@ export declare const actionTogglePolygon: {
|
|
|
322
294
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
323
295
|
strokeWidth: number;
|
|
324
296
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
325
|
-
roundness: {
|
|
297
|
+
roundness: null | {
|
|
326
298
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
327
|
-
value?: number
|
|
328
|
-
}
|
|
299
|
+
value?: number;
|
|
300
|
+
};
|
|
329
301
|
roughness: number;
|
|
330
302
|
opacity: number;
|
|
331
303
|
width: number;
|
|
332
304
|
height: number;
|
|
333
|
-
angle: import("
|
|
305
|
+
angle: import("@excalidraw/math").Radians;
|
|
334
306
|
seed: number;
|
|
335
307
|
version: number;
|
|
336
308
|
versionNonce: number;
|
|
337
309
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
338
310
|
isDeleted: boolean;
|
|
339
|
-
groupIds: readonly
|
|
311
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
340
312
|
frameId: string | null;
|
|
341
|
-
boundElements: readonly
|
|
342
|
-
id: string;
|
|
343
|
-
type: "arrow" | "text";
|
|
344
|
-
}>[] | null;
|
|
313
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
345
314
|
updated: number;
|
|
346
315
|
link: string | null;
|
|
347
316
|
locked: boolean;
|
|
348
|
-
customData?: Record<string, any
|
|
317
|
+
customData?: Record<string, any>;
|
|
349
318
|
}> & {
|
|
350
319
|
type: "rectangle";
|
|
351
320
|
} & {
|
|
@@ -359,30 +328,27 @@ export declare const actionTogglePolygon: {
|
|
|
359
328
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
360
329
|
strokeWidth: number;
|
|
361
330
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
362
|
-
roundness: {
|
|
331
|
+
roundness: null | {
|
|
363
332
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
364
|
-
value?: number
|
|
365
|
-
}
|
|
333
|
+
value?: number;
|
|
334
|
+
};
|
|
366
335
|
roughness: number;
|
|
367
336
|
opacity: number;
|
|
368
337
|
width: number;
|
|
369
338
|
height: number;
|
|
370
|
-
angle: import("
|
|
339
|
+
angle: import("@excalidraw/math").Radians;
|
|
371
340
|
seed: number;
|
|
372
341
|
version: number;
|
|
373
342
|
versionNonce: number;
|
|
374
343
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
375
344
|
isDeleted: boolean;
|
|
376
|
-
groupIds: readonly
|
|
345
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
377
346
|
frameId: string | null;
|
|
378
|
-
boundElements: readonly
|
|
379
|
-
id: string;
|
|
380
|
-
type: "arrow" | "text";
|
|
381
|
-
}>[] | null;
|
|
347
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
382
348
|
updated: number;
|
|
383
349
|
link: string | null;
|
|
384
350
|
locked: boolean;
|
|
385
|
-
customData?: Record<string, any
|
|
351
|
+
customData?: Record<string, any>;
|
|
386
352
|
}> & {
|
|
387
353
|
type: "diamond";
|
|
388
354
|
} & {
|
|
@@ -396,30 +362,27 @@ export declare const actionTogglePolygon: {
|
|
|
396
362
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
397
363
|
strokeWidth: number;
|
|
398
364
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
399
|
-
roundness: {
|
|
365
|
+
roundness: null | {
|
|
400
366
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
401
|
-
value?: number
|
|
402
|
-
}
|
|
367
|
+
value?: number;
|
|
368
|
+
};
|
|
403
369
|
roughness: number;
|
|
404
370
|
opacity: number;
|
|
405
371
|
width: number;
|
|
406
372
|
height: number;
|
|
407
|
-
angle: import("
|
|
373
|
+
angle: import("@excalidraw/math").Radians;
|
|
408
374
|
seed: number;
|
|
409
375
|
version: number;
|
|
410
376
|
versionNonce: number;
|
|
411
377
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
412
378
|
isDeleted: boolean;
|
|
413
|
-
groupIds: readonly
|
|
379
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
414
380
|
frameId: string | null;
|
|
415
|
-
boundElements: readonly
|
|
416
|
-
id: string;
|
|
417
|
-
type: "arrow" | "text";
|
|
418
|
-
}>[] | null;
|
|
381
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
419
382
|
updated: number;
|
|
420
383
|
link: string | null;
|
|
421
384
|
locked: boolean;
|
|
422
|
-
customData?: Record<string, any
|
|
385
|
+
customData?: Record<string, any>;
|
|
423
386
|
}> & {
|
|
424
387
|
type: "ellipse";
|
|
425
388
|
} & {
|
|
@@ -433,30 +396,27 @@ export declare const actionTogglePolygon: {
|
|
|
433
396
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
434
397
|
strokeWidth: number;
|
|
435
398
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
436
|
-
roundness: {
|
|
399
|
+
roundness: null | {
|
|
437
400
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
438
|
-
value?: number
|
|
439
|
-
}
|
|
401
|
+
value?: number;
|
|
402
|
+
};
|
|
440
403
|
roughness: number;
|
|
441
404
|
opacity: number;
|
|
442
405
|
width: number;
|
|
443
406
|
height: number;
|
|
444
|
-
angle: import("
|
|
407
|
+
angle: import("@excalidraw/math").Radians;
|
|
445
408
|
seed: number;
|
|
446
409
|
version: number;
|
|
447
410
|
versionNonce: number;
|
|
448
411
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
449
412
|
isDeleted: boolean;
|
|
450
|
-
groupIds: readonly
|
|
413
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
451
414
|
frameId: string | null;
|
|
452
|
-
boundElements: readonly
|
|
453
|
-
id: string;
|
|
454
|
-
type: "arrow" | "text";
|
|
455
|
-
}>[] | null;
|
|
415
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
456
416
|
updated: number;
|
|
457
417
|
link: string | null;
|
|
458
418
|
locked: boolean;
|
|
459
|
-
customData?: Record<string, any
|
|
419
|
+
customData?: Record<string, any>;
|
|
460
420
|
}> & Readonly<{
|
|
461
421
|
type: "embeddable";
|
|
462
422
|
}> & {
|
|
@@ -470,35 +430,32 @@ export declare const actionTogglePolygon: {
|
|
|
470
430
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
471
431
|
strokeWidth: number;
|
|
472
432
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
473
|
-
roundness: {
|
|
433
|
+
roundness: null | {
|
|
474
434
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
475
|
-
value?: number
|
|
476
|
-
}
|
|
435
|
+
value?: number;
|
|
436
|
+
};
|
|
477
437
|
roughness: number;
|
|
478
438
|
opacity: number;
|
|
479
439
|
width: number;
|
|
480
440
|
height: number;
|
|
481
|
-
angle: import("
|
|
441
|
+
angle: import("@excalidraw/math").Radians;
|
|
482
442
|
seed: number;
|
|
483
443
|
version: number;
|
|
484
444
|
versionNonce: number;
|
|
485
445
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
486
446
|
isDeleted: boolean;
|
|
487
|
-
groupIds: readonly
|
|
447
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
488
448
|
frameId: string | null;
|
|
489
|
-
boundElements: readonly
|
|
490
|
-
id: string;
|
|
491
|
-
type: "arrow" | "text";
|
|
492
|
-
}>[] | null;
|
|
449
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
493
450
|
updated: number;
|
|
494
451
|
link: string | null;
|
|
495
452
|
locked: boolean;
|
|
496
|
-
customData?: Record<string, any
|
|
453
|
+
customData?: Record<string, any>;
|
|
497
454
|
}> & Readonly<{
|
|
498
455
|
type: "iframe";
|
|
499
456
|
customData?: {
|
|
500
|
-
generationData?: import("@excalidraw/element/types").MagicGenerationData
|
|
501
|
-
}
|
|
457
|
+
generationData?: import("@excalidraw/element/types").MagicGenerationData;
|
|
458
|
+
};
|
|
502
459
|
}> & {
|
|
503
460
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
504
461
|
}) | (Readonly<{
|
|
@@ -510,34 +467,31 @@ export declare const actionTogglePolygon: {
|
|
|
510
467
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
511
468
|
strokeWidth: number;
|
|
512
469
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
513
|
-
roundness: {
|
|
470
|
+
roundness: null | {
|
|
514
471
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
515
|
-
value?: number
|
|
516
|
-
}
|
|
472
|
+
value?: number;
|
|
473
|
+
};
|
|
517
474
|
roughness: number;
|
|
518
475
|
opacity: number;
|
|
519
476
|
width: number;
|
|
520
477
|
height: number;
|
|
521
|
-
angle: import("
|
|
478
|
+
angle: import("@excalidraw/math").Radians;
|
|
522
479
|
seed: number;
|
|
523
480
|
version: number;
|
|
524
481
|
versionNonce: number;
|
|
525
482
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
526
483
|
isDeleted: boolean;
|
|
527
|
-
groupIds: readonly
|
|
484
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
528
485
|
frameId: string | null;
|
|
529
|
-
boundElements: readonly
|
|
530
|
-
id: string;
|
|
531
|
-
type: "arrow" | "text";
|
|
532
|
-
}>[] | null;
|
|
486
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
533
487
|
updated: number;
|
|
534
488
|
link: string | null;
|
|
535
489
|
locked: boolean;
|
|
536
|
-
customData?: Record<string, any
|
|
490
|
+
customData?: Record<string, any>;
|
|
537
491
|
}> & Readonly<{
|
|
538
492
|
type: "image";
|
|
539
493
|
fileId: import("@excalidraw/element/types").FileId | null;
|
|
540
|
-
status: "pending" | "
|
|
494
|
+
status: "pending" | "saved" | "error";
|
|
541
495
|
scale: [number, number];
|
|
542
496
|
crop: import("@excalidraw/element/types").ImageCrop | null;
|
|
543
497
|
}> & {
|
|
@@ -551,30 +505,27 @@ export declare const actionTogglePolygon: {
|
|
|
551
505
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
552
506
|
strokeWidth: number;
|
|
553
507
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
554
|
-
roundness: {
|
|
508
|
+
roundness: null | {
|
|
555
509
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
556
|
-
value?: number
|
|
557
|
-
}
|
|
510
|
+
value?: number;
|
|
511
|
+
};
|
|
558
512
|
roughness: number;
|
|
559
513
|
opacity: number;
|
|
560
514
|
width: number;
|
|
561
515
|
height: number;
|
|
562
|
-
angle: import("
|
|
516
|
+
angle: import("@excalidraw/math").Radians;
|
|
563
517
|
seed: number;
|
|
564
518
|
version: number;
|
|
565
519
|
versionNonce: number;
|
|
566
520
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
567
521
|
isDeleted: boolean;
|
|
568
|
-
groupIds: readonly
|
|
522
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
569
523
|
frameId: string | null;
|
|
570
|
-
boundElements: readonly
|
|
571
|
-
id: string;
|
|
572
|
-
type: "arrow" | "text";
|
|
573
|
-
}>[] | null;
|
|
524
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
574
525
|
updated: number;
|
|
575
526
|
link: string | null;
|
|
576
527
|
locked: boolean;
|
|
577
|
-
customData?: Record<string, any
|
|
528
|
+
customData?: Record<string, any>;
|
|
578
529
|
}> & {
|
|
579
530
|
type: "frame";
|
|
580
531
|
name: string | null;
|
|
@@ -589,30 +540,27 @@ export declare const actionTogglePolygon: {
|
|
|
589
540
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
590
541
|
strokeWidth: number;
|
|
591
542
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
592
|
-
roundness: {
|
|
543
|
+
roundness: null | {
|
|
593
544
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
594
|
-
value?: number
|
|
595
|
-
}
|
|
545
|
+
value?: number;
|
|
546
|
+
};
|
|
596
547
|
roughness: number;
|
|
597
548
|
opacity: number;
|
|
598
549
|
width: number;
|
|
599
550
|
height: number;
|
|
600
|
-
angle: import("
|
|
551
|
+
angle: import("@excalidraw/math").Radians;
|
|
601
552
|
seed: number;
|
|
602
553
|
version: number;
|
|
603
554
|
versionNonce: number;
|
|
604
555
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
605
556
|
isDeleted: boolean;
|
|
606
|
-
groupIds: readonly
|
|
557
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
607
558
|
frameId: string | null;
|
|
608
|
-
boundElements: readonly
|
|
609
|
-
id: string;
|
|
610
|
-
type: "arrow" | "text";
|
|
611
|
-
}>[] | null;
|
|
559
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
612
560
|
updated: number;
|
|
613
561
|
link: string | null;
|
|
614
562
|
locked: boolean;
|
|
615
|
-
customData?: Record<string, any
|
|
563
|
+
customData?: Record<string, any>;
|
|
616
564
|
}> & {
|
|
617
565
|
type: "magicframe";
|
|
618
566
|
name: string | null;
|
|
@@ -627,38 +575,35 @@ export declare const actionTogglePolygon: {
|
|
|
627
575
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
628
576
|
strokeWidth: number;
|
|
629
577
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
630
|
-
roundness: {
|
|
578
|
+
roundness: null | {
|
|
631
579
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
632
|
-
value?: number
|
|
633
|
-
}
|
|
580
|
+
value?: number;
|
|
581
|
+
};
|
|
634
582
|
roughness: number;
|
|
635
583
|
opacity: number;
|
|
636
584
|
width: number;
|
|
637
585
|
height: number;
|
|
638
|
-
angle: import("
|
|
586
|
+
angle: import("@excalidraw/math").Radians;
|
|
639
587
|
seed: number;
|
|
640
588
|
version: number;
|
|
641
589
|
versionNonce: number;
|
|
642
590
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
643
591
|
isDeleted: boolean;
|
|
644
|
-
groupIds: readonly
|
|
592
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
645
593
|
frameId: string | null;
|
|
646
|
-
boundElements: readonly
|
|
647
|
-
id: string;
|
|
648
|
-
type: "arrow" | "text";
|
|
649
|
-
}>[] | null;
|
|
594
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
650
595
|
updated: number;
|
|
651
596
|
link: string | null;
|
|
652
597
|
locked: boolean;
|
|
653
|
-
customData?: Record<string, any
|
|
598
|
+
customData?: Record<string, any>;
|
|
654
599
|
}> & Readonly<{
|
|
655
600
|
type: "text";
|
|
656
601
|
fontSize: number;
|
|
657
|
-
fontFamily:
|
|
602
|
+
fontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
658
603
|
text: string;
|
|
659
|
-
textAlign:
|
|
660
|
-
verticalAlign:
|
|
661
|
-
containerId:
|
|
604
|
+
textAlign: import("@excalidraw/element/types").TextAlign;
|
|
605
|
+
verticalAlign: import("@excalidraw/element/types").VerticalAlign;
|
|
606
|
+
containerId: import("@excalidraw/element/types").ExcalidrawGenericElement["id"] | null;
|
|
662
607
|
originalText: string;
|
|
663
608
|
autoResize: boolean;
|
|
664
609
|
lineHeight: number & {
|
|
@@ -675,33 +620,30 @@ export declare const actionTogglePolygon: {
|
|
|
675
620
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
676
621
|
strokeWidth: number;
|
|
677
622
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
678
|
-
roundness: {
|
|
623
|
+
roundness: null | {
|
|
679
624
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
680
|
-
value?: number
|
|
681
|
-
}
|
|
625
|
+
value?: number;
|
|
626
|
+
};
|
|
682
627
|
roughness: number;
|
|
683
628
|
opacity: number;
|
|
684
629
|
width: number;
|
|
685
630
|
height: number;
|
|
686
|
-
angle: import("
|
|
631
|
+
angle: import("@excalidraw/math").Radians;
|
|
687
632
|
seed: number;
|
|
688
633
|
version: number;
|
|
689
634
|
versionNonce: number;
|
|
690
635
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
691
636
|
isDeleted: boolean;
|
|
692
|
-
groupIds: readonly
|
|
637
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
693
638
|
frameId: string | null;
|
|
694
|
-
boundElements: readonly
|
|
695
|
-
id: string;
|
|
696
|
-
type: "arrow" | "text";
|
|
697
|
-
}>[] | null;
|
|
639
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
698
640
|
updated: number;
|
|
699
641
|
link: string | null;
|
|
700
642
|
locked: boolean;
|
|
701
|
-
customData?: Record<string, any
|
|
643
|
+
customData?: Record<string, any>;
|
|
702
644
|
}> & Readonly<{
|
|
703
645
|
type: "freedraw";
|
|
704
|
-
points: readonly import("
|
|
646
|
+
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
705
647
|
pressures: readonly number[];
|
|
706
648
|
simulatePressure: boolean;
|
|
707
649
|
}> & {
|