@excalidraw/excalidraw 0.18.0-6fc8502 → 0.18.0-7876ee524
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-CP5DND7P.js +7 -0
- package/dist/dev/chunk-CP5DND7P.js.map +7 -0
- package/dist/dev/chunk-CRKRRBMD.js +5677 -0
- package/dist/dev/chunk-CRKRRBMD.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-NKFINVKH.js → image-IWGLHPIX.js} +3 -3
- package/dist/dev/index.css +104 -22
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +15054 -15792
- 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-HHV2PJKY.js +4 -0
- package/dist/prod/chunk-I4UNSFV6.js +12 -0
- package/dist/prod/data/image-4SM4COIL.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 +23 -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 -1
- package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +16 -15
- package/dist/types/element/src/align.d.ts +4 -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} +79 -41
- 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/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/groups.d.ts +1 -0
- package/dist/types/element/src/index.d.ts +43 -2
- package/dist/types/element/src/linearElementEditor.d.ts +23 -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 +236 -0
- package/dist/types/element/src/textElement.d.ts +5 -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 +39 -51
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +26 -34
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +175 -227
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +78 -100
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +13 -17
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +39 -50
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +12 -16
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +41 -50
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +13 -17
- package/dist/types/excalidraw/actions/actionExport.d.ts +127 -163
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +73 -40
- package/dist/types/excalidraw/actions/actionFrame.d.ts +99 -115
- package/dist/types/excalidraw/actions/actionGroup.d.ts +26 -34
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +538 -18
- package/dist/types/excalidraw/actions/actionLink.d.ts +12 -16
- package/dist/types/excalidraw/actions/actionMenu.d.ts +36 -48
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +25 -33
- package/dist/types/excalidraw/actions/actionProperties.d.ts +203 -255
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +13 -17
- package/dist/types/excalidraw/actions/actionStyles.d.ts +13 -17
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +13 -17
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +13 -17
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +12 -189
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +13 -17
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +13 -17
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +13 -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/Actions.d.ts +0 -4
- package/dist/types/excalidraw/components/App.d.ts +34 -22
- 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/Ellipsify.d.ts +4 -0
- 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/reconcile.d.ts +1 -0
- package/dist/types/excalidraw/data/restore.d.ts +6 -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 +12 -0
- 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 +11 -10
- package/dist/types/excalidraw/lasso/index.d.ts +1 -0
- package/dist/types/excalidraw/lasso/utils.d.ts +3 -3
- package/dist/types/excalidraw/renderer/helpers.d.ts +7 -2
- package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
- 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 +35 -14
- 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/types.d.ts +1 -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 +146 -109
- package/package.json +12 -9
- package/dist/dev/chunk-H7XJ5UVD.js +0 -7
- package/dist/dev/chunk-H7XJ5UVD.js.map +0 -7
- package/dist/dev/chunk-KYBDXI6F.js +0 -18739
- package/dist/dev/chunk-KYBDXI6F.js.map +0 -7
- package/dist/dev/chunk-X3RYHLJU.js.map +0 -7
- package/dist/prod/chunk-CAN5RS4P.js +0 -31
- package/dist/prod/chunk-IUH5AXLB.js +0 -12
- package/dist/prod/chunk-KJYFYP64.js +0 -7
- package/dist/prod/data/image-5XD47O4X.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-NKFINVKH.js.map → image-IWGLHPIX.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,18 @@ 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/linearElementEditor").LinearElementEditor | null;
|
|
90
88
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
91
89
|
selectedGroupIds: {
|
|
92
90
|
[groupId: string]: boolean;
|
|
93
91
|
};
|
|
94
|
-
selectedLinearElement: import("@excalidraw/element
|
|
92
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
95
93
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
96
94
|
isBindingEnabled: boolean;
|
|
97
|
-
suggestedBindings: import("@excalidraw/element
|
|
95
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
98
96
|
isRotating: boolean;
|
|
99
97
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
100
98
|
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
@@ -122,24 +120,11 @@ export declare const actionClearCanvas: {
|
|
|
122
120
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
123
121
|
isCropping: boolean;
|
|
124
122
|
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
|
-
}>;
|
|
123
|
+
searchMatches: Readonly<{
|
|
124
|
+
focusedId: string | null;
|
|
125
|
+
matches: readonly import("../types").SearchMatch[];
|
|
126
|
+
}> | null;
|
|
127
|
+
activeLockedId: string | null;
|
|
143
128
|
contextMenu: {
|
|
144
129
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
145
130
|
top: number;
|
|
@@ -153,6 +138,7 @@ export declare const actionClearCanvas: {
|
|
|
153
138
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
154
139
|
editingFrame: string | null;
|
|
155
140
|
exportWithDarkMode: boolean;
|
|
141
|
+
exportScale: number;
|
|
156
142
|
currentItemStrokeColor: string;
|
|
157
143
|
currentItemBackgroundColor: string;
|
|
158
144
|
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
@@ -165,12 +151,13 @@ export declare const actionClearCanvas: {
|
|
|
165
151
|
currentItemTextAlign: string;
|
|
166
152
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
167
153
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
154
|
+
currentHoveredFontFamily: number | null;
|
|
168
155
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
169
156
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
170
157
|
cursorButton: "up" | "down";
|
|
171
158
|
scrolledOutside: boolean;
|
|
172
159
|
isResizing: boolean;
|
|
173
|
-
openMenu: "
|
|
160
|
+
openMenu: "canvas" | "shape" | null;
|
|
174
161
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
175
162
|
openSidebar: {
|
|
176
163
|
name: string;
|
|
@@ -178,9 +165,14 @@ export declare const actionClearCanvas: {
|
|
|
178
165
|
} | null;
|
|
179
166
|
defaultSidebarDockedPreference: boolean;
|
|
180
167
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
168
|
+
hoveredElementIds: Readonly<{
|
|
169
|
+
[id: string]: true;
|
|
170
|
+
}>;
|
|
181
171
|
previousSelectedElementIds: {
|
|
182
172
|
[id: string]: true;
|
|
183
173
|
};
|
|
174
|
+
selectedElementsAreBeingDragged: boolean;
|
|
175
|
+
shouldCacheIgnoreZoom: boolean;
|
|
184
176
|
toast: {
|
|
185
177
|
message: string;
|
|
186
178
|
closable?: boolean | undefined;
|
|
@@ -193,8 +185,12 @@ export declare const actionClearCanvas: {
|
|
|
193
185
|
x: number;
|
|
194
186
|
y: number;
|
|
195
187
|
} | null;
|
|
188
|
+
objectsSnapModeEnabled: boolean;
|
|
196
189
|
userToFollow: import("../types").UserToFollow | null;
|
|
197
190
|
followedBy: Set<import("../types").SocketId>;
|
|
191
|
+
lockedMultiSelections: {
|
|
192
|
+
[groupId: string]: true;
|
|
193
|
+
};
|
|
198
194
|
};
|
|
199
195
|
captureUpdate: "IMMEDIATELY";
|
|
200
196
|
};
|
|
@@ -227,7 +223,7 @@ export declare const actionZoomIn: {
|
|
|
227
223
|
errorMessage: import("react").ReactNode;
|
|
228
224
|
activeEmbeddable: {
|
|
229
225
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
230
|
-
state: "
|
|
226
|
+
state: "active" | "hover";
|
|
231
227
|
} | null;
|
|
232
228
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
233
229
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -235,7 +231,7 @@ export declare const actionZoomIn: {
|
|
|
235
231
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
236
232
|
isBindingEnabled: boolean;
|
|
237
233
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
238
|
-
suggestedBindings: import("@excalidraw/element
|
|
234
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
239
235
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
240
236
|
frameRendering: {
|
|
241
237
|
enabled: boolean;
|
|
@@ -246,7 +242,6 @@ export declare const actionZoomIn: {
|
|
|
246
242
|
editingFrame: string | null;
|
|
247
243
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
248
244
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
249
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
250
245
|
activeTool: {
|
|
251
246
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
252
247
|
locked: boolean;
|
|
@@ -279,7 +274,7 @@ export declare const actionZoomIn: {
|
|
|
279
274
|
name: string | null;
|
|
280
275
|
isResizing: boolean;
|
|
281
276
|
isRotating: boolean;
|
|
282
|
-
openMenu: "
|
|
277
|
+
openMenu: "canvas" | "shape" | null;
|
|
283
278
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
284
279
|
openSidebar: {
|
|
285
280
|
name: string;
|
|
@@ -289,7 +284,7 @@ export declare const actionZoomIn: {
|
|
|
289
284
|
name: "imageExport" | "help" | "jsonExport";
|
|
290
285
|
} | {
|
|
291
286
|
name: "ttd";
|
|
292
|
-
tab: "text-to-diagram"
|
|
287
|
+
tab: "mermaid" | "text-to-diagram";
|
|
293
288
|
} | {
|
|
294
289
|
name: "commandPalette";
|
|
295
290
|
} | {
|
|
@@ -361,9 +356,8 @@ export declare const actionZoomIn: {
|
|
|
361
356
|
shown: true;
|
|
362
357
|
data: import("../charts").Spreadsheet;
|
|
363
358
|
};
|
|
364
|
-
pendingImageElementId: string | null;
|
|
365
359
|
showHyperlinkPopup: false | "editor" | "info";
|
|
366
|
-
selectedLinearElement: import("@excalidraw/element
|
|
360
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
367
361
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
368
362
|
originSnapOffset: {
|
|
369
363
|
x: number;
|
|
@@ -373,16 +367,14 @@ export declare const actionZoomIn: {
|
|
|
373
367
|
followedBy: Set<import("../types").SocketId>;
|
|
374
368
|
isCropping: boolean;
|
|
375
369
|
croppingElementId: string | null;
|
|
376
|
-
searchMatches:
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
}[];
|
|
385
|
-
}[];
|
|
370
|
+
searchMatches: Readonly<{
|
|
371
|
+
focusedId: string | null;
|
|
372
|
+
matches: readonly import("../types").SearchMatch[];
|
|
373
|
+
}> | null;
|
|
374
|
+
activeLockedId: string | null;
|
|
375
|
+
lockedMultiSelections: {
|
|
376
|
+
[groupId: string]: true;
|
|
377
|
+
};
|
|
386
378
|
};
|
|
387
379
|
captureUpdate: "EVENTUALLY";
|
|
388
380
|
};
|
|
@@ -417,7 +409,7 @@ export declare const actionZoomOut: {
|
|
|
417
409
|
errorMessage: import("react").ReactNode;
|
|
418
410
|
activeEmbeddable: {
|
|
419
411
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
420
|
-
state: "
|
|
412
|
+
state: "active" | "hover";
|
|
421
413
|
} | null;
|
|
422
414
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
423
415
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -425,7 +417,7 @@ export declare const actionZoomOut: {
|
|
|
425
417
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
426
418
|
isBindingEnabled: boolean;
|
|
427
419
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
428
|
-
suggestedBindings: import("@excalidraw/element
|
|
420
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
429
421
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
430
422
|
frameRendering: {
|
|
431
423
|
enabled: boolean;
|
|
@@ -436,7 +428,6 @@ export declare const actionZoomOut: {
|
|
|
436
428
|
editingFrame: string | null;
|
|
437
429
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
438
430
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
439
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
440
431
|
activeTool: {
|
|
441
432
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
442
433
|
locked: boolean;
|
|
@@ -469,7 +460,7 @@ export declare const actionZoomOut: {
|
|
|
469
460
|
name: string | null;
|
|
470
461
|
isResizing: boolean;
|
|
471
462
|
isRotating: boolean;
|
|
472
|
-
openMenu: "
|
|
463
|
+
openMenu: "canvas" | "shape" | null;
|
|
473
464
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
474
465
|
openSidebar: {
|
|
475
466
|
name: string;
|
|
@@ -479,7 +470,7 @@ export declare const actionZoomOut: {
|
|
|
479
470
|
name: "imageExport" | "help" | "jsonExport";
|
|
480
471
|
} | {
|
|
481
472
|
name: "ttd";
|
|
482
|
-
tab: "text-to-diagram"
|
|
473
|
+
tab: "mermaid" | "text-to-diagram";
|
|
483
474
|
} | {
|
|
484
475
|
name: "commandPalette";
|
|
485
476
|
} | {
|
|
@@ -551,9 +542,8 @@ export declare const actionZoomOut: {
|
|
|
551
542
|
shown: true;
|
|
552
543
|
data: import("../charts").Spreadsheet;
|
|
553
544
|
};
|
|
554
|
-
pendingImageElementId: string | null;
|
|
555
545
|
showHyperlinkPopup: false | "editor" | "info";
|
|
556
|
-
selectedLinearElement: import("@excalidraw/element
|
|
546
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
557
547
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
558
548
|
originSnapOffset: {
|
|
559
549
|
x: number;
|
|
@@ -563,16 +553,14 @@ export declare const actionZoomOut: {
|
|
|
563
553
|
followedBy: Set<import("../types").SocketId>;
|
|
564
554
|
isCropping: boolean;
|
|
565
555
|
croppingElementId: string | null;
|
|
566
|
-
searchMatches:
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
}[];
|
|
575
|
-
}[];
|
|
556
|
+
searchMatches: Readonly<{
|
|
557
|
+
focusedId: string | null;
|
|
558
|
+
matches: readonly import("../types").SearchMatch[];
|
|
559
|
+
}> | null;
|
|
560
|
+
activeLockedId: string | null;
|
|
561
|
+
lockedMultiSelections: {
|
|
562
|
+
[groupId: string]: true;
|
|
563
|
+
};
|
|
576
564
|
};
|
|
577
565
|
captureUpdate: "EVENTUALLY";
|
|
578
566
|
};
|
|
@@ -607,7 +595,7 @@ export declare const actionResetZoom: {
|
|
|
607
595
|
errorMessage: import("react").ReactNode;
|
|
608
596
|
activeEmbeddable: {
|
|
609
597
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
610
|
-
state: "
|
|
598
|
+
state: "active" | "hover";
|
|
611
599
|
} | null;
|
|
612
600
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
613
601
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -615,7 +603,7 @@ export declare const actionResetZoom: {
|
|
|
615
603
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
616
604
|
isBindingEnabled: boolean;
|
|
617
605
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
618
|
-
suggestedBindings: import("@excalidraw/element
|
|
606
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
619
607
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
620
608
|
frameRendering: {
|
|
621
609
|
enabled: boolean;
|
|
@@ -626,7 +614,6 @@ export declare const actionResetZoom: {
|
|
|
626
614
|
editingFrame: string | null;
|
|
627
615
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
628
616
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
629
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
630
617
|
activeTool: {
|
|
631
618
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
632
619
|
locked: boolean;
|
|
@@ -659,7 +646,7 @@ export declare const actionResetZoom: {
|
|
|
659
646
|
name: string | null;
|
|
660
647
|
isResizing: boolean;
|
|
661
648
|
isRotating: boolean;
|
|
662
|
-
openMenu: "
|
|
649
|
+
openMenu: "canvas" | "shape" | null;
|
|
663
650
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
664
651
|
openSidebar: {
|
|
665
652
|
name: string;
|
|
@@ -669,7 +656,7 @@ export declare const actionResetZoom: {
|
|
|
669
656
|
name: "imageExport" | "help" | "jsonExport";
|
|
670
657
|
} | {
|
|
671
658
|
name: "ttd";
|
|
672
|
-
tab: "text-to-diagram"
|
|
659
|
+
tab: "mermaid" | "text-to-diagram";
|
|
673
660
|
} | {
|
|
674
661
|
name: "commandPalette";
|
|
675
662
|
} | {
|
|
@@ -741,9 +728,8 @@ export declare const actionResetZoom: {
|
|
|
741
728
|
shown: true;
|
|
742
729
|
data: import("../charts").Spreadsheet;
|
|
743
730
|
};
|
|
744
|
-
pendingImageElementId: string | null;
|
|
745
731
|
showHyperlinkPopup: false | "editor" | "info";
|
|
746
|
-
selectedLinearElement: import("@excalidraw/element
|
|
732
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
747
733
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
748
734
|
originSnapOffset: {
|
|
749
735
|
x: number;
|
|
@@ -753,16 +739,14 @@ export declare const actionResetZoom: {
|
|
|
753
739
|
followedBy: Set<import("../types").SocketId>;
|
|
754
740
|
isCropping: boolean;
|
|
755
741
|
croppingElementId: string | null;
|
|
756
|
-
searchMatches:
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
}[];
|
|
765
|
-
}[];
|
|
742
|
+
searchMatches: Readonly<{
|
|
743
|
+
focusedId: string | null;
|
|
744
|
+
matches: readonly import("../types").SearchMatch[];
|
|
745
|
+
}> | null;
|
|
746
|
+
activeLockedId: string | null;
|
|
747
|
+
lockedMultiSelections: {
|
|
748
|
+
[groupId: string]: true;
|
|
749
|
+
};
|
|
766
750
|
};
|
|
767
751
|
captureUpdate: "EVENTUALLY";
|
|
768
752
|
};
|
|
@@ -803,7 +787,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
803
787
|
errorMessage: import("react").ReactNode;
|
|
804
788
|
activeEmbeddable: {
|
|
805
789
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
806
|
-
state: "
|
|
790
|
+
state: "active" | "hover";
|
|
807
791
|
} | null;
|
|
808
792
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
809
793
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -811,7 +795,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
811
795
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
812
796
|
isBindingEnabled: boolean;
|
|
813
797
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
814
|
-
suggestedBindings: import("@excalidraw/element
|
|
798
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
815
799
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
816
800
|
frameRendering: {
|
|
817
801
|
enabled: boolean;
|
|
@@ -822,7 +806,6 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
822
806
|
editingFrame: string | null;
|
|
823
807
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
824
808
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
825
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
826
809
|
activeTool: {
|
|
827
810
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
828
811
|
locked: boolean;
|
|
@@ -855,7 +838,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
855
838
|
name: string | null;
|
|
856
839
|
isResizing: boolean;
|
|
857
840
|
isRotating: boolean;
|
|
858
|
-
openMenu: "
|
|
841
|
+
openMenu: "canvas" | "shape" | null;
|
|
859
842
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
860
843
|
openSidebar: {
|
|
861
844
|
name: string;
|
|
@@ -865,7 +848,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
865
848
|
name: "imageExport" | "help" | "jsonExport";
|
|
866
849
|
} | {
|
|
867
850
|
name: "ttd";
|
|
868
|
-
tab: "text-to-diagram"
|
|
851
|
+
tab: "mermaid" | "text-to-diagram";
|
|
869
852
|
} | {
|
|
870
853
|
name: "commandPalette";
|
|
871
854
|
} | {
|
|
@@ -937,9 +920,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
937
920
|
shown: true;
|
|
938
921
|
data: import("../charts").Spreadsheet;
|
|
939
922
|
};
|
|
940
|
-
pendingImageElementId: string | null;
|
|
941
923
|
showHyperlinkPopup: false | "editor" | "info";
|
|
942
|
-
selectedLinearElement: import("@excalidraw/element
|
|
924
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
943
925
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
944
926
|
originSnapOffset: {
|
|
945
927
|
x: number;
|
|
@@ -950,16 +932,14 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
950
932
|
followedBy: Set<import("../types").SocketId>;
|
|
951
933
|
isCropping: boolean;
|
|
952
934
|
croppingElementId: string | null;
|
|
953
|
-
searchMatches:
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
}[];
|
|
962
|
-
}[];
|
|
935
|
+
searchMatches: Readonly<{
|
|
936
|
+
focusedId: string | null;
|
|
937
|
+
matches: readonly import("../types").SearchMatch[];
|
|
938
|
+
}> | null;
|
|
939
|
+
activeLockedId: string | null;
|
|
940
|
+
lockedMultiSelections: {
|
|
941
|
+
[groupId: string]: true;
|
|
942
|
+
};
|
|
963
943
|
};
|
|
964
944
|
captureUpdate: "EVENTUALLY";
|
|
965
945
|
};
|
|
@@ -995,7 +975,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
995
975
|
errorMessage: import("react").ReactNode;
|
|
996
976
|
activeEmbeddable: {
|
|
997
977
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
998
|
-
state: "
|
|
978
|
+
state: "active" | "hover";
|
|
999
979
|
} | null;
|
|
1000
980
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1001
981
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1003,7 +983,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1003
983
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1004
984
|
isBindingEnabled: boolean;
|
|
1005
985
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1006
|
-
suggestedBindings: import("@excalidraw/element
|
|
986
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1007
987
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1008
988
|
frameRendering: {
|
|
1009
989
|
enabled: boolean;
|
|
@@ -1014,7 +994,6 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1014
994
|
editingFrame: string | null;
|
|
1015
995
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1016
996
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1017
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1018
997
|
activeTool: {
|
|
1019
998
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1020
999
|
locked: boolean;
|
|
@@ -1047,7 +1026,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1047
1026
|
name: string | null;
|
|
1048
1027
|
isResizing: boolean;
|
|
1049
1028
|
isRotating: boolean;
|
|
1050
|
-
openMenu: "
|
|
1029
|
+
openMenu: "canvas" | "shape" | null;
|
|
1051
1030
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1052
1031
|
openSidebar: {
|
|
1053
1032
|
name: string;
|
|
@@ -1057,7 +1036,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1057
1036
|
name: "imageExport" | "help" | "jsonExport";
|
|
1058
1037
|
} | {
|
|
1059
1038
|
name: "ttd";
|
|
1060
|
-
tab: "text-to-diagram"
|
|
1039
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1061
1040
|
} | {
|
|
1062
1041
|
name: "commandPalette";
|
|
1063
1042
|
} | {
|
|
@@ -1129,9 +1108,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1129
1108
|
shown: true;
|
|
1130
1109
|
data: import("../charts").Spreadsheet;
|
|
1131
1110
|
};
|
|
1132
|
-
pendingImageElementId: string | null;
|
|
1133
1111
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1134
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1112
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1135
1113
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1136
1114
|
originSnapOffset: {
|
|
1137
1115
|
x: number;
|
|
@@ -1142,16 +1120,14 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1142
1120
|
followedBy: Set<import("../types").SocketId>;
|
|
1143
1121
|
isCropping: boolean;
|
|
1144
1122
|
croppingElementId: string | null;
|
|
1145
|
-
searchMatches:
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
}[];
|
|
1154
|
-
}[];
|
|
1123
|
+
searchMatches: Readonly<{
|
|
1124
|
+
focusedId: string | null;
|
|
1125
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1126
|
+
}> | null;
|
|
1127
|
+
activeLockedId: string | null;
|
|
1128
|
+
lockedMultiSelections: {
|
|
1129
|
+
[groupId: string]: true;
|
|
1130
|
+
};
|
|
1155
1131
|
};
|
|
1156
1132
|
captureUpdate: "EVENTUALLY";
|
|
1157
1133
|
};
|
|
@@ -1179,7 +1155,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1179
1155
|
errorMessage: import("react").ReactNode;
|
|
1180
1156
|
activeEmbeddable: {
|
|
1181
1157
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1182
|
-
state: "
|
|
1158
|
+
state: "active" | "hover";
|
|
1183
1159
|
} | null;
|
|
1184
1160
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1185
1161
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1187,7 +1163,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1187
1163
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1188
1164
|
isBindingEnabled: boolean;
|
|
1189
1165
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1190
|
-
suggestedBindings: import("@excalidraw/element
|
|
1166
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1191
1167
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1192
1168
|
frameRendering: {
|
|
1193
1169
|
enabled: boolean;
|
|
@@ -1198,7 +1174,6 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1198
1174
|
editingFrame: string | null;
|
|
1199
1175
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1200
1176
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1201
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1202
1177
|
activeTool: {
|
|
1203
1178
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1204
1179
|
locked: boolean;
|
|
@@ -1231,7 +1206,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1231
1206
|
name: string | null;
|
|
1232
1207
|
isResizing: boolean;
|
|
1233
1208
|
isRotating: boolean;
|
|
1234
|
-
openMenu: "
|
|
1209
|
+
openMenu: "canvas" | "shape" | null;
|
|
1235
1210
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1236
1211
|
openSidebar: {
|
|
1237
1212
|
name: string;
|
|
@@ -1241,7 +1216,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1241
1216
|
name: "imageExport" | "help" | "jsonExport";
|
|
1242
1217
|
} | {
|
|
1243
1218
|
name: "ttd";
|
|
1244
|
-
tab: "text-to-diagram"
|
|
1219
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1245
1220
|
} | {
|
|
1246
1221
|
name: "commandPalette";
|
|
1247
1222
|
} | {
|
|
@@ -1313,9 +1288,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1313
1288
|
shown: true;
|
|
1314
1289
|
data: import("../charts").Spreadsheet;
|
|
1315
1290
|
};
|
|
1316
|
-
pendingImageElementId: string | null;
|
|
1317
1291
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1318
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1292
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1319
1293
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1320
1294
|
originSnapOffset: {
|
|
1321
1295
|
x: number;
|
|
@@ -1326,16 +1300,14 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1326
1300
|
followedBy: Set<import("../types").SocketId>;
|
|
1327
1301
|
isCropping: boolean;
|
|
1328
1302
|
croppingElementId: string | null;
|
|
1329
|
-
searchMatches:
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
}[];
|
|
1338
|
-
}[];
|
|
1303
|
+
searchMatches: Readonly<{
|
|
1304
|
+
focusedId: string | null;
|
|
1305
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1306
|
+
}> | null;
|
|
1307
|
+
activeLockedId: string | null;
|
|
1308
|
+
lockedMultiSelections: {
|
|
1309
|
+
[groupId: string]: true;
|
|
1310
|
+
};
|
|
1339
1311
|
};
|
|
1340
1312
|
captureUpdate: "EVENTUALLY";
|
|
1341
1313
|
};
|
|
@@ -1367,7 +1339,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1367
1339
|
errorMessage: import("react").ReactNode;
|
|
1368
1340
|
activeEmbeddable: {
|
|
1369
1341
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1370
|
-
state: "
|
|
1342
|
+
state: "active" | "hover";
|
|
1371
1343
|
} | null;
|
|
1372
1344
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1373
1345
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1375,7 +1347,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1375
1347
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1376
1348
|
isBindingEnabled: boolean;
|
|
1377
1349
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1378
|
-
suggestedBindings: import("@excalidraw/element
|
|
1350
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1379
1351
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1380
1352
|
frameRendering: {
|
|
1381
1353
|
enabled: boolean;
|
|
@@ -1386,7 +1358,6 @@ export declare const actionZoomToFitSelection: {
|
|
|
1386
1358
|
editingFrame: string | null;
|
|
1387
1359
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1388
1360
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1389
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1390
1361
|
activeTool: {
|
|
1391
1362
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1392
1363
|
locked: boolean;
|
|
@@ -1419,7 +1390,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1419
1390
|
name: string | null;
|
|
1420
1391
|
isResizing: boolean;
|
|
1421
1392
|
isRotating: boolean;
|
|
1422
|
-
openMenu: "
|
|
1393
|
+
openMenu: "canvas" | "shape" | null;
|
|
1423
1394
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1424
1395
|
openSidebar: {
|
|
1425
1396
|
name: string;
|
|
@@ -1429,7 +1400,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1429
1400
|
name: "imageExport" | "help" | "jsonExport";
|
|
1430
1401
|
} | {
|
|
1431
1402
|
name: "ttd";
|
|
1432
|
-
tab: "text-to-diagram"
|
|
1403
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1433
1404
|
} | {
|
|
1434
1405
|
name: "commandPalette";
|
|
1435
1406
|
} | {
|
|
@@ -1501,9 +1472,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
1501
1472
|
shown: true;
|
|
1502
1473
|
data: import("../charts").Spreadsheet;
|
|
1503
1474
|
};
|
|
1504
|
-
pendingImageElementId: string | null;
|
|
1505
1475
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1506
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1476
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1507
1477
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1508
1478
|
originSnapOffset: {
|
|
1509
1479
|
x: number;
|
|
@@ -1514,16 +1484,14 @@ export declare const actionZoomToFitSelection: {
|
|
|
1514
1484
|
followedBy: Set<import("../types").SocketId>;
|
|
1515
1485
|
isCropping: boolean;
|
|
1516
1486
|
croppingElementId: string | null;
|
|
1517
|
-
searchMatches:
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
}[];
|
|
1526
|
-
}[];
|
|
1487
|
+
searchMatches: Readonly<{
|
|
1488
|
+
focusedId: string | null;
|
|
1489
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1490
|
+
}> | null;
|
|
1491
|
+
activeLockedId: string | null;
|
|
1492
|
+
lockedMultiSelections: {
|
|
1493
|
+
[groupId: string]: true;
|
|
1494
|
+
};
|
|
1527
1495
|
};
|
|
1528
1496
|
captureUpdate: "EVENTUALLY";
|
|
1529
1497
|
};
|
|
@@ -1556,7 +1524,7 @@ export declare const actionZoomToFit: {
|
|
|
1556
1524
|
errorMessage: import("react").ReactNode;
|
|
1557
1525
|
activeEmbeddable: {
|
|
1558
1526
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1559
|
-
state: "
|
|
1527
|
+
state: "active" | "hover";
|
|
1560
1528
|
} | null;
|
|
1561
1529
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1562
1530
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1564,7 +1532,7 @@ export declare const actionZoomToFit: {
|
|
|
1564
1532
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1565
1533
|
isBindingEnabled: boolean;
|
|
1566
1534
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1567
|
-
suggestedBindings: import("@excalidraw/element
|
|
1535
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1568
1536
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1569
1537
|
frameRendering: {
|
|
1570
1538
|
enabled: boolean;
|
|
@@ -1575,7 +1543,6 @@ export declare const actionZoomToFit: {
|
|
|
1575
1543
|
editingFrame: string | null;
|
|
1576
1544
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1577
1545
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1578
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1579
1546
|
activeTool: {
|
|
1580
1547
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1581
1548
|
locked: boolean;
|
|
@@ -1608,7 +1575,7 @@ export declare const actionZoomToFit: {
|
|
|
1608
1575
|
name: string | null;
|
|
1609
1576
|
isResizing: boolean;
|
|
1610
1577
|
isRotating: boolean;
|
|
1611
|
-
openMenu: "
|
|
1578
|
+
openMenu: "canvas" | "shape" | null;
|
|
1612
1579
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1613
1580
|
openSidebar: {
|
|
1614
1581
|
name: string;
|
|
@@ -1618,7 +1585,7 @@ export declare const actionZoomToFit: {
|
|
|
1618
1585
|
name: "imageExport" | "help" | "jsonExport";
|
|
1619
1586
|
} | {
|
|
1620
1587
|
name: "ttd";
|
|
1621
|
-
tab: "text-to-diagram"
|
|
1588
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1622
1589
|
} | {
|
|
1623
1590
|
name: "commandPalette";
|
|
1624
1591
|
} | {
|
|
@@ -1690,9 +1657,8 @@ export declare const actionZoomToFit: {
|
|
|
1690
1657
|
shown: true;
|
|
1691
1658
|
data: import("../charts").Spreadsheet;
|
|
1692
1659
|
};
|
|
1693
|
-
pendingImageElementId: string | null;
|
|
1694
1660
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1695
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1661
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1696
1662
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1697
1663
|
originSnapOffset: {
|
|
1698
1664
|
x: number;
|
|
@@ -1703,16 +1669,14 @@ export declare const actionZoomToFit: {
|
|
|
1703
1669
|
followedBy: Set<import("../types").SocketId>;
|
|
1704
1670
|
isCropping: boolean;
|
|
1705
1671
|
croppingElementId: string | null;
|
|
1706
|
-
searchMatches:
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
}[];
|
|
1715
|
-
}[];
|
|
1672
|
+
searchMatches: Readonly<{
|
|
1673
|
+
focusedId: string | null;
|
|
1674
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1675
|
+
}> | null;
|
|
1676
|
+
activeLockedId: string | null;
|
|
1677
|
+
lockedMultiSelections: {
|
|
1678
|
+
[groupId: string]: true;
|
|
1679
|
+
};
|
|
1716
1680
|
};
|
|
1717
1681
|
captureUpdate: "EVENTUALLY";
|
|
1718
1682
|
};
|
|
@@ -1742,7 +1706,7 @@ export declare const actionToggleTheme: {
|
|
|
1742
1706
|
errorMessage: import("react").ReactNode;
|
|
1743
1707
|
activeEmbeddable: {
|
|
1744
1708
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1745
|
-
state: "
|
|
1709
|
+
state: "active" | "hover";
|
|
1746
1710
|
} | null;
|
|
1747
1711
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1748
1712
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1750,7 +1714,7 @@ export declare const actionToggleTheme: {
|
|
|
1750
1714
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1751
1715
|
isBindingEnabled: boolean;
|
|
1752
1716
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1753
|
-
suggestedBindings: import("@excalidraw/element
|
|
1717
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1754
1718
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1755
1719
|
frameRendering: {
|
|
1756
1720
|
enabled: boolean;
|
|
@@ -1761,7 +1725,6 @@ export declare const actionToggleTheme: {
|
|
|
1761
1725
|
editingFrame: string | null;
|
|
1762
1726
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1763
1727
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1764
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1765
1728
|
activeTool: {
|
|
1766
1729
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1767
1730
|
locked: boolean;
|
|
@@ -1799,7 +1762,7 @@ export declare const actionToggleTheme: {
|
|
|
1799
1762
|
zoom: Readonly<{
|
|
1800
1763
|
value: import("../types").NormalizedZoomValue;
|
|
1801
1764
|
}>;
|
|
1802
|
-
openMenu: "
|
|
1765
|
+
openMenu: "canvas" | "shape" | null;
|
|
1803
1766
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1804
1767
|
openSidebar: {
|
|
1805
1768
|
name: string;
|
|
@@ -1809,7 +1772,7 @@ export declare const actionToggleTheme: {
|
|
|
1809
1772
|
name: "imageExport" | "help" | "jsonExport";
|
|
1810
1773
|
} | {
|
|
1811
1774
|
name: "ttd";
|
|
1812
|
-
tab: "text-to-diagram"
|
|
1775
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1813
1776
|
} | {
|
|
1814
1777
|
name: "commandPalette";
|
|
1815
1778
|
} | {
|
|
@@ -1880,9 +1843,8 @@ export declare const actionToggleTheme: {
|
|
|
1880
1843
|
shown: true;
|
|
1881
1844
|
data: import("../charts").Spreadsheet;
|
|
1882
1845
|
};
|
|
1883
|
-
pendingImageElementId: string | null;
|
|
1884
1846
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1885
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1847
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1886
1848
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1887
1849
|
originSnapOffset: {
|
|
1888
1850
|
x: number;
|
|
@@ -1893,16 +1855,14 @@ export declare const actionToggleTheme: {
|
|
|
1893
1855
|
followedBy: Set<import("../types").SocketId>;
|
|
1894
1856
|
isCropping: boolean;
|
|
1895
1857
|
croppingElementId: string | null;
|
|
1896
|
-
searchMatches:
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
}[];
|
|
1905
|
-
}[];
|
|
1858
|
+
searchMatches: Readonly<{
|
|
1859
|
+
focusedId: string | null;
|
|
1860
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1861
|
+
}> | null;
|
|
1862
|
+
activeLockedId: string | null;
|
|
1863
|
+
lockedMultiSelections: {
|
|
1864
|
+
[groupId: string]: true;
|
|
1865
|
+
};
|
|
1906
1866
|
};
|
|
1907
1867
|
captureUpdate: "EVENTUALLY";
|
|
1908
1868
|
};
|
|
@@ -1941,7 +1901,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1941
1901
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1942
1902
|
isBindingEnabled: boolean;
|
|
1943
1903
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1944
|
-
suggestedBindings: import("@excalidraw/element
|
|
1904
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1945
1905
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1946
1906
|
frameRendering: {
|
|
1947
1907
|
enabled: boolean;
|
|
@@ -1952,7 +1912,6 @@ export declare const actionToggleEraserTool: {
|
|
|
1952
1912
|
editingFrame: string | null;
|
|
1953
1913
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1954
1914
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1955
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1956
1915
|
penMode: boolean;
|
|
1957
1916
|
penDetected: boolean;
|
|
1958
1917
|
exportBackground: boolean;
|
|
@@ -1985,7 +1944,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1985
1944
|
zoom: Readonly<{
|
|
1986
1945
|
value: import("../types").NormalizedZoomValue;
|
|
1987
1946
|
}>;
|
|
1988
|
-
openMenu: "
|
|
1947
|
+
openMenu: "canvas" | "shape" | null;
|
|
1989
1948
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1990
1949
|
openSidebar: {
|
|
1991
1950
|
name: string;
|
|
@@ -1995,7 +1954,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1995
1954
|
name: "imageExport" | "help" | "jsonExport";
|
|
1996
1955
|
} | {
|
|
1997
1956
|
name: "ttd";
|
|
1998
|
-
tab: "text-to-diagram"
|
|
1957
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1999
1958
|
} | {
|
|
2000
1959
|
name: "commandPalette";
|
|
2001
1960
|
} | {
|
|
@@ -2061,9 +2020,8 @@ export declare const actionToggleEraserTool: {
|
|
|
2061
2020
|
shown: true;
|
|
2062
2021
|
data: import("../charts").Spreadsheet;
|
|
2063
2022
|
};
|
|
2064
|
-
pendingImageElementId: string | null;
|
|
2065
2023
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2066
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2024
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2067
2025
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2068
2026
|
originSnapOffset: {
|
|
2069
2027
|
x: number;
|
|
@@ -2074,16 +2032,14 @@ export declare const actionToggleEraserTool: {
|
|
|
2074
2032
|
followedBy: Set<import("../types").SocketId>;
|
|
2075
2033
|
isCropping: boolean;
|
|
2076
2034
|
croppingElementId: string | null;
|
|
2077
|
-
searchMatches:
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
}[];
|
|
2086
|
-
}[];
|
|
2035
|
+
searchMatches: Readonly<{
|
|
2036
|
+
focusedId: string | null;
|
|
2037
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2038
|
+
}> | null;
|
|
2039
|
+
activeLockedId: string | null;
|
|
2040
|
+
lockedMultiSelections: {
|
|
2041
|
+
[groupId: string]: true;
|
|
2042
|
+
};
|
|
2087
2043
|
};
|
|
2088
2044
|
captureUpdate: "IMMEDIATELY";
|
|
2089
2045
|
};
|
|
@@ -2122,7 +2078,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2122
2078
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2123
2079
|
isBindingEnabled: boolean;
|
|
2124
2080
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2125
|
-
suggestedBindings: import("@excalidraw/element
|
|
2081
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2126
2082
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2127
2083
|
frameRendering: {
|
|
2128
2084
|
enabled: boolean;
|
|
@@ -2133,7 +2089,6 @@ export declare const actionToggleLassoTool: {
|
|
|
2133
2089
|
editingFrame: string | null;
|
|
2134
2090
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2135
2091
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2136
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
2137
2092
|
penMode: boolean;
|
|
2138
2093
|
penDetected: boolean;
|
|
2139
2094
|
exportBackground: boolean;
|
|
@@ -2166,7 +2121,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2166
2121
|
zoom: Readonly<{
|
|
2167
2122
|
value: import("../types").NormalizedZoomValue;
|
|
2168
2123
|
}>;
|
|
2169
|
-
openMenu: "
|
|
2124
|
+
openMenu: "canvas" | "shape" | null;
|
|
2170
2125
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2171
2126
|
openSidebar: {
|
|
2172
2127
|
name: string;
|
|
@@ -2176,7 +2131,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2176
2131
|
name: "imageExport" | "help" | "jsonExport";
|
|
2177
2132
|
} | {
|
|
2178
2133
|
name: "ttd";
|
|
2179
|
-
tab: "text-to-diagram"
|
|
2134
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2180
2135
|
} | {
|
|
2181
2136
|
name: "commandPalette";
|
|
2182
2137
|
} | {
|
|
@@ -2242,9 +2197,8 @@ export declare const actionToggleLassoTool: {
|
|
|
2242
2197
|
shown: true;
|
|
2243
2198
|
data: import("../charts").Spreadsheet;
|
|
2244
2199
|
};
|
|
2245
|
-
pendingImageElementId: string | null;
|
|
2246
2200
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2247
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2201
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2248
2202
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2249
2203
|
originSnapOffset: {
|
|
2250
2204
|
x: number;
|
|
@@ -2255,16 +2209,14 @@ export declare const actionToggleLassoTool: {
|
|
|
2255
2209
|
followedBy: Set<import("../types").SocketId>;
|
|
2256
2210
|
isCropping: boolean;
|
|
2257
2211
|
croppingElementId: string | null;
|
|
2258
|
-
searchMatches:
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
}[];
|
|
2267
|
-
}[];
|
|
2212
|
+
searchMatches: Readonly<{
|
|
2213
|
+
focusedId: string | null;
|
|
2214
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2215
|
+
}> | null;
|
|
2216
|
+
activeLockedId: string | null;
|
|
2217
|
+
lockedMultiSelections: {
|
|
2218
|
+
[groupId: string]: true;
|
|
2219
|
+
};
|
|
2268
2220
|
};
|
|
2269
2221
|
captureUpdate: "NEVER";
|
|
2270
2222
|
};
|
|
@@ -2303,7 +2255,7 @@ export declare const actionToggleHandTool: {
|
|
|
2303
2255
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2304
2256
|
isBindingEnabled: boolean;
|
|
2305
2257
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2306
|
-
suggestedBindings: import("@excalidraw/element
|
|
2258
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2307
2259
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2308
2260
|
frameRendering: {
|
|
2309
2261
|
enabled: boolean;
|
|
@@ -2314,7 +2266,6 @@ export declare const actionToggleHandTool: {
|
|
|
2314
2266
|
editingFrame: string | null;
|
|
2315
2267
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2316
2268
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2317
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
2318
2269
|
penMode: boolean;
|
|
2319
2270
|
penDetected: boolean;
|
|
2320
2271
|
exportBackground: boolean;
|
|
@@ -2347,7 +2298,7 @@ export declare const actionToggleHandTool: {
|
|
|
2347
2298
|
zoom: Readonly<{
|
|
2348
2299
|
value: import("../types").NormalizedZoomValue;
|
|
2349
2300
|
}>;
|
|
2350
|
-
openMenu: "
|
|
2301
|
+
openMenu: "canvas" | "shape" | null;
|
|
2351
2302
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2352
2303
|
openSidebar: {
|
|
2353
2304
|
name: string;
|
|
@@ -2357,7 +2308,7 @@ export declare const actionToggleHandTool: {
|
|
|
2357
2308
|
name: "imageExport" | "help" | "jsonExport";
|
|
2358
2309
|
} | {
|
|
2359
2310
|
name: "ttd";
|
|
2360
|
-
tab: "text-to-diagram"
|
|
2311
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2361
2312
|
} | {
|
|
2362
2313
|
name: "commandPalette";
|
|
2363
2314
|
} | {
|
|
@@ -2423,9 +2374,8 @@ export declare const actionToggleHandTool: {
|
|
|
2423
2374
|
shown: true;
|
|
2424
2375
|
data: import("../charts").Spreadsheet;
|
|
2425
2376
|
};
|
|
2426
|
-
pendingImageElementId: string | null;
|
|
2427
2377
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2428
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2378
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2429
2379
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2430
2380
|
originSnapOffset: {
|
|
2431
2381
|
x: number;
|
|
@@ -2436,16 +2386,14 @@ export declare const actionToggleHandTool: {
|
|
|
2436
2386
|
followedBy: Set<import("../types").SocketId>;
|
|
2437
2387
|
isCropping: boolean;
|
|
2438
2388
|
croppingElementId: string | null;
|
|
2439
|
-
searchMatches:
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
}[];
|
|
2448
|
-
}[];
|
|
2389
|
+
searchMatches: Readonly<{
|
|
2390
|
+
focusedId: string | null;
|
|
2391
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2392
|
+
}> | null;
|
|
2393
|
+
activeLockedId: string | null;
|
|
2394
|
+
lockedMultiSelections: {
|
|
2395
|
+
[groupId: string]: true;
|
|
2396
|
+
};
|
|
2449
2397
|
};
|
|
2450
2398
|
captureUpdate: "IMMEDIATELY";
|
|
2451
2399
|
};
|