@zsviczian/excalidraw 0.14.2-obsidian-5 → 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/README.md +2 -2
- package/dist/excalidraw.development.js +469 -226
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +18 -6
- package/types/actions/actionBoundText.d.ts +14 -6
- package/types/actions/actionCanvas.d.ts +60 -20
- package/types/actions/actionClipboard.d.ts +30 -10
- package/types/actions/actionDeleteSelected.d.ts +18 -6
- package/types/actions/actionExport.d.ts +54 -18
- package/types/actions/actionFinalize.d.ts +12 -4
- package/types/actions/actionLinearEditor.d.ts +6 -2
- package/types/actions/actionMenu.d.ts +20 -8
- package/types/actions/actionProperties.d.ts +78 -26
- package/types/actions/actionStyles.d.ts +6 -2
- package/types/actions/actionToggleGridMode.d.ts +6 -2
- package/types/actions/actionToggleLock.d.ts +6 -2
- package/types/actions/actionToggleStats.d.ts +6 -2
- package/types/actions/actionToggleViewMode.d.ts +6 -2
- package/types/actions/actionToggleZenMode.d.ts +6 -2
- package/types/actions/types.d.ts +1 -1
- 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 +34 -7
- 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 +8 -4
- package/types/element/image.d.ts +11 -1
- package/types/element/linearElementEditor.d.ts +7 -6
- package/types/element/newElement.d.ts +31 -7
- package/types/element/showSelectedShapeActions.d.ts +2 -2
- package/types/element/textElement.d.ts +3 -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/renderer/renderElement.d.ts +1 -0
- package/types/scene/export.d.ts +4 -1
- package/types/scene/selection.d.ts +4 -4
- package/types/types.d.ts +28 -16
- package/types/utils.d.ts +2 -2
|
@@ -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;
|
|
@@ -121,6 +124,7 @@ export declare const actionChangeProjectName: {
|
|
|
121
124
|
resetCustomPen?: any;
|
|
122
125
|
gridColor: string;
|
|
123
126
|
dynamicStyle: string;
|
|
127
|
+
invertBindingBehaviour: boolean;
|
|
124
128
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
125
129
|
};
|
|
126
130
|
commitToHistory: false;
|
|
@@ -196,9 +200,12 @@ export declare const actionChangeExportScale: {
|
|
|
196
200
|
}>;
|
|
197
201
|
openMenu: "canvas" | "shape" | null;
|
|
198
202
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
199
|
-
openSidebar:
|
|
203
|
+
openSidebar: {
|
|
204
|
+
name: string;
|
|
205
|
+
tab?: string | undefined;
|
|
206
|
+
} | null;
|
|
200
207
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
201
|
-
|
|
208
|
+
defaultSidebarDockedPreference: boolean;
|
|
202
209
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
203
210
|
selectedElementIds: {
|
|
204
211
|
[id: string]: boolean;
|
|
@@ -253,6 +260,7 @@ export declare const actionChangeExportScale: {
|
|
|
253
260
|
resetCustomPen?: any;
|
|
254
261
|
gridColor: string;
|
|
255
262
|
dynamicStyle: string;
|
|
263
|
+
invertBindingBehaviour: boolean;
|
|
256
264
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
257
265
|
};
|
|
258
266
|
commitToHistory: false;
|
|
@@ -328,9 +336,12 @@ export declare const actionChangeExportBackground: {
|
|
|
328
336
|
}>;
|
|
329
337
|
openMenu: "canvas" | "shape" | null;
|
|
330
338
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
331
|
-
openSidebar:
|
|
339
|
+
openSidebar: {
|
|
340
|
+
name: string;
|
|
341
|
+
tab?: string | undefined;
|
|
342
|
+
} | null;
|
|
332
343
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
333
|
-
|
|
344
|
+
defaultSidebarDockedPreference: boolean;
|
|
334
345
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
335
346
|
selectedElementIds: {
|
|
336
347
|
[id: string]: boolean;
|
|
@@ -385,6 +396,7 @@ export declare const actionChangeExportBackground: {
|
|
|
385
396
|
resetCustomPen?: any;
|
|
386
397
|
gridColor: string;
|
|
387
398
|
dynamicStyle: string;
|
|
399
|
+
invertBindingBehaviour: boolean;
|
|
388
400
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
389
401
|
};
|
|
390
402
|
commitToHistory: false;
|
|
@@ -460,9 +472,12 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
460
472
|
}>;
|
|
461
473
|
openMenu: "canvas" | "shape" | null;
|
|
462
474
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
463
|
-
openSidebar:
|
|
475
|
+
openSidebar: {
|
|
476
|
+
name: string;
|
|
477
|
+
tab?: string | undefined;
|
|
478
|
+
} | null;
|
|
464
479
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
465
|
-
|
|
480
|
+
defaultSidebarDockedPreference: boolean;
|
|
466
481
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
467
482
|
selectedElementIds: {
|
|
468
483
|
[id: string]: boolean;
|
|
@@ -517,6 +532,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
517
532
|
resetCustomPen?: any;
|
|
518
533
|
gridColor: string;
|
|
519
534
|
dynamicStyle: string;
|
|
535
|
+
invertBindingBehaviour: boolean;
|
|
520
536
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
521
537
|
};
|
|
522
538
|
commitToHistory: false;
|
|
@@ -597,9 +613,12 @@ export declare const actionSaveToActiveFile: {
|
|
|
597
613
|
}>;
|
|
598
614
|
openMenu: "canvas" | "shape" | null;
|
|
599
615
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
600
|
-
openSidebar:
|
|
616
|
+
openSidebar: {
|
|
617
|
+
name: string;
|
|
618
|
+
tab?: string | undefined;
|
|
619
|
+
} | null;
|
|
601
620
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
602
|
-
|
|
621
|
+
defaultSidebarDockedPreference: boolean;
|
|
603
622
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
604
623
|
selectedElementIds: {
|
|
605
624
|
[id: string]: boolean;
|
|
@@ -648,6 +667,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
648
667
|
resetCustomPen?: any;
|
|
649
668
|
gridColor: string;
|
|
650
669
|
dynamicStyle: string;
|
|
670
|
+
invertBindingBehaviour: boolean;
|
|
651
671
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
652
672
|
};
|
|
653
673
|
} | {
|
|
@@ -727,9 +747,12 @@ export declare const actionSaveFileToDisk: {
|
|
|
727
747
|
}>;
|
|
728
748
|
openMenu: "canvas" | "shape" | null;
|
|
729
749
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
730
|
-
openSidebar:
|
|
750
|
+
openSidebar: {
|
|
751
|
+
name: string;
|
|
752
|
+
tab?: string | undefined;
|
|
753
|
+
} | null;
|
|
731
754
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
732
|
-
|
|
755
|
+
defaultSidebarDockedPreference: boolean;
|
|
733
756
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
734
757
|
selectedElementIds: {
|
|
735
758
|
[id: string]: boolean;
|
|
@@ -783,6 +806,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
783
806
|
resetCustomPen?: any;
|
|
784
807
|
gridColor: string;
|
|
785
808
|
dynamicStyle: string;
|
|
809
|
+
invertBindingBehaviour: boolean;
|
|
786
810
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
787
811
|
};
|
|
788
812
|
} | {
|
|
@@ -863,9 +887,12 @@ export declare const actionLoadScene: {
|
|
|
863
887
|
}>;
|
|
864
888
|
openMenu: "canvas" | "shape" | null;
|
|
865
889
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
866
|
-
openSidebar:
|
|
890
|
+
openSidebar: {
|
|
891
|
+
name: string;
|
|
892
|
+
tab?: string | undefined;
|
|
893
|
+
} | null;
|
|
867
894
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
868
|
-
|
|
895
|
+
defaultSidebarDockedPreference: boolean;
|
|
869
896
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
870
897
|
selectedElementIds: {
|
|
871
898
|
[id: string]: boolean;
|
|
@@ -915,6 +942,7 @@ export declare const actionLoadScene: {
|
|
|
915
942
|
resetCustomPen?: any;
|
|
916
943
|
gridColor: string;
|
|
917
944
|
dynamicStyle: string;
|
|
945
|
+
invertBindingBehaviour: boolean;
|
|
918
946
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
919
947
|
};
|
|
920
948
|
files: import("../types").BinaryFiles;
|
|
@@ -981,9 +1009,12 @@ export declare const actionLoadScene: {
|
|
|
981
1009
|
}>;
|
|
982
1010
|
openMenu: "canvas" | "shape" | null;
|
|
983
1011
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
984
|
-
openSidebar:
|
|
1012
|
+
openSidebar: {
|
|
1013
|
+
name: string;
|
|
1014
|
+
tab?: string | undefined;
|
|
1015
|
+
} | null;
|
|
985
1016
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
986
|
-
|
|
1017
|
+
defaultSidebarDockedPreference: boolean;
|
|
987
1018
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
988
1019
|
selectedElementIds: {
|
|
989
1020
|
[id: string]: boolean;
|
|
@@ -1038,6 +1069,7 @@ export declare const actionLoadScene: {
|
|
|
1038
1069
|
resetCustomPen?: any;
|
|
1039
1070
|
gridColor: string;
|
|
1040
1071
|
dynamicStyle: string;
|
|
1072
|
+
invertBindingBehaviour: boolean;
|
|
1041
1073
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1042
1074
|
};
|
|
1043
1075
|
files: import("../types").BinaryFiles;
|
|
@@ -1114,9 +1146,12 @@ export declare const actionExportWithDarkMode: {
|
|
|
1114
1146
|
}>;
|
|
1115
1147
|
openMenu: "canvas" | "shape" | null;
|
|
1116
1148
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1117
|
-
openSidebar:
|
|
1149
|
+
openSidebar: {
|
|
1150
|
+
name: string;
|
|
1151
|
+
tab?: string | undefined;
|
|
1152
|
+
} | null;
|
|
1118
1153
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1119
|
-
|
|
1154
|
+
defaultSidebarDockedPreference: boolean;
|
|
1120
1155
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1121
1156
|
selectedElementIds: {
|
|
1122
1157
|
[id: string]: boolean;
|
|
@@ -1171,6 +1206,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1171
1206
|
resetCustomPen?: any;
|
|
1172
1207
|
gridColor: string;
|
|
1173
1208
|
dynamicStyle: string;
|
|
1209
|
+
invertBindingBehaviour: boolean;
|
|
1174
1210
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1175
1211
|
};
|
|
1176
1212
|
commitToHistory: false;
|
|
@@ -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;
|
|
@@ -123,6 +126,7 @@ export declare const actionFinalize: {
|
|
|
123
126
|
resetCustomPen?: any;
|
|
124
127
|
gridColor: string;
|
|
125
128
|
dynamicStyle: string;
|
|
129
|
+
invertBindingBehaviour: boolean;
|
|
126
130
|
selectedLinearElement: LinearElementEditor | null;
|
|
127
131
|
};
|
|
128
132
|
commitToHistory: true;
|
|
@@ -193,9 +197,12 @@ export declare const actionFinalize: {
|
|
|
193
197
|
}>;
|
|
194
198
|
openMenu: "canvas" | "shape" | null;
|
|
195
199
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
196
|
-
openSidebar:
|
|
200
|
+
openSidebar: {
|
|
201
|
+
name: string;
|
|
202
|
+
tab?: string | undefined;
|
|
203
|
+
} | null;
|
|
197
204
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
198
|
-
|
|
205
|
+
defaultSidebarDockedPreference: boolean;
|
|
199
206
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
200
207
|
previousSelectedElementIds: {
|
|
201
208
|
[id: string]: boolean;
|
|
@@ -246,6 +253,7 @@ export declare const actionFinalize: {
|
|
|
246
253
|
resetCustomPen?: any;
|
|
247
254
|
gridColor: string;
|
|
248
255
|
dynamicStyle: string;
|
|
256
|
+
invertBindingBehaviour: boolean;
|
|
249
257
|
};
|
|
250
258
|
commitToHistory: boolean;
|
|
251
259
|
};
|
|
@@ -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;
|
|
@@ -125,6 +128,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
125
128
|
resetCustomPen?: any;
|
|
126
129
|
gridColor: string;
|
|
127
130
|
dynamicStyle: string;
|
|
131
|
+
invertBindingBehaviour: boolean;
|
|
128
132
|
selectedLinearElement: LinearElementEditor | null;
|
|
129
133
|
};
|
|
130
134
|
commitToHistory: false;
|
|
@@ -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;
|
|
@@ -122,6 +125,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
122
125
|
resetCustomPen?: any;
|
|
123
126
|
gridColor: string;
|
|
124
127
|
dynamicStyle: string;
|
|
128
|
+
invertBindingBehaviour: boolean;
|
|
125
129
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
126
130
|
};
|
|
127
131
|
commitToHistory: false;
|
|
@@ -196,9 +200,12 @@ export declare const actionToggleEditMenu: {
|
|
|
196
200
|
value: import("../types").NormalizedZoomValue;
|
|
197
201
|
}>;
|
|
198
202
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
199
|
-
openSidebar:
|
|
203
|
+
openSidebar: {
|
|
204
|
+
name: string;
|
|
205
|
+
tab?: string | undefined;
|
|
206
|
+
} | null;
|
|
200
207
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
201
|
-
|
|
208
|
+
defaultSidebarDockedPreference: boolean;
|
|
202
209
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
203
210
|
selectedElementIds: {
|
|
204
211
|
[id: string]: boolean;
|
|
@@ -253,6 +260,7 @@ export declare const actionToggleEditMenu: {
|
|
|
253
260
|
resetCustomPen?: any;
|
|
254
261
|
gridColor: string;
|
|
255
262
|
dynamicStyle: string;
|
|
263
|
+
invertBindingBehaviour: boolean;
|
|
256
264
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
257
265
|
};
|
|
258
266
|
commitToHistory: false;
|
|
@@ -271,9 +279,9 @@ export declare const actionFullScreen: {
|
|
|
271
279
|
perform: () => {
|
|
272
280
|
commitToHistory: false;
|
|
273
281
|
};
|
|
274
|
-
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) =>
|
|
282
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => false;
|
|
275
283
|
} & {
|
|
276
|
-
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) =>
|
|
284
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => false) | undefined;
|
|
277
285
|
};
|
|
278
286
|
export declare const actionShortcuts: {
|
|
279
287
|
name: "toggleShortcuts";
|
|
@@ -344,8 +352,11 @@ export declare const actionShortcuts: {
|
|
|
344
352
|
}>;
|
|
345
353
|
openMenu: "canvas" | "shape" | null;
|
|
346
354
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
347
|
-
openSidebar:
|
|
348
|
-
|
|
355
|
+
openSidebar: {
|
|
356
|
+
name: string;
|
|
357
|
+
tab?: string | undefined;
|
|
358
|
+
} | null;
|
|
359
|
+
defaultSidebarDockedPreference: boolean;
|
|
349
360
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
350
361
|
selectedElementIds: {
|
|
351
362
|
[id: string]: boolean;
|
|
@@ -400,6 +411,7 @@ export declare const actionShortcuts: {
|
|
|
400
411
|
resetCustomPen?: any;
|
|
401
412
|
gridColor: string;
|
|
402
413
|
dynamicStyle: string;
|
|
414
|
+
invertBindingBehaviour: boolean;
|
|
403
415
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
404
416
|
};
|
|
405
417
|
commitToHistory: false;
|
|
@@ -82,9 +82,12 @@ export declare const actionChangeFillStyle: {
|
|
|
82
82
|
}>;
|
|
83
83
|
openMenu: "canvas" | "shape" | null;
|
|
84
84
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
85
|
-
openSidebar:
|
|
85
|
+
openSidebar: {
|
|
86
|
+
name: string;
|
|
87
|
+
tab?: string | undefined;
|
|
88
|
+
} | null;
|
|
86
89
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
87
|
-
|
|
90
|
+
defaultSidebarDockedPreference: boolean;
|
|
88
91
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
89
92
|
selectedElementIds: {
|
|
90
93
|
[id: string]: boolean;
|
|
@@ -139,6 +142,7 @@ export declare const actionChangeFillStyle: {
|
|
|
139
142
|
resetCustomPen?: any;
|
|
140
143
|
gridColor: string;
|
|
141
144
|
dynamicStyle: string;
|
|
145
|
+
invertBindingBehaviour: boolean;
|
|
142
146
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
143
147
|
};
|
|
144
148
|
commitToHistory: true;
|
|
@@ -212,9 +216,12 @@ export declare const actionChangeStrokeWidth: {
|
|
|
212
216
|
}>;
|
|
213
217
|
openMenu: "canvas" | "shape" | null;
|
|
214
218
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
215
|
-
openSidebar:
|
|
219
|
+
openSidebar: {
|
|
220
|
+
name: string;
|
|
221
|
+
tab?: string | undefined;
|
|
222
|
+
} | null;
|
|
216
223
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
217
|
-
|
|
224
|
+
defaultSidebarDockedPreference: boolean;
|
|
218
225
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
219
226
|
selectedElementIds: {
|
|
220
227
|
[id: string]: boolean;
|
|
@@ -269,6 +276,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
269
276
|
resetCustomPen?: any;
|
|
270
277
|
gridColor: string;
|
|
271
278
|
dynamicStyle: string;
|
|
279
|
+
invertBindingBehaviour: boolean;
|
|
272
280
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
273
281
|
};
|
|
274
282
|
commitToHistory: true;
|
|
@@ -342,9 +350,12 @@ export declare const actionChangeSloppiness: {
|
|
|
342
350
|
}>;
|
|
343
351
|
openMenu: "canvas" | "shape" | null;
|
|
344
352
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
345
|
-
openSidebar:
|
|
353
|
+
openSidebar: {
|
|
354
|
+
name: string;
|
|
355
|
+
tab?: string | undefined;
|
|
356
|
+
} | null;
|
|
346
357
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
347
|
-
|
|
358
|
+
defaultSidebarDockedPreference: boolean;
|
|
348
359
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
349
360
|
selectedElementIds: {
|
|
350
361
|
[id: string]: boolean;
|
|
@@ -399,6 +410,7 @@ export declare const actionChangeSloppiness: {
|
|
|
399
410
|
resetCustomPen?: any;
|
|
400
411
|
gridColor: string;
|
|
401
412
|
dynamicStyle: string;
|
|
413
|
+
invertBindingBehaviour: boolean;
|
|
402
414
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
403
415
|
};
|
|
404
416
|
commitToHistory: true;
|
|
@@ -472,9 +484,12 @@ export declare const actionChangeStrokeStyle: {
|
|
|
472
484
|
}>;
|
|
473
485
|
openMenu: "canvas" | "shape" | null;
|
|
474
486
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
475
|
-
openSidebar:
|
|
487
|
+
openSidebar: {
|
|
488
|
+
name: string;
|
|
489
|
+
tab?: string | undefined;
|
|
490
|
+
} | null;
|
|
476
491
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
477
|
-
|
|
492
|
+
defaultSidebarDockedPreference: boolean;
|
|
478
493
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
479
494
|
selectedElementIds: {
|
|
480
495
|
[id: string]: boolean;
|
|
@@ -529,6 +544,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
529
544
|
resetCustomPen?: any;
|
|
530
545
|
gridColor: string;
|
|
531
546
|
dynamicStyle: string;
|
|
547
|
+
invertBindingBehaviour: boolean;
|
|
532
548
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
533
549
|
};
|
|
534
550
|
commitToHistory: true;
|
|
@@ -602,9 +618,12 @@ export declare const actionChangeOpacity: {
|
|
|
602
618
|
}>;
|
|
603
619
|
openMenu: "canvas" | "shape" | null;
|
|
604
620
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
605
|
-
openSidebar:
|
|
621
|
+
openSidebar: {
|
|
622
|
+
name: string;
|
|
623
|
+
tab?: string | undefined;
|
|
624
|
+
} | null;
|
|
606
625
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
607
|
-
|
|
626
|
+
defaultSidebarDockedPreference: boolean;
|
|
608
627
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
609
628
|
selectedElementIds: {
|
|
610
629
|
[id: string]: boolean;
|
|
@@ -659,6 +678,7 @@ export declare const actionChangeOpacity: {
|
|
|
659
678
|
resetCustomPen?: any;
|
|
660
679
|
gridColor: string;
|
|
661
680
|
dynamicStyle: string;
|
|
681
|
+
invertBindingBehaviour: boolean;
|
|
662
682
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
663
683
|
};
|
|
664
684
|
commitToHistory: true;
|
|
@@ -732,9 +752,12 @@ export declare const actionChangeFontSize: {
|
|
|
732
752
|
}>;
|
|
733
753
|
openMenu: "canvas" | "shape" | null;
|
|
734
754
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
735
|
-
openSidebar:
|
|
755
|
+
openSidebar: {
|
|
756
|
+
name: string;
|
|
757
|
+
tab?: string | undefined;
|
|
758
|
+
} | null;
|
|
736
759
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
737
|
-
|
|
760
|
+
defaultSidebarDockedPreference: boolean;
|
|
738
761
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
739
762
|
selectedElementIds: {
|
|
740
763
|
[id: string]: boolean;
|
|
@@ -789,6 +812,7 @@ export declare const actionChangeFontSize: {
|
|
|
789
812
|
resetCustomPen?: any;
|
|
790
813
|
gridColor: string;
|
|
791
814
|
dynamicStyle: string;
|
|
815
|
+
invertBindingBehaviour: boolean;
|
|
792
816
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
793
817
|
};
|
|
794
818
|
commitToHistory: boolean;
|
|
@@ -862,9 +886,12 @@ export declare const actionDecreaseFontSize: {
|
|
|
862
886
|
}>;
|
|
863
887
|
openMenu: "canvas" | "shape" | null;
|
|
864
888
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
865
|
-
openSidebar:
|
|
889
|
+
openSidebar: {
|
|
890
|
+
name: string;
|
|
891
|
+
tab?: string | undefined;
|
|
892
|
+
} | null;
|
|
866
893
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
867
|
-
|
|
894
|
+
defaultSidebarDockedPreference: boolean;
|
|
868
895
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
869
896
|
selectedElementIds: {
|
|
870
897
|
[id: string]: boolean;
|
|
@@ -919,6 +946,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
919
946
|
resetCustomPen?: any;
|
|
920
947
|
gridColor: string;
|
|
921
948
|
dynamicStyle: string;
|
|
949
|
+
invertBindingBehaviour: boolean;
|
|
922
950
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
923
951
|
};
|
|
924
952
|
commitToHistory: boolean;
|
|
@@ -992,9 +1020,12 @@ export declare const actionIncreaseFontSize: {
|
|
|
992
1020
|
}>;
|
|
993
1021
|
openMenu: "canvas" | "shape" | null;
|
|
994
1022
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
995
|
-
openSidebar:
|
|
1023
|
+
openSidebar: {
|
|
1024
|
+
name: string;
|
|
1025
|
+
tab?: string | undefined;
|
|
1026
|
+
} | null;
|
|
996
1027
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
997
|
-
|
|
1028
|
+
defaultSidebarDockedPreference: boolean;
|
|
998
1029
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
999
1030
|
selectedElementIds: {
|
|
1000
1031
|
[id: string]: boolean;
|
|
@@ -1049,6 +1080,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1049
1080
|
resetCustomPen?: any;
|
|
1050
1081
|
gridColor: string;
|
|
1051
1082
|
dynamicStyle: string;
|
|
1083
|
+
invertBindingBehaviour: boolean;
|
|
1052
1084
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1053
1085
|
};
|
|
1054
1086
|
commitToHistory: boolean;
|
|
@@ -1122,9 +1154,12 @@ export declare const actionChangeFontFamily: {
|
|
|
1122
1154
|
}>;
|
|
1123
1155
|
openMenu: "canvas" | "shape" | null;
|
|
1124
1156
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1125
|
-
openSidebar:
|
|
1157
|
+
openSidebar: {
|
|
1158
|
+
name: string;
|
|
1159
|
+
tab?: string | undefined;
|
|
1160
|
+
} | null;
|
|
1126
1161
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1127
|
-
|
|
1162
|
+
defaultSidebarDockedPreference: boolean;
|
|
1128
1163
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1129
1164
|
selectedElementIds: {
|
|
1130
1165
|
[id: string]: boolean;
|
|
@@ -1179,6 +1214,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1179
1214
|
resetCustomPen?: any;
|
|
1180
1215
|
gridColor: string;
|
|
1181
1216
|
dynamicStyle: string;
|
|
1217
|
+
invertBindingBehaviour: boolean;
|
|
1182
1218
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1183
1219
|
};
|
|
1184
1220
|
commitToHistory: true;
|
|
@@ -1252,9 +1288,12 @@ export declare const actionChangeTextAlign: {
|
|
|
1252
1288
|
}>;
|
|
1253
1289
|
openMenu: "canvas" | "shape" | null;
|
|
1254
1290
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1255
|
-
openSidebar:
|
|
1291
|
+
openSidebar: {
|
|
1292
|
+
name: string;
|
|
1293
|
+
tab?: string | undefined;
|
|
1294
|
+
} | null;
|
|
1256
1295
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1257
|
-
|
|
1296
|
+
defaultSidebarDockedPreference: boolean;
|
|
1258
1297
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1259
1298
|
selectedElementIds: {
|
|
1260
1299
|
[id: string]: boolean;
|
|
@@ -1309,6 +1348,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1309
1348
|
resetCustomPen?: any;
|
|
1310
1349
|
gridColor: string;
|
|
1311
1350
|
dynamicStyle: string;
|
|
1351
|
+
invertBindingBehaviour: boolean;
|
|
1312
1352
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1313
1353
|
};
|
|
1314
1354
|
commitToHistory: true;
|
|
@@ -1384,9 +1424,12 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1384
1424
|
}>;
|
|
1385
1425
|
openMenu: "canvas" | "shape" | null;
|
|
1386
1426
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1387
|
-
openSidebar:
|
|
1427
|
+
openSidebar: {
|
|
1428
|
+
name: string;
|
|
1429
|
+
tab?: string | undefined;
|
|
1430
|
+
} | null;
|
|
1388
1431
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1389
|
-
|
|
1432
|
+
defaultSidebarDockedPreference: boolean;
|
|
1390
1433
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1391
1434
|
selectedElementIds: {
|
|
1392
1435
|
[id: string]: boolean;
|
|
@@ -1441,6 +1484,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1441
1484
|
resetCustomPen?: any;
|
|
1442
1485
|
gridColor: string;
|
|
1443
1486
|
dynamicStyle: string;
|
|
1487
|
+
invertBindingBehaviour: boolean;
|
|
1444
1488
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1445
1489
|
};
|
|
1446
1490
|
commitToHistory: true;
|
|
@@ -1514,9 +1558,12 @@ export declare const actionChangeRoundness: {
|
|
|
1514
1558
|
}>;
|
|
1515
1559
|
openMenu: "canvas" | "shape" | null;
|
|
1516
1560
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1517
|
-
openSidebar:
|
|
1561
|
+
openSidebar: {
|
|
1562
|
+
name: string;
|
|
1563
|
+
tab?: string | undefined;
|
|
1564
|
+
} | null;
|
|
1518
1565
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1519
|
-
|
|
1566
|
+
defaultSidebarDockedPreference: boolean;
|
|
1520
1567
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1521
1568
|
selectedElementIds: {
|
|
1522
1569
|
[id: string]: boolean;
|
|
@@ -1571,6 +1618,7 @@ export declare const actionChangeRoundness: {
|
|
|
1571
1618
|
resetCustomPen?: any;
|
|
1572
1619
|
gridColor: string;
|
|
1573
1620
|
dynamicStyle: string;
|
|
1621
|
+
invertBindingBehaviour: boolean;
|
|
1574
1622
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1575
1623
|
};
|
|
1576
1624
|
commitToHistory: true;
|
|
@@ -1647,9 +1695,12 @@ export declare const actionChangeArrowhead: {
|
|
|
1647
1695
|
}>;
|
|
1648
1696
|
openMenu: "canvas" | "shape" | null;
|
|
1649
1697
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1650
|
-
openSidebar:
|
|
1698
|
+
openSidebar: {
|
|
1699
|
+
name: string;
|
|
1700
|
+
tab?: string | undefined;
|
|
1701
|
+
} | null;
|
|
1651
1702
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1652
|
-
|
|
1703
|
+
defaultSidebarDockedPreference: boolean;
|
|
1653
1704
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1654
1705
|
selectedElementIds: {
|
|
1655
1706
|
[id: string]: boolean;
|
|
@@ -1704,6 +1755,7 @@ export declare const actionChangeArrowhead: {
|
|
|
1704
1755
|
resetCustomPen?: any;
|
|
1705
1756
|
gridColor: string;
|
|
1706
1757
|
dynamicStyle: string;
|
|
1758
|
+
invertBindingBehaviour: boolean;
|
|
1707
1759
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1708
1760
|
};
|
|
1709
1761
|
commitToHistory: true;
|
|
@@ -69,9 +69,12 @@ export declare const actionCopyStyles: {
|
|
|
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;
|
|
@@ -121,6 +124,7 @@ export declare const actionCopyStyles: {
|
|
|
121
124
|
resetCustomPen?: any;
|
|
122
125
|
gridColor: string;
|
|
123
126
|
dynamicStyle: string;
|
|
127
|
+
invertBindingBehaviour: boolean;
|
|
124
128
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
125
129
|
};
|
|
126
130
|
commitToHistory: false;
|