@zsviczian/excalidraw 0.12.0-obsidian-11 → 0.13.0-obsidian
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/README.md +68 -14
- package/dist/excalidraw.development.js +138 -61
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +6 -6
- package/types/actions/actionBoundText.d.ts +2 -2
- package/types/actions/actionCanvas.d.ts +18 -18
- package/types/actions/actionClipboard.d.ts +10 -10
- package/types/actions/actionDeleteSelected.d.ts +6 -6
- package/types/actions/actionExport.d.ts +18 -18
- package/types/actions/actionFinalize.d.ts +4 -4
- package/types/actions/actionLinearEditor.d.ts +2 -2
- package/types/actions/actionMenu.d.ts +6 -6
- package/types/actions/actionProperties.d.ts +26 -26
- package/types/actions/actionStyles.d.ts +2 -2
- package/types/actions/actionToggleGridMode.d.ts +2 -2
- package/types/actions/actionToggleLock.d.ts +2 -2
- package/types/actions/actionToggleStats.d.ts +2 -2
- package/types/actions/actionToggleViewMode.d.ts +2 -2
- package/types/actions/actionToggleZenMode.d.ts +2 -2
- package/types/appState.d.ts +2 -2
- package/types/components/App.d.ts +6 -1
- package/types/components/HintViewer.d.ts +3 -2
- package/types/components/LayerUI.d.ts +2 -1
- package/types/components/LibraryMenu.d.ts +14 -5
- package/types/components/LibraryMenuHeaderContent.d.ts +12 -0
- package/types/components/LibraryMenuItems.d.ts +2 -14
- package/types/components/LibraryUnit.d.ts +2 -3
- package/types/components/MobileMenu.d.ts +4 -3
- package/types/components/Sidebar/Sidebar.d.ts +73 -0
- package/types/components/Sidebar/SidebarHeader.d.ts +20 -0
- package/types/components/Sidebar/common.d.ts +15 -0
- package/types/components/hoc/withUpstreamOverride.d.ts +10 -0
- package/types/data/restore.d.ts +1 -1
- package/types/data/types.d.ts +16 -1
- package/types/element/Hyperlink.d.ts +2 -2
- package/types/element/index.d.ts +1 -1
- package/types/element/linearElementEditor.d.ts +2 -2
- package/types/element/newElement.d.ts +8 -0
- package/types/keys.d.ts +3 -3
- package/types/packages/excalidraw/example/App.d.ts +2 -1
- package/types/packages/excalidraw/example/sidebar/ExampleSidebar.d.ts +5 -0
- package/types/packages/excalidraw/index.d.ts +1 -0
- package/types/scene/scrollbars.d.ts +1 -1
- package/types/types.d.ts +8 -2
package/package.json
CHANGED
|
@@ -64,6 +64,8 @@ export declare const actionAddToLibrary: {
|
|
|
64
64
|
}>;
|
|
65
65
|
openMenu: "canvas" | "shape" | null;
|
|
66
66
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
67
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
68
|
+
isSidebarDocked: boolean;
|
|
67
69
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
68
70
|
selectedElementIds: {
|
|
69
71
|
[id: string]: boolean;
|
|
@@ -85,8 +87,6 @@ export declare const actionAddToLibrary: {
|
|
|
85
87
|
height: number;
|
|
86
88
|
offsetTop: number;
|
|
87
89
|
offsetLeft: number;
|
|
88
|
-
isLibraryOpen: boolean;
|
|
89
|
-
isLibraryMenuDocked: boolean;
|
|
90
90
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
91
91
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
92
92
|
showStats: boolean;
|
|
@@ -167,6 +167,8 @@ export declare const actionAddToLibrary: {
|
|
|
167
167
|
}>;
|
|
168
168
|
openMenu: "canvas" | "shape" | null;
|
|
169
169
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
170
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
171
|
+
isSidebarDocked: boolean;
|
|
170
172
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
171
173
|
selectedElementIds: {
|
|
172
174
|
[id: string]: boolean;
|
|
@@ -193,8 +195,6 @@ export declare const actionAddToLibrary: {
|
|
|
193
195
|
height: number;
|
|
194
196
|
offsetTop: number;
|
|
195
197
|
offsetLeft: number;
|
|
196
|
-
isLibraryOpen: boolean;
|
|
197
|
-
isLibraryMenuDocked: boolean;
|
|
198
198
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
199
199
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
200
200
|
showStats: boolean;
|
|
@@ -275,6 +275,8 @@ export declare const actionAddToLibrary: {
|
|
|
275
275
|
}>;
|
|
276
276
|
openMenu: "canvas" | "shape" | null;
|
|
277
277
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
278
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
279
|
+
isSidebarDocked: boolean;
|
|
278
280
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
279
281
|
selectedElementIds: {
|
|
280
282
|
[id: string]: boolean;
|
|
@@ -301,8 +303,6 @@ export declare const actionAddToLibrary: {
|
|
|
301
303
|
height: number;
|
|
302
304
|
offsetTop: number;
|
|
303
305
|
offsetLeft: number;
|
|
304
|
-
isLibraryOpen: boolean;
|
|
305
|
-
isLibraryMenuDocked: boolean;
|
|
306
306
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
307
307
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
308
308
|
showStats: boolean;
|
|
@@ -81,6 +81,8 @@ export declare const actionBindText: {
|
|
|
81
81
|
}>;
|
|
82
82
|
openMenu: "canvas" | "shape" | null;
|
|
83
83
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
84
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
85
|
+
isSidebarDocked: boolean;
|
|
84
86
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
85
87
|
previousSelectedElementIds: {
|
|
86
88
|
[id: string]: boolean;
|
|
@@ -104,8 +106,6 @@ export declare const actionBindText: {
|
|
|
104
106
|
height: number;
|
|
105
107
|
offsetTop: number;
|
|
106
108
|
offsetLeft: number;
|
|
107
|
-
isLibraryOpen: boolean;
|
|
108
|
-
isLibraryMenuDocked: boolean;
|
|
109
109
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
110
110
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
111
111
|
showStats: boolean;
|
|
@@ -92,6 +92,8 @@ export declare const actionClearCanvas: {
|
|
|
92
92
|
isRotating: boolean;
|
|
93
93
|
openMenu: "canvas" | "shape" | null;
|
|
94
94
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
95
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
96
|
+
isSidebarDocked: boolean;
|
|
95
97
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
96
98
|
selectedElementIds: {
|
|
97
99
|
[id: string]: boolean;
|
|
@@ -111,8 +113,6 @@ export declare const actionClearCanvas: {
|
|
|
111
113
|
[groupId: string]: boolean;
|
|
112
114
|
};
|
|
113
115
|
editingGroupId: string | null;
|
|
114
|
-
isLibraryOpen: boolean;
|
|
115
|
-
isLibraryMenuDocked: boolean;
|
|
116
116
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
117
117
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
118
118
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -190,6 +190,8 @@ export declare const actionZoomIn: {
|
|
|
190
190
|
isRotating: boolean;
|
|
191
191
|
openMenu: "canvas" | "shape" | null;
|
|
192
192
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
193
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
194
|
+
isSidebarDocked: boolean;
|
|
193
195
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
194
196
|
selectedElementIds: {
|
|
195
197
|
[id: string]: boolean;
|
|
@@ -216,8 +218,6 @@ export declare const actionZoomIn: {
|
|
|
216
218
|
height: number;
|
|
217
219
|
offsetTop: number;
|
|
218
220
|
offsetLeft: number;
|
|
219
|
-
isLibraryOpen: boolean;
|
|
220
|
-
isLibraryMenuDocked: boolean;
|
|
221
221
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
222
222
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
223
223
|
showStats: boolean;
|
|
@@ -309,6 +309,8 @@ export declare const actionZoomOut: {
|
|
|
309
309
|
isRotating: boolean;
|
|
310
310
|
openMenu: "canvas" | "shape" | null;
|
|
311
311
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
312
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
313
|
+
isSidebarDocked: boolean;
|
|
312
314
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
313
315
|
selectedElementIds: {
|
|
314
316
|
[id: string]: boolean;
|
|
@@ -335,8 +337,6 @@ export declare const actionZoomOut: {
|
|
|
335
337
|
height: number;
|
|
336
338
|
offsetTop: number;
|
|
337
339
|
offsetLeft: number;
|
|
338
|
-
isLibraryOpen: boolean;
|
|
339
|
-
isLibraryMenuDocked: boolean;
|
|
340
340
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
341
341
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
342
342
|
showStats: boolean;
|
|
@@ -428,6 +428,8 @@ export declare const actionResetZoom: {
|
|
|
428
428
|
isRotating: boolean;
|
|
429
429
|
openMenu: "canvas" | "shape" | null;
|
|
430
430
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
431
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
432
|
+
isSidebarDocked: boolean;
|
|
431
433
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
432
434
|
selectedElementIds: {
|
|
433
435
|
[id: string]: boolean;
|
|
@@ -454,8 +456,6 @@ export declare const actionResetZoom: {
|
|
|
454
456
|
height: number;
|
|
455
457
|
offsetTop: number;
|
|
456
458
|
offsetLeft: number;
|
|
457
|
-
isLibraryOpen: boolean;
|
|
458
|
-
isLibraryMenuDocked: boolean;
|
|
459
459
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
460
460
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
461
461
|
showStats: boolean;
|
|
@@ -542,6 +542,8 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
542
542
|
isRotating: boolean;
|
|
543
543
|
openMenu: "canvas" | "shape" | null;
|
|
544
544
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
545
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
546
|
+
isSidebarDocked: boolean;
|
|
545
547
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
546
548
|
selectedElementIds: {
|
|
547
549
|
[id: string]: boolean;
|
|
@@ -568,8 +570,6 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
568
570
|
height: number;
|
|
569
571
|
offsetTop: number;
|
|
570
572
|
offsetLeft: number;
|
|
571
|
-
isLibraryOpen: boolean;
|
|
572
|
-
isLibraryMenuDocked: boolean;
|
|
573
573
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
574
574
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
575
575
|
showStats: boolean;
|
|
@@ -656,6 +656,8 @@ export declare const actionZoomToSelected: {
|
|
|
656
656
|
isRotating: boolean;
|
|
657
657
|
openMenu: "canvas" | "shape" | null;
|
|
658
658
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
659
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
660
|
+
isSidebarDocked: boolean;
|
|
659
661
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
660
662
|
selectedElementIds: {
|
|
661
663
|
[id: string]: boolean;
|
|
@@ -682,8 +684,6 @@ export declare const actionZoomToSelected: {
|
|
|
682
684
|
height: number;
|
|
683
685
|
offsetTop: number;
|
|
684
686
|
offsetLeft: number;
|
|
685
|
-
isLibraryOpen: boolean;
|
|
686
|
-
isLibraryMenuDocked: boolean;
|
|
687
687
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
688
688
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
689
689
|
showStats: boolean;
|
|
@@ -774,6 +774,8 @@ export declare const actionZoomToFit: {
|
|
|
774
774
|
isRotating: boolean;
|
|
775
775
|
openMenu: "canvas" | "shape" | null;
|
|
776
776
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
777
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
778
|
+
isSidebarDocked: boolean;
|
|
777
779
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
778
780
|
selectedElementIds: {
|
|
779
781
|
[id: string]: boolean;
|
|
@@ -800,8 +802,6 @@ export declare const actionZoomToFit: {
|
|
|
800
802
|
height: number;
|
|
801
803
|
offsetTop: number;
|
|
802
804
|
offsetLeft: number;
|
|
803
|
-
isLibraryOpen: boolean;
|
|
804
|
-
isLibraryMenuDocked: boolean;
|
|
805
805
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
806
806
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
807
807
|
showStats: boolean;
|
|
@@ -893,6 +893,8 @@ export declare const actionToggleTheme: {
|
|
|
893
893
|
}>;
|
|
894
894
|
openMenu: "canvas" | "shape" | null;
|
|
895
895
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
896
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
897
|
+
isSidebarDocked: boolean;
|
|
896
898
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
897
899
|
selectedElementIds: {
|
|
898
900
|
[id: string]: boolean;
|
|
@@ -918,8 +920,6 @@ export declare const actionToggleTheme: {
|
|
|
918
920
|
height: number;
|
|
919
921
|
offsetTop: number;
|
|
920
922
|
offsetLeft: number;
|
|
921
|
-
isLibraryOpen: boolean;
|
|
922
|
-
isLibraryMenuDocked: boolean;
|
|
923
923
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
924
924
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
925
925
|
showStats: boolean;
|
|
@@ -1013,6 +1013,8 @@ export declare const actionErase: {
|
|
|
1013
1013
|
}>;
|
|
1014
1014
|
openMenu: "canvas" | "shape" | null;
|
|
1015
1015
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1016
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
1017
|
+
isSidebarDocked: boolean;
|
|
1016
1018
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1017
1019
|
previousSelectedElementIds: {
|
|
1018
1020
|
[id: string]: boolean;
|
|
@@ -1033,8 +1035,6 @@ export declare const actionErase: {
|
|
|
1033
1035
|
height: number;
|
|
1034
1036
|
offsetTop: number;
|
|
1035
1037
|
offsetLeft: number;
|
|
1036
|
-
isLibraryOpen: boolean;
|
|
1037
|
-
isLibraryMenuDocked: boolean;
|
|
1038
1038
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1039
1039
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
1040
1040
|
showStats: boolean;
|
|
@@ -75,6 +75,8 @@ export declare const actionCut: {
|
|
|
75
75
|
}>;
|
|
76
76
|
openMenu: "canvas" | "shape" | null;
|
|
77
77
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
78
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
79
|
+
isSidebarDocked: boolean;
|
|
78
80
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
79
81
|
selectedElementIds: {
|
|
80
82
|
[id: string]: boolean;
|
|
@@ -101,8 +103,6 @@ export declare const actionCut: {
|
|
|
101
103
|
height: number;
|
|
102
104
|
offsetTop: number;
|
|
103
105
|
offsetLeft: number;
|
|
104
|
-
isLibraryOpen: boolean;
|
|
105
|
-
isLibraryMenuDocked: boolean;
|
|
106
106
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
107
107
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
108
108
|
showStats: boolean;
|
|
@@ -203,6 +203,8 @@ export declare const actionCut: {
|
|
|
203
203
|
}>;
|
|
204
204
|
openMenu: "canvas" | "shape" | null;
|
|
205
205
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
206
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
207
|
+
isSidebarDocked: boolean;
|
|
206
208
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
207
209
|
selectedElementIds: {
|
|
208
210
|
[id: string]: boolean;
|
|
@@ -229,8 +231,6 @@ export declare const actionCut: {
|
|
|
229
231
|
height: number;
|
|
230
232
|
offsetTop: number;
|
|
231
233
|
offsetLeft: number;
|
|
232
|
-
isLibraryOpen: boolean;
|
|
233
|
-
isLibraryMenuDocked: boolean;
|
|
234
234
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
235
235
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
236
236
|
showStats: boolean;
|
|
@@ -313,6 +313,8 @@ export declare const actionCut: {
|
|
|
313
313
|
}>;
|
|
314
314
|
openMenu: "canvas" | "shape" | null;
|
|
315
315
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
316
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
317
|
+
isSidebarDocked: boolean;
|
|
316
318
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
317
319
|
previousSelectedElementIds: {
|
|
318
320
|
[id: string]: boolean;
|
|
@@ -336,8 +338,6 @@ export declare const actionCut: {
|
|
|
336
338
|
height: number;
|
|
337
339
|
offsetTop: number;
|
|
338
340
|
offsetLeft: number;
|
|
339
|
-
isLibraryOpen: boolean;
|
|
340
|
-
isLibraryMenuDocked: boolean;
|
|
341
341
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
342
342
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
343
343
|
showStats: boolean;
|
|
@@ -432,6 +432,8 @@ export declare const actionCopyAsSvg: {
|
|
|
432
432
|
}>;
|
|
433
433
|
openMenu: "canvas" | "shape" | null;
|
|
434
434
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
435
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
436
|
+
isSidebarDocked: boolean;
|
|
435
437
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
436
438
|
selectedElementIds: {
|
|
437
439
|
[id: string]: boolean;
|
|
@@ -458,8 +460,6 @@ export declare const actionCopyAsSvg: {
|
|
|
458
460
|
height: number;
|
|
459
461
|
offsetTop: number;
|
|
460
462
|
offsetLeft: number;
|
|
461
|
-
isLibraryOpen: boolean;
|
|
462
|
-
isLibraryMenuDocked: boolean;
|
|
463
463
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
464
464
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
465
465
|
showStats: boolean;
|
|
@@ -553,6 +553,8 @@ export declare const actionCopyAsPng: {
|
|
|
553
553
|
}>;
|
|
554
554
|
openMenu: "canvas" | "shape" | null;
|
|
555
555
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
556
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
557
|
+
isSidebarDocked: boolean;
|
|
556
558
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
557
559
|
selectedElementIds: {
|
|
558
560
|
[id: string]: boolean;
|
|
@@ -579,8 +581,6 @@ export declare const actionCopyAsPng: {
|
|
|
579
581
|
height: number;
|
|
580
582
|
offsetTop: number;
|
|
581
583
|
offsetLeft: number;
|
|
582
|
-
isLibraryOpen: boolean;
|
|
583
|
-
isLibraryMenuDocked: boolean;
|
|
584
584
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
585
585
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
586
586
|
showStats: boolean;
|
|
@@ -66,6 +66,8 @@ export declare const actionDeleteSelected: {
|
|
|
66
66
|
}>;
|
|
67
67
|
openMenu: "canvas" | "shape" | null;
|
|
68
68
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
69
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
70
|
+
isSidebarDocked: boolean;
|
|
69
71
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
70
72
|
selectedElementIds: {
|
|
71
73
|
[id: string]: boolean;
|
|
@@ -92,8 +94,6 @@ export declare const actionDeleteSelected: {
|
|
|
92
94
|
height: number;
|
|
93
95
|
offsetTop: number;
|
|
94
96
|
offsetLeft: number;
|
|
95
|
-
isLibraryOpen: boolean;
|
|
96
|
-
isLibraryMenuDocked: boolean;
|
|
97
97
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
98
98
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
99
99
|
showStats: boolean;
|
|
@@ -194,6 +194,8 @@ export declare const actionDeleteSelected: {
|
|
|
194
194
|
}>;
|
|
195
195
|
openMenu: "canvas" | "shape" | null;
|
|
196
196
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
197
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
198
|
+
isSidebarDocked: boolean;
|
|
197
199
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
198
200
|
selectedElementIds: {
|
|
199
201
|
[id: string]: boolean;
|
|
@@ -220,8 +222,6 @@ export declare const actionDeleteSelected: {
|
|
|
220
222
|
height: number;
|
|
221
223
|
offsetTop: number;
|
|
222
224
|
offsetLeft: number;
|
|
223
|
-
isLibraryOpen: boolean;
|
|
224
|
-
isLibraryMenuDocked: boolean;
|
|
225
225
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
226
226
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
227
227
|
showStats: boolean;
|
|
@@ -304,6 +304,8 @@ export declare const actionDeleteSelected: {
|
|
|
304
304
|
}>;
|
|
305
305
|
openMenu: "canvas" | "shape" | null;
|
|
306
306
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
307
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
308
|
+
isSidebarDocked: boolean;
|
|
307
309
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
308
310
|
previousSelectedElementIds: {
|
|
309
311
|
[id: string]: boolean;
|
|
@@ -327,8 +329,6 @@ export declare const actionDeleteSelected: {
|
|
|
327
329
|
height: number;
|
|
328
330
|
offsetTop: number;
|
|
329
331
|
offsetLeft: number;
|
|
330
|
-
isLibraryOpen: boolean;
|
|
331
|
-
isLibraryMenuDocked: boolean;
|
|
332
332
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
333
333
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
334
334
|
showStats: boolean;
|
|
@@ -60,6 +60,8 @@ export declare const actionChangeProjectName: {
|
|
|
60
60
|
}>;
|
|
61
61
|
openMenu: "canvas" | "shape" | null;
|
|
62
62
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
63
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
64
|
+
isSidebarDocked: boolean;
|
|
63
65
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
64
66
|
selectedElementIds: {
|
|
65
67
|
[id: string]: boolean;
|
|
@@ -86,8 +88,6 @@ export declare const actionChangeProjectName: {
|
|
|
86
88
|
height: number;
|
|
87
89
|
offsetTop: number;
|
|
88
90
|
offsetLeft: number;
|
|
89
|
-
isLibraryOpen: boolean;
|
|
90
|
-
isLibraryMenuDocked: boolean;
|
|
91
91
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
92
92
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
93
93
|
showStats: boolean;
|
|
@@ -179,6 +179,8 @@ export declare const actionChangeExportScale: {
|
|
|
179
179
|
}>;
|
|
180
180
|
openMenu: "canvas" | "shape" | null;
|
|
181
181
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
182
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
183
|
+
isSidebarDocked: boolean;
|
|
182
184
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
183
185
|
selectedElementIds: {
|
|
184
186
|
[id: string]: boolean;
|
|
@@ -205,8 +207,6 @@ export declare const actionChangeExportScale: {
|
|
|
205
207
|
height: number;
|
|
206
208
|
offsetTop: number;
|
|
207
209
|
offsetLeft: number;
|
|
208
|
-
isLibraryOpen: boolean;
|
|
209
|
-
isLibraryMenuDocked: boolean;
|
|
210
210
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
211
211
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
212
212
|
showStats: boolean;
|
|
@@ -298,6 +298,8 @@ export declare const actionChangeExportBackground: {
|
|
|
298
298
|
}>;
|
|
299
299
|
openMenu: "canvas" | "shape" | null;
|
|
300
300
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
301
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
302
|
+
isSidebarDocked: boolean;
|
|
301
303
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
302
304
|
selectedElementIds: {
|
|
303
305
|
[id: string]: boolean;
|
|
@@ -324,8 +326,6 @@ export declare const actionChangeExportBackground: {
|
|
|
324
326
|
height: number;
|
|
325
327
|
offsetTop: number;
|
|
326
328
|
offsetLeft: number;
|
|
327
|
-
isLibraryOpen: boolean;
|
|
328
|
-
isLibraryMenuDocked: boolean;
|
|
329
329
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
330
330
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
331
331
|
showStats: boolean;
|
|
@@ -417,6 +417,8 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
417
417
|
}>;
|
|
418
418
|
openMenu: "canvas" | "shape" | null;
|
|
419
419
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
420
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
421
|
+
isSidebarDocked: boolean;
|
|
420
422
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
421
423
|
selectedElementIds: {
|
|
422
424
|
[id: string]: boolean;
|
|
@@ -443,8 +445,6 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
443
445
|
height: number;
|
|
444
446
|
offsetTop: number;
|
|
445
447
|
offsetLeft: number;
|
|
446
|
-
isLibraryOpen: boolean;
|
|
447
|
-
isLibraryMenuDocked: boolean;
|
|
448
448
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
449
449
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
450
450
|
showStats: boolean;
|
|
@@ -540,6 +540,8 @@ export declare const actionSaveToActiveFile: {
|
|
|
540
540
|
}>;
|
|
541
541
|
openMenu: "canvas" | "shape" | null;
|
|
542
542
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
543
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
544
|
+
isSidebarDocked: boolean;
|
|
543
545
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
544
546
|
selectedElementIds: {
|
|
545
547
|
[id: string]: boolean;
|
|
@@ -561,8 +563,6 @@ export declare const actionSaveToActiveFile: {
|
|
|
561
563
|
height: number;
|
|
562
564
|
offsetTop: number;
|
|
563
565
|
offsetLeft: number;
|
|
564
|
-
isLibraryOpen: boolean;
|
|
565
|
-
isLibraryMenuDocked: boolean;
|
|
566
566
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
567
567
|
showStats: boolean;
|
|
568
568
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -657,6 +657,8 @@ export declare const actionSaveFileToDisk: {
|
|
|
657
657
|
}>;
|
|
658
658
|
openMenu: "canvas" | "shape" | null;
|
|
659
659
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
660
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
661
|
+
isSidebarDocked: boolean;
|
|
660
662
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
661
663
|
selectedElementIds: {
|
|
662
664
|
[id: string]: boolean;
|
|
@@ -683,8 +685,6 @@ export declare const actionSaveFileToDisk: {
|
|
|
683
685
|
height: number;
|
|
684
686
|
offsetTop: number;
|
|
685
687
|
offsetLeft: number;
|
|
686
|
-
isLibraryOpen: boolean;
|
|
687
|
-
isLibraryMenuDocked: boolean;
|
|
688
688
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
689
689
|
showStats: boolean;
|
|
690
690
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -780,6 +780,8 @@ export declare const actionLoadScene: {
|
|
|
780
780
|
isRotating: boolean;
|
|
781
781
|
openMenu: "canvas" | "shape" | null;
|
|
782
782
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
783
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
784
|
+
isSidebarDocked: boolean;
|
|
783
785
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
784
786
|
selectedElementIds: {
|
|
785
787
|
[id: string]: boolean;
|
|
@@ -800,8 +802,6 @@ export declare const actionLoadScene: {
|
|
|
800
802
|
[groupId: string]: boolean;
|
|
801
803
|
};
|
|
802
804
|
editingGroupId: string | null;
|
|
803
|
-
isLibraryOpen: boolean;
|
|
804
|
-
isLibraryMenuDocked: boolean;
|
|
805
805
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
806
806
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
807
807
|
showStats: boolean;
|
|
@@ -884,6 +884,8 @@ export declare const actionLoadScene: {
|
|
|
884
884
|
}>;
|
|
885
885
|
openMenu: "canvas" | "shape" | null;
|
|
886
886
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
887
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
888
|
+
isSidebarDocked: boolean;
|
|
887
889
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
888
890
|
selectedElementIds: {
|
|
889
891
|
[id: string]: boolean;
|
|
@@ -910,8 +912,6 @@ export declare const actionLoadScene: {
|
|
|
910
912
|
height: number;
|
|
911
913
|
offsetTop: number;
|
|
912
914
|
offsetLeft: number;
|
|
913
|
-
isLibraryOpen: boolean;
|
|
914
|
-
isLibraryMenuDocked: boolean;
|
|
915
915
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
916
916
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
917
917
|
showStats: boolean;
|
|
@@ -1005,6 +1005,8 @@ export declare const actionExportWithDarkMode: {
|
|
|
1005
1005
|
}>;
|
|
1006
1006
|
openMenu: "canvas" | "shape" | null;
|
|
1007
1007
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1008
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
1009
|
+
isSidebarDocked: boolean;
|
|
1008
1010
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1009
1011
|
selectedElementIds: {
|
|
1010
1012
|
[id: string]: boolean;
|
|
@@ -1031,8 +1033,6 @@ export declare const actionExportWithDarkMode: {
|
|
|
1031
1033
|
height: number;
|
|
1032
1034
|
offsetTop: number;
|
|
1033
1035
|
offsetLeft: number;
|
|
1034
|
-
isLibraryOpen: boolean;
|
|
1035
|
-
isLibraryMenuDocked: boolean;
|
|
1036
1036
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1037
1037
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
1038
1038
|
showStats: boolean;
|
|
@@ -62,6 +62,8 @@ export declare const actionFinalize: {
|
|
|
62
62
|
}>;
|
|
63
63
|
openMenu: "canvas" | "shape" | null;
|
|
64
64
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
65
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
66
|
+
isSidebarDocked: boolean;
|
|
65
67
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
66
68
|
selectedElementIds: {
|
|
67
69
|
[id: string]: boolean;
|
|
@@ -88,8 +90,6 @@ export declare const actionFinalize: {
|
|
|
88
90
|
height: number;
|
|
89
91
|
offsetTop: number;
|
|
90
92
|
offsetLeft: number;
|
|
91
|
-
isLibraryOpen: boolean;
|
|
92
|
-
isLibraryMenuDocked: boolean;
|
|
93
93
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
94
94
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
95
95
|
showStats: boolean;
|
|
@@ -176,6 +176,8 @@ export declare const actionFinalize: {
|
|
|
176
176
|
}>;
|
|
177
177
|
openMenu: "canvas" | "shape" | null;
|
|
178
178
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
179
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
180
|
+
isSidebarDocked: boolean;
|
|
179
181
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
180
182
|
previousSelectedElementIds: {
|
|
181
183
|
[id: string]: boolean;
|
|
@@ -199,8 +201,6 @@ export declare const actionFinalize: {
|
|
|
199
201
|
height: number;
|
|
200
202
|
offsetTop: number;
|
|
201
203
|
offsetLeft: number;
|
|
202
|
-
isLibraryOpen: boolean;
|
|
203
|
-
isLibraryMenuDocked: boolean;
|
|
204
204
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
205
205
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
206
206
|
showStats: boolean;
|
|
@@ -63,6 +63,8 @@ export declare const actionToggleLinearEditor: {
|
|
|
63
63
|
}>;
|
|
64
64
|
openMenu: "canvas" | "shape" | null;
|
|
65
65
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
66
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
67
|
+
isSidebarDocked: boolean;
|
|
66
68
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
67
69
|
selectedElementIds: {
|
|
68
70
|
[id: string]: boolean;
|
|
@@ -89,8 +91,6 @@ export declare const actionToggleLinearEditor: {
|
|
|
89
91
|
height: number;
|
|
90
92
|
offsetTop: number;
|
|
91
93
|
offsetLeft: number;
|
|
92
|
-
isLibraryOpen: boolean;
|
|
93
|
-
isLibraryMenuDocked: boolean;
|
|
94
94
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
95
95
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
96
96
|
showStats: boolean;
|
|
@@ -61,6 +61,8 @@ export declare const actionToggleCanvasMenu: {
|
|
|
61
61
|
value: import("../types").NormalizedZoomValue;
|
|
62
62
|
}>;
|
|
63
63
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
64
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
65
|
+
isSidebarDocked: boolean;
|
|
64
66
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
65
67
|
selectedElementIds: {
|
|
66
68
|
[id: string]: boolean;
|
|
@@ -87,8 +89,6 @@ export declare const actionToggleCanvasMenu: {
|
|
|
87
89
|
height: number;
|
|
88
90
|
offsetTop: number;
|
|
89
91
|
offsetLeft: number;
|
|
90
|
-
isLibraryOpen: boolean;
|
|
91
|
-
isLibraryMenuDocked: boolean;
|
|
92
92
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
93
93
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
94
94
|
showStats: boolean;
|
|
@@ -179,6 +179,8 @@ export declare const actionToggleEditMenu: {
|
|
|
179
179
|
value: import("../types").NormalizedZoomValue;
|
|
180
180
|
}>;
|
|
181
181
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
182
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
183
|
+
isSidebarDocked: boolean;
|
|
182
184
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
183
185
|
selectedElementIds: {
|
|
184
186
|
[id: string]: boolean;
|
|
@@ -205,8 +207,6 @@ export declare const actionToggleEditMenu: {
|
|
|
205
207
|
height: number;
|
|
206
208
|
offsetTop: number;
|
|
207
209
|
offsetLeft: number;
|
|
208
|
-
isLibraryOpen: boolean;
|
|
209
|
-
isLibraryMenuDocked: boolean;
|
|
210
210
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
211
211
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
212
212
|
showStats: boolean;
|
|
@@ -312,6 +312,8 @@ export declare const actionShortcuts: {
|
|
|
312
312
|
}>;
|
|
313
313
|
openMenu: "canvas" | "shape" | null;
|
|
314
314
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
315
|
+
openSidebar: "library" | "customSidebar" | null;
|
|
316
|
+
isSidebarDocked: boolean;
|
|
315
317
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
316
318
|
selectedElementIds: {
|
|
317
319
|
[id: string]: boolean;
|
|
@@ -337,8 +339,6 @@ export declare const actionShortcuts: {
|
|
|
337
339
|
height: number;
|
|
338
340
|
offsetTop: number;
|
|
339
341
|
offsetLeft: number;
|
|
340
|
-
isLibraryOpen: boolean;
|
|
341
|
-
isLibraryMenuDocked: boolean;
|
|
342
342
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
343
343
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
344
344
|
showStats: boolean;
|