@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 actionSelectAllElementsInFrame: {
|
|
|
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 actionSelectAllElementsInFrame: {
|
|
|
99
101
|
} | {
|
|
100
102
|
name: "elementLinkSelector";
|
|
101
103
|
sourceElementId: 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;
|
|
@@ -111,7 +117,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
111
117
|
selectedElementsAreBeingDragged: boolean;
|
|
112
118
|
shouldCacheIgnoreZoom: boolean;
|
|
113
119
|
toast: {
|
|
114
|
-
message:
|
|
120
|
+
message: React.ReactNode;
|
|
115
121
|
closable?: boolean;
|
|
116
122
|
duration?: number;
|
|
117
123
|
} | null;
|
|
@@ -129,20 +135,12 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
129
135
|
height: number;
|
|
130
136
|
offsetTop: number;
|
|
131
137
|
offsetLeft: number;
|
|
132
|
-
fileHandle:
|
|
138
|
+
fileHandle: FileSystemFileHandle | null;
|
|
133
139
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
134
140
|
stats: {
|
|
135
141
|
open: boolean;
|
|
136
142
|
panels: number;
|
|
137
143
|
};
|
|
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
144
|
showHyperlinkPopup: false | "info" | "editor";
|
|
147
145
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
148
146
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -204,6 +202,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
204
202
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
205
203
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
206
204
|
isBindingEnabled: boolean;
|
|
205
|
+
bindingPreference: "enabled" | "disabled";
|
|
206
|
+
isMidpointSnappingEnabled: boolean;
|
|
207
207
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
208
208
|
suggestedBinding: {
|
|
209
209
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -276,6 +276,10 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
276
276
|
} | {
|
|
277
277
|
name: "elementLinkSelector";
|
|
278
278
|
sourceElementId: ExcalidrawElement["id"];
|
|
279
|
+
} | {
|
|
280
|
+
name: "charts";
|
|
281
|
+
data: import("../charts").Spreadsheet;
|
|
282
|
+
rawText: string;
|
|
279
283
|
};
|
|
280
284
|
defaultSidebarDockedPreference: boolean;
|
|
281
285
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -288,7 +292,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
288
292
|
selectedElementsAreBeingDragged: boolean;
|
|
289
293
|
shouldCacheIgnoreZoom: boolean;
|
|
290
294
|
toast: {
|
|
291
|
-
message:
|
|
295
|
+
message: React.ReactNode;
|
|
292
296
|
closable?: boolean;
|
|
293
297
|
duration?: number;
|
|
294
298
|
} | null;
|
|
@@ -306,20 +310,12 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
306
310
|
height: number;
|
|
307
311
|
offsetTop: number;
|
|
308
312
|
offsetLeft: number;
|
|
309
|
-
fileHandle:
|
|
313
|
+
fileHandle: FileSystemFileHandle | null;
|
|
310
314
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
311
315
|
stats: {
|
|
312
316
|
open: boolean;
|
|
313
317
|
panels: number;
|
|
314
318
|
};
|
|
315
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
316
|
-
pasteDialog: {
|
|
317
|
-
shown: false;
|
|
318
|
-
data: null;
|
|
319
|
-
} | {
|
|
320
|
-
shown: true;
|
|
321
|
-
data: import("../charts").Spreadsheet;
|
|
322
|
-
};
|
|
323
319
|
showHyperlinkPopup: false | "info" | "editor";
|
|
324
320
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
325
321
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -385,6 +381,8 @@ export declare const actionupdateFrameRendering: {
|
|
|
385
381
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
386
382
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
387
383
|
isBindingEnabled: boolean;
|
|
384
|
+
bindingPreference: "enabled" | "disabled";
|
|
385
|
+
isMidpointSnappingEnabled: boolean;
|
|
388
386
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
389
387
|
suggestedBinding: {
|
|
390
388
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -451,6 +449,10 @@ export declare const actionupdateFrameRendering: {
|
|
|
451
449
|
} | {
|
|
452
450
|
name: "elementLinkSelector";
|
|
453
451
|
sourceElementId: ExcalidrawElement["id"];
|
|
452
|
+
} | {
|
|
453
|
+
name: "charts";
|
|
454
|
+
data: import("../charts").Spreadsheet;
|
|
455
|
+
rawText: string;
|
|
454
456
|
};
|
|
455
457
|
defaultSidebarDockedPreference: boolean;
|
|
456
458
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -466,7 +468,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
466
468
|
selectedElementsAreBeingDragged: boolean;
|
|
467
469
|
shouldCacheIgnoreZoom: boolean;
|
|
468
470
|
toast: {
|
|
469
|
-
message:
|
|
471
|
+
message: React.ReactNode;
|
|
470
472
|
closable?: boolean;
|
|
471
473
|
duration?: number;
|
|
472
474
|
} | null;
|
|
@@ -484,20 +486,12 @@ export declare const actionupdateFrameRendering: {
|
|
|
484
486
|
height: number;
|
|
485
487
|
offsetTop: number;
|
|
486
488
|
offsetLeft: number;
|
|
487
|
-
fileHandle:
|
|
489
|
+
fileHandle: FileSystemFileHandle | null;
|
|
488
490
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
489
491
|
stats: {
|
|
490
492
|
open: boolean;
|
|
491
493
|
panels: number;
|
|
492
494
|
};
|
|
493
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
494
|
-
pasteDialog: {
|
|
495
|
-
shown: false;
|
|
496
|
-
data: null;
|
|
497
|
-
} | {
|
|
498
|
-
shown: true;
|
|
499
|
-
data: import("../charts").Spreadsheet;
|
|
500
|
-
};
|
|
501
495
|
showHyperlinkPopup: false | "info" | "editor";
|
|
502
496
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
503
497
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -559,6 +553,8 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
559
553
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
560
554
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
561
555
|
isBindingEnabled: boolean;
|
|
556
|
+
bindingPreference: "enabled" | "disabled";
|
|
557
|
+
isMidpointSnappingEnabled: boolean;
|
|
562
558
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
563
559
|
suggestedBinding: {
|
|
564
560
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -626,6 +622,10 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
626
622
|
} | {
|
|
627
623
|
name: "elementLinkSelector";
|
|
628
624
|
sourceElementId: ExcalidrawElement["id"];
|
|
625
|
+
} | {
|
|
626
|
+
name: "charts";
|
|
627
|
+
data: import("../charts").Spreadsheet;
|
|
628
|
+
rawText: string;
|
|
629
629
|
};
|
|
630
630
|
defaultSidebarDockedPreference: boolean;
|
|
631
631
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -641,7 +641,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
641
641
|
selectedElementsAreBeingDragged: boolean;
|
|
642
642
|
shouldCacheIgnoreZoom: boolean;
|
|
643
643
|
toast: {
|
|
644
|
-
message:
|
|
644
|
+
message: React.ReactNode;
|
|
645
645
|
closable?: boolean;
|
|
646
646
|
duration?: number;
|
|
647
647
|
} | null;
|
|
@@ -659,20 +659,12 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
659
659
|
height: number;
|
|
660
660
|
offsetTop: number;
|
|
661
661
|
offsetLeft: number;
|
|
662
|
-
fileHandle:
|
|
662
|
+
fileHandle: FileSystemFileHandle | null;
|
|
663
663
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
664
664
|
stats: {
|
|
665
665
|
open: boolean;
|
|
666
666
|
panels: number;
|
|
667
667
|
};
|
|
668
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
669
|
-
pasteDialog: {
|
|
670
|
-
shown: false;
|
|
671
|
-
data: null;
|
|
672
|
-
} | {
|
|
673
|
-
shown: true;
|
|
674
|
-
data: import("../charts").Spreadsheet;
|
|
675
|
-
};
|
|
676
668
|
showHyperlinkPopup: false | "info" | "editor";
|
|
677
669
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
678
670
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -33,6 +33,8 @@ export declare const actionGroup: {
|
|
|
33
33
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
34
34
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
35
35
|
isBindingEnabled: boolean;
|
|
36
|
+
bindingPreference: "enabled" | "disabled";
|
|
37
|
+
isMidpointSnappingEnabled: boolean;
|
|
36
38
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
37
39
|
suggestedBinding: {
|
|
38
40
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -105,6 +107,10 @@ export declare const actionGroup: {
|
|
|
105
107
|
} | {
|
|
106
108
|
name: "elementLinkSelector";
|
|
107
109
|
sourceElementId: ExcalidrawElement["id"];
|
|
110
|
+
} | {
|
|
111
|
+
name: "charts";
|
|
112
|
+
data: import("../charts").Spreadsheet;
|
|
113
|
+
rawText: string;
|
|
108
114
|
};
|
|
109
115
|
defaultSidebarDockedPreference: boolean;
|
|
110
116
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -117,7 +123,7 @@ export declare const actionGroup: {
|
|
|
117
123
|
selectedElementsAreBeingDragged: boolean;
|
|
118
124
|
shouldCacheIgnoreZoom: boolean;
|
|
119
125
|
toast: {
|
|
120
|
-
message:
|
|
126
|
+
message: React.ReactNode;
|
|
121
127
|
closable?: boolean;
|
|
122
128
|
duration?: number;
|
|
123
129
|
} | null;
|
|
@@ -131,20 +137,12 @@ export declare const actionGroup: {
|
|
|
131
137
|
height: number;
|
|
132
138
|
offsetTop: number;
|
|
133
139
|
offsetLeft: number;
|
|
134
|
-
fileHandle:
|
|
140
|
+
fileHandle: FileSystemFileHandle | null;
|
|
135
141
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
136
142
|
stats: {
|
|
137
143
|
open: boolean;
|
|
138
144
|
panels: number;
|
|
139
145
|
};
|
|
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
146
|
showHyperlinkPopup: false | "info" | "editor";
|
|
149
147
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
150
148
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -209,6 +207,8 @@ export declare const actionUngroup: {
|
|
|
209
207
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
210
208
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
211
209
|
isBindingEnabled: boolean;
|
|
210
|
+
bindingPreference: "enabled" | "disabled";
|
|
211
|
+
isMidpointSnappingEnabled: boolean;
|
|
212
212
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
213
213
|
suggestedBinding: {
|
|
214
214
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -281,6 +281,10 @@ export declare const actionUngroup: {
|
|
|
281
281
|
} | {
|
|
282
282
|
name: "elementLinkSelector";
|
|
283
283
|
sourceElementId: ExcalidrawElement["id"];
|
|
284
|
+
} | {
|
|
285
|
+
name: "charts";
|
|
286
|
+
data: import("../charts").Spreadsheet;
|
|
287
|
+
rawText: string;
|
|
284
288
|
};
|
|
285
289
|
defaultSidebarDockedPreference: boolean;
|
|
286
290
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -293,7 +297,7 @@ export declare const actionUngroup: {
|
|
|
293
297
|
selectedElementsAreBeingDragged: boolean;
|
|
294
298
|
shouldCacheIgnoreZoom: boolean;
|
|
295
299
|
toast: {
|
|
296
|
-
message:
|
|
300
|
+
message: React.ReactNode;
|
|
297
301
|
closable?: boolean;
|
|
298
302
|
duration?: number;
|
|
299
303
|
} | null;
|
|
@@ -307,20 +311,12 @@ export declare const actionUngroup: {
|
|
|
307
311
|
height: number;
|
|
308
312
|
offsetTop: number;
|
|
309
313
|
offsetLeft: number;
|
|
310
|
-
fileHandle:
|
|
314
|
+
fileHandle: FileSystemFileHandle | null;
|
|
311
315
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
312
316
|
stats: {
|
|
313
317
|
open: boolean;
|
|
314
318
|
panels: number;
|
|
315
319
|
};
|
|
316
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
317
|
-
pasteDialog: {
|
|
318
|
-
shown: false;
|
|
319
|
-
data: null;
|
|
320
|
-
} | {
|
|
321
|
-
shown: true;
|
|
322
|
-
data: import("../charts").Spreadsheet;
|
|
323
|
-
};
|
|
324
320
|
showHyperlinkPopup: false | "info" | "editor";
|
|
325
321
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
326
322
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -60,6 +60,8 @@ export declare const actionToggleLinearEditor: {
|
|
|
60
60
|
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
61
61
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
62
62
|
isBindingEnabled: boolean;
|
|
63
|
+
bindingPreference: "enabled" | "disabled";
|
|
64
|
+
isMidpointSnappingEnabled: boolean;
|
|
63
65
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
64
66
|
suggestedBinding: {
|
|
65
67
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -132,6 +134,10 @@ export declare const actionToggleLinearEditor: {
|
|
|
132
134
|
} | {
|
|
133
135
|
name: "elementLinkSelector";
|
|
134
136
|
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
137
|
+
} | {
|
|
138
|
+
name: "charts";
|
|
139
|
+
data: import("../charts").Spreadsheet;
|
|
140
|
+
rawText: string;
|
|
135
141
|
};
|
|
136
142
|
defaultSidebarDockedPreference: boolean;
|
|
137
143
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -147,7 +153,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
147
153
|
selectedElementsAreBeingDragged: boolean;
|
|
148
154
|
shouldCacheIgnoreZoom: boolean;
|
|
149
155
|
toast: {
|
|
150
|
-
message:
|
|
156
|
+
message: React.ReactNode;
|
|
151
157
|
closable?: boolean;
|
|
152
158
|
duration?: number;
|
|
153
159
|
} | null;
|
|
@@ -165,20 +171,12 @@ export declare const actionToggleLinearEditor: {
|
|
|
165
171
|
height: number;
|
|
166
172
|
offsetTop: number;
|
|
167
173
|
offsetLeft: number;
|
|
168
|
-
fileHandle:
|
|
174
|
+
fileHandle: FileSystemFileHandle | null;
|
|
169
175
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
170
176
|
stats: {
|
|
171
177
|
open: boolean;
|
|
172
178
|
panels: number;
|
|
173
179
|
};
|
|
174
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
175
|
-
pasteDialog: {
|
|
176
|
-
shown: false;
|
|
177
|
-
data: null;
|
|
178
|
-
} | {
|
|
179
|
-
shown: true;
|
|
180
|
-
data: import("../charts").Spreadsheet;
|
|
181
|
-
};
|
|
182
180
|
showHyperlinkPopup: false | "info" | "editor";
|
|
183
181
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
184
182
|
originSnapOffset: {
|
|
@@ -24,6 +24,8 @@ export declare const actionLink: {
|
|
|
24
24
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
25
25
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
26
26
|
isBindingEnabled: boolean;
|
|
27
|
+
bindingPreference: "enabled" | "disabled";
|
|
28
|
+
isMidpointSnappingEnabled: boolean;
|
|
27
29
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
28
30
|
suggestedBinding: {
|
|
29
31
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -95,6 +97,10 @@ export declare const actionLink: {
|
|
|
95
97
|
} | {
|
|
96
98
|
name: "elementLinkSelector";
|
|
97
99
|
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
100
|
+
} | {
|
|
101
|
+
name: "charts";
|
|
102
|
+
data: import("../charts").Spreadsheet;
|
|
103
|
+
rawText: string;
|
|
98
104
|
};
|
|
99
105
|
defaultSidebarDockedPreference: boolean;
|
|
100
106
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -110,7 +116,7 @@ export declare const actionLink: {
|
|
|
110
116
|
selectedElementsAreBeingDragged: boolean;
|
|
111
117
|
shouldCacheIgnoreZoom: boolean;
|
|
112
118
|
toast: {
|
|
113
|
-
message:
|
|
119
|
+
message: React.ReactNode;
|
|
114
120
|
closable?: boolean;
|
|
115
121
|
duration?: number;
|
|
116
122
|
} | null;
|
|
@@ -128,20 +134,12 @@ export declare const actionLink: {
|
|
|
128
134
|
height: number;
|
|
129
135
|
offsetTop: number;
|
|
130
136
|
offsetLeft: number;
|
|
131
|
-
fileHandle:
|
|
137
|
+
fileHandle: FileSystemFileHandle | null;
|
|
132
138
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
133
139
|
stats: {
|
|
134
140
|
open: boolean;
|
|
135
141
|
panels: number;
|
|
136
142
|
};
|
|
137
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
138
|
-
pasteDialog: {
|
|
139
|
-
shown: false;
|
|
140
|
-
data: null;
|
|
141
|
-
} | {
|
|
142
|
-
shown: true;
|
|
143
|
-
data: import("../charts").Spreadsheet;
|
|
144
|
-
};
|
|
145
143
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
146
144
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
147
145
|
originSnapOffset: {
|
|
@@ -31,6 +31,8 @@ export declare const actionShortcuts: {
|
|
|
31
31
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
32
32
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
33
33
|
isBindingEnabled: boolean;
|
|
34
|
+
bindingPreference: "enabled" | "disabled";
|
|
35
|
+
isMidpointSnappingEnabled: boolean;
|
|
34
36
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
35
37
|
suggestedBinding: {
|
|
36
38
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -103,7 +105,7 @@ export declare const actionShortcuts: {
|
|
|
103
105
|
selectedElementsAreBeingDragged: boolean;
|
|
104
106
|
shouldCacheIgnoreZoom: boolean;
|
|
105
107
|
toast: {
|
|
106
|
-
message:
|
|
108
|
+
message: React.ReactNode;
|
|
107
109
|
closable?: boolean;
|
|
108
110
|
duration?: number;
|
|
109
111
|
} | null;
|
|
@@ -121,20 +123,12 @@ export declare const actionShortcuts: {
|
|
|
121
123
|
height: number;
|
|
122
124
|
offsetTop: number;
|
|
123
125
|
offsetLeft: number;
|
|
124
|
-
fileHandle:
|
|
126
|
+
fileHandle: FileSystemFileHandle | null;
|
|
125
127
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
126
128
|
stats: {
|
|
127
129
|
open: boolean;
|
|
128
130
|
panels: number;
|
|
129
131
|
};
|
|
130
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
131
|
-
pasteDialog: {
|
|
132
|
-
shown: false;
|
|
133
|
-
data: null;
|
|
134
|
-
} | {
|
|
135
|
-
shown: true;
|
|
136
|
-
data: import("../charts").Spreadsheet;
|
|
137
|
-
};
|
|
138
132
|
showHyperlinkPopup: false | "info" | "editor";
|
|
139
133
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
140
134
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -53,6 +53,8 @@ export declare const actionDecreaseFontSize: {
|
|
|
53
53
|
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
54
54
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
55
55
|
isBindingEnabled: boolean;
|
|
56
|
+
bindingPreference: "enabled" | "disabled";
|
|
57
|
+
isMidpointSnappingEnabled: boolean;
|
|
56
58
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
57
59
|
suggestedBinding: {
|
|
58
60
|
element: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement>;
|
|
@@ -124,6 +126,10 @@ export declare const actionDecreaseFontSize: {
|
|
|
124
126
|
} | {
|
|
125
127
|
name: "elementLinkSelector";
|
|
126
128
|
sourceElementId: ExcalidrawElement["id"];
|
|
129
|
+
} | {
|
|
130
|
+
name: "charts";
|
|
131
|
+
data: import("../charts").Spreadsheet;
|
|
132
|
+
rawText: string;
|
|
127
133
|
};
|
|
128
134
|
defaultSidebarDockedPreference: boolean;
|
|
129
135
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -139,7 +145,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
139
145
|
selectedElementsAreBeingDragged: boolean;
|
|
140
146
|
shouldCacheIgnoreZoom: boolean;
|
|
141
147
|
toast: {
|
|
142
|
-
message:
|
|
148
|
+
message: React.ReactNode;
|
|
143
149
|
closable?: boolean;
|
|
144
150
|
duration?: number;
|
|
145
151
|
} | null;
|
|
@@ -157,20 +163,12 @@ export declare const actionDecreaseFontSize: {
|
|
|
157
163
|
height: number;
|
|
158
164
|
offsetTop: number;
|
|
159
165
|
offsetLeft: number;
|
|
160
|
-
fileHandle:
|
|
166
|
+
fileHandle: FileSystemFileHandle | null;
|
|
161
167
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
162
168
|
stats: {
|
|
163
169
|
open: boolean;
|
|
164
170
|
panels: number;
|
|
165
171
|
};
|
|
166
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
167
|
-
pasteDialog: {
|
|
168
|
-
shown: false;
|
|
169
|
-
data: null;
|
|
170
|
-
} | {
|
|
171
|
-
shown: true;
|
|
172
|
-
data: import("../charts").Spreadsheet;
|
|
173
|
-
};
|
|
174
172
|
showHyperlinkPopup: false | "info" | "editor";
|
|
175
173
|
selectedLinearElement: LinearElementEditor | null;
|
|
176
174
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -225,6 +223,8 @@ export declare const actionIncreaseFontSize: {
|
|
|
225
223
|
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
226
224
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
227
225
|
isBindingEnabled: boolean;
|
|
226
|
+
bindingPreference: "enabled" | "disabled";
|
|
227
|
+
isMidpointSnappingEnabled: boolean;
|
|
228
228
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
229
229
|
suggestedBinding: {
|
|
230
230
|
element: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement>;
|
|
@@ -296,6 +296,10 @@ export declare const actionIncreaseFontSize: {
|
|
|
296
296
|
} | {
|
|
297
297
|
name: "elementLinkSelector";
|
|
298
298
|
sourceElementId: ExcalidrawElement["id"];
|
|
299
|
+
} | {
|
|
300
|
+
name: "charts";
|
|
301
|
+
data: import("../charts").Spreadsheet;
|
|
302
|
+
rawText: string;
|
|
299
303
|
};
|
|
300
304
|
defaultSidebarDockedPreference: boolean;
|
|
301
305
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -311,7 +315,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
311
315
|
selectedElementsAreBeingDragged: boolean;
|
|
312
316
|
shouldCacheIgnoreZoom: boolean;
|
|
313
317
|
toast: {
|
|
314
|
-
message:
|
|
318
|
+
message: React.ReactNode;
|
|
315
319
|
closable?: boolean;
|
|
316
320
|
duration?: number;
|
|
317
321
|
} | null;
|
|
@@ -329,20 +333,12 @@ export declare const actionIncreaseFontSize: {
|
|
|
329
333
|
height: number;
|
|
330
334
|
offsetTop: number;
|
|
331
335
|
offsetLeft: number;
|
|
332
|
-
fileHandle:
|
|
336
|
+
fileHandle: FileSystemFileHandle | null;
|
|
333
337
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
334
338
|
stats: {
|
|
335
339
|
open: boolean;
|
|
336
340
|
panels: number;
|
|
337
341
|
};
|
|
338
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
339
|
-
pasteDialog: {
|
|
340
|
-
shown: false;
|
|
341
|
-
data: null;
|
|
342
|
-
} | {
|
|
343
|
-
shown: true;
|
|
344
|
-
data: import("../charts").Spreadsheet;
|
|
345
|
-
};
|
|
346
342
|
showHyperlinkPopup: false | "info" | "editor";
|
|
347
343
|
selectedLinearElement: LinearElementEditor | null;
|
|
348
344
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -31,6 +31,8 @@ export declare const actionSelectAll: {
|
|
|
31
31
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
32
32
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
33
33
|
isBindingEnabled: boolean;
|
|
34
|
+
bindingPreference: "enabled" | "disabled";
|
|
35
|
+
isMidpointSnappingEnabled: boolean;
|
|
34
36
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
35
37
|
suggestedBinding: {
|
|
36
38
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
@@ -103,6 +105,10 @@ export declare const actionSelectAll: {
|
|
|
103
105
|
} | {
|
|
104
106
|
name: "elementLinkSelector";
|
|
105
107
|
sourceElementId: ExcalidrawElement["id"];
|
|
108
|
+
} | {
|
|
109
|
+
name: "charts";
|
|
110
|
+
data: import("../charts").Spreadsheet;
|
|
111
|
+
rawText: string;
|
|
106
112
|
};
|
|
107
113
|
defaultSidebarDockedPreference: boolean;
|
|
108
114
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -115,7 +121,7 @@ export declare const actionSelectAll: {
|
|
|
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;
|
|
@@ -129,20 +135,12 @@ export declare const actionSelectAll: {
|
|
|
129
135
|
height: number;
|
|
130
136
|
offsetTop: number;
|
|
131
137
|
offsetLeft: number;
|
|
132
|
-
fileHandle:
|
|
138
|
+
fileHandle: FileSystemFileHandle | null;
|
|
133
139
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
134
140
|
stats: {
|
|
135
141
|
open: boolean;
|
|
136
142
|
panels: number;
|
|
137
143
|
};
|
|
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
144
|
showHyperlinkPopup: false | "info" | "editor";
|
|
147
145
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
148
146
|
originSnapOffset: {
|
|
@@ -28,6 +28,8 @@ export declare const actionCopyStyles: {
|
|
|
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 actionCopyStyles: {
|
|
|
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;
|
|
@@ -128,20 +134,12 @@ export declare const actionCopyStyles: {
|
|
|
128
134
|
height: number;
|
|
129
135
|
offsetTop: number;
|
|
130
136
|
offsetLeft: number;
|
|
131
|
-
fileHandle:
|
|
137
|
+
fileHandle: FileSystemFileHandle | null;
|
|
132
138
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
133
139
|
stats: {
|
|
134
140
|
open: boolean;
|
|
135
141
|
panels: number;
|
|
136
142
|
};
|
|
137
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
138
|
-
pasteDialog: {
|
|
139
|
-
shown: false;
|
|
140
|
-
data: null;
|
|
141
|
-
} | {
|
|
142
|
-
shown: true;
|
|
143
|
-
data: import("../charts").Spreadsheet;
|
|
144
|
-
};
|
|
145
143
|
showHyperlinkPopup: false | "info" | "editor";
|
|
146
144
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
147
145
|
snapLines: readonly import("../snapping").SnapLine[];
|