@excalidraw/element 0.18.0-6135548 → 0.18.0-699826
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 +5297 -4264
- package/dist/dev/index.js.map +4 -4
- package/dist/prod/index.js +16 -15
- package/dist/types/common/debug.d.ts +21 -0
- 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 +5 -2
- package/dist/types/common/src/index.d.ts +3 -0
- package/dist/types/common/src/utils.d.ts +4 -7
- 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/arrows/focus.d.ts +27 -0
- package/dist/types/element/src/arrows/helpers.d.ts +5 -0
- package/dist/types/element/src/binding.d.ts +13 -8
- package/dist/types/element/src/bounds.d.ts +22 -3
- package/dist/types/element/src/collision.d.ts +4 -3
- package/dist/types/element/src/distribute.d.ts +2 -1
- 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 +3 -0
- package/dist/types/element/src/linearElementEditor.d.ts +7 -2
- package/dist/types/element/src/mutateElement.d.ts +2 -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 +5 -2
- package/dist/types/element/src/utils.d.ts +6 -4
- package/dist/types/element/src/visualdebug.d.ts +1 -2
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +41 -38
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +29 -27
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +169 -157
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +28 -26
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +14 -13
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +44 -39
- package/dist/types/excalidraw/actions/actionDeselect.d.ts +159 -0
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +10 -13
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +28 -26
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +14 -13
- package/dist/types/excalidraw/actions/actionExport.d.ts +77 -349
- package/dist/types/excalidraw/actions/actionFrame.d.ts +56 -52
- package/dist/types/excalidraw/actions/actionGroup.d.ts +29 -27
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +16 -13
- package/dist/types/excalidraw/actions/actionLink.d.ts +14 -13
- package/dist/types/excalidraw/actions/actionMenu.d.ts +10 -13
- package/dist/types/excalidraw/actions/actionProperties.d.ts +30 -28
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +14 -13
- package/dist/types/excalidraw/actions/actionStyles.d.ts +14 -12
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +172 -0
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +14 -13
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +172 -0
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +14 -13
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +10 -13
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +14 -13
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +14 -13
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +14 -13
- package/dist/types/excalidraw/actions/index.d.ts +3 -0
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -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 +10 -7
- 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 +6 -7
- package/dist/types/excalidraw/components/App.d.ts +63 -16
- package/dist/types/excalidraw/components/AppStateObserver.d.ts +37 -0
- package/dist/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts +1 -2
- package/dist/types/excalidraw/components/CommandPalette/types.d.ts +1 -1
- package/dist/types/excalidraw/components/IconPicker.d.ts +14 -9
- package/dist/types/excalidraw/components/PasteChartDialog.d.ts +4 -5
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -1
- 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/TTDDialog/Chat/ChatInterface.d.ts +2 -6
- package/dist/types/excalidraw/components/TTDDialog/Chat/TTDChatPanel.d.ts +2 -1
- package/dist/types/excalidraw/components/TTDDialog/CodeMirrorEditor.d.ts +11 -0
- package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +11 -7
- 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/TTDWelcomeMessage.d.ts +1 -0
- package/dist/types/excalidraw/components/TTDDialog/TextToDiagram.d.ts +2 -1
- package/dist/types/excalidraw/components/TTDDialog/mermaid-lang-lite.d.ts +2 -0
- package/dist/types/excalidraw/components/TTDDialog/types.d.ts +4 -0
- 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/DropdownMenu.d.ts +30 -17
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +3 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +11 -13
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCheckbox.d.ts +5 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +2 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSub.d.ts +23 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSubContent.d.ts +8 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSubTrigger.d.ts +12 -0
- package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +2 -0
- package/dist/types/excalidraw/components/icons.d.ts +23 -9
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +24 -3
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +23 -13
- package/dist/types/excalidraw/components/shapes.d.ts +81 -1
- package/dist/types/excalidraw/data/blob.d.ts +47 -46
- 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 +37 -28
- package/dist/types/excalidraw/data/resave.d.ts +7 -2
- package/dist/types/excalidraw/eraser/index.d.ts +2 -3
- 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 +425 -19
- package/dist/types/excalidraw/textAutoResizeHandle.d.ts +15 -0
- package/dist/types/excalidraw/types.d.ts +116 -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/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 +8 -2
- package/dist/types/math/src/types.d.ts +25 -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 -46
- 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
|
@@ -27,8 +27,13 @@ export declare const actionPaste: {
|
|
|
27
27
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
28
28
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
29
29
|
isBindingEnabled: boolean;
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
31
|
+
bindingPreference: "enabled" | "disabled";
|
|
32
|
+
isMidpointSnappingEnabled: boolean;
|
|
33
|
+
suggestedBinding: {
|
|
34
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
35
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
36
|
+
} | null;
|
|
32
37
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
33
38
|
frameRendering: {
|
|
34
39
|
enabled: boolean;
|
|
@@ -38,7 +43,7 @@ export declare const actionPaste: {
|
|
|
38
43
|
};
|
|
39
44
|
editingFrame: string | null;
|
|
40
45
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
41
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
46
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
42
47
|
activeTool: {
|
|
43
48
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
44
49
|
locked: boolean;
|
|
@@ -96,6 +101,10 @@ export declare const actionPaste: {
|
|
|
96
101
|
} | {
|
|
97
102
|
name: "elementLinkSelector";
|
|
98
103
|
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
104
|
+
} | {
|
|
105
|
+
name: "charts";
|
|
106
|
+
data: import("../charts").Spreadsheet;
|
|
107
|
+
rawText: string;
|
|
99
108
|
};
|
|
100
109
|
defaultSidebarDockedPreference: boolean;
|
|
101
110
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -111,7 +120,7 @@ export declare const actionPaste: {
|
|
|
111
120
|
selectedElementsAreBeingDragged: boolean;
|
|
112
121
|
shouldCacheIgnoreZoom: boolean;
|
|
113
122
|
toast: {
|
|
114
|
-
message:
|
|
123
|
+
message: React.ReactNode;
|
|
115
124
|
closable?: boolean;
|
|
116
125
|
duration?: number;
|
|
117
126
|
} | null;
|
|
@@ -129,20 +138,12 @@ export declare const actionPaste: {
|
|
|
129
138
|
height: number;
|
|
130
139
|
offsetTop: number;
|
|
131
140
|
offsetLeft: number;
|
|
132
|
-
fileHandle:
|
|
141
|
+
fileHandle: FileSystemFileHandle | null;
|
|
133
142
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
134
143
|
stats: {
|
|
135
144
|
open: boolean;
|
|
136
145
|
panels: number;
|
|
137
146
|
};
|
|
138
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
139
|
-
pasteDialog: {
|
|
140
|
-
shown: false;
|
|
141
|
-
data: null;
|
|
142
|
-
} | {
|
|
143
|
-
shown: true;
|
|
144
|
-
data: import("../charts").Spreadsheet;
|
|
145
|
-
};
|
|
146
147
|
showHyperlinkPopup: false | "info" | "editor";
|
|
147
148
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
148
149
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -235,8 +236,13 @@ export declare const actionCopyAsPng: {
|
|
|
235
236
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
236
237
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
237
238
|
isBindingEnabled: boolean;
|
|
238
|
-
|
|
239
|
-
|
|
239
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
240
|
+
bindingPreference: "enabled" | "disabled";
|
|
241
|
+
isMidpointSnappingEnabled: boolean;
|
|
242
|
+
suggestedBinding: {
|
|
243
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
244
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
245
|
+
} | null;
|
|
240
246
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
241
247
|
frameRendering: {
|
|
242
248
|
enabled: boolean;
|
|
@@ -246,7 +252,7 @@ export declare const actionCopyAsPng: {
|
|
|
246
252
|
};
|
|
247
253
|
editingFrame: string | null;
|
|
248
254
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
249
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
255
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
250
256
|
activeTool: {
|
|
251
257
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
252
258
|
locked: boolean;
|
|
@@ -304,6 +310,10 @@ export declare const actionCopyAsPng: {
|
|
|
304
310
|
} | {
|
|
305
311
|
name: "elementLinkSelector";
|
|
306
312
|
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
313
|
+
} | {
|
|
314
|
+
name: "charts";
|
|
315
|
+
data: import("../charts").Spreadsheet;
|
|
316
|
+
rawText: string;
|
|
307
317
|
};
|
|
308
318
|
defaultSidebarDockedPreference: boolean;
|
|
309
319
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -319,7 +329,7 @@ export declare const actionCopyAsPng: {
|
|
|
319
329
|
selectedElementsAreBeingDragged: boolean;
|
|
320
330
|
shouldCacheIgnoreZoom: boolean;
|
|
321
331
|
toast: {
|
|
322
|
-
message:
|
|
332
|
+
message: React.ReactNode;
|
|
323
333
|
closable?: boolean;
|
|
324
334
|
duration?: number;
|
|
325
335
|
} | null;
|
|
@@ -337,20 +347,12 @@ export declare const actionCopyAsPng: {
|
|
|
337
347
|
height: number;
|
|
338
348
|
offsetTop: number;
|
|
339
349
|
offsetLeft: number;
|
|
340
|
-
fileHandle:
|
|
350
|
+
fileHandle: FileSystemFileHandle | null;
|
|
341
351
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
342
352
|
stats: {
|
|
343
353
|
open: boolean;
|
|
344
354
|
panels: number;
|
|
345
355
|
};
|
|
346
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
347
|
-
pasteDialog: {
|
|
348
|
-
shown: false;
|
|
349
|
-
data: null;
|
|
350
|
-
} | {
|
|
351
|
-
shown: true;
|
|
352
|
-
data: import("../charts").Spreadsheet;
|
|
353
|
-
};
|
|
354
356
|
showHyperlinkPopup: false | "info" | "editor";
|
|
355
357
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
356
358
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -28,8 +28,13 @@ export declare const actionToggleCropEditor: {
|
|
|
28
28
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
29
29
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
30
30
|
isBindingEnabled: boolean;
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
32
|
+
bindingPreference: "enabled" | "disabled";
|
|
33
|
+
isMidpointSnappingEnabled: boolean;
|
|
34
|
+
suggestedBinding: {
|
|
35
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
36
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
37
|
+
} | null;
|
|
33
38
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
34
39
|
frameRendering: {
|
|
35
40
|
enabled: boolean;
|
|
@@ -39,7 +44,7 @@ export declare const actionToggleCropEditor: {
|
|
|
39
44
|
};
|
|
40
45
|
editingFrame: string | null;
|
|
41
46
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
42
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
47
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
43
48
|
activeTool: {
|
|
44
49
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
45
50
|
locked: boolean;
|
|
@@ -97,6 +102,10 @@ export declare const actionToggleCropEditor: {
|
|
|
97
102
|
} | {
|
|
98
103
|
name: "elementLinkSelector";
|
|
99
104
|
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
105
|
+
} | {
|
|
106
|
+
name: "charts";
|
|
107
|
+
data: import("../charts").Spreadsheet;
|
|
108
|
+
rawText: string;
|
|
100
109
|
};
|
|
101
110
|
defaultSidebarDockedPreference: boolean;
|
|
102
111
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -112,7 +121,7 @@ export declare const actionToggleCropEditor: {
|
|
|
112
121
|
selectedElementsAreBeingDragged: boolean;
|
|
113
122
|
shouldCacheIgnoreZoom: boolean;
|
|
114
123
|
toast: {
|
|
115
|
-
message:
|
|
124
|
+
message: React.ReactNode;
|
|
116
125
|
closable?: boolean;
|
|
117
126
|
duration?: number;
|
|
118
127
|
} | null;
|
|
@@ -130,20 +139,12 @@ export declare const actionToggleCropEditor: {
|
|
|
130
139
|
height: number;
|
|
131
140
|
offsetTop: number;
|
|
132
141
|
offsetLeft: number;
|
|
133
|
-
fileHandle:
|
|
142
|
+
fileHandle: FileSystemFileHandle | null;
|
|
134
143
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
135
144
|
stats: {
|
|
136
145
|
open: boolean;
|
|
137
146
|
panels: number;
|
|
138
147
|
};
|
|
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
148
|
showHyperlinkPopup: false | "info" | "editor";
|
|
148
149
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
149
150
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -29,8 +29,13 @@ export declare const actionDeleteSelected: {
|
|
|
29
29
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
30
30
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
31
31
|
isBindingEnabled: boolean;
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
33
|
+
bindingPreference: "enabled" | "disabled";
|
|
34
|
+
isMidpointSnappingEnabled: boolean;
|
|
35
|
+
suggestedBinding: {
|
|
36
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
37
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
38
|
+
} | null;
|
|
34
39
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
35
40
|
frameRendering: {
|
|
36
41
|
enabled: boolean;
|
|
@@ -40,7 +45,7 @@ export declare const actionDeleteSelected: {
|
|
|
40
45
|
};
|
|
41
46
|
editingFrame: string | null;
|
|
42
47
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
43
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
48
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
44
49
|
activeTool: {
|
|
45
50
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
46
51
|
locked: boolean;
|
|
@@ -98,6 +103,10 @@ export declare const actionDeleteSelected: {
|
|
|
98
103
|
} | {
|
|
99
104
|
name: "elementLinkSelector";
|
|
100
105
|
sourceElementId: ExcalidrawElement["id"];
|
|
106
|
+
} | {
|
|
107
|
+
name: "charts";
|
|
108
|
+
data: import("../charts").Spreadsheet;
|
|
109
|
+
rawText: string;
|
|
101
110
|
};
|
|
102
111
|
defaultSidebarDockedPreference: boolean;
|
|
103
112
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -113,7 +122,7 @@ export declare const actionDeleteSelected: {
|
|
|
113
122
|
selectedElementsAreBeingDragged: boolean;
|
|
114
123
|
shouldCacheIgnoreZoom: boolean;
|
|
115
124
|
toast: {
|
|
116
|
-
message:
|
|
125
|
+
message: React.ReactNode;
|
|
117
126
|
closable?: boolean;
|
|
118
127
|
duration?: number;
|
|
119
128
|
} | null;
|
|
@@ -131,20 +140,12 @@ export declare const actionDeleteSelected: {
|
|
|
131
140
|
height: number;
|
|
132
141
|
offsetTop: number;
|
|
133
142
|
offsetLeft: number;
|
|
134
|
-
fileHandle:
|
|
143
|
+
fileHandle: FileSystemFileHandle | null;
|
|
135
144
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
136
145
|
stats: {
|
|
137
146
|
open: boolean;
|
|
138
147
|
panels: number;
|
|
139
148
|
};
|
|
140
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
141
|
-
pasteDialog: {
|
|
142
|
-
shown: false;
|
|
143
|
-
data: null;
|
|
144
|
-
} | {
|
|
145
|
-
shown: true;
|
|
146
|
-
data: import("../charts").Spreadsheet;
|
|
147
|
-
};
|
|
148
149
|
showHyperlinkPopup: false | "info" | "editor";
|
|
149
150
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
150
151
|
originSnapOffset: {
|
|
@@ -196,6 +197,8 @@ export declare const actionDeleteSelected: {
|
|
|
196
197
|
}>;
|
|
197
198
|
hoverPointIndex: number;
|
|
198
199
|
segmentMidPointHoveredCoords: import("@excalidraw/math").GlobalPoint | null;
|
|
200
|
+
hoveredFocusPointBinding: "start" | "end" | null;
|
|
201
|
+
draggedFocusPointBinding: "start" | "end" | null;
|
|
199
202
|
elbowed: boolean;
|
|
200
203
|
customLineAngle: number | null;
|
|
201
204
|
isEditing: boolean;
|
|
@@ -218,8 +221,13 @@ export declare const actionDeleteSelected: {
|
|
|
218
221
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
219
222
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
220
223
|
isBindingEnabled: boolean;
|
|
221
|
-
|
|
222
|
-
|
|
224
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
225
|
+
bindingPreference: "enabled" | "disabled";
|
|
226
|
+
isMidpointSnappingEnabled: boolean;
|
|
227
|
+
suggestedBinding: {
|
|
228
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
229
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
230
|
+
} | null;
|
|
223
231
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
224
232
|
frameRendering: {
|
|
225
233
|
enabled: boolean;
|
|
@@ -229,7 +237,7 @@ export declare const actionDeleteSelected: {
|
|
|
229
237
|
};
|
|
230
238
|
editingFrame: string | null;
|
|
231
239
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
232
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
240
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
233
241
|
activeTool: {
|
|
234
242
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
235
243
|
locked: boolean;
|
|
@@ -287,6 +295,10 @@ export declare const actionDeleteSelected: {
|
|
|
287
295
|
} | {
|
|
288
296
|
name: "elementLinkSelector";
|
|
289
297
|
sourceElementId: ExcalidrawElement["id"];
|
|
298
|
+
} | {
|
|
299
|
+
name: "charts";
|
|
300
|
+
data: import("../charts").Spreadsheet;
|
|
301
|
+
rawText: string;
|
|
290
302
|
};
|
|
291
303
|
defaultSidebarDockedPreference: boolean;
|
|
292
304
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -302,7 +314,7 @@ export declare const actionDeleteSelected: {
|
|
|
302
314
|
selectedElementsAreBeingDragged: boolean;
|
|
303
315
|
shouldCacheIgnoreZoom: boolean;
|
|
304
316
|
toast: {
|
|
305
|
-
message:
|
|
317
|
+
message: React.ReactNode;
|
|
306
318
|
closable?: boolean;
|
|
307
319
|
duration?: number;
|
|
308
320
|
} | null;
|
|
@@ -320,20 +332,12 @@ export declare const actionDeleteSelected: {
|
|
|
320
332
|
height: number;
|
|
321
333
|
offsetTop: number;
|
|
322
334
|
offsetLeft: number;
|
|
323
|
-
fileHandle:
|
|
335
|
+
fileHandle: FileSystemFileHandle | null;
|
|
324
336
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
325
337
|
stats: {
|
|
326
338
|
open: boolean;
|
|
327
339
|
panels: number;
|
|
328
340
|
};
|
|
329
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
330
|
-
pasteDialog: {
|
|
331
|
-
shown: false;
|
|
332
|
-
data: null;
|
|
333
|
-
} | {
|
|
334
|
-
shown: true;
|
|
335
|
-
data: import("../charts").Spreadsheet;
|
|
336
|
-
};
|
|
337
341
|
showHyperlinkPopup: false | "info" | "editor";
|
|
338
342
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
339
343
|
originSnapOffset: {
|
|
@@ -382,8 +386,13 @@ export declare const actionDeleteSelected: {
|
|
|
382
386
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
383
387
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
384
388
|
isBindingEnabled: boolean;
|
|
385
|
-
|
|
386
|
-
|
|
389
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
390
|
+
bindingPreference: "enabled" | "disabled";
|
|
391
|
+
isMidpointSnappingEnabled: boolean;
|
|
392
|
+
suggestedBinding: {
|
|
393
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
394
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
395
|
+
} | null;
|
|
387
396
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
388
397
|
frameRendering: {
|
|
389
398
|
enabled: boolean;
|
|
@@ -393,7 +402,7 @@ export declare const actionDeleteSelected: {
|
|
|
393
402
|
};
|
|
394
403
|
editingFrame: string | null;
|
|
395
404
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
396
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
405
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
397
406
|
preferredSelectionTool: {
|
|
398
407
|
type: "selection" | "lasso";
|
|
399
408
|
initialized: boolean;
|
|
@@ -446,6 +455,10 @@ export declare const actionDeleteSelected: {
|
|
|
446
455
|
} | {
|
|
447
456
|
name: "elementLinkSelector";
|
|
448
457
|
sourceElementId: ExcalidrawElement["id"];
|
|
458
|
+
} | {
|
|
459
|
+
name: "charts";
|
|
460
|
+
data: import("../charts").Spreadsheet;
|
|
461
|
+
rawText: string;
|
|
449
462
|
};
|
|
450
463
|
defaultSidebarDockedPreference: boolean;
|
|
451
464
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -458,7 +471,7 @@ export declare const actionDeleteSelected: {
|
|
|
458
471
|
selectedElementsAreBeingDragged: boolean;
|
|
459
472
|
shouldCacheIgnoreZoom: boolean;
|
|
460
473
|
toast: {
|
|
461
|
-
message:
|
|
474
|
+
message: React.ReactNode;
|
|
462
475
|
closable?: boolean;
|
|
463
476
|
duration?: number;
|
|
464
477
|
} | null;
|
|
@@ -472,20 +485,12 @@ export declare const actionDeleteSelected: {
|
|
|
472
485
|
height: number;
|
|
473
486
|
offsetTop: number;
|
|
474
487
|
offsetLeft: number;
|
|
475
|
-
fileHandle:
|
|
488
|
+
fileHandle: FileSystemFileHandle | null;
|
|
476
489
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
477
490
|
stats: {
|
|
478
491
|
open: boolean;
|
|
479
492
|
panels: number;
|
|
480
493
|
};
|
|
481
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
482
|
-
pasteDialog: {
|
|
483
|
-
shown: false;
|
|
484
|
-
data: null;
|
|
485
|
-
} | {
|
|
486
|
-
shown: true;
|
|
487
|
-
data: import("../charts").Spreadsheet;
|
|
488
|
-
};
|
|
489
494
|
showHyperlinkPopup: false | "info" | "editor";
|
|
490
495
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
491
496
|
originSnapOffset: {
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import type { AppClassProperties, AppState } from "../types";
|
|
2
|
+
export declare const actionDeselect: {
|
|
3
|
+
name: "deselect";
|
|
4
|
+
label: string;
|
|
5
|
+
trackEvent: false;
|
|
6
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
7
|
+
appState: {
|
|
8
|
+
activeEmbeddable: null;
|
|
9
|
+
activeTool: {
|
|
10
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
11
|
+
locked: boolean;
|
|
12
|
+
fromSelection: boolean;
|
|
13
|
+
} & import("../types").ActiveTool;
|
|
14
|
+
selectedLinearElement: null;
|
|
15
|
+
selectionElement: null;
|
|
16
|
+
showHyperlinkPopup: false;
|
|
17
|
+
suggestedBinding: null;
|
|
18
|
+
frameToHighlight: null;
|
|
19
|
+
editingGroupId: AppState["editingGroupId"];
|
|
20
|
+
selectedElementIds: AppState["selectedElementIds"];
|
|
21
|
+
selectedGroupIds: AppState["selectedGroupIds"];
|
|
22
|
+
contextMenu: {
|
|
23
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
24
|
+
top: number;
|
|
25
|
+
left: number;
|
|
26
|
+
} | null;
|
|
27
|
+
showWelcomeScreen: boolean;
|
|
28
|
+
isLoading: boolean;
|
|
29
|
+
errorMessage: React.ReactNode;
|
|
30
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
31
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
32
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
33
|
+
isBindingEnabled: boolean;
|
|
34
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
35
|
+
bindingPreference: "enabled" | "disabled";
|
|
36
|
+
isMidpointSnappingEnabled: boolean;
|
|
37
|
+
frameRendering: {
|
|
38
|
+
enabled: boolean;
|
|
39
|
+
name: boolean;
|
|
40
|
+
outline: boolean;
|
|
41
|
+
clip: boolean;
|
|
42
|
+
};
|
|
43
|
+
editingFrame: string | null;
|
|
44
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
45
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
46
|
+
preferredSelectionTool: {
|
|
47
|
+
type: "selection" | "lasso";
|
|
48
|
+
initialized: boolean;
|
|
49
|
+
};
|
|
50
|
+
penMode: boolean;
|
|
51
|
+
penDetected: boolean;
|
|
52
|
+
exportBackground: boolean;
|
|
53
|
+
exportEmbedScene: boolean;
|
|
54
|
+
exportWithDarkMode: boolean;
|
|
55
|
+
exportScale: number;
|
|
56
|
+
currentItemStrokeColor: string;
|
|
57
|
+
currentItemBackgroundColor: string;
|
|
58
|
+
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
59
|
+
currentItemStrokeWidth: number;
|
|
60
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
61
|
+
currentItemRoughness: number;
|
|
62
|
+
currentItemOpacity: number;
|
|
63
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
64
|
+
currentItemFontSize: number;
|
|
65
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
66
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
67
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
68
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
69
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
70
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
71
|
+
viewBackgroundColor: string;
|
|
72
|
+
scrollX: number;
|
|
73
|
+
scrollY: number;
|
|
74
|
+
cursorButton: "up" | "down";
|
|
75
|
+
scrolledOutside: boolean;
|
|
76
|
+
name: string | null;
|
|
77
|
+
isResizing: boolean;
|
|
78
|
+
isRotating: boolean;
|
|
79
|
+
zoom: import("../types").Zoom;
|
|
80
|
+
openMenu: "canvas" | null;
|
|
81
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
82
|
+
openSidebar: {
|
|
83
|
+
name: import("../types").SidebarName;
|
|
84
|
+
tab?: import("../types").SidebarTabName;
|
|
85
|
+
} | null;
|
|
86
|
+
openDialog: null | {
|
|
87
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
88
|
+
} | {
|
|
89
|
+
name: "ttd";
|
|
90
|
+
tab: "text-to-diagram" | "mermaid";
|
|
91
|
+
} | {
|
|
92
|
+
name: "commandPalette";
|
|
93
|
+
} | {
|
|
94
|
+
name: "settings";
|
|
95
|
+
} | {
|
|
96
|
+
name: "elementLinkSelector";
|
|
97
|
+
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
98
|
+
} | {
|
|
99
|
+
name: "charts";
|
|
100
|
+
data: import("../charts").Spreadsheet;
|
|
101
|
+
rawText: string;
|
|
102
|
+
};
|
|
103
|
+
defaultSidebarDockedPreference: boolean;
|
|
104
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
105
|
+
hoveredElementIds: Readonly<{
|
|
106
|
+
[id: string]: true;
|
|
107
|
+
}>;
|
|
108
|
+
previousSelectedElementIds: {
|
|
109
|
+
[id: string]: true;
|
|
110
|
+
};
|
|
111
|
+
selectedElementsAreBeingDragged: boolean;
|
|
112
|
+
shouldCacheIgnoreZoom: boolean;
|
|
113
|
+
toast: {
|
|
114
|
+
message: React.ReactNode;
|
|
115
|
+
closable?: boolean;
|
|
116
|
+
duration?: number;
|
|
117
|
+
} | null;
|
|
118
|
+
zenModeEnabled: boolean;
|
|
119
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
120
|
+
gridSize: number;
|
|
121
|
+
gridStep: number;
|
|
122
|
+
gridModeEnabled: boolean;
|
|
123
|
+
viewModeEnabled: boolean;
|
|
124
|
+
width: number;
|
|
125
|
+
height: number;
|
|
126
|
+
offsetTop: number;
|
|
127
|
+
offsetLeft: number;
|
|
128
|
+
fileHandle: FileSystemFileHandle | null;
|
|
129
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
130
|
+
stats: {
|
|
131
|
+
open: boolean;
|
|
132
|
+
panels: number;
|
|
133
|
+
};
|
|
134
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
135
|
+
originSnapOffset: {
|
|
136
|
+
x: number;
|
|
137
|
+
y: number;
|
|
138
|
+
} | null;
|
|
139
|
+
objectsSnapModeEnabled: boolean;
|
|
140
|
+
userToFollow: import("../types").UserToFollow | null;
|
|
141
|
+
followedBy: Set<import("../types").SocketId>;
|
|
142
|
+
isCropping: boolean;
|
|
143
|
+
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
144
|
+
searchMatches: Readonly<{
|
|
145
|
+
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
146
|
+
matches: readonly import("../types").SearchMatch[];
|
|
147
|
+
}> | null;
|
|
148
|
+
activeLockedId: string | null;
|
|
149
|
+
lockedMultiSelections: {
|
|
150
|
+
[groupId: string]: true;
|
|
151
|
+
};
|
|
152
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
153
|
+
};
|
|
154
|
+
captureUpdate: "IMMEDIATELY";
|
|
155
|
+
};
|
|
156
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, _: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: AppClassProperties) => boolean;
|
|
157
|
+
} & {
|
|
158
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, _: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
|
|
159
|
+
};
|
|
@@ -57,8 +57,13 @@ export declare const actionLinkToElement: {
|
|
|
57
57
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
58
58
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
59
59
|
isBindingEnabled: boolean;
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
61
|
+
bindingPreference: "enabled" | "disabled";
|
|
62
|
+
isMidpointSnappingEnabled: boolean;
|
|
63
|
+
suggestedBinding: {
|
|
64
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
65
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
66
|
+
} | null;
|
|
62
67
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
63
68
|
frameRendering: {
|
|
64
69
|
enabled: boolean;
|
|
@@ -68,7 +73,7 @@ export declare const actionLinkToElement: {
|
|
|
68
73
|
};
|
|
69
74
|
editingFrame: string | null;
|
|
70
75
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
71
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
76
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
72
77
|
activeTool: {
|
|
73
78
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
74
79
|
locked: boolean;
|
|
@@ -128,7 +133,7 @@ export declare const actionLinkToElement: {
|
|
|
128
133
|
selectedElementsAreBeingDragged: boolean;
|
|
129
134
|
shouldCacheIgnoreZoom: boolean;
|
|
130
135
|
toast: {
|
|
131
|
-
message:
|
|
136
|
+
message: React.ReactNode;
|
|
132
137
|
closable?: boolean;
|
|
133
138
|
duration?: number;
|
|
134
139
|
} | null;
|
|
@@ -146,20 +151,12 @@ export declare const actionLinkToElement: {
|
|
|
146
151
|
height: number;
|
|
147
152
|
offsetTop: number;
|
|
148
153
|
offsetLeft: number;
|
|
149
|
-
fileHandle:
|
|
154
|
+
fileHandle: FileSystemFileHandle | null;
|
|
150
155
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
151
156
|
stats: {
|
|
152
157
|
open: boolean;
|
|
153
158
|
panels: number;
|
|
154
159
|
};
|
|
155
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
156
|
-
pasteDialog: {
|
|
157
|
-
shown: false;
|
|
158
|
-
data: null;
|
|
159
|
-
} | {
|
|
160
|
-
shown: true;
|
|
161
|
-
data: import("../charts").Spreadsheet;
|
|
162
|
-
};
|
|
163
160
|
showHyperlinkPopup: false | "info" | "editor";
|
|
164
161
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
165
162
|
snapLines: readonly import("../snapping").SnapLine[];
|