@excalidraw/excalidraw 0.18.0-58f7d33 → 0.18.0-6d75c4b34
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-CBGOW5JB.js +5669 -0
- package/dist/dev/chunk-CBGOW5JB.js.map +7 -0
- package/dist/dev/chunk-CP5DND7P.js +7 -0
- package/dist/dev/chunk-CP5DND7P.js.map +7 -0
- package/dist/dev/{chunk-X3RYHLJU.js → chunk-QF5FRM6O.js} +15 -5
- package/dist/dev/chunk-QF5FRM6O.js.map +7 -0
- package/dist/dev/data/{image-U2IPNUKJ.js → image-SURZSZNX.js} +3 -3
- package/dist/dev/index.css +100 -22
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +8406 -9312
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-CKWC2GMK.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-A66AFZZU.js +7 -0
- package/dist/prod/chunk-I4UNSFV6.js +12 -0
- package/dist/prod/chunk-IRHK23LL.js +4 -0
- package/dist/prod/data/image-HXEZYJPQ.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +25 -17
- package/dist/prod/locales/{en-SBO6ZHT2.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 +20 -3
- package/dist/types/{excalidraw → common/src}/emitter.d.ts +1 -1
- package/dist/types/common/src/font-metadata.d.ts +4 -2
- package/dist/types/common/src/index.d.ts +1 -0
- package/dist/types/common/src/utility-types.d.ts +5 -0
- package/dist/types/common/src/utils.d.ts +17 -4
- package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +11 -14
- package/dist/types/element/src/align.d.ts +3 -3
- package/dist/types/element/src/binding.d.ts +26 -16
- package/dist/types/element/src/bounds.d.ts +13 -5
- package/dist/types/element/src/collision.d.ts +18 -12
- package/dist/types/element/src/cropElement.d.ts +1 -1
- package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +63 -38
- package/dist/types/element/src/distance.d.ts +2 -2
- package/dist/types/element/src/dragElements.d.ts +3 -2
- package/dist/types/element/src/duplicate.d.ts +10 -13
- package/dist/types/element/src/elbowArrow.d.ts +1 -1
- package/dist/types/element/src/flowchart.d.ts +3 -2
- package/dist/types/element/src/fractionalIndex.d.ts +9 -3
- package/dist/types/element/src/frame.d.ts +5 -4
- package/dist/types/element/src/index.d.ts +43 -2
- package/dist/types/element/src/linearElementEditor.d.ts +22 -36
- package/dist/types/element/src/mutateElement.d.ts +11 -3
- package/dist/types/element/src/newElement.d.ts +4 -3
- package/dist/types/element/src/resizeElements.d.ts +5 -4
- package/dist/types/element/src/selection.d.ts +11 -5
- package/dist/types/element/src/shape.d.ts +42 -0
- package/dist/types/element/src/sizeHelpers.d.ts +2 -2
- package/dist/types/element/src/store.d.ts +232 -0
- package/dist/types/element/src/textElement.d.ts +4 -3
- package/dist/types/element/src/typeChecks.d.ts +19 -1
- package/dist/types/element/src/types.d.ts +15 -2
- package/dist/types/element/src/utils.d.ts +16 -6
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +42 -51
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +28 -34
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +188 -227
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +81 -98
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +37 -45
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +13 -16
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +43 -50
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionExport.d.ts +136 -163
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +71 -37
- package/dist/types/excalidraw/actions/actionFrame.d.ts +103 -115
- package/dist/types/excalidraw/actions/actionGroup.d.ts +28 -34
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +506 -16
- package/dist/types/excalidraw/actions/actionLink.d.ts +13 -16
- package/dist/types/excalidraw/actions/actionMenu.d.ts +39 -48
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +27 -33
- package/dist/types/excalidraw/actions/actionProperties.d.ts +203 -240
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +13 -16
- package/dist/types/excalidraw/actions/actionStyles.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +13 -189
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +14 -17
- package/dist/types/excalidraw/actions/types.d.ts +4 -3
- package/dist/types/excalidraw/appState.d.ts +19 -10
- package/dist/types/excalidraw/components/App.d.ts +30 -19
- package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +5 -1
- package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -3
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -3
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
- package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
- package/dist/types/excalidraw/components/Range.d.ts +3 -3
- package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
- package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +12 -2
- package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -11
- package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +1 -0
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
- package/dist/types/excalidraw/components/icons.d.ts +3 -0
- package/dist/types/excalidraw/components/shapes.d.ts +1 -1
- package/dist/types/excalidraw/data/transform.d.ts +1 -1
- package/dist/types/excalidraw/editor-jotai.d.ts +6 -6
- package/dist/types/excalidraw/eraser/index.d.ts +0 -2
- package/dist/types/excalidraw/fonts/Fonts.d.ts +1 -1
- package/dist/types/excalidraw/history.d.ts +30 -22
- package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
- package/dist/types/excalidraw/index.d.ts +9 -9
- package/dist/types/excalidraw/lasso/index.d.ts +1 -0
- package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
- package/dist/types/excalidraw/renderer/helpers.d.ts +7 -2
- package/dist/types/excalidraw/scene/Renderer.d.ts +1 -2
- package/dist/types/excalidraw/scene/index.d.ts +2 -2
- package/dist/types/excalidraw/scene/scrollbars.d.ts +2 -3
- package/dist/types/excalidraw/scene/types.d.ts +2 -0
- package/dist/types/excalidraw/snapping.d.ts +2 -2
- package/dist/types/excalidraw/types.d.ts +30 -10
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
- package/dist/types/math/src/angle.d.ts +2 -0
- package/dist/types/math/src/constants.d.ts +3 -0
- package/dist/types/math/src/curve.d.ts +34 -0
- package/dist/types/math/src/index.d.ts +1 -0
- package/dist/types/math/src/point.d.ts +1 -1
- package/dist/types/math/src/rectangle.d.ts +2 -0
- package/dist/types/math/src/vector.d.ts +8 -2
- package/dist/types/utils/src/bbox.d.ts +1 -1
- package/dist/types/utils/src/index.d.ts +1 -1
- package/dist/types/utils/src/withinBounds.d.ts +1 -1
- package/history.ts +147 -110
- package/package.json +12 -9
- package/dist/dev/chunk-KKJLIRJU.js +0 -7
- package/dist/dev/chunk-KKJLIRJU.js.map +0 -7
- package/dist/dev/chunk-LEJJ2YZY.js +0 -18711
- package/dist/dev/chunk-LEJJ2YZY.js.map +0 -7
- package/dist/dev/chunk-X3RYHLJU.js.map +0 -7
- package/dist/prod/chunk-IUH5AXLB.js +0 -12
- package/dist/prod/chunk-QUX7WTVH.js +0 -7
- package/dist/prod/chunk-RQK6WG4F.js +0 -33
- package/dist/prod/data/image-UQDATCXC.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 -23
- package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
- package/dist/types/excalidraw/store.d.ts +0 -129
- package/dist/types/excalidraw/visualdebug.d.ts +0 -41
- package/dist/types/utils/src/collision.d.ts +0 -8
- /package/dist/dev/data/{image-U2IPNUKJ.js.map → image-SURZSZNX.js.map} +0 -0
- /package/dist/dev/locales/{en-CKWC2GMK.js.map → en-SMAPCEOQ.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { type SceneBounds } from "@excalidraw/element
|
|
2
|
+
import { type SceneBounds } from "@excalidraw/element";
|
|
3
3
|
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
4
4
|
import type { AppState, Offsets } from "../types";
|
|
5
5
|
export declare const actionChangeViewBackgroundColor: {
|
|
@@ -69,7 +69,7 @@ export declare const actionClearCanvas: {
|
|
|
69
69
|
name: "imageExport" | "help" | "jsonExport";
|
|
70
70
|
} | {
|
|
71
71
|
name: "ttd";
|
|
72
|
-
tab: "text-to-diagram"
|
|
72
|
+
tab: "mermaid" | "text-to-diagram";
|
|
73
73
|
} | {
|
|
74
74
|
name: "commandPalette";
|
|
75
75
|
} | {
|
|
@@ -81,20 +81,19 @@ export declare const actionClearCanvas: {
|
|
|
81
81
|
[id: string]: true;
|
|
82
82
|
}>;
|
|
83
83
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
84
|
-
pendingImageElementId: string | null;
|
|
85
84
|
activeEmbeddable: {
|
|
86
85
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
87
|
-
state: "
|
|
86
|
+
state: "active" | "hover";
|
|
88
87
|
} | null;
|
|
89
|
-
editingLinearElement: import("@excalidraw/element
|
|
88
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
90
89
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
91
90
|
selectedGroupIds: {
|
|
92
91
|
[groupId: string]: boolean;
|
|
93
92
|
};
|
|
94
|
-
selectedLinearElement: import("@excalidraw/element
|
|
93
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
95
94
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
96
95
|
isBindingEnabled: boolean;
|
|
97
|
-
suggestedBindings: import("@excalidraw/element
|
|
96
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
98
97
|
isRotating: boolean;
|
|
99
98
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
100
99
|
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
@@ -122,24 +121,11 @@ export declare const actionClearCanvas: {
|
|
|
122
121
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
123
122
|
isCropping: boolean;
|
|
124
123
|
croppingElementId: string | null;
|
|
125
|
-
searchMatches:
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
offsetY: number;
|
|
131
|
-
width: number;
|
|
132
|
-
height: number;
|
|
133
|
-
}[];
|
|
134
|
-
}[];
|
|
135
|
-
objectsSnapModeEnabled: boolean;
|
|
136
|
-
shouldCacheIgnoreZoom: boolean;
|
|
137
|
-
exportScale: number;
|
|
138
|
-
selectedElementsAreBeingDragged: boolean;
|
|
139
|
-
currentHoveredFontFamily: number | null;
|
|
140
|
-
hoveredElementIds: Readonly<{
|
|
141
|
-
[id: string]: true;
|
|
142
|
-
}>;
|
|
124
|
+
searchMatches: Readonly<{
|
|
125
|
+
focusedId: string | null;
|
|
126
|
+
matches: readonly import("../types").SearchMatch[];
|
|
127
|
+
}> | null;
|
|
128
|
+
activeLockedId: string | null;
|
|
143
129
|
contextMenu: {
|
|
144
130
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
145
131
|
top: number;
|
|
@@ -153,6 +139,7 @@ export declare const actionClearCanvas: {
|
|
|
153
139
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
154
140
|
editingFrame: string | null;
|
|
155
141
|
exportWithDarkMode: boolean;
|
|
142
|
+
exportScale: number;
|
|
156
143
|
currentItemStrokeColor: string;
|
|
157
144
|
currentItemBackgroundColor: string;
|
|
158
145
|
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
@@ -165,12 +152,13 @@ export declare const actionClearCanvas: {
|
|
|
165
152
|
currentItemTextAlign: string;
|
|
166
153
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
167
154
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
155
|
+
currentHoveredFontFamily: number | null;
|
|
168
156
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
169
157
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
170
158
|
cursorButton: "up" | "down";
|
|
171
159
|
scrolledOutside: boolean;
|
|
172
160
|
isResizing: boolean;
|
|
173
|
-
openMenu: "
|
|
161
|
+
openMenu: "canvas" | "shape" | null;
|
|
174
162
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
175
163
|
openSidebar: {
|
|
176
164
|
name: string;
|
|
@@ -178,9 +166,14 @@ export declare const actionClearCanvas: {
|
|
|
178
166
|
} | null;
|
|
179
167
|
defaultSidebarDockedPreference: boolean;
|
|
180
168
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
169
|
+
hoveredElementIds: Readonly<{
|
|
170
|
+
[id: string]: true;
|
|
171
|
+
}>;
|
|
181
172
|
previousSelectedElementIds: {
|
|
182
173
|
[id: string]: true;
|
|
183
174
|
};
|
|
175
|
+
selectedElementsAreBeingDragged: boolean;
|
|
176
|
+
shouldCacheIgnoreZoom: boolean;
|
|
184
177
|
toast: {
|
|
185
178
|
message: string;
|
|
186
179
|
closable?: boolean | undefined;
|
|
@@ -193,8 +186,12 @@ export declare const actionClearCanvas: {
|
|
|
193
186
|
x: number;
|
|
194
187
|
y: number;
|
|
195
188
|
} | null;
|
|
189
|
+
objectsSnapModeEnabled: boolean;
|
|
196
190
|
userToFollow: import("../types").UserToFollow | null;
|
|
197
191
|
followedBy: Set<import("../types").SocketId>;
|
|
192
|
+
lockedMultiSelections: {
|
|
193
|
+
[groupId: string]: true;
|
|
194
|
+
};
|
|
198
195
|
};
|
|
199
196
|
captureUpdate: "IMMEDIATELY";
|
|
200
197
|
};
|
|
@@ -227,7 +224,7 @@ export declare const actionZoomIn: {
|
|
|
227
224
|
errorMessage: import("react").ReactNode;
|
|
228
225
|
activeEmbeddable: {
|
|
229
226
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
230
|
-
state: "
|
|
227
|
+
state: "active" | "hover";
|
|
231
228
|
} | null;
|
|
232
229
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
233
230
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -235,7 +232,7 @@ export declare const actionZoomIn: {
|
|
|
235
232
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
236
233
|
isBindingEnabled: boolean;
|
|
237
234
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
238
|
-
suggestedBindings: import("@excalidraw/element
|
|
235
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
239
236
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
240
237
|
frameRendering: {
|
|
241
238
|
enabled: boolean;
|
|
@@ -246,7 +243,7 @@ export declare const actionZoomIn: {
|
|
|
246
243
|
editingFrame: string | null;
|
|
247
244
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
248
245
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
249
|
-
editingLinearElement: import("@excalidraw/element
|
|
246
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
250
247
|
activeTool: {
|
|
251
248
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
252
249
|
locked: boolean;
|
|
@@ -279,7 +276,7 @@ export declare const actionZoomIn: {
|
|
|
279
276
|
name: string | null;
|
|
280
277
|
isResizing: boolean;
|
|
281
278
|
isRotating: boolean;
|
|
282
|
-
openMenu: "
|
|
279
|
+
openMenu: "canvas" | "shape" | null;
|
|
283
280
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
284
281
|
openSidebar: {
|
|
285
282
|
name: string;
|
|
@@ -289,7 +286,7 @@ export declare const actionZoomIn: {
|
|
|
289
286
|
name: "imageExport" | "help" | "jsonExport";
|
|
290
287
|
} | {
|
|
291
288
|
name: "ttd";
|
|
292
|
-
tab: "text-to-diagram"
|
|
289
|
+
tab: "mermaid" | "text-to-diagram";
|
|
293
290
|
} | {
|
|
294
291
|
name: "commandPalette";
|
|
295
292
|
} | {
|
|
@@ -361,9 +358,8 @@ export declare const actionZoomIn: {
|
|
|
361
358
|
shown: true;
|
|
362
359
|
data: import("../charts").Spreadsheet;
|
|
363
360
|
};
|
|
364
|
-
pendingImageElementId: string | null;
|
|
365
361
|
showHyperlinkPopup: false | "editor" | "info";
|
|
366
|
-
selectedLinearElement: import("@excalidraw/element
|
|
362
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
367
363
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
368
364
|
originSnapOffset: {
|
|
369
365
|
x: number;
|
|
@@ -373,16 +369,14 @@ export declare const actionZoomIn: {
|
|
|
373
369
|
followedBy: Set<import("../types").SocketId>;
|
|
374
370
|
isCropping: boolean;
|
|
375
371
|
croppingElementId: string | null;
|
|
376
|
-
searchMatches:
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
}[];
|
|
385
|
-
}[];
|
|
372
|
+
searchMatches: Readonly<{
|
|
373
|
+
focusedId: string | null;
|
|
374
|
+
matches: readonly import("../types").SearchMatch[];
|
|
375
|
+
}> | null;
|
|
376
|
+
activeLockedId: string | null;
|
|
377
|
+
lockedMultiSelections: {
|
|
378
|
+
[groupId: string]: true;
|
|
379
|
+
};
|
|
386
380
|
};
|
|
387
381
|
captureUpdate: "EVENTUALLY";
|
|
388
382
|
};
|
|
@@ -417,7 +411,7 @@ export declare const actionZoomOut: {
|
|
|
417
411
|
errorMessage: import("react").ReactNode;
|
|
418
412
|
activeEmbeddable: {
|
|
419
413
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
420
|
-
state: "
|
|
414
|
+
state: "active" | "hover";
|
|
421
415
|
} | null;
|
|
422
416
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
423
417
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -425,7 +419,7 @@ export declare const actionZoomOut: {
|
|
|
425
419
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
426
420
|
isBindingEnabled: boolean;
|
|
427
421
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
428
|
-
suggestedBindings: import("@excalidraw/element
|
|
422
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
429
423
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
430
424
|
frameRendering: {
|
|
431
425
|
enabled: boolean;
|
|
@@ -436,7 +430,7 @@ export declare const actionZoomOut: {
|
|
|
436
430
|
editingFrame: string | null;
|
|
437
431
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
438
432
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
439
|
-
editingLinearElement: import("@excalidraw/element
|
|
433
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
440
434
|
activeTool: {
|
|
441
435
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
442
436
|
locked: boolean;
|
|
@@ -469,7 +463,7 @@ export declare const actionZoomOut: {
|
|
|
469
463
|
name: string | null;
|
|
470
464
|
isResizing: boolean;
|
|
471
465
|
isRotating: boolean;
|
|
472
|
-
openMenu: "
|
|
466
|
+
openMenu: "canvas" | "shape" | null;
|
|
473
467
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
474
468
|
openSidebar: {
|
|
475
469
|
name: string;
|
|
@@ -479,7 +473,7 @@ export declare const actionZoomOut: {
|
|
|
479
473
|
name: "imageExport" | "help" | "jsonExport";
|
|
480
474
|
} | {
|
|
481
475
|
name: "ttd";
|
|
482
|
-
tab: "text-to-diagram"
|
|
476
|
+
tab: "mermaid" | "text-to-diagram";
|
|
483
477
|
} | {
|
|
484
478
|
name: "commandPalette";
|
|
485
479
|
} | {
|
|
@@ -551,9 +545,8 @@ export declare const actionZoomOut: {
|
|
|
551
545
|
shown: true;
|
|
552
546
|
data: import("../charts").Spreadsheet;
|
|
553
547
|
};
|
|
554
|
-
pendingImageElementId: string | null;
|
|
555
548
|
showHyperlinkPopup: false | "editor" | "info";
|
|
556
|
-
selectedLinearElement: import("@excalidraw/element
|
|
549
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
557
550
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
558
551
|
originSnapOffset: {
|
|
559
552
|
x: number;
|
|
@@ -563,16 +556,14 @@ export declare const actionZoomOut: {
|
|
|
563
556
|
followedBy: Set<import("../types").SocketId>;
|
|
564
557
|
isCropping: boolean;
|
|
565
558
|
croppingElementId: string | null;
|
|
566
|
-
searchMatches:
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
}[];
|
|
575
|
-
}[];
|
|
559
|
+
searchMatches: Readonly<{
|
|
560
|
+
focusedId: string | null;
|
|
561
|
+
matches: readonly import("../types").SearchMatch[];
|
|
562
|
+
}> | null;
|
|
563
|
+
activeLockedId: string | null;
|
|
564
|
+
lockedMultiSelections: {
|
|
565
|
+
[groupId: string]: true;
|
|
566
|
+
};
|
|
576
567
|
};
|
|
577
568
|
captureUpdate: "EVENTUALLY";
|
|
578
569
|
};
|
|
@@ -607,7 +598,7 @@ export declare const actionResetZoom: {
|
|
|
607
598
|
errorMessage: import("react").ReactNode;
|
|
608
599
|
activeEmbeddable: {
|
|
609
600
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
610
|
-
state: "
|
|
601
|
+
state: "active" | "hover";
|
|
611
602
|
} | null;
|
|
612
603
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
613
604
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -615,7 +606,7 @@ export declare const actionResetZoom: {
|
|
|
615
606
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
616
607
|
isBindingEnabled: boolean;
|
|
617
608
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
618
|
-
suggestedBindings: import("@excalidraw/element
|
|
609
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
619
610
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
620
611
|
frameRendering: {
|
|
621
612
|
enabled: boolean;
|
|
@@ -626,7 +617,7 @@ export declare const actionResetZoom: {
|
|
|
626
617
|
editingFrame: string | null;
|
|
627
618
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
628
619
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
629
|
-
editingLinearElement: import("@excalidraw/element
|
|
620
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
630
621
|
activeTool: {
|
|
631
622
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
632
623
|
locked: boolean;
|
|
@@ -659,7 +650,7 @@ export declare const actionResetZoom: {
|
|
|
659
650
|
name: string | null;
|
|
660
651
|
isResizing: boolean;
|
|
661
652
|
isRotating: boolean;
|
|
662
|
-
openMenu: "
|
|
653
|
+
openMenu: "canvas" | "shape" | null;
|
|
663
654
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
664
655
|
openSidebar: {
|
|
665
656
|
name: string;
|
|
@@ -669,7 +660,7 @@ export declare const actionResetZoom: {
|
|
|
669
660
|
name: "imageExport" | "help" | "jsonExport";
|
|
670
661
|
} | {
|
|
671
662
|
name: "ttd";
|
|
672
|
-
tab: "text-to-diagram"
|
|
663
|
+
tab: "mermaid" | "text-to-diagram";
|
|
673
664
|
} | {
|
|
674
665
|
name: "commandPalette";
|
|
675
666
|
} | {
|
|
@@ -741,9 +732,8 @@ export declare const actionResetZoom: {
|
|
|
741
732
|
shown: true;
|
|
742
733
|
data: import("../charts").Spreadsheet;
|
|
743
734
|
};
|
|
744
|
-
pendingImageElementId: string | null;
|
|
745
735
|
showHyperlinkPopup: false | "editor" | "info";
|
|
746
|
-
selectedLinearElement: import("@excalidraw/element
|
|
736
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
747
737
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
748
738
|
originSnapOffset: {
|
|
749
739
|
x: number;
|
|
@@ -753,16 +743,14 @@ export declare const actionResetZoom: {
|
|
|
753
743
|
followedBy: Set<import("../types").SocketId>;
|
|
754
744
|
isCropping: boolean;
|
|
755
745
|
croppingElementId: string | null;
|
|
756
|
-
searchMatches:
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
}[];
|
|
765
|
-
}[];
|
|
746
|
+
searchMatches: Readonly<{
|
|
747
|
+
focusedId: string | null;
|
|
748
|
+
matches: readonly import("../types").SearchMatch[];
|
|
749
|
+
}> | null;
|
|
750
|
+
activeLockedId: string | null;
|
|
751
|
+
lockedMultiSelections: {
|
|
752
|
+
[groupId: string]: true;
|
|
753
|
+
};
|
|
766
754
|
};
|
|
767
755
|
captureUpdate: "EVENTUALLY";
|
|
768
756
|
};
|
|
@@ -803,7 +791,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
803
791
|
errorMessage: import("react").ReactNode;
|
|
804
792
|
activeEmbeddable: {
|
|
805
793
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
806
|
-
state: "
|
|
794
|
+
state: "active" | "hover";
|
|
807
795
|
} | null;
|
|
808
796
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
809
797
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -811,7 +799,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
811
799
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
812
800
|
isBindingEnabled: boolean;
|
|
813
801
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
814
|
-
suggestedBindings: import("@excalidraw/element
|
|
802
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
815
803
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
816
804
|
frameRendering: {
|
|
817
805
|
enabled: boolean;
|
|
@@ -822,7 +810,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
822
810
|
editingFrame: string | null;
|
|
823
811
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
824
812
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
825
|
-
editingLinearElement: import("@excalidraw/element
|
|
813
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
826
814
|
activeTool: {
|
|
827
815
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
828
816
|
locked: boolean;
|
|
@@ -855,7 +843,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
855
843
|
name: string | null;
|
|
856
844
|
isResizing: boolean;
|
|
857
845
|
isRotating: boolean;
|
|
858
|
-
openMenu: "
|
|
846
|
+
openMenu: "canvas" | "shape" | null;
|
|
859
847
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
860
848
|
openSidebar: {
|
|
861
849
|
name: string;
|
|
@@ -865,7 +853,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
865
853
|
name: "imageExport" | "help" | "jsonExport";
|
|
866
854
|
} | {
|
|
867
855
|
name: "ttd";
|
|
868
|
-
tab: "text-to-diagram"
|
|
856
|
+
tab: "mermaid" | "text-to-diagram";
|
|
869
857
|
} | {
|
|
870
858
|
name: "commandPalette";
|
|
871
859
|
} | {
|
|
@@ -937,9 +925,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
937
925
|
shown: true;
|
|
938
926
|
data: import("../charts").Spreadsheet;
|
|
939
927
|
};
|
|
940
|
-
pendingImageElementId: string | null;
|
|
941
928
|
showHyperlinkPopup: false | "editor" | "info";
|
|
942
|
-
selectedLinearElement: import("@excalidraw/element
|
|
929
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
943
930
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
944
931
|
originSnapOffset: {
|
|
945
932
|
x: number;
|
|
@@ -950,16 +937,14 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
950
937
|
followedBy: Set<import("../types").SocketId>;
|
|
951
938
|
isCropping: boolean;
|
|
952
939
|
croppingElementId: string | null;
|
|
953
|
-
searchMatches:
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
}[];
|
|
962
|
-
}[];
|
|
940
|
+
searchMatches: Readonly<{
|
|
941
|
+
focusedId: string | null;
|
|
942
|
+
matches: readonly import("../types").SearchMatch[];
|
|
943
|
+
}> | null;
|
|
944
|
+
activeLockedId: string | null;
|
|
945
|
+
lockedMultiSelections: {
|
|
946
|
+
[groupId: string]: true;
|
|
947
|
+
};
|
|
963
948
|
};
|
|
964
949
|
captureUpdate: "EVENTUALLY";
|
|
965
950
|
};
|
|
@@ -995,7 +980,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
995
980
|
errorMessage: import("react").ReactNode;
|
|
996
981
|
activeEmbeddable: {
|
|
997
982
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
998
|
-
state: "
|
|
983
|
+
state: "active" | "hover";
|
|
999
984
|
} | null;
|
|
1000
985
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1001
986
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1003,7 +988,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1003
988
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1004
989
|
isBindingEnabled: boolean;
|
|
1005
990
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1006
|
-
suggestedBindings: import("@excalidraw/element
|
|
991
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1007
992
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1008
993
|
frameRendering: {
|
|
1009
994
|
enabled: boolean;
|
|
@@ -1014,7 +999,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1014
999
|
editingFrame: string | null;
|
|
1015
1000
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1016
1001
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1017
|
-
editingLinearElement: import("@excalidraw/element
|
|
1002
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1018
1003
|
activeTool: {
|
|
1019
1004
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1020
1005
|
locked: boolean;
|
|
@@ -1047,7 +1032,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1047
1032
|
name: string | null;
|
|
1048
1033
|
isResizing: boolean;
|
|
1049
1034
|
isRotating: boolean;
|
|
1050
|
-
openMenu: "
|
|
1035
|
+
openMenu: "canvas" | "shape" | null;
|
|
1051
1036
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1052
1037
|
openSidebar: {
|
|
1053
1038
|
name: string;
|
|
@@ -1057,7 +1042,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1057
1042
|
name: "imageExport" | "help" | "jsonExport";
|
|
1058
1043
|
} | {
|
|
1059
1044
|
name: "ttd";
|
|
1060
|
-
tab: "text-to-diagram"
|
|
1045
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1061
1046
|
} | {
|
|
1062
1047
|
name: "commandPalette";
|
|
1063
1048
|
} | {
|
|
@@ -1129,9 +1114,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1129
1114
|
shown: true;
|
|
1130
1115
|
data: import("../charts").Spreadsheet;
|
|
1131
1116
|
};
|
|
1132
|
-
pendingImageElementId: string | null;
|
|
1133
1117
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1134
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1118
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1135
1119
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1136
1120
|
originSnapOffset: {
|
|
1137
1121
|
x: number;
|
|
@@ -1142,16 +1126,14 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1142
1126
|
followedBy: Set<import("../types").SocketId>;
|
|
1143
1127
|
isCropping: boolean;
|
|
1144
1128
|
croppingElementId: string | null;
|
|
1145
|
-
searchMatches:
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
}[];
|
|
1154
|
-
}[];
|
|
1129
|
+
searchMatches: Readonly<{
|
|
1130
|
+
focusedId: string | null;
|
|
1131
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1132
|
+
}> | null;
|
|
1133
|
+
activeLockedId: string | null;
|
|
1134
|
+
lockedMultiSelections: {
|
|
1135
|
+
[groupId: string]: true;
|
|
1136
|
+
};
|
|
1155
1137
|
};
|
|
1156
1138
|
captureUpdate: "EVENTUALLY";
|
|
1157
1139
|
};
|
|
@@ -1179,7 +1161,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1179
1161
|
errorMessage: import("react").ReactNode;
|
|
1180
1162
|
activeEmbeddable: {
|
|
1181
1163
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1182
|
-
state: "
|
|
1164
|
+
state: "active" | "hover";
|
|
1183
1165
|
} | null;
|
|
1184
1166
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1185
1167
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1187,7 +1169,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1187
1169
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1188
1170
|
isBindingEnabled: boolean;
|
|
1189
1171
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1190
|
-
suggestedBindings: import("@excalidraw/element
|
|
1172
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1191
1173
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1192
1174
|
frameRendering: {
|
|
1193
1175
|
enabled: boolean;
|
|
@@ -1198,7 +1180,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1198
1180
|
editingFrame: string | null;
|
|
1199
1181
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1200
1182
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1201
|
-
editingLinearElement: import("@excalidraw/element
|
|
1183
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1202
1184
|
activeTool: {
|
|
1203
1185
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1204
1186
|
locked: boolean;
|
|
@@ -1231,7 +1213,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1231
1213
|
name: string | null;
|
|
1232
1214
|
isResizing: boolean;
|
|
1233
1215
|
isRotating: boolean;
|
|
1234
|
-
openMenu: "
|
|
1216
|
+
openMenu: "canvas" | "shape" | null;
|
|
1235
1217
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1236
1218
|
openSidebar: {
|
|
1237
1219
|
name: string;
|
|
@@ -1241,7 +1223,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1241
1223
|
name: "imageExport" | "help" | "jsonExport";
|
|
1242
1224
|
} | {
|
|
1243
1225
|
name: "ttd";
|
|
1244
|
-
tab: "text-to-diagram"
|
|
1226
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1245
1227
|
} | {
|
|
1246
1228
|
name: "commandPalette";
|
|
1247
1229
|
} | {
|
|
@@ -1313,9 +1295,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1313
1295
|
shown: true;
|
|
1314
1296
|
data: import("../charts").Spreadsheet;
|
|
1315
1297
|
};
|
|
1316
|
-
pendingImageElementId: string | null;
|
|
1317
1298
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1318
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1299
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1319
1300
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1320
1301
|
originSnapOffset: {
|
|
1321
1302
|
x: number;
|
|
@@ -1326,16 +1307,14 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1326
1307
|
followedBy: Set<import("../types").SocketId>;
|
|
1327
1308
|
isCropping: boolean;
|
|
1328
1309
|
croppingElementId: string | null;
|
|
1329
|
-
searchMatches:
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
}[];
|
|
1338
|
-
}[];
|
|
1310
|
+
searchMatches: Readonly<{
|
|
1311
|
+
focusedId: string | null;
|
|
1312
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1313
|
+
}> | null;
|
|
1314
|
+
activeLockedId: string | null;
|
|
1315
|
+
lockedMultiSelections: {
|
|
1316
|
+
[groupId: string]: true;
|
|
1317
|
+
};
|
|
1339
1318
|
};
|
|
1340
1319
|
captureUpdate: "EVENTUALLY";
|
|
1341
1320
|
};
|
|
@@ -1367,7 +1346,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1367
1346
|
errorMessage: import("react").ReactNode;
|
|
1368
1347
|
activeEmbeddable: {
|
|
1369
1348
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1370
|
-
state: "
|
|
1349
|
+
state: "active" | "hover";
|
|
1371
1350
|
} | null;
|
|
1372
1351
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1373
1352
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1375,7 +1354,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1375
1354
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1376
1355
|
isBindingEnabled: boolean;
|
|
1377
1356
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1378
|
-
suggestedBindings: import("@excalidraw/element
|
|
1357
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1379
1358
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1380
1359
|
frameRendering: {
|
|
1381
1360
|
enabled: boolean;
|
|
@@ -1386,7 +1365,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1386
1365
|
editingFrame: string | null;
|
|
1387
1366
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1388
1367
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1389
|
-
editingLinearElement: import("@excalidraw/element
|
|
1368
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1390
1369
|
activeTool: {
|
|
1391
1370
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1392
1371
|
locked: boolean;
|
|
@@ -1419,7 +1398,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1419
1398
|
name: string | null;
|
|
1420
1399
|
isResizing: boolean;
|
|
1421
1400
|
isRotating: boolean;
|
|
1422
|
-
openMenu: "
|
|
1401
|
+
openMenu: "canvas" | "shape" | null;
|
|
1423
1402
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1424
1403
|
openSidebar: {
|
|
1425
1404
|
name: string;
|
|
@@ -1429,7 +1408,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1429
1408
|
name: "imageExport" | "help" | "jsonExport";
|
|
1430
1409
|
} | {
|
|
1431
1410
|
name: "ttd";
|
|
1432
|
-
tab: "text-to-diagram"
|
|
1411
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1433
1412
|
} | {
|
|
1434
1413
|
name: "commandPalette";
|
|
1435
1414
|
} | {
|
|
@@ -1501,9 +1480,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
1501
1480
|
shown: true;
|
|
1502
1481
|
data: import("../charts").Spreadsheet;
|
|
1503
1482
|
};
|
|
1504
|
-
pendingImageElementId: string | null;
|
|
1505
1483
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1506
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1484
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1507
1485
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1508
1486
|
originSnapOffset: {
|
|
1509
1487
|
x: number;
|
|
@@ -1514,16 +1492,14 @@ export declare const actionZoomToFitSelection: {
|
|
|
1514
1492
|
followedBy: Set<import("../types").SocketId>;
|
|
1515
1493
|
isCropping: boolean;
|
|
1516
1494
|
croppingElementId: string | null;
|
|
1517
|
-
searchMatches:
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
}[];
|
|
1526
|
-
}[];
|
|
1495
|
+
searchMatches: Readonly<{
|
|
1496
|
+
focusedId: string | null;
|
|
1497
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1498
|
+
}> | null;
|
|
1499
|
+
activeLockedId: string | null;
|
|
1500
|
+
lockedMultiSelections: {
|
|
1501
|
+
[groupId: string]: true;
|
|
1502
|
+
};
|
|
1527
1503
|
};
|
|
1528
1504
|
captureUpdate: "EVENTUALLY";
|
|
1529
1505
|
};
|
|
@@ -1556,7 +1532,7 @@ export declare const actionZoomToFit: {
|
|
|
1556
1532
|
errorMessage: import("react").ReactNode;
|
|
1557
1533
|
activeEmbeddable: {
|
|
1558
1534
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1559
|
-
state: "
|
|
1535
|
+
state: "active" | "hover";
|
|
1560
1536
|
} | null;
|
|
1561
1537
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1562
1538
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1564,7 +1540,7 @@ export declare const actionZoomToFit: {
|
|
|
1564
1540
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1565
1541
|
isBindingEnabled: boolean;
|
|
1566
1542
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1567
|
-
suggestedBindings: import("@excalidraw/element
|
|
1543
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1568
1544
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1569
1545
|
frameRendering: {
|
|
1570
1546
|
enabled: boolean;
|
|
@@ -1575,7 +1551,7 @@ export declare const actionZoomToFit: {
|
|
|
1575
1551
|
editingFrame: string | null;
|
|
1576
1552
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1577
1553
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1578
|
-
editingLinearElement: import("@excalidraw/element
|
|
1554
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1579
1555
|
activeTool: {
|
|
1580
1556
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1581
1557
|
locked: boolean;
|
|
@@ -1608,7 +1584,7 @@ export declare const actionZoomToFit: {
|
|
|
1608
1584
|
name: string | null;
|
|
1609
1585
|
isResizing: boolean;
|
|
1610
1586
|
isRotating: boolean;
|
|
1611
|
-
openMenu: "
|
|
1587
|
+
openMenu: "canvas" | "shape" | null;
|
|
1612
1588
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1613
1589
|
openSidebar: {
|
|
1614
1590
|
name: string;
|
|
@@ -1618,7 +1594,7 @@ export declare const actionZoomToFit: {
|
|
|
1618
1594
|
name: "imageExport" | "help" | "jsonExport";
|
|
1619
1595
|
} | {
|
|
1620
1596
|
name: "ttd";
|
|
1621
|
-
tab: "text-to-diagram"
|
|
1597
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1622
1598
|
} | {
|
|
1623
1599
|
name: "commandPalette";
|
|
1624
1600
|
} | {
|
|
@@ -1690,9 +1666,8 @@ export declare const actionZoomToFit: {
|
|
|
1690
1666
|
shown: true;
|
|
1691
1667
|
data: import("../charts").Spreadsheet;
|
|
1692
1668
|
};
|
|
1693
|
-
pendingImageElementId: string | null;
|
|
1694
1669
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1695
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1670
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1696
1671
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1697
1672
|
originSnapOffset: {
|
|
1698
1673
|
x: number;
|
|
@@ -1703,16 +1678,14 @@ export declare const actionZoomToFit: {
|
|
|
1703
1678
|
followedBy: Set<import("../types").SocketId>;
|
|
1704
1679
|
isCropping: boolean;
|
|
1705
1680
|
croppingElementId: string | null;
|
|
1706
|
-
searchMatches:
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
}[];
|
|
1715
|
-
}[];
|
|
1681
|
+
searchMatches: Readonly<{
|
|
1682
|
+
focusedId: string | null;
|
|
1683
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1684
|
+
}> | null;
|
|
1685
|
+
activeLockedId: string | null;
|
|
1686
|
+
lockedMultiSelections: {
|
|
1687
|
+
[groupId: string]: true;
|
|
1688
|
+
};
|
|
1716
1689
|
};
|
|
1717
1690
|
captureUpdate: "EVENTUALLY";
|
|
1718
1691
|
};
|
|
@@ -1742,7 +1715,7 @@ export declare const actionToggleTheme: {
|
|
|
1742
1715
|
errorMessage: import("react").ReactNode;
|
|
1743
1716
|
activeEmbeddable: {
|
|
1744
1717
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1745
|
-
state: "
|
|
1718
|
+
state: "active" | "hover";
|
|
1746
1719
|
} | null;
|
|
1747
1720
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1748
1721
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1750,7 +1723,7 @@ export declare const actionToggleTheme: {
|
|
|
1750
1723
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1751
1724
|
isBindingEnabled: boolean;
|
|
1752
1725
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1753
|
-
suggestedBindings: import("@excalidraw/element
|
|
1726
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1754
1727
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1755
1728
|
frameRendering: {
|
|
1756
1729
|
enabled: boolean;
|
|
@@ -1761,7 +1734,7 @@ export declare const actionToggleTheme: {
|
|
|
1761
1734
|
editingFrame: string | null;
|
|
1762
1735
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1763
1736
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1764
|
-
editingLinearElement: import("@excalidraw/element
|
|
1737
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1765
1738
|
activeTool: {
|
|
1766
1739
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1767
1740
|
locked: boolean;
|
|
@@ -1799,7 +1772,7 @@ export declare const actionToggleTheme: {
|
|
|
1799
1772
|
zoom: Readonly<{
|
|
1800
1773
|
value: import("../types").NormalizedZoomValue;
|
|
1801
1774
|
}>;
|
|
1802
|
-
openMenu: "
|
|
1775
|
+
openMenu: "canvas" | "shape" | null;
|
|
1803
1776
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1804
1777
|
openSidebar: {
|
|
1805
1778
|
name: string;
|
|
@@ -1809,7 +1782,7 @@ export declare const actionToggleTheme: {
|
|
|
1809
1782
|
name: "imageExport" | "help" | "jsonExport";
|
|
1810
1783
|
} | {
|
|
1811
1784
|
name: "ttd";
|
|
1812
|
-
tab: "text-to-diagram"
|
|
1785
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1813
1786
|
} | {
|
|
1814
1787
|
name: "commandPalette";
|
|
1815
1788
|
} | {
|
|
@@ -1880,9 +1853,8 @@ export declare const actionToggleTheme: {
|
|
|
1880
1853
|
shown: true;
|
|
1881
1854
|
data: import("../charts").Spreadsheet;
|
|
1882
1855
|
};
|
|
1883
|
-
pendingImageElementId: string | null;
|
|
1884
1856
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1885
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1857
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1886
1858
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1887
1859
|
originSnapOffset: {
|
|
1888
1860
|
x: number;
|
|
@@ -1893,16 +1865,14 @@ export declare const actionToggleTheme: {
|
|
|
1893
1865
|
followedBy: Set<import("../types").SocketId>;
|
|
1894
1866
|
isCropping: boolean;
|
|
1895
1867
|
croppingElementId: string | null;
|
|
1896
|
-
searchMatches:
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
}[];
|
|
1905
|
-
}[];
|
|
1868
|
+
searchMatches: Readonly<{
|
|
1869
|
+
focusedId: string | null;
|
|
1870
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1871
|
+
}> | null;
|
|
1872
|
+
activeLockedId: string | null;
|
|
1873
|
+
lockedMultiSelections: {
|
|
1874
|
+
[groupId: string]: true;
|
|
1875
|
+
};
|
|
1906
1876
|
};
|
|
1907
1877
|
captureUpdate: "EVENTUALLY";
|
|
1908
1878
|
};
|
|
@@ -1941,7 +1911,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1941
1911
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1942
1912
|
isBindingEnabled: boolean;
|
|
1943
1913
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1944
|
-
suggestedBindings: import("@excalidraw/element
|
|
1914
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1945
1915
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1946
1916
|
frameRendering: {
|
|
1947
1917
|
enabled: boolean;
|
|
@@ -1952,7 +1922,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1952
1922
|
editingFrame: string | null;
|
|
1953
1923
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1954
1924
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1955
|
-
editingLinearElement: import("@excalidraw/element
|
|
1925
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1956
1926
|
penMode: boolean;
|
|
1957
1927
|
penDetected: boolean;
|
|
1958
1928
|
exportBackground: boolean;
|
|
@@ -1985,7 +1955,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1985
1955
|
zoom: Readonly<{
|
|
1986
1956
|
value: import("../types").NormalizedZoomValue;
|
|
1987
1957
|
}>;
|
|
1988
|
-
openMenu: "
|
|
1958
|
+
openMenu: "canvas" | "shape" | null;
|
|
1989
1959
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1990
1960
|
openSidebar: {
|
|
1991
1961
|
name: string;
|
|
@@ -1995,7 +1965,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1995
1965
|
name: "imageExport" | "help" | "jsonExport";
|
|
1996
1966
|
} | {
|
|
1997
1967
|
name: "ttd";
|
|
1998
|
-
tab: "text-to-diagram"
|
|
1968
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1999
1969
|
} | {
|
|
2000
1970
|
name: "commandPalette";
|
|
2001
1971
|
} | {
|
|
@@ -2061,9 +2031,8 @@ export declare const actionToggleEraserTool: {
|
|
|
2061
2031
|
shown: true;
|
|
2062
2032
|
data: import("../charts").Spreadsheet;
|
|
2063
2033
|
};
|
|
2064
|
-
pendingImageElementId: string | null;
|
|
2065
2034
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2066
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2035
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2067
2036
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2068
2037
|
originSnapOffset: {
|
|
2069
2038
|
x: number;
|
|
@@ -2074,16 +2043,14 @@ export declare const actionToggleEraserTool: {
|
|
|
2074
2043
|
followedBy: Set<import("../types").SocketId>;
|
|
2075
2044
|
isCropping: boolean;
|
|
2076
2045
|
croppingElementId: string | null;
|
|
2077
|
-
searchMatches:
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
}[];
|
|
2086
|
-
}[];
|
|
2046
|
+
searchMatches: Readonly<{
|
|
2047
|
+
focusedId: string | null;
|
|
2048
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2049
|
+
}> | null;
|
|
2050
|
+
activeLockedId: string | null;
|
|
2051
|
+
lockedMultiSelections: {
|
|
2052
|
+
[groupId: string]: true;
|
|
2053
|
+
};
|
|
2087
2054
|
};
|
|
2088
2055
|
captureUpdate: "IMMEDIATELY";
|
|
2089
2056
|
};
|
|
@@ -2122,7 +2089,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2122
2089
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2123
2090
|
isBindingEnabled: boolean;
|
|
2124
2091
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2125
|
-
suggestedBindings: import("@excalidraw/element
|
|
2092
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2126
2093
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2127
2094
|
frameRendering: {
|
|
2128
2095
|
enabled: boolean;
|
|
@@ -2133,7 +2100,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2133
2100
|
editingFrame: string | null;
|
|
2134
2101
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2135
2102
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2136
|
-
editingLinearElement: import("@excalidraw/element
|
|
2103
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2137
2104
|
penMode: boolean;
|
|
2138
2105
|
penDetected: boolean;
|
|
2139
2106
|
exportBackground: boolean;
|
|
@@ -2166,7 +2133,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2166
2133
|
zoom: Readonly<{
|
|
2167
2134
|
value: import("../types").NormalizedZoomValue;
|
|
2168
2135
|
}>;
|
|
2169
|
-
openMenu: "
|
|
2136
|
+
openMenu: "canvas" | "shape" | null;
|
|
2170
2137
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2171
2138
|
openSidebar: {
|
|
2172
2139
|
name: string;
|
|
@@ -2176,7 +2143,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2176
2143
|
name: "imageExport" | "help" | "jsonExport";
|
|
2177
2144
|
} | {
|
|
2178
2145
|
name: "ttd";
|
|
2179
|
-
tab: "text-to-diagram"
|
|
2146
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2180
2147
|
} | {
|
|
2181
2148
|
name: "commandPalette";
|
|
2182
2149
|
} | {
|
|
@@ -2242,9 +2209,8 @@ export declare const actionToggleLassoTool: {
|
|
|
2242
2209
|
shown: true;
|
|
2243
2210
|
data: import("../charts").Spreadsheet;
|
|
2244
2211
|
};
|
|
2245
|
-
pendingImageElementId: string | null;
|
|
2246
2212
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2247
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2213
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2248
2214
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2249
2215
|
originSnapOffset: {
|
|
2250
2216
|
x: number;
|
|
@@ -2255,16 +2221,14 @@ export declare const actionToggleLassoTool: {
|
|
|
2255
2221
|
followedBy: Set<import("../types").SocketId>;
|
|
2256
2222
|
isCropping: boolean;
|
|
2257
2223
|
croppingElementId: string | null;
|
|
2258
|
-
searchMatches:
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
}[];
|
|
2267
|
-
}[];
|
|
2224
|
+
searchMatches: Readonly<{
|
|
2225
|
+
focusedId: string | null;
|
|
2226
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2227
|
+
}> | null;
|
|
2228
|
+
activeLockedId: string | null;
|
|
2229
|
+
lockedMultiSelections: {
|
|
2230
|
+
[groupId: string]: true;
|
|
2231
|
+
};
|
|
2268
2232
|
};
|
|
2269
2233
|
captureUpdate: "NEVER";
|
|
2270
2234
|
};
|
|
@@ -2303,7 +2267,7 @@ export declare const actionToggleHandTool: {
|
|
|
2303
2267
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2304
2268
|
isBindingEnabled: boolean;
|
|
2305
2269
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2306
|
-
suggestedBindings: import("@excalidraw/element
|
|
2270
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2307
2271
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2308
2272
|
frameRendering: {
|
|
2309
2273
|
enabled: boolean;
|
|
@@ -2314,7 +2278,7 @@ export declare const actionToggleHandTool: {
|
|
|
2314
2278
|
editingFrame: string | null;
|
|
2315
2279
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2316
2280
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2317
|
-
editingLinearElement: import("@excalidraw/element
|
|
2281
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2318
2282
|
penMode: boolean;
|
|
2319
2283
|
penDetected: boolean;
|
|
2320
2284
|
exportBackground: boolean;
|
|
@@ -2347,7 +2311,7 @@ export declare const actionToggleHandTool: {
|
|
|
2347
2311
|
zoom: Readonly<{
|
|
2348
2312
|
value: import("../types").NormalizedZoomValue;
|
|
2349
2313
|
}>;
|
|
2350
|
-
openMenu: "
|
|
2314
|
+
openMenu: "canvas" | "shape" | null;
|
|
2351
2315
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2352
2316
|
openSidebar: {
|
|
2353
2317
|
name: string;
|
|
@@ -2357,7 +2321,7 @@ export declare const actionToggleHandTool: {
|
|
|
2357
2321
|
name: "imageExport" | "help" | "jsonExport";
|
|
2358
2322
|
} | {
|
|
2359
2323
|
name: "ttd";
|
|
2360
|
-
tab: "text-to-diagram"
|
|
2324
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2361
2325
|
} | {
|
|
2362
2326
|
name: "commandPalette";
|
|
2363
2327
|
} | {
|
|
@@ -2423,9 +2387,8 @@ export declare const actionToggleHandTool: {
|
|
|
2423
2387
|
shown: true;
|
|
2424
2388
|
data: import("../charts").Spreadsheet;
|
|
2425
2389
|
};
|
|
2426
|
-
pendingImageElementId: string | null;
|
|
2427
2390
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2428
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2391
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2429
2392
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2430
2393
|
originSnapOffset: {
|
|
2431
2394
|
x: number;
|
|
@@ -2436,16 +2399,14 @@ export declare const actionToggleHandTool: {
|
|
|
2436
2399
|
followedBy: Set<import("../types").SocketId>;
|
|
2437
2400
|
isCropping: boolean;
|
|
2438
2401
|
croppingElementId: string | null;
|
|
2439
|
-
searchMatches:
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
}[];
|
|
2448
|
-
}[];
|
|
2402
|
+
searchMatches: Readonly<{
|
|
2403
|
+
focusedId: string | null;
|
|
2404
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2405
|
+
}> | null;
|
|
2406
|
+
activeLockedId: string | null;
|
|
2407
|
+
lockedMultiSelections: {
|
|
2408
|
+
[groupId: string]: true;
|
|
2409
|
+
};
|
|
2449
2410
|
};
|
|
2450
2411
|
captureUpdate: "IMMEDIATELY";
|
|
2451
2412
|
};
|