@zsviczian/excalidraw 0.18.0-30-printFrame-test-1 → 0.18.0-31
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 +20 -20
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/element/src/newElement.d.ts +1 -0
- package/types/element/src/types.d.ts +8 -1
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +9 -0
- package/types/excalidraw/actions/actionBoundText.d.ts +6 -0
- package/types/excalidraw/actions/actionCanvas.d.ts +60 -15
- package/types/excalidraw/actions/actionClipboard.d.ts +18 -0
- package/types/excalidraw/actions/actionCropEditor.d.ts +3 -0
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +9 -0
- package/types/excalidraw/actions/actionElementLink.d.ts +3 -0
- package/types/excalidraw/actions/actionElementLock.d.ts +6 -0
- package/types/excalidraw/actions/actionEmbeddable.d.ts +3 -0
- package/types/excalidraw/actions/actionExport.d.ts +27 -0
- package/types/excalidraw/actions/actionFinalize.d.ts +9 -0
- package/types/excalidraw/actions/actionFrame.d.ts +19 -1
- package/types/excalidraw/actions/actionGroup.d.ts +6 -0
- package/types/excalidraw/actions/actionLinearEditor.d.ts +10 -1
- package/types/excalidraw/actions/actionLink.d.ts +3 -0
- package/types/excalidraw/actions/actionMenu.d.ts +9 -0
- package/types/excalidraw/actions/actionNavigate.d.ts +6 -0
- package/types/excalidraw/actions/actionProperties.d.ts +275 -0
- package/types/excalidraw/actions/actionSelectAll.d.ts +3 -0
- package/types/excalidraw/actions/actionStyles.d.ts +3 -0
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +3 -0
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +3 -0
- package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +3 -0
- package/types/excalidraw/actions/actionToggleStats.d.ts +3 -0
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +3 -0
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +3 -0
- package/types/excalidraw/actions/index.d.ts +1 -0
- package/types/excalidraw/actions/types.d.ts +1 -1
- package/types/excalidraw/appState.d.ts +1 -0
- package/types/excalidraw/components/App.d.ts +2 -0
- package/types/excalidraw/components/icons.d.ts +1 -0
- package/types/excalidraw/types.d.ts +3 -0
package/package.json
CHANGED
|
@@ -12,6 +12,7 @@ export declare const newIframeElement: (opts: {
|
|
|
12
12
|
} & ElementConstructorOpts) => NonDeleted<ExcalidrawIframeElement>;
|
|
13
13
|
export declare const newFrameElement: (opts: {
|
|
14
14
|
name?: string;
|
|
15
|
+
frameRole?: ExcalidrawFrameElement["frameRole"];
|
|
15
16
|
} & ElementConstructorOpts) => NonDeleted<ExcalidrawFrameElement>;
|
|
16
17
|
export declare const newMagicFrameElement: (opts: {
|
|
17
18
|
name?: string;
|
|
@@ -139,16 +139,23 @@ export type ExcalidrawImageElement = _ExcalidrawElementBase & Readonly<{
|
|
|
139
139
|
crop: ImageCrop | null;
|
|
140
140
|
}>;
|
|
141
141
|
export type InitializedExcalidrawImageElement = MarkNonNullable<ExcalidrawImageElement, "fileId">;
|
|
142
|
+
type FrameRole = null | "marker";
|
|
142
143
|
export type ExcalidrawFrameElement = _ExcalidrawElementBase & {
|
|
143
144
|
type: "frame";
|
|
144
145
|
name: string | null;
|
|
146
|
+
frameRole?: FrameRole;
|
|
145
147
|
customData?: {
|
|
146
|
-
|
|
148
|
+
frameColor?: {
|
|
149
|
+
fill: string;
|
|
150
|
+
stroke: string;
|
|
151
|
+
nameColor: string;
|
|
152
|
+
};
|
|
147
153
|
};
|
|
148
154
|
};
|
|
149
155
|
export type ExcalidrawMagicFrameElement = _ExcalidrawElementBase & {
|
|
150
156
|
type: "magicframe";
|
|
151
157
|
name: string | null;
|
|
158
|
+
frameRole?: FrameRole;
|
|
152
159
|
};
|
|
153
160
|
export type ExcalidrawFrameLikeElement = ExcalidrawFrameElement | ExcalidrawMagicFrameElement;
|
|
154
161
|
/**
|
|
@@ -34,6 +34,8 @@ export declare const actionAddToLibrary: {
|
|
|
34
34
|
name: boolean;
|
|
35
35
|
outline: boolean;
|
|
36
36
|
clip: boolean;
|
|
37
|
+
markerName: boolean;
|
|
38
|
+
markerEnabled: boolean;
|
|
37
39
|
};
|
|
38
40
|
editingFrame: string | null;
|
|
39
41
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
@@ -64,6 +66,7 @@ export declare const actionAddToLibrary: {
|
|
|
64
66
|
currentHoveredFontFamily: number | null;
|
|
65
67
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
66
68
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
69
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
67
70
|
viewBackgroundColor: string;
|
|
68
71
|
scrollX: number;
|
|
69
72
|
scrollY: number;
|
|
@@ -237,6 +240,8 @@ export declare const actionAddToLibrary: {
|
|
|
237
240
|
name: boolean;
|
|
238
241
|
outline: boolean;
|
|
239
242
|
clip: boolean;
|
|
243
|
+
markerName: boolean;
|
|
244
|
+
markerEnabled: boolean;
|
|
240
245
|
};
|
|
241
246
|
editingFrame: string | null;
|
|
242
247
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
@@ -267,6 +272,7 @@ export declare const actionAddToLibrary: {
|
|
|
267
272
|
currentHoveredFontFamily: number | null;
|
|
268
273
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
269
274
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
275
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
270
276
|
viewBackgroundColor: string;
|
|
271
277
|
scrollX: number;
|
|
272
278
|
scrollY: number;
|
|
@@ -445,6 +451,8 @@ export declare const actionAddToLibrary: {
|
|
|
445
451
|
name: boolean;
|
|
446
452
|
outline: boolean;
|
|
447
453
|
clip: boolean;
|
|
454
|
+
markerName: boolean;
|
|
455
|
+
markerEnabled: boolean;
|
|
448
456
|
};
|
|
449
457
|
editingFrame: string | null;
|
|
450
458
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
@@ -475,6 +483,7 @@ export declare const actionAddToLibrary: {
|
|
|
475
483
|
currentHoveredFontFamily: number | null;
|
|
476
484
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
477
485
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
486
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
478
487
|
viewBackgroundColor: string;
|
|
479
488
|
scrollX: number;
|
|
480
489
|
scrollY: number;
|
|
@@ -54,6 +54,8 @@ export declare const actionBindText: {
|
|
|
54
54
|
name: boolean;
|
|
55
55
|
outline: boolean;
|
|
56
56
|
clip: boolean;
|
|
57
|
+
markerName: boolean;
|
|
58
|
+
markerEnabled: boolean;
|
|
57
59
|
};
|
|
58
60
|
editingFrame: string | null;
|
|
59
61
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -84,6 +86,7 @@ export declare const actionBindText: {
|
|
|
84
86
|
currentHoveredFontFamily: number | null;
|
|
85
87
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
86
88
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
89
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
87
90
|
viewBackgroundColor: string;
|
|
88
91
|
scrollX: number;
|
|
89
92
|
scrollY: number;
|
|
@@ -274,6 +277,8 @@ export declare const actionWrapTextInContainer: {
|
|
|
274
277
|
name: boolean;
|
|
275
278
|
outline: boolean;
|
|
276
279
|
clip: boolean;
|
|
280
|
+
markerName: boolean;
|
|
281
|
+
markerEnabled: boolean;
|
|
277
282
|
};
|
|
278
283
|
editingFrame: string | null;
|
|
279
284
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -304,6 +309,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
304
309
|
currentHoveredFontFamily: number | null;
|
|
305
310
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
306
311
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
312
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
307
313
|
viewBackgroundColor: string;
|
|
308
314
|
scrollX: number;
|
|
309
315
|
scrollY: number;
|
|
@@ -71,6 +71,8 @@ export declare const actionClearCanvas: {
|
|
|
71
71
|
name: boolean;
|
|
72
72
|
outline: boolean;
|
|
73
73
|
clip: boolean;
|
|
74
|
+
markerName: boolean;
|
|
75
|
+
markerEnabled: boolean;
|
|
74
76
|
};
|
|
75
77
|
frameColor: {
|
|
76
78
|
stroke: string;
|
|
@@ -93,7 +95,7 @@ export declare const actionClearCanvas: {
|
|
|
93
95
|
name: "commandPalette";
|
|
94
96
|
} | {
|
|
95
97
|
name: "elementLinkSelector";
|
|
96
|
-
sourceElementId: string;
|
|
98
|
+
sourceElementId: string; /** whether to fit content to viewport (beyond >100%) */
|
|
97
99
|
} | null;
|
|
98
100
|
editingGroupId: string | null;
|
|
99
101
|
selectedElementIds: Readonly<{
|
|
@@ -182,6 +184,7 @@ export declare const actionClearCanvas: {
|
|
|
182
184
|
currentHoveredFontFamily: number | null;
|
|
183
185
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
184
186
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
187
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
185
188
|
cursorButton: "up" | "down";
|
|
186
189
|
scrolledOutside: boolean;
|
|
187
190
|
isResizing: boolean;
|
|
@@ -273,6 +276,8 @@ export declare const actionZoomIn: {
|
|
|
273
276
|
name: boolean;
|
|
274
277
|
outline: boolean;
|
|
275
278
|
clip: boolean;
|
|
279
|
+
markerName: boolean;
|
|
280
|
+
markerEnabled: boolean;
|
|
276
281
|
};
|
|
277
282
|
editingFrame: string | null;
|
|
278
283
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -303,6 +308,7 @@ export declare const actionZoomIn: {
|
|
|
303
308
|
currentHoveredFontFamily: number | null;
|
|
304
309
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
305
310
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
311
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
306
312
|
viewBackgroundColor: string;
|
|
307
313
|
cursorButton: "up" | "down";
|
|
308
314
|
scrolledOutside: boolean;
|
|
@@ -324,7 +330,7 @@ export declare const actionZoomIn: {
|
|
|
324
330
|
name: "commandPalette";
|
|
325
331
|
} | {
|
|
326
332
|
name: "elementLinkSelector";
|
|
327
|
-
sourceElementId: string;
|
|
333
|
+
sourceElementId: string; /** whether to fit content to viewport (beyond >100%) */
|
|
328
334
|
} | null;
|
|
329
335
|
defaultSidebarDockedPreference: boolean;
|
|
330
336
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -495,6 +501,8 @@ export declare const actionZoomOut: {
|
|
|
495
501
|
name: boolean;
|
|
496
502
|
outline: boolean;
|
|
497
503
|
clip: boolean;
|
|
504
|
+
markerName: boolean;
|
|
505
|
+
markerEnabled: boolean;
|
|
498
506
|
};
|
|
499
507
|
editingFrame: string | null;
|
|
500
508
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -525,6 +533,7 @@ export declare const actionZoomOut: {
|
|
|
525
533
|
currentHoveredFontFamily: number | null;
|
|
526
534
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
527
535
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
536
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
528
537
|
viewBackgroundColor: string;
|
|
529
538
|
cursorButton: "up" | "down";
|
|
530
539
|
scrolledOutside: boolean;
|
|
@@ -546,7 +555,7 @@ export declare const actionZoomOut: {
|
|
|
546
555
|
name: "commandPalette";
|
|
547
556
|
} | {
|
|
548
557
|
name: "elementLinkSelector";
|
|
549
|
-
sourceElementId: string;
|
|
558
|
+
sourceElementId: string; /** whether to fit content to viewport (beyond >100%) */
|
|
550
559
|
} | null;
|
|
551
560
|
defaultSidebarDockedPreference: boolean;
|
|
552
561
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -717,6 +726,8 @@ export declare const actionResetZoom: {
|
|
|
717
726
|
name: boolean;
|
|
718
727
|
outline: boolean;
|
|
719
728
|
clip: boolean;
|
|
729
|
+
markerName: boolean;
|
|
730
|
+
markerEnabled: boolean;
|
|
720
731
|
};
|
|
721
732
|
editingFrame: string | null;
|
|
722
733
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -747,6 +758,7 @@ export declare const actionResetZoom: {
|
|
|
747
758
|
currentHoveredFontFamily: number | null;
|
|
748
759
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
749
760
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
761
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
750
762
|
viewBackgroundColor: string;
|
|
751
763
|
cursorButton: "up" | "down";
|
|
752
764
|
scrolledOutside: boolean;
|
|
@@ -768,7 +780,7 @@ export declare const actionResetZoom: {
|
|
|
768
780
|
name: "commandPalette";
|
|
769
781
|
} | {
|
|
770
782
|
name: "elementLinkSelector";
|
|
771
|
-
sourceElementId: string;
|
|
783
|
+
sourceElementId: string; /** whether to fit content to viewport (beyond >100%) */
|
|
772
784
|
} | null;
|
|
773
785
|
defaultSidebarDockedPreference: boolean;
|
|
774
786
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -945,6 +957,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
945
957
|
name: boolean;
|
|
946
958
|
outline: boolean;
|
|
947
959
|
clip: boolean;
|
|
960
|
+
markerName: boolean;
|
|
961
|
+
markerEnabled: boolean;
|
|
948
962
|
};
|
|
949
963
|
editingFrame: string | null;
|
|
950
964
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -975,6 +989,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
975
989
|
currentHoveredFontFamily: number | null;
|
|
976
990
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
977
991
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
992
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
978
993
|
viewBackgroundColor: string;
|
|
979
994
|
cursorButton: "up" | "down";
|
|
980
995
|
scrolledOutside: boolean;
|
|
@@ -996,7 +1011,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
996
1011
|
name: "commandPalette";
|
|
997
1012
|
} | {
|
|
998
1013
|
name: "elementLinkSelector";
|
|
999
|
-
sourceElementId: string;
|
|
1014
|
+
sourceElementId: string; /** whether to fit content to viewport (beyond >100%) */
|
|
1000
1015
|
} | null;
|
|
1001
1016
|
defaultSidebarDockedPreference: boolean;
|
|
1002
1017
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -1169,6 +1184,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1169
1184
|
name: boolean;
|
|
1170
1185
|
outline: boolean;
|
|
1171
1186
|
clip: boolean;
|
|
1187
|
+
markerName: boolean;
|
|
1188
|
+
markerEnabled: boolean;
|
|
1172
1189
|
};
|
|
1173
1190
|
editingFrame: string | null;
|
|
1174
1191
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -1199,6 +1216,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1199
1216
|
currentHoveredFontFamily: number | null;
|
|
1200
1217
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1201
1218
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1219
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
1202
1220
|
viewBackgroundColor: string;
|
|
1203
1221
|
cursorButton: "up" | "down";
|
|
1204
1222
|
scrolledOutside: boolean;
|
|
@@ -1220,7 +1238,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1220
1238
|
name: "commandPalette";
|
|
1221
1239
|
} | {
|
|
1222
1240
|
name: "elementLinkSelector";
|
|
1223
|
-
sourceElementId: string;
|
|
1241
|
+
sourceElementId: string; /** whether to fit content to viewport (beyond >100%) */
|
|
1224
1242
|
} | null;
|
|
1225
1243
|
defaultSidebarDockedPreference: boolean;
|
|
1226
1244
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -1385,6 +1403,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1385
1403
|
name: boolean;
|
|
1386
1404
|
outline: boolean;
|
|
1387
1405
|
clip: boolean;
|
|
1406
|
+
markerName: boolean;
|
|
1407
|
+
markerEnabled: boolean;
|
|
1388
1408
|
};
|
|
1389
1409
|
editingFrame: string | null;
|
|
1390
1410
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -1415,6 +1435,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1415
1435
|
currentHoveredFontFamily: number | null;
|
|
1416
1436
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1417
1437
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1438
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
1418
1439
|
viewBackgroundColor: string;
|
|
1419
1440
|
cursorButton: "up" | "down";
|
|
1420
1441
|
scrolledOutside: boolean;
|
|
@@ -1436,7 +1457,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1436
1457
|
name: "commandPalette";
|
|
1437
1458
|
} | {
|
|
1438
1459
|
name: "elementLinkSelector";
|
|
1439
|
-
sourceElementId: string;
|
|
1460
|
+
sourceElementId: string; /** whether to fit content to viewport (beyond >100%) */
|
|
1440
1461
|
} | null;
|
|
1441
1462
|
defaultSidebarDockedPreference: boolean;
|
|
1442
1463
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -1605,6 +1626,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
1605
1626
|
name: boolean;
|
|
1606
1627
|
outline: boolean;
|
|
1607
1628
|
clip: boolean;
|
|
1629
|
+
markerName: boolean;
|
|
1630
|
+
markerEnabled: boolean;
|
|
1608
1631
|
};
|
|
1609
1632
|
editingFrame: string | null;
|
|
1610
1633
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -1635,6 +1658,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1635
1658
|
currentHoveredFontFamily: number | null;
|
|
1636
1659
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1637
1660
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1661
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
1638
1662
|
viewBackgroundColor: string;
|
|
1639
1663
|
cursorButton: "up" | "down";
|
|
1640
1664
|
scrolledOutside: boolean;
|
|
@@ -1656,7 +1680,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1656
1680
|
name: "commandPalette";
|
|
1657
1681
|
} | {
|
|
1658
1682
|
name: "elementLinkSelector";
|
|
1659
|
-
sourceElementId: string;
|
|
1683
|
+
sourceElementId: string; /** whether to fit content to viewport (beyond >100%) */
|
|
1660
1684
|
} | null;
|
|
1661
1685
|
defaultSidebarDockedPreference: boolean;
|
|
1662
1686
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -1826,6 +1850,8 @@ export declare const actionZoomToFit: {
|
|
|
1826
1850
|
name: boolean;
|
|
1827
1851
|
outline: boolean;
|
|
1828
1852
|
clip: boolean;
|
|
1853
|
+
markerName: boolean;
|
|
1854
|
+
markerEnabled: boolean;
|
|
1829
1855
|
};
|
|
1830
1856
|
editingFrame: string | null;
|
|
1831
1857
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -1856,6 +1882,7 @@ export declare const actionZoomToFit: {
|
|
|
1856
1882
|
currentHoveredFontFamily: number | null;
|
|
1857
1883
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1858
1884
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1885
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
1859
1886
|
viewBackgroundColor: string;
|
|
1860
1887
|
cursorButton: "up" | "down";
|
|
1861
1888
|
scrolledOutside: boolean;
|
|
@@ -1877,7 +1904,7 @@ export declare const actionZoomToFit: {
|
|
|
1877
1904
|
name: "commandPalette";
|
|
1878
1905
|
} | {
|
|
1879
1906
|
name: "elementLinkSelector";
|
|
1880
|
-
sourceElementId: string;
|
|
1907
|
+
sourceElementId: string; /** whether to fit content to viewport (beyond >100%) */
|
|
1881
1908
|
} | null;
|
|
1882
1909
|
defaultSidebarDockedPreference: boolean;
|
|
1883
1910
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -2044,6 +2071,8 @@ export declare const actionToggleTheme: {
|
|
|
2044
2071
|
name: boolean;
|
|
2045
2072
|
outline: boolean;
|
|
2046
2073
|
clip: boolean;
|
|
2074
|
+
markerName: boolean;
|
|
2075
|
+
markerEnabled: boolean;
|
|
2047
2076
|
};
|
|
2048
2077
|
editingFrame: string | null;
|
|
2049
2078
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -2074,6 +2103,7 @@ export declare const actionToggleTheme: {
|
|
|
2074
2103
|
currentHoveredFontFamily: number | null;
|
|
2075
2104
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
2076
2105
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
2106
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
2077
2107
|
viewBackgroundColor: string;
|
|
2078
2108
|
scrollX: number;
|
|
2079
2109
|
scrollY: number;
|
|
@@ -2100,7 +2130,7 @@ export declare const actionToggleTheme: {
|
|
|
2100
2130
|
name: "commandPalette";
|
|
2101
2131
|
} | {
|
|
2102
2132
|
name: "elementLinkSelector";
|
|
2103
|
-
sourceElementId: string;
|
|
2133
|
+
sourceElementId: string; /** whether to fit content to viewport (beyond >100%) */
|
|
2104
2134
|
} | null;
|
|
2105
2135
|
defaultSidebarDockedPreference: boolean;
|
|
2106
2136
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -2267,6 +2297,8 @@ export declare const actionToggleEraserTool: {
|
|
|
2267
2297
|
name: boolean;
|
|
2268
2298
|
outline: boolean;
|
|
2269
2299
|
clip: boolean;
|
|
2300
|
+
markerName: boolean;
|
|
2301
|
+
markerEnabled: boolean;
|
|
2270
2302
|
};
|
|
2271
2303
|
editingFrame: string | null;
|
|
2272
2304
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -2292,6 +2324,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2292
2324
|
currentHoveredFontFamily: number | null;
|
|
2293
2325
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
2294
2326
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
2327
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
2295
2328
|
viewBackgroundColor: string;
|
|
2296
2329
|
scrollX: number;
|
|
2297
2330
|
scrollY: number;
|
|
@@ -2318,7 +2351,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2318
2351
|
name: "commandPalette";
|
|
2319
2352
|
} | {
|
|
2320
2353
|
name: "elementLinkSelector";
|
|
2321
|
-
sourceElementId: string;
|
|
2354
|
+
sourceElementId: string; /** whether to fit content to viewport (beyond >100%) */
|
|
2322
2355
|
} | null;
|
|
2323
2356
|
defaultSidebarDockedPreference: boolean;
|
|
2324
2357
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -2480,6 +2513,8 @@ export declare const actionToggleLassoTool: {
|
|
|
2480
2513
|
name: boolean;
|
|
2481
2514
|
outline: boolean;
|
|
2482
2515
|
clip: boolean;
|
|
2516
|
+
markerName: boolean;
|
|
2517
|
+
markerEnabled: boolean;
|
|
2483
2518
|
};
|
|
2484
2519
|
editingFrame: string | null;
|
|
2485
2520
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -2505,6 +2540,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2505
2540
|
currentHoveredFontFamily: number | null;
|
|
2506
2541
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
2507
2542
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
2543
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
2508
2544
|
viewBackgroundColor: string;
|
|
2509
2545
|
scrollX: number;
|
|
2510
2546
|
scrollY: number;
|
|
@@ -2531,7 +2567,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2531
2567
|
name: "commandPalette";
|
|
2532
2568
|
} | {
|
|
2533
2569
|
name: "elementLinkSelector";
|
|
2534
|
-
sourceElementId: string;
|
|
2570
|
+
sourceElementId: string; /** whether to fit content to viewport (beyond >100%) */
|
|
2535
2571
|
} | null;
|
|
2536
2572
|
defaultSidebarDockedPreference: boolean;
|
|
2537
2573
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -2693,6 +2729,8 @@ export declare const actionToggleHandTool: {
|
|
|
2693
2729
|
name: boolean;
|
|
2694
2730
|
outline: boolean;
|
|
2695
2731
|
clip: boolean;
|
|
2732
|
+
markerName: boolean;
|
|
2733
|
+
markerEnabled: boolean;
|
|
2696
2734
|
};
|
|
2697
2735
|
editingFrame: string | null;
|
|
2698
2736
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -2718,6 +2756,7 @@ export declare const actionToggleHandTool: {
|
|
|
2718
2756
|
currentHoveredFontFamily: number | null;
|
|
2719
2757
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
2720
2758
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
2759
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
2721
2760
|
viewBackgroundColor: string;
|
|
2722
2761
|
scrollX: number;
|
|
2723
2762
|
scrollY: number;
|
|
@@ -2744,7 +2783,7 @@ export declare const actionToggleHandTool: {
|
|
|
2744
2783
|
name: "commandPalette";
|
|
2745
2784
|
} | {
|
|
2746
2785
|
name: "elementLinkSelector";
|
|
2747
|
-
sourceElementId: string;
|
|
2786
|
+
sourceElementId: string; /** whether to fit content to viewport (beyond >100%) */
|
|
2748
2787
|
} | null;
|
|
2749
2788
|
defaultSidebarDockedPreference: boolean;
|
|
2750
2789
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -2905,6 +2944,8 @@ export declare const actionToggleLaserPointer: {
|
|
|
2905
2944
|
name: boolean;
|
|
2906
2945
|
outline: boolean;
|
|
2907
2946
|
clip: boolean;
|
|
2947
|
+
markerName: boolean;
|
|
2948
|
+
markerEnabled: boolean;
|
|
2908
2949
|
};
|
|
2909
2950
|
editingFrame: string | null;
|
|
2910
2951
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -2930,6 +2971,7 @@ export declare const actionToggleLaserPointer: {
|
|
|
2930
2971
|
currentHoveredFontFamily: number | null;
|
|
2931
2972
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
2932
2973
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
2974
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
2933
2975
|
viewBackgroundColor: string;
|
|
2934
2976
|
scrollX: number;
|
|
2935
2977
|
scrollY: number;
|
|
@@ -2956,7 +2998,7 @@ export declare const actionToggleLaserPointer: {
|
|
|
2956
2998
|
name: "commandPalette";
|
|
2957
2999
|
} | {
|
|
2958
3000
|
name: "elementLinkSelector";
|
|
2959
|
-
sourceElementId: string;
|
|
3001
|
+
sourceElementId: string; /** whether to fit content to viewport (beyond >100%) */
|
|
2960
3002
|
} | null;
|
|
2961
3003
|
defaultSidebarDockedPreference: boolean;
|
|
2962
3004
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -3114,6 +3156,8 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
3114
3156
|
name: boolean;
|
|
3115
3157
|
outline: boolean;
|
|
3116
3158
|
clip: boolean;
|
|
3159
|
+
markerName: boolean;
|
|
3160
|
+
markerEnabled: boolean;
|
|
3117
3161
|
};
|
|
3118
3162
|
editingFrame: string | null;
|
|
3119
3163
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -3144,6 +3188,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
3144
3188
|
currentHoveredFontFamily: number | null;
|
|
3145
3189
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
3146
3190
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
3191
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
3147
3192
|
viewBackgroundColor: string;
|
|
3148
3193
|
cursorButton: "up" | "down";
|
|
3149
3194
|
scrolledOutside: boolean;
|
|
@@ -3165,7 +3210,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
3165
3210
|
name: "commandPalette";
|
|
3166
3211
|
} | {
|
|
3167
3212
|
name: "elementLinkSelector";
|
|
3168
|
-
sourceElementId: string;
|
|
3213
|
+
sourceElementId: string; /** whether to fit content to viewport (beyond >100%) */
|
|
3169
3214
|
} | null;
|
|
3170
3215
|
defaultSidebarDockedPreference: boolean;
|
|
3171
3216
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -33,6 +33,8 @@ export declare const actionCopy: {
|
|
|
33
33
|
name: boolean;
|
|
34
34
|
outline: boolean;
|
|
35
35
|
clip: boolean;
|
|
36
|
+
markerName: boolean;
|
|
37
|
+
markerEnabled: boolean;
|
|
36
38
|
};
|
|
37
39
|
editingFrame: string | null;
|
|
38
40
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
@@ -63,6 +65,7 @@ export declare const actionCopy: {
|
|
|
63
65
|
currentHoveredFontFamily: number | null;
|
|
64
66
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
65
67
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
68
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
66
69
|
viewBackgroundColor: string;
|
|
67
70
|
scrollX: number;
|
|
68
71
|
scrollY: number;
|
|
@@ -255,6 +258,8 @@ export declare const actionPaste: {
|
|
|
255
258
|
name: boolean;
|
|
256
259
|
outline: boolean;
|
|
257
260
|
clip: boolean;
|
|
261
|
+
markerName: boolean;
|
|
262
|
+
markerEnabled: boolean;
|
|
258
263
|
};
|
|
259
264
|
editingFrame: string | null;
|
|
260
265
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
@@ -285,6 +290,7 @@ export declare const actionPaste: {
|
|
|
285
290
|
currentHoveredFontFamily: number | null;
|
|
286
291
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
287
292
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
293
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
288
294
|
viewBackgroundColor: string;
|
|
289
295
|
scrollX: number;
|
|
290
296
|
scrollY: number;
|
|
@@ -479,6 +485,8 @@ export declare const actionCut: {
|
|
|
479
485
|
name: boolean;
|
|
480
486
|
outline: boolean;
|
|
481
487
|
clip: boolean;
|
|
488
|
+
markerName: boolean;
|
|
489
|
+
markerEnabled: boolean;
|
|
482
490
|
};
|
|
483
491
|
editingFrame: string | null;
|
|
484
492
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
@@ -509,6 +517,7 @@ export declare const actionCut: {
|
|
|
509
517
|
currentHoveredFontFamily: number | null;
|
|
510
518
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
511
519
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
520
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
512
521
|
viewBackgroundColor: string;
|
|
513
522
|
scrollX: number;
|
|
514
523
|
scrollY: number;
|
|
@@ -720,6 +729,8 @@ export declare const actionCut: {
|
|
|
720
729
|
name: boolean;
|
|
721
730
|
outline: boolean;
|
|
722
731
|
clip: boolean;
|
|
732
|
+
markerName: boolean;
|
|
733
|
+
markerEnabled: boolean;
|
|
723
734
|
};
|
|
724
735
|
editingFrame: string | null;
|
|
725
736
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
@@ -750,6 +761,7 @@ export declare const actionCut: {
|
|
|
750
761
|
currentHoveredFontFamily: number | null;
|
|
751
762
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
752
763
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
764
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
753
765
|
viewBackgroundColor: string;
|
|
754
766
|
scrollX: number;
|
|
755
767
|
scrollY: number;
|
|
@@ -938,6 +950,8 @@ export declare const actionCut: {
|
|
|
938
950
|
name: boolean;
|
|
939
951
|
outline: boolean;
|
|
940
952
|
clip: boolean;
|
|
953
|
+
markerName: boolean;
|
|
954
|
+
markerEnabled: boolean;
|
|
941
955
|
};
|
|
942
956
|
editingFrame: string | null;
|
|
943
957
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
@@ -963,6 +977,7 @@ export declare const actionCut: {
|
|
|
963
977
|
currentHoveredFontFamily: number | null;
|
|
964
978
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
965
979
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
980
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
966
981
|
viewBackgroundColor: string;
|
|
967
982
|
scrollX: number;
|
|
968
983
|
scrollY: number;
|
|
@@ -1178,6 +1193,8 @@ export declare const actionCopyAsPng: {
|
|
|
1178
1193
|
name: boolean;
|
|
1179
1194
|
outline: boolean;
|
|
1180
1195
|
clip: boolean;
|
|
1196
|
+
markerName: boolean;
|
|
1197
|
+
markerEnabled: boolean;
|
|
1181
1198
|
};
|
|
1182
1199
|
editingFrame: string | null;
|
|
1183
1200
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
@@ -1208,6 +1225,7 @@ export declare const actionCopyAsPng: {
|
|
|
1208
1225
|
currentHoveredFontFamily: number | null;
|
|
1209
1226
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1210
1227
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1228
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
1211
1229
|
viewBackgroundColor: string;
|
|
1212
1230
|
scrollX: number;
|
|
1213
1231
|
scrollY: number;
|
|
@@ -36,6 +36,8 @@ export declare const actionToggleCropEditor: {
|
|
|
36
36
|
name: boolean;
|
|
37
37
|
outline: boolean;
|
|
38
38
|
clip: boolean;
|
|
39
|
+
markerName: boolean;
|
|
40
|
+
markerEnabled: boolean;
|
|
39
41
|
};
|
|
40
42
|
editingFrame: string | null;
|
|
41
43
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
@@ -66,6 +68,7 @@ export declare const actionToggleCropEditor: {
|
|
|
66
68
|
currentHoveredFontFamily: number | null;
|
|
67
69
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
68
70
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
71
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
69
72
|
viewBackgroundColor: string;
|
|
70
73
|
scrollX: number;
|
|
71
74
|
scrollY: number;
|