@excalidraw/excalidraw 0.17.0-c7ee46e → 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.
Files changed (60) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/excalidraw-assets/locales/{gl-ES-json-95041caf90ef2a7e8a53.js → gl-ES-json-d11c7966c3c2f95756e0.js} +1 -1
  3. package/dist/excalidraw-assets-dev/{vendor-37ba5d021227533892ee.js → vendor-2466bf62a35e940e8f28.js} +2 -2
  4. package/dist/excalidraw-with-preact.development.js +221 -56
  5. package/dist/excalidraw-with-preact.production.min.js +1 -1
  6. package/dist/excalidraw.development.js +221 -56
  7. package/dist/excalidraw.production.min.js +1 -1
  8. package/package.json +1 -1
  9. package/types/actions/actionAddToLibrary.d.ts +27 -3
  10. package/types/actions/actionBoundText.d.ts +18 -2
  11. package/types/actions/actionCanvas.d.ts +99 -11
  12. package/types/actions/actionClipboard.d.ts +63 -7
  13. package/types/actions/actionDeleteSelected.d.ts +27 -3
  14. package/types/actions/actionElementLock.d.ts +18 -2
  15. package/types/actions/actionExport.d.ts +72 -8
  16. package/types/actions/actionFinalize.d.ts +18 -2
  17. package/types/actions/actionFrame.d.ts +27 -3
  18. package/types/actions/actionGroup.d.ts +18 -2
  19. package/types/actions/actionLinearEditor.d.ts +9 -1
  20. package/types/actions/actionMenu.d.ts +21 -3
  21. package/types/actions/actionProperties.d.ts +117 -13
  22. package/types/actions/actionSelectAll.d.ts +9 -1
  23. package/types/actions/actionStyles.d.ts +9 -1
  24. package/types/actions/actionToggleGridMode.d.ts +9 -1
  25. package/types/actions/actionToggleObjectsSnapMode.d.ts +9 -1
  26. package/types/actions/actionToggleStats.d.ts +9 -1
  27. package/types/actions/actionToggleViewMode.d.ts +9 -1
  28. package/types/actions/actionToggleZenMode.d.ts +9 -1
  29. package/types/components/App.d.ts +1 -1
  30. package/types/components/Button.d.ts +1 -1
  31. package/types/components/InlineIcon.d.ts +3 -0
  32. package/types/components/LayerUI.d.ts +1 -1
  33. package/types/components/Paragraph.d.ts +4 -0
  34. package/types/components/TTDDialog/MermaidToExcalidraw.d.ts +6 -0
  35. package/types/components/TTDDialog/TTDDialog.d.ts +29 -0
  36. package/types/components/TTDDialog/TTDDialogInput.d.ts +9 -0
  37. package/types/components/TTDDialog/TTDDialogOutput.d.ts +7 -0
  38. package/types/components/TTDDialog/TTDDialogPanel.d.ts +16 -0
  39. package/types/components/TTDDialog/TTDDialogPanels.d.ts +4 -0
  40. package/types/components/TTDDialog/TTDDialogTab.d.ts +7 -0
  41. package/types/components/TTDDialog/TTDDialogTabTrigger.d.ts +8 -0
  42. package/types/components/TTDDialog/TTDDialogTabTriggers.d.ts +6 -0
  43. package/types/components/TTDDialog/TTDDialogTabs.d.ts +9 -0
  44. package/types/components/TTDDialog/TTDDialogTrigger.d.ts +8 -0
  45. package/types/components/TTDDialog/common.d.ts +33 -0
  46. package/types/components/TextField.d.ts +1 -1
  47. package/types/components/dropdownMenu/DropdownMenu.d.ts +6 -0
  48. package/types/components/dropdownMenu/DropdownMenuItem.d.ts +12 -0
  49. package/types/components/icons.d.ts +1 -0
  50. package/types/components/main-menu/MainMenu.d.ts +6 -0
  51. package/types/context/tunnels.d.ts +1 -0
  52. package/types/element/Hyperlink.d.ts +9 -1
  53. package/types/element/embeddable.d.ts +9 -1
  54. package/types/element/linearElementEditor.d.ts +9 -1
  55. package/types/packages/excalidraw/index.d.ts +2 -0
  56. package/types/types.d.ts +10 -2
  57. package/types/utils.d.ts +1 -0
  58. package/types/components/MermaidToExcalidraw.d.ts +0 -3
  59. /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{gl-ES-json-95041caf90ef2a7e8a53.d.ts → gl-ES-json-d11c7966c3c2f95756e0.d.ts} +0 -0
  60. /package/types/packages/excalidraw/dist/excalidraw-assets-dev/{vendor-37ba5d021227533892ee.d.ts → vendor-2466bf62a35e940e8f28.d.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@excalidraw/excalidraw",
3
- "version": "0.17.0-c7ee46e",
3
+ "version": "0.17.0-fe75f29",
4
4
  "main": "main.js",
5
5
  "types": "types/packages/excalidraw/index.d.ts",
6
6
  "files": [
@@ -79,7 +79,15 @@ export declare const actionAddToLibrary: {
79
79
  name: string;
80
80
  tab?: string | undefined;
81
81
  } | null;
82
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -196,7 +204,15 @@ export declare const actionAddToLibrary: {
196
204
  name: string;
197
205
  tab?: string | undefined;
198
206
  } | null;
199
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -318,7 +334,15 @@ export declare const actionAddToLibrary: {
318
334
  name: string;
319
335
  tab?: string | undefined;
320
336
  } | null;
321
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -99,7 +99,15 @@ export declare const actionBindText: {
99
99
  name: string;
100
100
  tab?: string | undefined;
101
101
  } | null;
102
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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: {
@@ -233,7 +241,15 @@ export declare const actionWrapTextInContainer: {
233
241
  name: string;
234
242
  tab?: string | undefined;
235
243
  } | null;
236
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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: {
@@ -102,7 +102,15 @@ export declare const actionClearCanvas: {
102
102
  name: string;
103
103
  tab?: string | undefined;
104
104
  } | null;
105
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -220,7 +228,15 @@ export declare const actionZoomIn: {
220
228
  name: string;
221
229
  tab?: string | undefined;
222
230
  } | null;
223
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -354,7 +370,15 @@ export declare const actionZoomOut: {
354
370
  name: string;
355
371
  tab?: string | undefined;
356
372
  } | null;
357
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -488,7 +512,15 @@ export declare const actionResetZoom: {
488
512
  name: string;
489
513
  tab?: string | undefined;
490
514
  } | null;
491
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -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: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -751,7 +791,15 @@ export declare const actionZoomToFitSelectionInViewport: {
751
791
  name: string;
752
792
  tab?: string | undefined;
753
793
  } | null;
754
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -883,7 +931,15 @@ export declare const actionZoomToFitSelection: {
883
931
  name: string;
884
932
  tab?: string | undefined;
885
933
  } | null;
886
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -1016,7 +1072,15 @@ export declare const actionZoomToFit: {
1016
1072
  name: string;
1017
1073
  tab?: string | undefined;
1018
1074
  } | null;
1019
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -1150,7 +1214,15 @@ export declare const actionToggleTheme: {
1150
1214
  name: string;
1151
1215
  tab?: string | undefined;
1152
1216
  } | null;
1153
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -1281,7 +1353,15 @@ export declare const actionToggleEraserTool: {
1281
1353
  name: string;
1282
1354
  tab?: string | undefined;
1283
1355
  } | null;
1284
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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: {
@@ -1406,7 +1486,15 @@ export declare const actionToggleHandTool: {
1406
1486
  name: string;
1407
1487
  tab?: string | undefined;
1408
1488
  } | null;
1409
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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: {
@@ -76,7 +76,15 @@ export declare const actionCopy: {
76
76
  name: string;
77
77
  tab?: string | undefined;
78
78
  } | null;
79
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -212,7 +220,15 @@ export declare const actionPaste: {
212
220
  name: string;
213
221
  tab?: string | undefined;
214
222
  } | null;
215
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -348,7 +364,15 @@ export declare const actionCut: {
348
364
  name: string;
349
365
  tab?: string | undefined;
350
366
  } | null;
351
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -499,7 +523,15 @@ export declare const actionCut: {
499
523
  name: string;
500
524
  tab?: string | undefined;
501
525
  } | null;
502
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -621,7 +653,15 @@ export declare const actionCut: {
621
653
  name: string;
622
654
  tab?: string | undefined;
623
655
  } | null;
624
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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: {
@@ -751,7 +791,15 @@ export declare const actionCopyAsSvg: {
751
791
  name: string;
752
792
  tab?: string | undefined;
753
793
  } | null;
754
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -887,7 +935,15 @@ export declare const actionCopyAsPng: {
887
935
  name: string;
888
936
  tab?: string | undefined;
889
937
  } | null;
890
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -80,7 +80,15 @@ export declare const actionDeleteSelected: {
80
80
  name: string;
81
81
  tab?: string | undefined;
82
82
  } | null;
83
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -231,7 +239,15 @@ export declare const actionDeleteSelected: {
231
239
  name: string;
232
240
  tab?: string | undefined;
233
241
  } | null;
234
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -353,7 +369,15 @@ export declare const actionDeleteSelected: {
353
369
  name: string;
354
370
  tab?: string | undefined;
355
371
  } | null;
356
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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: {
@@ -79,7 +79,15 @@ export declare const actionToggleElementLock: {
79
79
  name: string;
80
80
  tab?: string | undefined;
81
81
  } | null;
82
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -217,7 +225,15 @@ export declare const actionUnlockAllElements: {
217
225
  name: string;
218
226
  tab?: string | undefined;
219
227
  } | null;
220
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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: {
@@ -75,7 +75,15 @@ export declare const actionChangeProjectName: {
75
75
  name: string;
76
76
  tab?: string | undefined;
77
77
  } | null;
78
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -208,7 +216,15 @@ export declare const actionChangeExportScale: {
208
216
  name: string;
209
217
  tab?: string | undefined;
210
218
  } | null;
211
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -341,7 +357,15 @@ export declare const actionChangeExportBackground: {
341
357
  name: string;
342
358
  tab?: string | undefined;
343
359
  } | null;
344
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -474,7 +498,15 @@ export declare const actionChangeExportEmbedScene: {
474
498
  name: string;
475
499
  tab?: string | undefined;
476
500
  } | null;
477
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -612,7 +644,15 @@ export declare const actionSaveToActiveFile: {
612
644
  name: string;
613
645
  tab?: string | undefined;
614
646
  } | null;
615
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -878,7 +918,15 @@ export declare const actionLoadScene: {
878
918
  name: string;
879
919
  tab?: string | undefined;
880
920
  } | null;
881
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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;
882
930
  defaultSidebarDockedPreference: boolean;
883
931
  lastPointerDownWith: import("../element/types").PointerType;
884
932
  selectedElementIds: Readonly<{
@@ -997,7 +1045,15 @@ export declare const actionLoadScene: {
997
1045
  name: string;
998
1046
  tab?: string | undefined;
999
1047
  } | null;
1000
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -1131,7 +1187,15 @@ export declare const actionExportWithDarkMode: {
1131
1187
  name: string;
1132
1188
  tab?: string | undefined;
1133
1189
  } | null;
1134
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -76,7 +76,15 @@ export declare const actionFinalize: {
76
76
  name: string;
77
77
  tab?: string | undefined;
78
78
  } | null;
79
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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<{
@@ -201,7 +209,15 @@ export declare const actionFinalize: {
201
209
  name: string;
202
210
  tab?: string | undefined;
203
211
  } | null;
204
- openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
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: {