@zsviczian/excalidraw 0.13.0-obsidian-1 → 0.14.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 +418 -20
- package/dist/excalidraw.development.js +571 -1154
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +0 -102
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +21 -9
- package/types/actions/actionAlign.d.ts +6 -18
- package/types/actions/actionBoundText.d.ts +9 -5
- package/types/actions/actionCanvas.d.ts +83 -55
- package/types/actions/actionClipboard.d.ts +63 -16
- package/types/actions/actionDeleteSelected.d.ts +31 -12
- package/types/actions/actionDistribute.d.ts +2 -6
- package/types/actions/actionDuplicateSelection.d.ts +1 -3
- package/types/actions/actionExport.d.ts +79 -58
- package/types/actions/actionFinalize.d.ts +15 -9
- package/types/actions/actionFlip.d.ts +2 -2
- package/types/actions/actionGroup.d.ts +4 -8
- package/types/actions/actionLinearEditor.d.ts +8 -4
- package/types/actions/actionMenu.d.ts +24 -17
- package/types/actions/actionNavigate.d.ts +2 -3
- package/types/actions/actionProperties.d.ts +106 -80
- package/types/actions/actionStyles.d.ts +7 -3
- package/types/actions/actionToggleGridMode.d.ts +9 -3
- package/types/actions/actionToggleLock.d.ts +7 -3
- package/types/actions/actionToggleStats.d.ts +8 -3
- package/types/actions/actionToggleViewMode.d.ts +9 -3
- package/types/actions/actionToggleZenMode.d.ts +9 -3
- package/types/actions/actionZindex.d.ts +4 -12
- package/types/actions/manager.d.ts +2 -1
- package/types/actions/types.d.ts +6 -5
- package/types/appState.d.ts +8 -9
- package/types/clipboard.d.ts +6 -1
- package/types/components/App.d.ts +8 -51
- package/types/components/Button.d.ts +15 -0
- package/types/components/CollabButton.d.ts +1 -2
- package/types/components/ContextMenu.d.ts +8 -21
- package/types/components/JSONExportDialog.d.ts +3 -1
- package/types/components/LayerUI.d.ts +2 -3
- package/types/components/LibraryMenuHeaderContent.d.ts +23 -0
- package/types/components/MobileMenu.d.ts +4 -6
- package/types/components/UserList.d.ts +0 -2
- package/types/components/dropdownMenu/DropdownMenu.d.ts +64 -0
- package/types/components/dropdownMenu/DropdownMenuContent.d.ts +11 -0
- package/types/components/dropdownMenu/DropdownMenuGroup.d.ts +11 -0
- package/types/components/dropdownMenu/DropdownMenuItem.d.ts +13 -0
- package/types/components/dropdownMenu/DropdownMenuItemContent.d.ts +6 -0
- package/types/components/dropdownMenu/DropdownMenuItemCustom.d.ts +6 -0
- package/types/components/dropdownMenu/DropdownMenuItemLink.d.ts +12 -0
- package/types/components/dropdownMenu/DropdownMenuSeparator.d.ts +5 -0
- package/types/components/dropdownMenu/DropdownMenuTrigger.d.ts +9 -0
- package/types/components/dropdownMenu/dropdownMenuUtils.d.ts +3 -0
- package/types/components/footer/Footer.d.ts +13 -0
- package/types/components/footer/FooterCenter.d.ts +8 -0
- package/types/components/icons.d.ts +1 -1
- package/types/components/live-collaboration/LiveCollaborationTrigger.d.ts +10 -0
- package/types/components/main-menu/DefaultItems.d.ts +44 -0
- package/types/components/main-menu/MainMenu.d.ts +55 -0
- package/types/components/mainMenu/DefaultItems.d.ts +44 -0
- package/types/components/mainMenu/MainMenu.d.ts +63 -0
- package/types/components/welcome-screen/WelcomeScreen.Center.d.ts +58 -0
- package/types/components/welcome-screen/WelcomeScreen.Hints.d.ts +19 -0
- package/types/components/welcome-screen/WelcomeScreen.d.ts +85 -0
- package/types/constants.d.ts +6 -7
- package/types/element/Hyperlink.d.ts +9 -7
- package/types/element/bounds.d.ts +3 -2
- package/types/element/linearElementEditor.d.ts +38 -6
- package/types/element/newElement.d.ts +2 -2
- package/types/element/resizeElements.d.ts +0 -1
- package/types/element/textElement.d.ts +24 -2
- package/types/element/textWysiwyg.d.ts +6 -1
- package/types/element/transformHandles.d.ts +2 -3
- package/types/element/typeChecks.d.ts +10 -1
- package/types/element/types.d.ts +11 -4
- package/types/excalidraw-app/data/index.d.ts +13 -9
- package/types/excalidraw-app/data/localStorage.d.ts +13 -9
- package/types/keys.d.ts +2 -0
- package/types/math.d.ts +2 -1
- package/types/packages/excalidraw/example/CustomFooter.d.ts +5 -0
- package/types/packages/excalidraw/example/MobileFooter.d.ts +5 -0
- package/types/packages/excalidraw/index.d.ts +10 -0
- package/types/renderer/easingFunctions.d.ts +6 -0
- package/types/renderer/renderElement.d.ts +4 -3
- package/types/scene/Fonts.d.ts +21 -0
- package/types/scene/Scene.d.ts +15 -0
- package/types/scene/comparisons.d.ts +2 -3
- package/types/scene/index.d.ts +1 -1
- package/types/types.d.ts +43 -22
- package/types/utils.d.ts +17 -0
|
@@ -5,9 +5,7 @@ export declare const actionChangeStrokeColor: {
|
|
|
5
5
|
name: "changeStrokeColor";
|
|
6
6
|
trackEvent: false;
|
|
7
7
|
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
8
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
9
|
-
isInHamburgerMenu: boolean;
|
|
10
|
-
}) => JSX.Element;
|
|
8
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
11
9
|
} & {
|
|
12
10
|
keyTest?: undefined;
|
|
13
11
|
};
|
|
@@ -15,9 +13,7 @@ export declare const actionChangeBackgroundColor: {
|
|
|
15
13
|
name: "changeBackgroundColor";
|
|
16
14
|
trackEvent: false;
|
|
17
15
|
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
18
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
19
|
-
isInHamburgerMenu: boolean;
|
|
20
|
-
}) => JSX.Element;
|
|
16
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
21
17
|
} & {
|
|
22
18
|
keyTest?: undefined;
|
|
23
19
|
};
|
|
@@ -28,6 +24,11 @@ export declare const actionChangeFillStyle: {
|
|
|
28
24
|
elements: ExcalidrawElement[];
|
|
29
25
|
appState: {
|
|
30
26
|
currentItemFillStyle: any;
|
|
27
|
+
contextMenu: {
|
|
28
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
29
|
+
top: number;
|
|
30
|
+
left: number;
|
|
31
|
+
} | null;
|
|
31
32
|
showWelcomeScreen: boolean;
|
|
32
33
|
isLoading: boolean;
|
|
33
34
|
errorMessage: string | null;
|
|
@@ -66,10 +67,9 @@ export declare const actionChangeFillStyle: {
|
|
|
66
67
|
currentItemFontFamily: number;
|
|
67
68
|
currentItemFontSize: number;
|
|
68
69
|
currentItemTextAlign: string;
|
|
69
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
70
70
|
currentItemStartArrowhead: Arrowhead | null;
|
|
71
71
|
currentItemEndArrowhead: Arrowhead | null;
|
|
72
|
-
|
|
72
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
73
73
|
viewBackgroundColor: string;
|
|
74
74
|
scrollX: number;
|
|
75
75
|
scrollY: number;
|
|
@@ -84,7 +84,7 @@ export declare const actionChangeFillStyle: {
|
|
|
84
84
|
openMenu: "canvas" | "shape" | null;
|
|
85
85
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
86
86
|
openSidebar: "library" | "customSidebar" | null;
|
|
87
|
-
openDialog: "imageExport" | "help" | null;
|
|
87
|
+
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
88
88
|
isSidebarDocked: boolean;
|
|
89
89
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
90
90
|
selectedElementIds: {
|
|
@@ -135,9 +135,7 @@ export declare const actionChangeFillStyle: {
|
|
|
135
135
|
};
|
|
136
136
|
commitToHistory: true;
|
|
137
137
|
};
|
|
138
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
139
|
-
isInHamburgerMenu: boolean;
|
|
140
|
-
}) => JSX.Element;
|
|
138
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
141
139
|
} & {
|
|
142
140
|
keyTest?: undefined;
|
|
143
141
|
};
|
|
@@ -148,6 +146,11 @@ export declare const actionChangeStrokeWidth: {
|
|
|
148
146
|
elements: ExcalidrawElement[];
|
|
149
147
|
appState: {
|
|
150
148
|
currentItemStrokeWidth: any;
|
|
149
|
+
contextMenu: {
|
|
150
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
151
|
+
top: number;
|
|
152
|
+
left: number;
|
|
153
|
+
} | null;
|
|
151
154
|
showWelcomeScreen: boolean;
|
|
152
155
|
isLoading: boolean;
|
|
153
156
|
errorMessage: string | null;
|
|
@@ -186,10 +189,9 @@ export declare const actionChangeStrokeWidth: {
|
|
|
186
189
|
currentItemFontFamily: number;
|
|
187
190
|
currentItemFontSize: number;
|
|
188
191
|
currentItemTextAlign: string;
|
|
189
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
190
192
|
currentItemStartArrowhead: Arrowhead | null;
|
|
191
193
|
currentItemEndArrowhead: Arrowhead | null;
|
|
192
|
-
|
|
194
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
193
195
|
viewBackgroundColor: string;
|
|
194
196
|
scrollX: number;
|
|
195
197
|
scrollY: number;
|
|
@@ -204,7 +206,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
204
206
|
openMenu: "canvas" | "shape" | null;
|
|
205
207
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
206
208
|
openSidebar: "library" | "customSidebar" | null;
|
|
207
|
-
openDialog: "imageExport" | "help" | null;
|
|
209
|
+
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
208
210
|
isSidebarDocked: boolean;
|
|
209
211
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
210
212
|
selectedElementIds: {
|
|
@@ -255,9 +257,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
255
257
|
};
|
|
256
258
|
commitToHistory: true;
|
|
257
259
|
};
|
|
258
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
259
|
-
isInHamburgerMenu: boolean;
|
|
260
|
-
}) => JSX.Element;
|
|
260
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
261
261
|
} & {
|
|
262
262
|
keyTest?: undefined;
|
|
263
263
|
};
|
|
@@ -268,6 +268,11 @@ export declare const actionChangeSloppiness: {
|
|
|
268
268
|
elements: ExcalidrawElement[];
|
|
269
269
|
appState: {
|
|
270
270
|
currentItemRoughness: any;
|
|
271
|
+
contextMenu: {
|
|
272
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
273
|
+
top: number;
|
|
274
|
+
left: number;
|
|
275
|
+
} | null;
|
|
271
276
|
showWelcomeScreen: boolean;
|
|
272
277
|
isLoading: boolean;
|
|
273
278
|
errorMessage: string | null;
|
|
@@ -306,10 +311,9 @@ export declare const actionChangeSloppiness: {
|
|
|
306
311
|
currentItemFontFamily: number;
|
|
307
312
|
currentItemFontSize: number;
|
|
308
313
|
currentItemTextAlign: string;
|
|
309
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
310
314
|
currentItemStartArrowhead: Arrowhead | null;
|
|
311
315
|
currentItemEndArrowhead: Arrowhead | null;
|
|
312
|
-
|
|
316
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
313
317
|
viewBackgroundColor: string;
|
|
314
318
|
scrollX: number;
|
|
315
319
|
scrollY: number;
|
|
@@ -324,7 +328,7 @@ export declare const actionChangeSloppiness: {
|
|
|
324
328
|
openMenu: "canvas" | "shape" | null;
|
|
325
329
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
326
330
|
openSidebar: "library" | "customSidebar" | null;
|
|
327
|
-
openDialog: "imageExport" | "help" | null;
|
|
331
|
+
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
328
332
|
isSidebarDocked: boolean;
|
|
329
333
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
330
334
|
selectedElementIds: {
|
|
@@ -375,9 +379,7 @@ export declare const actionChangeSloppiness: {
|
|
|
375
379
|
};
|
|
376
380
|
commitToHistory: true;
|
|
377
381
|
};
|
|
378
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
379
|
-
isInHamburgerMenu: boolean;
|
|
380
|
-
}) => JSX.Element;
|
|
382
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
381
383
|
} & {
|
|
382
384
|
keyTest?: undefined;
|
|
383
385
|
};
|
|
@@ -388,6 +390,11 @@ export declare const actionChangeStrokeStyle: {
|
|
|
388
390
|
elements: ExcalidrawElement[];
|
|
389
391
|
appState: {
|
|
390
392
|
currentItemStrokeStyle: any;
|
|
393
|
+
contextMenu: {
|
|
394
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
395
|
+
top: number;
|
|
396
|
+
left: number;
|
|
397
|
+
} | null;
|
|
391
398
|
showWelcomeScreen: boolean;
|
|
392
399
|
isLoading: boolean;
|
|
393
400
|
errorMessage: string | null;
|
|
@@ -426,10 +433,9 @@ export declare const actionChangeStrokeStyle: {
|
|
|
426
433
|
currentItemFontFamily: number;
|
|
427
434
|
currentItemFontSize: number;
|
|
428
435
|
currentItemTextAlign: string;
|
|
429
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
430
436
|
currentItemStartArrowhead: Arrowhead | null;
|
|
431
437
|
currentItemEndArrowhead: Arrowhead | null;
|
|
432
|
-
|
|
438
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
433
439
|
viewBackgroundColor: string;
|
|
434
440
|
scrollX: number;
|
|
435
441
|
scrollY: number;
|
|
@@ -444,7 +450,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
444
450
|
openMenu: "canvas" | "shape" | null;
|
|
445
451
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
446
452
|
openSidebar: "library" | "customSidebar" | null;
|
|
447
|
-
openDialog: "imageExport" | "help" | null;
|
|
453
|
+
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
448
454
|
isSidebarDocked: boolean;
|
|
449
455
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
450
456
|
selectedElementIds: {
|
|
@@ -495,9 +501,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
495
501
|
};
|
|
496
502
|
commitToHistory: true;
|
|
497
503
|
};
|
|
498
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
499
|
-
isInHamburgerMenu: boolean;
|
|
500
|
-
}) => JSX.Element;
|
|
504
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
501
505
|
} & {
|
|
502
506
|
keyTest?: undefined;
|
|
503
507
|
};
|
|
@@ -508,6 +512,11 @@ export declare const actionChangeOpacity: {
|
|
|
508
512
|
elements: ExcalidrawElement[];
|
|
509
513
|
appState: {
|
|
510
514
|
currentItemOpacity: any;
|
|
515
|
+
contextMenu: {
|
|
516
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
517
|
+
top: number;
|
|
518
|
+
left: number;
|
|
519
|
+
} | null;
|
|
511
520
|
showWelcomeScreen: boolean;
|
|
512
521
|
isLoading: boolean;
|
|
513
522
|
errorMessage: string | null;
|
|
@@ -546,10 +555,9 @@ export declare const actionChangeOpacity: {
|
|
|
546
555
|
currentItemFontFamily: number;
|
|
547
556
|
currentItemFontSize: number;
|
|
548
557
|
currentItemTextAlign: string;
|
|
549
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
550
558
|
currentItemStartArrowhead: Arrowhead | null;
|
|
551
559
|
currentItemEndArrowhead: Arrowhead | null;
|
|
552
|
-
|
|
560
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
553
561
|
viewBackgroundColor: string;
|
|
554
562
|
scrollX: number;
|
|
555
563
|
scrollY: number;
|
|
@@ -564,7 +572,7 @@ export declare const actionChangeOpacity: {
|
|
|
564
572
|
openMenu: "canvas" | "shape" | null;
|
|
565
573
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
566
574
|
openSidebar: "library" | "customSidebar" | null;
|
|
567
|
-
openDialog: "imageExport" | "help" | null;
|
|
575
|
+
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
568
576
|
isSidebarDocked: boolean;
|
|
569
577
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
570
578
|
selectedElementIds: {
|
|
@@ -615,9 +623,7 @@ export declare const actionChangeOpacity: {
|
|
|
615
623
|
};
|
|
616
624
|
commitToHistory: true;
|
|
617
625
|
};
|
|
618
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
619
|
-
isInHamburgerMenu: boolean;
|
|
620
|
-
}) => JSX.Element;
|
|
626
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
621
627
|
} & {
|
|
622
628
|
keyTest?: undefined;
|
|
623
629
|
};
|
|
@@ -628,6 +634,11 @@ export declare const actionChangeFontSize: {
|
|
|
628
634
|
elements: ExcalidrawElement[];
|
|
629
635
|
appState: {
|
|
630
636
|
currentItemFontSize: number;
|
|
637
|
+
contextMenu: {
|
|
638
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
639
|
+
top: number;
|
|
640
|
+
left: number;
|
|
641
|
+
} | null;
|
|
631
642
|
showWelcomeScreen: boolean;
|
|
632
643
|
isLoading: boolean;
|
|
633
644
|
errorMessage: string | null;
|
|
@@ -666,10 +677,9 @@ export declare const actionChangeFontSize: {
|
|
|
666
677
|
currentItemOpacity: number;
|
|
667
678
|
currentItemFontFamily: number;
|
|
668
679
|
currentItemTextAlign: string;
|
|
669
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
670
680
|
currentItemStartArrowhead: Arrowhead | null;
|
|
671
681
|
currentItemEndArrowhead: Arrowhead | null;
|
|
672
|
-
|
|
682
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
673
683
|
viewBackgroundColor: string;
|
|
674
684
|
scrollX: number;
|
|
675
685
|
scrollY: number;
|
|
@@ -684,7 +694,7 @@ export declare const actionChangeFontSize: {
|
|
|
684
694
|
openMenu: "canvas" | "shape" | null;
|
|
685
695
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
686
696
|
openSidebar: "library" | "customSidebar" | null;
|
|
687
|
-
openDialog: "imageExport" | "help" | null;
|
|
697
|
+
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
688
698
|
isSidebarDocked: boolean;
|
|
689
699
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
690
700
|
selectedElementIds: {
|
|
@@ -735,9 +745,7 @@ export declare const actionChangeFontSize: {
|
|
|
735
745
|
};
|
|
736
746
|
commitToHistory: boolean;
|
|
737
747
|
};
|
|
738
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
739
|
-
isInHamburgerMenu: boolean;
|
|
740
|
-
}) => JSX.Element;
|
|
748
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
741
749
|
} & {
|
|
742
750
|
keyTest?: undefined;
|
|
743
751
|
};
|
|
@@ -748,6 +756,11 @@ export declare const actionDecreaseFontSize: {
|
|
|
748
756
|
elements: ExcalidrawElement[];
|
|
749
757
|
appState: {
|
|
750
758
|
currentItemFontSize: number;
|
|
759
|
+
contextMenu: {
|
|
760
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
761
|
+
top: number;
|
|
762
|
+
left: number;
|
|
763
|
+
} | null;
|
|
751
764
|
showWelcomeScreen: boolean;
|
|
752
765
|
isLoading: boolean;
|
|
753
766
|
errorMessage: string | null;
|
|
@@ -786,10 +799,9 @@ export declare const actionDecreaseFontSize: {
|
|
|
786
799
|
currentItemOpacity: number;
|
|
787
800
|
currentItemFontFamily: number;
|
|
788
801
|
currentItemTextAlign: string;
|
|
789
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
790
802
|
currentItemStartArrowhead: Arrowhead | null;
|
|
791
803
|
currentItemEndArrowhead: Arrowhead | null;
|
|
792
|
-
|
|
804
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
793
805
|
viewBackgroundColor: string;
|
|
794
806
|
scrollX: number;
|
|
795
807
|
scrollY: number;
|
|
@@ -804,7 +816,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
804
816
|
openMenu: "canvas" | "shape" | null;
|
|
805
817
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
806
818
|
openSidebar: "library" | "customSidebar" | null;
|
|
807
|
-
openDialog: "imageExport" | "help" | null;
|
|
819
|
+
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
808
820
|
isSidebarDocked: boolean;
|
|
809
821
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
810
822
|
selectedElementIds: {
|
|
@@ -866,6 +878,11 @@ export declare const actionIncreaseFontSize: {
|
|
|
866
878
|
elements: ExcalidrawElement[];
|
|
867
879
|
appState: {
|
|
868
880
|
currentItemFontSize: number;
|
|
881
|
+
contextMenu: {
|
|
882
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
883
|
+
top: number;
|
|
884
|
+
left: number;
|
|
885
|
+
} | null;
|
|
869
886
|
showWelcomeScreen: boolean;
|
|
870
887
|
isLoading: boolean;
|
|
871
888
|
errorMessage: string | null;
|
|
@@ -904,10 +921,9 @@ export declare const actionIncreaseFontSize: {
|
|
|
904
921
|
currentItemOpacity: number;
|
|
905
922
|
currentItemFontFamily: number;
|
|
906
923
|
currentItemTextAlign: string;
|
|
907
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
908
924
|
currentItemStartArrowhead: Arrowhead | null;
|
|
909
925
|
currentItemEndArrowhead: Arrowhead | null;
|
|
910
|
-
|
|
926
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
911
927
|
viewBackgroundColor: string;
|
|
912
928
|
scrollX: number;
|
|
913
929
|
scrollY: number;
|
|
@@ -922,7 +938,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
922
938
|
openMenu: "canvas" | "shape" | null;
|
|
923
939
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
924
940
|
openSidebar: "library" | "customSidebar" | null;
|
|
925
|
-
openDialog: "imageExport" | "help" | null;
|
|
941
|
+
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
926
942
|
isSidebarDocked: boolean;
|
|
927
943
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
928
944
|
selectedElementIds: {
|
|
@@ -984,6 +1000,11 @@ export declare const actionChangeFontFamily: {
|
|
|
984
1000
|
elements: ExcalidrawElement[];
|
|
985
1001
|
appState: {
|
|
986
1002
|
currentItemFontFamily: any;
|
|
1003
|
+
contextMenu: {
|
|
1004
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1005
|
+
top: number;
|
|
1006
|
+
left: number;
|
|
1007
|
+
} | null;
|
|
987
1008
|
showWelcomeScreen: boolean;
|
|
988
1009
|
isLoading: boolean;
|
|
989
1010
|
errorMessage: string | null;
|
|
@@ -1022,10 +1043,9 @@ export declare const actionChangeFontFamily: {
|
|
|
1022
1043
|
currentItemOpacity: number;
|
|
1023
1044
|
currentItemFontSize: number;
|
|
1024
1045
|
currentItemTextAlign: string;
|
|
1025
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1026
1046
|
currentItemStartArrowhead: Arrowhead | null;
|
|
1027
1047
|
currentItemEndArrowhead: Arrowhead | null;
|
|
1028
|
-
|
|
1048
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
1029
1049
|
viewBackgroundColor: string;
|
|
1030
1050
|
scrollX: number;
|
|
1031
1051
|
scrollY: number;
|
|
@@ -1040,7 +1060,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1040
1060
|
openMenu: "canvas" | "shape" | null;
|
|
1041
1061
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1042
1062
|
openSidebar: "library" | "customSidebar" | null;
|
|
1043
|
-
openDialog: "imageExport" | "help" | null;
|
|
1063
|
+
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1044
1064
|
isSidebarDocked: boolean;
|
|
1045
1065
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1046
1066
|
selectedElementIds: {
|
|
@@ -1091,9 +1111,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1091
1111
|
};
|
|
1092
1112
|
commitToHistory: true;
|
|
1093
1113
|
};
|
|
1094
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
1095
|
-
isInHamburgerMenu: boolean;
|
|
1096
|
-
}) => JSX.Element;
|
|
1114
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1097
1115
|
} & {
|
|
1098
1116
|
keyTest?: undefined;
|
|
1099
1117
|
};
|
|
@@ -1104,6 +1122,11 @@ export declare const actionChangeTextAlign: {
|
|
|
1104
1122
|
elements: ExcalidrawElement[];
|
|
1105
1123
|
appState: {
|
|
1106
1124
|
currentItemTextAlign: any;
|
|
1125
|
+
contextMenu: {
|
|
1126
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1127
|
+
top: number;
|
|
1128
|
+
left: number;
|
|
1129
|
+
} | null;
|
|
1107
1130
|
showWelcomeScreen: boolean;
|
|
1108
1131
|
isLoading: boolean;
|
|
1109
1132
|
errorMessage: string | null;
|
|
@@ -1142,10 +1165,9 @@ export declare const actionChangeTextAlign: {
|
|
|
1142
1165
|
currentItemOpacity: number;
|
|
1143
1166
|
currentItemFontFamily: number;
|
|
1144
1167
|
currentItemFontSize: number;
|
|
1145
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1146
1168
|
currentItemStartArrowhead: Arrowhead | null;
|
|
1147
1169
|
currentItemEndArrowhead: Arrowhead | null;
|
|
1148
|
-
|
|
1170
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
1149
1171
|
viewBackgroundColor: string;
|
|
1150
1172
|
scrollX: number;
|
|
1151
1173
|
scrollY: number;
|
|
@@ -1160,7 +1182,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1160
1182
|
openMenu: "canvas" | "shape" | null;
|
|
1161
1183
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1162
1184
|
openSidebar: "library" | "customSidebar" | null;
|
|
1163
|
-
openDialog: "imageExport" | "help" | null;
|
|
1185
|
+
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1164
1186
|
isSidebarDocked: boolean;
|
|
1165
1187
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1166
1188
|
selectedElementIds: {
|
|
@@ -1211,9 +1233,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1211
1233
|
};
|
|
1212
1234
|
commitToHistory: true;
|
|
1213
1235
|
};
|
|
1214
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
1215
|
-
isInHamburgerMenu: boolean;
|
|
1216
|
-
}) => JSX.Element;
|
|
1236
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1217
1237
|
} & {
|
|
1218
1238
|
keyTest?: undefined;
|
|
1219
1239
|
};
|
|
@@ -1225,6 +1245,11 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1225
1245
|
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
1226
1246
|
elements: ExcalidrawElement[];
|
|
1227
1247
|
appState: {
|
|
1248
|
+
contextMenu: {
|
|
1249
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1250
|
+
top: number;
|
|
1251
|
+
left: number;
|
|
1252
|
+
} | null;
|
|
1228
1253
|
showWelcomeScreen: boolean;
|
|
1229
1254
|
isLoading: boolean;
|
|
1230
1255
|
errorMessage: string | null;
|
|
@@ -1264,10 +1289,9 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1264
1289
|
currentItemFontFamily: number;
|
|
1265
1290
|
currentItemFontSize: number;
|
|
1266
1291
|
currentItemTextAlign: string;
|
|
1267
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1268
1292
|
currentItemStartArrowhead: Arrowhead | null;
|
|
1269
1293
|
currentItemEndArrowhead: Arrowhead | null;
|
|
1270
|
-
|
|
1294
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
1271
1295
|
viewBackgroundColor: string;
|
|
1272
1296
|
scrollX: number;
|
|
1273
1297
|
scrollY: number;
|
|
@@ -1282,7 +1306,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1282
1306
|
openMenu: "canvas" | "shape" | null;
|
|
1283
1307
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1284
1308
|
openSidebar: "library" | "customSidebar" | null;
|
|
1285
|
-
openDialog: "imageExport" | "help" | null;
|
|
1309
|
+
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1286
1310
|
isSidebarDocked: boolean;
|
|
1287
1311
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1288
1312
|
selectedElementIds: {
|
|
@@ -1333,20 +1357,22 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1333
1357
|
};
|
|
1334
1358
|
commitToHistory: true;
|
|
1335
1359
|
};
|
|
1336
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
1337
|
-
isInHamburgerMenu: boolean;
|
|
1338
|
-
}) => JSX.Element;
|
|
1360
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1339
1361
|
} & {
|
|
1340
1362
|
keyTest?: undefined;
|
|
1341
1363
|
};
|
|
1342
|
-
export declare const
|
|
1343
|
-
name: "
|
|
1364
|
+
export declare const actionChangeRoundness: {
|
|
1365
|
+
name: "changeRoundness";
|
|
1344
1366
|
trackEvent: false;
|
|
1345
1367
|
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
1346
1368
|
elements: ExcalidrawElement[];
|
|
1347
1369
|
appState: {
|
|
1348
|
-
|
|
1349
|
-
|
|
1370
|
+
currentItemRoundness: any;
|
|
1371
|
+
contextMenu: {
|
|
1372
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1373
|
+
top: number;
|
|
1374
|
+
left: number;
|
|
1375
|
+
} | null;
|
|
1350
1376
|
showWelcomeScreen: boolean;
|
|
1351
1377
|
isLoading: boolean;
|
|
1352
1378
|
errorMessage: string | null;
|
|
@@ -1402,7 +1428,7 @@ export declare const actionChangeSharpness: {
|
|
|
1402
1428
|
openMenu: "canvas" | "shape" | null;
|
|
1403
1429
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1404
1430
|
openSidebar: "library" | "customSidebar" | null;
|
|
1405
|
-
openDialog: "imageExport" | "help" | null;
|
|
1431
|
+
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1406
1432
|
isSidebarDocked: boolean;
|
|
1407
1433
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1408
1434
|
selectedElementIds: {
|
|
@@ -1453,9 +1479,7 @@ export declare const actionChangeSharpness: {
|
|
|
1453
1479
|
};
|
|
1454
1480
|
commitToHistory: true;
|
|
1455
1481
|
};
|
|
1456
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
1457
|
-
isInHamburgerMenu: boolean;
|
|
1458
|
-
}) => JSX.Element;
|
|
1482
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1459
1483
|
} & {
|
|
1460
1484
|
keyTest?: undefined;
|
|
1461
1485
|
};
|
|
@@ -1468,6 +1492,11 @@ export declare const actionChangeArrowhead: {
|
|
|
1468
1492
|
}) => {
|
|
1469
1493
|
elements: ExcalidrawElement[];
|
|
1470
1494
|
appState: {
|
|
1495
|
+
contextMenu: {
|
|
1496
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1497
|
+
top: number;
|
|
1498
|
+
left: number;
|
|
1499
|
+
} | null;
|
|
1471
1500
|
showWelcomeScreen: boolean;
|
|
1472
1501
|
isLoading: boolean;
|
|
1473
1502
|
errorMessage: string | null;
|
|
@@ -1507,10 +1536,9 @@ export declare const actionChangeArrowhead: {
|
|
|
1507
1536
|
currentItemFontFamily: number;
|
|
1508
1537
|
currentItemFontSize: number;
|
|
1509
1538
|
currentItemTextAlign: string;
|
|
1510
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
1511
1539
|
currentItemStartArrowhead: Arrowhead | null;
|
|
1512
1540
|
currentItemEndArrowhead: Arrowhead | null;
|
|
1513
|
-
|
|
1541
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
1514
1542
|
viewBackgroundColor: string;
|
|
1515
1543
|
scrollX: number;
|
|
1516
1544
|
scrollY: number;
|
|
@@ -1525,7 +1553,7 @@ export declare const actionChangeArrowhead: {
|
|
|
1525
1553
|
openMenu: "canvas" | "shape" | null;
|
|
1526
1554
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1527
1555
|
openSidebar: "library" | "customSidebar" | null;
|
|
1528
|
-
openDialog: "imageExport" | "help" | null;
|
|
1556
|
+
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1529
1557
|
isSidebarDocked: boolean;
|
|
1530
1558
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1531
1559
|
selectedElementIds: {
|
|
@@ -1576,9 +1604,7 @@ export declare const actionChangeArrowhead: {
|
|
|
1576
1604
|
};
|
|
1577
1605
|
commitToHistory: true;
|
|
1578
1606
|
};
|
|
1579
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
1580
|
-
isInHamburgerMenu: boolean;
|
|
1581
|
-
}) => JSX.Element;
|
|
1607
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1582
1608
|
} & {
|
|
1583
1609
|
keyTest?: undefined;
|
|
1584
1610
|
};
|
|
@@ -10,6 +10,11 @@ export declare const actionCopyStyles: {
|
|
|
10
10
|
toast: {
|
|
11
11
|
message: string;
|
|
12
12
|
};
|
|
13
|
+
contextMenu: {
|
|
14
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
15
|
+
top: number;
|
|
16
|
+
left: number;
|
|
17
|
+
} | null;
|
|
13
18
|
showWelcomeScreen: boolean;
|
|
14
19
|
isLoading: boolean;
|
|
15
20
|
errorMessage: string | null;
|
|
@@ -49,10 +54,9 @@ export declare const actionCopyStyles: {
|
|
|
49
54
|
currentItemFontFamily: number;
|
|
50
55
|
currentItemFontSize: number;
|
|
51
56
|
currentItemTextAlign: string;
|
|
52
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
53
57
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
54
58
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
55
|
-
|
|
59
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
56
60
|
viewBackgroundColor: string;
|
|
57
61
|
scrollX: number;
|
|
58
62
|
scrollY: number;
|
|
@@ -67,7 +71,7 @@ export declare const actionCopyStyles: {
|
|
|
67
71
|
openMenu: "canvas" | "shape" | null;
|
|
68
72
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
69
73
|
openSidebar: "library" | "customSidebar" | null;
|
|
70
|
-
openDialog: "imageExport" | "help" | null;
|
|
74
|
+
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
71
75
|
isSidebarDocked: boolean;
|
|
72
76
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
73
77
|
selectedElementIds: {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { AppState } from "../types";
|
|
3
3
|
export declare const actionToggleGridMode: {
|
|
4
4
|
name: "gridMode";
|
|
5
|
+
viewMode: true;
|
|
5
6
|
trackEvent: {
|
|
6
7
|
category: "canvas";
|
|
7
8
|
predicate: (appState: Readonly<AppState>) => boolean;
|
|
@@ -9,6 +10,11 @@ export declare const actionToggleGridMode: {
|
|
|
9
10
|
perform(elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<AppState>): {
|
|
10
11
|
appState: {
|
|
11
12
|
gridSize: number | null;
|
|
13
|
+
contextMenu: {
|
|
14
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
15
|
+
top: number;
|
|
16
|
+
left: number;
|
|
17
|
+
} | null;
|
|
12
18
|
showWelcomeScreen: boolean;
|
|
13
19
|
isLoading: boolean;
|
|
14
20
|
errorMessage: string | null;
|
|
@@ -48,10 +54,9 @@ export declare const actionToggleGridMode: {
|
|
|
48
54
|
currentItemFontFamily: number;
|
|
49
55
|
currentItemFontSize: number;
|
|
50
56
|
currentItemTextAlign: string;
|
|
51
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
52
57
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
53
58
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
54
|
-
|
|
59
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
55
60
|
viewBackgroundColor: string;
|
|
56
61
|
scrollX: number;
|
|
57
62
|
scrollY: number;
|
|
@@ -66,7 +71,7 @@ export declare const actionToggleGridMode: {
|
|
|
66
71
|
openMenu: "canvas" | "shape" | null;
|
|
67
72
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
68
73
|
openSidebar: "library" | "customSidebar" | null;
|
|
69
|
-
openDialog: "imageExport" | "help" | null;
|
|
74
|
+
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
70
75
|
isSidebarDocked: boolean;
|
|
71
76
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
72
77
|
selectedElementIds: {
|
|
@@ -117,6 +122,7 @@ export declare const actionToggleGridMode: {
|
|
|
117
122
|
commitToHistory: false;
|
|
118
123
|
};
|
|
119
124
|
checked: (appState: AppState) => boolean;
|
|
125
|
+
predicate: (element: readonly import("../element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps) => boolean;
|
|
120
126
|
contextItemLabel: string;
|
|
121
127
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
122
128
|
} & {
|
|
@@ -9,6 +9,11 @@ export declare const actionToggleLock: {
|
|
|
9
9
|
elements: ExcalidrawElement[];
|
|
10
10
|
appState: {
|
|
11
11
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
12
|
+
contextMenu: {
|
|
13
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
14
|
+
top: number;
|
|
15
|
+
left: number;
|
|
16
|
+
} | null;
|
|
12
17
|
showWelcomeScreen: boolean;
|
|
13
18
|
isLoading: boolean;
|
|
14
19
|
errorMessage: string | null;
|
|
@@ -48,10 +53,9 @@ export declare const actionToggleLock: {
|
|
|
48
53
|
currentItemFontFamily: number;
|
|
49
54
|
currentItemFontSize: number;
|
|
50
55
|
currentItemTextAlign: string;
|
|
51
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
52
56
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
53
57
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
54
|
-
|
|
58
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
55
59
|
viewBackgroundColor: string;
|
|
56
60
|
scrollX: number;
|
|
57
61
|
scrollY: number;
|
|
@@ -66,7 +70,7 @@ export declare const actionToggleLock: {
|
|
|
66
70
|
openMenu: "canvas" | "shape" | null;
|
|
67
71
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
68
72
|
openSidebar: "library" | "customSidebar" | null;
|
|
69
|
-
openDialog: "imageExport" | "help" | null;
|
|
73
|
+
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
70
74
|
isSidebarDocked: boolean;
|
|
71
75
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
72
76
|
selectedElementIds: {
|