@excalidraw/excalidraw 0.15.2-2a4799d → 0.15.2-6213-0f92339
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 +16 -0
- package/dist/excalidraw.development.js +368 -137
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +15 -6
- package/types/actions/actionBoundText.d.ts +10 -4
- package/types/actions/actionCanvas.d.ts +50 -20
- package/types/actions/actionClipboard.d.ts +25 -10
- package/types/actions/actionDeleteSelected.d.ts +15 -6
- package/types/actions/actionExport.d.ts +45 -18
- package/types/actions/actionFinalize.d.ts +10 -4
- package/types/actions/actionLinearEditor.d.ts +5 -2
- package/types/actions/actionMenu.d.ts +15 -6
- package/types/actions/actionProperties.d.ts +65 -26
- package/types/actions/actionStyles.d.ts +5 -2
- package/types/actions/actionToggleGridMode.d.ts +5 -2
- package/types/actions/actionToggleLock.d.ts +5 -2
- package/types/actions/actionToggleStats.d.ts +5 -2
- package/types/actions/actionToggleViewMode.d.ts +5 -2
- package/types/actions/actionToggleZenMode.d.ts +5 -2
- package/types/appState.d.ts +5 -2
- package/types/clipboard.d.ts +2 -2
- package/types/components/App.d.ts +10 -3
- package/types/components/Button.d.ts +3 -1
- package/types/components/DefaultSidebar.d.ts +30 -0
- package/types/components/LayerUI.d.ts +1 -8
- package/types/components/LibraryMenu.d.ts +29 -10
- package/types/components/LibraryMenuControlButtons.d.ts +9 -0
- package/types/components/LibraryMenuHeaderContent.d.ts +7 -26
- package/types/components/PasteChartDialog.d.ts +2 -3
- package/types/components/Sidebar/Sidebar.d.ts +68 -45
- package/types/components/Sidebar/SidebarHeader.d.ts +6 -19
- package/types/components/Sidebar/SidebarTab.d.ts +9 -0
- package/types/components/Sidebar/SidebarTabTrigger.d.ts +10 -0
- package/types/components/Sidebar/SidebarTabTriggers.d.ts +7 -0
- package/types/components/Sidebar/SidebarTabs.d.ts +7 -0
- package/types/components/Sidebar/SidebarTrigger.d.ts +6 -0
- package/types/components/Sidebar/common.d.ts +23 -6
- package/types/components/main-menu/MainMenu.d.ts +3 -1
- package/types/constants.d.ts +23 -6
- package/types/context/tunnels.d.ts +18 -0
- package/types/context/ui-appState.d.ts +4 -0
- package/types/data/blob.d.ts +2 -2
- package/types/data/filesystem.d.ts +2 -1
- package/types/data/types.d.ts +2 -4
- package/types/element/Hyperlink.d.ts +5 -2
- package/types/element/image.d.ts +11 -1
- package/types/element/linearElementEditor.d.ts +5 -2
- package/types/element/newElement.d.ts +6 -1
- package/types/element/textElement.d.ts +2 -2
- package/types/hooks/useOutsideClick.d.ts +1 -1
- package/types/packages/excalidraw/index.d.ts +1 -0
- package/types/types.d.ts +21 -11
- package/types/utils.d.ts +1 -1
- package/types/components/LibraryButton.d.ts +0 -8
- package/types/components/context/tunnels.d.ts +0 -16
- package/types/components/hoc/withUpstreamOverride.d.ts +0 -10
package/package.json
CHANGED
|
@@ -69,9 +69,12 @@ export declare const actionAddToLibrary: {
|
|
|
69
69
|
}>;
|
|
70
70
|
openMenu: "canvas" | "shape" | null;
|
|
71
71
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
72
|
-
openSidebar:
|
|
72
|
+
openSidebar: {
|
|
73
|
+
name: string;
|
|
74
|
+
tab?: string | undefined;
|
|
75
|
+
} | null;
|
|
73
76
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
74
|
-
|
|
77
|
+
defaultSidebarDockedPreference: boolean;
|
|
75
78
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
76
79
|
selectedElementIds: {
|
|
77
80
|
[id: string]: boolean;
|
|
@@ -169,9 +172,12 @@ export declare const actionAddToLibrary: {
|
|
|
169
172
|
}>;
|
|
170
173
|
openMenu: "canvas" | "shape" | null;
|
|
171
174
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
172
|
-
openSidebar:
|
|
175
|
+
openSidebar: {
|
|
176
|
+
name: string;
|
|
177
|
+
tab?: string | undefined;
|
|
178
|
+
} | null;
|
|
173
179
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
174
|
-
|
|
180
|
+
defaultSidebarDockedPreference: boolean;
|
|
175
181
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
176
182
|
selectedElementIds: {
|
|
177
183
|
[id: string]: boolean;
|
|
@@ -274,9 +280,12 @@ export declare const actionAddToLibrary: {
|
|
|
274
280
|
}>;
|
|
275
281
|
openMenu: "canvas" | "shape" | null;
|
|
276
282
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
277
|
-
openSidebar:
|
|
283
|
+
openSidebar: {
|
|
284
|
+
name: string;
|
|
285
|
+
tab?: string | undefined;
|
|
286
|
+
} | null;
|
|
278
287
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
279
|
-
|
|
288
|
+
defaultSidebarDockedPreference: boolean;
|
|
280
289
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
281
290
|
selectedElementIds: {
|
|
282
291
|
[id: string]: boolean;
|
|
@@ -88,9 +88,12 @@ export declare const actionBindText: {
|
|
|
88
88
|
}>;
|
|
89
89
|
openMenu: "canvas" | "shape" | null;
|
|
90
90
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
91
|
-
openSidebar:
|
|
91
|
+
openSidebar: {
|
|
92
|
+
name: string;
|
|
93
|
+
tab?: string | undefined;
|
|
94
|
+
} | null;
|
|
92
95
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
93
|
-
|
|
96
|
+
defaultSidebarDockedPreference: boolean;
|
|
94
97
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
95
98
|
previousSelectedElementIds: {
|
|
96
99
|
[id: string]: boolean;
|
|
@@ -205,9 +208,12 @@ export declare const actionWrapTextInContainer: {
|
|
|
205
208
|
}>;
|
|
206
209
|
openMenu: "canvas" | "shape" | null;
|
|
207
210
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
208
|
-
openSidebar:
|
|
211
|
+
openSidebar: {
|
|
212
|
+
name: string;
|
|
213
|
+
tab?: string | undefined;
|
|
214
|
+
} | null;
|
|
209
215
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
210
|
-
|
|
216
|
+
defaultSidebarDockedPreference: boolean;
|
|
211
217
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
212
218
|
previousSelectedElementIds: {
|
|
213
219
|
[id: string]: boolean;
|
|
@@ -92,9 +92,12 @@ export declare const actionClearCanvas: {
|
|
|
92
92
|
}>;
|
|
93
93
|
openMenu: "canvas" | "shape" | null;
|
|
94
94
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
95
|
-
openSidebar:
|
|
95
|
+
openSidebar: {
|
|
96
|
+
name: string;
|
|
97
|
+
tab?: string | undefined;
|
|
98
|
+
} | null;
|
|
96
99
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
97
|
-
|
|
100
|
+
defaultSidebarDockedPreference: boolean;
|
|
98
101
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
99
102
|
selectedElementIds: {
|
|
100
103
|
[id: string]: boolean;
|
|
@@ -193,9 +196,12 @@ export declare const actionZoomIn: {
|
|
|
193
196
|
isRotating: boolean;
|
|
194
197
|
openMenu: "canvas" | "shape" | null;
|
|
195
198
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
196
|
-
openSidebar:
|
|
199
|
+
openSidebar: {
|
|
200
|
+
name: string;
|
|
201
|
+
tab?: string | undefined;
|
|
202
|
+
} | null;
|
|
197
203
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
198
|
-
|
|
204
|
+
defaultSidebarDockedPreference: boolean;
|
|
199
205
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
200
206
|
selectedElementIds: {
|
|
201
207
|
[id: string]: boolean;
|
|
@@ -310,9 +316,12 @@ export declare const actionZoomOut: {
|
|
|
310
316
|
isRotating: boolean;
|
|
311
317
|
openMenu: "canvas" | "shape" | null;
|
|
312
318
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
313
|
-
openSidebar:
|
|
319
|
+
openSidebar: {
|
|
320
|
+
name: string;
|
|
321
|
+
tab?: string | undefined;
|
|
322
|
+
} | null;
|
|
314
323
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
315
|
-
|
|
324
|
+
defaultSidebarDockedPreference: boolean;
|
|
316
325
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
317
326
|
selectedElementIds: {
|
|
318
327
|
[id: string]: boolean;
|
|
@@ -427,9 +436,12 @@ export declare const actionResetZoom: {
|
|
|
427
436
|
isRotating: boolean;
|
|
428
437
|
openMenu: "canvas" | "shape" | null;
|
|
429
438
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
430
|
-
openSidebar:
|
|
439
|
+
openSidebar: {
|
|
440
|
+
name: string;
|
|
441
|
+
tab?: string | undefined;
|
|
442
|
+
} | null;
|
|
431
443
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
432
|
-
|
|
444
|
+
defaultSidebarDockedPreference: boolean;
|
|
433
445
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
434
446
|
selectedElementIds: {
|
|
435
447
|
[id: string]: boolean;
|
|
@@ -538,9 +550,12 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
538
550
|
isRotating: boolean;
|
|
539
551
|
openMenu: "canvas" | "shape" | null;
|
|
540
552
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
541
|
-
openSidebar:
|
|
553
|
+
openSidebar: {
|
|
554
|
+
name: string;
|
|
555
|
+
tab?: string | undefined;
|
|
556
|
+
} | null;
|
|
542
557
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
543
|
-
|
|
558
|
+
defaultSidebarDockedPreference: boolean;
|
|
544
559
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
545
560
|
selectedElementIds: {
|
|
546
561
|
[id: string]: boolean;
|
|
@@ -649,9 +664,12 @@ export declare const actionZoomToSelected: {
|
|
|
649
664
|
isRotating: boolean;
|
|
650
665
|
openMenu: "canvas" | "shape" | null;
|
|
651
666
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
652
|
-
openSidebar:
|
|
667
|
+
openSidebar: {
|
|
668
|
+
name: string;
|
|
669
|
+
tab?: string | undefined;
|
|
670
|
+
} | null;
|
|
653
671
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
654
|
-
|
|
672
|
+
defaultSidebarDockedPreference: boolean;
|
|
655
673
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
656
674
|
selectedElementIds: {
|
|
657
675
|
[id: string]: boolean;
|
|
@@ -765,9 +783,12 @@ export declare const actionZoomToFit: {
|
|
|
765
783
|
isRotating: boolean;
|
|
766
784
|
openMenu: "canvas" | "shape" | null;
|
|
767
785
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
768
|
-
openSidebar:
|
|
786
|
+
openSidebar: {
|
|
787
|
+
name: string;
|
|
788
|
+
tab?: string | undefined;
|
|
789
|
+
} | null;
|
|
769
790
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
770
|
-
|
|
791
|
+
defaultSidebarDockedPreference: boolean;
|
|
771
792
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
772
793
|
selectedElementIds: {
|
|
773
794
|
[id: string]: boolean;
|
|
@@ -882,9 +903,12 @@ export declare const actionToggleTheme: {
|
|
|
882
903
|
}>;
|
|
883
904
|
openMenu: "canvas" | "shape" | null;
|
|
884
905
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
885
|
-
openSidebar:
|
|
906
|
+
openSidebar: {
|
|
907
|
+
name: string;
|
|
908
|
+
tab?: string | undefined;
|
|
909
|
+
} | null;
|
|
886
910
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
887
|
-
|
|
911
|
+
defaultSidebarDockedPreference: boolean;
|
|
888
912
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
889
913
|
selectedElementIds: {
|
|
890
914
|
[id: string]: boolean;
|
|
@@ -999,9 +1023,12 @@ export declare const actionToggleEraserTool: {
|
|
|
999
1023
|
}>;
|
|
1000
1024
|
openMenu: "canvas" | "shape" | null;
|
|
1001
1025
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1002
|
-
openSidebar:
|
|
1026
|
+
openSidebar: {
|
|
1027
|
+
name: string;
|
|
1028
|
+
tab?: string | undefined;
|
|
1029
|
+
} | null;
|
|
1003
1030
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1004
|
-
|
|
1031
|
+
defaultSidebarDockedPreference: boolean;
|
|
1005
1032
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1006
1033
|
previousSelectedElementIds: {
|
|
1007
1034
|
[id: string]: boolean;
|
|
@@ -1110,9 +1137,12 @@ export declare const actionToggleHandTool: {
|
|
|
1110
1137
|
}>;
|
|
1111
1138
|
openMenu: "canvas" | "shape" | null;
|
|
1112
1139
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1113
|
-
openSidebar:
|
|
1140
|
+
openSidebar: {
|
|
1141
|
+
name: string;
|
|
1142
|
+
tab?: string | undefined;
|
|
1143
|
+
} | null;
|
|
1114
1144
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1115
|
-
|
|
1145
|
+
defaultSidebarDockedPreference: boolean;
|
|
1116
1146
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1117
1147
|
previousSelectedElementIds: {
|
|
1118
1148
|
[id: string]: boolean;
|
|
@@ -94,9 +94,12 @@ export declare const actionCut: {
|
|
|
94
94
|
}>;
|
|
95
95
|
openMenu: "canvas" | "shape" | null;
|
|
96
96
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
97
|
-
openSidebar:
|
|
97
|
+
openSidebar: {
|
|
98
|
+
name: string;
|
|
99
|
+
tab?: string | undefined;
|
|
100
|
+
} | null;
|
|
98
101
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
99
|
-
|
|
102
|
+
defaultSidebarDockedPreference: boolean;
|
|
100
103
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
101
104
|
selectedElementIds: {
|
|
102
105
|
[id: string]: boolean;
|
|
@@ -228,9 +231,12 @@ export declare const actionCut: {
|
|
|
228
231
|
}>;
|
|
229
232
|
openMenu: "canvas" | "shape" | null;
|
|
230
233
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
231
|
-
openSidebar:
|
|
234
|
+
openSidebar: {
|
|
235
|
+
name: string;
|
|
236
|
+
tab?: string | undefined;
|
|
237
|
+
} | null;
|
|
232
238
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
233
|
-
|
|
239
|
+
defaultSidebarDockedPreference: boolean;
|
|
234
240
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
235
241
|
selectedElementIds: {
|
|
236
242
|
[id: string]: boolean;
|
|
@@ -335,9 +341,12 @@ export declare const actionCut: {
|
|
|
335
341
|
}>;
|
|
336
342
|
openMenu: "canvas" | "shape" | null;
|
|
337
343
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
338
|
-
openSidebar:
|
|
344
|
+
openSidebar: {
|
|
345
|
+
name: string;
|
|
346
|
+
tab?: string | undefined;
|
|
347
|
+
} | null;
|
|
339
348
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
340
|
-
|
|
349
|
+
defaultSidebarDockedPreference: boolean;
|
|
341
350
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
342
351
|
previousSelectedElementIds: {
|
|
343
352
|
[id: string]: boolean;
|
|
@@ -452,9 +461,12 @@ export declare const actionCopyAsSvg: {
|
|
|
452
461
|
}>;
|
|
453
462
|
openMenu: "canvas" | "shape" | null;
|
|
454
463
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
455
|
-
openSidebar:
|
|
464
|
+
openSidebar: {
|
|
465
|
+
name: string;
|
|
466
|
+
tab?: string | undefined;
|
|
467
|
+
} | null;
|
|
456
468
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
457
|
-
|
|
469
|
+
defaultSidebarDockedPreference: boolean;
|
|
458
470
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
459
471
|
selectedElementIds: {
|
|
460
472
|
[id: string]: boolean;
|
|
@@ -571,9 +583,12 @@ export declare const actionCopyAsPng: {
|
|
|
571
583
|
}>;
|
|
572
584
|
openMenu: "canvas" | "shape" | null;
|
|
573
585
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
574
|
-
openSidebar:
|
|
586
|
+
openSidebar: {
|
|
587
|
+
name: string;
|
|
588
|
+
tab?: string | undefined;
|
|
589
|
+
} | null;
|
|
575
590
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
576
|
-
|
|
591
|
+
defaultSidebarDockedPreference: boolean;
|
|
577
592
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
578
593
|
selectedElementIds: {
|
|
579
594
|
[id: string]: boolean;
|
|
@@ -70,9 +70,12 @@ export declare const actionDeleteSelected: {
|
|
|
70
70
|
}>;
|
|
71
71
|
openMenu: "canvas" | "shape" | null;
|
|
72
72
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
73
|
-
openSidebar:
|
|
73
|
+
openSidebar: {
|
|
74
|
+
name: string;
|
|
75
|
+
tab?: string | undefined;
|
|
76
|
+
} | null;
|
|
74
77
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
75
|
-
|
|
78
|
+
defaultSidebarDockedPreference: boolean;
|
|
76
79
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
77
80
|
selectedElementIds: {
|
|
78
81
|
[id: string]: boolean;
|
|
@@ -204,9 +207,12 @@ export declare const actionDeleteSelected: {
|
|
|
204
207
|
}>;
|
|
205
208
|
openMenu: "canvas" | "shape" | null;
|
|
206
209
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
207
|
-
openSidebar:
|
|
210
|
+
openSidebar: {
|
|
211
|
+
name: string;
|
|
212
|
+
tab?: string | undefined;
|
|
213
|
+
} | null;
|
|
208
214
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
209
|
-
|
|
215
|
+
defaultSidebarDockedPreference: boolean;
|
|
210
216
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
211
217
|
selectedElementIds: {
|
|
212
218
|
[id: string]: boolean;
|
|
@@ -311,9 +317,12 @@ export declare const actionDeleteSelected: {
|
|
|
311
317
|
}>;
|
|
312
318
|
openMenu: "canvas" | "shape" | null;
|
|
313
319
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
314
|
-
openSidebar:
|
|
320
|
+
openSidebar: {
|
|
321
|
+
name: string;
|
|
322
|
+
tab?: string | undefined;
|
|
323
|
+
} | null;
|
|
315
324
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
316
|
-
|
|
325
|
+
defaultSidebarDockedPreference: boolean;
|
|
317
326
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
318
327
|
previousSelectedElementIds: {
|
|
319
328
|
[id: string]: boolean;
|
|
@@ -64,9 +64,12 @@ export declare const actionChangeProjectName: {
|
|
|
64
64
|
}>;
|
|
65
65
|
openMenu: "canvas" | "shape" | null;
|
|
66
66
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
67
|
-
openSidebar:
|
|
67
|
+
openSidebar: {
|
|
68
|
+
name: string;
|
|
69
|
+
tab?: string | undefined;
|
|
70
|
+
} | null;
|
|
68
71
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
69
|
-
|
|
72
|
+
defaultSidebarDockedPreference: boolean;
|
|
70
73
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
71
74
|
selectedElementIds: {
|
|
72
75
|
[id: string]: boolean;
|
|
@@ -180,9 +183,12 @@ export declare const actionChangeExportScale: {
|
|
|
180
183
|
}>;
|
|
181
184
|
openMenu: "canvas" | "shape" | null;
|
|
182
185
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
183
|
-
openSidebar:
|
|
186
|
+
openSidebar: {
|
|
187
|
+
name: string;
|
|
188
|
+
tab?: string | undefined;
|
|
189
|
+
} | null;
|
|
184
190
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
185
|
-
|
|
191
|
+
defaultSidebarDockedPreference: boolean;
|
|
186
192
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
187
193
|
selectedElementIds: {
|
|
188
194
|
[id: string]: boolean;
|
|
@@ -296,9 +302,12 @@ export declare const actionChangeExportBackground: {
|
|
|
296
302
|
}>;
|
|
297
303
|
openMenu: "canvas" | "shape" | null;
|
|
298
304
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
299
|
-
openSidebar:
|
|
305
|
+
openSidebar: {
|
|
306
|
+
name: string;
|
|
307
|
+
tab?: string | undefined;
|
|
308
|
+
} | null;
|
|
300
309
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
301
|
-
|
|
310
|
+
defaultSidebarDockedPreference: boolean;
|
|
302
311
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
303
312
|
selectedElementIds: {
|
|
304
313
|
[id: string]: boolean;
|
|
@@ -412,9 +421,12 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
412
421
|
}>;
|
|
413
422
|
openMenu: "canvas" | "shape" | null;
|
|
414
423
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
415
|
-
openSidebar:
|
|
424
|
+
openSidebar: {
|
|
425
|
+
name: string;
|
|
426
|
+
tab?: string | undefined;
|
|
427
|
+
} | null;
|
|
416
428
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
417
|
-
|
|
429
|
+
defaultSidebarDockedPreference: boolean;
|
|
418
430
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
419
431
|
selectedElementIds: {
|
|
420
432
|
[id: string]: boolean;
|
|
@@ -533,9 +545,12 @@ export declare const actionSaveToActiveFile: {
|
|
|
533
545
|
}>;
|
|
534
546
|
openMenu: "canvas" | "shape" | null;
|
|
535
547
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
536
|
-
openSidebar:
|
|
548
|
+
openSidebar: {
|
|
549
|
+
name: string;
|
|
550
|
+
tab?: string | undefined;
|
|
551
|
+
} | null;
|
|
537
552
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
538
|
-
|
|
553
|
+
defaultSidebarDockedPreference: boolean;
|
|
539
554
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
540
555
|
selectedElementIds: {
|
|
541
556
|
[id: string]: boolean;
|
|
@@ -647,9 +662,12 @@ export declare const actionSaveFileToDisk: {
|
|
|
647
662
|
}>;
|
|
648
663
|
openMenu: "canvas" | "shape" | null;
|
|
649
664
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
650
|
-
openSidebar:
|
|
665
|
+
openSidebar: {
|
|
666
|
+
name: string;
|
|
667
|
+
tab?: string | undefined;
|
|
668
|
+
} | null;
|
|
651
669
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
652
|
-
|
|
670
|
+
defaultSidebarDockedPreference: boolean;
|
|
653
671
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
654
672
|
selectedElementIds: {
|
|
655
673
|
[id: string]: boolean;
|
|
@@ -767,9 +785,12 @@ export declare const actionLoadScene: {
|
|
|
767
785
|
}>;
|
|
768
786
|
openMenu: "canvas" | "shape" | null;
|
|
769
787
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
770
|
-
openSidebar:
|
|
788
|
+
openSidebar: {
|
|
789
|
+
name: string;
|
|
790
|
+
tab?: string | undefined;
|
|
791
|
+
} | null;
|
|
771
792
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
772
|
-
|
|
793
|
+
defaultSidebarDockedPreference: boolean;
|
|
773
794
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
774
795
|
selectedElementIds: {
|
|
775
796
|
[id: string]: boolean;
|
|
@@ -869,9 +890,12 @@ export declare const actionLoadScene: {
|
|
|
869
890
|
}>;
|
|
870
891
|
openMenu: "canvas" | "shape" | null;
|
|
871
892
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
872
|
-
openSidebar:
|
|
893
|
+
openSidebar: {
|
|
894
|
+
name: string;
|
|
895
|
+
tab?: string | undefined;
|
|
896
|
+
} | null;
|
|
873
897
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
874
|
-
|
|
898
|
+
defaultSidebarDockedPreference: boolean;
|
|
875
899
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
876
900
|
selectedElementIds: {
|
|
877
901
|
[id: string]: boolean;
|
|
@@ -986,9 +1010,12 @@ export declare const actionExportWithDarkMode: {
|
|
|
986
1010
|
}>;
|
|
987
1011
|
openMenu: "canvas" | "shape" | null;
|
|
988
1012
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
989
|
-
openSidebar:
|
|
1013
|
+
openSidebar: {
|
|
1014
|
+
name: string;
|
|
1015
|
+
tab?: string | undefined;
|
|
1016
|
+
} | null;
|
|
990
1017
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
991
|
-
|
|
1018
|
+
defaultSidebarDockedPreference: boolean;
|
|
992
1019
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
993
1020
|
selectedElementIds: {
|
|
994
1021
|
[id: string]: boolean;
|
|
@@ -66,9 +66,12 @@ export declare const actionFinalize: {
|
|
|
66
66
|
}>;
|
|
67
67
|
openMenu: "canvas" | "shape" | null;
|
|
68
68
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
69
|
-
openSidebar:
|
|
69
|
+
openSidebar: {
|
|
70
|
+
name: string;
|
|
71
|
+
tab?: string | undefined;
|
|
72
|
+
} | null;
|
|
70
73
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
71
|
-
|
|
74
|
+
defaultSidebarDockedPreference: boolean;
|
|
72
75
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
73
76
|
selectedElementIds: {
|
|
74
77
|
[id: string]: boolean;
|
|
@@ -177,9 +180,12 @@ export declare const actionFinalize: {
|
|
|
177
180
|
}>;
|
|
178
181
|
openMenu: "canvas" | "shape" | null;
|
|
179
182
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
180
|
-
openSidebar:
|
|
183
|
+
openSidebar: {
|
|
184
|
+
name: string;
|
|
185
|
+
tab?: string | undefined;
|
|
186
|
+
} | null;
|
|
181
187
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
182
|
-
|
|
188
|
+
defaultSidebarDockedPreference: boolean;
|
|
183
189
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
184
190
|
previousSelectedElementIds: {
|
|
185
191
|
[id: string]: boolean;
|
|
@@ -68,9 +68,12 @@ export declare const actionToggleLinearEditor: {
|
|
|
68
68
|
}>;
|
|
69
69
|
openMenu: "canvas" | "shape" | null;
|
|
70
70
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
71
|
-
openSidebar:
|
|
71
|
+
openSidebar: {
|
|
72
|
+
name: string;
|
|
73
|
+
tab?: string | undefined;
|
|
74
|
+
} | null;
|
|
72
75
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
73
|
-
|
|
76
|
+
defaultSidebarDockedPreference: boolean;
|
|
74
77
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
75
78
|
selectedElementIds: {
|
|
76
79
|
[id: string]: boolean;
|
|
@@ -65,9 +65,12 @@ export declare const actionToggleCanvasMenu: {
|
|
|
65
65
|
value: import("../types").NormalizedZoomValue;
|
|
66
66
|
}>;
|
|
67
67
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
68
|
-
openSidebar:
|
|
68
|
+
openSidebar: {
|
|
69
|
+
name: string;
|
|
70
|
+
tab?: string | undefined;
|
|
71
|
+
} | null;
|
|
69
72
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
70
|
-
|
|
73
|
+
defaultSidebarDockedPreference: boolean;
|
|
71
74
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
72
75
|
selectedElementIds: {
|
|
73
76
|
[id: string]: boolean;
|
|
@@ -180,9 +183,12 @@ export declare const actionToggleEditMenu: {
|
|
|
180
183
|
value: import("../types").NormalizedZoomValue;
|
|
181
184
|
}>;
|
|
182
185
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
183
|
-
openSidebar:
|
|
186
|
+
openSidebar: {
|
|
187
|
+
name: string;
|
|
188
|
+
tab?: string | undefined;
|
|
189
|
+
} | null;
|
|
184
190
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
185
|
-
|
|
191
|
+
defaultSidebarDockedPreference: boolean;
|
|
186
192
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
187
193
|
selectedElementIds: {
|
|
188
194
|
[id: string]: boolean;
|
|
@@ -312,8 +318,11 @@ export declare const actionShortcuts: {
|
|
|
312
318
|
}>;
|
|
313
319
|
openMenu: "canvas" | "shape" | null;
|
|
314
320
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
315
|
-
openSidebar:
|
|
316
|
-
|
|
321
|
+
openSidebar: {
|
|
322
|
+
name: string;
|
|
323
|
+
tab?: string | undefined;
|
|
324
|
+
} | null;
|
|
325
|
+
defaultSidebarDockedPreference: boolean;
|
|
317
326
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
318
327
|
selectedElementIds: {
|
|
319
328
|
[id: string]: boolean;
|