@excalidraw/excalidraw 0.15.2-6546-a6b389c → 0.15.2-6546-3398d86
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/CHANGELOG.md +19 -0
- package/dist/excalidraw-assets/locales/{es-ES-json-f2467c6a875a9e288756.js → es-ES-json-4f3da97feff33cb00e6d.js} +1 -1
- package/dist/excalidraw-assets/locales/{hi-IN-json-e22f4ad73126c2971850.js → hi-IN-json-3898c9c1216b44476529.js} +1 -1
- package/dist/excalidraw-assets/locales/{id-ID-json-0e69caf5d919807ed234.js → id-ID-json-43d505d7071a0e359681.js} +1 -1
- package/dist/excalidraw-assets/locales/{kk-KZ-json-106d2a41c68f69765668.js → kk-KZ-json-f648362328b839e9313f.js} +1 -1
- package/dist/excalidraw-assets/locales/{pa-IN-json-0fd029451b07248c5194.js → pa-IN-json-d9ee09801ed220840b2b.js} +1 -1
- package/dist/excalidraw-assets/{vendor-53d1c69ef585b6dd219b.js → vendor-ef3c5d81a00ef582b871.js} +2 -2
- package/dist/excalidraw-assets-dev/{vendor-e6df8519da951026ff69.js → vendor-a14cd58fa2db417e42b2.js} +6 -6
- package/dist/excalidraw.development.js +2163 -2119
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +15 -0
- package/package.json +7 -2
- package/types/actions/actionAddToLibrary.d.ts +21 -10
- package/types/actions/actionAlign.d.ts +0 -1
- package/types/actions/actionBoundText.d.ts +14 -7
- package/types/actions/actionCanvas.d.ts +76 -39
- package/types/actions/actionClipboard.d.ts +32 -16
- package/types/actions/actionDeleteSelected.d.ts +18 -10
- package/types/actions/actionDistribute.d.ts +0 -1
- package/types/actions/actionDuplicateSelection.d.ts +0 -1
- package/types/actions/actionElementLock.d.ts +14 -7
- package/types/actions/actionExport.d.ts +71 -35
- package/types/actions/actionFinalize.d.ts +11 -7
- package/types/actions/actionFlip.d.ts +0 -1
- package/types/actions/actionFrame.d.ts +21 -10
- package/types/actions/actionGroup.d.ts +0 -1
- package/types/actions/actionLinearEditor.d.ts +7 -4
- package/types/actions/actionMenu.d.ts +21 -10
- package/types/actions/actionProperties.d.ts +91 -40
- package/types/actions/actionSelectAll.d.ts +0 -1
- package/types/actions/actionStyles.d.ts +7 -4
- package/types/actions/actionToggleGridMode.d.ts +7 -4
- package/types/actions/actionToggleStats.d.ts +7 -4
- package/types/actions/actionToggleViewMode.d.ts +7 -4
- package/types/actions/actionToggleZenMode.d.ts +7 -4
- package/types/actions/types.d.ts +1 -1
- package/types/appState.d.ts +3 -3
- package/types/colors.d.ts +9 -9
- package/types/components/App.d.ts +10 -0
- package/types/components/Button.d.ts +0 -1
- package/types/components/Card.d.ts +0 -1
- package/types/components/ColorPicker/keyboardNavHandlers.d.ts +0 -1
- package/types/components/DefaultSidebar.d.ts +0 -1
- package/types/components/EyeDropper.d.ts +0 -1
- package/types/components/LibraryMenuHeaderContent.d.ts +0 -1
- package/types/components/LibraryUnit.d.ts +0 -1
- package/types/components/LoadingMessage.d.ts +0 -1
- package/types/components/Section.d.ts +1 -1
- package/types/components/Sidebar/SidebarTab.d.ts +0 -1
- package/types/components/Sidebar/SidebarTabTrigger.d.ts +0 -1
- package/types/components/Sidebar/SidebarTabTriggers.d.ts +0 -1
- package/types/components/Sidebar/SidebarTabs.d.ts +0 -1
- package/types/components/Stack.d.ts +2 -2
- package/types/components/Trans.d.ts +2 -1
- package/types/components/dropdownMenu/DropdownMenuTrigger.d.ts +0 -1
- package/types/components/icons.d.ts +1 -0
- package/types/components/live-collaboration/LiveCollaborationTrigger.d.ts +0 -1
- package/types/components/welcome-screen/WelcomeScreen.Center.d.ts +0 -1
- package/types/components/welcome-screen/WelcomeScreen.d.ts +0 -1
- package/types/constants.d.ts +16 -3
- package/types/data/transform.d.ts +8 -11
- package/types/data/url.d.ts +5 -0
- package/types/element/Hyperlink.d.ts +16 -7
- package/types/element/collision.d.ts +2 -2
- package/types/element/embeddable.d.ts +153 -0
- package/types/element/linearElementEditor.d.ts +8 -5
- package/types/element/newElement.d.ts +5 -2
- package/types/element/textElement.d.ts +4 -7
- package/types/element/transformHandles.d.ts +1 -1
- package/types/element/typeChecks.d.ts +2 -1
- package/types/element/types.d.ts +13 -2
- package/types/hooks/useOutsideClick.d.ts +0 -1
- package/types/hooks/useScrollPosition.d.ts +0 -1
- package/types/i18n.d.ts +5 -2
- package/types/keys.d.ts +1 -0
- package/types/packages/excalidraw/example/initialData.d.ts +2 -1
- package/types/packages/excalidraw/index.d.ts +1 -0
- package/types/packages/excalidraw/webpack.dev.config.d.ts +5 -2
- package/types/packages/excalidraw/webpack.prod.config.d.ts +3 -0
- package/types/packages/utils.d.ts +2 -1
- package/types/renderer/renderElement.d.ts +1 -1
- package/types/renderer/renderScene.d.ts +2 -1
- package/types/scene/export.d.ts +1 -0
- package/types/types.d.ts +9 -3
- package/types/utility-types.d.ts +1 -1
- package/types/utils.d.ts +2 -1
- /package/dist/excalidraw-assets/{vendor-53d1c69ef585b6dd219b.js.LICENSE.txt → vendor-ef3c5d81a00ef582b871.js.LICENSE.txt} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{es-ES-json-f2467c6a875a9e288756.d.ts → es-ES-json-4f3da97feff33cb00e6d.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hi-IN-json-e22f4ad73126c2971850.d.ts → hi-IN-json-3898c9c1216b44476529.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{id-ID-json-0e69caf5d919807ed234.d.ts → id-ID-json-43d505d7071a0e359681.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kk-KZ-json-106d2a41c68f69765668.d.ts → kk-KZ-json-f648362328b839e9313f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pa-IN-json-0fd029451b07248c5194.d.ts → pa-IN-json-d9ee09801ed220840b2b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/{vendor-53d1c69ef585b6dd219b.d.ts → vendor-ef3c5d81a00ef582b871.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/{vendor-e6df8519da951026ff69.d.ts → vendor-a14cd58fa2db417e42b2.d.ts} +0 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ExcalidrawElement } from "../element/types";
|
|
3
2
|
import { AppState } from "../types";
|
|
4
3
|
import { LinearElementEditor } from "../element/linearElementEditor";
|
|
@@ -20,6 +19,10 @@ export declare const actionDeleteSelected: {
|
|
|
20
19
|
showWelcomeScreen: boolean;
|
|
21
20
|
isLoading: boolean;
|
|
22
21
|
errorMessage: import("react").ReactNode;
|
|
22
|
+
activeEmbeddable: {
|
|
23
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
24
|
+
state: "active" | "hover";
|
|
25
|
+
} | null;
|
|
23
26
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
24
27
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
25
28
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -41,7 +44,7 @@ export declare const actionDeleteSelected: {
|
|
|
41
44
|
lastActiveTool: import("../types").LastActiveTool;
|
|
42
45
|
locked: boolean;
|
|
43
46
|
} & ({
|
|
44
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
47
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
45
48
|
customType: null;
|
|
46
49
|
} | {
|
|
47
50
|
type: "custom";
|
|
@@ -100,7 +103,7 @@ export declare const actionDeleteSelected: {
|
|
|
100
103
|
duration?: number | undefined;
|
|
101
104
|
} | null;
|
|
102
105
|
zenModeEnabled: boolean;
|
|
103
|
-
theme:
|
|
106
|
+
theme: import("../element/types").Theme;
|
|
104
107
|
gridSize: number | null;
|
|
105
108
|
viewModeEnabled: boolean;
|
|
106
109
|
selectedGroupIds: {
|
|
@@ -123,7 +126,7 @@ export declare const actionDeleteSelected: {
|
|
|
123
126
|
data: import("../charts").Spreadsheet;
|
|
124
127
|
};
|
|
125
128
|
pendingImageElementId: string | null;
|
|
126
|
-
showHyperlinkPopup: false | "
|
|
129
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
127
130
|
selectedLinearElement: LinearElementEditor | null;
|
|
128
131
|
};
|
|
129
132
|
commitToHistory: false;
|
|
@@ -167,6 +170,10 @@ export declare const actionDeleteSelected: {
|
|
|
167
170
|
showWelcomeScreen: boolean;
|
|
168
171
|
isLoading: boolean;
|
|
169
172
|
errorMessage: import("react").ReactNode;
|
|
173
|
+
activeEmbeddable: {
|
|
174
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
175
|
+
state: "active" | "hover";
|
|
176
|
+
} | null;
|
|
170
177
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
171
178
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
172
179
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -188,7 +195,7 @@ export declare const actionDeleteSelected: {
|
|
|
188
195
|
lastActiveTool: import("../types").LastActiveTool;
|
|
189
196
|
locked: boolean;
|
|
190
197
|
} & ({
|
|
191
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
198
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
192
199
|
customType: null;
|
|
193
200
|
} | {
|
|
194
201
|
type: "custom";
|
|
@@ -247,7 +254,7 @@ export declare const actionDeleteSelected: {
|
|
|
247
254
|
duration?: number | undefined;
|
|
248
255
|
} | null;
|
|
249
256
|
zenModeEnabled: boolean;
|
|
250
|
-
theme:
|
|
257
|
+
theme: import("../element/types").Theme;
|
|
251
258
|
gridSize: number | null;
|
|
252
259
|
viewModeEnabled: boolean;
|
|
253
260
|
selectedGroupIds: {
|
|
@@ -270,7 +277,7 @@ export declare const actionDeleteSelected: {
|
|
|
270
277
|
data: import("../charts").Spreadsheet;
|
|
271
278
|
};
|
|
272
279
|
pendingImageElementId: string | null;
|
|
273
|
-
showHyperlinkPopup: false | "
|
|
280
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
274
281
|
selectedLinearElement: LinearElementEditor | null;
|
|
275
282
|
};
|
|
276
283
|
commitToHistory: true;
|
|
@@ -281,13 +288,14 @@ export declare const actionDeleteSelected: {
|
|
|
281
288
|
lastActiveTool: import("../types").LastActiveTool;
|
|
282
289
|
locked: boolean;
|
|
283
290
|
} & ({
|
|
284
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
291
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
285
292
|
customType: null;
|
|
286
293
|
} | {
|
|
287
294
|
type: "custom";
|
|
288
295
|
customType: string;
|
|
289
296
|
});
|
|
290
297
|
multiElement: null;
|
|
298
|
+
activeEmbeddable: null;
|
|
291
299
|
selectedElementIds: {};
|
|
292
300
|
contextMenu: {
|
|
293
301
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -364,7 +372,7 @@ export declare const actionDeleteSelected: {
|
|
|
364
372
|
duration?: number | undefined;
|
|
365
373
|
} | null;
|
|
366
374
|
zenModeEnabled: boolean;
|
|
367
|
-
theme:
|
|
375
|
+
theme: import("../element/types").Theme;
|
|
368
376
|
gridSize: number | null;
|
|
369
377
|
viewModeEnabled: boolean;
|
|
370
378
|
selectedGroupIds: {
|
|
@@ -387,7 +395,7 @@ export declare const actionDeleteSelected: {
|
|
|
387
395
|
data: import("../charts").Spreadsheet;
|
|
388
396
|
};
|
|
389
397
|
pendingImageElementId: string | null;
|
|
390
|
-
showHyperlinkPopup: false | "
|
|
398
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
391
399
|
selectedLinearElement: LinearElementEditor | null;
|
|
392
400
|
};
|
|
393
401
|
commitToHistory: boolean;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ExcalidrawElement } from "../element/types";
|
|
3
2
|
export declare const actionToggleElementLock: {
|
|
4
3
|
name: "toggleElementLock";
|
|
@@ -18,6 +17,10 @@ export declare const actionToggleElementLock: {
|
|
|
18
17
|
showWelcomeScreen: boolean;
|
|
19
18
|
isLoading: boolean;
|
|
20
19
|
errorMessage: import("react").ReactNode;
|
|
20
|
+
activeEmbeddable: {
|
|
21
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
22
|
+
state: "active" | "hover";
|
|
23
|
+
} | null;
|
|
21
24
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
22
25
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
23
26
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -40,7 +43,7 @@ export declare const actionToggleElementLock: {
|
|
|
40
43
|
lastActiveTool: import("../types").LastActiveTool;
|
|
41
44
|
locked: boolean;
|
|
42
45
|
} & ({
|
|
43
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
46
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
44
47
|
customType: null;
|
|
45
48
|
} | {
|
|
46
49
|
type: "custom";
|
|
@@ -99,7 +102,7 @@ export declare const actionToggleElementLock: {
|
|
|
99
102
|
duration?: number | undefined;
|
|
100
103
|
} | null;
|
|
101
104
|
zenModeEnabled: boolean;
|
|
102
|
-
theme:
|
|
105
|
+
theme: import("../element/types").Theme;
|
|
103
106
|
gridSize: number | null;
|
|
104
107
|
viewModeEnabled: boolean;
|
|
105
108
|
selectedGroupIds: {
|
|
@@ -122,7 +125,7 @@ export declare const actionToggleElementLock: {
|
|
|
122
125
|
data: import("../charts").Spreadsheet;
|
|
123
126
|
};
|
|
124
127
|
pendingImageElementId: string | null;
|
|
125
|
-
showHyperlinkPopup: false | "
|
|
128
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
126
129
|
};
|
|
127
130
|
commitToHistory: true;
|
|
128
131
|
};
|
|
@@ -152,6 +155,10 @@ export declare const actionUnlockAllElements: {
|
|
|
152
155
|
showWelcomeScreen: boolean;
|
|
153
156
|
isLoading: boolean;
|
|
154
157
|
errorMessage: import("react").ReactNode;
|
|
158
|
+
activeEmbeddable: {
|
|
159
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
160
|
+
state: "active" | "hover";
|
|
161
|
+
} | null;
|
|
155
162
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
156
163
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
157
164
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -174,7 +181,7 @@ export declare const actionUnlockAllElements: {
|
|
|
174
181
|
lastActiveTool: import("../types").LastActiveTool;
|
|
175
182
|
locked: boolean;
|
|
176
183
|
} & ({
|
|
177
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
184
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
178
185
|
customType: null;
|
|
179
186
|
} | {
|
|
180
187
|
type: "custom";
|
|
@@ -230,7 +237,7 @@ export declare const actionUnlockAllElements: {
|
|
|
230
237
|
duration?: number | undefined;
|
|
231
238
|
} | null;
|
|
232
239
|
zenModeEnabled: boolean;
|
|
233
|
-
theme:
|
|
240
|
+
theme: import("../element/types").Theme;
|
|
234
241
|
gridSize: number | null;
|
|
235
242
|
viewModeEnabled: boolean;
|
|
236
243
|
selectedGroupIds: {
|
|
@@ -253,7 +260,7 @@ export declare const actionUnlockAllElements: {
|
|
|
253
260
|
data: import("../charts").Spreadsheet;
|
|
254
261
|
};
|
|
255
262
|
pendingImageElementId: string | null;
|
|
256
|
-
showHyperlinkPopup: false | "
|
|
263
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
257
264
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
258
265
|
};
|
|
259
266
|
commitToHistory: true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { Theme } from "../element/types";
|
|
2
2
|
import "../components/ToolIcon.scss";
|
|
3
3
|
export declare const actionChangeProjectName: {
|
|
4
4
|
name: "changeProjectName";
|
|
@@ -14,6 +14,10 @@ export declare const actionChangeProjectName: {
|
|
|
14
14
|
showWelcomeScreen: boolean;
|
|
15
15
|
isLoading: boolean;
|
|
16
16
|
errorMessage: import("react").ReactNode;
|
|
17
|
+
activeEmbeddable: {
|
|
18
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
19
|
+
state: "active" | "hover";
|
|
20
|
+
} | null;
|
|
17
21
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
18
22
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
19
23
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -36,7 +40,7 @@ export declare const actionChangeProjectName: {
|
|
|
36
40
|
lastActiveTool: import("../types").LastActiveTool;
|
|
37
41
|
locked: boolean;
|
|
38
42
|
} & ({
|
|
39
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
43
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
40
44
|
customType: null;
|
|
41
45
|
} | {
|
|
42
46
|
type: "custom";
|
|
@@ -94,7 +98,7 @@ export declare const actionChangeProjectName: {
|
|
|
94
98
|
duration?: number | undefined;
|
|
95
99
|
} | null;
|
|
96
100
|
zenModeEnabled: boolean;
|
|
97
|
-
theme:
|
|
101
|
+
theme: Theme;
|
|
98
102
|
gridSize: number | null;
|
|
99
103
|
viewModeEnabled: boolean;
|
|
100
104
|
selectedGroupIds: {
|
|
@@ -117,7 +121,7 @@ export declare const actionChangeProjectName: {
|
|
|
117
121
|
data: import("../charts").Spreadsheet;
|
|
118
122
|
};
|
|
119
123
|
pendingImageElementId: string | null;
|
|
120
|
-
showHyperlinkPopup: false | "
|
|
124
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
121
125
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
122
126
|
};
|
|
123
127
|
commitToHistory: false;
|
|
@@ -143,6 +147,10 @@ export declare const actionChangeExportScale: {
|
|
|
143
147
|
showWelcomeScreen: boolean;
|
|
144
148
|
isLoading: boolean;
|
|
145
149
|
errorMessage: import("react").ReactNode;
|
|
150
|
+
activeEmbeddable: {
|
|
151
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
152
|
+
state: "active" | "hover";
|
|
153
|
+
} | null;
|
|
146
154
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
147
155
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
148
156
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -165,7 +173,7 @@ export declare const actionChangeExportScale: {
|
|
|
165
173
|
lastActiveTool: import("../types").LastActiveTool;
|
|
166
174
|
locked: boolean;
|
|
167
175
|
} & ({
|
|
168
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
176
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
169
177
|
customType: null;
|
|
170
178
|
} | {
|
|
171
179
|
type: "custom";
|
|
@@ -223,7 +231,7 @@ export declare const actionChangeExportScale: {
|
|
|
223
231
|
duration?: number | undefined;
|
|
224
232
|
} | null;
|
|
225
233
|
zenModeEnabled: boolean;
|
|
226
|
-
theme:
|
|
234
|
+
theme: Theme;
|
|
227
235
|
gridSize: number | null;
|
|
228
236
|
viewModeEnabled: boolean;
|
|
229
237
|
selectedGroupIds: {
|
|
@@ -246,7 +254,7 @@ export declare const actionChangeExportScale: {
|
|
|
246
254
|
data: import("../charts").Spreadsheet;
|
|
247
255
|
};
|
|
248
256
|
pendingImageElementId: string | null;
|
|
249
|
-
showHyperlinkPopup: false | "
|
|
257
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
250
258
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
251
259
|
};
|
|
252
260
|
commitToHistory: false;
|
|
@@ -272,6 +280,10 @@ export declare const actionChangeExportBackground: {
|
|
|
272
280
|
showWelcomeScreen: boolean;
|
|
273
281
|
isLoading: boolean;
|
|
274
282
|
errorMessage: import("react").ReactNode;
|
|
283
|
+
activeEmbeddable: {
|
|
284
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
285
|
+
state: "active" | "hover";
|
|
286
|
+
} | null;
|
|
275
287
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
276
288
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
277
289
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -294,7 +306,7 @@ export declare const actionChangeExportBackground: {
|
|
|
294
306
|
lastActiveTool: import("../types").LastActiveTool;
|
|
295
307
|
locked: boolean;
|
|
296
308
|
} & ({
|
|
297
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
309
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
298
310
|
customType: null;
|
|
299
311
|
} | {
|
|
300
312
|
type: "custom";
|
|
@@ -352,7 +364,7 @@ export declare const actionChangeExportBackground: {
|
|
|
352
364
|
duration?: number | undefined;
|
|
353
365
|
} | null;
|
|
354
366
|
zenModeEnabled: boolean;
|
|
355
|
-
theme:
|
|
367
|
+
theme: Theme;
|
|
356
368
|
gridSize: number | null;
|
|
357
369
|
viewModeEnabled: boolean;
|
|
358
370
|
selectedGroupIds: {
|
|
@@ -375,7 +387,7 @@ export declare const actionChangeExportBackground: {
|
|
|
375
387
|
data: import("../charts").Spreadsheet;
|
|
376
388
|
};
|
|
377
389
|
pendingImageElementId: string | null;
|
|
378
|
-
showHyperlinkPopup: false | "
|
|
390
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
379
391
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
380
392
|
};
|
|
381
393
|
commitToHistory: false;
|
|
@@ -401,6 +413,10 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
401
413
|
showWelcomeScreen: boolean;
|
|
402
414
|
isLoading: boolean;
|
|
403
415
|
errorMessage: import("react").ReactNode;
|
|
416
|
+
activeEmbeddable: {
|
|
417
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
418
|
+
state: "active" | "hover";
|
|
419
|
+
} | null;
|
|
404
420
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
405
421
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
406
422
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -423,7 +439,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
423
439
|
lastActiveTool: import("../types").LastActiveTool;
|
|
424
440
|
locked: boolean;
|
|
425
441
|
} & ({
|
|
426
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
442
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
427
443
|
customType: null;
|
|
428
444
|
} | {
|
|
429
445
|
type: "custom";
|
|
@@ -481,7 +497,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
481
497
|
duration?: number | undefined;
|
|
482
498
|
} | null;
|
|
483
499
|
zenModeEnabled: boolean;
|
|
484
|
-
theme:
|
|
500
|
+
theme: Theme;
|
|
485
501
|
gridSize: number | null;
|
|
486
502
|
viewModeEnabled: boolean;
|
|
487
503
|
selectedGroupIds: {
|
|
@@ -504,7 +520,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
504
520
|
data: import("../charts").Spreadsheet;
|
|
505
521
|
};
|
|
506
522
|
pendingImageElementId: string | null;
|
|
507
|
-
showHyperlinkPopup: false | "
|
|
523
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
508
524
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
509
525
|
};
|
|
510
526
|
commitToHistory: false;
|
|
@@ -534,6 +550,10 @@ export declare const actionSaveToActiveFile: {
|
|
|
534
550
|
showWelcomeScreen: boolean;
|
|
535
551
|
isLoading: boolean;
|
|
536
552
|
errorMessage: import("react").ReactNode;
|
|
553
|
+
activeEmbeddable: {
|
|
554
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
555
|
+
state: "active" | "hover";
|
|
556
|
+
} | null;
|
|
537
557
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
538
558
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
539
559
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -556,7 +576,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
556
576
|
lastActiveTool: import("../types").LastActiveTool;
|
|
557
577
|
locked: boolean;
|
|
558
578
|
} & ({
|
|
559
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
579
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
560
580
|
customType: null;
|
|
561
581
|
} | {
|
|
562
582
|
type: "custom";
|
|
@@ -610,7 +630,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
610
630
|
selectedElementsAreBeingDragged: boolean;
|
|
611
631
|
shouldCacheIgnoreZoom: boolean;
|
|
612
632
|
zenModeEnabled: boolean;
|
|
613
|
-
theme:
|
|
633
|
+
theme: Theme;
|
|
614
634
|
gridSize: number | null;
|
|
615
635
|
viewModeEnabled: boolean;
|
|
616
636
|
selectedGroupIds: {
|
|
@@ -632,7 +652,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
632
652
|
data: import("../charts").Spreadsheet;
|
|
633
653
|
};
|
|
634
654
|
pendingImageElementId: string | null;
|
|
635
|
-
showHyperlinkPopup: false | "
|
|
655
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
636
656
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
637
657
|
};
|
|
638
658
|
} | {
|
|
@@ -661,6 +681,10 @@ export declare const actionSaveFileToDisk: {
|
|
|
661
681
|
showWelcomeScreen: boolean;
|
|
662
682
|
isLoading: boolean;
|
|
663
683
|
errorMessage: import("react").ReactNode;
|
|
684
|
+
activeEmbeddable: {
|
|
685
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
686
|
+
state: "active" | "hover";
|
|
687
|
+
} | null;
|
|
664
688
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
665
689
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
666
690
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -683,7 +707,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
683
707
|
lastActiveTool: import("../types").LastActiveTool;
|
|
684
708
|
locked: boolean;
|
|
685
709
|
} & ({
|
|
686
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
710
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
687
711
|
customType: null;
|
|
688
712
|
} | {
|
|
689
713
|
type: "custom";
|
|
@@ -742,7 +766,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
742
766
|
duration?: number | undefined;
|
|
743
767
|
} | null;
|
|
744
768
|
zenModeEnabled: boolean;
|
|
745
|
-
theme:
|
|
769
|
+
theme: Theme;
|
|
746
770
|
gridSize: number | null;
|
|
747
771
|
viewModeEnabled: boolean;
|
|
748
772
|
selectedGroupIds: {
|
|
@@ -764,7 +788,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
764
788
|
data: import("../charts").Spreadsheet;
|
|
765
789
|
};
|
|
766
790
|
pendingImageElementId: string | null;
|
|
767
|
-
showHyperlinkPopup: false | "
|
|
791
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
768
792
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
769
793
|
};
|
|
770
794
|
} | {
|
|
@@ -785,18 +809,25 @@ export declare const actionLoadScene: {
|
|
|
785
809
|
perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
|
|
786
810
|
elements: import("../element/types").ExcalidrawElement[];
|
|
787
811
|
appState: {
|
|
788
|
-
theme:
|
|
812
|
+
theme: Theme;
|
|
789
813
|
name: string;
|
|
790
814
|
activeTool: {
|
|
791
815
|
lastActiveTool: import("../types").LastActiveTool;
|
|
792
816
|
locked: boolean;
|
|
793
817
|
} & ({
|
|
794
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
818
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
795
819
|
customType: null;
|
|
796
820
|
} | {
|
|
797
821
|
type: "custom";
|
|
798
822
|
customType: string;
|
|
799
823
|
});
|
|
824
|
+
toast: {
|
|
825
|
+
message: string;
|
|
826
|
+
closable?: boolean | undefined;
|
|
827
|
+
duration?: number | undefined;
|
|
828
|
+
} | null;
|
|
829
|
+
collaborators: Map<string, import("../types").Collaborator>;
|
|
830
|
+
penMode: boolean;
|
|
800
831
|
contextMenu: {
|
|
801
832
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
802
833
|
top: number;
|
|
@@ -805,6 +836,10 @@ export declare const actionLoadScene: {
|
|
|
805
836
|
showWelcomeScreen: boolean;
|
|
806
837
|
isLoading: boolean;
|
|
807
838
|
errorMessage: import("react").ReactNode;
|
|
839
|
+
activeEmbeddable: {
|
|
840
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
841
|
+
state: "active" | "hover";
|
|
842
|
+
} | null;
|
|
808
843
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
809
844
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
810
845
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -823,7 +858,6 @@ export declare const actionLoadScene: {
|
|
|
823
858
|
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
824
859
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
825
860
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
826
|
-
penMode: boolean;
|
|
827
861
|
penDetected: boolean;
|
|
828
862
|
exportBackground: boolean;
|
|
829
863
|
exportEmbedScene: boolean;
|
|
@@ -869,11 +903,6 @@ export declare const actionLoadScene: {
|
|
|
869
903
|
};
|
|
870
904
|
selectedElementsAreBeingDragged: boolean;
|
|
871
905
|
shouldCacheIgnoreZoom: boolean;
|
|
872
|
-
toast: {
|
|
873
|
-
message: string;
|
|
874
|
-
closable?: boolean | undefined;
|
|
875
|
-
duration?: number | undefined;
|
|
876
|
-
} | null;
|
|
877
906
|
zenModeEnabled: boolean;
|
|
878
907
|
gridSize: number | null;
|
|
879
908
|
viewModeEnabled: boolean;
|
|
@@ -882,7 +911,6 @@ export declare const actionLoadScene: {
|
|
|
882
911
|
};
|
|
883
912
|
editingGroupId: string | null;
|
|
884
913
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
885
|
-
collaborators: Map<string, import("../types").Collaborator>;
|
|
886
914
|
showStats: boolean;
|
|
887
915
|
currentChartType: import("../element/types").ChartType;
|
|
888
916
|
pasteDialog: {
|
|
@@ -893,7 +921,7 @@ export declare const actionLoadScene: {
|
|
|
893
921
|
data: import("../charts").Spreadsheet;
|
|
894
922
|
};
|
|
895
923
|
pendingImageElementId: string | null;
|
|
896
|
-
showHyperlinkPopup: false | "
|
|
924
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
897
925
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
898
926
|
};
|
|
899
927
|
files: import("../types").BinaryFiles;
|
|
@@ -909,6 +937,10 @@ export declare const actionLoadScene: {
|
|
|
909
937
|
} | null;
|
|
910
938
|
showWelcomeScreen: boolean;
|
|
911
939
|
isLoading: boolean;
|
|
940
|
+
activeEmbeddable: {
|
|
941
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
942
|
+
state: "active" | "hover";
|
|
943
|
+
} | null;
|
|
912
944
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
913
945
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
914
946
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -931,7 +963,7 @@ export declare const actionLoadScene: {
|
|
|
931
963
|
lastActiveTool: import("../types").LastActiveTool;
|
|
932
964
|
locked: boolean;
|
|
933
965
|
} & ({
|
|
934
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
966
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
935
967
|
customType: null;
|
|
936
968
|
} | {
|
|
937
969
|
type: "custom";
|
|
@@ -990,7 +1022,7 @@ export declare const actionLoadScene: {
|
|
|
990
1022
|
duration?: number | undefined;
|
|
991
1023
|
} | null;
|
|
992
1024
|
zenModeEnabled: boolean;
|
|
993
|
-
theme:
|
|
1025
|
+
theme: Theme;
|
|
994
1026
|
gridSize: number | null;
|
|
995
1027
|
viewModeEnabled: boolean;
|
|
996
1028
|
selectedGroupIds: {
|
|
@@ -1013,7 +1045,7 @@ export declare const actionLoadScene: {
|
|
|
1013
1045
|
data: import("../charts").Spreadsheet;
|
|
1014
1046
|
};
|
|
1015
1047
|
pendingImageElementId: string | null;
|
|
1016
|
-
showHyperlinkPopup: false | "
|
|
1048
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1017
1049
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1018
1050
|
};
|
|
1019
1051
|
files: import("../types").BinaryFiles;
|
|
@@ -1040,6 +1072,10 @@ export declare const actionExportWithDarkMode: {
|
|
|
1040
1072
|
showWelcomeScreen: boolean;
|
|
1041
1073
|
isLoading: boolean;
|
|
1042
1074
|
errorMessage: import("react").ReactNode;
|
|
1075
|
+
activeEmbeddable: {
|
|
1076
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1077
|
+
state: "active" | "hover";
|
|
1078
|
+
} | null;
|
|
1043
1079
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1044
1080
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1045
1081
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -1062,7 +1098,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1062
1098
|
lastActiveTool: import("../types").LastActiveTool;
|
|
1063
1099
|
locked: boolean;
|
|
1064
1100
|
} & ({
|
|
1065
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1101
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1066
1102
|
customType: null;
|
|
1067
1103
|
} | {
|
|
1068
1104
|
type: "custom";
|
|
@@ -1120,7 +1156,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1120
1156
|
duration?: number | undefined;
|
|
1121
1157
|
} | null;
|
|
1122
1158
|
zenModeEnabled: boolean;
|
|
1123
|
-
theme:
|
|
1159
|
+
theme: Theme;
|
|
1124
1160
|
gridSize: number | null;
|
|
1125
1161
|
viewModeEnabled: boolean;
|
|
1126
1162
|
selectedGroupIds: {
|
|
@@ -1143,7 +1179,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1143
1179
|
data: import("../charts").Spreadsheet;
|
|
1144
1180
|
};
|
|
1145
1181
|
pendingImageElementId: string | null;
|
|
1146
|
-
showHyperlinkPopup: false | "
|
|
1182
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1147
1183
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1148
1184
|
};
|
|
1149
1185
|
commitToHistory: false;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { LinearElementEditor } from "../element/linearElementEditor";
|
|
3
2
|
import { AppState } from "../types";
|
|
4
3
|
export declare const actionFinalize: {
|
|
@@ -17,6 +16,10 @@ export declare const actionFinalize: {
|
|
|
17
16
|
showWelcomeScreen: boolean;
|
|
18
17
|
isLoading: boolean;
|
|
19
18
|
errorMessage: import("react").ReactNode;
|
|
19
|
+
activeEmbeddable: {
|
|
20
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
21
|
+
state: "active" | "hover";
|
|
22
|
+
} | null;
|
|
20
23
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
21
24
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
22
25
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -38,7 +41,7 @@ export declare const actionFinalize: {
|
|
|
38
41
|
lastActiveTool: import("../types").LastActiveTool;
|
|
39
42
|
locked: boolean;
|
|
40
43
|
} & ({
|
|
41
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
44
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
42
45
|
customType: null;
|
|
43
46
|
} | {
|
|
44
47
|
type: "custom";
|
|
@@ -96,7 +99,7 @@ export declare const actionFinalize: {
|
|
|
96
99
|
duration?: number | undefined;
|
|
97
100
|
} | null;
|
|
98
101
|
zenModeEnabled: boolean;
|
|
99
|
-
theme:
|
|
102
|
+
theme: import("../element/types").Theme;
|
|
100
103
|
gridSize: number | null;
|
|
101
104
|
viewModeEnabled: boolean;
|
|
102
105
|
selectedGroupIds: {
|
|
@@ -119,7 +122,7 @@ export declare const actionFinalize: {
|
|
|
119
122
|
data: import("../charts").Spreadsheet;
|
|
120
123
|
};
|
|
121
124
|
pendingImageElementId: string | null;
|
|
122
|
-
showHyperlinkPopup: false | "
|
|
125
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
123
126
|
selectedLinearElement: LinearElementEditor | null;
|
|
124
127
|
};
|
|
125
128
|
commitToHistory: true;
|
|
@@ -131,12 +134,13 @@ export declare const actionFinalize: {
|
|
|
131
134
|
lastActiveTool: import("../types").LastActiveTool;
|
|
132
135
|
locked: boolean;
|
|
133
136
|
} & ({
|
|
134
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
137
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
135
138
|
customType: null;
|
|
136
139
|
} | {
|
|
137
140
|
type: "custom";
|
|
138
141
|
customType: string;
|
|
139
142
|
});
|
|
143
|
+
activeEmbeddable: null;
|
|
140
144
|
draggingElement: null;
|
|
141
145
|
multiElement: null;
|
|
142
146
|
editingElement: null;
|
|
@@ -217,7 +221,7 @@ export declare const actionFinalize: {
|
|
|
217
221
|
duration?: number | undefined;
|
|
218
222
|
} | null;
|
|
219
223
|
zenModeEnabled: boolean;
|
|
220
|
-
theme:
|
|
224
|
+
theme: import("../element/types").Theme;
|
|
221
225
|
gridSize: number | null;
|
|
222
226
|
viewModeEnabled: boolean;
|
|
223
227
|
selectedGroupIds: {
|
|
@@ -239,7 +243,7 @@ export declare const actionFinalize: {
|
|
|
239
243
|
shown: true;
|
|
240
244
|
data: import("../charts").Spreadsheet;
|
|
241
245
|
};
|
|
242
|
-
showHyperlinkPopup: false | "
|
|
246
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
243
247
|
};
|
|
244
248
|
commitToHistory: boolean;
|
|
245
249
|
};
|