@excalidraw/excalidraw 0.18.0-195a743 → 0.18.0-1b287a8ba
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-T3M44BFV.js → chunk-QF5FRM6O.js} +12 -4
- package/dist/dev/chunk-QF5FRM6O.js.map +7 -0
- package/dist/dev/data/{image-TTQKTTOH.js → image-SURZSZNX.js} +3 -3
- package/dist/dev/index.css +89 -22
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +7516 -9372
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-I23TB6DJ.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 +26 -19
- package/dist/prod/locales/{en-TC3OFDA6.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 +19 -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 +15 -5
- package/dist/types/element/src/Scene.d.ts +4 -4
- package/dist/types/element/src/align.d.ts +3 -2
- package/dist/types/element/src/binding.d.ts +11 -8
- package/dist/types/element/src/bounds.d.ts +12 -4
- 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/distribute.d.ts +2 -1
- package/dist/types/element/src/dragElements.d.ts +1 -1
- package/dist/types/element/src/flowchart.d.ts +1 -1
- package/dist/types/element/src/fractionalIndex.d.ts +8 -2
- package/dist/types/element/src/frame.d.ts +3 -2
- 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 +15 -29
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/newElement.d.ts +3 -2
- package/dist/types/element/src/resizeElements.d.ts +2 -1
- package/dist/types/element/src/selection.d.ts +0 -5
- package/dist/types/element/src/shape.d.ts +42 -0
- package/dist/types/element/src/sizeHelpers.d.ts +2 -1
- package/dist/types/element/src/store.d.ts +232 -0
- package/dist/types/element/src/textElement.d.ts +1 -1
- package/dist/types/element/src/typeChecks.d.ts +16 -1
- package/dist/types/element/src/types.d.ts +13 -3
- package/dist/types/element/src/utils.d.ts +16 -6
- package/dist/types/element/src/zindex.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +39 -48
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +26 -32
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +173 -212
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +75 -92
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +13 -16
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +34 -42
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +12 -15
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +41 -48
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +13 -16
- package/dist/types/excalidraw/actions/actionExport.d.ts +127 -154
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +69 -35
- package/dist/types/excalidraw/actions/actionFrame.d.ts +99 -111
- package/dist/types/excalidraw/actions/actionGroup.d.ts +26 -32
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +505 -15
- package/dist/types/excalidraw/actions/actionLink.d.ts +13 -16
- package/dist/types/excalidraw/actions/actionMenu.d.ts +38 -47
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +26 -32
- package/dist/types/excalidraw/actions/actionProperties.d.ts +186 -223
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +12 -15
- package/dist/types/excalidraw/actions/actionStyles.d.ts +13 -16
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +13 -16
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +13 -16
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +12 -188
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +13 -16
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +13 -16
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +13 -16
- package/dist/types/excalidraw/actions/actionZindex.d.ts +2 -2
- package/dist/types/excalidraw/actions/types.d.ts +3 -2
- package/dist/types/excalidraw/appState.d.ts +16 -7
- package/dist/types/excalidraw/components/App.d.ts +18 -20
- 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 +2 -28
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
- 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 +2 -1
- package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -1
- 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/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 +10 -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/snapping.d.ts +2 -2
- package/dist/types/excalidraw/types.d.ts +23 -10
- 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-H3EW23X2.js +0 -18294
- package/dist/dev/chunk-H3EW23X2.js.map +0 -7
- package/dist/dev/chunk-T3M44BFV.js.map +0 -7
- package/dist/dev/chunk-WMGEUIQQ.js +0 -7
- package/dist/dev/chunk-WMGEUIQQ.js.map +0 -7
- package/dist/prod/chunk-2Z7RPVPO.js +0 -12
- package/dist/prod/chunk-7M43VNIB.js +0 -33
- package/dist/prod/chunk-GK4XUKZB.js +0 -7
- package/dist/prod/data/image-7YYIWLVQ.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-TTQKTTOH.js.map → image-SURZSZNX.js.map} +0 -0
- /package/dist/dev/locales/{en-I23TB6DJ.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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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";
|
|
@@ -1131,17 +1113,6 @@ export declare const actionLoadScene: {
|
|
|
1131
1113
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
|
|
1132
1114
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
1133
1115
|
appState: {
|
|
1134
|
-
name: string | null;
|
|
1135
|
-
activeTool: {
|
|
1136
|
-
lastActiveTool: import("../types").ActiveTool | null;
|
|
1137
|
-
locked: boolean;
|
|
1138
|
-
fromSelection: boolean;
|
|
1139
|
-
} & import("../types").ActiveTool;
|
|
1140
|
-
zoom: Readonly<{
|
|
1141
|
-
value: import("../types").NormalizedZoomValue;
|
|
1142
|
-
}>;
|
|
1143
|
-
scrollX: number;
|
|
1144
|
-
scrollY: number;
|
|
1145
1116
|
viewBackgroundColor: string;
|
|
1146
1117
|
frameRendering: {
|
|
1147
1118
|
enabled: boolean;
|
|
@@ -1149,12 +1120,18 @@ export declare const actionLoadScene: {
|
|
|
1149
1120
|
outline: boolean;
|
|
1150
1121
|
clip: boolean;
|
|
1151
1122
|
};
|
|
1123
|
+
name: string | null;
|
|
1124
|
+
zoom: Readonly<{
|
|
1125
|
+
value: import("../types").NormalizedZoomValue;
|
|
1126
|
+
}>;
|
|
1127
|
+
scrollX: number;
|
|
1128
|
+
scrollY: number;
|
|
1152
1129
|
viewModeEnabled: boolean;
|
|
1153
1130
|
openDialog: {
|
|
1154
1131
|
name: "imageExport" | "help" | "jsonExport";
|
|
1155
1132
|
} | {
|
|
1156
1133
|
name: "ttd";
|
|
1157
|
-
tab: "text-to-diagram"
|
|
1134
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1158
1135
|
} | {
|
|
1159
1136
|
name: "commandPalette";
|
|
1160
1137
|
} | {
|
|
@@ -1167,20 +1144,19 @@ export declare const actionLoadScene: {
|
|
|
1167
1144
|
}>;
|
|
1168
1145
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1169
1146
|
theme: Theme;
|
|
1170
|
-
pendingImageElementId: string | null;
|
|
1171
1147
|
activeEmbeddable: {
|
|
1172
1148
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1173
|
-
state: "
|
|
1149
|
+
state: "active" | "hover";
|
|
1174
1150
|
} | null;
|
|
1175
|
-
editingLinearElement: import("@excalidraw/element
|
|
1151
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1176
1152
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1177
1153
|
selectedGroupIds: {
|
|
1178
1154
|
[groupId: string]: boolean;
|
|
1179
1155
|
};
|
|
1180
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1156
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1181
1157
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1182
1158
|
isBindingEnabled: boolean;
|
|
1183
|
-
suggestedBindings: import("@excalidraw/element
|
|
1159
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1184
1160
|
isRotating: boolean;
|
|
1185
1161
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1186
1162
|
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
@@ -1208,16 +1184,11 @@ export declare const actionLoadScene: {
|
|
|
1208
1184
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1209
1185
|
isCropping: boolean;
|
|
1210
1186
|
croppingElementId: string | null;
|
|
1211
|
-
searchMatches:
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
offsetY: number;
|
|
1217
|
-
width: number;
|
|
1218
|
-
height: number;
|
|
1219
|
-
}[];
|
|
1220
|
-
}[];
|
|
1187
|
+
searchMatches: Readonly<{
|
|
1188
|
+
focusedId: string | null;
|
|
1189
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1190
|
+
}> | null;
|
|
1191
|
+
activeLockedId: string | null;
|
|
1221
1192
|
contextMenu: {
|
|
1222
1193
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1223
1194
|
top: number;
|
|
@@ -1230,6 +1201,11 @@ export declare const actionLoadScene: {
|
|
|
1230
1201
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1231
1202
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1232
1203
|
editingFrame: string | null;
|
|
1204
|
+
activeTool: {
|
|
1205
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
1206
|
+
locked: boolean;
|
|
1207
|
+
fromSelection: boolean;
|
|
1208
|
+
} & import("../types").ActiveTool;
|
|
1233
1209
|
penMode: boolean;
|
|
1234
1210
|
penDetected: boolean;
|
|
1235
1211
|
exportBackground: boolean;
|
|
@@ -1299,6 +1275,9 @@ export declare const actionLoadScene: {
|
|
|
1299
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;
|
|
@@ -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;
|
|
@@ -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
|
};
|