@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
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;
|
|
@@ -121,6 +124,7 @@ export declare const actionAddToLibrary: {
|
|
|
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
|
} | {
|
|
@@ -185,9 +189,12 @@ export declare const actionAddToLibrary: {
|
|
|
185
189
|
}>;
|
|
186
190
|
openMenu: "canvas" | "shape" | null;
|
|
187
191
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
188
|
-
openSidebar:
|
|
192
|
+
openSidebar: {
|
|
193
|
+
name: string;
|
|
194
|
+
tab?: string | undefined;
|
|
195
|
+
} | null;
|
|
189
196
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
190
|
-
|
|
197
|
+
defaultSidebarDockedPreference: boolean;
|
|
191
198
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
192
199
|
selectedElementIds: {
|
|
193
200
|
[id: string]: boolean;
|
|
@@ -242,6 +249,7 @@ export declare const actionAddToLibrary: {
|
|
|
242
249
|
resetCustomPen?: any;
|
|
243
250
|
gridColor: string;
|
|
244
251
|
dynamicStyle: string;
|
|
252
|
+
invertBindingBehaviour: boolean;
|
|
245
253
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
246
254
|
};
|
|
247
255
|
}> | {
|
|
@@ -306,9 +314,12 @@ export declare const actionAddToLibrary: {
|
|
|
306
314
|
}>;
|
|
307
315
|
openMenu: "canvas" | "shape" | null;
|
|
308
316
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
309
|
-
openSidebar:
|
|
317
|
+
openSidebar: {
|
|
318
|
+
name: string;
|
|
319
|
+
tab?: string | undefined;
|
|
320
|
+
} | null;
|
|
310
321
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
311
|
-
|
|
322
|
+
defaultSidebarDockedPreference: boolean;
|
|
312
323
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
313
324
|
selectedElementIds: {
|
|
314
325
|
[id: string]: boolean;
|
|
@@ -363,6 +374,7 @@ export declare const actionAddToLibrary: {
|
|
|
363
374
|
resetCustomPen?: any;
|
|
364
375
|
gridColor: string;
|
|
365
376
|
dynamicStyle: string;
|
|
377
|
+
invertBindingBehaviour: boolean;
|
|
366
378
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
367
379
|
};
|
|
368
380
|
};
|
|
@@ -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;
|
|
@@ -142,6 +145,7 @@ export declare const actionBindText: {
|
|
|
142
145
|
resetCustomPen?: any;
|
|
143
146
|
gridColor: string;
|
|
144
147
|
dynamicStyle: string;
|
|
148
|
+
invertBindingBehaviour: boolean;
|
|
145
149
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
146
150
|
};
|
|
147
151
|
commitToHistory: true;
|
|
@@ -149,8 +153,8 @@ export declare const actionBindText: {
|
|
|
149
153
|
} & {
|
|
150
154
|
keyTest?: undefined;
|
|
151
155
|
};
|
|
152
|
-
export declare const
|
|
153
|
-
name: "
|
|
156
|
+
export declare const actionWrapTextInContainer: {
|
|
157
|
+
name: "wrapTextInContainer";
|
|
154
158
|
contextItemLabel: string;
|
|
155
159
|
trackEvent: {
|
|
156
160
|
category: "element";
|
|
@@ -221,9 +225,12 @@ export declare const actionCreateContainerFromText: {
|
|
|
221
225
|
}>;
|
|
222
226
|
openMenu: "canvas" | "shape" | null;
|
|
223
227
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
224
|
-
openSidebar:
|
|
228
|
+
openSidebar: {
|
|
229
|
+
name: string;
|
|
230
|
+
tab?: string | undefined;
|
|
231
|
+
} | null;
|
|
225
232
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
226
|
-
|
|
233
|
+
defaultSidebarDockedPreference: boolean;
|
|
227
234
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
228
235
|
previousSelectedElementIds: {
|
|
229
236
|
[id: string]: boolean;
|
|
@@ -275,6 +282,7 @@ export declare const actionCreateContainerFromText: {
|
|
|
275
282
|
resetCustomPen?: any;
|
|
276
283
|
gridColor: string;
|
|
277
284
|
dynamicStyle: string;
|
|
285
|
+
invertBindingBehaviour: boolean;
|
|
278
286
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
279
287
|
};
|
|
280
288
|
commitToHistory: true;
|
|
@@ -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;
|
|
@@ -135,6 +138,7 @@ export declare const actionClearCanvas: {
|
|
|
135
138
|
resetCustomPen?: any;
|
|
136
139
|
gridColor: string;
|
|
137
140
|
dynamicStyle: string;
|
|
141
|
+
invertBindingBehaviour: boolean;
|
|
138
142
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
139
143
|
};
|
|
140
144
|
commitToHistory: true;
|
|
@@ -209,9 +213,12 @@ export declare const actionZoomIn: {
|
|
|
209
213
|
isRotating: boolean;
|
|
210
214
|
openMenu: "canvas" | "shape" | null;
|
|
211
215
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
212
|
-
openSidebar:
|
|
216
|
+
openSidebar: {
|
|
217
|
+
name: string;
|
|
218
|
+
tab?: string | undefined;
|
|
219
|
+
} | null;
|
|
213
220
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
214
|
-
|
|
221
|
+
defaultSidebarDockedPreference: boolean;
|
|
215
222
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
216
223
|
selectedElementIds: {
|
|
217
224
|
[id: string]: boolean;
|
|
@@ -266,6 +273,7 @@ export declare const actionZoomIn: {
|
|
|
266
273
|
resetCustomPen?: any;
|
|
267
274
|
gridColor: string;
|
|
268
275
|
dynamicStyle: string;
|
|
276
|
+
invertBindingBehaviour: boolean;
|
|
269
277
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
270
278
|
};
|
|
271
279
|
commitToHistory: false;
|
|
@@ -342,9 +350,12 @@ export declare const actionZoomOut: {
|
|
|
342
350
|
isRotating: boolean;
|
|
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 actionZoomOut: {
|
|
|
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: false;
|
|
@@ -475,9 +487,12 @@ export declare const actionResetZoom: {
|
|
|
475
487
|
isRotating: boolean;
|
|
476
488
|
openMenu: "canvas" | "shape" | null;
|
|
477
489
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
478
|
-
openSidebar:
|
|
490
|
+
openSidebar: {
|
|
491
|
+
name: string;
|
|
492
|
+
tab?: string | undefined;
|
|
493
|
+
} | null;
|
|
479
494
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
480
|
-
|
|
495
|
+
defaultSidebarDockedPreference: boolean;
|
|
481
496
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
482
497
|
selectedElementIds: {
|
|
483
498
|
[id: string]: boolean;
|
|
@@ -532,6 +547,7 @@ export declare const actionResetZoom: {
|
|
|
532
547
|
resetCustomPen?: any;
|
|
533
548
|
gridColor: string;
|
|
534
549
|
dynamicStyle: string;
|
|
550
|
+
invertBindingBehaviour: boolean;
|
|
535
551
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
536
552
|
};
|
|
537
553
|
commitToHistory: false;
|
|
@@ -602,9 +618,12 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
602
618
|
isRotating: boolean;
|
|
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 zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
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: boolean;
|
|
@@ -729,9 +749,12 @@ export declare const actionZoomToSelected: {
|
|
|
729
749
|
isRotating: boolean;
|
|
730
750
|
openMenu: "canvas" | "shape" | null;
|
|
731
751
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
732
|
-
openSidebar:
|
|
752
|
+
openSidebar: {
|
|
753
|
+
name: string;
|
|
754
|
+
tab?: string | undefined;
|
|
755
|
+
} | null;
|
|
733
756
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
734
|
-
|
|
757
|
+
defaultSidebarDockedPreference: boolean;
|
|
735
758
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
736
759
|
selectedElementIds: {
|
|
737
760
|
[id: string]: boolean;
|
|
@@ -786,6 +809,7 @@ export declare const actionZoomToSelected: {
|
|
|
786
809
|
resetCustomPen?: any;
|
|
787
810
|
gridColor: string;
|
|
788
811
|
dynamicStyle: string;
|
|
812
|
+
invertBindingBehaviour: boolean;
|
|
789
813
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
790
814
|
};
|
|
791
815
|
commitToHistory: boolean;
|
|
@@ -861,9 +885,12 @@ export declare const actionZoomToFit: {
|
|
|
861
885
|
isRotating: boolean;
|
|
862
886
|
openMenu: "canvas" | "shape" | null;
|
|
863
887
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
864
|
-
openSidebar:
|
|
888
|
+
openSidebar: {
|
|
889
|
+
name: string;
|
|
890
|
+
tab?: string | undefined;
|
|
891
|
+
} | null;
|
|
865
892
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
866
|
-
|
|
893
|
+
defaultSidebarDockedPreference: boolean;
|
|
867
894
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
868
895
|
selectedElementIds: {
|
|
869
896
|
[id: string]: boolean;
|
|
@@ -918,6 +945,7 @@ export declare const actionZoomToFit: {
|
|
|
918
945
|
resetCustomPen?: any;
|
|
919
946
|
gridColor: string;
|
|
920
947
|
dynamicStyle: string;
|
|
948
|
+
invertBindingBehaviour: boolean;
|
|
921
949
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
922
950
|
};
|
|
923
951
|
commitToHistory: boolean;
|
|
@@ -994,9 +1022,12 @@ export declare const actionToggleTheme: {
|
|
|
994
1022
|
}>;
|
|
995
1023
|
openMenu: "canvas" | "shape" | null;
|
|
996
1024
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
997
|
-
openSidebar:
|
|
1025
|
+
openSidebar: {
|
|
1026
|
+
name: string;
|
|
1027
|
+
tab?: string | undefined;
|
|
1028
|
+
} | null;
|
|
998
1029
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
999
|
-
|
|
1030
|
+
defaultSidebarDockedPreference: boolean;
|
|
1000
1031
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1001
1032
|
selectedElementIds: {
|
|
1002
1033
|
[id: string]: boolean;
|
|
@@ -1050,6 +1081,7 @@ export declare const actionToggleTheme: {
|
|
|
1050
1081
|
resetCustomPen?: any;
|
|
1051
1082
|
gridColor: string;
|
|
1052
1083
|
dynamicStyle: string;
|
|
1084
|
+
invertBindingBehaviour: boolean;
|
|
1053
1085
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1054
1086
|
};
|
|
1055
1087
|
commitToHistory: false;
|
|
@@ -1127,9 +1159,12 @@ export declare const actionToggleEraserTool: {
|
|
|
1127
1159
|
}>;
|
|
1128
1160
|
openMenu: "canvas" | "shape" | null;
|
|
1129
1161
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1130
|
-
openSidebar:
|
|
1162
|
+
openSidebar: {
|
|
1163
|
+
name: string;
|
|
1164
|
+
tab?: string | undefined;
|
|
1165
|
+
} | null;
|
|
1131
1166
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1132
|
-
|
|
1167
|
+
defaultSidebarDockedPreference: boolean;
|
|
1133
1168
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1134
1169
|
previousSelectedElementIds: {
|
|
1135
1170
|
[id: string]: boolean;
|
|
@@ -1178,6 +1213,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1178
1213
|
resetCustomPen?: any;
|
|
1179
1214
|
gridColor: string;
|
|
1180
1215
|
dynamicStyle: string;
|
|
1216
|
+
invertBindingBehaviour: boolean;
|
|
1181
1217
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1182
1218
|
};
|
|
1183
1219
|
commitToHistory: true;
|
|
@@ -1254,9 +1290,12 @@ export declare const actionToggleHandTool: {
|
|
|
1254
1290
|
}>;
|
|
1255
1291
|
openMenu: "canvas" | "shape" | null;
|
|
1256
1292
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
1257
|
-
openSidebar:
|
|
1293
|
+
openSidebar: {
|
|
1294
|
+
name: string;
|
|
1295
|
+
tab?: string | undefined;
|
|
1296
|
+
} | null;
|
|
1258
1297
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1259
|
-
|
|
1298
|
+
defaultSidebarDockedPreference: boolean;
|
|
1260
1299
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1261
1300
|
previousSelectedElementIds: {
|
|
1262
1301
|
[id: string]: boolean;
|
|
@@ -1305,6 +1344,7 @@ export declare const actionToggleHandTool: {
|
|
|
1305
1344
|
resetCustomPen?: any;
|
|
1306
1345
|
gridColor: string;
|
|
1307
1346
|
dynamicStyle: string;
|
|
1347
|
+
invertBindingBehaviour: boolean;
|
|
1308
1348
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1309
1349
|
};
|
|
1310
1350
|
commitToHistory: true;
|
|
@@ -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;
|
|
@@ -151,6 +154,7 @@ export declare const actionCut: {
|
|
|
151
154
|
resetCustomPen?: any;
|
|
152
155
|
gridColor: string;
|
|
153
156
|
dynamicStyle: string;
|
|
157
|
+
invertBindingBehaviour: boolean;
|
|
154
158
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
155
159
|
};
|
|
156
160
|
commitToHistory: false;
|
|
@@ -244,9 +248,12 @@ export declare const actionCut: {
|
|
|
244
248
|
}>;
|
|
245
249
|
openMenu: "canvas" | "shape" | null;
|
|
246
250
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
247
|
-
openSidebar:
|
|
251
|
+
openSidebar: {
|
|
252
|
+
name: string;
|
|
253
|
+
tab?: string | undefined;
|
|
254
|
+
} | null;
|
|
248
255
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
249
|
-
|
|
256
|
+
defaultSidebarDockedPreference: boolean;
|
|
250
257
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
251
258
|
selectedElementIds: {
|
|
252
259
|
[id: string]: boolean;
|
|
@@ -301,6 +308,7 @@ export declare const actionCut: {
|
|
|
301
308
|
resetCustomPen?: any;
|
|
302
309
|
gridColor: string;
|
|
303
310
|
dynamicStyle: string;
|
|
311
|
+
invertBindingBehaviour: boolean;
|
|
304
312
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
305
313
|
};
|
|
306
314
|
commitToHistory: true;
|
|
@@ -367,9 +375,12 @@ export declare const actionCut: {
|
|
|
367
375
|
}>;
|
|
368
376
|
openMenu: "canvas" | "shape" | null;
|
|
369
377
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
370
|
-
openSidebar:
|
|
378
|
+
openSidebar: {
|
|
379
|
+
name: string;
|
|
380
|
+
tab?: string | undefined;
|
|
381
|
+
} | null;
|
|
371
382
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
372
|
-
|
|
383
|
+
defaultSidebarDockedPreference: boolean;
|
|
373
384
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
374
385
|
previousSelectedElementIds: {
|
|
375
386
|
[id: string]: boolean;
|
|
@@ -421,6 +432,7 @@ export declare const actionCut: {
|
|
|
421
432
|
resetCustomPen?: any;
|
|
422
433
|
gridColor: string;
|
|
423
434
|
dynamicStyle: string;
|
|
435
|
+
invertBindingBehaviour: boolean;
|
|
424
436
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
425
437
|
};
|
|
426
438
|
commitToHistory: boolean;
|
|
@@ -500,9 +512,12 @@ export declare const actionCopyAsSvg: {
|
|
|
500
512
|
}>;
|
|
501
513
|
openMenu: "canvas" | "shape" | null;
|
|
502
514
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
503
|
-
openSidebar:
|
|
515
|
+
openSidebar: {
|
|
516
|
+
name: string;
|
|
517
|
+
tab?: string | undefined;
|
|
518
|
+
} | null;
|
|
504
519
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
505
|
-
|
|
520
|
+
defaultSidebarDockedPreference: boolean;
|
|
506
521
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
507
522
|
selectedElementIds: {
|
|
508
523
|
[id: string]: boolean;
|
|
@@ -557,6 +572,7 @@ export declare const actionCopyAsSvg: {
|
|
|
557
572
|
resetCustomPen?: any;
|
|
558
573
|
gridColor: string;
|
|
559
574
|
dynamicStyle: string;
|
|
575
|
+
invertBindingBehaviour: boolean;
|
|
560
576
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
561
577
|
};
|
|
562
578
|
commitToHistory: false;
|
|
@@ -635,9 +651,12 @@ export declare const actionCopyAsPng: {
|
|
|
635
651
|
}>;
|
|
636
652
|
openMenu: "canvas" | "shape" | null;
|
|
637
653
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
638
|
-
openSidebar:
|
|
654
|
+
openSidebar: {
|
|
655
|
+
name: string;
|
|
656
|
+
tab?: string | undefined;
|
|
657
|
+
} | null;
|
|
639
658
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
640
|
-
|
|
659
|
+
defaultSidebarDockedPreference: boolean;
|
|
641
660
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
642
661
|
selectedElementIds: {
|
|
643
662
|
[id: string]: boolean;
|
|
@@ -692,6 +711,7 @@ export declare const actionCopyAsPng: {
|
|
|
692
711
|
resetCustomPen?: any;
|
|
693
712
|
gridColor: string;
|
|
694
713
|
dynamicStyle: string;
|
|
714
|
+
invertBindingBehaviour: boolean;
|
|
695
715
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
696
716
|
};
|
|
697
717
|
commitToHistory: false;
|
|
@@ -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;
|
|
@@ -127,6 +130,7 @@ export declare const actionDeleteSelected: {
|
|
|
127
130
|
resetCustomPen?: any;
|
|
128
131
|
gridColor: string;
|
|
129
132
|
dynamicStyle: string;
|
|
133
|
+
invertBindingBehaviour: boolean;
|
|
130
134
|
selectedLinearElement: LinearElementEditor | null;
|
|
131
135
|
};
|
|
132
136
|
commitToHistory: false;
|
|
@@ -220,9 +224,12 @@ export declare const actionDeleteSelected: {
|
|
|
220
224
|
}>;
|
|
221
225
|
openMenu: "canvas" | "shape" | null;
|
|
222
226
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
223
|
-
openSidebar:
|
|
227
|
+
openSidebar: {
|
|
228
|
+
name: string;
|
|
229
|
+
tab?: string | undefined;
|
|
230
|
+
} | null;
|
|
224
231
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
225
|
-
|
|
232
|
+
defaultSidebarDockedPreference: boolean;
|
|
226
233
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
227
234
|
selectedElementIds: {
|
|
228
235
|
[id: string]: boolean;
|
|
@@ -277,6 +284,7 @@ export declare const actionDeleteSelected: {
|
|
|
277
284
|
resetCustomPen?: any;
|
|
278
285
|
gridColor: string;
|
|
279
286
|
dynamicStyle: string;
|
|
287
|
+
invertBindingBehaviour: boolean;
|
|
280
288
|
selectedLinearElement: LinearElementEditor | null;
|
|
281
289
|
};
|
|
282
290
|
commitToHistory: true;
|
|
@@ -343,9 +351,12 @@ export declare const actionDeleteSelected: {
|
|
|
343
351
|
}>;
|
|
344
352
|
openMenu: "canvas" | "shape" | null;
|
|
345
353
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
346
|
-
openSidebar:
|
|
354
|
+
openSidebar: {
|
|
355
|
+
name: string;
|
|
356
|
+
tab?: string | undefined;
|
|
357
|
+
} | null;
|
|
347
358
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
348
|
-
|
|
359
|
+
defaultSidebarDockedPreference: boolean;
|
|
349
360
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
350
361
|
previousSelectedElementIds: {
|
|
351
362
|
[id: string]: boolean;
|
|
@@ -397,6 +408,7 @@ export declare const actionDeleteSelected: {
|
|
|
397
408
|
resetCustomPen?: any;
|
|
398
409
|
gridColor: string;
|
|
399
410
|
dynamicStyle: string;
|
|
411
|
+
invertBindingBehaviour: boolean;
|
|
400
412
|
selectedLinearElement: LinearElementEditor | null;
|
|
401
413
|
};
|
|
402
414
|
commitToHistory: boolean;
|