@zsviczian/excalidraw 0.16.1-obsidian-7 → 0.17.0-obsidian-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/excalidraw.development.js +124 -80
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +1 -1
- package/main.js +7 -1
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +27 -6
- package/types/actions/actionBoundText.d.ts +18 -4
- package/types/actions/actionCanvas.d.ts +118 -27
- package/types/actions/actionClipboard.d.ts +362 -18
- package/types/actions/actionDeleteSelected.d.ts +27 -6
- package/types/actions/actionElementLock.d.ts +18 -4
- package/types/actions/actionExport.d.ts +81 -18
- package/types/actions/actionFinalize.d.ts +18 -4
- package/types/actions/actionFrame.d.ts +27 -6
- package/types/actions/actionGroup.d.ts +21 -7
- package/types/actions/actionLinearEditor.d.ts +9 -2
- package/types/actions/actionMenu.d.ts +26 -19
- package/types/actions/actionProperties.d.ts +117 -26
- package/types/actions/actionSelectAll.d.ts +9 -2
- package/types/actions/actionStyles.d.ts +9 -2
- package/types/actions/actionToggleGridMode.d.ts +9 -2
- package/types/actions/actionToggleObjectsSnapMode.d.ts +9 -2
- package/types/actions/actionToggleStats.d.ts +9 -2
- package/types/actions/actionToggleViewMode.d.ts +9 -2
- package/types/actions/actionToggleZenMode.d.ts +9 -2
- package/types/actions/actionZindex.d.ts +2 -2
- package/types/actions/index.d.ts +1 -1
- package/types/actions/manager.d.ts +1 -1
- package/types/appState.d.ts +1 -1
- package/types/clipboard.d.ts +21 -3
- package/types/components/Actions.d.ts +3 -2
- package/types/components/App.d.ts +20 -12
- package/types/components/ContextMenu.d.ts +2 -1
- package/types/components/ImageExportDialog.d.ts +1 -1
- package/types/components/LayerUI.d.ts +1 -1
- package/types/components/MermaidToExcalidraw.d.ts +1 -1
- package/types/components/MobileMenu.d.ts +4 -3
- package/types/components/Modal.d.ts +3 -1
- package/types/constants.d.ts +7 -1
- package/types/data/index.d.ts +10 -2
- package/types/data/transform.d.ts +7 -3
- package/types/element/Hyperlink.d.ts +10 -3
- package/types/element/bounds.d.ts +11 -5
- package/types/element/embeddable.d.ts +10 -3
- package/types/element/linearElementEditor.d.ts +11 -3
- package/types/element/newElement.d.ts +3 -1
- package/types/element/resizeTest.d.ts +2 -1
- package/types/element/transformHandles.d.ts +2 -1
- package/types/element/typeChecks.d.ts +1 -1
- package/types/element/types.d.ts +1 -0
- package/types/errors.d.ts +5 -0
- package/types/frame.d.ts +12 -1
- package/types/hooks/useCreatePortalContainer.d.ts +6 -4
- package/types/math.d.ts +1 -0
- package/types/packages/bbox.d.ts +11 -0
- package/types/packages/excalidraw/index.d.ts +4 -3
- package/types/packages/excalidraw/webpack.preact.config.d.ts +170 -0
- package/types/packages/utils.d.ts +6 -3
- package/types/packages/withinBounds.d.ts +19 -0
- package/types/renderer/renderElement.d.ts +6 -1
- package/types/renderer/renderScene.d.ts +10 -5
- package/types/scene/Scene.d.ts +7 -2
- package/types/scene/export.d.ts +6 -6
- package/types/types.d.ts +29 -18
- package/types/utils.d.ts +8 -1
- package/types/zindex.d.ts +4 -4
|
@@ -75,7 +75,7 @@ export declare const actionChangeProjectName: {
|
|
|
75
75
|
name: string;
|
|
76
76
|
tab?: string | undefined;
|
|
77
77
|
} | null;
|
|
78
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
78
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
79
79
|
defaultSidebarDockedPreference: boolean;
|
|
80
80
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
81
81
|
selectedElementIds: Readonly<{
|
|
@@ -140,7 +140,14 @@ export declare const actionChangeProjectName: {
|
|
|
140
140
|
Regular: string;
|
|
141
141
|
MajorGridFrequency?: number | undefined;
|
|
142
142
|
};
|
|
143
|
-
dynamicStyle:
|
|
143
|
+
dynamicStyle: {
|
|
144
|
+
[x: string]: string;
|
|
145
|
+
};
|
|
146
|
+
frameColor: {
|
|
147
|
+
stroke: string;
|
|
148
|
+
fill: string;
|
|
149
|
+
nameColor: string;
|
|
150
|
+
};
|
|
144
151
|
invertBindingBehaviour: boolean;
|
|
145
152
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
146
153
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -234,7 +241,7 @@ export declare const actionChangeExportScale: {
|
|
|
234
241
|
name: string;
|
|
235
242
|
tab?: string | undefined;
|
|
236
243
|
} | null;
|
|
237
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
244
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
238
245
|
defaultSidebarDockedPreference: boolean;
|
|
239
246
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
240
247
|
selectedElementIds: Readonly<{
|
|
@@ -299,7 +306,14 @@ export declare const actionChangeExportScale: {
|
|
|
299
306
|
Regular: string;
|
|
300
307
|
MajorGridFrequency?: number | undefined;
|
|
301
308
|
};
|
|
302
|
-
dynamicStyle:
|
|
309
|
+
dynamicStyle: {
|
|
310
|
+
[x: string]: string;
|
|
311
|
+
};
|
|
312
|
+
frameColor: {
|
|
313
|
+
stroke: string;
|
|
314
|
+
fill: string;
|
|
315
|
+
nameColor: string;
|
|
316
|
+
};
|
|
303
317
|
invertBindingBehaviour: boolean;
|
|
304
318
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
305
319
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -393,7 +407,7 @@ export declare const actionChangeExportBackground: {
|
|
|
393
407
|
name: string;
|
|
394
408
|
tab?: string | undefined;
|
|
395
409
|
} | null;
|
|
396
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
410
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
397
411
|
defaultSidebarDockedPreference: boolean;
|
|
398
412
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
399
413
|
selectedElementIds: Readonly<{
|
|
@@ -458,7 +472,14 @@ export declare const actionChangeExportBackground: {
|
|
|
458
472
|
Regular: string;
|
|
459
473
|
MajorGridFrequency?: number | undefined;
|
|
460
474
|
};
|
|
461
|
-
dynamicStyle:
|
|
475
|
+
dynamicStyle: {
|
|
476
|
+
[x: string]: string;
|
|
477
|
+
};
|
|
478
|
+
frameColor: {
|
|
479
|
+
stroke: string;
|
|
480
|
+
fill: string;
|
|
481
|
+
nameColor: string;
|
|
482
|
+
};
|
|
462
483
|
invertBindingBehaviour: boolean;
|
|
463
484
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
464
485
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -552,7 +573,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
552
573
|
name: string;
|
|
553
574
|
tab?: string | undefined;
|
|
554
575
|
} | null;
|
|
555
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
576
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
556
577
|
defaultSidebarDockedPreference: boolean;
|
|
557
578
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
558
579
|
selectedElementIds: Readonly<{
|
|
@@ -617,7 +638,14 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
617
638
|
Regular: string;
|
|
618
639
|
MajorGridFrequency?: number | undefined;
|
|
619
640
|
};
|
|
620
|
-
dynamicStyle:
|
|
641
|
+
dynamicStyle: {
|
|
642
|
+
[x: string]: string;
|
|
643
|
+
};
|
|
644
|
+
frameColor: {
|
|
645
|
+
stroke: string;
|
|
646
|
+
fill: string;
|
|
647
|
+
nameColor: string;
|
|
648
|
+
};
|
|
621
649
|
invertBindingBehaviour: boolean;
|
|
622
650
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
623
651
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -716,7 +744,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
716
744
|
name: string;
|
|
717
745
|
tab?: string | undefined;
|
|
718
746
|
} | null;
|
|
719
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
747
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
720
748
|
defaultSidebarDockedPreference: boolean;
|
|
721
749
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
722
750
|
selectedElementIds: Readonly<{
|
|
@@ -775,7 +803,14 @@ export declare const actionSaveToActiveFile: {
|
|
|
775
803
|
Regular: string;
|
|
776
804
|
MajorGridFrequency?: number | undefined;
|
|
777
805
|
};
|
|
778
|
-
dynamicStyle:
|
|
806
|
+
dynamicStyle: {
|
|
807
|
+
[x: string]: string;
|
|
808
|
+
};
|
|
809
|
+
frameColor: {
|
|
810
|
+
stroke: string;
|
|
811
|
+
fill: string;
|
|
812
|
+
nameColor: string;
|
|
813
|
+
};
|
|
779
814
|
invertBindingBehaviour: boolean;
|
|
780
815
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
781
816
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -935,7 +970,14 @@ export declare const actionSaveFileToDisk: {
|
|
|
935
970
|
Regular: string;
|
|
936
971
|
MajorGridFrequency?: number | undefined;
|
|
937
972
|
};
|
|
938
|
-
dynamicStyle:
|
|
973
|
+
dynamicStyle: {
|
|
974
|
+
[x: string]: string;
|
|
975
|
+
};
|
|
976
|
+
frameColor: {
|
|
977
|
+
stroke: string;
|
|
978
|
+
fill: string;
|
|
979
|
+
nameColor: string;
|
|
980
|
+
};
|
|
939
981
|
invertBindingBehaviour: boolean;
|
|
940
982
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
941
983
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -967,7 +1009,6 @@ export declare const actionLoadScene: {
|
|
|
967
1009
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
968
1010
|
locked: boolean;
|
|
969
1011
|
} & import("../types").ActiveTool;
|
|
970
|
-
name: string;
|
|
971
1012
|
contextMenu: {
|
|
972
1013
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
973
1014
|
top: number;
|
|
@@ -1022,6 +1063,7 @@ export declare const actionLoadScene: {
|
|
|
1022
1063
|
scrollY: number;
|
|
1023
1064
|
cursorButton: "up" | "down";
|
|
1024
1065
|
scrolledOutside: boolean;
|
|
1066
|
+
name: string;
|
|
1025
1067
|
isResizing: boolean;
|
|
1026
1068
|
isRotating: boolean;
|
|
1027
1069
|
zoom: Readonly<{
|
|
@@ -1033,7 +1075,7 @@ export declare const actionLoadScene: {
|
|
|
1033
1075
|
name: string;
|
|
1034
1076
|
tab?: string | undefined;
|
|
1035
1077
|
} | null;
|
|
1036
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1078
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
1037
1079
|
defaultSidebarDockedPreference: boolean;
|
|
1038
1080
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1039
1081
|
selectedElementIds: Readonly<{
|
|
@@ -1094,7 +1136,14 @@ export declare const actionLoadScene: {
|
|
|
1094
1136
|
Regular: string;
|
|
1095
1137
|
MajorGridFrequency?: number | undefined;
|
|
1096
1138
|
};
|
|
1097
|
-
dynamicStyle:
|
|
1139
|
+
dynamicStyle: {
|
|
1140
|
+
[x: string]: string;
|
|
1141
|
+
};
|
|
1142
|
+
frameColor: {
|
|
1143
|
+
stroke: string;
|
|
1144
|
+
fill: string;
|
|
1145
|
+
nameColor: string;
|
|
1146
|
+
};
|
|
1098
1147
|
invertBindingBehaviour: boolean;
|
|
1099
1148
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1100
1149
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1179,7 +1228,7 @@ export declare const actionLoadScene: {
|
|
|
1179
1228
|
name: string;
|
|
1180
1229
|
tab?: string | undefined;
|
|
1181
1230
|
} | null;
|
|
1182
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1231
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
1183
1232
|
defaultSidebarDockedPreference: boolean;
|
|
1184
1233
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1185
1234
|
selectedElementIds: Readonly<{
|
|
@@ -1244,7 +1293,14 @@ export declare const actionLoadScene: {
|
|
|
1244
1293
|
Regular: string;
|
|
1245
1294
|
MajorGridFrequency?: number | undefined;
|
|
1246
1295
|
};
|
|
1247
|
-
dynamicStyle:
|
|
1296
|
+
dynamicStyle: {
|
|
1297
|
+
[x: string]: string;
|
|
1298
|
+
};
|
|
1299
|
+
frameColor: {
|
|
1300
|
+
stroke: string;
|
|
1301
|
+
fill: string;
|
|
1302
|
+
nameColor: string;
|
|
1303
|
+
};
|
|
1248
1304
|
invertBindingBehaviour: boolean;
|
|
1249
1305
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1250
1306
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1339,7 +1395,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1339
1395
|
name: string;
|
|
1340
1396
|
tab?: string | undefined;
|
|
1341
1397
|
} | null;
|
|
1342
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1398
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
1343
1399
|
defaultSidebarDockedPreference: boolean;
|
|
1344
1400
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1345
1401
|
selectedElementIds: Readonly<{
|
|
@@ -1404,7 +1460,14 @@ export declare const actionExportWithDarkMode: {
|
|
|
1404
1460
|
Regular: string;
|
|
1405
1461
|
MajorGridFrequency?: number | undefined;
|
|
1406
1462
|
};
|
|
1407
|
-
dynamicStyle:
|
|
1463
|
+
dynamicStyle: {
|
|
1464
|
+
[x: string]: string;
|
|
1465
|
+
};
|
|
1466
|
+
frameColor: {
|
|
1467
|
+
stroke: string;
|
|
1468
|
+
fill: string;
|
|
1469
|
+
nameColor: string;
|
|
1470
|
+
};
|
|
1408
1471
|
invertBindingBehaviour: boolean;
|
|
1409
1472
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1410
1473
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -76,7 +76,7 @@ export declare const actionFinalize: {
|
|
|
76
76
|
name: string;
|
|
77
77
|
tab?: string | undefined;
|
|
78
78
|
} | null;
|
|
79
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
79
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
80
80
|
defaultSidebarDockedPreference: boolean;
|
|
81
81
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
82
82
|
selectedElementIds: Readonly<{
|
|
@@ -141,7 +141,14 @@ export declare const actionFinalize: {
|
|
|
141
141
|
Regular: string;
|
|
142
142
|
MajorGridFrequency?: number | undefined;
|
|
143
143
|
};
|
|
144
|
-
dynamicStyle:
|
|
144
|
+
dynamicStyle: {
|
|
145
|
+
[x: string]: string;
|
|
146
|
+
};
|
|
147
|
+
frameColor: {
|
|
148
|
+
stroke: string;
|
|
149
|
+
fill: string;
|
|
150
|
+
nameColor: string;
|
|
151
|
+
};
|
|
145
152
|
invertBindingBehaviour: boolean;
|
|
146
153
|
selectedLinearElement: LinearElementEditor | null;
|
|
147
154
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -227,7 +234,7 @@ export declare const actionFinalize: {
|
|
|
227
234
|
name: string;
|
|
228
235
|
tab?: string | undefined;
|
|
229
236
|
} | null;
|
|
230
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
237
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
231
238
|
defaultSidebarDockedPreference: boolean;
|
|
232
239
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
233
240
|
previousSelectedElementIds: {
|
|
@@ -288,7 +295,14 @@ export declare const actionFinalize: {
|
|
|
288
295
|
Regular: string;
|
|
289
296
|
MajorGridFrequency?: number | undefined;
|
|
290
297
|
};
|
|
291
|
-
dynamicStyle:
|
|
298
|
+
dynamicStyle: {
|
|
299
|
+
[x: string]: string;
|
|
300
|
+
};
|
|
301
|
+
frameColor: {
|
|
302
|
+
stroke: string;
|
|
303
|
+
fill: string;
|
|
304
|
+
nameColor: string;
|
|
305
|
+
};
|
|
292
306
|
invertBindingBehaviour: boolean;
|
|
293
307
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
294
308
|
originSnapOffset: {
|
|
@@ -96,7 +96,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
96
96
|
name: string;
|
|
97
97
|
tab?: string | undefined;
|
|
98
98
|
} | null;
|
|
99
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
99
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
100
100
|
defaultSidebarDockedPreference: boolean;
|
|
101
101
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
102
102
|
previousSelectedElementIds: {
|
|
@@ -158,7 +158,14 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
158
158
|
Regular: string;
|
|
159
159
|
MajorGridFrequency?: number | undefined;
|
|
160
160
|
};
|
|
161
|
-
dynamicStyle:
|
|
161
|
+
dynamicStyle: {
|
|
162
|
+
[x: string]: string;
|
|
163
|
+
};
|
|
164
|
+
frameColor: {
|
|
165
|
+
stroke: string;
|
|
166
|
+
fill: string;
|
|
167
|
+
nameColor: string;
|
|
168
|
+
};
|
|
162
169
|
invertBindingBehaviour: boolean;
|
|
163
170
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
164
171
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -258,7 +265,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
258
265
|
name: string;
|
|
259
266
|
tab?: string | undefined;
|
|
260
267
|
} | null;
|
|
261
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
268
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
262
269
|
defaultSidebarDockedPreference: boolean;
|
|
263
270
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
264
271
|
selectedElementIds: Readonly<{
|
|
@@ -323,7 +330,14 @@ export declare const actionupdateFrameRendering: {
|
|
|
323
330
|
Regular: string;
|
|
324
331
|
MajorGridFrequency?: number | undefined;
|
|
325
332
|
};
|
|
326
|
-
dynamicStyle:
|
|
333
|
+
dynamicStyle: {
|
|
334
|
+
[x: string]: string;
|
|
335
|
+
};
|
|
336
|
+
frameColor: {
|
|
337
|
+
stroke: string;
|
|
338
|
+
fill: string;
|
|
339
|
+
nameColor: string;
|
|
340
|
+
};
|
|
327
341
|
invertBindingBehaviour: boolean;
|
|
328
342
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
329
343
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -418,7 +432,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
418
432
|
name: string;
|
|
419
433
|
tab?: string | undefined;
|
|
420
434
|
} | null;
|
|
421
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
435
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
422
436
|
defaultSidebarDockedPreference: boolean;
|
|
423
437
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
424
438
|
selectedElementIds: Readonly<{
|
|
@@ -483,7 +497,14 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
483
497
|
Regular: string;
|
|
484
498
|
MajorGridFrequency?: number | undefined;
|
|
485
499
|
};
|
|
486
|
-
dynamicStyle:
|
|
500
|
+
dynamicStyle: {
|
|
501
|
+
[x: string]: string;
|
|
502
|
+
};
|
|
503
|
+
frameColor: {
|
|
504
|
+
stroke: string;
|
|
505
|
+
fill: string;
|
|
506
|
+
nameColor: string;
|
|
507
|
+
};
|
|
487
508
|
invertBindingBehaviour: boolean;
|
|
488
509
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
489
510
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExcalidrawElement
|
|
1
|
+
import { ExcalidrawElement } from "../element/types";
|
|
2
2
|
import { AppClassProperties, AppState } from "../types";
|
|
3
3
|
export declare const actionGroup: {
|
|
4
4
|
name: "group";
|
|
@@ -37,7 +37,7 @@ export declare const actionGroup: {
|
|
|
37
37
|
isBindingEnabled: boolean;
|
|
38
38
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
39
39
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
40
|
-
frameToHighlight: import("../element/types").NonDeleted<ExcalidrawFrameElement> | null;
|
|
40
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
41
41
|
frameRendering: {
|
|
42
42
|
enabled: boolean;
|
|
43
43
|
name: boolean;
|
|
@@ -88,7 +88,7 @@ export declare const actionGroup: {
|
|
|
88
88
|
name: string;
|
|
89
89
|
tab?: string | undefined;
|
|
90
90
|
} | null;
|
|
91
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
91
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
92
92
|
defaultSidebarDockedPreference: boolean;
|
|
93
93
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
94
94
|
previousSelectedElementIds: {
|
|
@@ -146,7 +146,14 @@ export declare const actionGroup: {
|
|
|
146
146
|
Regular: string;
|
|
147
147
|
MajorGridFrequency?: number | undefined;
|
|
148
148
|
};
|
|
149
|
-
dynamicStyle:
|
|
149
|
+
dynamicStyle: {
|
|
150
|
+
[x: string]: string;
|
|
151
|
+
};
|
|
152
|
+
frameColor: {
|
|
153
|
+
stroke: string;
|
|
154
|
+
fill: string;
|
|
155
|
+
nameColor: string;
|
|
156
|
+
};
|
|
150
157
|
invertBindingBehaviour: boolean;
|
|
151
158
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
152
159
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -203,7 +210,7 @@ export declare const actionUngroup: {
|
|
|
203
210
|
isBindingEnabled: boolean;
|
|
204
211
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
205
212
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
206
|
-
frameToHighlight: import("../element/types").NonDeleted<ExcalidrawFrameElement> | null;
|
|
213
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
207
214
|
frameRendering: {
|
|
208
215
|
enabled: boolean;
|
|
209
216
|
name: boolean;
|
|
@@ -254,7 +261,7 @@ export declare const actionUngroup: {
|
|
|
254
261
|
name: string;
|
|
255
262
|
tab?: string | undefined;
|
|
256
263
|
} | null;
|
|
257
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
264
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
258
265
|
defaultSidebarDockedPreference: boolean;
|
|
259
266
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
260
267
|
previousSelectedElementIds: {
|
|
@@ -312,7 +319,14 @@ export declare const actionUngroup: {
|
|
|
312
319
|
Regular: string;
|
|
313
320
|
MajorGridFrequency?: number | undefined;
|
|
314
321
|
};
|
|
315
|
-
dynamicStyle:
|
|
322
|
+
dynamicStyle: {
|
|
323
|
+
[x: string]: string;
|
|
324
|
+
};
|
|
325
|
+
frameColor: {
|
|
326
|
+
stroke: string;
|
|
327
|
+
fill: string;
|
|
328
|
+
nameColor: string;
|
|
329
|
+
};
|
|
316
330
|
invertBindingBehaviour: boolean;
|
|
317
331
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
318
332
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -78,7 +78,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
78
78
|
name: string;
|
|
79
79
|
tab?: string | undefined;
|
|
80
80
|
} | null;
|
|
81
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
81
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
82
82
|
defaultSidebarDockedPreference: boolean;
|
|
83
83
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
84
84
|
selectedElementIds: Readonly<{
|
|
@@ -143,7 +143,14 @@ export declare const actionToggleLinearEditor: {
|
|
|
143
143
|
Regular: string;
|
|
144
144
|
MajorGridFrequency?: number | undefined;
|
|
145
145
|
};
|
|
146
|
-
dynamicStyle:
|
|
146
|
+
dynamicStyle: {
|
|
147
|
+
[x: string]: string;
|
|
148
|
+
};
|
|
149
|
+
frameColor: {
|
|
150
|
+
stroke: string;
|
|
151
|
+
fill: string;
|
|
152
|
+
nameColor: string;
|
|
153
|
+
};
|
|
147
154
|
invertBindingBehaviour: boolean;
|
|
148
155
|
selectedLinearElement: LinearElementEditor | null;
|
|
149
156
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -75,7 +75,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
75
75
|
name: string;
|
|
76
76
|
tab?: string | undefined;
|
|
77
77
|
} | null;
|
|
78
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
78
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
79
79
|
defaultSidebarDockedPreference: boolean;
|
|
80
80
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
81
81
|
selectedElementIds: Readonly<{
|
|
@@ -140,7 +140,14 @@ export declare const actionToggleCanvasMenu: {
|
|
|
140
140
|
Regular: string;
|
|
141
141
|
MajorGridFrequency?: number | undefined;
|
|
142
142
|
};
|
|
143
|
-
dynamicStyle:
|
|
143
|
+
dynamicStyle: {
|
|
144
|
+
[x: string]: string;
|
|
145
|
+
};
|
|
146
|
+
frameColor: {
|
|
147
|
+
stroke: string;
|
|
148
|
+
fill: string;
|
|
149
|
+
nameColor: string;
|
|
150
|
+
};
|
|
144
151
|
invertBindingBehaviour: boolean;
|
|
145
152
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
146
153
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -233,7 +240,7 @@ export declare const actionToggleEditMenu: {
|
|
|
233
240
|
name: string;
|
|
234
241
|
tab?: string | undefined;
|
|
235
242
|
} | null;
|
|
236
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
243
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
237
244
|
defaultSidebarDockedPreference: boolean;
|
|
238
245
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
239
246
|
selectedElementIds: Readonly<{
|
|
@@ -298,7 +305,14 @@ export declare const actionToggleEditMenu: {
|
|
|
298
305
|
Regular: string;
|
|
299
306
|
MajorGridFrequency?: number | undefined;
|
|
300
307
|
};
|
|
301
|
-
dynamicStyle:
|
|
308
|
+
dynamicStyle: {
|
|
309
|
+
[x: string]: string;
|
|
310
|
+
};
|
|
311
|
+
frameColor: {
|
|
312
|
+
stroke: string;
|
|
313
|
+
fill: string;
|
|
314
|
+
nameColor: string;
|
|
315
|
+
};
|
|
302
316
|
invertBindingBehaviour: boolean;
|
|
303
317
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
304
318
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -314,20 +328,6 @@ export declare const actionToggleEditMenu: {
|
|
|
314
328
|
} & {
|
|
315
329
|
keyTest?: undefined;
|
|
316
330
|
};
|
|
317
|
-
export declare const actionFullScreen: {
|
|
318
|
-
name: "toggleFullScreen";
|
|
319
|
-
viewMode: true;
|
|
320
|
-
trackEvent: {
|
|
321
|
-
category: "canvas";
|
|
322
|
-
predicate: (appState: Readonly<import("../types").AppState>) => boolean;
|
|
323
|
-
};
|
|
324
|
-
perform: () => {
|
|
325
|
-
commitToHistory: false;
|
|
326
|
-
};
|
|
327
|
-
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => false;
|
|
328
|
-
} & {
|
|
329
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => false) | undefined;
|
|
330
|
-
};
|
|
331
331
|
export declare const actionShortcuts: {
|
|
332
332
|
name: "toggleShortcuts";
|
|
333
333
|
viewMode: true;
|
|
@@ -472,7 +472,14 @@ export declare const actionShortcuts: {
|
|
|
472
472
|
Regular: string;
|
|
473
473
|
MajorGridFrequency?: number | undefined;
|
|
474
474
|
};
|
|
475
|
-
dynamicStyle:
|
|
475
|
+
dynamicStyle: {
|
|
476
|
+
[x: string]: string;
|
|
477
|
+
};
|
|
478
|
+
frameColor: {
|
|
479
|
+
stroke: string;
|
|
480
|
+
fill: string;
|
|
481
|
+
nameColor: string;
|
|
482
|
+
};
|
|
476
483
|
invertBindingBehaviour: boolean;
|
|
477
484
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
478
485
|
snapLines: readonly import("../snapping").SnapLine[];
|