@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
|
@@ -30,7 +30,7 @@ export declare const actionDeleteSelected: {
|
|
|
30
30
|
isBindingEnabled: boolean;
|
|
31
31
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
32
32
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
33
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
33
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
34
34
|
frameRendering: {
|
|
35
35
|
enabled: boolean;
|
|
36
36
|
name: boolean;
|
|
@@ -80,7 +80,15 @@ export declare const actionDeleteSelected: {
|
|
|
80
80
|
name: string;
|
|
81
81
|
tab?: string | undefined;
|
|
82
82
|
} | null;
|
|
83
|
-
openDialog:
|
|
83
|
+
openDialog: {
|
|
84
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
85
|
+
} | {
|
|
86
|
+
name: "magicSettings";
|
|
87
|
+
source: "tool" | "generation" | "settings";
|
|
88
|
+
} | {
|
|
89
|
+
name: "ttd";
|
|
90
|
+
tab: string;
|
|
91
|
+
} | null;
|
|
84
92
|
defaultSidebarDockedPreference: boolean;
|
|
85
93
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
86
94
|
selectedElementIds: Readonly<{
|
|
@@ -181,7 +189,7 @@ export declare const actionDeleteSelected: {
|
|
|
181
189
|
isBindingEnabled: boolean;
|
|
182
190
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
183
191
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
184
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
192
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
185
193
|
frameRendering: {
|
|
186
194
|
enabled: boolean;
|
|
187
195
|
name: boolean;
|
|
@@ -231,7 +239,15 @@ export declare const actionDeleteSelected: {
|
|
|
231
239
|
name: string;
|
|
232
240
|
tab?: string | undefined;
|
|
233
241
|
} | null;
|
|
234
|
-
openDialog:
|
|
242
|
+
openDialog: {
|
|
243
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
244
|
+
} | {
|
|
245
|
+
name: "magicSettings";
|
|
246
|
+
source: "tool" | "generation" | "settings";
|
|
247
|
+
} | {
|
|
248
|
+
name: "ttd";
|
|
249
|
+
tab: string;
|
|
250
|
+
} | null;
|
|
235
251
|
defaultSidebarDockedPreference: boolean;
|
|
236
252
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
237
253
|
selectedElementIds: Readonly<{
|
|
@@ -306,7 +322,7 @@ export declare const actionDeleteSelected: {
|
|
|
306
322
|
isBindingEnabled: boolean;
|
|
307
323
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
308
324
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
309
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
325
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
310
326
|
frameRendering: {
|
|
311
327
|
enabled: boolean;
|
|
312
328
|
name: boolean;
|
|
@@ -353,7 +369,15 @@ export declare const actionDeleteSelected: {
|
|
|
353
369
|
name: string;
|
|
354
370
|
tab?: string | undefined;
|
|
355
371
|
} | null;
|
|
356
|
-
openDialog:
|
|
372
|
+
openDialog: {
|
|
373
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
374
|
+
} | {
|
|
375
|
+
name: "magicSettings";
|
|
376
|
+
source: "tool" | "generation" | "settings";
|
|
377
|
+
} | {
|
|
378
|
+
name: "ttd";
|
|
379
|
+
tab: string;
|
|
380
|
+
} | null;
|
|
357
381
|
defaultSidebarDockedPreference: boolean;
|
|
358
382
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
359
383
|
previousSelectedElementIds: {
|
|
@@ -28,7 +28,7 @@ export declare const actionToggleElementLock: {
|
|
|
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 actionToggleElementLock: {
|
|
|
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<{
|
|
@@ -166,7 +174,7 @@ export declare const actionUnlockAllElements: {
|
|
|
166
174
|
isBindingEnabled: boolean;
|
|
167
175
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
168
176
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
169
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
177
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
170
178
|
frameRendering: {
|
|
171
179
|
enabled: boolean;
|
|
172
180
|
name: boolean;
|
|
@@ -217,7 +225,15 @@ export declare const actionUnlockAllElements: {
|
|
|
217
225
|
name: string;
|
|
218
226
|
tab?: string | undefined;
|
|
219
227
|
} | null;
|
|
220
|
-
openDialog:
|
|
228
|
+
openDialog: {
|
|
229
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
230
|
+
} | {
|
|
231
|
+
name: "magicSettings";
|
|
232
|
+
source: "tool" | "generation" | "settings";
|
|
233
|
+
} | {
|
|
234
|
+
name: "ttd";
|
|
235
|
+
tab: string;
|
|
236
|
+
} | null;
|
|
221
237
|
defaultSidebarDockedPreference: boolean;
|
|
222
238
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
223
239
|
previousSelectedElementIds: {
|
|
@@ -25,7 +25,7 @@ export declare const actionChangeProjectName: {
|
|
|
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;
|
|
@@ -75,7 +75,15 @@ export declare const actionChangeProjectName: {
|
|
|
75
75
|
name: string;
|
|
76
76
|
tab?: string | undefined;
|
|
77
77
|
} | null;
|
|
78
|
-
openDialog:
|
|
78
|
+
openDialog: {
|
|
79
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
80
|
+
} | {
|
|
81
|
+
name: "magicSettings";
|
|
82
|
+
source: "tool" | "generation" | "settings";
|
|
83
|
+
} | {
|
|
84
|
+
name: "ttd";
|
|
85
|
+
tab: string;
|
|
86
|
+
} | null;
|
|
79
87
|
defaultSidebarDockedPreference: boolean;
|
|
80
88
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
81
89
|
selectedElementIds: Readonly<{
|
|
@@ -158,7 +166,7 @@ export declare const actionChangeExportScale: {
|
|
|
158
166
|
isBindingEnabled: boolean;
|
|
159
167
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
160
168
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
161
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
169
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
162
170
|
frameRendering: {
|
|
163
171
|
enabled: boolean;
|
|
164
172
|
name: boolean;
|
|
@@ -208,7 +216,15 @@ export declare const actionChangeExportScale: {
|
|
|
208
216
|
name: string;
|
|
209
217
|
tab?: string | undefined;
|
|
210
218
|
} | null;
|
|
211
|
-
openDialog:
|
|
219
|
+
openDialog: {
|
|
220
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
221
|
+
} | {
|
|
222
|
+
name: "magicSettings";
|
|
223
|
+
source: "tool" | "generation" | "settings";
|
|
224
|
+
} | {
|
|
225
|
+
name: "ttd";
|
|
226
|
+
tab: string;
|
|
227
|
+
} | null;
|
|
212
228
|
defaultSidebarDockedPreference: boolean;
|
|
213
229
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
214
230
|
selectedElementIds: Readonly<{
|
|
@@ -291,7 +307,7 @@ export declare const actionChangeExportBackground: {
|
|
|
291
307
|
isBindingEnabled: boolean;
|
|
292
308
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
293
309
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
294
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
310
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
295
311
|
frameRendering: {
|
|
296
312
|
enabled: boolean;
|
|
297
313
|
name: boolean;
|
|
@@ -341,7 +357,15 @@ export declare const actionChangeExportBackground: {
|
|
|
341
357
|
name: string;
|
|
342
358
|
tab?: string | undefined;
|
|
343
359
|
} | null;
|
|
344
|
-
openDialog:
|
|
360
|
+
openDialog: {
|
|
361
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
362
|
+
} | {
|
|
363
|
+
name: "magicSettings";
|
|
364
|
+
source: "tool" | "generation" | "settings";
|
|
365
|
+
} | {
|
|
366
|
+
name: "ttd";
|
|
367
|
+
tab: string;
|
|
368
|
+
} | null;
|
|
345
369
|
defaultSidebarDockedPreference: boolean;
|
|
346
370
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
347
371
|
selectedElementIds: Readonly<{
|
|
@@ -424,7 +448,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
424
448
|
isBindingEnabled: boolean;
|
|
425
449
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
426
450
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
427
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
451
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
428
452
|
frameRendering: {
|
|
429
453
|
enabled: boolean;
|
|
430
454
|
name: boolean;
|
|
@@ -474,7 +498,15 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
474
498
|
name: string;
|
|
475
499
|
tab?: string | undefined;
|
|
476
500
|
} | null;
|
|
477
|
-
openDialog:
|
|
501
|
+
openDialog: {
|
|
502
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
503
|
+
} | {
|
|
504
|
+
name: "magicSettings";
|
|
505
|
+
source: "tool" | "generation" | "settings";
|
|
506
|
+
} | {
|
|
507
|
+
name: "ttd";
|
|
508
|
+
tab: string;
|
|
509
|
+
} | null;
|
|
478
510
|
defaultSidebarDockedPreference: boolean;
|
|
479
511
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
480
512
|
selectedElementIds: Readonly<{
|
|
@@ -561,7 +593,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
561
593
|
isBindingEnabled: boolean;
|
|
562
594
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
563
595
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
564
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
596
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
565
597
|
frameRendering: {
|
|
566
598
|
enabled: boolean;
|
|
567
599
|
name: boolean;
|
|
@@ -612,7 +644,15 @@ export declare const actionSaveToActiveFile: {
|
|
|
612
644
|
name: string;
|
|
613
645
|
tab?: string | undefined;
|
|
614
646
|
} | null;
|
|
615
|
-
openDialog:
|
|
647
|
+
openDialog: {
|
|
648
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
649
|
+
} | {
|
|
650
|
+
name: "magicSettings";
|
|
651
|
+
source: "tool" | "generation" | "settings";
|
|
652
|
+
} | {
|
|
653
|
+
name: "ttd";
|
|
654
|
+
tab: string;
|
|
655
|
+
} | null;
|
|
616
656
|
defaultSidebarDockedPreference: boolean;
|
|
617
657
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
618
658
|
selectedElementIds: Readonly<{
|
|
@@ -696,7 +736,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
696
736
|
isBindingEnabled: boolean;
|
|
697
737
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
698
738
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
699
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
739
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
700
740
|
frameRendering: {
|
|
701
741
|
enabled: boolean;
|
|
702
742
|
name: boolean;
|
|
@@ -807,10 +847,7 @@ export declare const actionLoadScene: {
|
|
|
807
847
|
perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
|
|
808
848
|
elements: import("../element/types").ExcalidrawElement[];
|
|
809
849
|
appState: {
|
|
810
|
-
|
|
811
|
-
lastActiveTool: import("../types").ActiveTool | null;
|
|
812
|
-
locked: boolean;
|
|
813
|
-
} & import("../types").ActiveTool;
|
|
850
|
+
theme: Theme;
|
|
814
851
|
contextMenu: {
|
|
815
852
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
816
853
|
top: number;
|
|
@@ -830,7 +867,7 @@ export declare const actionLoadScene: {
|
|
|
830
867
|
isBindingEnabled: boolean;
|
|
831
868
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
832
869
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
833
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
870
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
834
871
|
frameRendering: {
|
|
835
872
|
enabled: boolean;
|
|
836
873
|
name: boolean;
|
|
@@ -841,6 +878,10 @@ export declare const actionLoadScene: {
|
|
|
841
878
|
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
842
879
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
843
880
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
881
|
+
activeTool: {
|
|
882
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
883
|
+
locked: boolean;
|
|
884
|
+
} & import("../types").ActiveTool;
|
|
844
885
|
penMode: boolean;
|
|
845
886
|
penDetected: boolean;
|
|
846
887
|
exportBackground: boolean;
|
|
@@ -877,7 +918,15 @@ export declare const actionLoadScene: {
|
|
|
877
918
|
name: string;
|
|
878
919
|
tab?: string | undefined;
|
|
879
920
|
} | null;
|
|
880
|
-
openDialog:
|
|
921
|
+
openDialog: {
|
|
922
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
923
|
+
} | {
|
|
924
|
+
name: "magicSettings";
|
|
925
|
+
source: "tool" | "generation" | "settings";
|
|
926
|
+
} | {
|
|
927
|
+
name: "ttd";
|
|
928
|
+
tab: string;
|
|
929
|
+
} | null;
|
|
881
930
|
defaultSidebarDockedPreference: boolean;
|
|
882
931
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
883
932
|
selectedElementIds: Readonly<{
|
|
@@ -894,7 +943,6 @@ export declare const actionLoadScene: {
|
|
|
894
943
|
duration?: number | undefined;
|
|
895
944
|
} | null;
|
|
896
945
|
zenModeEnabled: boolean;
|
|
897
|
-
theme: Theme;
|
|
898
946
|
gridSize: number | null;
|
|
899
947
|
viewModeEnabled: boolean;
|
|
900
948
|
selectedGroupIds: {
|
|
@@ -946,7 +994,7 @@ export declare const actionLoadScene: {
|
|
|
946
994
|
isBindingEnabled: boolean;
|
|
947
995
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
948
996
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
949
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
997
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
950
998
|
frameRendering: {
|
|
951
999
|
enabled: boolean;
|
|
952
1000
|
name: boolean;
|
|
@@ -997,7 +1045,15 @@ export declare const actionLoadScene: {
|
|
|
997
1045
|
name: string;
|
|
998
1046
|
tab?: string | undefined;
|
|
999
1047
|
} | null;
|
|
1000
|
-
openDialog:
|
|
1048
|
+
openDialog: {
|
|
1049
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1050
|
+
} | {
|
|
1051
|
+
name: "magicSettings";
|
|
1052
|
+
source: "tool" | "generation" | "settings";
|
|
1053
|
+
} | {
|
|
1054
|
+
name: "ttd";
|
|
1055
|
+
tab: string;
|
|
1056
|
+
} | null;
|
|
1001
1057
|
defaultSidebarDockedPreference: boolean;
|
|
1002
1058
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1003
1059
|
selectedElementIds: Readonly<{
|
|
@@ -1081,7 +1137,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1081
1137
|
isBindingEnabled: boolean;
|
|
1082
1138
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1083
1139
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1084
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
1140
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1085
1141
|
frameRendering: {
|
|
1086
1142
|
enabled: boolean;
|
|
1087
1143
|
name: boolean;
|
|
@@ -1131,7 +1187,15 @@ export declare const actionExportWithDarkMode: {
|
|
|
1131
1187
|
name: string;
|
|
1132
1188
|
tab?: string | undefined;
|
|
1133
1189
|
} | null;
|
|
1134
|
-
openDialog:
|
|
1190
|
+
openDialog: {
|
|
1191
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1192
|
+
} | {
|
|
1193
|
+
name: "magicSettings";
|
|
1194
|
+
source: "tool" | "generation" | "settings";
|
|
1195
|
+
} | {
|
|
1196
|
+
name: "ttd";
|
|
1197
|
+
tab: string;
|
|
1198
|
+
} | null;
|
|
1135
1199
|
defaultSidebarDockedPreference: boolean;
|
|
1136
1200
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1137
1201
|
selectedElementIds: Readonly<{
|
|
@@ -27,7 +27,7 @@ export declare const actionFinalize: {
|
|
|
27
27
|
isBindingEnabled: boolean;
|
|
28
28
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
29
29
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
30
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
30
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
31
31
|
frameRendering: {
|
|
32
32
|
enabled: boolean;
|
|
33
33
|
name: boolean;
|
|
@@ -76,7 +76,15 @@ export declare const actionFinalize: {
|
|
|
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<{
|
|
@@ -156,7 +164,7 @@ export declare const actionFinalize: {
|
|
|
156
164
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
157
165
|
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
158
166
|
isBindingEnabled: boolean;
|
|
159
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
167
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
160
168
|
frameRendering: {
|
|
161
169
|
enabled: boolean;
|
|
162
170
|
name: boolean;
|
|
@@ -201,7 +209,15 @@ export declare const actionFinalize: {
|
|
|
201
209
|
name: string;
|
|
202
210
|
tab?: string | undefined;
|
|
203
211
|
} | null;
|
|
204
|
-
openDialog:
|
|
212
|
+
openDialog: {
|
|
213
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
214
|
+
} | {
|
|
215
|
+
name: "magicSettings";
|
|
216
|
+
source: "tool" | "generation" | "settings";
|
|
217
|
+
} | {
|
|
218
|
+
name: "ttd";
|
|
219
|
+
tab: string;
|
|
220
|
+
} | null;
|
|
205
221
|
defaultSidebarDockedPreference: boolean;
|
|
206
222
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
207
223
|
previousSelectedElementIds: {
|
|
@@ -45,7 +45,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
45
45
|
isBindingEnabled: boolean;
|
|
46
46
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
47
47
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
48
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
48
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
49
49
|
frameRendering: {
|
|
50
50
|
enabled: boolean;
|
|
51
51
|
name: boolean;
|
|
@@ -96,7 +96,15 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
96
96
|
name: string;
|
|
97
97
|
tab?: string | undefined;
|
|
98
98
|
} | null;
|
|
99
|
-
openDialog:
|
|
99
|
+
openDialog: {
|
|
100
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
101
|
+
} | {
|
|
102
|
+
name: "magicSettings";
|
|
103
|
+
source: "tool" | "generation" | "settings";
|
|
104
|
+
} | {
|
|
105
|
+
name: "ttd";
|
|
106
|
+
tab: string;
|
|
107
|
+
} | null;
|
|
100
108
|
defaultSidebarDockedPreference: boolean;
|
|
101
109
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
102
110
|
previousSelectedElementIds: {
|
|
@@ -187,7 +195,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
187
195
|
isBindingEnabled: boolean;
|
|
188
196
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
189
197
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
190
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
198
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
191
199
|
editingFrame: string | null;
|
|
192
200
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
193
201
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -232,7 +240,15 @@ export declare const actionupdateFrameRendering: {
|
|
|
232
240
|
name: string;
|
|
233
241
|
tab?: string | undefined;
|
|
234
242
|
} | null;
|
|
235
|
-
openDialog:
|
|
243
|
+
openDialog: {
|
|
244
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
245
|
+
} | {
|
|
246
|
+
name: "magicSettings";
|
|
247
|
+
source: "tool" | "generation" | "settings";
|
|
248
|
+
} | {
|
|
249
|
+
name: "ttd";
|
|
250
|
+
tab: string;
|
|
251
|
+
} | null;
|
|
236
252
|
defaultSidebarDockedPreference: boolean;
|
|
237
253
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
238
254
|
selectedElementIds: Readonly<{
|
|
@@ -319,7 +335,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
319
335
|
isBindingEnabled: boolean;
|
|
320
336
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
321
337
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
322
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
338
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
323
339
|
frameRendering: {
|
|
324
340
|
enabled: boolean;
|
|
325
341
|
name: boolean;
|
|
@@ -366,7 +382,15 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
366
382
|
name: string;
|
|
367
383
|
tab?: string | undefined;
|
|
368
384
|
} | null;
|
|
369
|
-
openDialog:
|
|
385
|
+
openDialog: {
|
|
386
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
387
|
+
} | {
|
|
388
|
+
name: "magicSettings";
|
|
389
|
+
source: "tool" | "generation" | "settings";
|
|
390
|
+
} | {
|
|
391
|
+
name: "ttd";
|
|
392
|
+
tab: string;
|
|
393
|
+
} | null;
|
|
370
394
|
defaultSidebarDockedPreference: boolean;
|
|
371
395
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
372
396
|
selectedElementIds: Readonly<{
|
|
@@ -37,7 +37,7 @@ export declare const actionGroup: {
|
|
|
37
37
|
isBindingEnabled: boolean;
|
|
38
38
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
39
39
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
40
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
40
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
41
41
|
frameRendering: {
|
|
42
42
|
enabled: boolean;
|
|
43
43
|
name: boolean;
|
|
@@ -88,7 +88,15 @@ export declare const actionGroup: {
|
|
|
88
88
|
name: string;
|
|
89
89
|
tab?: string | undefined;
|
|
90
90
|
} | null;
|
|
91
|
-
openDialog:
|
|
91
|
+
openDialog: {
|
|
92
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
93
|
+
} | {
|
|
94
|
+
name: "magicSettings";
|
|
95
|
+
source: "tool" | "generation" | "settings";
|
|
96
|
+
} | {
|
|
97
|
+
name: "ttd";
|
|
98
|
+
tab: string;
|
|
99
|
+
} | null;
|
|
92
100
|
defaultSidebarDockedPreference: boolean;
|
|
93
101
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
94
102
|
previousSelectedElementIds: {
|
|
@@ -177,7 +185,7 @@ export declare const actionUngroup: {
|
|
|
177
185
|
isBindingEnabled: boolean;
|
|
178
186
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
179
187
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
180
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
188
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
181
189
|
frameRendering: {
|
|
182
190
|
enabled: boolean;
|
|
183
191
|
name: boolean;
|
|
@@ -228,7 +236,15 @@ export declare const actionUngroup: {
|
|
|
228
236
|
name: string;
|
|
229
237
|
tab?: string | undefined;
|
|
230
238
|
} | null;
|
|
231
|
-
openDialog:
|
|
239
|
+
openDialog: {
|
|
240
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
241
|
+
} | {
|
|
242
|
+
name: "magicSettings";
|
|
243
|
+
source: "tool" | "generation" | "settings";
|
|
244
|
+
} | {
|
|
245
|
+
name: "ttd";
|
|
246
|
+
tab: string;
|
|
247
|
+
} | null;
|
|
232
248
|
defaultSidebarDockedPreference: boolean;
|
|
233
249
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
234
250
|
previousSelectedElementIds: {
|
|
@@ -28,7 +28,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
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;
|
|
@@ -78,7 +78,15 @@ export declare const actionToggleLinearEditor: {
|
|
|
78
78
|
name: string;
|
|
79
79
|
tab?: string | undefined;
|
|
80
80
|
} | null;
|
|
81
|
-
openDialog:
|
|
81
|
+
openDialog: {
|
|
82
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
83
|
+
} | {
|
|
84
|
+
name: "magicSettings";
|
|
85
|
+
source: "tool" | "generation" | "settings";
|
|
86
|
+
} | {
|
|
87
|
+
name: "ttd";
|
|
88
|
+
tab: string;
|
|
89
|
+
} | null;
|
|
82
90
|
defaultSidebarDockedPreference: boolean;
|
|
83
91
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
84
92
|
selectedElementIds: Readonly<{
|