@excalidraw/element 0.18.0-2874f9e → 0.18.0-2a82821
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/index.js +5228 -4610
- package/dist/dev/index.js.map +4 -4
- package/dist/prod/index.js +19 -18
- package/dist/types/common/src/appEventBus.d.ts +27 -0
- package/dist/types/common/src/colors.d.ts +2 -2
- package/dist/types/common/src/constants.d.ts +9 -7
- package/dist/types/common/src/index.d.ts +2 -0
- package/dist/types/common/src/utils.d.ts +1 -3
- package/dist/types/common/src/versionedSnapshotStore.d.ts +17 -0
- package/dist/types/element/src/Scene.d.ts +7 -3
- package/dist/types/element/src/arrowheads.d.ts +3 -0
- package/dist/types/element/src/binding.d.ts +3 -4
- package/dist/types/element/src/bounds.d.ts +22 -3
- package/dist/types/element/src/comparisons.d.ts +1 -0
- package/dist/types/element/src/duplicate.d.ts +1 -0
- package/dist/types/element/src/elbowArrow.d.ts +2 -0
- package/dist/types/element/src/frame.d.ts +7 -6
- package/dist/types/element/src/index.d.ts +1 -0
- package/dist/types/element/src/linearElementEditor.d.ts +5 -2
- package/dist/types/element/src/mutateElement.d.ts +2 -0
- package/dist/types/element/src/newElement.d.ts +1 -0
- package/dist/types/element/src/selection.d.ts +7 -3
- package/dist/types/element/src/shape.d.ts +1 -1
- package/dist/types/element/src/textElement.d.ts +1 -1
- package/dist/types/element/src/textWrapping.d.ts +26 -0
- package/dist/types/element/src/typeChecks.d.ts +1 -0
- package/dist/types/element/src/types.d.ts +11 -2
- package/dist/types/element/src/utils.d.ts +2 -2
- package/dist/types/element/src/visualdebug.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +35 -38
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +25 -27
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +144 -156
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +24 -26
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +12 -13
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +36 -39
- package/dist/types/excalidraw/actions/actionDeselect.d.ts +160 -0
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +8 -13
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +24 -26
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +12 -13
- package/dist/types/excalidraw/actions/actionExport.d.ts +67 -349
- package/dist/types/excalidraw/actions/actionFrame.d.ts +49 -52
- package/dist/types/excalidraw/actions/actionGroup.d.ts +25 -27
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +13 -13
- package/dist/types/excalidraw/actions/actionLink.d.ts +12 -13
- package/dist/types/excalidraw/actions/actionMenu.d.ts +8 -13
- package/dist/types/excalidraw/actions/actionProperties.d.ts +36 -29
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +12 -13
- package/dist/types/excalidraw/actions/actionStyles.d.ts +12 -12
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +173 -0
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +12 -13
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +173 -0
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +12 -13
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +8 -13
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +12 -13
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +12 -13
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +12 -13
- package/dist/types/excalidraw/actions/index.d.ts +4 -1
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/{animated-trail.d.ts → animatedTrail.d.ts} +4 -3
- package/dist/types/excalidraw/appState.d.ts +6 -2
- package/dist/types/excalidraw/charts/charts.bar.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.constants.d.ts +48 -0
- package/dist/types/excalidraw/charts/charts.helpers.d.ts +32 -0
- package/dist/types/excalidraw/charts/charts.line.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.parse.d.ts +10 -0
- package/dist/types/excalidraw/charts/charts.radar.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.types.d.ts +18 -0
- package/dist/types/excalidraw/charts/index.d.ts +7 -0
- package/dist/types/excalidraw/clipboard.d.ts +2 -5
- package/dist/types/excalidraw/components/ActiveConfirmDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/App.d.ts +54 -14
- package/dist/types/excalidraw/components/AppStateObserver.d.ts +37 -0
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
- package/dist/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts +1 -2
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +1 -1
- package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
- package/dist/types/excalidraw/components/IconPicker.d.ts +14 -9
- package/dist/types/excalidraw/components/LibraryMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts +1 -1
- package/dist/types/excalidraw/components/PasteChartDialog.d.ts +4 -5
- package/dist/types/excalidraw/components/Range.d.ts +10 -4
- package/dist/types/excalidraw/components/SVGLayer.d.ts +1 -1
- package/dist/types/excalidraw/components/SearchMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/CodeMirrorEditor.d.ts +11 -0
- package/dist/types/excalidraw/components/TTDDialog/TTDContext.d.ts +4 -4
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +3 -3
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +4 -1
- package/dist/types/excalidraw/components/TTDDialog/mermaid-lang-lite.d.ts +2 -0
- package/dist/types/excalidraw/components/TTDDialog/useTTDChatStorage.d.ts +3 -3
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidAutoFix.d.ts +1 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidError.d.ts +10 -0
- package/dist/types/excalidraw/components/Toast.d.ts +8 -4
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -1
- package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -0
- package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +2 -1
- package/dist/types/excalidraw/components/icons.d.ts +19 -8
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +9 -3
- package/dist/types/excalidraw/components/shapes.d.ts +7 -0
- package/dist/types/excalidraw/data/blob.d.ts +31 -34
- package/dist/types/excalidraw/data/filesystem.d.ts +3 -5
- package/dist/types/excalidraw/data/index.d.ts +2 -3
- package/dist/types/excalidraw/data/json.d.ts +30 -23
- package/dist/types/excalidraw/data/library.d.ts +1 -1
- package/dist/types/excalidraw/data/resave.d.ts +7 -2
- package/dist/types/excalidraw/eraser/index.d.ts +2 -3
- package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/dist/types/excalidraw/{laser-trails.d.ts → laserTrails.d.ts} +5 -7
- package/dist/types/excalidraw/lasso/index.d.ts +2 -3
- package/dist/types/excalidraw/renderer/animation.d.ts +4 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +426 -19
- package/dist/types/excalidraw/scene/index.d.ts +1 -1
- package/dist/types/excalidraw/textAutoResizeHandle.d.ts +15 -0
- package/dist/types/excalidraw/types.d.ts +110 -18
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +5 -1
- package/dist/types/fractional-indexing/src/index.d.ts +29 -0
- package/dist/types/laser-pointer/src/index.d.ts +2 -0
- package/dist/types/laser-pointer/src/math.d.ts +16 -0
- package/dist/types/laser-pointer/src/simplify.d.ts +2 -0
- package/dist/types/laser-pointer/src/state.d.ts +35 -0
- package/dist/types/math/src/constants.d.ts +0 -1
- package/dist/types/math/src/curve.d.ts +4 -1
- package/dist/types/math/src/point.d.ts +2 -1
- package/dist/types/utils/src/index.d.ts +1 -2
- package/package.json +4 -3
- package/dist/types/excalidraw/animation-frame-handler.d.ts +0 -16
- package/dist/types/excalidraw/charts.d.ts +0 -27
- package/dist/types/excalidraw/components/DiagramToCodePlugin/DiagramToCodePlugin.d.ts +0 -4
- package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +0 -15
- package/dist/types/excalidraw/components/InitializeApp.d.ts +0 -10
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +0 -8
- package/dist/types/excalidraw/components/TTDDialog/utils/TTDStreamFetch.d.ts +0 -24
- package/dist/types/excalidraw/components/footer/FooterCenter.d.ts +0 -8
- package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +0 -11
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +0 -58
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +0 -19
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +0 -84
- package/dist/types/excalidraw/data/reconcile.d.ts +0 -7
- package/dist/types/excalidraw/index.d.ts +0 -47
- package/dist/types/excalidraw/polyfill.d.ts +0 -2
- package/dist/types/utils/src/bbox.d.ts +0 -9
- package/dist/types/utils/src/withinBounds.d.ts +0 -19
|
@@ -39,7 +39,9 @@ export declare const actionToggleElementLock: {
|
|
|
39
39
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
40
40
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
41
41
|
isBindingEnabled: boolean;
|
|
42
|
-
|
|
42
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
43
|
+
bindingPreference: "enabled" | "disabled";
|
|
44
|
+
isMidpointSnappingEnabled: boolean;
|
|
43
45
|
suggestedBinding: {
|
|
44
46
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
45
47
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -53,7 +55,7 @@ export declare const actionToggleElementLock: {
|
|
|
53
55
|
};
|
|
54
56
|
editingFrame: string | null;
|
|
55
57
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
56
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
58
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
57
59
|
activeTool: {
|
|
58
60
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
59
61
|
locked: boolean;
|
|
@@ -72,9 +74,10 @@ export declare const actionToggleElementLock: {
|
|
|
72
74
|
currentItemStrokeColor: string;
|
|
73
75
|
currentItemBackgroundColor: string;
|
|
74
76
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
75
|
-
|
|
77
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
76
78
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
77
79
|
currentItemRoughness: number;
|
|
80
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
78
81
|
currentItemOpacity: number;
|
|
79
82
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
80
83
|
currentItemFontSize: number;
|
|
@@ -111,6 +114,10 @@ export declare const actionToggleElementLock: {
|
|
|
111
114
|
} | {
|
|
112
115
|
name: "elementLinkSelector";
|
|
113
116
|
sourceElementId: ExcalidrawElement["id"];
|
|
117
|
+
} | {
|
|
118
|
+
name: "charts";
|
|
119
|
+
data: import("../charts").Spreadsheet;
|
|
120
|
+
rawText: string;
|
|
114
121
|
};
|
|
115
122
|
defaultSidebarDockedPreference: boolean;
|
|
116
123
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -123,7 +130,7 @@ export declare const actionToggleElementLock: {
|
|
|
123
130
|
selectedElementsAreBeingDragged: boolean;
|
|
124
131
|
shouldCacheIgnoreZoom: boolean;
|
|
125
132
|
toast: {
|
|
126
|
-
message:
|
|
133
|
+
message: React.ReactNode;
|
|
127
134
|
closable?: boolean;
|
|
128
135
|
duration?: number;
|
|
129
136
|
} | null;
|
|
@@ -138,20 +145,12 @@ export declare const actionToggleElementLock: {
|
|
|
138
145
|
height: number;
|
|
139
146
|
offsetTop: number;
|
|
140
147
|
offsetLeft: number;
|
|
141
|
-
fileHandle:
|
|
148
|
+
fileHandle: FileSystemFileHandle | null;
|
|
142
149
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
143
150
|
stats: {
|
|
144
151
|
open: boolean;
|
|
145
152
|
panels: number;
|
|
146
153
|
};
|
|
147
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
148
|
-
pasteDialog: {
|
|
149
|
-
shown: false;
|
|
150
|
-
data: null;
|
|
151
|
-
} | {
|
|
152
|
-
shown: true;
|
|
153
|
-
data: import("../charts").Spreadsheet;
|
|
154
|
-
};
|
|
155
154
|
showHyperlinkPopup: false | "info" | "editor";
|
|
156
155
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
157
156
|
originSnapOffset: {
|
|
@@ -211,7 +210,9 @@ export declare const actionUnlockAllElements: {
|
|
|
211
210
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
212
211
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
213
212
|
isBindingEnabled: boolean;
|
|
214
|
-
|
|
213
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
214
|
+
bindingPreference: "enabled" | "disabled";
|
|
215
|
+
isMidpointSnappingEnabled: boolean;
|
|
215
216
|
suggestedBinding: {
|
|
216
217
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
217
218
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -225,7 +226,7 @@ export declare const actionUnlockAllElements: {
|
|
|
225
226
|
};
|
|
226
227
|
editingFrame: string | null;
|
|
227
228
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
228
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
229
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
229
230
|
activeTool: {
|
|
230
231
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
231
232
|
locked: boolean;
|
|
@@ -244,9 +245,10 @@ export declare const actionUnlockAllElements: {
|
|
|
244
245
|
currentItemStrokeColor: string;
|
|
245
246
|
currentItemBackgroundColor: string;
|
|
246
247
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
247
|
-
|
|
248
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
248
249
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
249
250
|
currentItemRoughness: number;
|
|
251
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
250
252
|
currentItemOpacity: number;
|
|
251
253
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
252
254
|
currentItemFontSize: number;
|
|
@@ -283,6 +285,10 @@ export declare const actionUnlockAllElements: {
|
|
|
283
285
|
} | {
|
|
284
286
|
name: "elementLinkSelector";
|
|
285
287
|
sourceElementId: ExcalidrawElement["id"];
|
|
288
|
+
} | {
|
|
289
|
+
name: "charts";
|
|
290
|
+
data: import("../charts").Spreadsheet;
|
|
291
|
+
rawText: string;
|
|
286
292
|
};
|
|
287
293
|
defaultSidebarDockedPreference: boolean;
|
|
288
294
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -295,7 +301,7 @@ export declare const actionUnlockAllElements: {
|
|
|
295
301
|
selectedElementsAreBeingDragged: boolean;
|
|
296
302
|
shouldCacheIgnoreZoom: boolean;
|
|
297
303
|
toast: {
|
|
298
|
-
message:
|
|
304
|
+
message: React.ReactNode;
|
|
299
305
|
closable?: boolean;
|
|
300
306
|
duration?: number;
|
|
301
307
|
} | null;
|
|
@@ -310,20 +316,12 @@ export declare const actionUnlockAllElements: {
|
|
|
310
316
|
height: number;
|
|
311
317
|
offsetTop: number;
|
|
312
318
|
offsetLeft: number;
|
|
313
|
-
fileHandle:
|
|
319
|
+
fileHandle: FileSystemFileHandle | null;
|
|
314
320
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
315
321
|
stats: {
|
|
316
322
|
open: boolean;
|
|
317
323
|
panels: number;
|
|
318
324
|
};
|
|
319
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
320
|
-
pasteDialog: {
|
|
321
|
-
shown: false;
|
|
322
|
-
data: null;
|
|
323
|
-
} | {
|
|
324
|
-
shown: true;
|
|
325
|
-
data: import("../charts").Spreadsheet;
|
|
326
|
-
};
|
|
327
325
|
showHyperlinkPopup: false | "info" | "editor";
|
|
328
326
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
329
327
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -30,7 +30,9 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
30
30
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
31
31
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
32
32
|
isBindingEnabled: boolean;
|
|
33
|
-
|
|
33
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
34
|
+
bindingPreference: "enabled" | "disabled";
|
|
35
|
+
isMidpointSnappingEnabled: boolean;
|
|
34
36
|
suggestedBinding: {
|
|
35
37
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
36
38
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -44,7 +46,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
44
46
|
};
|
|
45
47
|
editingFrame: string | null;
|
|
46
48
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
47
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
49
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
48
50
|
preferredSelectionTool: {
|
|
49
51
|
type: "selection" | "lasso";
|
|
50
52
|
initialized: boolean;
|
|
@@ -58,9 +60,10 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
58
60
|
currentItemStrokeColor: string;
|
|
59
61
|
currentItemBackgroundColor: string;
|
|
60
62
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
61
|
-
|
|
63
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
62
64
|
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
63
65
|
currentItemRoughness: number;
|
|
66
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
64
67
|
currentItemOpacity: number;
|
|
65
68
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
66
69
|
currentItemFontSize: number;
|
|
@@ -97,6 +100,10 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
97
100
|
} | {
|
|
98
101
|
name: "elementLinkSelector";
|
|
99
102
|
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
103
|
+
} | {
|
|
104
|
+
name: "charts";
|
|
105
|
+
data: import("../charts").Spreadsheet;
|
|
106
|
+
rawText: string;
|
|
100
107
|
};
|
|
101
108
|
defaultSidebarDockedPreference: boolean;
|
|
102
109
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -112,7 +119,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
112
119
|
selectedElementsAreBeingDragged: boolean;
|
|
113
120
|
shouldCacheIgnoreZoom: boolean;
|
|
114
121
|
toast: {
|
|
115
|
-
message:
|
|
122
|
+
message: React.ReactNode;
|
|
116
123
|
closable?: boolean;
|
|
117
124
|
duration?: number;
|
|
118
125
|
} | null;
|
|
@@ -130,20 +137,12 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
130
137
|
height: number;
|
|
131
138
|
offsetTop: number;
|
|
132
139
|
offsetLeft: number;
|
|
133
|
-
fileHandle:
|
|
140
|
+
fileHandle: FileSystemFileHandle | null;
|
|
134
141
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
135
142
|
stats: {
|
|
136
143
|
open: boolean;
|
|
137
144
|
panels: number;
|
|
138
145
|
};
|
|
139
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
140
|
-
pasteDialog: {
|
|
141
|
-
shown: false;
|
|
142
|
-
data: null;
|
|
143
|
-
} | {
|
|
144
|
-
shown: true;
|
|
145
|
-
data: import("../charts").Spreadsheet;
|
|
146
|
-
};
|
|
147
146
|
showHyperlinkPopup: false | "info" | "editor";
|
|
148
147
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
149
148
|
snapLines: readonly import("../snapping").SnapLine[];
|