@excalidraw/excalidraw 0.17.0-a528769 → 0.17.0-fe75f29
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 +6 -0
- package/dist/excalidraw-assets-dev/{vendor-18203854dd3b1fb2cc41.js → vendor-2466bf62a35e940e8f28.js} +2 -2
- package/dist/excalidraw-with-preact.development.js +371 -74
- package/dist/excalidraw-with-preact.production.min.js +1 -1
- package/dist/excalidraw.development.js +371 -74
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +30 -6
- package/types/actions/actionBoundText.d.ts +20 -4
- package/types/actions/actionCanvas.d.ts +110 -22
- package/types/actions/actionClipboard.d.ts +70 -14
- package/types/actions/actionDeleteSelected.d.ts +30 -6
- package/types/actions/actionElementLock.d.ts +20 -4
- package/types/actions/actionExport.d.ts +86 -22
- package/types/actions/actionFinalize.d.ts +20 -4
- package/types/actions/actionFrame.d.ts +30 -6
- package/types/actions/actionGroup.d.ts +20 -4
- package/types/actions/actionLinearEditor.d.ts +10 -2
- package/types/actions/actionMenu.d.ts +24 -6
- package/types/actions/actionProperties.d.ts +130 -26
- package/types/actions/actionSelectAll.d.ts +10 -2
- package/types/actions/actionStyles.d.ts +10 -2
- package/types/actions/actionToggleGridMode.d.ts +10 -2
- package/types/actions/actionToggleObjectsSnapMode.d.ts +10 -2
- package/types/actions/actionToggleStats.d.ts +10 -2
- package/types/actions/actionToggleViewMode.d.ts +10 -2
- package/types/actions/actionToggleZenMode.d.ts +10 -2
- package/types/appState.d.ts +2 -2
- package/types/components/App.d.ts +27 -6
- package/types/components/Button.d.ts +1 -1
- package/types/components/InlineIcon.d.ts +3 -0
- package/types/components/LayerUI.d.ts +5 -1
- package/types/components/MagicButton.d.ts +9 -0
- package/types/components/MagicSettings.d.ts +8 -0
- package/types/components/Paragraph.d.ts +4 -0
- package/types/components/TTDDialog/MermaidToExcalidraw.d.ts +6 -0
- package/types/components/TTDDialog/TTDDialog.d.ts +29 -0
- package/types/components/TTDDialog/TTDDialogInput.d.ts +9 -0
- package/types/components/TTDDialog/TTDDialogOutput.d.ts +7 -0
- package/types/components/TTDDialog/TTDDialogPanel.d.ts +16 -0
- package/types/components/TTDDialog/TTDDialogPanels.d.ts +4 -0
- package/types/components/TTDDialog/TTDDialogTab.d.ts +7 -0
- package/types/components/TTDDialog/TTDDialogTabTrigger.d.ts +8 -0
- package/types/components/TTDDialog/TTDDialogTabTriggers.d.ts +6 -0
- package/types/components/TTDDialog/TTDDialogTabs.d.ts +9 -0
- package/types/components/TTDDialog/TTDDialogTrigger.d.ts +8 -0
- package/types/components/TTDDialog/common.d.ts +33 -0
- package/types/components/TextField.d.ts +16 -0
- package/types/components/dropdownMenu/DropdownMenu.d.ts +6 -0
- package/types/components/dropdownMenu/DropdownMenuItem.d.ts +12 -0
- package/types/components/icons.d.ts +6 -0
- package/types/components/main-menu/MainMenu.d.ts +6 -0
- package/types/constants.d.ts +24 -2
- package/types/context/tunnels.d.ts +1 -0
- package/types/data/EditorLocalStorage.d.ts +8 -0
- package/types/data/ai/types.d.ts +242 -0
- package/types/data/index.d.ts +3 -3
- package/types/data/magic.d.ts +23 -0
- package/types/data/transform.d.ts +11 -7
- package/types/element/ElementCanvasButtons.d.ts +6 -0
- package/types/element/Hyperlink.d.ts +10 -2
- package/types/element/collision.d.ts +2 -2
- package/types/element/embeddable.d.ts +16 -21
- package/types/element/index.d.ts +3 -4
- package/types/element/linearElementEditor.d.ts +11 -3
- package/types/element/newElement.d.ts +7 -1
- package/types/element/textElement.d.ts +2 -2
- package/types/element/typeChecks.d.ts +9 -6
- package/types/element/types.d.ts +29 -2
- package/types/frame.d.ts +21 -20
- package/types/packages/excalidraw/index.d.ts +2 -0
- package/types/packages/utils.d.ts +2 -2
- package/types/scene/Scene.d.ts +4 -4
- package/types/scene/ShapeCache.d.ts +1 -1
- package/types/scene/comparisons.d.ts +7 -6
- package/types/scene/export.d.ts +3 -3
- package/types/scene/types.d.ts +2 -0
- package/types/shapes.d.ts +1 -1
- package/types/types.d.ts +24 -10
- package/types/utils.d.ts +2 -2
- package/types/components/MermaidToExcalidraw.d.ts +0 -3
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/{vendor-18203854dd3b1fb2cc41.d.ts → vendor-2466bf62a35e940e8f28.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -28,7 +28,7 @@ export declare const actionAddToLibrary: {
|
|
|
28
28
|
isBindingEnabled: boolean;
|
|
29
29
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
30
30
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
31
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
31
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
32
32
|
frameRendering: {
|
|
33
33
|
enabled: boolean;
|
|
34
34
|
name: boolean;
|
|
@@ -79,7 +79,15 @@ export declare const actionAddToLibrary: {
|
|
|
79
79
|
name: string;
|
|
80
80
|
tab?: string | undefined;
|
|
81
81
|
} | null;
|
|
82
|
-
openDialog:
|
|
82
|
+
openDialog: {
|
|
83
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
84
|
+
} | {
|
|
85
|
+
name: "magicSettings";
|
|
86
|
+
source: "tool" | "generation" | "settings";
|
|
87
|
+
} | {
|
|
88
|
+
name: "ttd";
|
|
89
|
+
tab: string;
|
|
90
|
+
} | null;
|
|
83
91
|
defaultSidebarDockedPreference: boolean;
|
|
84
92
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
85
93
|
selectedElementIds: Readonly<{
|
|
@@ -145,7 +153,7 @@ export declare const actionAddToLibrary: {
|
|
|
145
153
|
isBindingEnabled: boolean;
|
|
146
154
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
147
155
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
148
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
156
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
149
157
|
frameRendering: {
|
|
150
158
|
enabled: boolean;
|
|
151
159
|
name: boolean;
|
|
@@ -196,7 +204,15 @@ export declare const actionAddToLibrary: {
|
|
|
196
204
|
name: string;
|
|
197
205
|
tab?: string | undefined;
|
|
198
206
|
} | null;
|
|
199
|
-
openDialog:
|
|
207
|
+
openDialog: {
|
|
208
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
209
|
+
} | {
|
|
210
|
+
name: "magicSettings";
|
|
211
|
+
source: "tool" | "generation" | "settings";
|
|
212
|
+
} | {
|
|
213
|
+
name: "ttd";
|
|
214
|
+
tab: string;
|
|
215
|
+
} | null;
|
|
200
216
|
defaultSidebarDockedPreference: boolean;
|
|
201
217
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
202
218
|
selectedElementIds: Readonly<{
|
|
@@ -267,7 +283,7 @@ export declare const actionAddToLibrary: {
|
|
|
267
283
|
isBindingEnabled: boolean;
|
|
268
284
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
269
285
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
270
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
286
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
271
287
|
frameRendering: {
|
|
272
288
|
enabled: boolean;
|
|
273
289
|
name: boolean;
|
|
@@ -318,7 +334,15 @@ export declare const actionAddToLibrary: {
|
|
|
318
334
|
name: string;
|
|
319
335
|
tab?: string | undefined;
|
|
320
336
|
} | null;
|
|
321
|
-
openDialog:
|
|
337
|
+
openDialog: {
|
|
338
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
339
|
+
} | {
|
|
340
|
+
name: "magicSettings";
|
|
341
|
+
source: "tool" | "generation" | "settings";
|
|
342
|
+
} | {
|
|
343
|
+
name: "ttd";
|
|
344
|
+
tab: string;
|
|
345
|
+
} | null;
|
|
322
346
|
defaultSidebarDockedPreference: boolean;
|
|
323
347
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
324
348
|
selectedElementIds: Readonly<{
|
|
@@ -48,7 +48,7 @@ export declare const actionBindText: {
|
|
|
48
48
|
isBindingEnabled: boolean;
|
|
49
49
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
50
50
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
51
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
51
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
52
52
|
frameRendering: {
|
|
53
53
|
enabled: boolean;
|
|
54
54
|
name: boolean;
|
|
@@ -99,7 +99,15 @@ export declare const actionBindText: {
|
|
|
99
99
|
name: string;
|
|
100
100
|
tab?: string | undefined;
|
|
101
101
|
} | null;
|
|
102
|
-
openDialog:
|
|
102
|
+
openDialog: {
|
|
103
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
104
|
+
} | {
|
|
105
|
+
name: "magicSettings";
|
|
106
|
+
source: "tool" | "generation" | "settings";
|
|
107
|
+
} | {
|
|
108
|
+
name: "ttd";
|
|
109
|
+
tab: string;
|
|
110
|
+
} | null;
|
|
103
111
|
defaultSidebarDockedPreference: boolean;
|
|
104
112
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
105
113
|
previousSelectedElementIds: {
|
|
@@ -182,7 +190,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
182
190
|
isBindingEnabled: boolean;
|
|
183
191
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
184
192
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
185
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
193
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
186
194
|
frameRendering: {
|
|
187
195
|
enabled: boolean;
|
|
188
196
|
name: boolean;
|
|
@@ -233,7 +241,15 @@ export declare const actionWrapTextInContainer: {
|
|
|
233
241
|
name: string;
|
|
234
242
|
tab?: string | undefined;
|
|
235
243
|
} | null;
|
|
236
|
-
openDialog:
|
|
244
|
+
openDialog: {
|
|
245
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
246
|
+
} | {
|
|
247
|
+
name: "magicSettings";
|
|
248
|
+
source: "tool" | "generation" | "settings";
|
|
249
|
+
} | {
|
|
250
|
+
name: "ttd";
|
|
251
|
+
tab: string;
|
|
252
|
+
} | null;
|
|
237
253
|
defaultSidebarDockedPreference: boolean;
|
|
238
254
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
239
255
|
previousSelectedElementIds: {
|
|
@@ -59,7 +59,7 @@ export declare const actionClearCanvas: {
|
|
|
59
59
|
isBindingEnabled: boolean;
|
|
60
60
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
61
61
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
62
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
62
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
63
63
|
frameRendering: {
|
|
64
64
|
enabled: boolean;
|
|
65
65
|
name: boolean;
|
|
@@ -102,7 +102,15 @@ export declare const actionClearCanvas: {
|
|
|
102
102
|
name: string;
|
|
103
103
|
tab?: string | undefined;
|
|
104
104
|
} | null;
|
|
105
|
-
openDialog:
|
|
105
|
+
openDialog: {
|
|
106
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
107
|
+
} | {
|
|
108
|
+
name: "magicSettings";
|
|
109
|
+
source: "tool" | "generation" | "settings";
|
|
110
|
+
} | {
|
|
111
|
+
name: "ttd";
|
|
112
|
+
tab: string;
|
|
113
|
+
} | null;
|
|
106
114
|
defaultSidebarDockedPreference: boolean;
|
|
107
115
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
108
116
|
selectedElementIds: Readonly<{
|
|
@@ -174,7 +182,7 @@ export declare const actionZoomIn: {
|
|
|
174
182
|
isBindingEnabled: boolean;
|
|
175
183
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
176
184
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
177
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
185
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
178
186
|
frameRendering: {
|
|
179
187
|
enabled: boolean;
|
|
180
188
|
name: boolean;
|
|
@@ -220,7 +228,15 @@ export declare const actionZoomIn: {
|
|
|
220
228
|
name: string;
|
|
221
229
|
tab?: string | undefined;
|
|
222
230
|
} | null;
|
|
223
|
-
openDialog:
|
|
231
|
+
openDialog: {
|
|
232
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
233
|
+
} | {
|
|
234
|
+
name: "magicSettings";
|
|
235
|
+
source: "tool" | "generation" | "settings";
|
|
236
|
+
} | {
|
|
237
|
+
name: "ttd";
|
|
238
|
+
tab: string;
|
|
239
|
+
} | null;
|
|
224
240
|
defaultSidebarDockedPreference: boolean;
|
|
225
241
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
226
242
|
selectedElementIds: Readonly<{
|
|
@@ -308,7 +324,7 @@ export declare const actionZoomOut: {
|
|
|
308
324
|
isBindingEnabled: boolean;
|
|
309
325
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
310
326
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
311
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
327
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
312
328
|
frameRendering: {
|
|
313
329
|
enabled: boolean;
|
|
314
330
|
name: boolean;
|
|
@@ -354,7 +370,15 @@ export declare const actionZoomOut: {
|
|
|
354
370
|
name: string;
|
|
355
371
|
tab?: string | undefined;
|
|
356
372
|
} | null;
|
|
357
|
-
openDialog:
|
|
373
|
+
openDialog: {
|
|
374
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
375
|
+
} | {
|
|
376
|
+
name: "magicSettings";
|
|
377
|
+
source: "tool" | "generation" | "settings";
|
|
378
|
+
} | {
|
|
379
|
+
name: "ttd";
|
|
380
|
+
tab: string;
|
|
381
|
+
} | null;
|
|
358
382
|
defaultSidebarDockedPreference: boolean;
|
|
359
383
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
360
384
|
selectedElementIds: Readonly<{
|
|
@@ -442,7 +466,7 @@ export declare const actionResetZoom: {
|
|
|
442
466
|
isBindingEnabled: boolean;
|
|
443
467
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
444
468
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
445
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
469
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
446
470
|
frameRendering: {
|
|
447
471
|
enabled: boolean;
|
|
448
472
|
name: boolean;
|
|
@@ -488,7 +512,15 @@ export declare const actionResetZoom: {
|
|
|
488
512
|
name: string;
|
|
489
513
|
tab?: string | undefined;
|
|
490
514
|
} | null;
|
|
491
|
-
openDialog:
|
|
515
|
+
openDialog: {
|
|
516
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
517
|
+
} | {
|
|
518
|
+
name: "magicSettings";
|
|
519
|
+
source: "tool" | "generation" | "settings";
|
|
520
|
+
} | {
|
|
521
|
+
name: "ttd";
|
|
522
|
+
tab: string;
|
|
523
|
+
} | null;
|
|
492
524
|
defaultSidebarDockedPreference: boolean;
|
|
493
525
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
494
526
|
selectedElementIds: Readonly<{
|
|
@@ -577,7 +609,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
|
|
|
577
609
|
isBindingEnabled: boolean;
|
|
578
610
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
579
611
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
580
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
612
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
581
613
|
frameRendering: {
|
|
582
614
|
enabled: boolean;
|
|
583
615
|
name: boolean;
|
|
@@ -623,7 +655,15 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
|
|
|
623
655
|
name: string;
|
|
624
656
|
tab?: string | undefined;
|
|
625
657
|
} | null;
|
|
626
|
-
openDialog:
|
|
658
|
+
openDialog: {
|
|
659
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
660
|
+
} | {
|
|
661
|
+
name: "magicSettings";
|
|
662
|
+
source: "tool" | "generation" | "settings";
|
|
663
|
+
} | {
|
|
664
|
+
name: "ttd";
|
|
665
|
+
tab: string;
|
|
666
|
+
} | null;
|
|
627
667
|
defaultSidebarDockedPreference: boolean;
|
|
628
668
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
629
669
|
selectedElementIds: Readonly<{
|
|
@@ -705,7 +745,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
705
745
|
isBindingEnabled: boolean;
|
|
706
746
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
707
747
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
708
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
748
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
709
749
|
frameRendering: {
|
|
710
750
|
enabled: boolean;
|
|
711
751
|
name: boolean;
|
|
@@ -751,7 +791,15 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
751
791
|
name: string;
|
|
752
792
|
tab?: string | undefined;
|
|
753
793
|
} | null;
|
|
754
|
-
openDialog:
|
|
794
|
+
openDialog: {
|
|
795
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
796
|
+
} | {
|
|
797
|
+
name: "magicSettings";
|
|
798
|
+
source: "tool" | "generation" | "settings";
|
|
799
|
+
} | {
|
|
800
|
+
name: "ttd";
|
|
801
|
+
tab: string;
|
|
802
|
+
} | null;
|
|
755
803
|
defaultSidebarDockedPreference: boolean;
|
|
756
804
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
757
805
|
selectedElementIds: Readonly<{
|
|
@@ -837,7 +885,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
837
885
|
isBindingEnabled: boolean;
|
|
838
886
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
839
887
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
840
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
888
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
841
889
|
frameRendering: {
|
|
842
890
|
enabled: boolean;
|
|
843
891
|
name: boolean;
|
|
@@ -883,7 +931,15 @@ export declare const actionZoomToFitSelection: {
|
|
|
883
931
|
name: string;
|
|
884
932
|
tab?: string | undefined;
|
|
885
933
|
} | null;
|
|
886
|
-
openDialog:
|
|
934
|
+
openDialog: {
|
|
935
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
936
|
+
} | {
|
|
937
|
+
name: "magicSettings";
|
|
938
|
+
source: "tool" | "generation" | "settings";
|
|
939
|
+
} | {
|
|
940
|
+
name: "ttd";
|
|
941
|
+
tab: string;
|
|
942
|
+
} | null;
|
|
887
943
|
defaultSidebarDockedPreference: boolean;
|
|
888
944
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
889
945
|
selectedElementIds: Readonly<{
|
|
@@ -970,7 +1026,7 @@ export declare const actionZoomToFit: {
|
|
|
970
1026
|
isBindingEnabled: boolean;
|
|
971
1027
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
972
1028
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
973
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
1029
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
974
1030
|
frameRendering: {
|
|
975
1031
|
enabled: boolean;
|
|
976
1032
|
name: boolean;
|
|
@@ -1016,7 +1072,15 @@ export declare const actionZoomToFit: {
|
|
|
1016
1072
|
name: string;
|
|
1017
1073
|
tab?: string | undefined;
|
|
1018
1074
|
} | null;
|
|
1019
|
-
openDialog:
|
|
1075
|
+
openDialog: {
|
|
1076
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1077
|
+
} | {
|
|
1078
|
+
name: "magicSettings";
|
|
1079
|
+
source: "tool" | "generation" | "settings";
|
|
1080
|
+
} | {
|
|
1081
|
+
name: "ttd";
|
|
1082
|
+
tab: string;
|
|
1083
|
+
} | null;
|
|
1020
1084
|
defaultSidebarDockedPreference: boolean;
|
|
1021
1085
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1022
1086
|
selectedElementIds: Readonly<{
|
|
@@ -1099,7 +1163,7 @@ export declare const actionToggleTheme: {
|
|
|
1099
1163
|
isBindingEnabled: boolean;
|
|
1100
1164
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1101
1165
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1102
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
1166
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1103
1167
|
frameRendering: {
|
|
1104
1168
|
enabled: boolean;
|
|
1105
1169
|
name: boolean;
|
|
@@ -1150,7 +1214,15 @@ export declare const actionToggleTheme: {
|
|
|
1150
1214
|
name: string;
|
|
1151
1215
|
tab?: string | undefined;
|
|
1152
1216
|
} | null;
|
|
1153
|
-
openDialog:
|
|
1217
|
+
openDialog: {
|
|
1218
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1219
|
+
} | {
|
|
1220
|
+
name: "magicSettings";
|
|
1221
|
+
source: "tool" | "generation" | "settings";
|
|
1222
|
+
} | {
|
|
1223
|
+
name: "ttd";
|
|
1224
|
+
tab: string;
|
|
1225
|
+
} | null;
|
|
1154
1226
|
defaultSidebarDockedPreference: boolean;
|
|
1155
1227
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1156
1228
|
selectedElementIds: Readonly<{
|
|
@@ -1234,7 +1306,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1234
1306
|
isBindingEnabled: boolean;
|
|
1235
1307
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1236
1308
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1237
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
1309
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1238
1310
|
frameRendering: {
|
|
1239
1311
|
enabled: boolean;
|
|
1240
1312
|
name: boolean;
|
|
@@ -1281,7 +1353,15 @@ export declare const actionToggleEraserTool: {
|
|
|
1281
1353
|
name: string;
|
|
1282
1354
|
tab?: string | undefined;
|
|
1283
1355
|
} | null;
|
|
1284
|
-
openDialog:
|
|
1356
|
+
openDialog: {
|
|
1357
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1358
|
+
} | {
|
|
1359
|
+
name: "magicSettings";
|
|
1360
|
+
source: "tool" | "generation" | "settings";
|
|
1361
|
+
} | {
|
|
1362
|
+
name: "ttd";
|
|
1363
|
+
tab: string;
|
|
1364
|
+
} | null;
|
|
1285
1365
|
defaultSidebarDockedPreference: boolean;
|
|
1286
1366
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1287
1367
|
previousSelectedElementIds: {
|
|
@@ -1359,7 +1439,7 @@ export declare const actionToggleHandTool: {
|
|
|
1359
1439
|
isBindingEnabled: boolean;
|
|
1360
1440
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1361
1441
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1362
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
1442
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1363
1443
|
frameRendering: {
|
|
1364
1444
|
enabled: boolean;
|
|
1365
1445
|
name: boolean;
|
|
@@ -1406,7 +1486,15 @@ export declare const actionToggleHandTool: {
|
|
|
1406
1486
|
name: string;
|
|
1407
1487
|
tab?: string | undefined;
|
|
1408
1488
|
} | null;
|
|
1409
|
-
openDialog:
|
|
1489
|
+
openDialog: {
|
|
1490
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1491
|
+
} | {
|
|
1492
|
+
name: "magicSettings";
|
|
1493
|
+
source: "tool" | "generation" | "settings";
|
|
1494
|
+
} | {
|
|
1495
|
+
name: "ttd";
|
|
1496
|
+
tab: string;
|
|
1497
|
+
} | null;
|
|
1410
1498
|
defaultSidebarDockedPreference: boolean;
|
|
1411
1499
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1412
1500
|
previousSelectedElementIds: {
|
|
@@ -25,7 +25,7 @@ export declare const actionCopy: {
|
|
|
25
25
|
isBindingEnabled: boolean;
|
|
26
26
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
27
27
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
28
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
28
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
29
29
|
frameRendering: {
|
|
30
30
|
enabled: boolean;
|
|
31
31
|
name: boolean;
|
|
@@ -76,7 +76,15 @@ export declare const actionCopy: {
|
|
|
76
76
|
name: string;
|
|
77
77
|
tab?: string | undefined;
|
|
78
78
|
} | null;
|
|
79
|
-
openDialog:
|
|
79
|
+
openDialog: {
|
|
80
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
81
|
+
} | {
|
|
82
|
+
name: "magicSettings";
|
|
83
|
+
source: "tool" | "generation" | "settings";
|
|
84
|
+
} | {
|
|
85
|
+
name: "ttd";
|
|
86
|
+
tab: string;
|
|
87
|
+
} | null;
|
|
80
88
|
defaultSidebarDockedPreference: boolean;
|
|
81
89
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
82
90
|
selectedElementIds: Readonly<{
|
|
@@ -161,7 +169,7 @@ export declare const actionPaste: {
|
|
|
161
169
|
isBindingEnabled: boolean;
|
|
162
170
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
163
171
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
164
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
172
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
165
173
|
frameRendering: {
|
|
166
174
|
enabled: boolean;
|
|
167
175
|
name: boolean;
|
|
@@ -212,7 +220,15 @@ export declare const actionPaste: {
|
|
|
212
220
|
name: string;
|
|
213
221
|
tab?: string | undefined;
|
|
214
222
|
} | null;
|
|
215
|
-
openDialog:
|
|
223
|
+
openDialog: {
|
|
224
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
225
|
+
} | {
|
|
226
|
+
name: "magicSettings";
|
|
227
|
+
source: "tool" | "generation" | "settings";
|
|
228
|
+
} | {
|
|
229
|
+
name: "ttd";
|
|
230
|
+
tab: string;
|
|
231
|
+
} | null;
|
|
216
232
|
defaultSidebarDockedPreference: boolean;
|
|
217
233
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
218
234
|
selectedElementIds: Readonly<{
|
|
@@ -298,7 +314,7 @@ export declare const actionCut: {
|
|
|
298
314
|
isBindingEnabled: boolean;
|
|
299
315
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
300
316
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
301
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
317
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
302
318
|
frameRendering: {
|
|
303
319
|
enabled: boolean;
|
|
304
320
|
name: boolean;
|
|
@@ -348,7 +364,15 @@ export declare const actionCut: {
|
|
|
348
364
|
name: string;
|
|
349
365
|
tab?: string | undefined;
|
|
350
366
|
} | null;
|
|
351
|
-
openDialog:
|
|
367
|
+
openDialog: {
|
|
368
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
369
|
+
} | {
|
|
370
|
+
name: "magicSettings";
|
|
371
|
+
source: "tool" | "generation" | "settings";
|
|
372
|
+
} | {
|
|
373
|
+
name: "ttd";
|
|
374
|
+
tab: string;
|
|
375
|
+
} | null;
|
|
352
376
|
defaultSidebarDockedPreference: boolean;
|
|
353
377
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
354
378
|
selectedElementIds: Readonly<{
|
|
@@ -449,7 +473,7 @@ export declare const actionCut: {
|
|
|
449
473
|
isBindingEnabled: boolean;
|
|
450
474
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
451
475
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
452
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
476
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
453
477
|
frameRendering: {
|
|
454
478
|
enabled: boolean;
|
|
455
479
|
name: boolean;
|
|
@@ -499,7 +523,15 @@ export declare const actionCut: {
|
|
|
499
523
|
name: string;
|
|
500
524
|
tab?: string | undefined;
|
|
501
525
|
} | null;
|
|
502
|
-
openDialog:
|
|
526
|
+
openDialog: {
|
|
527
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
528
|
+
} | {
|
|
529
|
+
name: "magicSettings";
|
|
530
|
+
source: "tool" | "generation" | "settings";
|
|
531
|
+
} | {
|
|
532
|
+
name: "ttd";
|
|
533
|
+
tab: string;
|
|
534
|
+
} | null;
|
|
503
535
|
defaultSidebarDockedPreference: boolean;
|
|
504
536
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
505
537
|
selectedElementIds: Readonly<{
|
|
@@ -574,7 +606,7 @@ export declare const actionCut: {
|
|
|
574
606
|
isBindingEnabled: boolean;
|
|
575
607
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
576
608
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
577
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
609
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
578
610
|
frameRendering: {
|
|
579
611
|
enabled: boolean;
|
|
580
612
|
name: boolean;
|
|
@@ -621,7 +653,15 @@ export declare const actionCut: {
|
|
|
621
653
|
name: string;
|
|
622
654
|
tab?: string | undefined;
|
|
623
655
|
} | null;
|
|
624
|
-
openDialog:
|
|
656
|
+
openDialog: {
|
|
657
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
658
|
+
} | {
|
|
659
|
+
name: "magicSettings";
|
|
660
|
+
source: "tool" | "generation" | "settings";
|
|
661
|
+
} | {
|
|
662
|
+
name: "ttd";
|
|
663
|
+
tab: string;
|
|
664
|
+
} | null;
|
|
625
665
|
defaultSidebarDockedPreference: boolean;
|
|
626
666
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
627
667
|
previousSelectedElementIds: {
|
|
@@ -700,7 +740,7 @@ export declare const actionCopyAsSvg: {
|
|
|
700
740
|
isBindingEnabled: boolean;
|
|
701
741
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
702
742
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
703
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
743
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
704
744
|
frameRendering: {
|
|
705
745
|
enabled: boolean;
|
|
706
746
|
name: boolean;
|
|
@@ -751,7 +791,15 @@ export declare const actionCopyAsSvg: {
|
|
|
751
791
|
name: string;
|
|
752
792
|
tab?: string | undefined;
|
|
753
793
|
} | null;
|
|
754
|
-
openDialog:
|
|
794
|
+
openDialog: {
|
|
795
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
796
|
+
} | {
|
|
797
|
+
name: "magicSettings";
|
|
798
|
+
source: "tool" | "generation" | "settings";
|
|
799
|
+
} | {
|
|
800
|
+
name: "ttd";
|
|
801
|
+
tab: string;
|
|
802
|
+
} | null;
|
|
755
803
|
defaultSidebarDockedPreference: boolean;
|
|
756
804
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
757
805
|
selectedElementIds: Readonly<{
|
|
@@ -836,7 +884,7 @@ export declare const actionCopyAsPng: {
|
|
|
836
884
|
isBindingEnabled: boolean;
|
|
837
885
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
838
886
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
839
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
887
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
840
888
|
frameRendering: {
|
|
841
889
|
enabled: boolean;
|
|
842
890
|
name: boolean;
|
|
@@ -887,7 +935,15 @@ export declare const actionCopyAsPng: {
|
|
|
887
935
|
name: string;
|
|
888
936
|
tab?: string | undefined;
|
|
889
937
|
} | null;
|
|
890
|
-
openDialog:
|
|
938
|
+
openDialog: {
|
|
939
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
940
|
+
} | {
|
|
941
|
+
name: "magicSettings";
|
|
942
|
+
source: "tool" | "generation" | "settings";
|
|
943
|
+
} | {
|
|
944
|
+
name: "ttd";
|
|
945
|
+
tab: string;
|
|
946
|
+
} | null;
|
|
891
947
|
defaultSidebarDockedPreference: boolean;
|
|
892
948
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
893
949
|
selectedElementIds: Readonly<{
|