@excalidraw/math 0.18.0-7ea3229 → 0.18.0-816c81c
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/types/common/src/appEventBus.d.ts +27 -0
- package/dist/types/common/src/colors.d.ts +1 -1
- 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 +2 -0
- 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 +1 -1
- package/dist/types/element/src/elbowArrow.d.ts +2 -0
- package/dist/types/element/src/index.d.ts +1 -0
- package/dist/types/element/src/linearElementEditor.d.ts +3 -0
- package/dist/types/element/src/mutateElement.d.ts +2 -0
- package/dist/types/element/src/types.d.ts +5 -2
- package/dist/types/element/src/utils.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +23 -29
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +16 -20
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +97 -121
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +16 -20
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +8 -10
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +24 -30
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +4 -10
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +16 -20
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +8 -10
- package/dist/types/excalidraw/actions/actionExport.d.ts +60 -344
- package/dist/types/excalidraw/actions/actionFrame.d.ts +32 -40
- package/dist/types/excalidraw/actions/actionGroup.d.ts +16 -20
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +8 -10
- package/dist/types/excalidraw/actions/actionLink.d.ts +8 -10
- package/dist/types/excalidraw/actions/actionMenu.d.ts +4 -10
- package/dist/types/excalidraw/actions/actionProperties.d.ts +16 -20
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +8 -10
- package/dist/types/excalidraw/actions/actionStyles.d.ts +7 -9
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +172 -0
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +8 -10
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +172 -0
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +8 -10
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +4 -10
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +8 -10
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +8 -10
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +8 -10
- package/dist/types/excalidraw/actions/index.d.ts +2 -0
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +4 -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/App.d.ts +33 -11
- package/dist/types/excalidraw/components/AppStateObserver.d.ts +37 -0
- 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/TTDDialog/CodeMirrorEditor.d.ts +11 -0
- 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/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/icons.d.ts +17 -8
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +2 -0
- package/dist/types/excalidraw/data/blob.d.ts +25 -30
- 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 +28 -22
- package/dist/types/excalidraw/data/resave.d.ts +7 -2
- package/dist/types/excalidraw/types.d.ts +84 -13
- package/package.json +2 -2
- 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
|
@@ -27,6 +27,8 @@ 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
|
+
bindingPreference: "enabled" | "disabled";
|
|
31
|
+
isMidpointSnappingEnabled: boolean;
|
|
30
32
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
31
33
|
suggestedBinding: {
|
|
32
34
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -99,6 +101,10 @@ export declare const actionPaste: {
|
|
|
99
101
|
} | {
|
|
100
102
|
name: "elementLinkSelector";
|
|
101
103
|
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
104
|
+
} | {
|
|
105
|
+
name: "charts";
|
|
106
|
+
data: import("../charts").Spreadsheet;
|
|
107
|
+
rawText: string;
|
|
102
108
|
};
|
|
103
109
|
defaultSidebarDockedPreference: boolean;
|
|
104
110
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -114,7 +120,7 @@ export declare const actionPaste: {
|
|
|
114
120
|
selectedElementsAreBeingDragged: boolean;
|
|
115
121
|
shouldCacheIgnoreZoom: boolean;
|
|
116
122
|
toast: {
|
|
117
|
-
message:
|
|
123
|
+
message: React.ReactNode;
|
|
118
124
|
closable?: boolean;
|
|
119
125
|
duration?: number;
|
|
120
126
|
} | null;
|
|
@@ -132,20 +138,12 @@ export declare const actionPaste: {
|
|
|
132
138
|
height: number;
|
|
133
139
|
offsetTop: number;
|
|
134
140
|
offsetLeft: number;
|
|
135
|
-
fileHandle:
|
|
141
|
+
fileHandle: FileSystemFileHandle | null;
|
|
136
142
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
137
143
|
stats: {
|
|
138
144
|
open: boolean;
|
|
139
145
|
panels: number;
|
|
140
146
|
};
|
|
141
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
142
|
-
pasteDialog: {
|
|
143
|
-
shown: false;
|
|
144
|
-
data: null;
|
|
145
|
-
} | {
|
|
146
|
-
shown: true;
|
|
147
|
-
data: import("../charts").Spreadsheet;
|
|
148
|
-
};
|
|
149
147
|
showHyperlinkPopup: false | "info" | "editor";
|
|
150
148
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
151
149
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -238,6 +236,8 @@ export declare const actionCopyAsPng: {
|
|
|
238
236
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
239
237
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
240
238
|
isBindingEnabled: boolean;
|
|
239
|
+
bindingPreference: "enabled" | "disabled";
|
|
240
|
+
isMidpointSnappingEnabled: boolean;
|
|
241
241
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
242
242
|
suggestedBinding: {
|
|
243
243
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -310,6 +310,10 @@ export declare const actionCopyAsPng: {
|
|
|
310
310
|
} | {
|
|
311
311
|
name: "elementLinkSelector";
|
|
312
312
|
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
313
|
+
} | {
|
|
314
|
+
name: "charts";
|
|
315
|
+
data: import("../charts").Spreadsheet;
|
|
316
|
+
rawText: string;
|
|
313
317
|
};
|
|
314
318
|
defaultSidebarDockedPreference: boolean;
|
|
315
319
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -325,7 +329,7 @@ export declare const actionCopyAsPng: {
|
|
|
325
329
|
selectedElementsAreBeingDragged: boolean;
|
|
326
330
|
shouldCacheIgnoreZoom: boolean;
|
|
327
331
|
toast: {
|
|
328
|
-
message:
|
|
332
|
+
message: React.ReactNode;
|
|
329
333
|
closable?: boolean;
|
|
330
334
|
duration?: number;
|
|
331
335
|
} | null;
|
|
@@ -343,20 +347,12 @@ export declare const actionCopyAsPng: {
|
|
|
343
347
|
height: number;
|
|
344
348
|
offsetTop: number;
|
|
345
349
|
offsetLeft: number;
|
|
346
|
-
fileHandle:
|
|
350
|
+
fileHandle: FileSystemFileHandle | null;
|
|
347
351
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
348
352
|
stats: {
|
|
349
353
|
open: boolean;
|
|
350
354
|
panels: number;
|
|
351
355
|
};
|
|
352
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
353
|
-
pasteDialog: {
|
|
354
|
-
shown: false;
|
|
355
|
-
data: null;
|
|
356
|
-
} | {
|
|
357
|
-
shown: true;
|
|
358
|
-
data: import("../charts").Spreadsheet;
|
|
359
|
-
};
|
|
360
356
|
showHyperlinkPopup: false | "info" | "editor";
|
|
361
357
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
362
358
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -28,6 +28,8 @@ 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
|
+
bindingPreference: "enabled" | "disabled";
|
|
32
|
+
isMidpointSnappingEnabled: boolean;
|
|
31
33
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
32
34
|
suggestedBinding: {
|
|
33
35
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -100,6 +102,10 @@ export declare const actionToggleCropEditor: {
|
|
|
100
102
|
} | {
|
|
101
103
|
name: "elementLinkSelector";
|
|
102
104
|
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
105
|
+
} | {
|
|
106
|
+
name: "charts";
|
|
107
|
+
data: import("../charts").Spreadsheet;
|
|
108
|
+
rawText: string;
|
|
103
109
|
};
|
|
104
110
|
defaultSidebarDockedPreference: boolean;
|
|
105
111
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -115,7 +121,7 @@ export declare const actionToggleCropEditor: {
|
|
|
115
121
|
selectedElementsAreBeingDragged: boolean;
|
|
116
122
|
shouldCacheIgnoreZoom: boolean;
|
|
117
123
|
toast: {
|
|
118
|
-
message:
|
|
124
|
+
message: React.ReactNode;
|
|
119
125
|
closable?: boolean;
|
|
120
126
|
duration?: number;
|
|
121
127
|
} | null;
|
|
@@ -133,20 +139,12 @@ export declare const actionToggleCropEditor: {
|
|
|
133
139
|
height: number;
|
|
134
140
|
offsetTop: number;
|
|
135
141
|
offsetLeft: number;
|
|
136
|
-
fileHandle:
|
|
142
|
+
fileHandle: FileSystemFileHandle | null;
|
|
137
143
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
138
144
|
stats: {
|
|
139
145
|
open: boolean;
|
|
140
146
|
panels: number;
|
|
141
147
|
};
|
|
142
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
143
|
-
pasteDialog: {
|
|
144
|
-
shown: false;
|
|
145
|
-
data: null;
|
|
146
|
-
} | {
|
|
147
|
-
shown: true;
|
|
148
|
-
data: import("../charts").Spreadsheet;
|
|
149
|
-
};
|
|
150
148
|
showHyperlinkPopup: false | "info" | "editor";
|
|
151
149
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
152
150
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -29,6 +29,8 @@ 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
|
+
bindingPreference: "enabled" | "disabled";
|
|
33
|
+
isMidpointSnappingEnabled: boolean;
|
|
32
34
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
33
35
|
suggestedBinding: {
|
|
34
36
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -101,6 +103,10 @@ export declare const actionDeleteSelected: {
|
|
|
101
103
|
} | {
|
|
102
104
|
name: "elementLinkSelector";
|
|
103
105
|
sourceElementId: ExcalidrawElement["id"];
|
|
106
|
+
} | {
|
|
107
|
+
name: "charts";
|
|
108
|
+
data: import("../charts").Spreadsheet;
|
|
109
|
+
rawText: string;
|
|
104
110
|
};
|
|
105
111
|
defaultSidebarDockedPreference: boolean;
|
|
106
112
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -116,7 +122,7 @@ export declare const actionDeleteSelected: {
|
|
|
116
122
|
selectedElementsAreBeingDragged: boolean;
|
|
117
123
|
shouldCacheIgnoreZoom: boolean;
|
|
118
124
|
toast: {
|
|
119
|
-
message:
|
|
125
|
+
message: React.ReactNode;
|
|
120
126
|
closable?: boolean;
|
|
121
127
|
duration?: number;
|
|
122
128
|
} | null;
|
|
@@ -134,20 +140,12 @@ export declare const actionDeleteSelected: {
|
|
|
134
140
|
height: number;
|
|
135
141
|
offsetTop: number;
|
|
136
142
|
offsetLeft: number;
|
|
137
|
-
fileHandle:
|
|
143
|
+
fileHandle: FileSystemFileHandle | null;
|
|
138
144
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
139
145
|
stats: {
|
|
140
146
|
open: boolean;
|
|
141
147
|
panels: number;
|
|
142
148
|
};
|
|
143
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
144
|
-
pasteDialog: {
|
|
145
|
-
shown: false;
|
|
146
|
-
data: null;
|
|
147
|
-
} | {
|
|
148
|
-
shown: true;
|
|
149
|
-
data: import("../charts").Spreadsheet;
|
|
150
|
-
};
|
|
151
149
|
showHyperlinkPopup: false | "info" | "editor";
|
|
152
150
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
153
151
|
originSnapOffset: {
|
|
@@ -223,6 +221,8 @@ export declare const actionDeleteSelected: {
|
|
|
223
221
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
224
222
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
225
223
|
isBindingEnabled: boolean;
|
|
224
|
+
bindingPreference: "enabled" | "disabled";
|
|
225
|
+
isMidpointSnappingEnabled: boolean;
|
|
226
226
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
227
227
|
suggestedBinding: {
|
|
228
228
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -295,6 +295,10 @@ export declare const actionDeleteSelected: {
|
|
|
295
295
|
} | {
|
|
296
296
|
name: "elementLinkSelector";
|
|
297
297
|
sourceElementId: ExcalidrawElement["id"];
|
|
298
|
+
} | {
|
|
299
|
+
name: "charts";
|
|
300
|
+
data: import("../charts").Spreadsheet;
|
|
301
|
+
rawText: string;
|
|
298
302
|
};
|
|
299
303
|
defaultSidebarDockedPreference: boolean;
|
|
300
304
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -310,7 +314,7 @@ export declare const actionDeleteSelected: {
|
|
|
310
314
|
selectedElementsAreBeingDragged: boolean;
|
|
311
315
|
shouldCacheIgnoreZoom: boolean;
|
|
312
316
|
toast: {
|
|
313
|
-
message:
|
|
317
|
+
message: React.ReactNode;
|
|
314
318
|
closable?: boolean;
|
|
315
319
|
duration?: number;
|
|
316
320
|
} | null;
|
|
@@ -328,20 +332,12 @@ export declare const actionDeleteSelected: {
|
|
|
328
332
|
height: number;
|
|
329
333
|
offsetTop: number;
|
|
330
334
|
offsetLeft: number;
|
|
331
|
-
fileHandle:
|
|
335
|
+
fileHandle: FileSystemFileHandle | null;
|
|
332
336
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
333
337
|
stats: {
|
|
334
338
|
open: boolean;
|
|
335
339
|
panels: number;
|
|
336
340
|
};
|
|
337
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
338
|
-
pasteDialog: {
|
|
339
|
-
shown: false;
|
|
340
|
-
data: null;
|
|
341
|
-
} | {
|
|
342
|
-
shown: true;
|
|
343
|
-
data: import("../charts").Spreadsheet;
|
|
344
|
-
};
|
|
345
341
|
showHyperlinkPopup: false | "info" | "editor";
|
|
346
342
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
347
343
|
originSnapOffset: {
|
|
@@ -390,6 +386,8 @@ export declare const actionDeleteSelected: {
|
|
|
390
386
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
391
387
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
392
388
|
isBindingEnabled: boolean;
|
|
389
|
+
bindingPreference: "enabled" | "disabled";
|
|
390
|
+
isMidpointSnappingEnabled: boolean;
|
|
393
391
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
394
392
|
suggestedBinding: {
|
|
395
393
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -457,6 +455,10 @@ export declare const actionDeleteSelected: {
|
|
|
457
455
|
} | {
|
|
458
456
|
name: "elementLinkSelector";
|
|
459
457
|
sourceElementId: ExcalidrawElement["id"];
|
|
458
|
+
} | {
|
|
459
|
+
name: "charts";
|
|
460
|
+
data: import("../charts").Spreadsheet;
|
|
461
|
+
rawText: string;
|
|
460
462
|
};
|
|
461
463
|
defaultSidebarDockedPreference: boolean;
|
|
462
464
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -469,7 +471,7 @@ export declare const actionDeleteSelected: {
|
|
|
469
471
|
selectedElementsAreBeingDragged: boolean;
|
|
470
472
|
shouldCacheIgnoreZoom: boolean;
|
|
471
473
|
toast: {
|
|
472
|
-
message:
|
|
474
|
+
message: React.ReactNode;
|
|
473
475
|
closable?: boolean;
|
|
474
476
|
duration?: number;
|
|
475
477
|
} | null;
|
|
@@ -483,20 +485,12 @@ export declare const actionDeleteSelected: {
|
|
|
483
485
|
height: number;
|
|
484
486
|
offsetTop: number;
|
|
485
487
|
offsetLeft: number;
|
|
486
|
-
fileHandle:
|
|
488
|
+
fileHandle: FileSystemFileHandle | null;
|
|
487
489
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
488
490
|
stats: {
|
|
489
491
|
open: boolean;
|
|
490
492
|
panels: number;
|
|
491
493
|
};
|
|
492
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
493
|
-
pasteDialog: {
|
|
494
|
-
shown: false;
|
|
495
|
-
data: null;
|
|
496
|
-
} | {
|
|
497
|
-
shown: true;
|
|
498
|
-
data: import("../charts").Spreadsheet;
|
|
499
|
-
};
|
|
500
494
|
showHyperlinkPopup: false | "info" | "editor";
|
|
501
495
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
502
496
|
originSnapOffset: {
|
|
@@ -57,6 +57,8 @@ 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
|
+
bindingPreference: "enabled" | "disabled";
|
|
61
|
+
isMidpointSnappingEnabled: boolean;
|
|
60
62
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
61
63
|
suggestedBinding: {
|
|
62
64
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -131,7 +133,7 @@ export declare const actionLinkToElement: {
|
|
|
131
133
|
selectedElementsAreBeingDragged: boolean;
|
|
132
134
|
shouldCacheIgnoreZoom: boolean;
|
|
133
135
|
toast: {
|
|
134
|
-
message:
|
|
136
|
+
message: React.ReactNode;
|
|
135
137
|
closable?: boolean;
|
|
136
138
|
duration?: number;
|
|
137
139
|
} | null;
|
|
@@ -149,20 +151,12 @@ export declare const actionLinkToElement: {
|
|
|
149
151
|
height: number;
|
|
150
152
|
offsetTop: number;
|
|
151
153
|
offsetLeft: number;
|
|
152
|
-
fileHandle:
|
|
154
|
+
fileHandle: FileSystemFileHandle | null;
|
|
153
155
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
154
156
|
stats: {
|
|
155
157
|
open: boolean;
|
|
156
158
|
panels: number;
|
|
157
159
|
};
|
|
158
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
159
|
-
pasteDialog: {
|
|
160
|
-
shown: false;
|
|
161
|
-
data: null;
|
|
162
|
-
} | {
|
|
163
|
-
shown: true;
|
|
164
|
-
data: import("../charts").Spreadsheet;
|
|
165
|
-
};
|
|
166
160
|
showHyperlinkPopup: false | "info" | "editor";
|
|
167
161
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
168
162
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -39,6 +39,8 @@ 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
|
+
bindingPreference: "enabled" | "disabled";
|
|
43
|
+
isMidpointSnappingEnabled: boolean;
|
|
42
44
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
43
45
|
suggestedBinding: {
|
|
44
46
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -111,6 +113,10 @@ export declare const actionToggleElementLock: {
|
|
|
111
113
|
} | {
|
|
112
114
|
name: "elementLinkSelector";
|
|
113
115
|
sourceElementId: ExcalidrawElement["id"];
|
|
116
|
+
} | {
|
|
117
|
+
name: "charts";
|
|
118
|
+
data: import("../charts").Spreadsheet;
|
|
119
|
+
rawText: string;
|
|
114
120
|
};
|
|
115
121
|
defaultSidebarDockedPreference: boolean;
|
|
116
122
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -123,7 +129,7 @@ export declare const actionToggleElementLock: {
|
|
|
123
129
|
selectedElementsAreBeingDragged: boolean;
|
|
124
130
|
shouldCacheIgnoreZoom: boolean;
|
|
125
131
|
toast: {
|
|
126
|
-
message:
|
|
132
|
+
message: React.ReactNode;
|
|
127
133
|
closable?: boolean;
|
|
128
134
|
duration?: number;
|
|
129
135
|
} | null;
|
|
@@ -138,20 +144,12 @@ export declare const actionToggleElementLock: {
|
|
|
138
144
|
height: number;
|
|
139
145
|
offsetTop: number;
|
|
140
146
|
offsetLeft: number;
|
|
141
|
-
fileHandle:
|
|
147
|
+
fileHandle: FileSystemFileHandle | null;
|
|
142
148
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
143
149
|
stats: {
|
|
144
150
|
open: boolean;
|
|
145
151
|
panels: number;
|
|
146
152
|
};
|
|
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
153
|
showHyperlinkPopup: false | "info" | "editor";
|
|
156
154
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
157
155
|
originSnapOffset: {
|
|
@@ -211,6 +209,8 @@ export declare const actionUnlockAllElements: {
|
|
|
211
209
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
212
210
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
213
211
|
isBindingEnabled: boolean;
|
|
212
|
+
bindingPreference: "enabled" | "disabled";
|
|
213
|
+
isMidpointSnappingEnabled: boolean;
|
|
214
214
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
215
215
|
suggestedBinding: {
|
|
216
216
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -283,6 +283,10 @@ export declare const actionUnlockAllElements: {
|
|
|
283
283
|
} | {
|
|
284
284
|
name: "elementLinkSelector";
|
|
285
285
|
sourceElementId: ExcalidrawElement["id"];
|
|
286
|
+
} | {
|
|
287
|
+
name: "charts";
|
|
288
|
+
data: import("../charts").Spreadsheet;
|
|
289
|
+
rawText: string;
|
|
286
290
|
};
|
|
287
291
|
defaultSidebarDockedPreference: boolean;
|
|
288
292
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -295,7 +299,7 @@ export declare const actionUnlockAllElements: {
|
|
|
295
299
|
selectedElementsAreBeingDragged: boolean;
|
|
296
300
|
shouldCacheIgnoreZoom: boolean;
|
|
297
301
|
toast: {
|
|
298
|
-
message:
|
|
302
|
+
message: React.ReactNode;
|
|
299
303
|
closable?: boolean;
|
|
300
304
|
duration?: number;
|
|
301
305
|
} | null;
|
|
@@ -310,20 +314,12 @@ export declare const actionUnlockAllElements: {
|
|
|
310
314
|
height: number;
|
|
311
315
|
offsetTop: number;
|
|
312
316
|
offsetLeft: number;
|
|
313
|
-
fileHandle:
|
|
317
|
+
fileHandle: FileSystemFileHandle | null;
|
|
314
318
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
315
319
|
stats: {
|
|
316
320
|
open: boolean;
|
|
317
321
|
panels: number;
|
|
318
322
|
};
|
|
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
323
|
showHyperlinkPopup: false | "info" | "editor";
|
|
328
324
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
329
325
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -30,6 +30,8 @@ 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
|
+
bindingPreference: "enabled" | "disabled";
|
|
34
|
+
isMidpointSnappingEnabled: boolean;
|
|
33
35
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
34
36
|
suggestedBinding: {
|
|
35
37
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -97,6 +99,10 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
97
99
|
} | {
|
|
98
100
|
name: "elementLinkSelector";
|
|
99
101
|
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
102
|
+
} | {
|
|
103
|
+
name: "charts";
|
|
104
|
+
data: import("../charts").Spreadsheet;
|
|
105
|
+
rawText: string;
|
|
100
106
|
};
|
|
101
107
|
defaultSidebarDockedPreference: boolean;
|
|
102
108
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -112,7 +118,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
112
118
|
selectedElementsAreBeingDragged: boolean;
|
|
113
119
|
shouldCacheIgnoreZoom: boolean;
|
|
114
120
|
toast: {
|
|
115
|
-
message:
|
|
121
|
+
message: React.ReactNode;
|
|
116
122
|
closable?: boolean;
|
|
117
123
|
duration?: number;
|
|
118
124
|
} | null;
|
|
@@ -130,20 +136,12 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
130
136
|
height: number;
|
|
131
137
|
offsetTop: number;
|
|
132
138
|
offsetLeft: number;
|
|
133
|
-
fileHandle:
|
|
139
|
+
fileHandle: FileSystemFileHandle | null;
|
|
134
140
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
135
141
|
stats: {
|
|
136
142
|
open: boolean;
|
|
137
143
|
panels: number;
|
|
138
144
|
};
|
|
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
145
|
showHyperlinkPopup: false | "info" | "editor";
|
|
148
146
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
149
147
|
snapLines: readonly import("../snapping").SnapLine[];
|