@zsviczian/excalidraw 0.17.0-obsidian-1 → 0.17.0-obsidian-3
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/dist/excalidraw.development.js +372 -75
- 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 +130 -26
- 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 +28 -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 +13 -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 +10 -2
- package/types/element/newElement.d.ts +7 -1
- package/types/element/textElement.d.ts +4 -4
- package/types/element/typeChecks.d.ts +9 -6
- package/types/element/types.d.ts +30 -2
- package/types/frame.d.ts +21 -20
- package/types/packages/excalidraw/index.d.ts +2 -0
- package/types/packages/utils.d.ts +3 -3
- 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 +25 -10
- package/types/utils.d.ts +2 -2
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<{
|
|
@@ -178,7 +186,7 @@ export declare const actionAddToLibrary: {
|
|
|
178
186
|
isBindingEnabled: boolean;
|
|
179
187
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
180
188
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
181
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
189
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
182
190
|
frameRendering: {
|
|
183
191
|
enabled: boolean;
|
|
184
192
|
name: boolean;
|
|
@@ -229,7 +237,15 @@ export declare const actionAddToLibrary: {
|
|
|
229
237
|
name: string;
|
|
230
238
|
tab?: string | undefined;
|
|
231
239
|
} | null;
|
|
232
|
-
openDialog:
|
|
240
|
+
openDialog: {
|
|
241
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
242
|
+
} | {
|
|
243
|
+
name: "magicSettings";
|
|
244
|
+
source: "tool" | "generation" | "settings";
|
|
245
|
+
} | {
|
|
246
|
+
name: "ttd";
|
|
247
|
+
tab: string;
|
|
248
|
+
} | null;
|
|
233
249
|
defaultSidebarDockedPreference: boolean;
|
|
234
250
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
235
251
|
selectedElementIds: Readonly<{
|
|
@@ -333,7 +349,7 @@ export declare const actionAddToLibrary: {
|
|
|
333
349
|
isBindingEnabled: boolean;
|
|
334
350
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
335
351
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
336
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
352
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
337
353
|
frameRendering: {
|
|
338
354
|
enabled: boolean;
|
|
339
355
|
name: boolean;
|
|
@@ -384,7 +400,15 @@ export declare const actionAddToLibrary: {
|
|
|
384
400
|
name: string;
|
|
385
401
|
tab?: string | undefined;
|
|
386
402
|
} | null;
|
|
387
|
-
openDialog:
|
|
403
|
+
openDialog: {
|
|
404
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
405
|
+
} | {
|
|
406
|
+
name: "magicSettings";
|
|
407
|
+
source: "tool" | "generation" | "settings";
|
|
408
|
+
} | {
|
|
409
|
+
name: "ttd";
|
|
410
|
+
tab: string;
|
|
411
|
+
} | null;
|
|
388
412
|
defaultSidebarDockedPreference: boolean;
|
|
389
413
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
390
414
|
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: {
|
|
@@ -215,7 +223,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
215
223
|
isBindingEnabled: boolean;
|
|
216
224
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
217
225
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
218
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
226
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
219
227
|
frameRendering: {
|
|
220
228
|
enabled: boolean;
|
|
221
229
|
name: boolean;
|
|
@@ -266,7 +274,15 @@ export declare const actionWrapTextInContainer: {
|
|
|
266
274
|
name: string;
|
|
267
275
|
tab?: string | undefined;
|
|
268
276
|
} | null;
|
|
269
|
-
openDialog:
|
|
277
|
+
openDialog: {
|
|
278
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
279
|
+
} | {
|
|
280
|
+
name: "magicSettings";
|
|
281
|
+
source: "tool" | "generation" | "settings";
|
|
282
|
+
} | {
|
|
283
|
+
name: "ttd";
|
|
284
|
+
tab: string;
|
|
285
|
+
} | null;
|
|
270
286
|
defaultSidebarDockedPreference: boolean;
|
|
271
287
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
272
288
|
previousSelectedElementIds: {
|
|
@@ -74,7 +74,7 @@ export declare const actionClearCanvas: {
|
|
|
74
74
|
isBindingEnabled: boolean;
|
|
75
75
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
76
76
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
77
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
77
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
78
78
|
frameRendering: {
|
|
79
79
|
enabled: boolean;
|
|
80
80
|
name: boolean;
|
|
@@ -117,7 +117,15 @@ export declare const actionClearCanvas: {
|
|
|
117
117
|
name: string;
|
|
118
118
|
tab?: string | undefined;
|
|
119
119
|
} | null;
|
|
120
|
-
openDialog:
|
|
120
|
+
openDialog: {
|
|
121
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
122
|
+
} | {
|
|
123
|
+
name: "magicSettings";
|
|
124
|
+
source: "tool" | "generation" | "settings";
|
|
125
|
+
} | {
|
|
126
|
+
name: "ttd";
|
|
127
|
+
tab: string;
|
|
128
|
+
} | null;
|
|
121
129
|
defaultSidebarDockedPreference: boolean;
|
|
122
130
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
123
131
|
selectedElementIds: Readonly<{
|
|
@@ -207,7 +215,7 @@ export declare const actionZoomIn: {
|
|
|
207
215
|
isBindingEnabled: boolean;
|
|
208
216
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
209
217
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
210
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
218
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
211
219
|
frameRendering: {
|
|
212
220
|
enabled: boolean;
|
|
213
221
|
name: boolean;
|
|
@@ -253,7 +261,15 @@ export declare const actionZoomIn: {
|
|
|
253
261
|
name: string;
|
|
254
262
|
tab?: string | undefined;
|
|
255
263
|
} | null;
|
|
256
|
-
openDialog:
|
|
264
|
+
openDialog: {
|
|
265
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
266
|
+
} | {
|
|
267
|
+
name: "magicSettings";
|
|
268
|
+
source: "tool" | "generation" | "settings";
|
|
269
|
+
} | {
|
|
270
|
+
name: "ttd";
|
|
271
|
+
tab: string;
|
|
272
|
+
} | null;
|
|
257
273
|
defaultSidebarDockedPreference: boolean;
|
|
258
274
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
259
275
|
selectedElementIds: Readonly<{
|
|
@@ -374,7 +390,7 @@ export declare const actionZoomOut: {
|
|
|
374
390
|
isBindingEnabled: boolean;
|
|
375
391
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
376
392
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
377
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
393
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
378
394
|
frameRendering: {
|
|
379
395
|
enabled: boolean;
|
|
380
396
|
name: boolean;
|
|
@@ -420,7 +436,15 @@ export declare const actionZoomOut: {
|
|
|
420
436
|
name: string;
|
|
421
437
|
tab?: string | undefined;
|
|
422
438
|
} | null;
|
|
423
|
-
openDialog:
|
|
439
|
+
openDialog: {
|
|
440
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
441
|
+
} | {
|
|
442
|
+
name: "magicSettings";
|
|
443
|
+
source: "tool" | "generation" | "settings";
|
|
444
|
+
} | {
|
|
445
|
+
name: "ttd";
|
|
446
|
+
tab: string;
|
|
447
|
+
} | null;
|
|
424
448
|
defaultSidebarDockedPreference: boolean;
|
|
425
449
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
426
450
|
selectedElementIds: Readonly<{
|
|
@@ -541,7 +565,7 @@ export declare const actionResetZoom: {
|
|
|
541
565
|
isBindingEnabled: boolean;
|
|
542
566
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
543
567
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
544
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
568
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
545
569
|
frameRendering: {
|
|
546
570
|
enabled: boolean;
|
|
547
571
|
name: boolean;
|
|
@@ -587,7 +611,15 @@ export declare const actionResetZoom: {
|
|
|
587
611
|
name: string;
|
|
588
612
|
tab?: string | undefined;
|
|
589
613
|
} | null;
|
|
590
|
-
openDialog:
|
|
614
|
+
openDialog: {
|
|
615
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
616
|
+
} | {
|
|
617
|
+
name: "magicSettings";
|
|
618
|
+
source: "tool" | "generation" | "settings";
|
|
619
|
+
} | {
|
|
620
|
+
name: "ttd";
|
|
621
|
+
tab: string;
|
|
622
|
+
} | null;
|
|
591
623
|
defaultSidebarDockedPreference: boolean;
|
|
592
624
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
593
625
|
selectedElementIds: Readonly<{
|
|
@@ -709,7 +741,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
|
|
|
709
741
|
isBindingEnabled: boolean;
|
|
710
742
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
711
743
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
712
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
744
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
713
745
|
frameRendering: {
|
|
714
746
|
enabled: boolean;
|
|
715
747
|
name: boolean;
|
|
@@ -755,7 +787,15 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
|
|
|
755
787
|
name: string;
|
|
756
788
|
tab?: string | undefined;
|
|
757
789
|
} | null;
|
|
758
|
-
openDialog:
|
|
790
|
+
openDialog: {
|
|
791
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
792
|
+
} | {
|
|
793
|
+
name: "magicSettings";
|
|
794
|
+
source: "tool" | "generation" | "settings";
|
|
795
|
+
} | {
|
|
796
|
+
name: "ttd";
|
|
797
|
+
tab: string;
|
|
798
|
+
} | null;
|
|
759
799
|
defaultSidebarDockedPreference: boolean;
|
|
760
800
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
761
801
|
selectedElementIds: Readonly<{
|
|
@@ -870,7 +910,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
870
910
|
isBindingEnabled: boolean;
|
|
871
911
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
872
912
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
873
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
913
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
874
914
|
frameRendering: {
|
|
875
915
|
enabled: boolean;
|
|
876
916
|
name: boolean;
|
|
@@ -916,7 +956,15 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
916
956
|
name: string;
|
|
917
957
|
tab?: string | undefined;
|
|
918
958
|
} | null;
|
|
919
|
-
openDialog:
|
|
959
|
+
openDialog: {
|
|
960
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
961
|
+
} | {
|
|
962
|
+
name: "magicSettings";
|
|
963
|
+
source: "tool" | "generation" | "settings";
|
|
964
|
+
} | {
|
|
965
|
+
name: "ttd";
|
|
966
|
+
tab: string;
|
|
967
|
+
} | null;
|
|
920
968
|
defaultSidebarDockedPreference: boolean;
|
|
921
969
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
922
970
|
selectedElementIds: Readonly<{
|
|
@@ -1035,7 +1083,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1035
1083
|
isBindingEnabled: boolean;
|
|
1036
1084
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1037
1085
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1038
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
1086
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1039
1087
|
frameRendering: {
|
|
1040
1088
|
enabled: boolean;
|
|
1041
1089
|
name: boolean;
|
|
@@ -1081,7 +1129,15 @@ export declare const actionZoomToFitSelection: {
|
|
|
1081
1129
|
name: string;
|
|
1082
1130
|
tab?: string | undefined;
|
|
1083
1131
|
} | null;
|
|
1084
|
-
openDialog:
|
|
1132
|
+
openDialog: {
|
|
1133
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1134
|
+
} | {
|
|
1135
|
+
name: "magicSettings";
|
|
1136
|
+
source: "tool" | "generation" | "settings";
|
|
1137
|
+
} | {
|
|
1138
|
+
name: "ttd";
|
|
1139
|
+
tab: string;
|
|
1140
|
+
} | null;
|
|
1085
1141
|
defaultSidebarDockedPreference: boolean;
|
|
1086
1142
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1087
1143
|
selectedElementIds: Readonly<{
|
|
@@ -1201,7 +1257,7 @@ export declare const actionZoomToFit: {
|
|
|
1201
1257
|
isBindingEnabled: boolean;
|
|
1202
1258
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1203
1259
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1204
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
1260
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1205
1261
|
frameRendering: {
|
|
1206
1262
|
enabled: boolean;
|
|
1207
1263
|
name: boolean;
|
|
@@ -1247,7 +1303,15 @@ export declare const actionZoomToFit: {
|
|
|
1247
1303
|
name: string;
|
|
1248
1304
|
tab?: string | undefined;
|
|
1249
1305
|
} | null;
|
|
1250
|
-
openDialog:
|
|
1306
|
+
openDialog: {
|
|
1307
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1308
|
+
} | {
|
|
1309
|
+
name: "magicSettings";
|
|
1310
|
+
source: "tool" | "generation" | "settings";
|
|
1311
|
+
} | {
|
|
1312
|
+
name: "ttd";
|
|
1313
|
+
tab: string;
|
|
1314
|
+
} | null;
|
|
1251
1315
|
defaultSidebarDockedPreference: boolean;
|
|
1252
1316
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1253
1317
|
selectedElementIds: Readonly<{
|
|
@@ -1363,7 +1427,7 @@ export declare const actionToggleTheme: {
|
|
|
1363
1427
|
isBindingEnabled: boolean;
|
|
1364
1428
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1365
1429
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1366
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
1430
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1367
1431
|
frameRendering: {
|
|
1368
1432
|
enabled: boolean;
|
|
1369
1433
|
name: boolean;
|
|
@@ -1414,7 +1478,15 @@ export declare const actionToggleTheme: {
|
|
|
1414
1478
|
name: string;
|
|
1415
1479
|
tab?: string | undefined;
|
|
1416
1480
|
} | null;
|
|
1417
|
-
openDialog:
|
|
1481
|
+
openDialog: {
|
|
1482
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1483
|
+
} | {
|
|
1484
|
+
name: "magicSettings";
|
|
1485
|
+
source: "tool" | "generation" | "settings";
|
|
1486
|
+
} | {
|
|
1487
|
+
name: "ttd";
|
|
1488
|
+
tab: string;
|
|
1489
|
+
} | null;
|
|
1418
1490
|
defaultSidebarDockedPreference: boolean;
|
|
1419
1491
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1420
1492
|
selectedElementIds: Readonly<{
|
|
@@ -1531,7 +1603,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1531
1603
|
isBindingEnabled: boolean;
|
|
1532
1604
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1533
1605
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1534
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
1606
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1535
1607
|
frameRendering: {
|
|
1536
1608
|
enabled: boolean;
|
|
1537
1609
|
name: boolean;
|
|
@@ -1578,7 +1650,15 @@ export declare const actionToggleEraserTool: {
|
|
|
1578
1650
|
name: string;
|
|
1579
1651
|
tab?: string | undefined;
|
|
1580
1652
|
} | null;
|
|
1581
|
-
openDialog:
|
|
1653
|
+
openDialog: {
|
|
1654
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1655
|
+
} | {
|
|
1656
|
+
name: "magicSettings";
|
|
1657
|
+
source: "tool" | "generation" | "settings";
|
|
1658
|
+
} | {
|
|
1659
|
+
name: "ttd";
|
|
1660
|
+
tab: string;
|
|
1661
|
+
} | null;
|
|
1582
1662
|
defaultSidebarDockedPreference: boolean;
|
|
1583
1663
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1584
1664
|
previousSelectedElementIds: {
|
|
@@ -1689,7 +1769,7 @@ export declare const actionToggleHandTool: {
|
|
|
1689
1769
|
isBindingEnabled: boolean;
|
|
1690
1770
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1691
1771
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1692
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
1772
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1693
1773
|
frameRendering: {
|
|
1694
1774
|
enabled: boolean;
|
|
1695
1775
|
name: boolean;
|
|
@@ -1736,7 +1816,15 @@ export declare const actionToggleHandTool: {
|
|
|
1736
1816
|
name: string;
|
|
1737
1817
|
tab?: string | undefined;
|
|
1738
1818
|
} | null;
|
|
1739
|
-
openDialog:
|
|
1819
|
+
openDialog: {
|
|
1820
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1821
|
+
} | {
|
|
1822
|
+
name: "magicSettings";
|
|
1823
|
+
source: "tool" | "generation" | "settings";
|
|
1824
|
+
} | {
|
|
1825
|
+
name: "ttd";
|
|
1826
|
+
tab: string;
|
|
1827
|
+
} | null;
|
|
1740
1828
|
defaultSidebarDockedPreference: boolean;
|
|
1741
1829
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1742
1830
|
previousSelectedElementIds: {
|
|
@@ -1848,7 +1936,7 @@ export declare const actionToggleLaserPointer: {
|
|
|
1848
1936
|
isBindingEnabled: boolean;
|
|
1849
1937
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1850
1938
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1851
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
1939
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1852
1940
|
frameRendering: {
|
|
1853
1941
|
enabled: boolean;
|
|
1854
1942
|
name: boolean;
|
|
@@ -1895,7 +1983,15 @@ export declare const actionToggleLaserPointer: {
|
|
|
1895
1983
|
name: string;
|
|
1896
1984
|
tab?: string | undefined;
|
|
1897
1985
|
} | null;
|
|
1898
|
-
openDialog:
|
|
1986
|
+
openDialog: {
|
|
1987
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1988
|
+
} | {
|
|
1989
|
+
name: "magicSettings";
|
|
1990
|
+
source: "tool" | "generation" | "settings";
|
|
1991
|
+
} | {
|
|
1992
|
+
name: "ttd";
|
|
1993
|
+
tab: string;
|
|
1994
|
+
} | null;
|
|
1899
1995
|
defaultSidebarDockedPreference: boolean;
|
|
1900
1996
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1901
1997
|
previousSelectedElementIds: {
|
|
@@ -2004,7 +2100,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
2004
2100
|
isBindingEnabled: boolean;
|
|
2005
2101
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
2006
2102
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
2007
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
2103
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
2008
2104
|
frameRendering: {
|
|
2009
2105
|
enabled: boolean;
|
|
2010
2106
|
name: boolean;
|
|
@@ -2050,7 +2146,15 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
2050
2146
|
name: string;
|
|
2051
2147
|
tab?: string | undefined;
|
|
2052
2148
|
} | null;
|
|
2053
|
-
openDialog:
|
|
2149
|
+
openDialog: {
|
|
2150
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
2151
|
+
} | {
|
|
2152
|
+
name: "magicSettings";
|
|
2153
|
+
source: "tool" | "generation" | "settings";
|
|
2154
|
+
} | {
|
|
2155
|
+
name: "ttd";
|
|
2156
|
+
tab: string;
|
|
2157
|
+
} | null;
|
|
2054
2158
|
defaultSidebarDockedPreference: boolean;
|
|
2055
2159
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
2056
2160
|
selectedElementIds: Readonly<{
|
|
@@ -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<{
|
|
@@ -194,7 +202,7 @@ export declare const actionPaste: {
|
|
|
194
202
|
isBindingEnabled: boolean;
|
|
195
203
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
196
204
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
197
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
205
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
198
206
|
frameRendering: {
|
|
199
207
|
enabled: boolean;
|
|
200
208
|
name: boolean;
|
|
@@ -245,7 +253,15 @@ export declare const actionPaste: {
|
|
|
245
253
|
name: string;
|
|
246
254
|
tab?: string | undefined;
|
|
247
255
|
} | null;
|
|
248
|
-
openDialog:
|
|
256
|
+
openDialog: {
|
|
257
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
258
|
+
} | {
|
|
259
|
+
name: "magicSettings";
|
|
260
|
+
source: "tool" | "generation" | "settings";
|
|
261
|
+
} | {
|
|
262
|
+
name: "ttd";
|
|
263
|
+
tab: string;
|
|
264
|
+
} | null;
|
|
249
265
|
defaultSidebarDockedPreference: boolean;
|
|
250
266
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
251
267
|
selectedElementIds: Readonly<{
|
|
@@ -364,7 +380,7 @@ export declare const actionCut: {
|
|
|
364
380
|
isBindingEnabled: boolean;
|
|
365
381
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
366
382
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
367
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
383
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
368
384
|
frameRendering: {
|
|
369
385
|
enabled: boolean;
|
|
370
386
|
name: boolean;
|
|
@@ -414,7 +430,15 @@ export declare const actionCut: {
|
|
|
414
430
|
name: string;
|
|
415
431
|
tab?: string | undefined;
|
|
416
432
|
} | null;
|
|
417
|
-
openDialog:
|
|
433
|
+
openDialog: {
|
|
434
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
435
|
+
} | {
|
|
436
|
+
name: "magicSettings";
|
|
437
|
+
source: "tool" | "generation" | "settings";
|
|
438
|
+
} | {
|
|
439
|
+
name: "ttd";
|
|
440
|
+
tab: string;
|
|
441
|
+
} | null;
|
|
418
442
|
defaultSidebarDockedPreference: boolean;
|
|
419
443
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
420
444
|
selectedElementIds: Readonly<{
|
|
@@ -548,7 +572,7 @@ export declare const actionCut: {
|
|
|
548
572
|
isBindingEnabled: boolean;
|
|
549
573
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
550
574
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
551
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
575
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
552
576
|
frameRendering: {
|
|
553
577
|
enabled: boolean;
|
|
554
578
|
name: boolean;
|
|
@@ -598,7 +622,15 @@ export declare const actionCut: {
|
|
|
598
622
|
name: string;
|
|
599
623
|
tab?: string | undefined;
|
|
600
624
|
} | null;
|
|
601
|
-
openDialog:
|
|
625
|
+
openDialog: {
|
|
626
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
627
|
+
} | {
|
|
628
|
+
name: "magicSettings";
|
|
629
|
+
source: "tool" | "generation" | "settings";
|
|
630
|
+
} | {
|
|
631
|
+
name: "ttd";
|
|
632
|
+
tab: string;
|
|
633
|
+
} | null;
|
|
602
634
|
defaultSidebarDockedPreference: boolean;
|
|
603
635
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
604
636
|
selectedElementIds: Readonly<{
|
|
@@ -706,7 +738,7 @@ export declare const actionCut: {
|
|
|
706
738
|
isBindingEnabled: boolean;
|
|
707
739
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
708
740
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
709
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
741
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
710
742
|
frameRendering: {
|
|
711
743
|
enabled: boolean;
|
|
712
744
|
name: boolean;
|
|
@@ -753,7 +785,15 @@ export declare const actionCut: {
|
|
|
753
785
|
name: string;
|
|
754
786
|
tab?: string | undefined;
|
|
755
787
|
} | null;
|
|
756
|
-
openDialog:
|
|
788
|
+
openDialog: {
|
|
789
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
790
|
+
} | {
|
|
791
|
+
name: "magicSettings";
|
|
792
|
+
source: "tool" | "generation" | "settings";
|
|
793
|
+
} | {
|
|
794
|
+
name: "ttd";
|
|
795
|
+
tab: string;
|
|
796
|
+
} | null;
|
|
757
797
|
defaultSidebarDockedPreference: boolean;
|
|
758
798
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
759
799
|
previousSelectedElementIds: {
|
|
@@ -865,7 +905,7 @@ export declare const actionCopyAsSvg: {
|
|
|
865
905
|
isBindingEnabled: boolean;
|
|
866
906
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
867
907
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
868
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
908
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
869
909
|
frameRendering: {
|
|
870
910
|
enabled: boolean;
|
|
871
911
|
name: boolean;
|
|
@@ -916,7 +956,15 @@ export declare const actionCopyAsSvg: {
|
|
|
916
956
|
name: string;
|
|
917
957
|
tab?: string | undefined;
|
|
918
958
|
} | null;
|
|
919
|
-
openDialog:
|
|
959
|
+
openDialog: {
|
|
960
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
961
|
+
} | {
|
|
962
|
+
name: "magicSettings";
|
|
963
|
+
source: "tool" | "generation" | "settings";
|
|
964
|
+
} | {
|
|
965
|
+
name: "ttd";
|
|
966
|
+
tab: string;
|
|
967
|
+
} | null;
|
|
920
968
|
defaultSidebarDockedPreference: boolean;
|
|
921
969
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
922
970
|
selectedElementIds: Readonly<{
|
|
@@ -1034,7 +1082,7 @@ export declare const actionCopyAsPng: {
|
|
|
1034
1082
|
isBindingEnabled: boolean;
|
|
1035
1083
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1036
1084
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1037
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
1085
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1038
1086
|
frameRendering: {
|
|
1039
1087
|
enabled: boolean;
|
|
1040
1088
|
name: boolean;
|
|
@@ -1085,7 +1133,15 @@ export declare const actionCopyAsPng: {
|
|
|
1085
1133
|
name: string;
|
|
1086
1134
|
tab?: string | undefined;
|
|
1087
1135
|
} | null;
|
|
1088
|
-
openDialog:
|
|
1136
|
+
openDialog: {
|
|
1137
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1138
|
+
} | {
|
|
1139
|
+
name: "magicSettings";
|
|
1140
|
+
source: "tool" | "generation" | "settings";
|
|
1141
|
+
} | {
|
|
1142
|
+
name: "ttd";
|
|
1143
|
+
tab: string;
|
|
1144
|
+
} | null;
|
|
1089
1145
|
defaultSidebarDockedPreference: boolean;
|
|
1090
1146
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1091
1147
|
selectedElementIds: Readonly<{
|