@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
|
@@ -18,7 +18,7 @@ export declare const actionChangeProjectName: {
|
|
|
18
18
|
errorMessage: import("react").ReactNode;
|
|
19
19
|
activeEmbeddable: {
|
|
20
20
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
21
|
-
state: "
|
|
21
|
+
state: "active" | "hover";
|
|
22
22
|
} | null;
|
|
23
23
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
24
24
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -26,7 +26,7 @@ export declare const actionChangeProjectName: {
|
|
|
26
26
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
27
27
|
isBindingEnabled: boolean;
|
|
28
28
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
29
|
-
suggestedBindings: import("@excalidraw/element
|
|
29
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
30
30
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
31
31
|
frameRendering: {
|
|
32
32
|
enabled: boolean;
|
|
@@ -37,7 +37,7 @@ export declare const actionChangeProjectName: {
|
|
|
37
37
|
editingFrame: string | null;
|
|
38
38
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
39
39
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
40
|
-
editingLinearElement: import("@excalidraw/element
|
|
40
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
41
41
|
activeTool: {
|
|
42
42
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
43
43
|
locked: boolean;
|
|
@@ -74,7 +74,7 @@ export declare const actionChangeProjectName: {
|
|
|
74
74
|
zoom: Readonly<{
|
|
75
75
|
value: import("../types").NormalizedZoomValue;
|
|
76
76
|
}>;
|
|
77
|
-
openMenu: "
|
|
77
|
+
openMenu: "canvas" | "shape" | null;
|
|
78
78
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
79
79
|
openSidebar: {
|
|
80
80
|
name: string;
|
|
@@ -84,7 +84,7 @@ export declare const actionChangeProjectName: {
|
|
|
84
84
|
name: "imageExport" | "help" | "jsonExport";
|
|
85
85
|
} | {
|
|
86
86
|
name: "ttd";
|
|
87
|
-
tab: "text-to-diagram"
|
|
87
|
+
tab: "mermaid" | "text-to-diagram";
|
|
88
88
|
} | {
|
|
89
89
|
name: "commandPalette";
|
|
90
90
|
} | {
|
|
@@ -156,9 +156,8 @@ export declare const actionChangeProjectName: {
|
|
|
156
156
|
shown: true;
|
|
157
157
|
data: import("../charts").Spreadsheet;
|
|
158
158
|
};
|
|
159
|
-
pendingImageElementId: string | null;
|
|
160
159
|
showHyperlinkPopup: false | "editor" | "info";
|
|
161
|
-
selectedLinearElement: import("@excalidraw/element
|
|
160
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
162
161
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
163
162
|
originSnapOffset: {
|
|
164
163
|
x: number;
|
|
@@ -169,16 +168,14 @@ export declare const actionChangeProjectName: {
|
|
|
169
168
|
followedBy: Set<import("../types").SocketId>;
|
|
170
169
|
isCropping: boolean;
|
|
171
170
|
croppingElementId: string | null;
|
|
172
|
-
searchMatches:
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
}[];
|
|
181
|
-
}[];
|
|
171
|
+
searchMatches: Readonly<{
|
|
172
|
+
focusedId: string | null;
|
|
173
|
+
matches: readonly import("../types").SearchMatch[];
|
|
174
|
+
}> | null;
|
|
175
|
+
activeLockedId: string | null;
|
|
176
|
+
lockedMultiSelections: {
|
|
177
|
+
[groupId: string]: true;
|
|
178
|
+
};
|
|
182
179
|
};
|
|
183
180
|
captureUpdate: "EVENTUALLY";
|
|
184
181
|
};
|
|
@@ -206,7 +203,7 @@ export declare const actionChangeExportScale: {
|
|
|
206
203
|
errorMessage: import("react").ReactNode;
|
|
207
204
|
activeEmbeddable: {
|
|
208
205
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
209
|
-
state: "
|
|
206
|
+
state: "active" | "hover";
|
|
210
207
|
} | null;
|
|
211
208
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
212
209
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -214,7 +211,7 @@ export declare const actionChangeExportScale: {
|
|
|
214
211
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
215
212
|
isBindingEnabled: boolean;
|
|
216
213
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
217
|
-
suggestedBindings: import("@excalidraw/element
|
|
214
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
218
215
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
219
216
|
frameRendering: {
|
|
220
217
|
enabled: boolean;
|
|
@@ -225,7 +222,7 @@ export declare const actionChangeExportScale: {
|
|
|
225
222
|
editingFrame: string | null;
|
|
226
223
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
227
224
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
228
|
-
editingLinearElement: import("@excalidraw/element
|
|
225
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
229
226
|
activeTool: {
|
|
230
227
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
231
228
|
locked: boolean;
|
|
@@ -262,7 +259,7 @@ export declare const actionChangeExportScale: {
|
|
|
262
259
|
zoom: Readonly<{
|
|
263
260
|
value: import("../types").NormalizedZoomValue;
|
|
264
261
|
}>;
|
|
265
|
-
openMenu: "
|
|
262
|
+
openMenu: "canvas" | "shape" | null;
|
|
266
263
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
267
264
|
openSidebar: {
|
|
268
265
|
name: string;
|
|
@@ -272,7 +269,7 @@ export declare const actionChangeExportScale: {
|
|
|
272
269
|
name: "imageExport" | "help" | "jsonExport";
|
|
273
270
|
} | {
|
|
274
271
|
name: "ttd";
|
|
275
|
-
tab: "text-to-diagram"
|
|
272
|
+
tab: "mermaid" | "text-to-diagram";
|
|
276
273
|
} | {
|
|
277
274
|
name: "commandPalette";
|
|
278
275
|
} | {
|
|
@@ -344,9 +341,8 @@ export declare const actionChangeExportScale: {
|
|
|
344
341
|
shown: true;
|
|
345
342
|
data: import("../charts").Spreadsheet;
|
|
346
343
|
};
|
|
347
|
-
pendingImageElementId: string | null;
|
|
348
344
|
showHyperlinkPopup: false | "editor" | "info";
|
|
349
|
-
selectedLinearElement: import("@excalidraw/element
|
|
345
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
350
346
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
351
347
|
originSnapOffset: {
|
|
352
348
|
x: number;
|
|
@@ -357,16 +353,14 @@ export declare const actionChangeExportScale: {
|
|
|
357
353
|
followedBy: Set<import("../types").SocketId>;
|
|
358
354
|
isCropping: boolean;
|
|
359
355
|
croppingElementId: string | null;
|
|
360
|
-
searchMatches:
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
}[];
|
|
369
|
-
}[];
|
|
356
|
+
searchMatches: Readonly<{
|
|
357
|
+
focusedId: string | null;
|
|
358
|
+
matches: readonly import("../types").SearchMatch[];
|
|
359
|
+
}> | null;
|
|
360
|
+
activeLockedId: string | null;
|
|
361
|
+
lockedMultiSelections: {
|
|
362
|
+
[groupId: string]: true;
|
|
363
|
+
};
|
|
370
364
|
};
|
|
371
365
|
captureUpdate: "EVENTUALLY";
|
|
372
366
|
};
|
|
@@ -394,7 +388,7 @@ export declare const actionChangeExportBackground: {
|
|
|
394
388
|
errorMessage: import("react").ReactNode;
|
|
395
389
|
activeEmbeddable: {
|
|
396
390
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
397
|
-
state: "
|
|
391
|
+
state: "active" | "hover";
|
|
398
392
|
} | null;
|
|
399
393
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
400
394
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -402,7 +396,7 @@ export declare const actionChangeExportBackground: {
|
|
|
402
396
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
403
397
|
isBindingEnabled: boolean;
|
|
404
398
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
405
|
-
suggestedBindings: import("@excalidraw/element
|
|
399
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
406
400
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
407
401
|
frameRendering: {
|
|
408
402
|
enabled: boolean;
|
|
@@ -413,7 +407,7 @@ export declare const actionChangeExportBackground: {
|
|
|
413
407
|
editingFrame: string | null;
|
|
414
408
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
415
409
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
416
|
-
editingLinearElement: import("@excalidraw/element
|
|
410
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
417
411
|
activeTool: {
|
|
418
412
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
419
413
|
locked: boolean;
|
|
@@ -450,7 +444,7 @@ export declare const actionChangeExportBackground: {
|
|
|
450
444
|
zoom: Readonly<{
|
|
451
445
|
value: import("../types").NormalizedZoomValue;
|
|
452
446
|
}>;
|
|
453
|
-
openMenu: "
|
|
447
|
+
openMenu: "canvas" | "shape" | null;
|
|
454
448
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
455
449
|
openSidebar: {
|
|
456
450
|
name: string;
|
|
@@ -460,7 +454,7 @@ export declare const actionChangeExportBackground: {
|
|
|
460
454
|
name: "imageExport" | "help" | "jsonExport";
|
|
461
455
|
} | {
|
|
462
456
|
name: "ttd";
|
|
463
|
-
tab: "text-to-diagram"
|
|
457
|
+
tab: "mermaid" | "text-to-diagram";
|
|
464
458
|
} | {
|
|
465
459
|
name: "commandPalette";
|
|
466
460
|
} | {
|
|
@@ -532,9 +526,8 @@ export declare const actionChangeExportBackground: {
|
|
|
532
526
|
shown: true;
|
|
533
527
|
data: import("../charts").Spreadsheet;
|
|
534
528
|
};
|
|
535
|
-
pendingImageElementId: string | null;
|
|
536
529
|
showHyperlinkPopup: false | "editor" | "info";
|
|
537
|
-
selectedLinearElement: import("@excalidraw/element
|
|
530
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
538
531
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
539
532
|
originSnapOffset: {
|
|
540
533
|
x: number;
|
|
@@ -545,16 +538,14 @@ export declare const actionChangeExportBackground: {
|
|
|
545
538
|
followedBy: Set<import("../types").SocketId>;
|
|
546
539
|
isCropping: boolean;
|
|
547
540
|
croppingElementId: string | null;
|
|
548
|
-
searchMatches:
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
}[];
|
|
557
|
-
}[];
|
|
541
|
+
searchMatches: Readonly<{
|
|
542
|
+
focusedId: string | null;
|
|
543
|
+
matches: readonly import("../types").SearchMatch[];
|
|
544
|
+
}> | null;
|
|
545
|
+
activeLockedId: string | null;
|
|
546
|
+
lockedMultiSelections: {
|
|
547
|
+
[groupId: string]: true;
|
|
548
|
+
};
|
|
558
549
|
};
|
|
559
550
|
captureUpdate: "EVENTUALLY";
|
|
560
551
|
};
|
|
@@ -582,7 +573,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
582
573
|
errorMessage: import("react").ReactNode;
|
|
583
574
|
activeEmbeddable: {
|
|
584
575
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
585
|
-
state: "
|
|
576
|
+
state: "active" | "hover";
|
|
586
577
|
} | null;
|
|
587
578
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
588
579
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -590,7 +581,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
590
581
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
591
582
|
isBindingEnabled: boolean;
|
|
592
583
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
593
|
-
suggestedBindings: import("@excalidraw/element
|
|
584
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
594
585
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
595
586
|
frameRendering: {
|
|
596
587
|
enabled: boolean;
|
|
@@ -601,7 +592,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
601
592
|
editingFrame: string | null;
|
|
602
593
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
603
594
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
604
|
-
editingLinearElement: import("@excalidraw/element
|
|
595
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
605
596
|
activeTool: {
|
|
606
597
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
607
598
|
locked: boolean;
|
|
@@ -638,7 +629,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
638
629
|
zoom: Readonly<{
|
|
639
630
|
value: import("../types").NormalizedZoomValue;
|
|
640
631
|
}>;
|
|
641
|
-
openMenu: "
|
|
632
|
+
openMenu: "canvas" | "shape" | null;
|
|
642
633
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
643
634
|
openSidebar: {
|
|
644
635
|
name: string;
|
|
@@ -648,7 +639,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
648
639
|
name: "imageExport" | "help" | "jsonExport";
|
|
649
640
|
} | {
|
|
650
641
|
name: "ttd";
|
|
651
|
-
tab: "text-to-diagram"
|
|
642
|
+
tab: "mermaid" | "text-to-diagram";
|
|
652
643
|
} | {
|
|
653
644
|
name: "commandPalette";
|
|
654
645
|
} | {
|
|
@@ -720,9 +711,8 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
720
711
|
shown: true;
|
|
721
712
|
data: import("../charts").Spreadsheet;
|
|
722
713
|
};
|
|
723
|
-
pendingImageElementId: string | null;
|
|
724
714
|
showHyperlinkPopup: false | "editor" | "info";
|
|
725
|
-
selectedLinearElement: import("@excalidraw/element
|
|
715
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
726
716
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
727
717
|
originSnapOffset: {
|
|
728
718
|
x: number;
|
|
@@ -733,16 +723,14 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
733
723
|
followedBy: Set<import("../types").SocketId>;
|
|
734
724
|
isCropping: boolean;
|
|
735
725
|
croppingElementId: string | null;
|
|
736
|
-
searchMatches:
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
}[];
|
|
745
|
-
}[];
|
|
726
|
+
searchMatches: Readonly<{
|
|
727
|
+
focusedId: string | null;
|
|
728
|
+
matches: readonly import("../types").SearchMatch[];
|
|
729
|
+
}> | null;
|
|
730
|
+
activeLockedId: string | null;
|
|
731
|
+
lockedMultiSelections: {
|
|
732
|
+
[groupId: string]: true;
|
|
733
|
+
};
|
|
746
734
|
};
|
|
747
735
|
captureUpdate: "EVENTUALLY";
|
|
748
736
|
};
|
|
@@ -775,7 +763,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
775
763
|
errorMessage: import("react").ReactNode;
|
|
776
764
|
activeEmbeddable: {
|
|
777
765
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
778
|
-
state: "
|
|
766
|
+
state: "active" | "hover";
|
|
779
767
|
} | null;
|
|
780
768
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
781
769
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -783,7 +771,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
783
771
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
784
772
|
isBindingEnabled: boolean;
|
|
785
773
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
786
|
-
suggestedBindings: import("@excalidraw/element
|
|
774
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
787
775
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
788
776
|
frameRendering: {
|
|
789
777
|
enabled: boolean;
|
|
@@ -794,7 +782,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
794
782
|
editingFrame: string | null;
|
|
795
783
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
796
784
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
797
|
-
editingLinearElement: import("@excalidraw/element
|
|
785
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
798
786
|
activeTool: {
|
|
799
787
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
800
788
|
locked: boolean;
|
|
@@ -832,7 +820,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
832
820
|
zoom: Readonly<{
|
|
833
821
|
value: import("../types").NormalizedZoomValue;
|
|
834
822
|
}>;
|
|
835
|
-
openMenu: "
|
|
823
|
+
openMenu: "canvas" | "shape" | null;
|
|
836
824
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
837
825
|
openSidebar: {
|
|
838
826
|
name: string;
|
|
@@ -842,7 +830,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
842
830
|
name: "imageExport" | "help" | "jsonExport";
|
|
843
831
|
} | {
|
|
844
832
|
name: "ttd";
|
|
845
|
-
tab: "text-to-diagram"
|
|
833
|
+
tab: "mermaid" | "text-to-diagram";
|
|
846
834
|
} | {
|
|
847
835
|
name: "commandPalette";
|
|
848
836
|
} | {
|
|
@@ -908,9 +896,8 @@ export declare const actionSaveToActiveFile: {
|
|
|
908
896
|
shown: true;
|
|
909
897
|
data: import("../charts").Spreadsheet;
|
|
910
898
|
};
|
|
911
|
-
pendingImageElementId: string | null;
|
|
912
899
|
showHyperlinkPopup: false | "editor" | "info";
|
|
913
|
-
selectedLinearElement: import("@excalidraw/element
|
|
900
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
914
901
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
915
902
|
originSnapOffset: {
|
|
916
903
|
x: number;
|
|
@@ -921,16 +908,14 @@ export declare const actionSaveToActiveFile: {
|
|
|
921
908
|
followedBy: Set<import("../types").SocketId>;
|
|
922
909
|
isCropping: boolean;
|
|
923
910
|
croppingElementId: string | null;
|
|
924
|
-
searchMatches:
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
}[];
|
|
933
|
-
}[];
|
|
911
|
+
searchMatches: Readonly<{
|
|
912
|
+
focusedId: string | null;
|
|
913
|
+
matches: readonly import("../types").SearchMatch[];
|
|
914
|
+
}> | null;
|
|
915
|
+
activeLockedId: string | null;
|
|
916
|
+
lockedMultiSelections: {
|
|
917
|
+
[groupId: string]: true;
|
|
918
|
+
};
|
|
934
919
|
};
|
|
935
920
|
} | {
|
|
936
921
|
captureUpdate: "EVENTUALLY";
|
|
@@ -966,7 +951,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
966
951
|
errorMessage: import("react").ReactNode;
|
|
967
952
|
activeEmbeddable: {
|
|
968
953
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
969
|
-
state: "
|
|
954
|
+
state: "active" | "hover";
|
|
970
955
|
} | null;
|
|
971
956
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
972
957
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -974,7 +959,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
974
959
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
975
960
|
isBindingEnabled: boolean;
|
|
976
961
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
977
|
-
suggestedBindings: import("@excalidraw/element
|
|
962
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
978
963
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
979
964
|
frameRendering: {
|
|
980
965
|
enabled: boolean;
|
|
@@ -985,7 +970,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
985
970
|
editingFrame: string | null;
|
|
986
971
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
987
972
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
988
|
-
editingLinearElement: import("@excalidraw/element
|
|
973
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
989
974
|
activeTool: {
|
|
990
975
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
991
976
|
locked: boolean;
|
|
@@ -1023,7 +1008,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
1023
1008
|
zoom: Readonly<{
|
|
1024
1009
|
value: import("../types").NormalizedZoomValue;
|
|
1025
1010
|
}>;
|
|
1026
|
-
openMenu: "
|
|
1011
|
+
openMenu: "canvas" | "shape" | null;
|
|
1027
1012
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1028
1013
|
openSidebar: {
|
|
1029
1014
|
name: string;
|
|
@@ -1088,9 +1073,8 @@ export declare const actionSaveFileToDisk: {
|
|
|
1088
1073
|
shown: true;
|
|
1089
1074
|
data: import("../charts").Spreadsheet;
|
|
1090
1075
|
};
|
|
1091
|
-
pendingImageElementId: string | null;
|
|
1092
1076
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1093
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1077
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1094
1078
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1095
1079
|
originSnapOffset: {
|
|
1096
1080
|
x: number;
|
|
@@ -1101,16 +1085,14 @@ export declare const actionSaveFileToDisk: {
|
|
|
1101
1085
|
followedBy: Set<import("../types").SocketId>;
|
|
1102
1086
|
isCropping: boolean;
|
|
1103
1087
|
croppingElementId: string | null;
|
|
1104
|
-
searchMatches:
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
}[];
|
|
1113
|
-
}[];
|
|
1088
|
+
searchMatches: Readonly<{
|
|
1089
|
+
focusedId: string | null;
|
|
1090
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1091
|
+
}> | null;
|
|
1092
|
+
activeLockedId: string | null;
|
|
1093
|
+
lockedMultiSelections: {
|
|
1094
|
+
[groupId: string]: true;
|
|
1095
|
+
};
|
|
1114
1096
|
};
|
|
1115
1097
|
} | {
|
|
1116
1098
|
captureUpdate: "EVENTUALLY";
|
|
@@ -1149,7 +1131,7 @@ export declare const actionLoadScene: {
|
|
|
1149
1131
|
name: "imageExport" | "help" | "jsonExport";
|
|
1150
1132
|
} | {
|
|
1151
1133
|
name: "ttd";
|
|
1152
|
-
tab: "text-to-diagram"
|
|
1134
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1153
1135
|
} | {
|
|
1154
1136
|
name: "commandPalette";
|
|
1155
1137
|
} | {
|
|
@@ -1162,20 +1144,19 @@ export declare const actionLoadScene: {
|
|
|
1162
1144
|
}>;
|
|
1163
1145
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1164
1146
|
theme: Theme;
|
|
1165
|
-
pendingImageElementId: string | null;
|
|
1166
1147
|
activeEmbeddable: {
|
|
1167
1148
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1168
|
-
state: "
|
|
1149
|
+
state: "active" | "hover";
|
|
1169
1150
|
} | null;
|
|
1170
|
-
editingLinearElement: import("@excalidraw/element
|
|
1151
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1171
1152
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1172
1153
|
selectedGroupIds: {
|
|
1173
1154
|
[groupId: string]: boolean;
|
|
1174
1155
|
};
|
|
1175
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1156
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1176
1157
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1177
1158
|
isBindingEnabled: boolean;
|
|
1178
|
-
suggestedBindings: import("@excalidraw/element
|
|
1159
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1179
1160
|
isRotating: boolean;
|
|
1180
1161
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1181
1162
|
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
@@ -1203,27 +1184,11 @@ export declare const actionLoadScene: {
|
|
|
1203
1184
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1204
1185
|
isCropping: boolean;
|
|
1205
1186
|
croppingElementId: string | null;
|
|
1206
|
-
searchMatches:
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
offsetY: number;
|
|
1212
|
-
width: number;
|
|
1213
|
-
height: number;
|
|
1214
|
-
}[];
|
|
1215
|
-
}[];
|
|
1216
|
-
gridModeEnabled: boolean;
|
|
1217
|
-
objectsSnapModeEnabled: boolean;
|
|
1218
|
-
shouldCacheIgnoreZoom: boolean;
|
|
1219
|
-
exportScale: number;
|
|
1220
|
-
selectedElementsAreBeingDragged: boolean;
|
|
1221
|
-
gridSize: number;
|
|
1222
|
-
gridStep: number;
|
|
1223
|
-
currentHoveredFontFamily: number | null;
|
|
1224
|
-
hoveredElementIds: Readonly<{
|
|
1225
|
-
[id: string]: true;
|
|
1226
|
-
}>;
|
|
1187
|
+
searchMatches: Readonly<{
|
|
1188
|
+
focusedId: string | null;
|
|
1189
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1190
|
+
}> | null;
|
|
1191
|
+
activeLockedId: string | null;
|
|
1227
1192
|
contextMenu: {
|
|
1228
1193
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1229
1194
|
top: number;
|
|
@@ -1246,6 +1211,7 @@ export declare const actionLoadScene: {
|
|
|
1246
1211
|
exportBackground: boolean;
|
|
1247
1212
|
exportEmbedScene: boolean;
|
|
1248
1213
|
exportWithDarkMode: boolean;
|
|
1214
|
+
exportScale: number;
|
|
1249
1215
|
currentItemStrokeColor: string;
|
|
1250
1216
|
currentItemBackgroundColor: string;
|
|
1251
1217
|
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
@@ -1258,12 +1224,13 @@ export declare const actionLoadScene: {
|
|
|
1258
1224
|
currentItemTextAlign: string;
|
|
1259
1225
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1260
1226
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1227
|
+
currentHoveredFontFamily: number | null;
|
|
1261
1228
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1262
1229
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1263
1230
|
cursorButton: "up" | "down";
|
|
1264
1231
|
scrolledOutside: boolean;
|
|
1265
1232
|
isResizing: boolean;
|
|
1266
|
-
openMenu: "
|
|
1233
|
+
openMenu: "canvas" | "shape" | null;
|
|
1267
1234
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1268
1235
|
openSidebar: {
|
|
1269
1236
|
name: string;
|
|
@@ -1271,14 +1238,22 @@ export declare const actionLoadScene: {
|
|
|
1271
1238
|
} | null;
|
|
1272
1239
|
defaultSidebarDockedPreference: boolean;
|
|
1273
1240
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1241
|
+
hoveredElementIds: Readonly<{
|
|
1242
|
+
[id: string]: true;
|
|
1243
|
+
}>;
|
|
1274
1244
|
previousSelectedElementIds: {
|
|
1275
1245
|
[id: string]: true;
|
|
1276
1246
|
};
|
|
1247
|
+
selectedElementsAreBeingDragged: boolean;
|
|
1248
|
+
shouldCacheIgnoreZoom: boolean;
|
|
1277
1249
|
toast: {
|
|
1278
1250
|
message: string;
|
|
1279
1251
|
closable?: boolean | undefined;
|
|
1280
1252
|
duration?: number | undefined;
|
|
1281
1253
|
} | null;
|
|
1254
|
+
gridSize: number;
|
|
1255
|
+
gridStep: number;
|
|
1256
|
+
gridModeEnabled: boolean;
|
|
1282
1257
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1283
1258
|
stats: {
|
|
1284
1259
|
open: boolean;
|
|
@@ -1297,8 +1272,12 @@ export declare const actionLoadScene: {
|
|
|
1297
1272
|
x: number;
|
|
1298
1273
|
y: number;
|
|
1299
1274
|
} | null;
|
|
1275
|
+
objectsSnapModeEnabled: boolean;
|
|
1300
1276
|
userToFollow: import("../types").UserToFollow | null;
|
|
1301
1277
|
followedBy: Set<import("../types").SocketId>;
|
|
1278
|
+
lockedMultiSelections: {
|
|
1279
|
+
[groupId: string]: true;
|
|
1280
|
+
};
|
|
1302
1281
|
};
|
|
1303
1282
|
files: import("../types").BinaryFiles;
|
|
1304
1283
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -1315,7 +1294,7 @@ export declare const actionLoadScene: {
|
|
|
1315
1294
|
isLoading: boolean;
|
|
1316
1295
|
activeEmbeddable: {
|
|
1317
1296
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1318
|
-
state: "
|
|
1297
|
+
state: "active" | "hover";
|
|
1319
1298
|
} | null;
|
|
1320
1299
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1321
1300
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1323,7 +1302,7 @@ export declare const actionLoadScene: {
|
|
|
1323
1302
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1324
1303
|
isBindingEnabled: boolean;
|
|
1325
1304
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1326
|
-
suggestedBindings: import("@excalidraw/element
|
|
1305
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1327
1306
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1328
1307
|
frameRendering: {
|
|
1329
1308
|
enabled: boolean;
|
|
@@ -1334,7 +1313,7 @@ export declare const actionLoadScene: {
|
|
|
1334
1313
|
editingFrame: string | null;
|
|
1335
1314
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1336
1315
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1337
|
-
editingLinearElement: import("@excalidraw/element
|
|
1316
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1338
1317
|
activeTool: {
|
|
1339
1318
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1340
1319
|
locked: boolean;
|
|
@@ -1372,7 +1351,7 @@ export declare const actionLoadScene: {
|
|
|
1372
1351
|
zoom: Readonly<{
|
|
1373
1352
|
value: import("../types").NormalizedZoomValue;
|
|
1374
1353
|
}>;
|
|
1375
|
-
openMenu: "
|
|
1354
|
+
openMenu: "canvas" | "shape" | null;
|
|
1376
1355
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1377
1356
|
openSidebar: {
|
|
1378
1357
|
name: string;
|
|
@@ -1382,7 +1361,7 @@ export declare const actionLoadScene: {
|
|
|
1382
1361
|
name: "imageExport" | "help" | "jsonExport";
|
|
1383
1362
|
} | {
|
|
1384
1363
|
name: "ttd";
|
|
1385
|
-
tab: "text-to-diagram"
|
|
1364
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1386
1365
|
} | {
|
|
1387
1366
|
name: "commandPalette";
|
|
1388
1367
|
} | {
|
|
@@ -1454,9 +1433,8 @@ export declare const actionLoadScene: {
|
|
|
1454
1433
|
shown: true;
|
|
1455
1434
|
data: import("../charts").Spreadsheet;
|
|
1456
1435
|
};
|
|
1457
|
-
pendingImageElementId: string | null;
|
|
1458
1436
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1459
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1437
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1460
1438
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1461
1439
|
originSnapOffset: {
|
|
1462
1440
|
x: number;
|
|
@@ -1467,16 +1445,14 @@ export declare const actionLoadScene: {
|
|
|
1467
1445
|
followedBy: Set<import("../types").SocketId>;
|
|
1468
1446
|
isCropping: boolean;
|
|
1469
1447
|
croppingElementId: string | null;
|
|
1470
|
-
searchMatches:
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
}[];
|
|
1479
|
-
}[];
|
|
1448
|
+
searchMatches: Readonly<{
|
|
1449
|
+
focusedId: string | null;
|
|
1450
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1451
|
+
}> | null;
|
|
1452
|
+
activeLockedId: string | null;
|
|
1453
|
+
lockedMultiSelections: {
|
|
1454
|
+
[groupId: string]: true;
|
|
1455
|
+
};
|
|
1480
1456
|
};
|
|
1481
1457
|
files: import("../types").BinaryFiles;
|
|
1482
1458
|
captureUpdate: "EVENTUALLY";
|
|
@@ -1505,7 +1481,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1505
1481
|
errorMessage: import("react").ReactNode;
|
|
1506
1482
|
activeEmbeddable: {
|
|
1507
1483
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1508
|
-
state: "
|
|
1484
|
+
state: "active" | "hover";
|
|
1509
1485
|
} | null;
|
|
1510
1486
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1511
1487
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1513,7 +1489,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1513
1489
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1514
1490
|
isBindingEnabled: boolean;
|
|
1515
1491
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1516
|
-
suggestedBindings: import("@excalidraw/element
|
|
1492
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1517
1493
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1518
1494
|
frameRendering: {
|
|
1519
1495
|
enabled: boolean;
|
|
@@ -1524,7 +1500,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1524
1500
|
editingFrame: string | null;
|
|
1525
1501
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1526
1502
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1527
|
-
editingLinearElement: import("@excalidraw/element
|
|
1503
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1528
1504
|
activeTool: {
|
|
1529
1505
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1530
1506
|
locked: boolean;
|
|
@@ -1561,7 +1537,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1561
1537
|
zoom: Readonly<{
|
|
1562
1538
|
value: import("../types").NormalizedZoomValue;
|
|
1563
1539
|
}>;
|
|
1564
|
-
openMenu: "
|
|
1540
|
+
openMenu: "canvas" | "shape" | null;
|
|
1565
1541
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1566
1542
|
openSidebar: {
|
|
1567
1543
|
name: string;
|
|
@@ -1571,7 +1547,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1571
1547
|
name: "imageExport" | "help" | "jsonExport";
|
|
1572
1548
|
} | {
|
|
1573
1549
|
name: "ttd";
|
|
1574
|
-
tab: "text-to-diagram"
|
|
1550
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1575
1551
|
} | {
|
|
1576
1552
|
name: "commandPalette";
|
|
1577
1553
|
} | {
|
|
@@ -1643,9 +1619,8 @@ export declare const actionExportWithDarkMode: {
|
|
|
1643
1619
|
shown: true;
|
|
1644
1620
|
data: import("../charts").Spreadsheet;
|
|
1645
1621
|
};
|
|
1646
|
-
pendingImageElementId: string | null;
|
|
1647
1622
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1648
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1623
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1649
1624
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1650
1625
|
originSnapOffset: {
|
|
1651
1626
|
x: number;
|
|
@@ -1656,16 +1631,14 @@ export declare const actionExportWithDarkMode: {
|
|
|
1656
1631
|
followedBy: Set<import("../types").SocketId>;
|
|
1657
1632
|
isCropping: boolean;
|
|
1658
1633
|
croppingElementId: string | null;
|
|
1659
|
-
searchMatches:
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
}[];
|
|
1668
|
-
}[];
|
|
1634
|
+
searchMatches: Readonly<{
|
|
1635
|
+
focusedId: string | null;
|
|
1636
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1637
|
+
}> | null;
|
|
1638
|
+
activeLockedId: string | null;
|
|
1639
|
+
lockedMultiSelections: {
|
|
1640
|
+
[groupId: string]: true;
|
|
1641
|
+
};
|
|
1669
1642
|
};
|
|
1670
1643
|
captureUpdate: "EVENTUALLY";
|
|
1671
1644
|
};
|