@myoc/excalidraw 0.18.19 → 0.18.20
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/dev/chunk-5IFOUNFV.js +5684 -0
- package/dist/dev/chunk-5IFOUNFV.js.map +7 -0
- package/dist/dev/{chunk-WD4YVUU4.js → chunk-GR6GZQQD.js} +2 -2
- package/dist/dev/data/{image-CW7TABKC.js → image-QMTJGSU7.js} +3 -3
- package/dist/dev/index.css +4 -0
- package/dist/dev/index.css.map +2 -2
- package/dist/dev/index.js +6055 -4020
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/{chunk-W655L563.js → chunk-PPT7KBS3.js} +1 -1
- package/dist/prod/chunk-SHSFPXHA.js +4 -0
- package/dist/prod/data/image-TZAIFXB2.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +24 -17
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/common/src/constants.d.ts +2 -1
- package/dist/types/common/src/points.d.ts +1 -1
- package/dist/types/common/src/utils.d.ts +2 -2
- package/dist/types/element/src/Scene.d.ts +1 -1
- package/dist/types/element/src/align.d.ts +2 -1
- package/dist/types/element/src/binding.d.ts +4 -0
- package/dist/types/element/src/bounds.d.ts +3 -1
- package/dist/types/element/src/distribute.d.ts +2 -1
- package/dist/types/element/src/elbowArrow.d.ts +1 -1
- package/dist/types/element/src/frame.d.ts +2 -2
- package/dist/types/element/src/groups.d.ts +1 -0
- package/dist/types/element/src/heading.d.ts +2 -2
- package/dist/types/element/src/linearElementEditor.d.ts +3 -5
- package/dist/types/element/src/resizeTest.d.ts +2 -2
- package/dist/types/element/src/selection.d.ts +1 -1
- package/dist/types/element/src/shape.d.ts +2 -2
- package/dist/types/element/src/shapes.d.ts +8 -8
- package/dist/types/element/src/store.d.ts +3 -2
- package/dist/types/element/src/utils.d.ts +11 -5
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +12 -15
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionArrange.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +8 -10
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +63 -75
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +31 -36
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +4 -5
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +17 -20
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +3 -4
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +10 -12
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +4 -5
- package/dist/types/excalidraw/actions/actionExport.d.ts +121 -130
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +11 -12
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +66 -70
- package/dist/types/excalidraw/actions/actionGroup.d.ts +14 -16
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +85 -55
- package/dist/types/excalidraw/actions/actionLink.d.ts +5 -6
- package/dist/types/excalidraw/actions/actionMenu.d.ts +13 -16
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +8 -10
- package/dist/types/excalidraw/actions/actionProperties.d.ts +63 -78
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +7 -8
- package/dist/types/excalidraw/actions/actionSmartZoom.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionStyles.d.ts +8 -9
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +5 -6
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/appState.d.ts +21 -21
- package/dist/types/excalidraw/components/Actions.d.ts +0 -4
- package/dist/types/excalidraw/components/App.d.ts +12 -6
- package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +11 -1
- package/dist/types/excalidraw/components/shapes.d.ts +1 -1
- package/dist/types/excalidraw/data/blob.d.ts +1 -1
- package/dist/types/excalidraw/index.d.ts +1 -0
- package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
- package/dist/types/excalidraw/types.d.ts +2 -4
- package/dist/types/math/src/angle.d.ts +1 -1
- package/dist/types/math/src/curve.d.ts +1 -1
- package/dist/types/math/src/ellipse.d.ts +3 -3
- package/dist/types/math/src/point.d.ts +2 -2
- package/dist/types/math/src/polygon.d.ts +2 -2
- package/dist/types/math/src/rectangle.d.ts +2 -0
- package/dist/types/math/src/segment.d.ts +5 -5
- package/dist/types/math/src/utils.d.ts +0 -2
- package/dist/types/utils/src/shape.d.ts +12 -12
- package/package.json +4 -1
- package/dist/dev/chunk-HDRNCSTL.js +0 -23870
- package/dist/dev/chunk-HDRNCSTL.js.map +0 -7
- package/dist/prod/chunk-23G2JOF5.js +0 -33
- package/dist/prod/data/image-TLNQ4QKS.js +0 -1
- package/dist/types/excalidraw/visualdebug.d.ts +0 -41
- /package/dist/dev/{chunk-WD4YVUU4.js.map → chunk-GR6GZQQD.js.map} +0 -0
- /package/dist/dev/data/{image-CW7TABKC.js.map → image-QMTJGSU7.js.map} +0 -0
|
@@ -12,13 +12,13 @@ export declare const actionSelectAll: {
|
|
|
12
12
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any, app: import("../types").AppClassProperties) => false | {
|
|
13
13
|
appState: {
|
|
14
14
|
selectedLinearElement: LinearElementEditor | null;
|
|
15
|
+
editingGroupId: string | null;
|
|
15
16
|
selectedElementIds: Readonly<{
|
|
16
17
|
[id: string]: true;
|
|
17
18
|
}>;
|
|
18
19
|
selectedGroupIds: {
|
|
19
20
|
[groupId: string]: boolean;
|
|
20
21
|
};
|
|
21
|
-
editingGroupId: string | null;
|
|
22
22
|
contextMenu: {
|
|
23
23
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
24
24
|
top: number;
|
|
@@ -37,7 +37,7 @@ export declare const actionSelectAll: {
|
|
|
37
37
|
errorMessage: import("react").ReactNode;
|
|
38
38
|
activeEmbeddable: {
|
|
39
39
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
40
|
-
state: "
|
|
40
|
+
state: "active" | "hover";
|
|
41
41
|
} | null;
|
|
42
42
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
43
43
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -56,7 +56,6 @@ export declare const actionSelectAll: {
|
|
|
56
56
|
editingFrame: string | null;
|
|
57
57
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
58
58
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
59
|
-
editingLinearElement: LinearElementEditor | null;
|
|
60
59
|
activeTool: {
|
|
61
60
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
62
61
|
locked: boolean;
|
|
@@ -82,7 +81,7 @@ export declare const actionSelectAll: {
|
|
|
82
81
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
83
82
|
currentHoveredFontFamily: number | null;
|
|
84
83
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
85
|
-
currentItemArrowType: "
|
|
84
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
86
85
|
viewBackgroundColor: string;
|
|
87
86
|
scrollX: number;
|
|
88
87
|
scrollY: number;
|
|
@@ -104,7 +103,7 @@ export declare const actionSelectAll: {
|
|
|
104
103
|
name: "imageExport" | "help" | "jsonExport";
|
|
105
104
|
} | {
|
|
106
105
|
name: "ttd";
|
|
107
|
-
tab: "text-to-diagram"
|
|
106
|
+
tab: "mermaid" | "text-to-diagram";
|
|
108
107
|
} | {
|
|
109
108
|
name: "commandPalette";
|
|
110
109
|
} | {
|
|
@@ -169,7 +168,7 @@ export declare const actionSelectAll: {
|
|
|
169
168
|
shown: true;
|
|
170
169
|
data: import("../charts").Spreadsheet;
|
|
171
170
|
};
|
|
172
|
-
showHyperlinkPopup: false | "
|
|
171
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
173
172
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
174
173
|
originSnapOffset: {
|
|
175
174
|
x: number;
|
|
@@ -191,7 +190,7 @@ export declare const actionSelectAll: {
|
|
|
191
190
|
};
|
|
192
191
|
captureUpdate: "IMMEDIATELY";
|
|
193
192
|
};
|
|
194
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
193
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
195
194
|
} & {
|
|
196
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
195
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
197
196
|
};
|
|
@@ -10,8 +10,8 @@ export declare const actionSmartZoom: {
|
|
|
10
10
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => {
|
|
11
11
|
captureUpdate: "NEVER";
|
|
12
12
|
};
|
|
13
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
13
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
14
14
|
PanelComponent: ({ data, 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
|
};
|
|
@@ -30,7 +30,7 @@ export declare const actionCopyStyles: {
|
|
|
30
30
|
errorMessage: import("react").ReactNode;
|
|
31
31
|
activeEmbeddable: {
|
|
32
32
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
33
|
-
state: "
|
|
33
|
+
state: "active" | "hover";
|
|
34
34
|
} | null;
|
|
35
35
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
36
36
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -49,7 +49,6 @@ export declare const actionCopyStyles: {
|
|
|
49
49
|
editingFrame: string | null;
|
|
50
50
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
51
51
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
52
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
53
52
|
activeTool: {
|
|
54
53
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
55
54
|
locked: boolean;
|
|
@@ -75,7 +74,7 @@ export declare const actionCopyStyles: {
|
|
|
75
74
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
76
75
|
currentHoveredFontFamily: number | null;
|
|
77
76
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
78
|
-
currentItemArrowType: "
|
|
77
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
79
78
|
viewBackgroundColor: string;
|
|
80
79
|
scrollX: number;
|
|
81
80
|
scrollY: number;
|
|
@@ -97,7 +96,7 @@ export declare const actionCopyStyles: {
|
|
|
97
96
|
name: "imageExport" | "help" | "jsonExport";
|
|
98
97
|
} | {
|
|
99
98
|
name: "ttd";
|
|
100
|
-
tab: "text-to-diagram"
|
|
99
|
+
tab: "mermaid" | "text-to-diagram";
|
|
101
100
|
} | {
|
|
102
101
|
name: "commandPalette";
|
|
103
102
|
} | {
|
|
@@ -164,7 +163,7 @@ export declare const actionCopyStyles: {
|
|
|
164
163
|
shown: true;
|
|
165
164
|
data: import("../charts").Spreadsheet;
|
|
166
165
|
};
|
|
167
|
-
showHyperlinkPopup: false | "
|
|
166
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
168
167
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
169
168
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
170
169
|
originSnapOffset: {
|
|
@@ -187,9 +186,9 @@ export declare const actionCopyStyles: {
|
|
|
187
186
|
};
|
|
188
187
|
captureUpdate: "EVENTUALLY";
|
|
189
188
|
};
|
|
190
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
189
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
191
190
|
} & {
|
|
192
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
191
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
193
192
|
};
|
|
194
193
|
export declare const actionPasteStyles: {
|
|
195
194
|
name: "pasteStyles";
|
|
@@ -205,7 +204,7 @@ export declare const actionPasteStyles: {
|
|
|
205
204
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
206
205
|
captureUpdate: "IMMEDIATELY";
|
|
207
206
|
};
|
|
208
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
207
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
209
208
|
} & {
|
|
210
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
209
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
211
210
|
};
|
|
@@ -32,7 +32,7 @@ export declare const actionToggleGridMode: {
|
|
|
32
32
|
errorMessage: import("react").ReactNode;
|
|
33
33
|
activeEmbeddable: {
|
|
34
34
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
35
|
-
state: "
|
|
35
|
+
state: "active" | "hover";
|
|
36
36
|
} | null;
|
|
37
37
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
38
38
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -51,7 +51,6 @@ export declare const actionToggleGridMode: {
|
|
|
51
51
|
editingFrame: string | null;
|
|
52
52
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
53
53
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
54
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
55
54
|
activeTool: {
|
|
56
55
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
57
56
|
locked: boolean;
|
|
@@ -77,7 +76,7 @@ export declare const actionToggleGridMode: {
|
|
|
77
76
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
78
77
|
currentHoveredFontFamily: number | null;
|
|
79
78
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
80
|
-
currentItemArrowType: "
|
|
79
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
81
80
|
viewBackgroundColor: string;
|
|
82
81
|
scrollX: number;
|
|
83
82
|
scrollY: number;
|
|
@@ -99,7 +98,7 @@ export declare const actionToggleGridMode: {
|
|
|
99
98
|
name: "imageExport" | "help" | "jsonExport";
|
|
100
99
|
} | {
|
|
101
100
|
name: "ttd";
|
|
102
|
-
tab: "text-to-diagram"
|
|
101
|
+
tab: "mermaid" | "text-to-diagram";
|
|
103
102
|
} | {
|
|
104
103
|
name: "commandPalette";
|
|
105
104
|
} | {
|
|
@@ -170,7 +169,7 @@ export declare const actionToggleGridMode: {
|
|
|
170
169
|
shown: true;
|
|
171
170
|
data: import("../charts").Spreadsheet;
|
|
172
171
|
};
|
|
173
|
-
showHyperlinkPopup: false | "
|
|
172
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
174
173
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
175
174
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
176
175
|
originSnapOffset: {
|
|
@@ -194,7 +193,7 @@ export declare const actionToggleGridMode: {
|
|
|
194
193
|
};
|
|
195
194
|
checked: (appState: AppState) => boolean;
|
|
196
195
|
predicate: (element: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps) => boolean;
|
|
197
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
196
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
198
197
|
} & {
|
|
199
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
198
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
200
199
|
};
|
|
@@ -30,7 +30,7 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
30
30
|
errorMessage: import("react").ReactNode;
|
|
31
31
|
activeEmbeddable: {
|
|
32
32
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
33
|
-
state: "
|
|
33
|
+
state: "active" | "hover";
|
|
34
34
|
} | null;
|
|
35
35
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
36
36
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -49,7 +49,6 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
49
49
|
editingFrame: string | null;
|
|
50
50
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
51
51
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
52
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
53
52
|
activeTool: {
|
|
54
53
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
55
54
|
locked: boolean;
|
|
@@ -75,7 +74,7 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
75
74
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
76
75
|
currentHoveredFontFamily: number | null;
|
|
77
76
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
78
|
-
currentItemArrowType: "
|
|
77
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
79
78
|
viewBackgroundColor: string;
|
|
80
79
|
scrollX: number;
|
|
81
80
|
scrollY: number;
|
|
@@ -97,7 +96,7 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
97
96
|
name: "imageExport" | "help" | "jsonExport";
|
|
98
97
|
} | {
|
|
99
98
|
name: "ttd";
|
|
100
|
-
tab: "text-to-diagram"
|
|
99
|
+
tab: "mermaid" | "text-to-diagram";
|
|
101
100
|
} | {
|
|
102
101
|
name: "commandPalette";
|
|
103
102
|
} | {
|
|
@@ -168,7 +167,7 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
168
167
|
shown: true;
|
|
169
168
|
data: import("../charts").Spreadsheet;
|
|
170
169
|
};
|
|
171
|
-
showHyperlinkPopup: false | "
|
|
170
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
172
171
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
173
172
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
174
173
|
originSnapOffset: {
|
|
@@ -192,7 +191,7 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
192
191
|
};
|
|
193
192
|
checked: (appState: Readonly<import("../types").AppState>) => boolean;
|
|
194
193
|
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, appProps: import("../types").ExcalidrawProps) => boolean;
|
|
195
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
194
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
196
195
|
} & {
|
|
197
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
196
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
198
197
|
};
|
|
@@ -36,7 +36,7 @@ export declare const actionToggleSearchMenu: {
|
|
|
36
36
|
errorMessage: import("react").ReactNode;
|
|
37
37
|
activeEmbeddable: {
|
|
38
38
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
39
|
-
state: "
|
|
39
|
+
state: "active" | "hover";
|
|
40
40
|
} | null;
|
|
41
41
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
42
42
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -55,7 +55,6 @@ export declare const actionToggleSearchMenu: {
|
|
|
55
55
|
editingFrame: string | null;
|
|
56
56
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
57
57
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
58
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
59
58
|
activeTool: {
|
|
60
59
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
61
60
|
locked: boolean;
|
|
@@ -81,7 +80,7 @@ export declare const actionToggleSearchMenu: {
|
|
|
81
80
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
82
81
|
currentHoveredFontFamily: number | null;
|
|
83
82
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
84
|
-
currentItemArrowType: "
|
|
83
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
85
84
|
viewBackgroundColor: string;
|
|
86
85
|
scrollX: number;
|
|
87
86
|
scrollY: number;
|
|
@@ -160,7 +159,7 @@ export declare const actionToggleSearchMenu: {
|
|
|
160
159
|
shown: true;
|
|
161
160
|
data: import("../charts").Spreadsheet;
|
|
162
161
|
};
|
|
163
|
-
showHyperlinkPopup: false | "
|
|
162
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
164
163
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
165
164
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
166
165
|
originSnapOffset: {
|
|
@@ -185,7 +184,7 @@ export declare const actionToggleSearchMenu: {
|
|
|
185
184
|
};
|
|
186
185
|
checked: (appState: AppState) => boolean;
|
|
187
186
|
predicate: (element: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps) => boolean;
|
|
188
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
187
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
189
188
|
} & {
|
|
190
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
189
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
191
190
|
};
|
|
@@ -32,7 +32,7 @@ export declare const actionToggleStats: {
|
|
|
32
32
|
errorMessage: import("react").ReactNode;
|
|
33
33
|
activeEmbeddable: {
|
|
34
34
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
35
|
-
state: "
|
|
35
|
+
state: "active" | "hover";
|
|
36
36
|
} | null;
|
|
37
37
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
38
38
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -51,7 +51,6 @@ export declare const actionToggleStats: {
|
|
|
51
51
|
editingFrame: string | null;
|
|
52
52
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
53
53
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
54
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
55
54
|
activeTool: {
|
|
56
55
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
57
56
|
locked: boolean;
|
|
@@ -77,7 +76,7 @@ export declare const actionToggleStats: {
|
|
|
77
76
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
78
77
|
currentHoveredFontFamily: number | null;
|
|
79
78
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
80
|
-
currentItemArrowType: "
|
|
79
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
81
80
|
viewBackgroundColor: string;
|
|
82
81
|
scrollX: number;
|
|
83
82
|
scrollY: number;
|
|
@@ -99,7 +98,7 @@ export declare const actionToggleStats: {
|
|
|
99
98
|
name: "imageExport" | "help" | "jsonExport";
|
|
100
99
|
} | {
|
|
101
100
|
name: "ttd";
|
|
102
|
-
tab: "text-to-diagram"
|
|
101
|
+
tab: "mermaid" | "text-to-diagram";
|
|
103
102
|
} | {
|
|
104
103
|
name: "commandPalette";
|
|
105
104
|
} | {
|
|
@@ -167,7 +166,7 @@ export declare const actionToggleStats: {
|
|
|
167
166
|
shown: true;
|
|
168
167
|
data: import("../charts").Spreadsheet;
|
|
169
168
|
};
|
|
170
|
-
showHyperlinkPopup: false | "
|
|
169
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
171
170
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
172
171
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
173
172
|
originSnapOffset: {
|
|
@@ -191,7 +190,7 @@ export declare const actionToggleStats: {
|
|
|
191
190
|
captureUpdate: "EVENTUALLY";
|
|
192
191
|
};
|
|
193
192
|
checked: (appState: Readonly<import("../types").AppState>) => boolean;
|
|
194
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
193
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
195
194
|
} & {
|
|
196
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
195
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
197
196
|
};
|
|
@@ -29,7 +29,7 @@ export declare const actionToggleViewMode: {
|
|
|
29
29
|
errorMessage: import("react").ReactNode;
|
|
30
30
|
activeEmbeddable: {
|
|
31
31
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
32
|
-
state: "
|
|
32
|
+
state: "active" | "hover";
|
|
33
33
|
} | null;
|
|
34
34
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
35
35
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -48,7 +48,6 @@ export declare const actionToggleViewMode: {
|
|
|
48
48
|
editingFrame: string | null;
|
|
49
49
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
50
50
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
51
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
52
51
|
activeTool: {
|
|
53
52
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
54
53
|
locked: boolean;
|
|
@@ -74,7 +73,7 @@ export declare const actionToggleViewMode: {
|
|
|
74
73
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
75
74
|
currentHoveredFontFamily: number | null;
|
|
76
75
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
77
|
-
currentItemArrowType: "
|
|
76
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
78
77
|
viewBackgroundColor: string;
|
|
79
78
|
scrollX: number;
|
|
80
79
|
scrollY: number;
|
|
@@ -96,7 +95,7 @@ export declare const actionToggleViewMode: {
|
|
|
96
95
|
name: "imageExport" | "help" | "jsonExport";
|
|
97
96
|
} | {
|
|
98
97
|
name: "ttd";
|
|
99
|
-
tab: "text-to-diagram"
|
|
98
|
+
tab: "mermaid" | "text-to-diagram";
|
|
100
99
|
} | {
|
|
101
100
|
name: "commandPalette";
|
|
102
101
|
} | {
|
|
@@ -167,7 +166,7 @@ export declare const actionToggleViewMode: {
|
|
|
167
166
|
shown: true;
|
|
168
167
|
data: import("../charts").Spreadsheet;
|
|
169
168
|
};
|
|
170
|
-
showHyperlinkPopup: false | "
|
|
169
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
171
170
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
172
171
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
173
172
|
originSnapOffset: {
|
|
@@ -192,8 +191,8 @@ export declare const actionToggleViewMode: {
|
|
|
192
191
|
};
|
|
193
192
|
checked: (appState: Readonly<import("../types").AppState>) => boolean;
|
|
194
193
|
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, appProps: import("../types").ExcalidrawProps) => boolean;
|
|
195
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
194
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
196
195
|
PanelComponent: ({ data, updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
197
196
|
} & {
|
|
198
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
197
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
199
198
|
};
|
|
@@ -29,7 +29,7 @@ export declare const actionToggleZenMode: {
|
|
|
29
29
|
errorMessage: import("react").ReactNode;
|
|
30
30
|
activeEmbeddable: {
|
|
31
31
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
32
|
-
state: "
|
|
32
|
+
state: "active" | "hover";
|
|
33
33
|
} | null;
|
|
34
34
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
35
35
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -48,7 +48,6 @@ export declare const actionToggleZenMode: {
|
|
|
48
48
|
editingFrame: string | null;
|
|
49
49
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
50
50
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
51
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
52
51
|
activeTool: {
|
|
53
52
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
54
53
|
locked: boolean;
|
|
@@ -74,7 +73,7 @@ export declare const actionToggleZenMode: {
|
|
|
74
73
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
75
74
|
currentHoveredFontFamily: number | null;
|
|
76
75
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
77
|
-
currentItemArrowType: "
|
|
76
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
78
77
|
viewBackgroundColor: string;
|
|
79
78
|
scrollX: number;
|
|
80
79
|
scrollY: number;
|
|
@@ -96,7 +95,7 @@ export declare const actionToggleZenMode: {
|
|
|
96
95
|
name: "imageExport" | "help" | "jsonExport";
|
|
97
96
|
} | {
|
|
98
97
|
name: "ttd";
|
|
99
|
-
tab: "text-to-diagram"
|
|
98
|
+
tab: "mermaid" | "text-to-diagram";
|
|
100
99
|
} | {
|
|
101
100
|
name: "commandPalette";
|
|
102
101
|
} | {
|
|
@@ -167,7 +166,7 @@ export declare const actionToggleZenMode: {
|
|
|
167
166
|
shown: true;
|
|
168
167
|
data: import("../charts").Spreadsheet;
|
|
169
168
|
};
|
|
170
|
-
showHyperlinkPopup: false | "
|
|
169
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
171
170
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
172
171
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
173
172
|
originSnapOffset: {
|
|
@@ -192,7 +191,7 @@ export declare const actionToggleZenMode: {
|
|
|
192
191
|
};
|
|
193
192
|
checked: (appState: Readonly<import("../types").AppState>) => boolean;
|
|
194
193
|
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, appProps: import("../types").ExcalidrawProps) => boolean;
|
|
195
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
194
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
196
195
|
} & {
|
|
197
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
196
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
198
197
|
};
|
|
@@ -13,10 +13,10 @@ export declare const actionSendBackward: {
|
|
|
13
13
|
captureUpdate: "IMMEDIATELY";
|
|
14
14
|
};
|
|
15
15
|
keyPriority: number;
|
|
16
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
16
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
17
17
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
} & {
|
|
19
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
19
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
20
20
|
};
|
|
21
21
|
export declare const actionBringForward: {
|
|
22
22
|
name: "bringForward";
|
|
@@ -32,10 +32,10 @@ export declare const actionBringForward: {
|
|
|
32
32
|
captureUpdate: "IMMEDIATELY";
|
|
33
33
|
};
|
|
34
34
|
keyPriority: number;
|
|
35
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
35
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
36
36
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
37
|
} & {
|
|
38
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
38
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
39
39
|
};
|
|
40
40
|
export declare const actionSendToBack: {
|
|
41
41
|
name: "sendToBack";
|
|
@@ -50,10 +50,10 @@ export declare const actionSendToBack: {
|
|
|
50
50
|
appState: Readonly<import("../types").AppState>;
|
|
51
51
|
captureUpdate: "IMMEDIATELY";
|
|
52
52
|
};
|
|
53
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
53
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
54
54
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
55
55
|
} & {
|
|
56
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
56
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
57
57
|
};
|
|
58
58
|
export declare const actionBringToFront: {
|
|
59
59
|
name: "bringToFront";
|
|
@@ -68,8 +68,8 @@ export declare const actionBringToFront: {
|
|
|
68
68
|
appState: Readonly<import("../types").AppState>;
|
|
69
69
|
captureUpdate: "IMMEDIATELY";
|
|
70
70
|
};
|
|
71
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
71
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
72
72
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
73
73
|
} & {
|
|
74
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
74
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
75
75
|
};
|
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
import type { AppState, NormalizedZoomValue } from "./types";
|
|
2
2
|
export declare const getDefaultAppState: () => Omit<AppState, "offsetTop" | "offsetLeft" | "width" | "height">;
|
|
3
3
|
export declare const clearAppStateForLocalStorage: (appState: Partial<AppState>) => {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
cursorButton?: "up" | "down" | undefined;
|
|
4
|
+
viewBackgroundColor?: string | undefined;
|
|
5
|
+
name?: string | null | undefined;
|
|
6
|
+
zoom?: Readonly<{
|
|
7
|
+
value: NormalizedZoomValue;
|
|
8
|
+
}> | undefined;
|
|
10
9
|
scrollX?: number | undefined;
|
|
11
10
|
scrollY?: number | undefined;
|
|
11
|
+
editingGroupId?: string | null | undefined;
|
|
12
|
+
selectedElementIds?: Readonly<{
|
|
13
|
+
[id: string]: true;
|
|
14
|
+
}> | undefined;
|
|
15
|
+
theme?: import("@excalidraw/element/types").Theme | undefined;
|
|
16
|
+
selectedGroupIds?: {
|
|
17
|
+
[groupId: string]: boolean;
|
|
18
|
+
} | undefined;
|
|
19
|
+
selectedLinearElement?: import("@excalidraw/element").LinearElementEditor | null | undefined;
|
|
20
|
+
zenModeEnabled?: boolean | undefined;
|
|
12
21
|
showWelcomeScreen?: boolean | undefined;
|
|
13
22
|
myocSimplifiedMode?: boolean | undefined;
|
|
14
23
|
dontResizeLimitMBs?: number | undefined;
|
|
@@ -27,6 +36,7 @@ export declare const clearAppStateForLocalStorage: (appState: Partial<AppState>)
|
|
|
27
36
|
penDetected?: boolean | undefined;
|
|
28
37
|
exportBackground?: boolean | undefined;
|
|
29
38
|
exportEmbedScene?: boolean | undefined;
|
|
39
|
+
exportWithDarkMode?: boolean | undefined;
|
|
30
40
|
exportScale?: number | undefined;
|
|
31
41
|
currentItemStrokeColor?: string | undefined;
|
|
32
42
|
currentItemBackgroundColor?: string | undefined;
|
|
@@ -41,13 +51,9 @@ export declare const clearAppStateForLocalStorage: (appState: Partial<AppState>)
|
|
|
41
51
|
currentItemStartArrowhead?: import("@excalidraw/element/types").Arrowhead | null | undefined;
|
|
42
52
|
currentItemEndArrowhead?: import("@excalidraw/element/types").Arrowhead | null | undefined;
|
|
43
53
|
currentItemRoundness?: import("@excalidraw/element/types").StrokeRoundness | undefined;
|
|
44
|
-
currentItemArrowType?: "
|
|
45
|
-
|
|
54
|
+
currentItemArrowType?: "round" | "sharp" | "elbow" | undefined;
|
|
55
|
+
cursorButton?: "up" | "down" | undefined;
|
|
46
56
|
scrolledOutside?: boolean | undefined;
|
|
47
|
-
name?: string | null | undefined;
|
|
48
|
-
zoom?: Readonly<{
|
|
49
|
-
value: NormalizedZoomValue;
|
|
50
|
-
}> | undefined;
|
|
51
57
|
openMenu?: "canvas" | "shape" | null | undefined;
|
|
52
58
|
openSidebar?: {
|
|
53
59
|
name: string;
|
|
@@ -55,24 +61,18 @@ export declare const clearAppStateForLocalStorage: (appState: Partial<AppState>)
|
|
|
55
61
|
} | null | undefined;
|
|
56
62
|
defaultSidebarDockedPreference?: boolean | undefined;
|
|
57
63
|
lastPointerDownWith?: import("@excalidraw/element/types").PointerType | undefined;
|
|
58
|
-
selectedElementIds?: Readonly<{
|
|
59
|
-
[id: string]: true;
|
|
60
|
-
}> | undefined;
|
|
61
64
|
previousSelectedElementIds?: {
|
|
62
65
|
[id: string]: true;
|
|
63
66
|
} | undefined;
|
|
64
67
|
shouldCacheIgnoreZoom?: boolean | undefined;
|
|
65
|
-
zenModeEnabled?: boolean | undefined;
|
|
66
|
-
theme?: import("@excalidraw/element/types").Theme | undefined;
|
|
67
68
|
gridSize?: number | undefined;
|
|
68
69
|
gridStep?: number | undefined;
|
|
69
70
|
gridModeEnabled?: boolean | undefined;
|
|
70
|
-
|
|
71
|
-
|
|
71
|
+
stats?: {
|
|
72
|
+
open: boolean;
|
|
73
|
+
panels: number;
|
|
72
74
|
} | undefined;
|
|
73
|
-
editingGroupId?: string | null | undefined;
|
|
74
75
|
currentChartType?: import("@excalidraw/element/types").ChartType | undefined;
|
|
75
|
-
selectedLinearElement?: import("@excalidraw/element").LinearElementEditor | null | undefined;
|
|
76
76
|
objectsSnapModeEnabled?: boolean | undefined;
|
|
77
77
|
lockedMultiSelections?: {
|
|
78
78
|
[groupId: string]: true;
|
|
@@ -28,7 +28,3 @@ export declare const ExitZenModeAction: ({ actionManager, showExitZenModeBtn, }:
|
|
|
28
28
|
actionManager: ActionManager;
|
|
29
29
|
showExitZenModeBtn: boolean;
|
|
30
30
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export declare const FinalizeAction: ({ renderAction, className, }: {
|
|
32
|
-
renderAction: ActionManager["renderAction"];
|
|
33
|
-
className?: string | undefined;
|
|
34
|
-
}) => import("react/jsx-runtime").JSX.Element;
|