@zsviczian/excalidraw 0.11.0-obsidian-22 → 0.11.0-obsidian-24
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/excalidraw.development.js +393 -361
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +6 -3
- package/types/actions/actionBoundText.d.ts +2 -1
- package/types/actions/actionCanvas.d.ts +18 -9
- package/types/actions/actionClipboard.d.ts +10 -5
- package/types/actions/actionDeleteSelected.d.ts +6 -3
- package/types/actions/actionExport.d.ts +18 -9
- package/types/actions/actionFinalize.d.ts +5 -3
- package/types/actions/actionMenu.d.ts +6 -3
- package/types/actions/actionProperties.d.ts +26 -13
- package/types/actions/actionStyles.d.ts +2 -1
- package/types/actions/actionToggleGridMode.d.ts +2 -1
- package/types/actions/actionToggleStats.d.ts +2 -1
- package/types/actions/actionToggleViewMode.d.ts +2 -1
- package/types/actions/actionToggleZenMode.d.ts +2 -1
- package/types/appState.d.ts +2 -0
- package/types/components/App.d.ts +11 -7
- package/types/components/LayerUI.d.ts +4 -3
- package/types/components/LibraryMenuItems.d.ts +2 -1
- package/types/components/MobileMenu.d.ts +2 -1
- package/types/components/SidebarLockButton.d.ts +9 -0
- package/types/components/Stack.d.ts +1 -1
- package/types/constants.d.ts +3 -0
- package/types/element/Hyperlink.d.ts +2 -1
- package/types/element/linearElementEditor.d.ts +2 -1
- package/types/packages/excalidraw/dist/excalidraw.production.min.d.ts +1 -1
- package/types/packages/excalidraw/entry.d.ts +0 -2
- package/types/packages/excalidraw/index.d.ts +1 -2
- package/types/types.d.ts +15 -13
- package/types/utils.d.ts +1 -0
package/package.json
CHANGED
|
@@ -84,6 +84,7 @@ export declare const actionAddToLibrary: {
|
|
|
84
84
|
offsetTop: number;
|
|
85
85
|
offsetLeft: number;
|
|
86
86
|
isLibraryOpen: boolean;
|
|
87
|
+
isLibraryMenuDocked: boolean;
|
|
87
88
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
88
89
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
89
90
|
showStats: boolean;
|
|
@@ -95,7 +96,7 @@ export declare const actionAddToLibrary: {
|
|
|
95
96
|
shown: true;
|
|
96
97
|
data: import("../charts").Spreadsheet;
|
|
97
98
|
};
|
|
98
|
-
|
|
99
|
+
pendingImageElementId: string | null;
|
|
99
100
|
showHyperlinkPopup: false | "info" | "editor";
|
|
100
101
|
linkOpacity: number;
|
|
101
102
|
trayModeEnabled: boolean;
|
|
@@ -186,6 +187,7 @@ export declare const actionAddToLibrary: {
|
|
|
186
187
|
offsetTop: number;
|
|
187
188
|
offsetLeft: number;
|
|
188
189
|
isLibraryOpen: boolean;
|
|
190
|
+
isLibraryMenuDocked: boolean;
|
|
189
191
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
190
192
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
191
193
|
showStats: boolean;
|
|
@@ -197,7 +199,7 @@ export declare const actionAddToLibrary: {
|
|
|
197
199
|
shown: true;
|
|
198
200
|
data: import("../charts").Spreadsheet;
|
|
199
201
|
};
|
|
200
|
-
|
|
202
|
+
pendingImageElementId: string | null;
|
|
201
203
|
showHyperlinkPopup: false | "info" | "editor";
|
|
202
204
|
linkOpacity: number;
|
|
203
205
|
trayModeEnabled: boolean;
|
|
@@ -288,6 +290,7 @@ export declare const actionAddToLibrary: {
|
|
|
288
290
|
offsetTop: number;
|
|
289
291
|
offsetLeft: number;
|
|
290
292
|
isLibraryOpen: boolean;
|
|
293
|
+
isLibraryMenuDocked: boolean;
|
|
291
294
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
292
295
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
293
296
|
showStats: boolean;
|
|
@@ -299,7 +302,7 @@ export declare const actionAddToLibrary: {
|
|
|
299
302
|
shown: true;
|
|
300
303
|
data: import("../charts").Spreadsheet;
|
|
301
304
|
};
|
|
302
|
-
|
|
305
|
+
pendingImageElementId: string | null;
|
|
303
306
|
showHyperlinkPopup: false | "info" | "editor";
|
|
304
307
|
linkOpacity: number;
|
|
305
308
|
trayModeEnabled: boolean;
|
|
@@ -101,6 +101,7 @@ export declare const actionBindText: {
|
|
|
101
101
|
offsetTop: number;
|
|
102
102
|
offsetLeft: number;
|
|
103
103
|
isLibraryOpen: boolean;
|
|
104
|
+
isLibraryMenuDocked: boolean;
|
|
104
105
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
105
106
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
106
107
|
showStats: boolean;
|
|
@@ -112,7 +113,7 @@ export declare const actionBindText: {
|
|
|
112
113
|
shown: true;
|
|
113
114
|
data: import("../charts").Spreadsheet;
|
|
114
115
|
};
|
|
115
|
-
|
|
116
|
+
pendingImageElementId: string | null;
|
|
116
117
|
showHyperlinkPopup: false | "info" | "editor";
|
|
117
118
|
linkOpacity: number;
|
|
118
119
|
trayModeEnabled: boolean;
|
|
@@ -103,10 +103,11 @@ export declare const actionClearCanvas: {
|
|
|
103
103
|
};
|
|
104
104
|
editingGroupId: string | null;
|
|
105
105
|
isLibraryOpen: boolean;
|
|
106
|
+
isLibraryMenuDocked: boolean;
|
|
106
107
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
107
108
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
108
109
|
currentChartType: import("../element/types").ChartType;
|
|
109
|
-
|
|
110
|
+
pendingImageElementId: string | null;
|
|
110
111
|
showHyperlinkPopup: false | "info" | "editor";
|
|
111
112
|
linkOpacity: number;
|
|
112
113
|
trayModeEnabled: boolean;
|
|
@@ -207,6 +208,7 @@ export declare const actionZoomIn: {
|
|
|
207
208
|
offsetTop: number;
|
|
208
209
|
offsetLeft: number;
|
|
209
210
|
isLibraryOpen: boolean;
|
|
211
|
+
isLibraryMenuDocked: boolean;
|
|
210
212
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
211
213
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
212
214
|
showStats: boolean;
|
|
@@ -218,7 +220,7 @@ export declare const actionZoomIn: {
|
|
|
218
220
|
shown: true;
|
|
219
221
|
data: import("../charts").Spreadsheet;
|
|
220
222
|
};
|
|
221
|
-
|
|
223
|
+
pendingImageElementId: string | null;
|
|
222
224
|
showHyperlinkPopup: false | "info" | "editor";
|
|
223
225
|
linkOpacity: number;
|
|
224
226
|
trayModeEnabled: boolean;
|
|
@@ -320,6 +322,7 @@ export declare const actionZoomOut: {
|
|
|
320
322
|
offsetTop: number;
|
|
321
323
|
offsetLeft: number;
|
|
322
324
|
isLibraryOpen: boolean;
|
|
325
|
+
isLibraryMenuDocked: boolean;
|
|
323
326
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
324
327
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
325
328
|
showStats: boolean;
|
|
@@ -331,7 +334,7 @@ export declare const actionZoomOut: {
|
|
|
331
334
|
shown: true;
|
|
332
335
|
data: import("../charts").Spreadsheet;
|
|
333
336
|
};
|
|
334
|
-
|
|
337
|
+
pendingImageElementId: string | null;
|
|
335
338
|
showHyperlinkPopup: false | "info" | "editor";
|
|
336
339
|
linkOpacity: number;
|
|
337
340
|
trayModeEnabled: boolean;
|
|
@@ -433,6 +436,7 @@ export declare const actionResetZoom: {
|
|
|
433
436
|
offsetTop: number;
|
|
434
437
|
offsetLeft: number;
|
|
435
438
|
isLibraryOpen: boolean;
|
|
439
|
+
isLibraryMenuDocked: boolean;
|
|
436
440
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
437
441
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
438
442
|
showStats: boolean;
|
|
@@ -444,7 +448,7 @@ export declare const actionResetZoom: {
|
|
|
444
448
|
shown: true;
|
|
445
449
|
data: import("../charts").Spreadsheet;
|
|
446
450
|
};
|
|
447
|
-
|
|
451
|
+
pendingImageElementId: string | null;
|
|
448
452
|
showHyperlinkPopup: false | "info" | "editor";
|
|
449
453
|
linkOpacity: number;
|
|
450
454
|
trayModeEnabled: boolean;
|
|
@@ -541,6 +545,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
541
545
|
offsetTop: number;
|
|
542
546
|
offsetLeft: number;
|
|
543
547
|
isLibraryOpen: boolean;
|
|
548
|
+
isLibraryMenuDocked: boolean;
|
|
544
549
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
545
550
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
546
551
|
showStats: boolean;
|
|
@@ -552,7 +557,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
552
557
|
shown: true;
|
|
553
558
|
data: import("../charts").Spreadsheet;
|
|
554
559
|
};
|
|
555
|
-
|
|
560
|
+
pendingImageElementId: string | null;
|
|
556
561
|
showHyperlinkPopup: false | "info" | "editor";
|
|
557
562
|
linkOpacity: number;
|
|
558
563
|
trayModeEnabled: boolean;
|
|
@@ -649,6 +654,7 @@ export declare const actionZoomToSelected: {
|
|
|
649
654
|
offsetTop: number;
|
|
650
655
|
offsetLeft: number;
|
|
651
656
|
isLibraryOpen: boolean;
|
|
657
|
+
isLibraryMenuDocked: boolean;
|
|
652
658
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
653
659
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
654
660
|
showStats: boolean;
|
|
@@ -660,7 +666,7 @@ export declare const actionZoomToSelected: {
|
|
|
660
666
|
shown: true;
|
|
661
667
|
data: import("../charts").Spreadsheet;
|
|
662
668
|
};
|
|
663
|
-
|
|
669
|
+
pendingImageElementId: string | null;
|
|
664
670
|
showHyperlinkPopup: false | "info" | "editor";
|
|
665
671
|
linkOpacity: number;
|
|
666
672
|
trayModeEnabled: boolean;
|
|
@@ -761,6 +767,7 @@ export declare const actionZoomToFit: {
|
|
|
761
767
|
offsetTop: number;
|
|
762
768
|
offsetLeft: number;
|
|
763
769
|
isLibraryOpen: boolean;
|
|
770
|
+
isLibraryMenuDocked: boolean;
|
|
764
771
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
765
772
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
766
773
|
showStats: boolean;
|
|
@@ -772,7 +779,7 @@ export declare const actionZoomToFit: {
|
|
|
772
779
|
shown: true;
|
|
773
780
|
data: import("../charts").Spreadsheet;
|
|
774
781
|
};
|
|
775
|
-
|
|
782
|
+
pendingImageElementId: string | null;
|
|
776
783
|
showHyperlinkPopup: false | "info" | "editor";
|
|
777
784
|
linkOpacity: number;
|
|
778
785
|
trayModeEnabled: boolean;
|
|
@@ -873,6 +880,7 @@ export declare const actionToggleTheme: {
|
|
|
873
880
|
offsetTop: number;
|
|
874
881
|
offsetLeft: number;
|
|
875
882
|
isLibraryOpen: boolean;
|
|
883
|
+
isLibraryMenuDocked: boolean;
|
|
876
884
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
877
885
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
878
886
|
showStats: boolean;
|
|
@@ -884,7 +892,7 @@ export declare const actionToggleTheme: {
|
|
|
884
892
|
shown: true;
|
|
885
893
|
data: import("../charts").Spreadsheet;
|
|
886
894
|
};
|
|
887
|
-
|
|
895
|
+
pendingImageElementId: string | null;
|
|
888
896
|
showHyperlinkPopup: false | "info" | "editor";
|
|
889
897
|
linkOpacity: number;
|
|
890
898
|
trayModeEnabled: boolean;
|
|
@@ -982,6 +990,7 @@ export declare const actionErase: {
|
|
|
982
990
|
offsetTop: number;
|
|
983
991
|
offsetLeft: number;
|
|
984
992
|
isLibraryOpen: boolean;
|
|
993
|
+
isLibraryMenuDocked: boolean;
|
|
985
994
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
986
995
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
987
996
|
showStats: boolean;
|
|
@@ -993,7 +1002,7 @@ export declare const actionErase: {
|
|
|
993
1002
|
shown: true;
|
|
994
1003
|
data: import("../charts").Spreadsheet;
|
|
995
1004
|
};
|
|
996
|
-
|
|
1005
|
+
pendingImageElementId: string | null;
|
|
997
1006
|
showHyperlinkPopup: false | "info" | "editor";
|
|
998
1007
|
linkOpacity: number;
|
|
999
1008
|
trayModeEnabled: boolean;
|
|
@@ -98,6 +98,7 @@ export declare const actionCut: {
|
|
|
98
98
|
offsetTop: number;
|
|
99
99
|
offsetLeft: number;
|
|
100
100
|
isLibraryOpen: boolean;
|
|
101
|
+
isLibraryMenuDocked: boolean;
|
|
101
102
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
102
103
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
103
104
|
showStats: boolean;
|
|
@@ -109,7 +110,7 @@ export declare const actionCut: {
|
|
|
109
110
|
shown: true;
|
|
110
111
|
data: import("../charts").Spreadsheet;
|
|
111
112
|
};
|
|
112
|
-
|
|
113
|
+
pendingImageElementId: string | null;
|
|
113
114
|
showHyperlinkPopup: false | "info" | "editor";
|
|
114
115
|
linkOpacity: number;
|
|
115
116
|
trayModeEnabled: boolean;
|
|
@@ -218,6 +219,7 @@ export declare const actionCut: {
|
|
|
218
219
|
offsetTop: number;
|
|
219
220
|
offsetLeft: number;
|
|
220
221
|
isLibraryOpen: boolean;
|
|
222
|
+
isLibraryMenuDocked: boolean;
|
|
221
223
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
222
224
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
223
225
|
showStats: boolean;
|
|
@@ -229,7 +231,7 @@ export declare const actionCut: {
|
|
|
229
231
|
shown: true;
|
|
230
232
|
data: import("../charts").Spreadsheet;
|
|
231
233
|
};
|
|
232
|
-
|
|
234
|
+
pendingImageElementId: string | null;
|
|
233
235
|
showHyperlinkPopup: false | "info" | "editor";
|
|
234
236
|
linkOpacity: number;
|
|
235
237
|
trayModeEnabled: boolean;
|
|
@@ -319,6 +321,7 @@ export declare const actionCut: {
|
|
|
319
321
|
offsetTop: number;
|
|
320
322
|
offsetLeft: number;
|
|
321
323
|
isLibraryOpen: boolean;
|
|
324
|
+
isLibraryMenuDocked: boolean;
|
|
322
325
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
323
326
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
324
327
|
showStats: boolean;
|
|
@@ -330,7 +333,7 @@ export declare const actionCut: {
|
|
|
330
333
|
shown: true;
|
|
331
334
|
data: import("../charts").Spreadsheet;
|
|
332
335
|
};
|
|
333
|
-
|
|
336
|
+
pendingImageElementId: string | null;
|
|
334
337
|
showHyperlinkPopup: false | "info" | "editor";
|
|
335
338
|
linkOpacity: number;
|
|
336
339
|
trayModeEnabled: boolean;
|
|
@@ -435,6 +438,7 @@ export declare const actionCopyAsSvg: {
|
|
|
435
438
|
offsetTop: number;
|
|
436
439
|
offsetLeft: number;
|
|
437
440
|
isLibraryOpen: boolean;
|
|
441
|
+
isLibraryMenuDocked: boolean;
|
|
438
442
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
439
443
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
440
444
|
showStats: boolean;
|
|
@@ -446,7 +450,7 @@ export declare const actionCopyAsSvg: {
|
|
|
446
450
|
shown: true;
|
|
447
451
|
data: import("../charts").Spreadsheet;
|
|
448
452
|
};
|
|
449
|
-
|
|
453
|
+
pendingImageElementId: string | null;
|
|
450
454
|
showHyperlinkPopup: false | "info" | "editor";
|
|
451
455
|
linkOpacity: number;
|
|
452
456
|
trayModeEnabled: boolean;
|
|
@@ -550,6 +554,7 @@ export declare const actionCopyAsPng: {
|
|
|
550
554
|
offsetTop: number;
|
|
551
555
|
offsetLeft: number;
|
|
552
556
|
isLibraryOpen: boolean;
|
|
557
|
+
isLibraryMenuDocked: boolean;
|
|
553
558
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
554
559
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
555
560
|
showStats: boolean;
|
|
@@ -561,7 +566,7 @@ export declare const actionCopyAsPng: {
|
|
|
561
566
|
shown: true;
|
|
562
567
|
data: import("../charts").Spreadsheet;
|
|
563
568
|
};
|
|
564
|
-
|
|
569
|
+
pendingImageElementId: string | null;
|
|
565
570
|
showHyperlinkPopup: false | "info" | "editor";
|
|
566
571
|
linkOpacity: number;
|
|
567
572
|
trayModeEnabled: boolean;
|
|
@@ -89,6 +89,7 @@ export declare const actionDeleteSelected: {
|
|
|
89
89
|
offsetTop: number;
|
|
90
90
|
offsetLeft: number;
|
|
91
91
|
isLibraryOpen: boolean;
|
|
92
|
+
isLibraryMenuDocked: boolean;
|
|
92
93
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
93
94
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
94
95
|
showStats: boolean;
|
|
@@ -100,7 +101,7 @@ export declare const actionDeleteSelected: {
|
|
|
100
101
|
shown: true;
|
|
101
102
|
data: import("../charts").Spreadsheet;
|
|
102
103
|
};
|
|
103
|
-
|
|
104
|
+
pendingImageElementId: string | null;
|
|
104
105
|
showHyperlinkPopup: false | "info" | "editor";
|
|
105
106
|
linkOpacity: number;
|
|
106
107
|
trayModeEnabled: boolean;
|
|
@@ -209,6 +210,7 @@ export declare const actionDeleteSelected: {
|
|
|
209
210
|
offsetTop: number;
|
|
210
211
|
offsetLeft: number;
|
|
211
212
|
isLibraryOpen: boolean;
|
|
213
|
+
isLibraryMenuDocked: boolean;
|
|
212
214
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
213
215
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
214
216
|
showStats: boolean;
|
|
@@ -220,7 +222,7 @@ export declare const actionDeleteSelected: {
|
|
|
220
222
|
shown: true;
|
|
221
223
|
data: import("../charts").Spreadsheet;
|
|
222
224
|
};
|
|
223
|
-
|
|
225
|
+
pendingImageElementId: string | null;
|
|
224
226
|
showHyperlinkPopup: false | "info" | "editor";
|
|
225
227
|
linkOpacity: number;
|
|
226
228
|
trayModeEnabled: boolean;
|
|
@@ -310,6 +312,7 @@ export declare const actionDeleteSelected: {
|
|
|
310
312
|
offsetTop: number;
|
|
311
313
|
offsetLeft: number;
|
|
312
314
|
isLibraryOpen: boolean;
|
|
315
|
+
isLibraryMenuDocked: boolean;
|
|
313
316
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
314
317
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
315
318
|
showStats: boolean;
|
|
@@ -321,7 +324,7 @@ export declare const actionDeleteSelected: {
|
|
|
321
324
|
shown: true;
|
|
322
325
|
data: import("../charts").Spreadsheet;
|
|
323
326
|
};
|
|
324
|
-
|
|
327
|
+
pendingImageElementId: string | null;
|
|
325
328
|
showHyperlinkPopup: false | "info" | "editor";
|
|
326
329
|
linkOpacity: number;
|
|
327
330
|
trayModeEnabled: boolean;
|
|
@@ -83,6 +83,7 @@ export declare const actionChangeProjectName: {
|
|
|
83
83
|
offsetTop: number;
|
|
84
84
|
offsetLeft: number;
|
|
85
85
|
isLibraryOpen: boolean;
|
|
86
|
+
isLibraryMenuDocked: boolean;
|
|
86
87
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
87
88
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
88
89
|
showStats: boolean;
|
|
@@ -94,7 +95,7 @@ export declare const actionChangeProjectName: {
|
|
|
94
95
|
shown: true;
|
|
95
96
|
data: import("../charts").Spreadsheet;
|
|
96
97
|
};
|
|
97
|
-
|
|
98
|
+
pendingImageElementId: string | null;
|
|
98
99
|
showHyperlinkPopup: false | "info" | "editor";
|
|
99
100
|
linkOpacity: number;
|
|
100
101
|
trayModeEnabled: boolean;
|
|
@@ -196,6 +197,7 @@ export declare const actionChangeExportScale: {
|
|
|
196
197
|
offsetTop: number;
|
|
197
198
|
offsetLeft: number;
|
|
198
199
|
isLibraryOpen: boolean;
|
|
200
|
+
isLibraryMenuDocked: boolean;
|
|
199
201
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
200
202
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
201
203
|
showStats: boolean;
|
|
@@ -207,7 +209,7 @@ export declare const actionChangeExportScale: {
|
|
|
207
209
|
shown: true;
|
|
208
210
|
data: import("../charts").Spreadsheet;
|
|
209
211
|
};
|
|
210
|
-
|
|
212
|
+
pendingImageElementId: string | null;
|
|
211
213
|
showHyperlinkPopup: false | "info" | "editor";
|
|
212
214
|
linkOpacity: number;
|
|
213
215
|
trayModeEnabled: boolean;
|
|
@@ -309,6 +311,7 @@ export declare const actionChangeExportBackground: {
|
|
|
309
311
|
offsetTop: number;
|
|
310
312
|
offsetLeft: number;
|
|
311
313
|
isLibraryOpen: boolean;
|
|
314
|
+
isLibraryMenuDocked: boolean;
|
|
312
315
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
313
316
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
314
317
|
showStats: boolean;
|
|
@@ -320,7 +323,7 @@ export declare const actionChangeExportBackground: {
|
|
|
320
323
|
shown: true;
|
|
321
324
|
data: import("../charts").Spreadsheet;
|
|
322
325
|
};
|
|
323
|
-
|
|
326
|
+
pendingImageElementId: string | null;
|
|
324
327
|
showHyperlinkPopup: false | "info" | "editor";
|
|
325
328
|
linkOpacity: number;
|
|
326
329
|
trayModeEnabled: boolean;
|
|
@@ -422,6 +425,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
422
425
|
offsetTop: number;
|
|
423
426
|
offsetLeft: number;
|
|
424
427
|
isLibraryOpen: boolean;
|
|
428
|
+
isLibraryMenuDocked: boolean;
|
|
425
429
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
426
430
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
427
431
|
showStats: boolean;
|
|
@@ -433,7 +437,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
433
437
|
shown: true;
|
|
434
438
|
data: import("../charts").Spreadsheet;
|
|
435
439
|
};
|
|
436
|
-
|
|
440
|
+
pendingImageElementId: string | null;
|
|
437
441
|
showHyperlinkPopup: false | "info" | "editor";
|
|
438
442
|
linkOpacity: number;
|
|
439
443
|
trayModeEnabled: boolean;
|
|
@@ -536,6 +540,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
536
540
|
offsetTop: number;
|
|
537
541
|
offsetLeft: number;
|
|
538
542
|
isLibraryOpen: boolean;
|
|
543
|
+
isLibraryMenuDocked: boolean;
|
|
539
544
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
540
545
|
showStats: boolean;
|
|
541
546
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -546,7 +551,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
546
551
|
shown: true;
|
|
547
552
|
data: import("../charts").Spreadsheet;
|
|
548
553
|
};
|
|
549
|
-
|
|
554
|
+
pendingImageElementId: string | null;
|
|
550
555
|
showHyperlinkPopup: false | "info" | "editor";
|
|
551
556
|
linkOpacity: number;
|
|
552
557
|
trayModeEnabled: boolean;
|
|
@@ -652,6 +657,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
652
657
|
offsetTop: number;
|
|
653
658
|
offsetLeft: number;
|
|
654
659
|
isLibraryOpen: boolean;
|
|
660
|
+
isLibraryMenuDocked: boolean;
|
|
655
661
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
656
662
|
showStats: boolean;
|
|
657
663
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -662,7 +668,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
662
668
|
shown: true;
|
|
663
669
|
data: import("../charts").Spreadsheet;
|
|
664
670
|
};
|
|
665
|
-
|
|
671
|
+
pendingImageElementId: string | null;
|
|
666
672
|
showHyperlinkPopup: false | "info" | "editor";
|
|
667
673
|
linkOpacity: number;
|
|
668
674
|
trayModeEnabled: boolean;
|
|
@@ -763,6 +769,7 @@ export declare const actionLoadScene: {
|
|
|
763
769
|
};
|
|
764
770
|
editingGroupId: string | null;
|
|
765
771
|
isLibraryOpen: boolean;
|
|
772
|
+
isLibraryMenuDocked: boolean;
|
|
766
773
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
767
774
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
768
775
|
showStats: boolean;
|
|
@@ -774,7 +781,7 @@ export declare const actionLoadScene: {
|
|
|
774
781
|
shown: true;
|
|
775
782
|
data: import("../charts").Spreadsheet;
|
|
776
783
|
};
|
|
777
|
-
|
|
784
|
+
pendingImageElementId: string | null;
|
|
778
785
|
showHyperlinkPopup: false | "info" | "editor";
|
|
779
786
|
linkOpacity: number;
|
|
780
787
|
trayModeEnabled: boolean;
|
|
@@ -867,6 +874,7 @@ export declare const actionLoadScene: {
|
|
|
867
874
|
offsetTop: number;
|
|
868
875
|
offsetLeft: number;
|
|
869
876
|
isLibraryOpen: boolean;
|
|
877
|
+
isLibraryMenuDocked: boolean;
|
|
870
878
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
871
879
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
872
880
|
showStats: boolean;
|
|
@@ -878,7 +886,7 @@ export declare const actionLoadScene: {
|
|
|
878
886
|
shown: true;
|
|
879
887
|
data: import("../charts").Spreadsheet;
|
|
880
888
|
};
|
|
881
|
-
|
|
889
|
+
pendingImageElementId: string | null;
|
|
882
890
|
showHyperlinkPopup: false | "info" | "editor";
|
|
883
891
|
linkOpacity: number;
|
|
884
892
|
trayModeEnabled: boolean;
|
|
@@ -982,6 +990,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
982
990
|
offsetTop: number;
|
|
983
991
|
offsetLeft: number;
|
|
984
992
|
isLibraryOpen: boolean;
|
|
993
|
+
isLibraryMenuDocked: boolean;
|
|
985
994
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
986
995
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
987
996
|
showStats: boolean;
|
|
@@ -993,7 +1002,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
993
1002
|
shown: true;
|
|
994
1003
|
data: import("../charts").Spreadsheet;
|
|
995
1004
|
};
|
|
996
|
-
|
|
1005
|
+
pendingImageElementId: string | null;
|
|
997
1006
|
showHyperlinkPopup: false | "info" | "editor";
|
|
998
1007
|
linkOpacity: number;
|
|
999
1008
|
trayModeEnabled: boolean;
|
|
@@ -4,7 +4,7 @@ import { AppState } from "../types";
|
|
|
4
4
|
export declare const actionFinalize: {
|
|
5
5
|
name: "finalize";
|
|
6
6
|
trackEvent: false;
|
|
7
|
-
perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<AppState>, _: any, { canvas, focusContainer }: import("../types").AppClassProperties) => {
|
|
7
|
+
perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<AppState>, _: any, { canvas, focusContainer, scene }: import("../types").AppClassProperties) => {
|
|
8
8
|
elements: import("../element/types").ExcalidrawElement[] | undefined;
|
|
9
9
|
appState: {
|
|
10
10
|
cursorButton: "up";
|
|
@@ -85,6 +85,7 @@ export declare const actionFinalize: {
|
|
|
85
85
|
offsetTop: number;
|
|
86
86
|
offsetLeft: number;
|
|
87
87
|
isLibraryOpen: boolean;
|
|
88
|
+
isLibraryMenuDocked: boolean;
|
|
88
89
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
89
90
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
90
91
|
showStats: boolean;
|
|
@@ -96,7 +97,7 @@ export declare const actionFinalize: {
|
|
|
96
97
|
shown: true;
|
|
97
98
|
data: import("../charts").Spreadsheet;
|
|
98
99
|
};
|
|
99
|
-
|
|
100
|
+
pendingImageElementId: string | null;
|
|
100
101
|
showHyperlinkPopup: false | "info" | "editor";
|
|
101
102
|
linkOpacity: number;
|
|
102
103
|
trayModeEnabled: boolean;
|
|
@@ -130,7 +131,7 @@ export declare const actionFinalize: {
|
|
|
130
131
|
selectedElementIds: {
|
|
131
132
|
[id: string]: boolean;
|
|
132
133
|
};
|
|
133
|
-
|
|
134
|
+
pendingImageElementId: null;
|
|
134
135
|
isLoading: boolean;
|
|
135
136
|
errorMessage: string | null;
|
|
136
137
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -189,6 +190,7 @@ export declare const actionFinalize: {
|
|
|
189
190
|
offsetTop: number;
|
|
190
191
|
offsetLeft: number;
|
|
191
192
|
isLibraryOpen: boolean;
|
|
193
|
+
isLibraryMenuDocked: boolean;
|
|
192
194
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
193
195
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
194
196
|
showStats: boolean;
|
|
@@ -84,6 +84,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
84
84
|
offsetTop: number;
|
|
85
85
|
offsetLeft: number;
|
|
86
86
|
isLibraryOpen: boolean;
|
|
87
|
+
isLibraryMenuDocked: boolean;
|
|
87
88
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
88
89
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
89
90
|
showStats: boolean;
|
|
@@ -95,7 +96,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
95
96
|
shown: true;
|
|
96
97
|
data: import("../charts").Spreadsheet;
|
|
97
98
|
};
|
|
98
|
-
|
|
99
|
+
pendingImageElementId: string | null;
|
|
99
100
|
showHyperlinkPopup: false | "info" | "editor";
|
|
100
101
|
linkOpacity: number;
|
|
101
102
|
trayModeEnabled: boolean;
|
|
@@ -196,6 +197,7 @@ export declare const actionToggleEditMenu: {
|
|
|
196
197
|
offsetTop: number;
|
|
197
198
|
offsetLeft: number;
|
|
198
199
|
isLibraryOpen: boolean;
|
|
200
|
+
isLibraryMenuDocked: boolean;
|
|
199
201
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
200
202
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
201
203
|
showStats: boolean;
|
|
@@ -207,7 +209,7 @@ export declare const actionToggleEditMenu: {
|
|
|
207
209
|
shown: true;
|
|
208
210
|
data: import("../charts").Spreadsheet;
|
|
209
211
|
};
|
|
210
|
-
|
|
212
|
+
pendingImageElementId: string | null;
|
|
211
213
|
showHyperlinkPopup: false | "info" | "editor";
|
|
212
214
|
linkOpacity: number;
|
|
213
215
|
trayModeEnabled: boolean;
|
|
@@ -322,6 +324,7 @@ export declare const actionShortcuts: {
|
|
|
322
324
|
offsetTop: number;
|
|
323
325
|
offsetLeft: number;
|
|
324
326
|
isLibraryOpen: boolean;
|
|
327
|
+
isLibraryMenuDocked: boolean;
|
|
325
328
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
326
329
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
327
330
|
showStats: boolean;
|
|
@@ -333,7 +336,7 @@ export declare const actionShortcuts: {
|
|
|
333
336
|
shown: true;
|
|
334
337
|
data: import("../charts").Spreadsheet;
|
|
335
338
|
};
|
|
336
|
-
|
|
339
|
+
pendingImageElementId: string | null;
|
|
337
340
|
showHyperlinkPopup: false | "info" | "editor";
|
|
338
341
|
linkOpacity: number;
|
|
339
342
|
trayModeEnabled: boolean;
|