@zsviczian/excalidraw 0.18.0-22 → 0.18.0-24
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 +23 -23
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/common/src/constants.d.ts +1 -1
- package/types/common/src/points.d.ts +1 -1
- package/types/common/src/utils.d.ts +2 -2
- package/types/element/src/Scene.d.ts +1 -1
- package/types/element/src/binding.d.ts +4 -0
- package/types/element/src/bounds.d.ts +3 -1
- package/types/element/src/elbowArrow.d.ts +1 -1
- package/types/element/src/frame.d.ts +2 -2
- package/types/element/src/heading.d.ts +2 -2
- package/types/element/src/linearElementEditor.d.ts +1 -4
- package/types/element/src/resizeTest.d.ts +2 -2
- package/types/element/src/selection.d.ts +1 -1
- package/types/element/src/shape.d.ts +2 -2
- package/types/element/src/store.d.ts +1 -1
- package/types/element/src/transformHandles.d.ts +4 -4
- package/types/element/src/utils.d.ts +11 -5
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +6 -6
- package/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/types/excalidraw/actions/actionBoundText.d.ts +4 -4
- package/types/excalidraw/actions/actionCanvas.d.ts +137 -137
- package/types/excalidraw/actions/actionClipboard.d.ts +17 -17
- package/types/excalidraw/actions/actionCropEditor.d.ts +2 -2
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +9 -9
- package/types/excalidraw/actions/actionDistribute.d.ts +4 -4
- package/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/types/excalidraw/actions/actionElementLink.d.ts +2 -2
- package/types/excalidraw/actions/actionElementLock.d.ts +6 -6
- package/types/excalidraw/actions/actionEmbeddable.d.ts +2 -2
- package/types/excalidraw/actions/actionExport.d.ts +121 -121
- package/types/excalidraw/actions/actionFinalize.d.ts +8 -8
- package/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/types/excalidraw/actions/actionFrame.d.ts +61 -61
- package/types/excalidraw/actions/actionGroup.d.ts +10 -10
- package/types/excalidraw/actions/actionLinearEditor.d.ts +53 -53
- package/types/excalidraw/actions/actionLink.d.ts +3 -3
- package/types/excalidraw/actions/actionMenu.d.ts +8 -8
- package/types/excalidraw/actions/actionNavigate.d.ts +4 -4
- package/types/excalidraw/actions/actionProperties.d.ts +33 -33
- package/types/excalidraw/actions/actionSelectAll.d.ts +5 -5
- package/types/excalidraw/actions/actionStyles.d.ts +6 -6
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +4 -4
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +4 -4
- package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +4 -4
- package/types/excalidraw/actions/actionToggleStats.d.ts +4 -4
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +4 -4
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +4 -4
- package/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/types/excalidraw/appState.d.ts +21 -21
- package/types/excalidraw/components/App.d.ts +8 -4
- package/types/excalidraw/components/Stats/DragInput.d.ts +11 -1
- package/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
- package/types/excalidraw/components/shapes.d.ts +1 -1
- package/types/excalidraw/data/blob.d.ts +1 -1
- package/types/excalidraw/data/library.d.ts +1 -1
- package/types/math/src/angle.d.ts +1 -1
- package/types/math/src/curve.d.ts +1 -1
- package/types/math/src/ellipse.d.ts +3 -3
- package/types/math/src/point.d.ts +2 -2
- package/types/math/src/polygon.d.ts +2 -2
- package/types/math/src/rectangle.d.ts +2 -0
- package/types/math/src/segment.d.ts +5 -5
- package/types/math/src/utils.d.ts +0 -2
- package/types/utils/src/shape.d.ts +12 -12
- package/types/excalidraw/visualdebug.d.ts +0 -41
|
@@ -63,7 +63,7 @@ export declare const actionCopy: {
|
|
|
63
63
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
64
64
|
currentHoveredFontFamily: number | null;
|
|
65
65
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
66
|
-
currentItemArrowType: "
|
|
66
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
67
67
|
viewBackgroundColor: string;
|
|
68
68
|
scrollX: number;
|
|
69
69
|
scrollY: number;
|
|
@@ -157,7 +157,7 @@ export declare const actionCopy: {
|
|
|
157
157
|
shown: true;
|
|
158
158
|
data: import("../charts").Spreadsheet;
|
|
159
159
|
};
|
|
160
|
-
showHyperlinkPopup: false | "
|
|
160
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
161
161
|
linkOpacity: number;
|
|
162
162
|
trayModeEnabled: boolean;
|
|
163
163
|
colorPalette?: {
|
|
@@ -286,7 +286,7 @@ export declare const actionPaste: {
|
|
|
286
286
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
287
287
|
currentHoveredFontFamily: number | null;
|
|
288
288
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
289
|
-
currentItemArrowType: "
|
|
289
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
290
290
|
viewBackgroundColor: string;
|
|
291
291
|
scrollX: number;
|
|
292
292
|
scrollY: number;
|
|
@@ -380,7 +380,7 @@ export declare const actionPaste: {
|
|
|
380
380
|
shown: true;
|
|
381
381
|
data: import("../charts").Spreadsheet;
|
|
382
382
|
};
|
|
383
|
-
showHyperlinkPopup: false | "
|
|
383
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
384
384
|
linkOpacity: number;
|
|
385
385
|
trayModeEnabled: boolean;
|
|
386
386
|
colorPalette?: {
|
|
@@ -510,7 +510,7 @@ export declare const actionCut: {
|
|
|
510
510
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
511
511
|
currentHoveredFontFamily: number | null;
|
|
512
512
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
513
|
-
currentItemArrowType: "
|
|
513
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
514
514
|
viewBackgroundColor: string;
|
|
515
515
|
scrollX: number;
|
|
516
516
|
scrollY: number;
|
|
@@ -604,7 +604,7 @@ export declare const actionCut: {
|
|
|
604
604
|
shown: true;
|
|
605
605
|
data: import("../charts").Spreadsheet;
|
|
606
606
|
};
|
|
607
|
-
showHyperlinkPopup: false | "
|
|
607
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
608
608
|
linkOpacity: number;
|
|
609
609
|
trayModeEnabled: boolean;
|
|
610
610
|
colorPalette?: {
|
|
@@ -751,7 +751,7 @@ export declare const actionCut: {
|
|
|
751
751
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
752
752
|
currentHoveredFontFamily: number | null;
|
|
753
753
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
754
|
-
currentItemArrowType: "
|
|
754
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
755
755
|
viewBackgroundColor: string;
|
|
756
756
|
scrollX: number;
|
|
757
757
|
scrollY: number;
|
|
@@ -845,7 +845,7 @@ export declare const actionCut: {
|
|
|
845
845
|
shown: true;
|
|
846
846
|
data: import("../charts").Spreadsheet;
|
|
847
847
|
};
|
|
848
|
-
showHyperlinkPopup: false | "
|
|
848
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
849
849
|
linkOpacity: number;
|
|
850
850
|
trayModeEnabled: boolean;
|
|
851
851
|
colorPalette?: {
|
|
@@ -914,13 +914,13 @@ export declare const actionCut: {
|
|
|
914
914
|
multiElement: null;
|
|
915
915
|
activeEmbeddable: null;
|
|
916
916
|
selectedLinearElement: null;
|
|
917
|
+
editingGroupId: string | null;
|
|
917
918
|
selectedElementIds: Readonly<{
|
|
918
919
|
[id: string]: true;
|
|
919
920
|
}>;
|
|
920
921
|
selectedGroupIds: {
|
|
921
922
|
[groupId: string]: boolean;
|
|
922
923
|
};
|
|
923
|
-
editingGroupId: string | null;
|
|
924
924
|
contextMenu: {
|
|
925
925
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
926
926
|
top: number;
|
|
@@ -966,7 +966,7 @@ export declare const actionCut: {
|
|
|
966
966
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
967
967
|
currentHoveredFontFamily: number | null;
|
|
968
968
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
969
|
-
currentItemArrowType: "
|
|
969
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
970
970
|
viewBackgroundColor: string;
|
|
971
971
|
scrollX: number;
|
|
972
972
|
scrollY: number;
|
|
@@ -1053,7 +1053,7 @@ export declare const actionCut: {
|
|
|
1053
1053
|
shown: true;
|
|
1054
1054
|
data: import("../charts").Spreadsheet;
|
|
1055
1055
|
};
|
|
1056
|
-
showHyperlinkPopup: false | "
|
|
1056
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1057
1057
|
linkOpacity: number;
|
|
1058
1058
|
trayModeEnabled: boolean;
|
|
1059
1059
|
colorPalette?: {
|
|
@@ -1111,9 +1111,9 @@ export declare const actionCut: {
|
|
|
1111
1111
|
};
|
|
1112
1112
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
1113
1113
|
};
|
|
1114
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1114
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1115
1115
|
} & {
|
|
1116
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1116
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1117
1117
|
};
|
|
1118
1118
|
export declare const actionCopyAsSvg: {
|
|
1119
1119
|
name: "copyAsSvg";
|
|
@@ -1212,7 +1212,7 @@ export declare const actionCopyAsPng: {
|
|
|
1212
1212
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1213
1213
|
currentHoveredFontFamily: number | null;
|
|
1214
1214
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1215
|
-
currentItemArrowType: "
|
|
1215
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1216
1216
|
viewBackgroundColor: string;
|
|
1217
1217
|
scrollX: number;
|
|
1218
1218
|
scrollY: number;
|
|
@@ -1306,7 +1306,7 @@ export declare const actionCopyAsPng: {
|
|
|
1306
1306
|
shown: true;
|
|
1307
1307
|
data: import("../charts").Spreadsheet;
|
|
1308
1308
|
};
|
|
1309
|
-
showHyperlinkPopup: false | "
|
|
1309
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1310
1310
|
linkOpacity: number;
|
|
1311
1311
|
trayModeEnabled: boolean;
|
|
1312
1312
|
colorPalette?: {
|
|
@@ -1366,10 +1366,10 @@ export declare const actionCopyAsPng: {
|
|
|
1366
1366
|
captureUpdate: "EVENTUALLY";
|
|
1367
1367
|
}>;
|
|
1368
1368
|
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[]) => boolean;
|
|
1369
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1369
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1370
1370
|
keywords: string[];
|
|
1371
1371
|
} & {
|
|
1372
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1372
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1373
1373
|
};
|
|
1374
1374
|
export declare const copyText: {
|
|
1375
1375
|
name: "copyText";
|
|
@@ -66,7 +66,7 @@ export declare const actionToggleCropEditor: {
|
|
|
66
66
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
67
67
|
currentHoveredFontFamily: number | null;
|
|
68
68
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
69
|
-
currentItemArrowType: "
|
|
69
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
70
70
|
viewBackgroundColor: string;
|
|
71
71
|
scrollX: number;
|
|
72
72
|
scrollY: number;
|
|
@@ -160,7 +160,7 @@ export declare const actionToggleCropEditor: {
|
|
|
160
160
|
shown: true;
|
|
161
161
|
data: import("../charts").Spreadsheet;
|
|
162
162
|
};
|
|
163
|
-
showHyperlinkPopup: false | "
|
|
163
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
164
164
|
linkOpacity: number;
|
|
165
165
|
trayModeEnabled: boolean;
|
|
166
166
|
colorPalette?: {
|
|
@@ -67,7 +67,7 @@ export declare const actionDeleteSelected: {
|
|
|
67
67
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
68
68
|
currentHoveredFontFamily: number | null;
|
|
69
69
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
70
|
-
currentItemArrowType: "
|
|
70
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
71
71
|
viewBackgroundColor: string;
|
|
72
72
|
scrollX: number;
|
|
73
73
|
scrollY: number;
|
|
@@ -161,7 +161,7 @@ export declare const actionDeleteSelected: {
|
|
|
161
161
|
shown: true;
|
|
162
162
|
data: import("../charts").Spreadsheet;
|
|
163
163
|
};
|
|
164
|
-
showHyperlinkPopup: false | "
|
|
164
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
165
165
|
linkOpacity: number;
|
|
166
166
|
trayModeEnabled: boolean;
|
|
167
167
|
colorPalette?: {
|
|
@@ -308,7 +308,7 @@ export declare const actionDeleteSelected: {
|
|
|
308
308
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
309
309
|
currentHoveredFontFamily: number | null;
|
|
310
310
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
311
|
-
currentItemArrowType: "
|
|
311
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
312
312
|
viewBackgroundColor: string;
|
|
313
313
|
scrollX: number;
|
|
314
314
|
scrollY: number;
|
|
@@ -402,7 +402,7 @@ export declare const actionDeleteSelected: {
|
|
|
402
402
|
shown: true;
|
|
403
403
|
data: import("../charts").Spreadsheet;
|
|
404
404
|
};
|
|
405
|
-
showHyperlinkPopup: false | "
|
|
405
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
406
406
|
linkOpacity: number;
|
|
407
407
|
trayModeEnabled: boolean;
|
|
408
408
|
colorPalette?: {
|
|
@@ -471,13 +471,13 @@ export declare const actionDeleteSelected: {
|
|
|
471
471
|
multiElement: null;
|
|
472
472
|
activeEmbeddable: null;
|
|
473
473
|
selectedLinearElement: null;
|
|
474
|
+
editingGroupId: string | null;
|
|
474
475
|
selectedElementIds: Readonly<{
|
|
475
476
|
[id: string]: true;
|
|
476
477
|
}>;
|
|
477
478
|
selectedGroupIds: {
|
|
478
479
|
[groupId: string]: boolean;
|
|
479
480
|
};
|
|
480
|
-
editingGroupId: string | null;
|
|
481
481
|
contextMenu: {
|
|
482
482
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
483
483
|
top: number;
|
|
@@ -523,7 +523,7 @@ export declare const actionDeleteSelected: {
|
|
|
523
523
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
524
524
|
currentHoveredFontFamily: number | null;
|
|
525
525
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
526
|
-
currentItemArrowType: "
|
|
526
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
527
527
|
viewBackgroundColor: string;
|
|
528
528
|
scrollX: number;
|
|
529
529
|
scrollY: number;
|
|
@@ -610,7 +610,7 @@ export declare const actionDeleteSelected: {
|
|
|
610
610
|
shown: true;
|
|
611
611
|
data: import("../charts").Spreadsheet;
|
|
612
612
|
};
|
|
613
|
-
showHyperlinkPopup: false | "
|
|
613
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
614
614
|
linkOpacity: number;
|
|
615
615
|
trayModeEnabled: boolean;
|
|
616
616
|
colorPalette?: {
|
|
@@ -668,8 +668,8 @@ export declare const actionDeleteSelected: {
|
|
|
668
668
|
};
|
|
669
669
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
670
670
|
};
|
|
671
|
-
keyTest: (event: import("react").KeyboardEvent<Element
|
|
671
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean;
|
|
672
672
|
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
673
673
|
} & {
|
|
674
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element
|
|
674
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean) | undefined;
|
|
675
675
|
};
|
|
@@ -11,10 +11,10 @@ export declare const distributeHorizontally: {
|
|
|
11
11
|
elements: ExcalidrawElement[];
|
|
12
12
|
captureUpdate: "IMMEDIATELY";
|
|
13
13
|
};
|
|
14
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
14
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
15
15
|
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
} & {
|
|
17
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
17
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
18
18
|
};
|
|
19
19
|
export declare const distributeVertically: {
|
|
20
20
|
name: "distributeVertically";
|
|
@@ -27,8 +27,8 @@ export declare const distributeVertically: {
|
|
|
27
27
|
elements: ExcalidrawElement[];
|
|
28
28
|
captureUpdate: "IMMEDIATELY";
|
|
29
29
|
};
|
|
30
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
30
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
31
31
|
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
32
32
|
} & {
|
|
33
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
33
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
34
34
|
};
|
|
@@ -10,8 +10,8 @@ export declare const actionDuplicateSelection: {
|
|
|
10
10
|
appState: import("../types").AppState;
|
|
11
11
|
captureUpdate: "IMMEDIATELY";
|
|
12
12
|
};
|
|
13
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
13
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
14
14
|
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
} & {
|
|
16
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
16
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
17
17
|
};
|
|
@@ -95,7 +95,7 @@ export declare const actionLinkToElement: {
|
|
|
95
95
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
96
96
|
currentHoveredFontFamily: number | null;
|
|
97
97
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
98
|
-
currentItemArrowType: "
|
|
98
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
99
99
|
viewBackgroundColor: string;
|
|
100
100
|
scrollX: number;
|
|
101
101
|
scrollY: number;
|
|
@@ -178,7 +178,7 @@ export declare const actionLinkToElement: {
|
|
|
178
178
|
shown: true;
|
|
179
179
|
data: import("../charts").Spreadsheet;
|
|
180
180
|
};
|
|
181
|
-
showHyperlinkPopup: false | "
|
|
181
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
182
182
|
linkOpacity: number;
|
|
183
183
|
trayModeEnabled: boolean;
|
|
184
184
|
colorPalette?: {
|
|
@@ -77,7 +77,7 @@ export declare const actionToggleElementLock: {
|
|
|
77
77
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
78
78
|
currentHoveredFontFamily: number | null;
|
|
79
79
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
80
|
-
currentItemArrowType: "
|
|
80
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
81
81
|
viewBackgroundColor: string;
|
|
82
82
|
scrollX: number;
|
|
83
83
|
scrollY: number;
|
|
@@ -165,7 +165,7 @@ export declare const actionToggleElementLock: {
|
|
|
165
165
|
shown: true;
|
|
166
166
|
data: import("../charts").Spreadsheet;
|
|
167
167
|
};
|
|
168
|
-
showHyperlinkPopup: false | "
|
|
168
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
169
169
|
linkOpacity: number;
|
|
170
170
|
trayModeEnabled: boolean;
|
|
171
171
|
colorPalette?: {
|
|
@@ -219,9 +219,9 @@ export declare const actionToggleElementLock: {
|
|
|
219
219
|
};
|
|
220
220
|
captureUpdate: "IMMEDIATELY";
|
|
221
221
|
};
|
|
222
|
-
keyTest: (event: import("react").KeyboardEvent<Element
|
|
222
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean;
|
|
223
223
|
} & {
|
|
224
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element
|
|
224
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
225
225
|
};
|
|
226
226
|
export declare const actionUnlockAllElements: {
|
|
227
227
|
name: "unlockAllElements";
|
|
@@ -297,7 +297,7 @@ export declare const actionUnlockAllElements: {
|
|
|
297
297
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
298
298
|
currentHoveredFontFamily: number | null;
|
|
299
299
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
300
|
-
currentItemArrowType: "
|
|
300
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
301
301
|
viewBackgroundColor: string;
|
|
302
302
|
scrollX: number;
|
|
303
303
|
scrollY: number;
|
|
@@ -385,7 +385,7 @@ export declare const actionUnlockAllElements: {
|
|
|
385
385
|
shown: true;
|
|
386
386
|
data: import("../charts").Spreadsheet;
|
|
387
387
|
};
|
|
388
|
-
showHyperlinkPopup: false | "
|
|
388
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
389
389
|
linkOpacity: number;
|
|
390
390
|
trayModeEnabled: boolean;
|
|
391
391
|
colorPalette?: {
|
|
@@ -63,7 +63,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
63
63
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
64
64
|
currentHoveredFontFamily: number | null;
|
|
65
65
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
66
|
-
currentItemArrowType: "
|
|
66
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
67
67
|
viewBackgroundColor: string;
|
|
68
68
|
scrollX: number;
|
|
69
69
|
scrollY: number;
|
|
@@ -157,7 +157,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
157
157
|
shown: true;
|
|
158
158
|
data: import("../charts").Spreadsheet;
|
|
159
159
|
};
|
|
160
|
-
showHyperlinkPopup: false | "
|
|
160
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
161
161
|
linkOpacity: number;
|
|
162
162
|
trayModeEnabled: boolean;
|
|
163
163
|
colorPalette?: {
|