@zsviczian/excalidraw 0.13.0-obsidian → 0.13.0-obsidian-2
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/README.md +1 -1
- package/dist/excalidraw.development.js +1149 -166
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +104 -0
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +9 -9
- package/types/actions/actionAlign.d.ts +18 -6
- package/types/actions/actionBoundText.d.ts +3 -3
- package/types/actions/actionCanvas.d.ts +62 -43
- package/types/actions/actionClipboard.d.ts +24 -15
- package/types/actions/actionDeleteSelected.d.ts +21 -10
- package/types/actions/actionDistribute.d.ts +6 -2
- package/types/actions/actionDuplicateSelection.d.ts +3 -1
- package/types/actions/actionExport.d.ts +61 -44
- package/types/actions/actionFinalize.d.ts +9 -7
- package/types/actions/actionGroup.d.ts +6 -2
- package/types/actions/actionLinearEditor.d.ts +3 -3
- package/types/actions/actionMenu.d.ts +20 -12
- package/types/actions/actionNavigate.d.ts +4 -1
- package/types/actions/actionProperties.d.ts +80 -54
- package/types/actions/actionStyles.d.ts +3 -3
- package/types/actions/actionToggleGridMode.d.ts +4 -3
- package/types/actions/actionToggleLock.d.ts +3 -3
- package/types/actions/actionToggleStats.d.ts +4 -3
- package/types/actions/actionToggleViewMode.d.ts +4 -3
- package/types/actions/actionToggleZenMode.d.ts +4 -3
- package/types/actions/actionZindex.d.ts +12 -4
- package/types/actions/manager.d.ts +1 -1
- package/types/actions/shortcuts.d.ts +1 -1
- package/types/actions/types.d.ts +7 -2
- package/types/appState.d.ts +11 -11
- package/types/bug-issue-template.d.ts +2 -0
- package/types/clients.d.ts +1 -1
- package/types/clipboard.d.ts +6 -1
- package/types/components/Actions.d.ts +1 -0
- package/types/components/App.d.ts +47 -1
- package/types/components/Avatar.d.ts +1 -1
- package/types/components/CollabButton.d.ts +2 -1
- package/types/components/ContextMenu.d.ts +9 -10
- package/types/components/DialogActionButton.d.ts +10 -0
- package/types/components/EncryptedIcon.d.ts +2 -0
- package/types/components/Footer.d.ts +2 -1
- package/types/components/HelpButton.d.ts +8 -0
- package/types/components/ImageExportDialog.d.ts +3 -1
- package/types/components/LayerUI.d.ts +2 -1
- package/types/components/LibraryButton.d.ts +1 -0
- package/types/components/LibraryMenuBrowseButton.d.ts +7 -0
- package/types/components/LibraryMenuItems.d.ts +5 -2
- package/types/components/MenuItem.d.ts +11 -0
- package/types/components/MenuUtils.d.ts +2 -0
- package/types/components/MobileMenu.d.ts +2 -1
- package/types/components/Sidebar/Sidebar.d.ts +1 -1
- package/types/components/Sidebar/common.d.ts +1 -0
- package/types/components/TopErrorBoundary.d.ts +15 -0
- package/types/components/WelcomeScreen.d.ts +8 -0
- package/types/components/WelcomeScreenDecor.d.ts +6 -0
- package/types/components/icons.d.ts +83 -124
- package/types/constants.d.ts +8 -5
- package/types/element/Hyperlink.d.ts +6 -4
- package/types/element/bounds.d.ts +3 -2
- package/types/element/linearElementEditor.d.ts +34 -6
- package/types/element/newElement.d.ts +2 -2
- package/types/element/resizeElements.d.ts +0 -1
- package/types/element/textElement.d.ts +17 -2
- package/types/element/transformHandles.d.ts +3 -4
- package/types/element/typeChecks.d.ts +10 -1
- package/types/element/types.d.ts +11 -4
- package/types/excalidraw-app/CustomStats.d.ts +9 -0
- package/types/excalidraw-app/app_constants.d.ts +32 -0
- package/types/excalidraw-app/collab/Collab.d.ts +163 -0
- package/types/excalidraw-app/collab/Portal.d.ts +28 -0
- package/types/excalidraw-app/collab/RoomDialog.d.ts +13 -0
- package/types/excalidraw-app/collab/reconciliation.d.ts +10 -0
- package/types/excalidraw-app/components/ExportToExcalidrawPlus.d.ts +9 -0
- package/types/excalidraw-app/components/LanguageList.d.ts +4 -0
- package/types/excalidraw-app/components/icons.d.ts +1 -0
- package/types/excalidraw-app/data/FileManager.d.ts +66 -0
- package/types/excalidraw-app/data/LocalData.d.ts +32 -0
- package/types/excalidraw-app/data/Locker.d.ts +8 -0
- package/types/excalidraw-app/data/firebase.d.ts +25 -0
- package/types/excalidraw-app/data/index.d.ts +185 -0
- package/types/excalidraw-app/data/localStorage.d.ts +111 -0
- package/types/excalidraw-app/data/tabSync.d.ts +9 -0
- package/types/excalidraw-app/index.d.ts +26 -0
- package/types/hooks/useOutsideClick.d.ts +2 -0
- package/types/keys.d.ts +10 -0
- package/types/math.d.ts +2 -1
- package/types/packages/excalidraw/index.d.ts +3 -0
- package/types/packages/utils.d.ts +3 -1
- package/types/renderer/renderElement.d.ts +4 -3
- package/types/renderer/renderScene.d.ts +1 -1
- package/types/scene/Fonts.d.ts +21 -0
- package/types/scene/Scene.d.ts +15 -0
- package/types/scene/comparisons.d.ts +2 -3
- package/types/scene/index.d.ts +1 -1
- package/types/scene/types.d.ts +1 -0
- package/types/shapes.d.ts +27 -3
- package/types/types.d.ts +15 -4
|
@@ -11,6 +11,110 @@ https://github.com/nodeca/pica
|
|
|
11
11
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
/*! *****************************************************************************
|
|
15
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
16
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
17
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
18
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
19
|
+
|
|
20
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
21
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
22
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
23
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
24
|
+
|
|
25
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
26
|
+
and limitations under the License.
|
|
27
|
+
***************************************************************************** */
|
|
28
|
+
|
|
29
|
+
/*! https://mths.be/utf8js v2.1.2 by @mathias */
|
|
30
|
+
|
|
31
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @license
|
|
35
|
+
* Copyright 2017 Google LLC
|
|
36
|
+
*
|
|
37
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
38
|
+
* you may not use this file except in compliance with the License.
|
|
39
|
+
* You may obtain a copy of the License at
|
|
40
|
+
*
|
|
41
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
42
|
+
*
|
|
43
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
44
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
45
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
46
|
+
* See the License for the specific language governing permissions and
|
|
47
|
+
* limitations under the License.
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @license
|
|
52
|
+
* Copyright 2018 Google LLC
|
|
53
|
+
*
|
|
54
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
55
|
+
* you may not use this file except in compliance with the License.
|
|
56
|
+
* You may obtain a copy of the License at
|
|
57
|
+
*
|
|
58
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
59
|
+
*
|
|
60
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
61
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
62
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
63
|
+
* See the License for the specific language governing permissions and
|
|
64
|
+
* limitations under the License.
|
|
65
|
+
*/
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @license
|
|
69
|
+
* Copyright 2019 Google LLC
|
|
70
|
+
*
|
|
71
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
72
|
+
* you may not use this file except in compliance with the License.
|
|
73
|
+
* You may obtain a copy of the License at
|
|
74
|
+
*
|
|
75
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
76
|
+
*
|
|
77
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
78
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
79
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
80
|
+
* See the License for the specific language governing permissions and
|
|
81
|
+
* limitations under the License.
|
|
82
|
+
*/
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @license
|
|
86
|
+
* Copyright 2020 Google LLC
|
|
87
|
+
*
|
|
88
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
89
|
+
* you may not use this file except in compliance with the License.
|
|
90
|
+
* You may obtain a copy of the License at
|
|
91
|
+
*
|
|
92
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
93
|
+
*
|
|
94
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
95
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
96
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
97
|
+
* See the License for the specific language governing permissions and
|
|
98
|
+
* limitations under the License.
|
|
99
|
+
*/
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @license
|
|
103
|
+
* Copyright 2021 Google LLC
|
|
104
|
+
*
|
|
105
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
106
|
+
* you may not use this file except in compliance with the License.
|
|
107
|
+
* You may obtain a copy of the License at
|
|
108
|
+
*
|
|
109
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
110
|
+
*
|
|
111
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
112
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
113
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
114
|
+
* See the License for the specific language governing permissions and
|
|
115
|
+
* limitations under the License.
|
|
116
|
+
*/
|
|
117
|
+
|
|
14
118
|
/**
|
|
15
119
|
* @license React
|
|
16
120
|
* react-jsx-runtime.production.min.js
|
package/package.json
CHANGED
|
@@ -9,6 +9,7 @@ export declare const actionAddToLibrary: {
|
|
|
9
9
|
toast: {
|
|
10
10
|
message: string;
|
|
11
11
|
};
|
|
12
|
+
showWelcomeScreen: boolean;
|
|
12
13
|
isLoading: boolean;
|
|
13
14
|
errorMessage: string | null;
|
|
14
15
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -47,10 +48,9 @@ export declare const actionAddToLibrary: {
|
|
|
47
48
|
currentItemFontFamily: number;
|
|
48
49
|
currentItemFontSize: number;
|
|
49
50
|
currentItemTextAlign: string;
|
|
50
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
51
51
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
52
52
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
53
|
-
|
|
53
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
54
54
|
viewBackgroundColor: string;
|
|
55
55
|
scrollX: number;
|
|
56
56
|
scrollY: number;
|
|
@@ -65,6 +65,7 @@ export declare const actionAddToLibrary: {
|
|
|
65
65
|
openMenu: "canvas" | "shape" | null;
|
|
66
66
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
67
67
|
openSidebar: "library" | "customSidebar" | null;
|
|
68
|
+
openDialog: "imageExport" | "help" | null;
|
|
68
69
|
isSidebarDocked: boolean;
|
|
69
70
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
70
71
|
selectedElementIds: {
|
|
@@ -74,7 +75,6 @@ export declare const actionAddToLibrary: {
|
|
|
74
75
|
[id: string]: boolean;
|
|
75
76
|
};
|
|
76
77
|
shouldCacheIgnoreZoom: boolean;
|
|
77
|
-
showHelpDialog: boolean;
|
|
78
78
|
zenModeEnabled: boolean;
|
|
79
79
|
theme: string;
|
|
80
80
|
gridSize: number | null;
|
|
@@ -113,6 +113,7 @@ export declare const actionAddToLibrary: {
|
|
|
113
113
|
commitToHistory: false;
|
|
114
114
|
appState: {
|
|
115
115
|
errorMessage: any;
|
|
116
|
+
showWelcomeScreen: boolean;
|
|
116
117
|
isLoading: boolean;
|
|
117
118
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
118
119
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -150,10 +151,9 @@ export declare const actionAddToLibrary: {
|
|
|
150
151
|
currentItemFontFamily: number;
|
|
151
152
|
currentItemFontSize: number;
|
|
152
153
|
currentItemTextAlign: string;
|
|
153
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
154
154
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
155
155
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
156
|
-
|
|
156
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
157
157
|
viewBackgroundColor: string;
|
|
158
158
|
scrollX: number;
|
|
159
159
|
scrollY: number;
|
|
@@ -168,6 +168,7 @@ export declare const actionAddToLibrary: {
|
|
|
168
168
|
openMenu: "canvas" | "shape" | null;
|
|
169
169
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
170
170
|
openSidebar: "library" | "customSidebar" | null;
|
|
171
|
+
openDialog: "imageExport" | "help" | null;
|
|
171
172
|
isSidebarDocked: boolean;
|
|
172
173
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
173
174
|
selectedElementIds: {
|
|
@@ -177,7 +178,6 @@ export declare const actionAddToLibrary: {
|
|
|
177
178
|
[id: string]: boolean;
|
|
178
179
|
};
|
|
179
180
|
shouldCacheIgnoreZoom: boolean;
|
|
180
|
-
showHelpDialog: boolean;
|
|
181
181
|
toast: {
|
|
182
182
|
message: string;
|
|
183
183
|
closable?: boolean | undefined;
|
|
@@ -221,6 +221,7 @@ export declare const actionAddToLibrary: {
|
|
|
221
221
|
commitToHistory: false;
|
|
222
222
|
appState: {
|
|
223
223
|
errorMessage: string;
|
|
224
|
+
showWelcomeScreen: boolean;
|
|
224
225
|
isLoading: boolean;
|
|
225
226
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
226
227
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -258,10 +259,9 @@ export declare const actionAddToLibrary: {
|
|
|
258
259
|
currentItemFontFamily: number;
|
|
259
260
|
currentItemFontSize: number;
|
|
260
261
|
currentItemTextAlign: string;
|
|
261
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
262
262
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
263
263
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
264
|
-
|
|
264
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
265
265
|
viewBackgroundColor: string;
|
|
266
266
|
scrollX: number;
|
|
267
267
|
scrollY: number;
|
|
@@ -276,6 +276,7 @@ export declare const actionAddToLibrary: {
|
|
|
276
276
|
openMenu: "canvas" | "shape" | null;
|
|
277
277
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
278
278
|
openSidebar: "library" | "customSidebar" | null;
|
|
279
|
+
openDialog: "imageExport" | "help" | null;
|
|
279
280
|
isSidebarDocked: boolean;
|
|
280
281
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
281
282
|
selectedElementIds: {
|
|
@@ -285,7 +286,6 @@ export declare const actionAddToLibrary: {
|
|
|
285
286
|
[id: string]: boolean;
|
|
286
287
|
};
|
|
287
288
|
shouldCacheIgnoreZoom: boolean;
|
|
288
|
-
showHelpDialog: boolean;
|
|
289
289
|
toast: {
|
|
290
290
|
message: string;
|
|
291
291
|
closable?: boolean | undefined;
|
|
@@ -12,7 +12,9 @@ export declare const actionAlignTop: {
|
|
|
12
12
|
commitToHistory: true;
|
|
13
13
|
};
|
|
14
14
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
15
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
15
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
|
|
16
|
+
isInHamburgerMenu: boolean;
|
|
17
|
+
}) => JSX.Element;
|
|
16
18
|
} & {
|
|
17
19
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
18
20
|
};
|
|
@@ -27,7 +29,9 @@ export declare const actionAlignBottom: {
|
|
|
27
29
|
commitToHistory: true;
|
|
28
30
|
};
|
|
29
31
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
30
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
32
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
|
|
33
|
+
isInHamburgerMenu: boolean;
|
|
34
|
+
}) => JSX.Element;
|
|
31
35
|
} & {
|
|
32
36
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
33
37
|
};
|
|
@@ -42,7 +46,9 @@ export declare const actionAlignLeft: {
|
|
|
42
46
|
commitToHistory: true;
|
|
43
47
|
};
|
|
44
48
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
45
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
49
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
|
|
50
|
+
isInHamburgerMenu: boolean;
|
|
51
|
+
}) => JSX.Element;
|
|
46
52
|
} & {
|
|
47
53
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
48
54
|
};
|
|
@@ -57,7 +63,9 @@ export declare const actionAlignRight: {
|
|
|
57
63
|
commitToHistory: true;
|
|
58
64
|
};
|
|
59
65
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
60
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
66
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
|
|
67
|
+
isInHamburgerMenu: boolean;
|
|
68
|
+
}) => JSX.Element;
|
|
61
69
|
} & {
|
|
62
70
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
63
71
|
};
|
|
@@ -71,7 +79,9 @@ export declare const actionAlignVerticallyCentered: {
|
|
|
71
79
|
elements: ExcalidrawElement[];
|
|
72
80
|
commitToHistory: true;
|
|
73
81
|
};
|
|
74
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
82
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
|
|
83
|
+
isInHamburgerMenu: boolean;
|
|
84
|
+
}) => JSX.Element;
|
|
75
85
|
} & {
|
|
76
86
|
keyTest?: undefined;
|
|
77
87
|
};
|
|
@@ -85,7 +95,9 @@ export declare const actionAlignHorizontallyCentered: {
|
|
|
85
95
|
elements: ExcalidrawElement[];
|
|
86
96
|
commitToHistory: true;
|
|
87
97
|
};
|
|
88
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps
|
|
98
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
|
|
99
|
+
isInHamburgerMenu: boolean;
|
|
100
|
+
}) => JSX.Element;
|
|
89
101
|
} & {
|
|
90
102
|
keyTest?: undefined;
|
|
91
103
|
};
|
|
@@ -26,6 +26,7 @@ export declare const actionBindText: {
|
|
|
26
26
|
selectedElementIds: {
|
|
27
27
|
[x: string]: true;
|
|
28
28
|
};
|
|
29
|
+
showWelcomeScreen: boolean;
|
|
29
30
|
isLoading: boolean;
|
|
30
31
|
errorMessage: string | null;
|
|
31
32
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -64,10 +65,9 @@ export declare const actionBindText: {
|
|
|
64
65
|
currentItemFontFamily: number;
|
|
65
66
|
currentItemFontSize: number;
|
|
66
67
|
currentItemTextAlign: string;
|
|
67
|
-
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
68
68
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
69
69
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
70
|
-
|
|
70
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
71
71
|
viewBackgroundColor: string;
|
|
72
72
|
scrollX: number;
|
|
73
73
|
scrollY: number;
|
|
@@ -82,13 +82,13 @@ export declare const actionBindText: {
|
|
|
82
82
|
openMenu: "canvas" | "shape" | null;
|
|
83
83
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
84
84
|
openSidebar: "library" | "customSidebar" | null;
|
|
85
|
+
openDialog: "imageExport" | "help" | null;
|
|
85
86
|
isSidebarDocked: boolean;
|
|
86
87
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
87
88
|
previousSelectedElementIds: {
|
|
88
89
|
[id: string]: boolean;
|
|
89
90
|
};
|
|
90
91
|
shouldCacheIgnoreZoom: boolean;
|
|
91
|
-
showHelpDialog: boolean;
|
|
92
92
|
toast: {
|
|
93
93
|
message: string;
|
|
94
94
|
closable?: boolean | undefined;
|