@excalidraw/excalidraw 0.15.2-b7350f9 → 0.15.2-fc9a9a2
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 +22 -1
- 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 +2189 -2123
- 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 +51 -25
- package/types/actions/actionAlign.d.ts +19 -20
- package/types/actions/actionBoundText.d.ts +38 -20
- package/types/actions/actionCanvas.d.ts +310 -88
- package/types/actions/actionClipboard.d.ts +81 -40
- package/types/actions/actionDeleteSelected.d.ts +45 -22
- package/types/actions/actionDistribute.d.ts +5 -6
- package/types/actions/actionDuplicateSelection.d.ts +0 -1
- package/types/actions/actionElementLock.d.ts +36 -19
- package/types/actions/actionExport.d.ts +161 -80
- package/types/actions/actionFinalize.d.ts +31 -17
- package/types/actions/actionFlip.d.ts +2 -3
- package/types/actions/actionFrame.d.ts +56 -30
- package/types/actions/actionGroup.d.ts +5 -6
- package/types/actions/actionLinearEditor.d.ts +19 -11
- package/types/actions/actionMenu.d.ts +51 -25
- package/types/actions/actionProperties.d.ts +221 -105
- package/types/actions/actionSelectAll.d.ts +0 -1
- package/types/actions/actionStyles.d.ts +17 -9
- package/types/actions/actionToggleGridMode.d.ts +17 -9
- package/types/actions/actionToggleStats.d.ts +17 -9
- package/types/actions/actionToggleViewMode.d.ts +17 -9
- package/types/actions/actionToggleZenMode.d.ts +17 -9
- package/types/actions/types.d.ts +4 -3
- package/types/appState.d.ts +7 -7
- package/types/colors.d.ts +9 -9
- package/types/components/App.d.ts +27 -1
- 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/HintViewer.d.ts +3 -4
- package/types/components/LayerUI.d.ts +2 -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/MobileMenu.d.ts +3 -2
- 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 +13 -3
- package/types/data/url.d.ts +7 -0
- package/types/element/Hyperlink.d.ts +26 -14
- package/types/element/collision.d.ts +2 -2
- package/types/element/embeddable.d.ts +153 -0
- package/types/element/linearElementEditor.d.ts +18 -10
- package/types/element/newElement.d.ts +5 -2
- 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/frame.d.ts +2 -2
- package/types/groups.d.ts +3 -3
- package/types/history.d.ts +3 -3
- 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 +2 -0
- 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/Scene.d.ts +13 -0
- package/types/scene/export.d.ts +1 -0
- package/types/scene/selection.d.ts +11 -1
- package/types/types.d.ts +20 -9
- package/types/utility-types.d.ts +3 -1
- package/types/utils.d.ts +42 -15
- /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 { AppState } from "../../src/types";
|
|
3
2
|
import { Arrowhead, ExcalidrawElement, ExcalidrawLinearElement } from "../element/types";
|
|
4
3
|
export declare const actionChangeStrokeColor: {
|
|
@@ -32,6 +31,10 @@ export declare const actionChangeFillStyle: {
|
|
|
32
31
|
showWelcomeScreen: boolean;
|
|
33
32
|
isLoading: boolean;
|
|
34
33
|
errorMessage: import("react").ReactNode;
|
|
34
|
+
activeEmbeddable: {
|
|
35
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
36
|
+
state: "active" | "hover";
|
|
37
|
+
} | null;
|
|
35
38
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
36
39
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
37
40
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -40,7 +43,12 @@ export declare const actionChangeFillStyle: {
|
|
|
40
43
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
41
44
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
42
45
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
43
|
-
|
|
46
|
+
frameRendering: {
|
|
47
|
+
enabled: boolean;
|
|
48
|
+
name: boolean;
|
|
49
|
+
outline: boolean;
|
|
50
|
+
clip: boolean;
|
|
51
|
+
};
|
|
44
52
|
editingFrame: string | null;
|
|
45
53
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
46
54
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -49,7 +57,7 @@ export declare const actionChangeFillStyle: {
|
|
|
49
57
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
50
58
|
locked: boolean;
|
|
51
59
|
} & ({
|
|
52
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
60
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
53
61
|
customType: null;
|
|
54
62
|
} | {
|
|
55
63
|
type: "custom";
|
|
@@ -93,11 +101,11 @@ export declare const actionChangeFillStyle: {
|
|
|
93
101
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
94
102
|
defaultSidebarDockedPreference: boolean;
|
|
95
103
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
96
|
-
selectedElementIds: {
|
|
97
|
-
[id: string]:
|
|
98
|
-
}
|
|
104
|
+
selectedElementIds: Readonly<{
|
|
105
|
+
[id: string]: true;
|
|
106
|
+
}>;
|
|
99
107
|
previousSelectedElementIds: {
|
|
100
|
-
[id: string]:
|
|
108
|
+
[id: string]: true;
|
|
101
109
|
};
|
|
102
110
|
selectedElementsAreBeingDragged: boolean;
|
|
103
111
|
shouldCacheIgnoreZoom: boolean;
|
|
@@ -107,7 +115,7 @@ export declare const actionChangeFillStyle: {
|
|
|
107
115
|
duration?: number | undefined;
|
|
108
116
|
} | null;
|
|
109
117
|
zenModeEnabled: boolean;
|
|
110
|
-
theme:
|
|
118
|
+
theme: import("../element/types").Theme;
|
|
111
119
|
gridSize: number | null;
|
|
112
120
|
viewModeEnabled: boolean;
|
|
113
121
|
selectedGroupIds: {
|
|
@@ -130,7 +138,7 @@ export declare const actionChangeFillStyle: {
|
|
|
130
138
|
data: import("../charts").Spreadsheet;
|
|
131
139
|
};
|
|
132
140
|
pendingImageElementId: string | null;
|
|
133
|
-
showHyperlinkPopup: false | "
|
|
141
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
134
142
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
135
143
|
};
|
|
136
144
|
commitToHistory: true;
|
|
@@ -154,6 +162,10 @@ export declare const actionChangeStrokeWidth: {
|
|
|
154
162
|
showWelcomeScreen: boolean;
|
|
155
163
|
isLoading: boolean;
|
|
156
164
|
errorMessage: import("react").ReactNode;
|
|
165
|
+
activeEmbeddable: {
|
|
166
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
167
|
+
state: "active" | "hover";
|
|
168
|
+
} | null;
|
|
157
169
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
158
170
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
159
171
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -162,7 +174,12 @@ export declare const actionChangeStrokeWidth: {
|
|
|
162
174
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
163
175
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
164
176
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
165
|
-
|
|
177
|
+
frameRendering: {
|
|
178
|
+
enabled: boolean;
|
|
179
|
+
name: boolean;
|
|
180
|
+
outline: boolean;
|
|
181
|
+
clip: boolean;
|
|
182
|
+
};
|
|
166
183
|
editingFrame: string | null;
|
|
167
184
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
168
185
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -171,7 +188,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
171
188
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
172
189
|
locked: boolean;
|
|
173
190
|
} & ({
|
|
174
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
191
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
175
192
|
customType: null;
|
|
176
193
|
} | {
|
|
177
194
|
type: "custom";
|
|
@@ -215,11 +232,11 @@ export declare const actionChangeStrokeWidth: {
|
|
|
215
232
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
216
233
|
defaultSidebarDockedPreference: boolean;
|
|
217
234
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
218
|
-
selectedElementIds: {
|
|
219
|
-
[id: string]:
|
|
220
|
-
}
|
|
235
|
+
selectedElementIds: Readonly<{
|
|
236
|
+
[id: string]: true;
|
|
237
|
+
}>;
|
|
221
238
|
previousSelectedElementIds: {
|
|
222
|
-
[id: string]:
|
|
239
|
+
[id: string]: true;
|
|
223
240
|
};
|
|
224
241
|
selectedElementsAreBeingDragged: boolean;
|
|
225
242
|
shouldCacheIgnoreZoom: boolean;
|
|
@@ -229,7 +246,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
229
246
|
duration?: number | undefined;
|
|
230
247
|
} | null;
|
|
231
248
|
zenModeEnabled: boolean;
|
|
232
|
-
theme:
|
|
249
|
+
theme: import("../element/types").Theme;
|
|
233
250
|
gridSize: number | null;
|
|
234
251
|
viewModeEnabled: boolean;
|
|
235
252
|
selectedGroupIds: {
|
|
@@ -252,7 +269,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
252
269
|
data: import("../charts").Spreadsheet;
|
|
253
270
|
};
|
|
254
271
|
pendingImageElementId: string | null;
|
|
255
|
-
showHyperlinkPopup: false | "
|
|
272
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
256
273
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
257
274
|
};
|
|
258
275
|
commitToHistory: true;
|
|
@@ -276,6 +293,10 @@ export declare const actionChangeSloppiness: {
|
|
|
276
293
|
showWelcomeScreen: boolean;
|
|
277
294
|
isLoading: boolean;
|
|
278
295
|
errorMessage: import("react").ReactNode;
|
|
296
|
+
activeEmbeddable: {
|
|
297
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
298
|
+
state: "active" | "hover";
|
|
299
|
+
} | null;
|
|
279
300
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
280
301
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
281
302
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -284,7 +305,12 @@ export declare const actionChangeSloppiness: {
|
|
|
284
305
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
285
306
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
286
307
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
287
|
-
|
|
308
|
+
frameRendering: {
|
|
309
|
+
enabled: boolean;
|
|
310
|
+
name: boolean;
|
|
311
|
+
outline: boolean;
|
|
312
|
+
clip: boolean;
|
|
313
|
+
};
|
|
288
314
|
editingFrame: string | null;
|
|
289
315
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
290
316
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -293,7 +319,7 @@ export declare const actionChangeSloppiness: {
|
|
|
293
319
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
294
320
|
locked: boolean;
|
|
295
321
|
} & ({
|
|
296
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
322
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
297
323
|
customType: null;
|
|
298
324
|
} | {
|
|
299
325
|
type: "custom";
|
|
@@ -337,11 +363,11 @@ export declare const actionChangeSloppiness: {
|
|
|
337
363
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
338
364
|
defaultSidebarDockedPreference: boolean;
|
|
339
365
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
340
|
-
selectedElementIds: {
|
|
341
|
-
[id: string]:
|
|
342
|
-
}
|
|
366
|
+
selectedElementIds: Readonly<{
|
|
367
|
+
[id: string]: true;
|
|
368
|
+
}>;
|
|
343
369
|
previousSelectedElementIds: {
|
|
344
|
-
[id: string]:
|
|
370
|
+
[id: string]: true;
|
|
345
371
|
};
|
|
346
372
|
selectedElementsAreBeingDragged: boolean;
|
|
347
373
|
shouldCacheIgnoreZoom: boolean;
|
|
@@ -351,7 +377,7 @@ export declare const actionChangeSloppiness: {
|
|
|
351
377
|
duration?: number | undefined;
|
|
352
378
|
} | null;
|
|
353
379
|
zenModeEnabled: boolean;
|
|
354
|
-
theme:
|
|
380
|
+
theme: import("../element/types").Theme;
|
|
355
381
|
gridSize: number | null;
|
|
356
382
|
viewModeEnabled: boolean;
|
|
357
383
|
selectedGroupIds: {
|
|
@@ -374,7 +400,7 @@ export declare const actionChangeSloppiness: {
|
|
|
374
400
|
data: import("../charts").Spreadsheet;
|
|
375
401
|
};
|
|
376
402
|
pendingImageElementId: string | null;
|
|
377
|
-
showHyperlinkPopup: false | "
|
|
403
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
378
404
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
379
405
|
};
|
|
380
406
|
commitToHistory: true;
|
|
@@ -398,6 +424,10 @@ export declare const actionChangeStrokeStyle: {
|
|
|
398
424
|
showWelcomeScreen: boolean;
|
|
399
425
|
isLoading: boolean;
|
|
400
426
|
errorMessage: import("react").ReactNode;
|
|
427
|
+
activeEmbeddable: {
|
|
428
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
429
|
+
state: "active" | "hover";
|
|
430
|
+
} | null;
|
|
401
431
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
402
432
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
403
433
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -406,7 +436,12 @@ export declare const actionChangeStrokeStyle: {
|
|
|
406
436
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
407
437
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
408
438
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
409
|
-
|
|
439
|
+
frameRendering: {
|
|
440
|
+
enabled: boolean;
|
|
441
|
+
name: boolean;
|
|
442
|
+
outline: boolean;
|
|
443
|
+
clip: boolean;
|
|
444
|
+
};
|
|
410
445
|
editingFrame: string | null;
|
|
411
446
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
412
447
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -415,7 +450,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
415
450
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
416
451
|
locked: boolean;
|
|
417
452
|
} & ({
|
|
418
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
453
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
419
454
|
customType: null;
|
|
420
455
|
} | {
|
|
421
456
|
type: "custom";
|
|
@@ -459,11 +494,11 @@ export declare const actionChangeStrokeStyle: {
|
|
|
459
494
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
460
495
|
defaultSidebarDockedPreference: boolean;
|
|
461
496
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
462
|
-
selectedElementIds: {
|
|
463
|
-
[id: string]:
|
|
464
|
-
}
|
|
497
|
+
selectedElementIds: Readonly<{
|
|
498
|
+
[id: string]: true;
|
|
499
|
+
}>;
|
|
465
500
|
previousSelectedElementIds: {
|
|
466
|
-
[id: string]:
|
|
501
|
+
[id: string]: true;
|
|
467
502
|
};
|
|
468
503
|
selectedElementsAreBeingDragged: boolean;
|
|
469
504
|
shouldCacheIgnoreZoom: boolean;
|
|
@@ -473,7 +508,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
473
508
|
duration?: number | undefined;
|
|
474
509
|
} | null;
|
|
475
510
|
zenModeEnabled: boolean;
|
|
476
|
-
theme:
|
|
511
|
+
theme: import("../element/types").Theme;
|
|
477
512
|
gridSize: number | null;
|
|
478
513
|
viewModeEnabled: boolean;
|
|
479
514
|
selectedGroupIds: {
|
|
@@ -496,7 +531,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
496
531
|
data: import("../charts").Spreadsheet;
|
|
497
532
|
};
|
|
498
533
|
pendingImageElementId: string | null;
|
|
499
|
-
showHyperlinkPopup: false | "
|
|
534
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
500
535
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
501
536
|
};
|
|
502
537
|
commitToHistory: true;
|
|
@@ -520,6 +555,10 @@ export declare const actionChangeOpacity: {
|
|
|
520
555
|
showWelcomeScreen: boolean;
|
|
521
556
|
isLoading: boolean;
|
|
522
557
|
errorMessage: import("react").ReactNode;
|
|
558
|
+
activeEmbeddable: {
|
|
559
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
560
|
+
state: "active" | "hover";
|
|
561
|
+
} | null;
|
|
523
562
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
524
563
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
525
564
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -528,7 +567,12 @@ export declare const actionChangeOpacity: {
|
|
|
528
567
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
529
568
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
530
569
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
531
|
-
|
|
570
|
+
frameRendering: {
|
|
571
|
+
enabled: boolean;
|
|
572
|
+
name: boolean;
|
|
573
|
+
outline: boolean;
|
|
574
|
+
clip: boolean;
|
|
575
|
+
};
|
|
532
576
|
editingFrame: string | null;
|
|
533
577
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
534
578
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -537,7 +581,7 @@ export declare const actionChangeOpacity: {
|
|
|
537
581
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
538
582
|
locked: boolean;
|
|
539
583
|
} & ({
|
|
540
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
584
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
541
585
|
customType: null;
|
|
542
586
|
} | {
|
|
543
587
|
type: "custom";
|
|
@@ -581,11 +625,11 @@ export declare const actionChangeOpacity: {
|
|
|
581
625
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
582
626
|
defaultSidebarDockedPreference: boolean;
|
|
583
627
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
584
|
-
selectedElementIds: {
|
|
585
|
-
[id: string]:
|
|
586
|
-
}
|
|
628
|
+
selectedElementIds: Readonly<{
|
|
629
|
+
[id: string]: true;
|
|
630
|
+
}>;
|
|
587
631
|
previousSelectedElementIds: {
|
|
588
|
-
[id: string]:
|
|
632
|
+
[id: string]: true;
|
|
589
633
|
};
|
|
590
634
|
selectedElementsAreBeingDragged: boolean;
|
|
591
635
|
shouldCacheIgnoreZoom: boolean;
|
|
@@ -595,7 +639,7 @@ export declare const actionChangeOpacity: {
|
|
|
595
639
|
duration?: number | undefined;
|
|
596
640
|
} | null;
|
|
597
641
|
zenModeEnabled: boolean;
|
|
598
|
-
theme:
|
|
642
|
+
theme: import("../element/types").Theme;
|
|
599
643
|
gridSize: number | null;
|
|
600
644
|
viewModeEnabled: boolean;
|
|
601
645
|
selectedGroupIds: {
|
|
@@ -618,7 +662,7 @@ export declare const actionChangeOpacity: {
|
|
|
618
662
|
data: import("../charts").Spreadsheet;
|
|
619
663
|
};
|
|
620
664
|
pendingImageElementId: string | null;
|
|
621
|
-
showHyperlinkPopup: false | "
|
|
665
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
622
666
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
623
667
|
};
|
|
624
668
|
commitToHistory: true;
|
|
@@ -642,6 +686,10 @@ export declare const actionChangeFontSize: {
|
|
|
642
686
|
showWelcomeScreen: boolean;
|
|
643
687
|
isLoading: boolean;
|
|
644
688
|
errorMessage: import("react").ReactNode;
|
|
689
|
+
activeEmbeddable: {
|
|
690
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
691
|
+
state: "active" | "hover";
|
|
692
|
+
} | null;
|
|
645
693
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
646
694
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
647
695
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -650,7 +698,12 @@ export declare const actionChangeFontSize: {
|
|
|
650
698
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
651
699
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
652
700
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
653
|
-
|
|
701
|
+
frameRendering: {
|
|
702
|
+
enabled: boolean;
|
|
703
|
+
name: boolean;
|
|
704
|
+
outline: boolean;
|
|
705
|
+
clip: boolean;
|
|
706
|
+
};
|
|
654
707
|
editingFrame: string | null;
|
|
655
708
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
656
709
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -659,7 +712,7 @@ export declare const actionChangeFontSize: {
|
|
|
659
712
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
660
713
|
locked: boolean;
|
|
661
714
|
} & ({
|
|
662
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
715
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
663
716
|
customType: null;
|
|
664
717
|
} | {
|
|
665
718
|
type: "custom";
|
|
@@ -703,11 +756,11 @@ export declare const actionChangeFontSize: {
|
|
|
703
756
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
704
757
|
defaultSidebarDockedPreference: boolean;
|
|
705
758
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
706
|
-
selectedElementIds: {
|
|
707
|
-
[id: string]:
|
|
708
|
-
}
|
|
759
|
+
selectedElementIds: Readonly<{
|
|
760
|
+
[id: string]: true;
|
|
761
|
+
}>;
|
|
709
762
|
previousSelectedElementIds: {
|
|
710
|
-
[id: string]:
|
|
763
|
+
[id: string]: true;
|
|
711
764
|
};
|
|
712
765
|
selectedElementsAreBeingDragged: boolean;
|
|
713
766
|
shouldCacheIgnoreZoom: boolean;
|
|
@@ -717,7 +770,7 @@ export declare const actionChangeFontSize: {
|
|
|
717
770
|
duration?: number | undefined;
|
|
718
771
|
} | null;
|
|
719
772
|
zenModeEnabled: boolean;
|
|
720
|
-
theme:
|
|
773
|
+
theme: import("../element/types").Theme;
|
|
721
774
|
gridSize: number | null;
|
|
722
775
|
viewModeEnabled: boolean;
|
|
723
776
|
selectedGroupIds: {
|
|
@@ -740,7 +793,7 @@ export declare const actionChangeFontSize: {
|
|
|
740
793
|
data: import("../charts").Spreadsheet;
|
|
741
794
|
};
|
|
742
795
|
pendingImageElementId: string | null;
|
|
743
|
-
showHyperlinkPopup: false | "
|
|
796
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
744
797
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
745
798
|
};
|
|
746
799
|
commitToHistory: boolean;
|
|
@@ -764,6 +817,10 @@ export declare const actionDecreaseFontSize: {
|
|
|
764
817
|
showWelcomeScreen: boolean;
|
|
765
818
|
isLoading: boolean;
|
|
766
819
|
errorMessage: import("react").ReactNode;
|
|
820
|
+
activeEmbeddable: {
|
|
821
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
822
|
+
state: "active" | "hover";
|
|
823
|
+
} | null;
|
|
767
824
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
768
825
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
769
826
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -772,7 +829,12 @@ export declare const actionDecreaseFontSize: {
|
|
|
772
829
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
773
830
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
774
831
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
775
|
-
|
|
832
|
+
frameRendering: {
|
|
833
|
+
enabled: boolean;
|
|
834
|
+
name: boolean;
|
|
835
|
+
outline: boolean;
|
|
836
|
+
clip: boolean;
|
|
837
|
+
};
|
|
776
838
|
editingFrame: string | null;
|
|
777
839
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
778
840
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -781,7 +843,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
781
843
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
782
844
|
locked: boolean;
|
|
783
845
|
} & ({
|
|
784
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
846
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
785
847
|
customType: null;
|
|
786
848
|
} | {
|
|
787
849
|
type: "custom";
|
|
@@ -825,11 +887,11 @@ export declare const actionDecreaseFontSize: {
|
|
|
825
887
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
826
888
|
defaultSidebarDockedPreference: boolean;
|
|
827
889
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
828
|
-
selectedElementIds: {
|
|
829
|
-
[id: string]:
|
|
830
|
-
}
|
|
890
|
+
selectedElementIds: Readonly<{
|
|
891
|
+
[id: string]: true;
|
|
892
|
+
}>;
|
|
831
893
|
previousSelectedElementIds: {
|
|
832
|
-
[id: string]:
|
|
894
|
+
[id: string]: true;
|
|
833
895
|
};
|
|
834
896
|
selectedElementsAreBeingDragged: boolean;
|
|
835
897
|
shouldCacheIgnoreZoom: boolean;
|
|
@@ -839,7 +901,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
839
901
|
duration?: number | undefined;
|
|
840
902
|
} | null;
|
|
841
903
|
zenModeEnabled: boolean;
|
|
842
|
-
theme:
|
|
904
|
+
theme: import("../element/types").Theme;
|
|
843
905
|
gridSize: number | null;
|
|
844
906
|
viewModeEnabled: boolean;
|
|
845
907
|
selectedGroupIds: {
|
|
@@ -862,7 +924,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
862
924
|
data: import("../charts").Spreadsheet;
|
|
863
925
|
};
|
|
864
926
|
pendingImageElementId: string | null;
|
|
865
|
-
showHyperlinkPopup: false | "
|
|
927
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
866
928
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
867
929
|
};
|
|
868
930
|
commitToHistory: boolean;
|
|
@@ -886,6 +948,10 @@ export declare const actionIncreaseFontSize: {
|
|
|
886
948
|
showWelcomeScreen: boolean;
|
|
887
949
|
isLoading: boolean;
|
|
888
950
|
errorMessage: import("react").ReactNode;
|
|
951
|
+
activeEmbeddable: {
|
|
952
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
953
|
+
state: "active" | "hover";
|
|
954
|
+
} | null;
|
|
889
955
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
890
956
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
891
957
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -894,7 +960,12 @@ export declare const actionIncreaseFontSize: {
|
|
|
894
960
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
895
961
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
896
962
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
897
|
-
|
|
963
|
+
frameRendering: {
|
|
964
|
+
enabled: boolean;
|
|
965
|
+
name: boolean;
|
|
966
|
+
outline: boolean;
|
|
967
|
+
clip: boolean;
|
|
968
|
+
};
|
|
898
969
|
editingFrame: string | null;
|
|
899
970
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
900
971
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -903,7 +974,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
903
974
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
904
975
|
locked: boolean;
|
|
905
976
|
} & ({
|
|
906
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
977
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
907
978
|
customType: null;
|
|
908
979
|
} | {
|
|
909
980
|
type: "custom";
|
|
@@ -947,11 +1018,11 @@ export declare const actionIncreaseFontSize: {
|
|
|
947
1018
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
948
1019
|
defaultSidebarDockedPreference: boolean;
|
|
949
1020
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
950
|
-
selectedElementIds: {
|
|
951
|
-
[id: string]:
|
|
952
|
-
}
|
|
1021
|
+
selectedElementIds: Readonly<{
|
|
1022
|
+
[id: string]: true;
|
|
1023
|
+
}>;
|
|
953
1024
|
previousSelectedElementIds: {
|
|
954
|
-
[id: string]:
|
|
1025
|
+
[id: string]: true;
|
|
955
1026
|
};
|
|
956
1027
|
selectedElementsAreBeingDragged: boolean;
|
|
957
1028
|
shouldCacheIgnoreZoom: boolean;
|
|
@@ -961,7 +1032,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
961
1032
|
duration?: number | undefined;
|
|
962
1033
|
} | null;
|
|
963
1034
|
zenModeEnabled: boolean;
|
|
964
|
-
theme:
|
|
1035
|
+
theme: import("../element/types").Theme;
|
|
965
1036
|
gridSize: number | null;
|
|
966
1037
|
viewModeEnabled: boolean;
|
|
967
1038
|
selectedGroupIds: {
|
|
@@ -984,7 +1055,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
984
1055
|
data: import("../charts").Spreadsheet;
|
|
985
1056
|
};
|
|
986
1057
|
pendingImageElementId: string | null;
|
|
987
|
-
showHyperlinkPopup: false | "
|
|
1058
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
988
1059
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
989
1060
|
};
|
|
990
1061
|
commitToHistory: boolean;
|
|
@@ -1008,6 +1079,10 @@ export declare const actionChangeFontFamily: {
|
|
|
1008
1079
|
showWelcomeScreen: boolean;
|
|
1009
1080
|
isLoading: boolean;
|
|
1010
1081
|
errorMessage: import("react").ReactNode;
|
|
1082
|
+
activeEmbeddable: {
|
|
1083
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1084
|
+
state: "active" | "hover";
|
|
1085
|
+
} | null;
|
|
1011
1086
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1012
1087
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1013
1088
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -1016,7 +1091,12 @@ export declare const actionChangeFontFamily: {
|
|
|
1016
1091
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1017
1092
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1018
1093
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
1019
|
-
|
|
1094
|
+
frameRendering: {
|
|
1095
|
+
enabled: boolean;
|
|
1096
|
+
name: boolean;
|
|
1097
|
+
outline: boolean;
|
|
1098
|
+
clip: boolean;
|
|
1099
|
+
};
|
|
1020
1100
|
editingFrame: string | null;
|
|
1021
1101
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1022
1102
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1025,7 +1105,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1025
1105
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
1026
1106
|
locked: boolean;
|
|
1027
1107
|
} & ({
|
|
1028
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1108
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1029
1109
|
customType: null;
|
|
1030
1110
|
} | {
|
|
1031
1111
|
type: "custom";
|
|
@@ -1069,11 +1149,11 @@ export declare const actionChangeFontFamily: {
|
|
|
1069
1149
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1070
1150
|
defaultSidebarDockedPreference: boolean;
|
|
1071
1151
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1072
|
-
selectedElementIds: {
|
|
1073
|
-
[id: string]:
|
|
1074
|
-
}
|
|
1152
|
+
selectedElementIds: Readonly<{
|
|
1153
|
+
[id: string]: true;
|
|
1154
|
+
}>;
|
|
1075
1155
|
previousSelectedElementIds: {
|
|
1076
|
-
[id: string]:
|
|
1156
|
+
[id: string]: true;
|
|
1077
1157
|
};
|
|
1078
1158
|
selectedElementsAreBeingDragged: boolean;
|
|
1079
1159
|
shouldCacheIgnoreZoom: boolean;
|
|
@@ -1083,7 +1163,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1083
1163
|
duration?: number | undefined;
|
|
1084
1164
|
} | null;
|
|
1085
1165
|
zenModeEnabled: boolean;
|
|
1086
|
-
theme:
|
|
1166
|
+
theme: import("../element/types").Theme;
|
|
1087
1167
|
gridSize: number | null;
|
|
1088
1168
|
viewModeEnabled: boolean;
|
|
1089
1169
|
selectedGroupIds: {
|
|
@@ -1106,7 +1186,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1106
1186
|
data: import("../charts").Spreadsheet;
|
|
1107
1187
|
};
|
|
1108
1188
|
pendingImageElementId: string | null;
|
|
1109
|
-
showHyperlinkPopup: false | "
|
|
1189
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1110
1190
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1111
1191
|
};
|
|
1112
1192
|
commitToHistory: true;
|
|
@@ -1130,6 +1210,10 @@ export declare const actionChangeTextAlign: {
|
|
|
1130
1210
|
showWelcomeScreen: boolean;
|
|
1131
1211
|
isLoading: boolean;
|
|
1132
1212
|
errorMessage: import("react").ReactNode;
|
|
1213
|
+
activeEmbeddable: {
|
|
1214
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1215
|
+
state: "active" | "hover";
|
|
1216
|
+
} | null;
|
|
1133
1217
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1134
1218
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1135
1219
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -1138,7 +1222,12 @@ export declare const actionChangeTextAlign: {
|
|
|
1138
1222
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1139
1223
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1140
1224
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
1141
|
-
|
|
1225
|
+
frameRendering: {
|
|
1226
|
+
enabled: boolean;
|
|
1227
|
+
name: boolean;
|
|
1228
|
+
outline: boolean;
|
|
1229
|
+
clip: boolean;
|
|
1230
|
+
};
|
|
1142
1231
|
editingFrame: string | null;
|
|
1143
1232
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1144
1233
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1147,7 +1236,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1147
1236
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
1148
1237
|
locked: boolean;
|
|
1149
1238
|
} & ({
|
|
1150
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1239
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1151
1240
|
customType: null;
|
|
1152
1241
|
} | {
|
|
1153
1242
|
type: "custom";
|
|
@@ -1191,11 +1280,11 @@ export declare const actionChangeTextAlign: {
|
|
|
1191
1280
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1192
1281
|
defaultSidebarDockedPreference: boolean;
|
|
1193
1282
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1194
|
-
selectedElementIds: {
|
|
1195
|
-
[id: string]:
|
|
1196
|
-
}
|
|
1283
|
+
selectedElementIds: Readonly<{
|
|
1284
|
+
[id: string]: true;
|
|
1285
|
+
}>;
|
|
1197
1286
|
previousSelectedElementIds: {
|
|
1198
|
-
[id: string]:
|
|
1287
|
+
[id: string]: true;
|
|
1199
1288
|
};
|
|
1200
1289
|
selectedElementsAreBeingDragged: boolean;
|
|
1201
1290
|
shouldCacheIgnoreZoom: boolean;
|
|
@@ -1205,7 +1294,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1205
1294
|
duration?: number | undefined;
|
|
1206
1295
|
} | null;
|
|
1207
1296
|
zenModeEnabled: boolean;
|
|
1208
|
-
theme:
|
|
1297
|
+
theme: import("../element/types").Theme;
|
|
1209
1298
|
gridSize: number | null;
|
|
1210
1299
|
viewModeEnabled: boolean;
|
|
1211
1300
|
selectedGroupIds: {
|
|
@@ -1228,7 +1317,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1228
1317
|
data: import("../charts").Spreadsheet;
|
|
1229
1318
|
};
|
|
1230
1319
|
pendingImageElementId: string | null;
|
|
1231
|
-
showHyperlinkPopup: false | "
|
|
1320
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1232
1321
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1233
1322
|
};
|
|
1234
1323
|
commitToHistory: true;
|
|
@@ -1253,6 +1342,10 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1253
1342
|
showWelcomeScreen: boolean;
|
|
1254
1343
|
isLoading: boolean;
|
|
1255
1344
|
errorMessage: import("react").ReactNode;
|
|
1345
|
+
activeEmbeddable: {
|
|
1346
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1347
|
+
state: "active" | "hover";
|
|
1348
|
+
} | null;
|
|
1256
1349
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1257
1350
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1258
1351
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -1261,7 +1354,12 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1261
1354
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1262
1355
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1263
1356
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
1264
|
-
|
|
1357
|
+
frameRendering: {
|
|
1358
|
+
enabled: boolean;
|
|
1359
|
+
name: boolean;
|
|
1360
|
+
outline: boolean;
|
|
1361
|
+
clip: boolean;
|
|
1362
|
+
};
|
|
1265
1363
|
editingFrame: string | null;
|
|
1266
1364
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1267
1365
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1270,7 +1368,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1270
1368
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
1271
1369
|
locked: boolean;
|
|
1272
1370
|
} & ({
|
|
1273
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1371
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1274
1372
|
customType: null;
|
|
1275
1373
|
} | {
|
|
1276
1374
|
type: "custom";
|
|
@@ -1315,11 +1413,11 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1315
1413
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1316
1414
|
defaultSidebarDockedPreference: boolean;
|
|
1317
1415
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1318
|
-
selectedElementIds: {
|
|
1319
|
-
[id: string]:
|
|
1320
|
-
}
|
|
1416
|
+
selectedElementIds: Readonly<{
|
|
1417
|
+
[id: string]: true;
|
|
1418
|
+
}>;
|
|
1321
1419
|
previousSelectedElementIds: {
|
|
1322
|
-
[id: string]:
|
|
1420
|
+
[id: string]: true;
|
|
1323
1421
|
};
|
|
1324
1422
|
selectedElementsAreBeingDragged: boolean;
|
|
1325
1423
|
shouldCacheIgnoreZoom: boolean;
|
|
@@ -1329,7 +1427,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1329
1427
|
duration?: number | undefined;
|
|
1330
1428
|
} | null;
|
|
1331
1429
|
zenModeEnabled: boolean;
|
|
1332
|
-
theme:
|
|
1430
|
+
theme: import("../element/types").Theme;
|
|
1333
1431
|
gridSize: number | null;
|
|
1334
1432
|
viewModeEnabled: boolean;
|
|
1335
1433
|
selectedGroupIds: {
|
|
@@ -1352,7 +1450,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1352
1450
|
data: import("../charts").Spreadsheet;
|
|
1353
1451
|
};
|
|
1354
1452
|
pendingImageElementId: string | null;
|
|
1355
|
-
showHyperlinkPopup: false | "
|
|
1453
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1356
1454
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1357
1455
|
};
|
|
1358
1456
|
commitToHistory: true;
|
|
@@ -1376,6 +1474,10 @@ export declare const actionChangeRoundness: {
|
|
|
1376
1474
|
showWelcomeScreen: boolean;
|
|
1377
1475
|
isLoading: boolean;
|
|
1378
1476
|
errorMessage: import("react").ReactNode;
|
|
1477
|
+
activeEmbeddable: {
|
|
1478
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1479
|
+
state: "active" | "hover";
|
|
1480
|
+
} | null;
|
|
1379
1481
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1380
1482
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1381
1483
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -1384,7 +1486,12 @@ export declare const actionChangeRoundness: {
|
|
|
1384
1486
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1385
1487
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1386
1488
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
1387
|
-
|
|
1489
|
+
frameRendering: {
|
|
1490
|
+
enabled: boolean;
|
|
1491
|
+
name: boolean;
|
|
1492
|
+
outline: boolean;
|
|
1493
|
+
clip: boolean;
|
|
1494
|
+
};
|
|
1388
1495
|
editingFrame: string | null;
|
|
1389
1496
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1390
1497
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1393,7 +1500,7 @@ export declare const actionChangeRoundness: {
|
|
|
1393
1500
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
1394
1501
|
locked: boolean;
|
|
1395
1502
|
} & ({
|
|
1396
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1503
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1397
1504
|
customType: null;
|
|
1398
1505
|
} | {
|
|
1399
1506
|
type: "custom";
|
|
@@ -1437,11 +1544,11 @@ export declare const actionChangeRoundness: {
|
|
|
1437
1544
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1438
1545
|
defaultSidebarDockedPreference: boolean;
|
|
1439
1546
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1440
|
-
selectedElementIds: {
|
|
1441
|
-
[id: string]:
|
|
1442
|
-
}
|
|
1547
|
+
selectedElementIds: Readonly<{
|
|
1548
|
+
[id: string]: true;
|
|
1549
|
+
}>;
|
|
1443
1550
|
previousSelectedElementIds: {
|
|
1444
|
-
[id: string]:
|
|
1551
|
+
[id: string]: true;
|
|
1445
1552
|
};
|
|
1446
1553
|
selectedElementsAreBeingDragged: boolean;
|
|
1447
1554
|
shouldCacheIgnoreZoom: boolean;
|
|
@@ -1451,7 +1558,7 @@ export declare const actionChangeRoundness: {
|
|
|
1451
1558
|
duration?: number | undefined;
|
|
1452
1559
|
} | null;
|
|
1453
1560
|
zenModeEnabled: boolean;
|
|
1454
|
-
theme:
|
|
1561
|
+
theme: import("../element/types").Theme;
|
|
1455
1562
|
gridSize: number | null;
|
|
1456
1563
|
viewModeEnabled: boolean;
|
|
1457
1564
|
selectedGroupIds: {
|
|
@@ -1474,7 +1581,7 @@ export declare const actionChangeRoundness: {
|
|
|
1474
1581
|
data: import("../charts").Spreadsheet;
|
|
1475
1582
|
};
|
|
1476
1583
|
pendingImageElementId: string | null;
|
|
1477
|
-
showHyperlinkPopup: false | "
|
|
1584
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1478
1585
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1479
1586
|
};
|
|
1480
1587
|
commitToHistory: true;
|
|
@@ -1500,6 +1607,10 @@ export declare const actionChangeArrowhead: {
|
|
|
1500
1607
|
showWelcomeScreen: boolean;
|
|
1501
1608
|
isLoading: boolean;
|
|
1502
1609
|
errorMessage: import("react").ReactNode;
|
|
1610
|
+
activeEmbeddable: {
|
|
1611
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1612
|
+
state: "active" | "hover";
|
|
1613
|
+
} | null;
|
|
1503
1614
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1504
1615
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1505
1616
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -1508,7 +1619,12 @@ export declare const actionChangeArrowhead: {
|
|
|
1508
1619
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1509
1620
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1510
1621
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
1511
|
-
|
|
1622
|
+
frameRendering: {
|
|
1623
|
+
enabled: boolean;
|
|
1624
|
+
name: boolean;
|
|
1625
|
+
outline: boolean;
|
|
1626
|
+
clip: boolean;
|
|
1627
|
+
};
|
|
1512
1628
|
editingFrame: string | null;
|
|
1513
1629
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1514
1630
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1517,7 +1633,7 @@ export declare const actionChangeArrowhead: {
|
|
|
1517
1633
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
1518
1634
|
locked: boolean;
|
|
1519
1635
|
} & ({
|
|
1520
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1636
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1521
1637
|
customType: null;
|
|
1522
1638
|
} | {
|
|
1523
1639
|
type: "custom";
|
|
@@ -1562,11 +1678,11 @@ export declare const actionChangeArrowhead: {
|
|
|
1562
1678
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1563
1679
|
defaultSidebarDockedPreference: boolean;
|
|
1564
1680
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1565
|
-
selectedElementIds: {
|
|
1566
|
-
[id: string]:
|
|
1567
|
-
}
|
|
1681
|
+
selectedElementIds: Readonly<{
|
|
1682
|
+
[id: string]: true;
|
|
1683
|
+
}>;
|
|
1568
1684
|
previousSelectedElementIds: {
|
|
1569
|
-
[id: string]:
|
|
1685
|
+
[id: string]: true;
|
|
1570
1686
|
};
|
|
1571
1687
|
selectedElementsAreBeingDragged: boolean;
|
|
1572
1688
|
shouldCacheIgnoreZoom: boolean;
|
|
@@ -1576,7 +1692,7 @@ export declare const actionChangeArrowhead: {
|
|
|
1576
1692
|
duration?: number | undefined;
|
|
1577
1693
|
} | null;
|
|
1578
1694
|
zenModeEnabled: boolean;
|
|
1579
|
-
theme:
|
|
1695
|
+
theme: import("../element/types").Theme;
|
|
1580
1696
|
gridSize: number | null;
|
|
1581
1697
|
viewModeEnabled: boolean;
|
|
1582
1698
|
selectedGroupIds: {
|
|
@@ -1599,7 +1715,7 @@ export declare const actionChangeArrowhead: {
|
|
|
1599
1715
|
data: import("../charts").Spreadsheet;
|
|
1600
1716
|
};
|
|
1601
1717
|
pendingImageElementId: string | null;
|
|
1602
|
-
showHyperlinkPopup: false | "
|
|
1718
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1603
1719
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1604
1720
|
};
|
|
1605
1721
|
commitToHistory: true;
|