@dwelle/excalidraw 0.3.67 → 0.3.68-sidebar
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/CHANGELOG.md +12 -0
- package/README_NEXT.md +9 -3
- package/dist/excalidraw-assets/vendor-aed19b6e017f9f736254.js +2 -0
- package/dist/excalidraw-assets/vendor-aed19b6e017f9f736254.js.LICENSE.txt +12 -0
- package/dist/excalidraw-assets-dev/vendor-4534d6e506404cef7a9e.js +32 -0
- package/dist/excalidraw.development.js +905 -894
- 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 +16 -8
- 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/actionNavigate.d.ts +1 -1
- 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/actions/types.d.ts +1 -5
- package/types/appState.d.ts +2 -0
- package/types/components/App.d.ts +11 -5
- package/types/components/LayerUI.d.ts +4 -3
- package/types/components/LibraryMenuItems.d.ts +2 -1
- package/types/components/MobileMenu.d.ts +3 -2
- package/types/components/SidebarLockButton.d.ts +8 -0
- package/types/components/Stack.d.ts +1 -1
- package/types/components/UserList.d.ts +3 -5
- package/types/constants.d.ts +3 -0
- package/types/element/Hyperlink.d.ts +2 -1
- package/types/element/linearElementEditor.d.ts +3 -5
- package/types/packages/excalidraw/dist/excalidraw-assets/vendor-aed19b6e017f9f736254.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-4534d6e506404cef7a9e.d.ts +0 -0
- package/types/packages/excalidraw/example/App.d.ts +7 -0
- package/types/packages/excalidraw/example/sidebar/Sidebar.d.ts +5 -1
- package/types/types.d.ts +20 -12
- package/dist/excalidraw-assets/vendor-0e2ecbd1f46fc190ec01.js +0 -2
- package/dist/excalidraw-assets/vendor-0e2ecbd1f46fc190ec01.js.LICENSE.txt +0 -12
- package/dist/excalidraw-assets-dev/vendor-86b56a69e7dddcf8f70d.js +0 -32
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
|
};
|
|
101
102
|
} | {
|
|
@@ -179,6 +180,7 @@ export declare const actionAddToLibrary: {
|
|
|
179
180
|
offsetTop: number;
|
|
180
181
|
offsetLeft: number;
|
|
181
182
|
isLibraryOpen: boolean;
|
|
183
|
+
isLibraryMenuDocked: boolean;
|
|
182
184
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
183
185
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
184
186
|
showStats: boolean;
|
|
@@ -190,7 +192,7 @@ export declare const actionAddToLibrary: {
|
|
|
190
192
|
shown: true;
|
|
191
193
|
data: import("../charts").Spreadsheet;
|
|
192
194
|
};
|
|
193
|
-
|
|
195
|
+
pendingImageElementId: string | null;
|
|
194
196
|
showHyperlinkPopup: false | "info" | "editor";
|
|
195
197
|
};
|
|
196
198
|
}> | {
|
|
@@ -274,6 +276,7 @@ export declare const actionAddToLibrary: {
|
|
|
274
276
|
offsetTop: number;
|
|
275
277
|
offsetLeft: number;
|
|
276
278
|
isLibraryOpen: boolean;
|
|
279
|
+
isLibraryMenuDocked: boolean;
|
|
277
280
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
278
281
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
279
282
|
showStats: boolean;
|
|
@@ -285,7 +288,7 @@ export declare const actionAddToLibrary: {
|
|
|
285
288
|
shown: true;
|
|
286
289
|
data: import("../charts").Spreadsheet;
|
|
287
290
|
};
|
|
288
|
-
|
|
291
|
+
pendingImageElementId: string | null;
|
|
289
292
|
showHyperlinkPopup: false | "info" | "editor";
|
|
290
293
|
};
|
|
291
294
|
};
|
|
@@ -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
|
};
|
|
118
119
|
commitToHistory: true;
|
|
@@ -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
|
};
|
|
112
113
|
commitToHistory: true;
|
|
@@ -200,6 +201,7 @@ export declare const actionZoomIn: {
|
|
|
200
201
|
offsetTop: number;
|
|
201
202
|
offsetLeft: number;
|
|
202
203
|
isLibraryOpen: boolean;
|
|
204
|
+
isLibraryMenuDocked: boolean;
|
|
203
205
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
204
206
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
205
207
|
showStats: boolean;
|
|
@@ -211,7 +213,7 @@ export declare const actionZoomIn: {
|
|
|
211
213
|
shown: true;
|
|
212
214
|
data: import("../charts").Spreadsheet;
|
|
213
215
|
};
|
|
214
|
-
|
|
216
|
+
pendingImageElementId: string | null;
|
|
215
217
|
showHyperlinkPopup: false | "info" | "editor";
|
|
216
218
|
};
|
|
217
219
|
commitToHistory: false;
|
|
@@ -306,6 +308,7 @@ export declare const actionZoomOut: {
|
|
|
306
308
|
offsetTop: number;
|
|
307
309
|
offsetLeft: number;
|
|
308
310
|
isLibraryOpen: boolean;
|
|
311
|
+
isLibraryMenuDocked: boolean;
|
|
309
312
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
310
313
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
311
314
|
showStats: boolean;
|
|
@@ -317,7 +320,7 @@ export declare const actionZoomOut: {
|
|
|
317
320
|
shown: true;
|
|
318
321
|
data: import("../charts").Spreadsheet;
|
|
319
322
|
};
|
|
320
|
-
|
|
323
|
+
pendingImageElementId: string | null;
|
|
321
324
|
showHyperlinkPopup: false | "info" | "editor";
|
|
322
325
|
};
|
|
323
326
|
commitToHistory: false;
|
|
@@ -412,6 +415,7 @@ export declare const actionResetZoom: {
|
|
|
412
415
|
offsetTop: number;
|
|
413
416
|
offsetLeft: number;
|
|
414
417
|
isLibraryOpen: boolean;
|
|
418
|
+
isLibraryMenuDocked: boolean;
|
|
415
419
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
416
420
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
417
421
|
showStats: boolean;
|
|
@@ -423,7 +427,7 @@ export declare const actionResetZoom: {
|
|
|
423
427
|
shown: true;
|
|
424
428
|
data: import("../charts").Spreadsheet;
|
|
425
429
|
};
|
|
426
|
-
|
|
430
|
+
pendingImageElementId: string | null;
|
|
427
431
|
showHyperlinkPopup: false | "info" | "editor";
|
|
428
432
|
};
|
|
429
433
|
commitToHistory: false;
|
|
@@ -518,6 +522,7 @@ export declare const actionZoomToSelected: {
|
|
|
518
522
|
offsetTop: number;
|
|
519
523
|
offsetLeft: number;
|
|
520
524
|
isLibraryOpen: boolean;
|
|
525
|
+
isLibraryMenuDocked: boolean;
|
|
521
526
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
522
527
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
523
528
|
showStats: boolean;
|
|
@@ -529,7 +534,7 @@ export declare const actionZoomToSelected: {
|
|
|
529
534
|
shown: true;
|
|
530
535
|
data: import("../charts").Spreadsheet;
|
|
531
536
|
};
|
|
532
|
-
|
|
537
|
+
pendingImageElementId: string | null;
|
|
533
538
|
showHyperlinkPopup: false | "info" | "editor";
|
|
534
539
|
};
|
|
535
540
|
commitToHistory: boolean;
|
|
@@ -623,6 +628,7 @@ export declare const actionZoomToFit: {
|
|
|
623
628
|
offsetTop: number;
|
|
624
629
|
offsetLeft: number;
|
|
625
630
|
isLibraryOpen: boolean;
|
|
631
|
+
isLibraryMenuDocked: boolean;
|
|
626
632
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
627
633
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
628
634
|
showStats: boolean;
|
|
@@ -634,7 +640,7 @@ export declare const actionZoomToFit: {
|
|
|
634
640
|
shown: true;
|
|
635
641
|
data: import("../charts").Spreadsheet;
|
|
636
642
|
};
|
|
637
|
-
|
|
643
|
+
pendingImageElementId: string | null;
|
|
638
644
|
showHyperlinkPopup: false | "info" | "editor";
|
|
639
645
|
};
|
|
640
646
|
commitToHistory: boolean;
|
|
@@ -728,6 +734,7 @@ export declare const actionToggleTheme: {
|
|
|
728
734
|
offsetTop: number;
|
|
729
735
|
offsetLeft: number;
|
|
730
736
|
isLibraryOpen: boolean;
|
|
737
|
+
isLibraryMenuDocked: boolean;
|
|
731
738
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
732
739
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
733
740
|
showStats: boolean;
|
|
@@ -739,7 +746,7 @@ export declare const actionToggleTheme: {
|
|
|
739
746
|
shown: true;
|
|
740
747
|
data: import("../charts").Spreadsheet;
|
|
741
748
|
};
|
|
742
|
-
|
|
749
|
+
pendingImageElementId: string | null;
|
|
743
750
|
showHyperlinkPopup: false | "info" | "editor";
|
|
744
751
|
};
|
|
745
752
|
commitToHistory: false;
|
|
@@ -830,6 +837,7 @@ export declare const actionErase: {
|
|
|
830
837
|
offsetTop: number;
|
|
831
838
|
offsetLeft: number;
|
|
832
839
|
isLibraryOpen: boolean;
|
|
840
|
+
isLibraryMenuDocked: boolean;
|
|
833
841
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
834
842
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
835
843
|
showStats: boolean;
|
|
@@ -841,7 +849,7 @@ export declare const actionErase: {
|
|
|
841
849
|
shown: true;
|
|
842
850
|
data: import("../charts").Spreadsheet;
|
|
843
851
|
};
|
|
844
|
-
|
|
852
|
+
pendingImageElementId: string | null;
|
|
845
853
|
showHyperlinkPopup: false | "info" | "editor";
|
|
846
854
|
};
|
|
847
855
|
commitToHistory: true;
|
|
@@ -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
|
};
|
|
115
116
|
commitToHistory: false;
|
|
@@ -211,6 +212,7 @@ export declare const actionCut: {
|
|
|
211
212
|
offsetTop: number;
|
|
212
213
|
offsetLeft: number;
|
|
213
214
|
isLibraryOpen: boolean;
|
|
215
|
+
isLibraryMenuDocked: boolean;
|
|
214
216
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
215
217
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
216
218
|
showStats: boolean;
|
|
@@ -222,7 +224,7 @@ export declare const actionCut: {
|
|
|
222
224
|
shown: true;
|
|
223
225
|
data: import("../charts").Spreadsheet;
|
|
224
226
|
};
|
|
225
|
-
|
|
227
|
+
pendingImageElementId: string | null;
|
|
226
228
|
showHyperlinkPopup: false | "info" | "editor";
|
|
227
229
|
};
|
|
228
230
|
commitToHistory: true;
|
|
@@ -305,6 +307,7 @@ export declare const actionCut: {
|
|
|
305
307
|
offsetTop: number;
|
|
306
308
|
offsetLeft: number;
|
|
307
309
|
isLibraryOpen: boolean;
|
|
310
|
+
isLibraryMenuDocked: boolean;
|
|
308
311
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
309
312
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
310
313
|
showStats: boolean;
|
|
@@ -316,7 +319,7 @@ export declare const actionCut: {
|
|
|
316
319
|
shown: true;
|
|
317
320
|
data: import("../charts").Spreadsheet;
|
|
318
321
|
};
|
|
319
|
-
|
|
322
|
+
pendingImageElementId: string | null;
|
|
320
323
|
showHyperlinkPopup: false | "info" | "editor";
|
|
321
324
|
};
|
|
322
325
|
commitToHistory: boolean;
|
|
@@ -414,6 +417,7 @@ export declare const actionCopyAsSvg: {
|
|
|
414
417
|
offsetTop: number;
|
|
415
418
|
offsetLeft: number;
|
|
416
419
|
isLibraryOpen: boolean;
|
|
420
|
+
isLibraryMenuDocked: boolean;
|
|
417
421
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
418
422
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
419
423
|
showStats: boolean;
|
|
@@ -425,7 +429,7 @@ export declare const actionCopyAsSvg: {
|
|
|
425
429
|
shown: true;
|
|
426
430
|
data: import("../charts").Spreadsheet;
|
|
427
431
|
};
|
|
428
|
-
|
|
432
|
+
pendingImageElementId: string | null;
|
|
429
433
|
showHyperlinkPopup: false | "info" | "editor";
|
|
430
434
|
};
|
|
431
435
|
commitToHistory: false;
|
|
@@ -522,6 +526,7 @@ export declare const actionCopyAsPng: {
|
|
|
522
526
|
offsetTop: number;
|
|
523
527
|
offsetLeft: number;
|
|
524
528
|
isLibraryOpen: boolean;
|
|
529
|
+
isLibraryMenuDocked: boolean;
|
|
525
530
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
526
531
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
527
532
|
showStats: boolean;
|
|
@@ -533,7 +538,7 @@ export declare const actionCopyAsPng: {
|
|
|
533
538
|
shown: true;
|
|
534
539
|
data: import("../charts").Spreadsheet;
|
|
535
540
|
};
|
|
536
|
-
|
|
541
|
+
pendingImageElementId: string | null;
|
|
537
542
|
showHyperlinkPopup: false | "info" | "editor";
|
|
538
543
|
};
|
|
539
544
|
commitToHistory: false;
|
|
@@ -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
|
};
|
|
106
107
|
commitToHistory: false;
|
|
@@ -202,6 +203,7 @@ export declare const actionDeleteSelected: {
|
|
|
202
203
|
offsetTop: number;
|
|
203
204
|
offsetLeft: number;
|
|
204
205
|
isLibraryOpen: boolean;
|
|
206
|
+
isLibraryMenuDocked: boolean;
|
|
205
207
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
206
208
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
207
209
|
showStats: boolean;
|
|
@@ -213,7 +215,7 @@ export declare const actionDeleteSelected: {
|
|
|
213
215
|
shown: true;
|
|
214
216
|
data: import("../charts").Spreadsheet;
|
|
215
217
|
};
|
|
216
|
-
|
|
218
|
+
pendingImageElementId: string | null;
|
|
217
219
|
showHyperlinkPopup: false | "info" | "editor";
|
|
218
220
|
};
|
|
219
221
|
commitToHistory: true;
|
|
@@ -296,6 +298,7 @@ export declare const actionDeleteSelected: {
|
|
|
296
298
|
offsetTop: number;
|
|
297
299
|
offsetLeft: number;
|
|
298
300
|
isLibraryOpen: boolean;
|
|
301
|
+
isLibraryMenuDocked: boolean;
|
|
299
302
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
300
303
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
301
304
|
showStats: boolean;
|
|
@@ -307,7 +310,7 @@ export declare const actionDeleteSelected: {
|
|
|
307
310
|
shown: true;
|
|
308
311
|
data: import("../charts").Spreadsheet;
|
|
309
312
|
};
|
|
310
|
-
|
|
313
|
+
pendingImageElementId: string | null;
|
|
311
314
|
showHyperlinkPopup: false | "info" | "editor";
|
|
312
315
|
};
|
|
313
316
|
commitToHistory: 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
|
};
|
|
100
101
|
commitToHistory: false;
|
|
@@ -189,6 +190,7 @@ export declare const actionChangeExportScale: {
|
|
|
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;
|
|
@@ -200,7 +202,7 @@ export declare const actionChangeExportScale: {
|
|
|
200
202
|
shown: true;
|
|
201
203
|
data: import("../charts").Spreadsheet;
|
|
202
204
|
};
|
|
203
|
-
|
|
205
|
+
pendingImageElementId: string | null;
|
|
204
206
|
showHyperlinkPopup: false | "info" | "editor";
|
|
205
207
|
};
|
|
206
208
|
commitToHistory: false;
|
|
@@ -295,6 +297,7 @@ export declare const actionChangeExportBackground: {
|
|
|
295
297
|
offsetTop: number;
|
|
296
298
|
offsetLeft: number;
|
|
297
299
|
isLibraryOpen: boolean;
|
|
300
|
+
isLibraryMenuDocked: boolean;
|
|
298
301
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
299
302
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
300
303
|
showStats: boolean;
|
|
@@ -306,7 +309,7 @@ export declare const actionChangeExportBackground: {
|
|
|
306
309
|
shown: true;
|
|
307
310
|
data: import("../charts").Spreadsheet;
|
|
308
311
|
};
|
|
309
|
-
|
|
312
|
+
pendingImageElementId: string | null;
|
|
310
313
|
showHyperlinkPopup: false | "info" | "editor";
|
|
311
314
|
};
|
|
312
315
|
commitToHistory: false;
|
|
@@ -401,6 +404,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
401
404
|
offsetTop: number;
|
|
402
405
|
offsetLeft: number;
|
|
403
406
|
isLibraryOpen: boolean;
|
|
407
|
+
isLibraryMenuDocked: boolean;
|
|
404
408
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
405
409
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
406
410
|
showStats: boolean;
|
|
@@ -412,7 +416,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
412
416
|
shown: true;
|
|
413
417
|
data: import("../charts").Spreadsheet;
|
|
414
418
|
};
|
|
415
|
-
|
|
419
|
+
pendingImageElementId: string | null;
|
|
416
420
|
showHyperlinkPopup: false | "info" | "editor";
|
|
417
421
|
};
|
|
418
422
|
commitToHistory: false;
|
|
@@ -508,6 +512,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
508
512
|
offsetTop: number;
|
|
509
513
|
offsetLeft: number;
|
|
510
514
|
isLibraryOpen: boolean;
|
|
515
|
+
isLibraryMenuDocked: boolean;
|
|
511
516
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
512
517
|
showStats: boolean;
|
|
513
518
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -518,7 +523,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
518
523
|
shown: true;
|
|
519
524
|
data: import("../charts").Spreadsheet;
|
|
520
525
|
};
|
|
521
|
-
|
|
526
|
+
pendingImageElementId: string | null;
|
|
522
527
|
showHyperlinkPopup: false | "info" | "editor";
|
|
523
528
|
};
|
|
524
529
|
} | {
|
|
@@ -617,6 +622,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
617
622
|
offsetTop: number;
|
|
618
623
|
offsetLeft: number;
|
|
619
624
|
isLibraryOpen: boolean;
|
|
625
|
+
isLibraryMenuDocked: boolean;
|
|
620
626
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
621
627
|
showStats: boolean;
|
|
622
628
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -627,7 +633,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
627
633
|
shown: true;
|
|
628
634
|
data: import("../charts").Spreadsheet;
|
|
629
635
|
};
|
|
630
|
-
|
|
636
|
+
pendingImageElementId: string | null;
|
|
631
637
|
showHyperlinkPopup: false | "info" | "editor";
|
|
632
638
|
};
|
|
633
639
|
} | {
|
|
@@ -721,6 +727,7 @@ export declare const actionLoadScene: {
|
|
|
721
727
|
};
|
|
722
728
|
editingGroupId: string | null;
|
|
723
729
|
isLibraryOpen: boolean;
|
|
730
|
+
isLibraryMenuDocked: boolean;
|
|
724
731
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
725
732
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
726
733
|
showStats: boolean;
|
|
@@ -732,7 +739,7 @@ export declare const actionLoadScene: {
|
|
|
732
739
|
shown: true;
|
|
733
740
|
data: import("../charts").Spreadsheet;
|
|
734
741
|
};
|
|
735
|
-
|
|
742
|
+
pendingImageElementId: string | null;
|
|
736
743
|
showHyperlinkPopup: false | "info" | "editor";
|
|
737
744
|
};
|
|
738
745
|
files: import("../types").BinaryFiles;
|
|
@@ -818,6 +825,7 @@ export declare const actionLoadScene: {
|
|
|
818
825
|
offsetTop: number;
|
|
819
826
|
offsetLeft: number;
|
|
820
827
|
isLibraryOpen: boolean;
|
|
828
|
+
isLibraryMenuDocked: boolean;
|
|
821
829
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
822
830
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
823
831
|
showStats: boolean;
|
|
@@ -829,7 +837,7 @@ export declare const actionLoadScene: {
|
|
|
829
837
|
shown: true;
|
|
830
838
|
data: import("../charts").Spreadsheet;
|
|
831
839
|
};
|
|
832
|
-
|
|
840
|
+
pendingImageElementId: string | null;
|
|
833
841
|
showHyperlinkPopup: false | "info" | "editor";
|
|
834
842
|
};
|
|
835
843
|
files: import("../types").BinaryFiles;
|
|
@@ -926,6 +934,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
926
934
|
offsetTop: number;
|
|
927
935
|
offsetLeft: number;
|
|
928
936
|
isLibraryOpen: boolean;
|
|
937
|
+
isLibraryMenuDocked: boolean;
|
|
929
938
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
930
939
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
931
940
|
showStats: boolean;
|
|
@@ -937,7 +946,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
937
946
|
shown: true;
|
|
938
947
|
data: import("../charts").Spreadsheet;
|
|
939
948
|
};
|
|
940
|
-
|
|
949
|
+
pendingImageElementId: string | null;
|
|
941
950
|
showHyperlinkPopup: false | "info" | "editor";
|
|
942
951
|
};
|
|
943
952
|
commitToHistory: false;
|
|
@@ -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
|
};
|
|
102
103
|
commitToHistory: true;
|
|
@@ -123,7 +124,7 @@ export declare const actionFinalize: {
|
|
|
123
124
|
selectedElementIds: {
|
|
124
125
|
[id: string]: boolean;
|
|
125
126
|
};
|
|
126
|
-
|
|
127
|
+
pendingImageElementId: null;
|
|
127
128
|
isLoading: boolean;
|
|
128
129
|
errorMessage: string | null;
|
|
129
130
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -182,6 +183,7 @@ export declare const actionFinalize: {
|
|
|
182
183
|
offsetTop: number;
|
|
183
184
|
offsetLeft: number;
|
|
184
185
|
isLibraryOpen: boolean;
|
|
186
|
+
isLibraryMenuDocked: boolean;
|
|
185
187
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
186
188
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
187
189
|
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
|
};
|
|
101
102
|
commitToHistory: false;
|
|
@@ -189,6 +190,7 @@ export declare const actionToggleEditMenu: {
|
|
|
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;
|
|
@@ -200,7 +202,7 @@ export declare const actionToggleEditMenu: {
|
|
|
200
202
|
shown: true;
|
|
201
203
|
data: import("../charts").Spreadsheet;
|
|
202
204
|
};
|
|
203
|
-
|
|
205
|
+
pendingImageElementId: string | null;
|
|
204
206
|
showHyperlinkPopup: false | "info" | "editor";
|
|
205
207
|
};
|
|
206
208
|
commitToHistory: false;
|
|
@@ -308,6 +310,7 @@ export declare const actionShortcuts: {
|
|
|
308
310
|
offsetTop: number;
|
|
309
311
|
offsetLeft: number;
|
|
310
312
|
isLibraryOpen: boolean;
|
|
313
|
+
isLibraryMenuDocked: boolean;
|
|
311
314
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
312
315
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
313
316
|
showStats: boolean;
|
|
@@ -319,7 +322,7 @@ export declare const actionShortcuts: {
|
|
|
319
322
|
shown: true;
|
|
320
323
|
data: import("../charts").Spreadsheet;
|
|
321
324
|
};
|
|
322
|
-
|
|
325
|
+
pendingImageElementId: string | null;
|
|
323
326
|
showHyperlinkPopup: false | "info" | "editor";
|
|
324
327
|
};
|
|
325
328
|
commitToHistory: false;
|
|
@@ -8,7 +8,7 @@ export declare const actionGoToCollaborator: {
|
|
|
8
8
|
appState: Readonly<import("../types").AppState>;
|
|
9
9
|
commitToHistory: false;
|
|
10
10
|
};
|
|
11
|
-
PanelComponent: ({ appState, updateData, data }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element
|
|
11
|
+
PanelComponent: ({ appState, updateData, data }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
|
|
12
12
|
} & {
|
|
13
13
|
keyTest?: undefined;
|
|
14
14
|
};
|