@zsviczian/excalidraw 0.15.2-obsidian-1 → 0.15.2-obsidian-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/excalidraw.development.js +462 -198
- 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/Actions.d.ts +5 -5
- 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/HintViewer.d.ts +2 -2
- package/types/components/ImageExportDialog.d.ts +4 -4
- package/types/components/JSONExportDialog.d.ts +3 -3
- package/types/components/LayerUI.d.ts +3 -10
- package/types/components/LibraryMenu.d.ts +32 -13
- package/types/components/LibraryMenuBrowseButton.d.ts +2 -2
- package/types/components/LibraryMenuControlButtons.d.ts +9 -0
- package/types/components/LibraryMenuHeaderContent.d.ts +9 -28
- package/types/components/LibraryMenuItems.d.ts +2 -2
- package/types/components/MobileMenu.d.ts +3 -3
- package/types/components/PasteChartDialog.d.ts +4 -5
- package/types/components/PublishLibrary.d.ts +2 -2
- 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/Stats.d.ts +3 -3
- package/types/components/Trans.d.ts +8 -0
- package/types/components/footer/Footer.d.ts +2 -2
- package/types/constants.d.ts +5 -0
- package/types/context/tunnels.d.ts +18 -0
- package/types/context/ui-appState.d.ts +4 -0
- package/types/data/types.d.ts +2 -4
- package/types/element/Hyperlink.d.ts +7 -4
- package/types/element/linearElementEditor.d.ts +5 -2
- package/types/element/newElement.d.ts +6 -1
- package/types/element/showSelectedShapeActions.d.ts +2 -2
- package/types/element/textElement.d.ts +2 -2
- package/types/hooks/useOutsideClick.d.ts +1 -1
- package/types/packages/excalidraw/index.d.ts +2 -1
- package/types/packages/utils.d.ts +1 -1
- package/types/scene/selection.d.ts +4 -4
- package/types/types.d.ts +23 -12
- package/types/utils.d.ts +2 -2
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;
|
|
@@ -186,9 +189,12 @@ export declare const actionAddToLibrary: {
|
|
|
186
189
|
}>;
|
|
187
190
|
openMenu: "canvas" | "shape" | null;
|
|
188
191
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
189
|
-
openSidebar:
|
|
192
|
+
openSidebar: {
|
|
193
|
+
name: string;
|
|
194
|
+
tab?: string | undefined;
|
|
195
|
+
} | null;
|
|
190
196
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
191
|
-
|
|
197
|
+
defaultSidebarDockedPreference: boolean;
|
|
192
198
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
193
199
|
selectedElementIds: {
|
|
194
200
|
[id: string]: boolean;
|
|
@@ -308,9 +314,12 @@ export declare const actionAddToLibrary: {
|
|
|
308
314
|
}>;
|
|
309
315
|
openMenu: "canvas" | "shape" | null;
|
|
310
316
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
311
|
-
openSidebar:
|
|
317
|
+
openSidebar: {
|
|
318
|
+
name: string;
|
|
319
|
+
tab?: string | undefined;
|
|
320
|
+
} | null;
|
|
312
321
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
313
|
-
|
|
322
|
+
defaultSidebarDockedPreference: boolean;
|
|
314
323
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
315
324
|
selectedElementIds: {
|
|
316
325
|
[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;
|
|
@@ -222,9 +225,12 @@ export declare const actionWrapTextInContainer: {
|
|
|
222
225
|
}>;
|
|
223
226
|
openMenu: "canvas" | "shape" | null;
|
|
224
227
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
225
|
-
openSidebar:
|
|
228
|
+
openSidebar: {
|
|
229
|
+
name: string;
|
|
230
|
+
tab?: string | undefined;
|
|
231
|
+
} | null;
|
|
226
232
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
227
|
-
|
|
233
|
+
defaultSidebarDockedPreference: boolean;
|
|
228
234
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
229
235
|
previousSelectedElementIds: {
|
|
230
236
|
[id: string]: boolean;
|
|
@@ -102,9 +102,12 @@ export declare const actionClearCanvas: {
|
|
|
102
102
|
}>;
|
|
103
103
|
openMenu: "canvas" | "shape" | null;
|
|
104
104
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
105
|
-
openSidebar:
|
|
105
|
+
openSidebar: {
|
|
106
|
+
name: string;
|
|
107
|
+
tab?: string | undefined;
|
|
108
|
+
} | null;
|
|
106
109
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
107
|
-
|
|
110
|
+
defaultSidebarDockedPreference: boolean;
|
|
108
111
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
109
112
|
selectedElementIds: {
|
|
110
113
|
[id: string]: boolean;
|
|
@@ -210,9 +213,12 @@ export declare const actionZoomIn: {
|
|
|
210
213
|
isRotating: boolean;
|
|
211
214
|
openMenu: "canvas" | "shape" | null;
|
|
212
215
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
213
|
-
openSidebar:
|
|
216
|
+
openSidebar: {
|
|
217
|
+
name: string;
|
|
218
|
+
tab?: string | undefined;
|
|
219
|
+
} | null;
|
|
214
220
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
215
|
-
|
|
221
|
+
defaultSidebarDockedPreference: boolean;
|
|
216
222
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
217
223
|
selectedElementIds: {
|
|
218
224
|
[id: string]: boolean;
|
|
@@ -344,9 +350,12 @@ export declare const actionZoomOut: {
|
|
|
344
350
|
isRotating: boolean;
|
|
345
351
|
openMenu: "canvas" | "shape" | null;
|
|
346
352
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
347
|
-
openSidebar:
|
|
353
|
+
openSidebar: {
|
|
354
|
+
name: string;
|
|
355
|
+
tab?: string | undefined;
|
|
356
|
+
} | null;
|
|
348
357
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
349
|
-
|
|
358
|
+
defaultSidebarDockedPreference: boolean;
|
|
350
359
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
351
360
|
selectedElementIds: {
|
|
352
361
|
[id: string]: boolean;
|
|
@@ -478,9 +487,12 @@ export declare const actionResetZoom: {
|
|
|
478
487
|
isRotating: boolean;
|
|
479
488
|
openMenu: "canvas" | "shape" | null;
|
|
480
489
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
481
|
-
openSidebar:
|
|
490
|
+
openSidebar: {
|
|
491
|
+
name: string;
|
|
492
|
+
tab?: string | undefined;
|
|
493
|
+
} | null;
|
|
482
494
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
483
|
-
|
|
495
|
+
defaultSidebarDockedPreference: boolean;
|
|
484
496
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
485
497
|
selectedElementIds: {
|
|
486
498
|
[id: string]: boolean;
|
|
@@ -606,9 +618,12 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
606
618
|
isRotating: boolean;
|
|
607
619
|
openMenu: "canvas" | "shape" | null;
|
|
608
620
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
609
|
-
openSidebar:
|
|
621
|
+
openSidebar: {
|
|
622
|
+
name: string;
|
|
623
|
+
tab?: string | undefined;
|
|
624
|
+
} | null;
|
|
610
625
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
611
|
-
|
|
626
|
+
defaultSidebarDockedPreference: boolean;
|
|
612
627
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
613
628
|
selectedElementIds: {
|
|
614
629
|
[id: string]: boolean;
|
|
@@ -734,9 +749,12 @@ export declare const actionZoomToSelected: {
|
|
|
734
749
|
isRotating: boolean;
|
|
735
750
|
openMenu: "canvas" | "shape" | null;
|
|
736
751
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
737
|
-
openSidebar:
|
|
752
|
+
openSidebar: {
|
|
753
|
+
name: string;
|
|
754
|
+
tab?: string | undefined;
|
|
755
|
+
} | null;
|
|
738
756
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
739
|
-
|
|
757
|
+
defaultSidebarDockedPreference: boolean;
|
|
740
758
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
741
759
|
selectedElementIds: {
|
|
742
760
|
[id: string]: boolean;
|
|
@@ -867,9 +885,12 @@ export declare const actionZoomToFit: {
|
|
|
867
885
|
isRotating: boolean;
|
|
868
886
|
openMenu: "canvas" | "shape" | null;
|
|
869
887
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
870
|
-
openSidebar:
|
|
888
|
+
openSidebar: {
|
|
889
|
+
name: string;
|
|
890
|
+
tab?: string | undefined;
|
|
891
|
+
} | null;
|
|
871
892
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
872
|
-
|
|
893
|
+
defaultSidebarDockedPreference: boolean;
|
|
873
894
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
874
895
|
selectedElementIds: {
|
|
875
896
|
[id: string]: boolean;
|
|
@@ -1001,9 +1022,12 @@ export declare const actionToggleTheme: {
|
|
|
1001
1022
|
}>;
|
|
1002
1023
|
openMenu: "canvas" | "shape" | null;
|
|
1003
1024
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1004
|
-
openSidebar:
|
|
1025
|
+
openSidebar: {
|
|
1026
|
+
name: string;
|
|
1027
|
+
tab?: string | undefined;
|
|
1028
|
+
} | null;
|
|
1005
1029
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1006
|
-
|
|
1030
|
+
defaultSidebarDockedPreference: boolean;
|
|
1007
1031
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1008
1032
|
selectedElementIds: {
|
|
1009
1033
|
[id: string]: boolean;
|
|
@@ -1135,9 +1159,12 @@ export declare const actionToggleEraserTool: {
|
|
|
1135
1159
|
}>;
|
|
1136
1160
|
openMenu: "canvas" | "shape" | null;
|
|
1137
1161
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1138
|
-
openSidebar:
|
|
1162
|
+
openSidebar: {
|
|
1163
|
+
name: string;
|
|
1164
|
+
tab?: string | undefined;
|
|
1165
|
+
} | null;
|
|
1139
1166
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1140
|
-
|
|
1167
|
+
defaultSidebarDockedPreference: boolean;
|
|
1141
1168
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1142
1169
|
previousSelectedElementIds: {
|
|
1143
1170
|
[id: string]: boolean;
|
|
@@ -1263,9 +1290,12 @@ export declare const actionToggleHandTool: {
|
|
|
1263
1290
|
}>;
|
|
1264
1291
|
openMenu: "canvas" | "shape" | null;
|
|
1265
1292
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1266
|
-
openSidebar:
|
|
1293
|
+
openSidebar: {
|
|
1294
|
+
name: string;
|
|
1295
|
+
tab?: string | undefined;
|
|
1296
|
+
} | null;
|
|
1267
1297
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1268
|
-
|
|
1298
|
+
defaultSidebarDockedPreference: boolean;
|
|
1269
1299
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1270
1300
|
previousSelectedElementIds: {
|
|
1271
1301
|
[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;
|
|
@@ -245,9 +248,12 @@ export declare const actionCut: {
|
|
|
245
248
|
}>;
|
|
246
249
|
openMenu: "canvas" | "shape" | null;
|
|
247
250
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
248
|
-
openSidebar:
|
|
251
|
+
openSidebar: {
|
|
252
|
+
name: string;
|
|
253
|
+
tab?: string | undefined;
|
|
254
|
+
} | null;
|
|
249
255
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
250
|
-
|
|
256
|
+
defaultSidebarDockedPreference: boolean;
|
|
251
257
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
252
258
|
selectedElementIds: {
|
|
253
259
|
[id: string]: boolean;
|
|
@@ -369,9 +375,12 @@ export declare const actionCut: {
|
|
|
369
375
|
}>;
|
|
370
376
|
openMenu: "canvas" | "shape" | null;
|
|
371
377
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
372
|
-
openSidebar:
|
|
378
|
+
openSidebar: {
|
|
379
|
+
name: string;
|
|
380
|
+
tab?: string | undefined;
|
|
381
|
+
} | null;
|
|
373
382
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
374
|
-
|
|
383
|
+
defaultSidebarDockedPreference: boolean;
|
|
375
384
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
376
385
|
previousSelectedElementIds: {
|
|
377
386
|
[id: string]: boolean;
|
|
@@ -503,9 +512,12 @@ export declare const actionCopyAsSvg: {
|
|
|
503
512
|
}>;
|
|
504
513
|
openMenu: "canvas" | "shape" | null;
|
|
505
514
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
506
|
-
openSidebar:
|
|
515
|
+
openSidebar: {
|
|
516
|
+
name: string;
|
|
517
|
+
tab?: string | undefined;
|
|
518
|
+
} | null;
|
|
507
519
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
508
|
-
|
|
520
|
+
defaultSidebarDockedPreference: boolean;
|
|
509
521
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
510
522
|
selectedElementIds: {
|
|
511
523
|
[id: string]: boolean;
|
|
@@ -639,9 +651,12 @@ export declare const actionCopyAsPng: {
|
|
|
639
651
|
}>;
|
|
640
652
|
openMenu: "canvas" | "shape" | null;
|
|
641
653
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
642
|
-
openSidebar:
|
|
654
|
+
openSidebar: {
|
|
655
|
+
name: string;
|
|
656
|
+
tab?: string | undefined;
|
|
657
|
+
} | null;
|
|
643
658
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
644
|
-
|
|
659
|
+
defaultSidebarDockedPreference: boolean;
|
|
645
660
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
646
661
|
selectedElementIds: {
|
|
647
662
|
[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;
|
|
@@ -221,9 +224,12 @@ export declare const actionDeleteSelected: {
|
|
|
221
224
|
}>;
|
|
222
225
|
openMenu: "canvas" | "shape" | null;
|
|
223
226
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
224
|
-
openSidebar:
|
|
227
|
+
openSidebar: {
|
|
228
|
+
name: string;
|
|
229
|
+
tab?: string | undefined;
|
|
230
|
+
} | null;
|
|
225
231
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
226
|
-
|
|
232
|
+
defaultSidebarDockedPreference: boolean;
|
|
227
233
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
228
234
|
selectedElementIds: {
|
|
229
235
|
[id: string]: boolean;
|
|
@@ -345,9 +351,12 @@ export declare const actionDeleteSelected: {
|
|
|
345
351
|
}>;
|
|
346
352
|
openMenu: "canvas" | "shape" | null;
|
|
347
353
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
348
|
-
openSidebar:
|
|
354
|
+
openSidebar: {
|
|
355
|
+
name: string;
|
|
356
|
+
tab?: string | undefined;
|
|
357
|
+
} | null;
|
|
349
358
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
350
|
-
|
|
359
|
+
defaultSidebarDockedPreference: boolean;
|
|
351
360
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
352
361
|
previousSelectedElementIds: {
|
|
353
362
|
[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;
|
|
@@ -197,9 +200,12 @@ export declare const actionChangeExportScale: {
|
|
|
197
200
|
}>;
|
|
198
201
|
openMenu: "canvas" | "shape" | null;
|
|
199
202
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
200
|
-
openSidebar:
|
|
203
|
+
openSidebar: {
|
|
204
|
+
name: string;
|
|
205
|
+
tab?: string | undefined;
|
|
206
|
+
} | null;
|
|
201
207
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
202
|
-
|
|
208
|
+
defaultSidebarDockedPreference: boolean;
|
|
203
209
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
204
210
|
selectedElementIds: {
|
|
205
211
|
[id: string]: boolean;
|
|
@@ -330,9 +336,12 @@ export declare const actionChangeExportBackground: {
|
|
|
330
336
|
}>;
|
|
331
337
|
openMenu: "canvas" | "shape" | null;
|
|
332
338
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
333
|
-
openSidebar:
|
|
339
|
+
openSidebar: {
|
|
340
|
+
name: string;
|
|
341
|
+
tab?: string | undefined;
|
|
342
|
+
} | null;
|
|
334
343
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
335
|
-
|
|
344
|
+
defaultSidebarDockedPreference: boolean;
|
|
336
345
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
337
346
|
selectedElementIds: {
|
|
338
347
|
[id: string]: boolean;
|
|
@@ -463,9 +472,12 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
463
472
|
}>;
|
|
464
473
|
openMenu: "canvas" | "shape" | null;
|
|
465
474
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
466
|
-
openSidebar:
|
|
475
|
+
openSidebar: {
|
|
476
|
+
name: string;
|
|
477
|
+
tab?: string | undefined;
|
|
478
|
+
} | null;
|
|
467
479
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
468
|
-
|
|
480
|
+
defaultSidebarDockedPreference: boolean;
|
|
469
481
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
470
482
|
selectedElementIds: {
|
|
471
483
|
[id: string]: boolean;
|
|
@@ -601,9 +613,12 @@ export declare const actionSaveToActiveFile: {
|
|
|
601
613
|
}>;
|
|
602
614
|
openMenu: "canvas" | "shape" | null;
|
|
603
615
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
604
|
-
openSidebar:
|
|
616
|
+
openSidebar: {
|
|
617
|
+
name: string;
|
|
618
|
+
tab?: string | undefined;
|
|
619
|
+
} | null;
|
|
605
620
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
606
|
-
|
|
621
|
+
defaultSidebarDockedPreference: boolean;
|
|
607
622
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
608
623
|
selectedElementIds: {
|
|
609
624
|
[id: string]: boolean;
|
|
@@ -732,9 +747,12 @@ export declare const actionSaveFileToDisk: {
|
|
|
732
747
|
}>;
|
|
733
748
|
openMenu: "canvas" | "shape" | null;
|
|
734
749
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
735
|
-
openSidebar:
|
|
750
|
+
openSidebar: {
|
|
751
|
+
name: string;
|
|
752
|
+
tab?: string | undefined;
|
|
753
|
+
} | null;
|
|
736
754
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
737
|
-
|
|
755
|
+
defaultSidebarDockedPreference: boolean;
|
|
738
756
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
739
757
|
selectedElementIds: {
|
|
740
758
|
[id: string]: boolean;
|
|
@@ -869,9 +887,12 @@ export declare const actionLoadScene: {
|
|
|
869
887
|
}>;
|
|
870
888
|
openMenu: "canvas" | "shape" | null;
|
|
871
889
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
872
|
-
openSidebar:
|
|
890
|
+
openSidebar: {
|
|
891
|
+
name: string;
|
|
892
|
+
tab?: string | undefined;
|
|
893
|
+
} | null;
|
|
873
894
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
874
|
-
|
|
895
|
+
defaultSidebarDockedPreference: boolean;
|
|
875
896
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
876
897
|
selectedElementIds: {
|
|
877
898
|
[id: string]: boolean;
|
|
@@ -988,9 +1009,12 @@ export declare const actionLoadScene: {
|
|
|
988
1009
|
}>;
|
|
989
1010
|
openMenu: "canvas" | "shape" | null;
|
|
990
1011
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
991
|
-
openSidebar:
|
|
1012
|
+
openSidebar: {
|
|
1013
|
+
name: string;
|
|
1014
|
+
tab?: string | undefined;
|
|
1015
|
+
} | null;
|
|
992
1016
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
993
|
-
|
|
1017
|
+
defaultSidebarDockedPreference: boolean;
|
|
994
1018
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
995
1019
|
selectedElementIds: {
|
|
996
1020
|
[id: string]: boolean;
|
|
@@ -1122,9 +1146,12 @@ export declare const actionExportWithDarkMode: {
|
|
|
1122
1146
|
}>;
|
|
1123
1147
|
openMenu: "canvas" | "shape" | null;
|
|
1124
1148
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1125
|
-
openSidebar:
|
|
1149
|
+
openSidebar: {
|
|
1150
|
+
name: string;
|
|
1151
|
+
tab?: string | undefined;
|
|
1152
|
+
} | null;
|
|
1126
1153
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1127
|
-
|
|
1154
|
+
defaultSidebarDockedPreference: boolean;
|
|
1128
1155
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1129
1156
|
selectedElementIds: {
|
|
1130
1157
|
[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;
|
|
@@ -194,9 +197,12 @@ export declare const actionFinalize: {
|
|
|
194
197
|
}>;
|
|
195
198
|
openMenu: "canvas" | "shape" | null;
|
|
196
199
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
197
|
-
openSidebar:
|
|
200
|
+
openSidebar: {
|
|
201
|
+
name: string;
|
|
202
|
+
tab?: string | undefined;
|
|
203
|
+
} | null;
|
|
198
204
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
199
|
-
|
|
205
|
+
defaultSidebarDockedPreference: boolean;
|
|
200
206
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
201
207
|
previousSelectedElementIds: {
|
|
202
208
|
[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;
|
|
@@ -197,9 +200,12 @@ export declare const actionToggleEditMenu: {
|
|
|
197
200
|
value: import("../types").NormalizedZoomValue;
|
|
198
201
|
}>;
|
|
199
202
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
200
|
-
openSidebar:
|
|
203
|
+
openSidebar: {
|
|
204
|
+
name: string;
|
|
205
|
+
tab?: string | undefined;
|
|
206
|
+
} | null;
|
|
201
207
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
202
|
-
|
|
208
|
+
defaultSidebarDockedPreference: boolean;
|
|
203
209
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
204
210
|
selectedElementIds: {
|
|
205
211
|
[id: string]: boolean;
|
|
@@ -346,8 +352,11 @@ export declare const actionShortcuts: {
|
|
|
346
352
|
}>;
|
|
347
353
|
openMenu: "canvas" | "shape" | null;
|
|
348
354
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
349
|
-
openSidebar:
|
|
350
|
-
|
|
355
|
+
openSidebar: {
|
|
356
|
+
name: string;
|
|
357
|
+
tab?: string | undefined;
|
|
358
|
+
} | null;
|
|
359
|
+
defaultSidebarDockedPreference: boolean;
|
|
351
360
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
352
361
|
selectedElementIds: {
|
|
353
362
|
[id: string]: boolean;
|