@excalidraw/excalidraw 0.18.0-864353b → 0.18.0-880dbb25e
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/{chunk-BBNNHA7I.js → chunk-CP5DND7P.js} +2 -2
- package/dist/dev/{chunk-BBNNHA7I.js.map → chunk-CP5DND7P.js.map} +1 -1
- package/dist/dev/chunk-CRKRRBMD.js +5677 -0
- package/dist/dev/chunk-CRKRRBMD.js.map +7 -0
- package/dist/dev/{chunk-7YMZV3TY.js → chunk-QF5FRM6O.js} +2 -2
- package/dist/dev/{chunk-7YMZV3TY.js.map → chunk-QF5FRM6O.js.map} +2 -2
- package/dist/dev/data/{image-OFYK7EOY.js → image-IWGLHPIX.js} +3 -3
- package/dist/dev/index.css +4 -0
- package/dist/dev/index.css.map +2 -2
- package/dist/dev/index.js +6341 -4110
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-KIY5SGI3.js → en-SMAPCEOQ.js} +2 -2
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/{chunk-UH6Q3EIV.js → chunk-A66AFZZU.js} +1 -1
- package/dist/prod/chunk-HHV2PJKY.js +4 -0
- package/dist/prod/{chunk-OUULIERA.js → chunk-I4UNSFV6.js} +3 -3
- package/dist/prod/data/image-4SM4COIL.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +25 -18
- package/dist/prod/locales/{en-GCLCIHXH.js → en-TYY6KWIJ.js} +1 -1
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/common/src/constants.d.ts +12 -2
- package/dist/types/common/src/utils.d.ts +3 -5
- package/dist/types/element/src/Scene.d.ts +7 -3
- package/dist/types/element/src/align.d.ts +2 -1
- package/dist/types/element/src/binding.d.ts +10 -7
- package/dist/types/element/src/bounds.d.ts +11 -3
- package/dist/types/element/src/collision.d.ts +18 -12
- package/dist/types/element/src/cropElement.d.ts +1 -1
- package/dist/types/element/src/delta.d.ts +43 -10
- package/dist/types/element/src/distance.d.ts +2 -2
- package/dist/types/element/src/distribute.d.ts +2 -1
- package/dist/types/element/src/fractionalIndex.d.ts +8 -2
- package/dist/types/element/src/frame.d.ts +2 -2
- package/dist/types/element/src/groups.d.ts +1 -0
- package/dist/types/element/src/index.d.ts +1 -3
- package/dist/types/element/src/linearElementEditor.d.ts +5 -7
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/resizeElements.d.ts +1 -0
- package/dist/types/element/src/selection.d.ts +1 -1
- package/dist/types/element/src/shape.d.ts +42 -0
- package/dist/types/element/src/store.d.ts +18 -9
- package/dist/types/element/src/transformHandles.d.ts +4 -4
- package/dist/types/element/src/typeChecks.d.ts +4 -0
- package/dist/types/element/src/types.d.ts +1 -1
- package/dist/types/element/src/utils.d.ts +16 -6
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +9 -15
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +6 -10
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +129 -155
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +25 -36
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +3 -5
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +14 -20
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +2 -4
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +8 -12
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +3 -5
- package/dist/types/excalidraw/actions/actionExport.d.ts +112 -130
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +9 -12
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +62 -70
- package/dist/types/excalidraw/actions/actionGroup.d.ts +12 -16
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +84 -55
- package/dist/types/excalidraw/actions/actionLink.d.ts +4 -6
- package/dist/types/excalidraw/actions/actionMenu.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +6 -10
- package/dist/types/excalidraw/actions/actionProperties.d.ts +49 -79
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +6 -8
- package/dist/types/excalidraw/actions/actionStyles.d.ts +7 -9
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +5 -7
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +5 -7
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +4 -6
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +5 -7
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +5 -7
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +5 -7
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/appState.d.ts +20 -20
- package/dist/types/excalidraw/components/Actions.d.ts +0 -4
- package/dist/types/excalidraw/components/App.d.ts +16 -17
- package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +11 -1
- package/dist/types/excalidraw/components/shapes.d.ts +1 -1
- package/dist/types/excalidraw/data/blob.d.ts +1 -1
- package/dist/types/excalidraw/data/reconcile.d.ts +1 -0
- package/dist/types/excalidraw/data/restore.d.ts +6 -1
- package/dist/types/excalidraw/eraser/index.d.ts +0 -2
- package/dist/types/excalidraw/history.d.ts +21 -5
- package/dist/types/excalidraw/index.d.ts +2 -1
- package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
- package/dist/types/excalidraw/renderer/helpers.d.ts +3 -3
- package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +0 -1
- package/dist/types/excalidraw/types.d.ts +7 -8
- package/dist/types/math/src/constants.d.ts +3 -0
- package/dist/types/math/src/curve.d.ts +32 -0
- package/dist/types/math/src/index.d.ts +1 -0
- package/dist/types/math/src/rectangle.d.ts +2 -0
- package/dist/types/math/src/vector.d.ts +4 -2
- package/history.ts +107 -44
- package/package.json +12 -9
- package/dist/dev/chunk-LL55DS44.js +0 -23677
- package/dist/dev/chunk-LL55DS44.js.map +0 -7
- package/dist/prod/chunk-F44EGBV2.js +0 -33
- package/dist/prod/data/image-CUOH64HE.js +0 -1
- package/dist/types/element/src/Shape.d.ts +0 -17
- package/dist/types/element/src/ShapeCache.d.ts +0 -25
- package/dist/types/element/src/shapes.d.ts +0 -27
- package/dist/types/excalidraw/visualdebug.d.ts +0 -41
- package/dist/types/utils/src/collision.d.ts +0 -8
- /package/dist/dev/data/{image-OFYK7EOY.js.map → image-IWGLHPIX.js.map} +0 -0
- /package/dist/dev/locales/{en-KIY5SGI3.js.map → en-SMAPCEOQ.js.map} +0 -0
|
@@ -51,40 +51,93 @@ export declare const actionClearCanvas: {
|
|
|
51
51
|
locked: boolean;
|
|
52
52
|
fromSelection: boolean;
|
|
53
53
|
} & import("../types").ActiveTool;
|
|
54
|
+
viewBackgroundColor: string;
|
|
55
|
+
frameRendering: {
|
|
56
|
+
enabled: boolean;
|
|
57
|
+
name: boolean;
|
|
58
|
+
outline: boolean;
|
|
59
|
+
clip: boolean;
|
|
60
|
+
};
|
|
61
|
+
name: string | null;
|
|
62
|
+
zoom: Readonly<{
|
|
63
|
+
value: import("../types").NormalizedZoomValue;
|
|
64
|
+
}>;
|
|
65
|
+
scrollX: number;
|
|
66
|
+
scrollY: number;
|
|
67
|
+
viewModeEnabled: boolean;
|
|
68
|
+
openDialog: {
|
|
69
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
70
|
+
} | {
|
|
71
|
+
name: "ttd";
|
|
72
|
+
tab: "mermaid" | "text-to-diagram";
|
|
73
|
+
} | {
|
|
74
|
+
name: "commandPalette";
|
|
75
|
+
} | {
|
|
76
|
+
name: "elementLinkSelector";
|
|
77
|
+
sourceElementId: string;
|
|
78
|
+
} | null;
|
|
79
|
+
editingGroupId: string | null;
|
|
80
|
+
selectedElementIds: Readonly<{
|
|
81
|
+
[id: string]: true;
|
|
82
|
+
}>;
|
|
83
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
84
|
+
activeEmbeddable: {
|
|
85
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
86
|
+
state: "active" | "hover";
|
|
87
|
+
} | null;
|
|
88
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
89
|
+
selectedGroupIds: {
|
|
90
|
+
[groupId: string]: boolean;
|
|
91
|
+
};
|
|
92
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
93
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
94
|
+
isBindingEnabled: boolean;
|
|
95
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
96
|
+
isRotating: boolean;
|
|
97
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
98
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
99
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
100
|
+
button?: "up" | "down" | undefined;
|
|
101
|
+
selectedElementIds?: Readonly<{
|
|
102
|
+
[id: string]: true;
|
|
103
|
+
}> | undefined;
|
|
104
|
+
username?: string | null | undefined;
|
|
105
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
106
|
+
color?: {
|
|
107
|
+
background: string;
|
|
108
|
+
stroke: string;
|
|
109
|
+
} | undefined;
|
|
110
|
+
avatarUrl?: string | undefined;
|
|
111
|
+
id?: string | undefined;
|
|
112
|
+
socketId?: import("../types").SocketId | undefined;
|
|
113
|
+
isCurrentUser?: boolean | undefined;
|
|
114
|
+
isInCall?: boolean | undefined;
|
|
115
|
+
isSpeaking?: boolean | undefined;
|
|
116
|
+
isMuted?: boolean | undefined;
|
|
117
|
+
}>>;
|
|
118
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
119
|
+
zenModeEnabled: boolean;
|
|
120
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
121
|
+
isCropping: boolean;
|
|
122
|
+
croppingElementId: string | null;
|
|
123
|
+
searchMatches: Readonly<{
|
|
124
|
+
focusedId: string | null;
|
|
125
|
+
matches: readonly import("../types").SearchMatch[];
|
|
126
|
+
}> | null;
|
|
127
|
+
activeLockedId: string | null;
|
|
54
128
|
contextMenu: {
|
|
55
129
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
56
130
|
top: number;
|
|
57
131
|
left: number;
|
|
58
132
|
} | null;
|
|
59
|
-
exportWithDarkMode: boolean;
|
|
60
|
-
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
61
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
62
|
-
cursorButton: "up" | "down";
|
|
63
|
-
scrollX: number;
|
|
64
|
-
scrollY: number;
|
|
65
133
|
showWelcomeScreen: boolean;
|
|
66
134
|
isLoading: boolean;
|
|
67
135
|
errorMessage: import("react").ReactNode;
|
|
68
|
-
activeEmbeddable: {
|
|
69
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
70
|
-
state: "hover" | "active";
|
|
71
|
-
} | null;
|
|
72
136
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
73
137
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
74
|
-
|
|
75
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
76
|
-
isBindingEnabled: boolean;
|
|
77
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
78
|
-
frameRendering: {
|
|
79
|
-
enabled: boolean;
|
|
80
|
-
name: boolean;
|
|
81
|
-
outline: boolean;
|
|
82
|
-
clip: boolean;
|
|
83
|
-
};
|
|
138
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
84
139
|
editingFrame: string | null;
|
|
85
|
-
|
|
86
|
-
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
87
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
140
|
+
exportWithDarkMode: boolean;
|
|
88
141
|
exportScale: number;
|
|
89
142
|
currentItemStrokeColor: string;
|
|
90
143
|
currentItemBackgroundColor: string;
|
|
@@ -101,36 +154,17 @@ export declare const actionClearCanvas: {
|
|
|
101
154
|
currentHoveredFontFamily: number | null;
|
|
102
155
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
103
156
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
104
|
-
|
|
157
|
+
cursorButton: "up" | "down";
|
|
105
158
|
scrolledOutside: boolean;
|
|
106
|
-
name: string | null;
|
|
107
159
|
isResizing: boolean;
|
|
108
|
-
isRotating: boolean;
|
|
109
|
-
zoom: Readonly<{
|
|
110
|
-
value: import("../types").NormalizedZoomValue;
|
|
111
|
-
}>;
|
|
112
160
|
openMenu: "canvas" | "shape" | null;
|
|
113
161
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
114
162
|
openSidebar: {
|
|
115
163
|
name: string;
|
|
116
164
|
tab?: string | undefined;
|
|
117
165
|
} | null;
|
|
118
|
-
openDialog: {
|
|
119
|
-
name: "imageExport" | "help" | "jsonExport";
|
|
120
|
-
} | {
|
|
121
|
-
name: "ttd";
|
|
122
|
-
tab: "text-to-diagram" | "mermaid";
|
|
123
|
-
} | {
|
|
124
|
-
name: "commandPalette";
|
|
125
|
-
} | {
|
|
126
|
-
name: "elementLinkSelector";
|
|
127
|
-
sourceElementId: string;
|
|
128
|
-
} | null;
|
|
129
166
|
defaultSidebarDockedPreference: boolean;
|
|
130
167
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
131
|
-
selectedElementIds: Readonly<{
|
|
132
|
-
[id: string]: true;
|
|
133
|
-
}>;
|
|
134
168
|
hoveredElementIds: Readonly<{
|
|
135
169
|
[id: string]: true;
|
|
136
170
|
}>;
|
|
@@ -144,38 +178,9 @@ export declare const actionClearCanvas: {
|
|
|
144
178
|
closable?: boolean | undefined;
|
|
145
179
|
duration?: number | undefined;
|
|
146
180
|
} | null;
|
|
147
|
-
zenModeEnabled: boolean;
|
|
148
|
-
viewModeEnabled: boolean;
|
|
149
|
-
selectedGroupIds: {
|
|
150
|
-
[groupId: string]: boolean;
|
|
151
|
-
};
|
|
152
|
-
editingGroupId: string | null;
|
|
153
181
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
154
|
-
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
155
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
156
|
-
button?: "up" | "down" | undefined;
|
|
157
|
-
selectedElementIds?: Readonly<{
|
|
158
|
-
[id: string]: true;
|
|
159
|
-
}> | undefined;
|
|
160
|
-
username?: string | null | undefined;
|
|
161
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
162
|
-
color?: {
|
|
163
|
-
background: string;
|
|
164
|
-
stroke: string;
|
|
165
|
-
} | undefined;
|
|
166
|
-
avatarUrl?: string | undefined;
|
|
167
|
-
id?: string | undefined;
|
|
168
|
-
socketId?: import("../types").SocketId | undefined;
|
|
169
|
-
isCurrentUser?: boolean | undefined;
|
|
170
|
-
isInCall?: boolean | undefined;
|
|
171
|
-
isSpeaking?: boolean | undefined;
|
|
172
|
-
isMuted?: boolean | undefined;
|
|
173
|
-
}>>;
|
|
174
182
|
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
175
|
-
|
|
176
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
177
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
178
|
-
snapLines: readonly import("../snapping").SnapLine[];
|
|
183
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
179
184
|
originSnapOffset: {
|
|
180
185
|
x: number;
|
|
181
186
|
y: number;
|
|
@@ -183,13 +188,6 @@ export declare const actionClearCanvas: {
|
|
|
183
188
|
objectsSnapModeEnabled: boolean;
|
|
184
189
|
userToFollow: import("../types").UserToFollow | null;
|
|
185
190
|
followedBy: Set<import("../types").SocketId>;
|
|
186
|
-
isCropping: boolean;
|
|
187
|
-
croppingElementId: string | null;
|
|
188
|
-
searchMatches: Readonly<{
|
|
189
|
-
focusedId: string | null;
|
|
190
|
-
matches: readonly import("../types").SearchMatch[];
|
|
191
|
-
}> | null;
|
|
192
|
-
activeLockedId: string | null;
|
|
193
191
|
lockedMultiSelections: {
|
|
194
192
|
[groupId: string]: true;
|
|
195
193
|
};
|
|
@@ -225,7 +223,7 @@ export declare const actionZoomIn: {
|
|
|
225
223
|
errorMessage: import("react").ReactNode;
|
|
226
224
|
activeEmbeddable: {
|
|
227
225
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
228
|
-
state: "
|
|
226
|
+
state: "active" | "hover";
|
|
229
227
|
} | null;
|
|
230
228
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
231
229
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -244,7 +242,6 @@ export declare const actionZoomIn: {
|
|
|
244
242
|
editingFrame: string | null;
|
|
245
243
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
246
244
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
247
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
248
245
|
activeTool: {
|
|
249
246
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
250
247
|
locked: boolean;
|
|
@@ -287,7 +284,7 @@ export declare const actionZoomIn: {
|
|
|
287
284
|
name: "imageExport" | "help" | "jsonExport";
|
|
288
285
|
} | {
|
|
289
286
|
name: "ttd";
|
|
290
|
-
tab: "text-to-diagram"
|
|
287
|
+
tab: "mermaid" | "text-to-diagram";
|
|
291
288
|
} | {
|
|
292
289
|
name: "commandPalette";
|
|
293
290
|
} | {
|
|
@@ -359,8 +356,7 @@ export declare const actionZoomIn: {
|
|
|
359
356
|
shown: true;
|
|
360
357
|
data: import("../charts").Spreadsheet;
|
|
361
358
|
};
|
|
362
|
-
|
|
363
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
359
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
364
360
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
365
361
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
366
362
|
originSnapOffset: {
|
|
@@ -383,9 +379,9 @@ export declare const actionZoomIn: {
|
|
|
383
379
|
captureUpdate: "EVENTUALLY";
|
|
384
380
|
};
|
|
385
381
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
386
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
382
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
387
383
|
} & {
|
|
388
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
384
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
389
385
|
};
|
|
390
386
|
export declare const actionZoomOut: {
|
|
391
387
|
name: "zoomOut";
|
|
@@ -413,7 +409,7 @@ export declare const actionZoomOut: {
|
|
|
413
409
|
errorMessage: import("react").ReactNode;
|
|
414
410
|
activeEmbeddable: {
|
|
415
411
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
416
|
-
state: "
|
|
412
|
+
state: "active" | "hover";
|
|
417
413
|
} | null;
|
|
418
414
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
419
415
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -432,7 +428,6 @@ export declare const actionZoomOut: {
|
|
|
432
428
|
editingFrame: string | null;
|
|
433
429
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
434
430
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
435
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
436
431
|
activeTool: {
|
|
437
432
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
438
433
|
locked: boolean;
|
|
@@ -475,7 +470,7 @@ export declare const actionZoomOut: {
|
|
|
475
470
|
name: "imageExport" | "help" | "jsonExport";
|
|
476
471
|
} | {
|
|
477
472
|
name: "ttd";
|
|
478
|
-
tab: "text-to-diagram"
|
|
473
|
+
tab: "mermaid" | "text-to-diagram";
|
|
479
474
|
} | {
|
|
480
475
|
name: "commandPalette";
|
|
481
476
|
} | {
|
|
@@ -547,8 +542,7 @@ export declare const actionZoomOut: {
|
|
|
547
542
|
shown: true;
|
|
548
543
|
data: import("../charts").Spreadsheet;
|
|
549
544
|
};
|
|
550
|
-
|
|
551
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
545
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
552
546
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
553
547
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
554
548
|
originSnapOffset: {
|
|
@@ -571,9 +565,9 @@ export declare const actionZoomOut: {
|
|
|
571
565
|
captureUpdate: "EVENTUALLY";
|
|
572
566
|
};
|
|
573
567
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
574
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
568
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
575
569
|
} & {
|
|
576
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
570
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
577
571
|
};
|
|
578
572
|
export declare const actionResetZoom: {
|
|
579
573
|
name: "resetZoom";
|
|
@@ -601,7 +595,7 @@ export declare const actionResetZoom: {
|
|
|
601
595
|
errorMessage: import("react").ReactNode;
|
|
602
596
|
activeEmbeddable: {
|
|
603
597
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
604
|
-
state: "
|
|
598
|
+
state: "active" | "hover";
|
|
605
599
|
} | null;
|
|
606
600
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
607
601
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -620,7 +614,6 @@ export declare const actionResetZoom: {
|
|
|
620
614
|
editingFrame: string | null;
|
|
621
615
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
622
616
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
623
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
624
617
|
activeTool: {
|
|
625
618
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
626
619
|
locked: boolean;
|
|
@@ -663,7 +656,7 @@ export declare const actionResetZoom: {
|
|
|
663
656
|
name: "imageExport" | "help" | "jsonExport";
|
|
664
657
|
} | {
|
|
665
658
|
name: "ttd";
|
|
666
|
-
tab: "text-to-diagram"
|
|
659
|
+
tab: "mermaid" | "text-to-diagram";
|
|
667
660
|
} | {
|
|
668
661
|
name: "commandPalette";
|
|
669
662
|
} | {
|
|
@@ -735,8 +728,7 @@ export declare const actionResetZoom: {
|
|
|
735
728
|
shown: true;
|
|
736
729
|
data: import("../charts").Spreadsheet;
|
|
737
730
|
};
|
|
738
|
-
|
|
739
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
731
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
740
732
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
741
733
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
742
734
|
originSnapOffset: {
|
|
@@ -759,9 +751,9 @@ export declare const actionResetZoom: {
|
|
|
759
751
|
captureUpdate: "EVENTUALLY";
|
|
760
752
|
};
|
|
761
753
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
762
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
754
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
763
755
|
} & {
|
|
764
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
756
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
765
757
|
};
|
|
766
758
|
export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToViewport, viewportZoomFactor, minZoom, maxZoom, }: {
|
|
767
759
|
bounds: SceneBounds;
|
|
@@ -795,7 +787,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
795
787
|
errorMessage: import("react").ReactNode;
|
|
796
788
|
activeEmbeddable: {
|
|
797
789
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
798
|
-
state: "
|
|
790
|
+
state: "active" | "hover";
|
|
799
791
|
} | null;
|
|
800
792
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
801
793
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -814,7 +806,6 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
814
806
|
editingFrame: string | null;
|
|
815
807
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
816
808
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
817
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
818
809
|
activeTool: {
|
|
819
810
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
820
811
|
locked: boolean;
|
|
@@ -857,7 +848,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
857
848
|
name: "imageExport" | "help" | "jsonExport";
|
|
858
849
|
} | {
|
|
859
850
|
name: "ttd";
|
|
860
|
-
tab: "text-to-diagram"
|
|
851
|
+
tab: "mermaid" | "text-to-diagram";
|
|
861
852
|
} | {
|
|
862
853
|
name: "commandPalette";
|
|
863
854
|
} | {
|
|
@@ -929,8 +920,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
929
920
|
shown: true;
|
|
930
921
|
data: import("../charts").Spreadsheet;
|
|
931
922
|
};
|
|
932
|
-
|
|
933
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
923
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
934
924
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
935
925
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
936
926
|
originSnapOffset: {
|
|
@@ -985,7 +975,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
985
975
|
errorMessage: import("react").ReactNode;
|
|
986
976
|
activeEmbeddable: {
|
|
987
977
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
988
|
-
state: "
|
|
978
|
+
state: "active" | "hover";
|
|
989
979
|
} | null;
|
|
990
980
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
991
981
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1004,7 +994,6 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1004
994
|
editingFrame: string | null;
|
|
1005
995
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1006
996
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1007
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1008
997
|
activeTool: {
|
|
1009
998
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1010
999
|
locked: boolean;
|
|
@@ -1047,7 +1036,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1047
1036
|
name: "imageExport" | "help" | "jsonExport";
|
|
1048
1037
|
} | {
|
|
1049
1038
|
name: "ttd";
|
|
1050
|
-
tab: "text-to-diagram"
|
|
1039
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1051
1040
|
} | {
|
|
1052
1041
|
name: "commandPalette";
|
|
1053
1042
|
} | {
|
|
@@ -1119,8 +1108,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1119
1108
|
shown: true;
|
|
1120
1109
|
data: import("../charts").Spreadsheet;
|
|
1121
1110
|
};
|
|
1122
|
-
|
|
1123
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1111
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1124
1112
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1125
1113
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1126
1114
|
originSnapOffset: {
|
|
@@ -1167,7 +1155,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1167
1155
|
errorMessage: import("react").ReactNode;
|
|
1168
1156
|
activeEmbeddable: {
|
|
1169
1157
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1170
|
-
state: "
|
|
1158
|
+
state: "active" | "hover";
|
|
1171
1159
|
} | null;
|
|
1172
1160
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1173
1161
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1186,7 +1174,6 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1186
1174
|
editingFrame: string | null;
|
|
1187
1175
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1188
1176
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1189
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1190
1177
|
activeTool: {
|
|
1191
1178
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1192
1179
|
locked: boolean;
|
|
@@ -1229,7 +1216,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1229
1216
|
name: "imageExport" | "help" | "jsonExport";
|
|
1230
1217
|
} | {
|
|
1231
1218
|
name: "ttd";
|
|
1232
|
-
tab: "text-to-diagram"
|
|
1219
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1233
1220
|
} | {
|
|
1234
1221
|
name: "commandPalette";
|
|
1235
1222
|
} | {
|
|
@@ -1301,8 +1288,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1301
1288
|
shown: true;
|
|
1302
1289
|
data: import("../charts").Spreadsheet;
|
|
1303
1290
|
};
|
|
1304
|
-
|
|
1305
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1291
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1306
1292
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1307
1293
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1308
1294
|
originSnapOffset: {
|
|
@@ -1325,9 +1311,9 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1325
1311
|
};
|
|
1326
1312
|
captureUpdate: "EVENTUALLY";
|
|
1327
1313
|
};
|
|
1328
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1314
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1329
1315
|
} & {
|
|
1330
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1316
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1331
1317
|
};
|
|
1332
1318
|
export declare const actionZoomToFitSelection: {
|
|
1333
1319
|
name: "zoomToFitSelection";
|
|
@@ -1353,7 +1339,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1353
1339
|
errorMessage: import("react").ReactNode;
|
|
1354
1340
|
activeEmbeddable: {
|
|
1355
1341
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1356
|
-
state: "
|
|
1342
|
+
state: "active" | "hover";
|
|
1357
1343
|
} | null;
|
|
1358
1344
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1359
1345
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1372,7 +1358,6 @@ export declare const actionZoomToFitSelection: {
|
|
|
1372
1358
|
editingFrame: string | null;
|
|
1373
1359
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1374
1360
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1375
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1376
1361
|
activeTool: {
|
|
1377
1362
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1378
1363
|
locked: boolean;
|
|
@@ -1415,7 +1400,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1415
1400
|
name: "imageExport" | "help" | "jsonExport";
|
|
1416
1401
|
} | {
|
|
1417
1402
|
name: "ttd";
|
|
1418
|
-
tab: "text-to-diagram"
|
|
1403
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1419
1404
|
} | {
|
|
1420
1405
|
name: "commandPalette";
|
|
1421
1406
|
} | {
|
|
@@ -1487,8 +1472,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1487
1472
|
shown: true;
|
|
1488
1473
|
data: import("../charts").Spreadsheet;
|
|
1489
1474
|
};
|
|
1490
|
-
|
|
1491
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1475
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1492
1476
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1493
1477
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1494
1478
|
originSnapOffset: {
|
|
@@ -1511,9 +1495,9 @@ export declare const actionZoomToFitSelection: {
|
|
|
1511
1495
|
};
|
|
1512
1496
|
captureUpdate: "EVENTUALLY";
|
|
1513
1497
|
};
|
|
1514
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1498
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1515
1499
|
} & {
|
|
1516
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1500
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1517
1501
|
};
|
|
1518
1502
|
export declare const actionZoomToFit: {
|
|
1519
1503
|
name: "zoomToFit";
|
|
@@ -1540,7 +1524,7 @@ export declare const actionZoomToFit: {
|
|
|
1540
1524
|
errorMessage: import("react").ReactNode;
|
|
1541
1525
|
activeEmbeddable: {
|
|
1542
1526
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1543
|
-
state: "
|
|
1527
|
+
state: "active" | "hover";
|
|
1544
1528
|
} | null;
|
|
1545
1529
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1546
1530
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1559,7 +1543,6 @@ export declare const actionZoomToFit: {
|
|
|
1559
1543
|
editingFrame: string | null;
|
|
1560
1544
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1561
1545
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1562
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1563
1546
|
activeTool: {
|
|
1564
1547
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1565
1548
|
locked: boolean;
|
|
@@ -1602,7 +1585,7 @@ export declare const actionZoomToFit: {
|
|
|
1602
1585
|
name: "imageExport" | "help" | "jsonExport";
|
|
1603
1586
|
} | {
|
|
1604
1587
|
name: "ttd";
|
|
1605
|
-
tab: "text-to-diagram"
|
|
1588
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1606
1589
|
} | {
|
|
1607
1590
|
name: "commandPalette";
|
|
1608
1591
|
} | {
|
|
@@ -1674,8 +1657,7 @@ export declare const actionZoomToFit: {
|
|
|
1674
1657
|
shown: true;
|
|
1675
1658
|
data: import("../charts").Spreadsheet;
|
|
1676
1659
|
};
|
|
1677
|
-
|
|
1678
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1660
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1679
1661
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1680
1662
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1681
1663
|
originSnapOffset: {
|
|
@@ -1698,9 +1680,9 @@ export declare const actionZoomToFit: {
|
|
|
1698
1680
|
};
|
|
1699
1681
|
captureUpdate: "EVENTUALLY";
|
|
1700
1682
|
};
|
|
1701
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1683
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1702
1684
|
} & {
|
|
1703
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1685
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1704
1686
|
};
|
|
1705
1687
|
export declare const actionToggleTheme: {
|
|
1706
1688
|
name: "toggleTheme";
|
|
@@ -1724,7 +1706,7 @@ export declare const actionToggleTheme: {
|
|
|
1724
1706
|
errorMessage: import("react").ReactNode;
|
|
1725
1707
|
activeEmbeddable: {
|
|
1726
1708
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1727
|
-
state: "
|
|
1709
|
+
state: "active" | "hover";
|
|
1728
1710
|
} | null;
|
|
1729
1711
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1730
1712
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1743,7 +1725,6 @@ export declare const actionToggleTheme: {
|
|
|
1743
1725
|
editingFrame: string | null;
|
|
1744
1726
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1745
1727
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1746
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1747
1728
|
activeTool: {
|
|
1748
1729
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1749
1730
|
locked: boolean;
|
|
@@ -1791,7 +1772,7 @@ export declare const actionToggleTheme: {
|
|
|
1791
1772
|
name: "imageExport" | "help" | "jsonExport";
|
|
1792
1773
|
} | {
|
|
1793
1774
|
name: "ttd";
|
|
1794
|
-
tab: "text-to-diagram"
|
|
1775
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1795
1776
|
} | {
|
|
1796
1777
|
name: "commandPalette";
|
|
1797
1778
|
} | {
|
|
@@ -1862,8 +1843,7 @@ export declare const actionToggleTheme: {
|
|
|
1862
1843
|
shown: true;
|
|
1863
1844
|
data: import("../charts").Spreadsheet;
|
|
1864
1845
|
};
|
|
1865
|
-
|
|
1866
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1846
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1867
1847
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1868
1848
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1869
1849
|
originSnapOffset: {
|
|
@@ -1886,10 +1866,10 @@ export declare const actionToggleTheme: {
|
|
|
1886
1866
|
};
|
|
1887
1867
|
captureUpdate: "EVENTUALLY";
|
|
1888
1868
|
};
|
|
1889
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1869
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1890
1870
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
1891
1871
|
} & {
|
|
1892
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1872
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1893
1873
|
};
|
|
1894
1874
|
export declare const actionToggleEraserTool: {
|
|
1895
1875
|
name: "toggleEraserTool";
|
|
@@ -1932,7 +1912,6 @@ export declare const actionToggleEraserTool: {
|
|
|
1932
1912
|
editingFrame: string | null;
|
|
1933
1913
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1934
1914
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1935
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1936
1915
|
penMode: boolean;
|
|
1937
1916
|
penDetected: boolean;
|
|
1938
1917
|
exportBackground: boolean;
|
|
@@ -1975,7 +1954,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1975
1954
|
name: "imageExport" | "help" | "jsonExport";
|
|
1976
1955
|
} | {
|
|
1977
1956
|
name: "ttd";
|
|
1978
|
-
tab: "text-to-diagram"
|
|
1957
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1979
1958
|
} | {
|
|
1980
1959
|
name: "commandPalette";
|
|
1981
1960
|
} | {
|
|
@@ -2041,8 +2020,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2041
2020
|
shown: true;
|
|
2042
2021
|
data: import("../charts").Spreadsheet;
|
|
2043
2022
|
};
|
|
2044
|
-
|
|
2045
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
2023
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
2046
2024
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2047
2025
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2048
2026
|
originSnapOffset: {
|
|
@@ -2065,9 +2043,9 @@ export declare const actionToggleEraserTool: {
|
|
|
2065
2043
|
};
|
|
2066
2044
|
captureUpdate: "IMMEDIATELY";
|
|
2067
2045
|
};
|
|
2068
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
2046
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
2069
2047
|
} & {
|
|
2070
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
2048
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
2071
2049
|
};
|
|
2072
2050
|
export declare const actionToggleLassoTool: {
|
|
2073
2051
|
name: "toggleLassoTool";
|
|
@@ -2111,7 +2089,6 @@ export declare const actionToggleLassoTool: {
|
|
|
2111
2089
|
editingFrame: string | null;
|
|
2112
2090
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2113
2091
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2114
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2115
2092
|
penMode: boolean;
|
|
2116
2093
|
penDetected: boolean;
|
|
2117
2094
|
exportBackground: boolean;
|
|
@@ -2154,7 +2131,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2154
2131
|
name: "imageExport" | "help" | "jsonExport";
|
|
2155
2132
|
} | {
|
|
2156
2133
|
name: "ttd";
|
|
2157
|
-
tab: "text-to-diagram"
|
|
2134
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2158
2135
|
} | {
|
|
2159
2136
|
name: "commandPalette";
|
|
2160
2137
|
} | {
|
|
@@ -2220,8 +2197,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2220
2197
|
shown: true;
|
|
2221
2198
|
data: import("../charts").Spreadsheet;
|
|
2222
2199
|
};
|
|
2223
|
-
|
|
2224
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
2200
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
2225
2201
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2226
2202
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2227
2203
|
originSnapOffset: {
|
|
@@ -2290,7 +2266,6 @@ export declare const actionToggleHandTool: {
|
|
|
2290
2266
|
editingFrame: string | null;
|
|
2291
2267
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2292
2268
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2293
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2294
2269
|
penMode: boolean;
|
|
2295
2270
|
penDetected: boolean;
|
|
2296
2271
|
exportBackground: boolean;
|
|
@@ -2333,7 +2308,7 @@ export declare const actionToggleHandTool: {
|
|
|
2333
2308
|
name: "imageExport" | "help" | "jsonExport";
|
|
2334
2309
|
} | {
|
|
2335
2310
|
name: "ttd";
|
|
2336
|
-
tab: "text-to-diagram"
|
|
2311
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2337
2312
|
} | {
|
|
2338
2313
|
name: "commandPalette";
|
|
2339
2314
|
} | {
|
|
@@ -2399,8 +2374,7 @@ export declare const actionToggleHandTool: {
|
|
|
2399
2374
|
shown: true;
|
|
2400
2375
|
data: import("../charts").Spreadsheet;
|
|
2401
2376
|
};
|
|
2402
|
-
|
|
2403
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
2377
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
2404
2378
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2405
2379
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2406
2380
|
originSnapOffset: {
|
|
@@ -2423,7 +2397,7 @@ export declare const actionToggleHandTool: {
|
|
|
2423
2397
|
};
|
|
2424
2398
|
captureUpdate: "IMMEDIATELY";
|
|
2425
2399
|
};
|
|
2426
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
2400
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
2427
2401
|
} & {
|
|
2428
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
2402
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
2429
2403
|
};
|