@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
package/main.js
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
if (process.env.
|
|
1
|
+
if (process.env.IS_PREACT === "true") {
|
|
2
|
+
if (process.env.NODE_ENV === "production") {
|
|
3
|
+
module.exports = require("./dist/excalidraw-with-preact.production.min.js");
|
|
4
|
+
} else {
|
|
5
|
+
module.exports = require("./dist/excalidraw-with-preact.development.js");
|
|
6
|
+
}
|
|
7
|
+
} else if (process.env.NODE_ENV === "production") {
|
|
2
8
|
module.exports = require("./dist/excalidraw.production.min.js");
|
|
3
9
|
} else {
|
|
4
10
|
module.exports = require("./dist/excalidraw.development.js");
|
package/package.json
CHANGED
|
@@ -79,7 +79,7 @@ export declare const actionAddToLibrary: {
|
|
|
79
79
|
name: string;
|
|
80
80
|
tab?: string | undefined;
|
|
81
81
|
} | null;
|
|
82
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
82
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
83
83
|
defaultSidebarDockedPreference: boolean;
|
|
84
84
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
85
85
|
selectedElementIds: Readonly<{
|
|
@@ -139,7 +139,14 @@ export declare const actionAddToLibrary: {
|
|
|
139
139
|
Regular: string;
|
|
140
140
|
MajorGridFrequency?: number | undefined;
|
|
141
141
|
};
|
|
142
|
-
dynamicStyle:
|
|
142
|
+
dynamicStyle: {
|
|
143
|
+
[x: string]: string;
|
|
144
|
+
};
|
|
145
|
+
frameColor: {
|
|
146
|
+
stroke: string;
|
|
147
|
+
fill: string;
|
|
148
|
+
nameColor: string;
|
|
149
|
+
};
|
|
143
150
|
invertBindingBehaviour: boolean;
|
|
144
151
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
145
152
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -222,7 +229,7 @@ export declare const actionAddToLibrary: {
|
|
|
222
229
|
name: string;
|
|
223
230
|
tab?: string | undefined;
|
|
224
231
|
} | null;
|
|
225
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
232
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
226
233
|
defaultSidebarDockedPreference: boolean;
|
|
227
234
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
228
235
|
selectedElementIds: Readonly<{
|
|
@@ -287,7 +294,14 @@ export declare const actionAddToLibrary: {
|
|
|
287
294
|
Regular: string;
|
|
288
295
|
MajorGridFrequency?: number | undefined;
|
|
289
296
|
};
|
|
290
|
-
dynamicStyle:
|
|
297
|
+
dynamicStyle: {
|
|
298
|
+
[x: string]: string;
|
|
299
|
+
};
|
|
300
|
+
frameColor: {
|
|
301
|
+
stroke: string;
|
|
302
|
+
fill: string;
|
|
303
|
+
nameColor: string;
|
|
304
|
+
};
|
|
291
305
|
invertBindingBehaviour: boolean;
|
|
292
306
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
293
307
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -370,7 +384,7 @@ export declare const actionAddToLibrary: {
|
|
|
370
384
|
name: string;
|
|
371
385
|
tab?: string | undefined;
|
|
372
386
|
} | null;
|
|
373
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
387
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
374
388
|
defaultSidebarDockedPreference: boolean;
|
|
375
389
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
376
390
|
selectedElementIds: Readonly<{
|
|
@@ -435,7 +449,14 @@ export declare const actionAddToLibrary: {
|
|
|
435
449
|
Regular: string;
|
|
436
450
|
MajorGridFrequency?: number | undefined;
|
|
437
451
|
};
|
|
438
|
-
dynamicStyle:
|
|
452
|
+
dynamicStyle: {
|
|
453
|
+
[x: string]: string;
|
|
454
|
+
};
|
|
455
|
+
frameColor: {
|
|
456
|
+
stroke: string;
|
|
457
|
+
fill: string;
|
|
458
|
+
nameColor: string;
|
|
459
|
+
};
|
|
439
460
|
invertBindingBehaviour: boolean;
|
|
440
461
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
441
462
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -99,7 +99,7 @@ export declare const actionBindText: {
|
|
|
99
99
|
name: string;
|
|
100
100
|
tab?: string | undefined;
|
|
101
101
|
} | null;
|
|
102
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
102
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
103
103
|
defaultSidebarDockedPreference: boolean;
|
|
104
104
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
105
105
|
previousSelectedElementIds: {
|
|
@@ -161,7 +161,14 @@ export declare const actionBindText: {
|
|
|
161
161
|
Regular: string;
|
|
162
162
|
MajorGridFrequency?: number | undefined;
|
|
163
163
|
};
|
|
164
|
-
dynamicStyle:
|
|
164
|
+
dynamicStyle: {
|
|
165
|
+
[x: string]: string;
|
|
166
|
+
};
|
|
167
|
+
frameColor: {
|
|
168
|
+
stroke: string;
|
|
169
|
+
fill: string;
|
|
170
|
+
nameColor: string;
|
|
171
|
+
};
|
|
165
172
|
invertBindingBehaviour: boolean;
|
|
166
173
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
167
174
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -259,7 +266,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
259
266
|
name: string;
|
|
260
267
|
tab?: string | undefined;
|
|
261
268
|
} | null;
|
|
262
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
269
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
263
270
|
defaultSidebarDockedPreference: boolean;
|
|
264
271
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
265
272
|
previousSelectedElementIds: {
|
|
@@ -321,7 +328,14 @@ export declare const actionWrapTextInContainer: {
|
|
|
321
328
|
Regular: string;
|
|
322
329
|
MajorGridFrequency?: number | undefined;
|
|
323
330
|
};
|
|
324
|
-
dynamicStyle:
|
|
331
|
+
dynamicStyle: {
|
|
332
|
+
[x: string]: string;
|
|
333
|
+
};
|
|
334
|
+
frameColor: {
|
|
335
|
+
stroke: string;
|
|
336
|
+
fill: string;
|
|
337
|
+
nameColor: string;
|
|
338
|
+
};
|
|
325
339
|
invertBindingBehaviour: boolean;
|
|
326
340
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
327
341
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -55,7 +55,6 @@ export declare const actionClearCanvas: {
|
|
|
55
55
|
allowWheelZoom: boolean | undefined;
|
|
56
56
|
pinnedScripts: string[] | undefined;
|
|
57
57
|
customPens: any[] | undefined;
|
|
58
|
-
name: string;
|
|
59
58
|
contextMenu: {
|
|
60
59
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
61
60
|
top: number;
|
|
@@ -106,6 +105,7 @@ export declare const actionClearCanvas: {
|
|
|
106
105
|
scrollY: number;
|
|
107
106
|
cursorButton: "up" | "down";
|
|
108
107
|
scrolledOutside: boolean;
|
|
108
|
+
name: string;
|
|
109
109
|
isResizing: boolean;
|
|
110
110
|
isRotating: boolean;
|
|
111
111
|
zoom: Readonly<{
|
|
@@ -117,7 +117,7 @@ export declare const actionClearCanvas: {
|
|
|
117
117
|
name: string;
|
|
118
118
|
tab?: string | undefined;
|
|
119
119
|
} | null;
|
|
120
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
120
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
121
121
|
defaultSidebarDockedPreference: boolean;
|
|
122
122
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
123
123
|
selectedElementIds: Readonly<{
|
|
@@ -153,7 +153,14 @@ export declare const actionClearCanvas: {
|
|
|
153
153
|
Regular: string;
|
|
154
154
|
MajorGridFrequency?: number | undefined;
|
|
155
155
|
};
|
|
156
|
-
dynamicStyle:
|
|
156
|
+
dynamicStyle: {
|
|
157
|
+
[x: string]: string;
|
|
158
|
+
};
|
|
159
|
+
frameColor: {
|
|
160
|
+
stroke: string;
|
|
161
|
+
fill: string;
|
|
162
|
+
nameColor: string;
|
|
163
|
+
};
|
|
157
164
|
invertBindingBehaviour: boolean;
|
|
158
165
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
159
166
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -246,7 +253,7 @@ export declare const actionZoomIn: {
|
|
|
246
253
|
name: string;
|
|
247
254
|
tab?: string | undefined;
|
|
248
255
|
} | null;
|
|
249
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
256
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
250
257
|
defaultSidebarDockedPreference: boolean;
|
|
251
258
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
252
259
|
selectedElementIds: Readonly<{
|
|
@@ -311,7 +318,14 @@ export declare const actionZoomIn: {
|
|
|
311
318
|
Regular: string;
|
|
312
319
|
MajorGridFrequency?: number | undefined;
|
|
313
320
|
};
|
|
314
|
-
dynamicStyle:
|
|
321
|
+
dynamicStyle: {
|
|
322
|
+
[x: string]: string;
|
|
323
|
+
};
|
|
324
|
+
frameColor: {
|
|
325
|
+
stroke: string;
|
|
326
|
+
fill: string;
|
|
327
|
+
nameColor: string;
|
|
328
|
+
};
|
|
315
329
|
invertBindingBehaviour: boolean;
|
|
316
330
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
317
331
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -406,7 +420,7 @@ export declare const actionZoomOut: {
|
|
|
406
420
|
name: string;
|
|
407
421
|
tab?: string | undefined;
|
|
408
422
|
} | null;
|
|
409
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
423
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
410
424
|
defaultSidebarDockedPreference: boolean;
|
|
411
425
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
412
426
|
selectedElementIds: Readonly<{
|
|
@@ -471,7 +485,14 @@ export declare const actionZoomOut: {
|
|
|
471
485
|
Regular: string;
|
|
472
486
|
MajorGridFrequency?: number | undefined;
|
|
473
487
|
};
|
|
474
|
-
dynamicStyle:
|
|
488
|
+
dynamicStyle: {
|
|
489
|
+
[x: string]: string;
|
|
490
|
+
};
|
|
491
|
+
frameColor: {
|
|
492
|
+
stroke: string;
|
|
493
|
+
fill: string;
|
|
494
|
+
nameColor: string;
|
|
495
|
+
};
|
|
475
496
|
invertBindingBehaviour: boolean;
|
|
476
497
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
477
498
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -566,7 +587,7 @@ export declare const actionResetZoom: {
|
|
|
566
587
|
name: string;
|
|
567
588
|
tab?: string | undefined;
|
|
568
589
|
} | null;
|
|
569
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
590
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
570
591
|
defaultSidebarDockedPreference: boolean;
|
|
571
592
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
572
593
|
selectedElementIds: Readonly<{
|
|
@@ -631,7 +652,14 @@ export declare const actionResetZoom: {
|
|
|
631
652
|
Regular: string;
|
|
632
653
|
MajorGridFrequency?: number | undefined;
|
|
633
654
|
};
|
|
634
|
-
dynamicStyle:
|
|
655
|
+
dynamicStyle: {
|
|
656
|
+
[x: string]: string;
|
|
657
|
+
};
|
|
658
|
+
frameColor: {
|
|
659
|
+
stroke: string;
|
|
660
|
+
fill: string;
|
|
661
|
+
nameColor: string;
|
|
662
|
+
};
|
|
635
663
|
invertBindingBehaviour: boolean;
|
|
636
664
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
637
665
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -727,7 +755,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
|
|
|
727
755
|
name: string;
|
|
728
756
|
tab?: string | undefined;
|
|
729
757
|
} | null;
|
|
730
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
758
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
731
759
|
defaultSidebarDockedPreference: boolean;
|
|
732
760
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
733
761
|
selectedElementIds: Readonly<{
|
|
@@ -792,7 +820,14 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
|
|
|
792
820
|
Regular: string;
|
|
793
821
|
MajorGridFrequency?: number | undefined;
|
|
794
822
|
};
|
|
795
|
-
dynamicStyle:
|
|
823
|
+
dynamicStyle: {
|
|
824
|
+
[x: string]: string;
|
|
825
|
+
};
|
|
826
|
+
frameColor: {
|
|
827
|
+
stroke: string;
|
|
828
|
+
fill: string;
|
|
829
|
+
nameColor: string;
|
|
830
|
+
};
|
|
796
831
|
invertBindingBehaviour: boolean;
|
|
797
832
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
798
833
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -881,7 +916,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
881
916
|
name: string;
|
|
882
917
|
tab?: string | undefined;
|
|
883
918
|
} | null;
|
|
884
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
919
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
885
920
|
defaultSidebarDockedPreference: boolean;
|
|
886
921
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
887
922
|
selectedElementIds: Readonly<{
|
|
@@ -946,7 +981,14 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
946
981
|
Regular: string;
|
|
947
982
|
MajorGridFrequency?: number | undefined;
|
|
948
983
|
};
|
|
949
|
-
dynamicStyle:
|
|
984
|
+
dynamicStyle: {
|
|
985
|
+
[x: string]: string;
|
|
986
|
+
};
|
|
987
|
+
frameColor: {
|
|
988
|
+
stroke: string;
|
|
989
|
+
fill: string;
|
|
990
|
+
nameColor: string;
|
|
991
|
+
};
|
|
950
992
|
invertBindingBehaviour: boolean;
|
|
951
993
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
952
994
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1039,7 +1081,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1039
1081
|
name: string;
|
|
1040
1082
|
tab?: string | undefined;
|
|
1041
1083
|
} | null;
|
|
1042
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1084
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
1043
1085
|
defaultSidebarDockedPreference: boolean;
|
|
1044
1086
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1045
1087
|
selectedElementIds: Readonly<{
|
|
@@ -1104,7 +1146,14 @@ export declare const actionZoomToFitSelection: {
|
|
|
1104
1146
|
Regular: string;
|
|
1105
1147
|
MajorGridFrequency?: number | undefined;
|
|
1106
1148
|
};
|
|
1107
|
-
dynamicStyle:
|
|
1149
|
+
dynamicStyle: {
|
|
1150
|
+
[x: string]: string;
|
|
1151
|
+
};
|
|
1152
|
+
frameColor: {
|
|
1153
|
+
stroke: string;
|
|
1154
|
+
fill: string;
|
|
1155
|
+
nameColor: string;
|
|
1156
|
+
};
|
|
1108
1157
|
invertBindingBehaviour: boolean;
|
|
1109
1158
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1110
1159
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1198,7 +1247,7 @@ export declare const actionZoomToFit: {
|
|
|
1198
1247
|
name: string;
|
|
1199
1248
|
tab?: string | undefined;
|
|
1200
1249
|
} | null;
|
|
1201
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1250
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
1202
1251
|
defaultSidebarDockedPreference: boolean;
|
|
1203
1252
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1204
1253
|
selectedElementIds: Readonly<{
|
|
@@ -1263,7 +1312,14 @@ export declare const actionZoomToFit: {
|
|
|
1263
1312
|
Regular: string;
|
|
1264
1313
|
MajorGridFrequency?: number | undefined;
|
|
1265
1314
|
};
|
|
1266
|
-
dynamicStyle:
|
|
1315
|
+
dynamicStyle: {
|
|
1316
|
+
[x: string]: string;
|
|
1317
|
+
};
|
|
1318
|
+
frameColor: {
|
|
1319
|
+
stroke: string;
|
|
1320
|
+
fill: string;
|
|
1321
|
+
nameColor: string;
|
|
1322
|
+
};
|
|
1267
1323
|
invertBindingBehaviour: boolean;
|
|
1268
1324
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1269
1325
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1358,7 +1414,7 @@ export declare const actionToggleTheme: {
|
|
|
1358
1414
|
name: string;
|
|
1359
1415
|
tab?: string | undefined;
|
|
1360
1416
|
} | null;
|
|
1361
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1417
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
1362
1418
|
defaultSidebarDockedPreference: boolean;
|
|
1363
1419
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1364
1420
|
selectedElementIds: Readonly<{
|
|
@@ -1422,7 +1478,14 @@ export declare const actionToggleTheme: {
|
|
|
1422
1478
|
Regular: string;
|
|
1423
1479
|
MajorGridFrequency?: number | undefined;
|
|
1424
1480
|
};
|
|
1425
|
-
dynamicStyle:
|
|
1481
|
+
dynamicStyle: {
|
|
1482
|
+
[x: string]: string;
|
|
1483
|
+
};
|
|
1484
|
+
frameColor: {
|
|
1485
|
+
stroke: string;
|
|
1486
|
+
fill: string;
|
|
1487
|
+
nameColor: string;
|
|
1488
|
+
};
|
|
1426
1489
|
invertBindingBehaviour: boolean;
|
|
1427
1490
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1428
1491
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1515,7 +1578,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1515
1578
|
name: string;
|
|
1516
1579
|
tab?: string | undefined;
|
|
1517
1580
|
} | null;
|
|
1518
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1581
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
1519
1582
|
defaultSidebarDockedPreference: boolean;
|
|
1520
1583
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1521
1584
|
previousSelectedElementIds: {
|
|
@@ -1574,7 +1637,14 @@ export declare const actionToggleEraserTool: {
|
|
|
1574
1637
|
Regular: string;
|
|
1575
1638
|
MajorGridFrequency?: number | undefined;
|
|
1576
1639
|
};
|
|
1577
|
-
dynamicStyle:
|
|
1640
|
+
dynamicStyle: {
|
|
1641
|
+
[x: string]: string;
|
|
1642
|
+
};
|
|
1643
|
+
frameColor: {
|
|
1644
|
+
stroke: string;
|
|
1645
|
+
fill: string;
|
|
1646
|
+
nameColor: string;
|
|
1647
|
+
};
|
|
1578
1648
|
invertBindingBehaviour: boolean;
|
|
1579
1649
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1580
1650
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1666,7 +1736,7 @@ export declare const actionToggleHandTool: {
|
|
|
1666
1736
|
name: string;
|
|
1667
1737
|
tab?: string | undefined;
|
|
1668
1738
|
} | null;
|
|
1669
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1739
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
1670
1740
|
defaultSidebarDockedPreference: boolean;
|
|
1671
1741
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1672
1742
|
previousSelectedElementIds: {
|
|
@@ -1725,7 +1795,14 @@ export declare const actionToggleHandTool: {
|
|
|
1725
1795
|
Regular: string;
|
|
1726
1796
|
MajorGridFrequency?: number | undefined;
|
|
1727
1797
|
};
|
|
1728
|
-
dynamicStyle:
|
|
1798
|
+
dynamicStyle: {
|
|
1799
|
+
[x: string]: string;
|
|
1800
|
+
};
|
|
1801
|
+
frameColor: {
|
|
1802
|
+
stroke: string;
|
|
1803
|
+
fill: string;
|
|
1804
|
+
nameColor: string;
|
|
1805
|
+
};
|
|
1729
1806
|
invertBindingBehaviour: boolean;
|
|
1730
1807
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1731
1808
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1818,7 +1895,7 @@ export declare const actionToggleLaserPointer: {
|
|
|
1818
1895
|
name: string;
|
|
1819
1896
|
tab?: string | undefined;
|
|
1820
1897
|
} | null;
|
|
1821
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1898
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
1822
1899
|
defaultSidebarDockedPreference: boolean;
|
|
1823
1900
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1824
1901
|
previousSelectedElementIds: {
|
|
@@ -1877,7 +1954,14 @@ export declare const actionToggleLaserPointer: {
|
|
|
1877
1954
|
Regular: string;
|
|
1878
1955
|
MajorGridFrequency?: number | undefined;
|
|
1879
1956
|
};
|
|
1880
|
-
dynamicStyle:
|
|
1957
|
+
dynamicStyle: {
|
|
1958
|
+
[x: string]: string;
|
|
1959
|
+
};
|
|
1960
|
+
frameColor: {
|
|
1961
|
+
stroke: string;
|
|
1962
|
+
fill: string;
|
|
1963
|
+
nameColor: string;
|
|
1964
|
+
};
|
|
1881
1965
|
invertBindingBehaviour: boolean;
|
|
1882
1966
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1883
1967
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1966,7 +2050,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
1966
2050
|
name: string;
|
|
1967
2051
|
tab?: string | undefined;
|
|
1968
2052
|
} | null;
|
|
1969
|
-
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
2053
|
+
openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
|
|
1970
2054
|
defaultSidebarDockedPreference: boolean;
|
|
1971
2055
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1972
2056
|
selectedElementIds: Readonly<{
|
|
@@ -2031,7 +2115,14 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
2031
2115
|
Regular: string;
|
|
2032
2116
|
MajorGridFrequency?: number | undefined;
|
|
2033
2117
|
};
|
|
2034
|
-
dynamicStyle:
|
|
2118
|
+
dynamicStyle: {
|
|
2119
|
+
[x: string]: string;
|
|
2120
|
+
};
|
|
2121
|
+
frameColor: {
|
|
2122
|
+
stroke: string;
|
|
2123
|
+
fill: string;
|
|
2124
|
+
nameColor: string;
|
|
2125
|
+
};
|
|
2035
2126
|
invertBindingBehaviour: boolean;
|
|
2036
2127
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
2037
2128
|
snapLines: readonly import("../snapping").SnapLine[];
|