@zsviczian/excalidraw 0.16.1-obsidian-8 → 0.17.0-obsidian-2
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 +407 -110
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +1 -1
- package/main.js +7 -1
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +33 -6
- package/types/actions/actionBoundText.d.ts +22 -4
- package/types/actions/actionCanvas.d.ts +144 -27
- package/types/actions/actionClipboard.d.ts +77 -14
- package/types/actions/actionDeleteSelected.d.ts +33 -6
- package/types/actions/actionElementLock.d.ts +22 -4
- package/types/actions/actionExport.d.ts +96 -23
- package/types/actions/actionFinalize.d.ts +22 -4
- package/types/actions/actionFrame.d.ts +33 -6
- package/types/actions/actionGroup.d.ts +23 -5
- package/types/actions/actionLinearEditor.d.ts +11 -2
- package/types/actions/actionMenu.d.ts +27 -20
- package/types/actions/actionProperties.d.ts +143 -26
- package/types/actions/actionSelectAll.d.ts +11 -2
- package/types/actions/actionStyles.d.ts +11 -2
- package/types/actions/actionToggleGridMode.d.ts +11 -2
- package/types/actions/actionToggleObjectsSnapMode.d.ts +11 -2
- package/types/actions/actionToggleStats.d.ts +11 -2
- package/types/actions/actionToggleViewMode.d.ts +11 -2
- package/types/actions/actionToggleZenMode.d.ts +11 -2
- package/types/actions/index.d.ts +1 -1
- package/types/appState.d.ts +3 -3
- package/types/components/Actions.d.ts +3 -2
- package/types/components/App.d.ts +43 -13
- package/types/components/Button.d.ts +1 -1
- package/types/components/ImageExportDialog.d.ts +1 -1
- package/types/components/InlineIcon.d.ts +3 -0
- package/types/components/LayerUI.d.ts +6 -2
- package/types/components/MagicButton.d.ts +9 -0
- package/types/components/MagicSettings.d.ts +8 -0
- package/types/components/MobileMenu.d.ts +4 -3
- 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 +30 -3
- 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 +10 -2
- 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 +11 -2
- package/types/element/collision.d.ts +2 -2
- package/types/element/embeddable.d.ts +17 -21
- package/types/element/index.d.ts +3 -4
- package/types/element/linearElementEditor.d.ts +11 -2
- package/types/element/newElement.d.ts +7 -1
- package/types/element/textElement.d.ts +2 -2
- package/types/element/typeChecks.d.ts +10 -7
- package/types/element/types.d.ts +31 -2
- package/types/errors.d.ts +5 -0
- package/types/frame.d.ts +31 -20
- package/types/packages/excalidraw/index.d.ts +5 -3
- package/types/packages/excalidraw/webpack.preact.config.d.ts +170 -0
- package/types/packages/utils.d.ts +5 -4
- package/types/packages/withinBounds.d.ts +2 -2
- package/types/renderer/renderElement.d.ts +6 -1
- package/types/renderer/renderScene.d.ts +10 -5
- package/types/scene/Scene.d.ts +11 -6
- package/types/scene/ShapeCache.d.ts +1 -1
- package/types/scene/comparisons.d.ts +7 -6
- package/types/scene/export.d.ts +6 -5
- package/types/scene/types.d.ts +2 -0
- package/types/shapes.d.ts +1 -1
- package/types/types.d.ts +42 -25
- package/types/utils.d.ts +8 -3
|
@@ -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<{
|
|
@@ -146,6 +154,7 @@ export declare const actionChangeProjectName: {
|
|
|
146
154
|
frameColor: {
|
|
147
155
|
stroke: string;
|
|
148
156
|
fill: string;
|
|
157
|
+
nameColor: string;
|
|
149
158
|
};
|
|
150
159
|
invertBindingBehaviour: boolean;
|
|
151
160
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -190,7 +199,7 @@ export declare const actionChangeExportScale: {
|
|
|
190
199
|
isBindingEnabled: boolean;
|
|
191
200
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
192
201
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
193
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
202
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
194
203
|
frameRendering: {
|
|
195
204
|
enabled: boolean;
|
|
196
205
|
name: boolean;
|
|
@@ -240,7 +249,15 @@ export declare const actionChangeExportScale: {
|
|
|
240
249
|
name: string;
|
|
241
250
|
tab?: string | undefined;
|
|
242
251
|
} | null;
|
|
243
|
-
openDialog:
|
|
252
|
+
openDialog: {
|
|
253
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
254
|
+
} | {
|
|
255
|
+
name: "magicSettings";
|
|
256
|
+
source: "tool" | "generation" | "settings";
|
|
257
|
+
} | {
|
|
258
|
+
name: "ttd";
|
|
259
|
+
tab: string;
|
|
260
|
+
} | null;
|
|
244
261
|
defaultSidebarDockedPreference: boolean;
|
|
245
262
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
246
263
|
selectedElementIds: Readonly<{
|
|
@@ -311,6 +328,7 @@ export declare const actionChangeExportScale: {
|
|
|
311
328
|
frameColor: {
|
|
312
329
|
stroke: string;
|
|
313
330
|
fill: string;
|
|
331
|
+
nameColor: string;
|
|
314
332
|
};
|
|
315
333
|
invertBindingBehaviour: boolean;
|
|
316
334
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -355,7 +373,7 @@ export declare const actionChangeExportBackground: {
|
|
|
355
373
|
isBindingEnabled: boolean;
|
|
356
374
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
357
375
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
358
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
376
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
359
377
|
frameRendering: {
|
|
360
378
|
enabled: boolean;
|
|
361
379
|
name: boolean;
|
|
@@ -405,7 +423,15 @@ export declare const actionChangeExportBackground: {
|
|
|
405
423
|
name: string;
|
|
406
424
|
tab?: string | undefined;
|
|
407
425
|
} | null;
|
|
408
|
-
openDialog:
|
|
426
|
+
openDialog: {
|
|
427
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
428
|
+
} | {
|
|
429
|
+
name: "magicSettings";
|
|
430
|
+
source: "tool" | "generation" | "settings";
|
|
431
|
+
} | {
|
|
432
|
+
name: "ttd";
|
|
433
|
+
tab: string;
|
|
434
|
+
} | null;
|
|
409
435
|
defaultSidebarDockedPreference: boolean;
|
|
410
436
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
411
437
|
selectedElementIds: Readonly<{
|
|
@@ -476,6 +502,7 @@ export declare const actionChangeExportBackground: {
|
|
|
476
502
|
frameColor: {
|
|
477
503
|
stroke: string;
|
|
478
504
|
fill: string;
|
|
505
|
+
nameColor: string;
|
|
479
506
|
};
|
|
480
507
|
invertBindingBehaviour: boolean;
|
|
481
508
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -520,7 +547,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
520
547
|
isBindingEnabled: boolean;
|
|
521
548
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
522
549
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
523
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
550
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
524
551
|
frameRendering: {
|
|
525
552
|
enabled: boolean;
|
|
526
553
|
name: boolean;
|
|
@@ -570,7 +597,15 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
570
597
|
name: string;
|
|
571
598
|
tab?: string | undefined;
|
|
572
599
|
} | null;
|
|
573
|
-
openDialog:
|
|
600
|
+
openDialog: {
|
|
601
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
602
|
+
} | {
|
|
603
|
+
name: "magicSettings";
|
|
604
|
+
source: "tool" | "generation" | "settings";
|
|
605
|
+
} | {
|
|
606
|
+
name: "ttd";
|
|
607
|
+
tab: string;
|
|
608
|
+
} | null;
|
|
574
609
|
defaultSidebarDockedPreference: boolean;
|
|
575
610
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
576
611
|
selectedElementIds: Readonly<{
|
|
@@ -641,6 +676,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
641
676
|
frameColor: {
|
|
642
677
|
stroke: string;
|
|
643
678
|
fill: string;
|
|
679
|
+
nameColor: string;
|
|
644
680
|
};
|
|
645
681
|
invertBindingBehaviour: boolean;
|
|
646
682
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -689,7 +725,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
689
725
|
isBindingEnabled: boolean;
|
|
690
726
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
691
727
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
692
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
728
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
693
729
|
frameRendering: {
|
|
694
730
|
enabled: boolean;
|
|
695
731
|
name: boolean;
|
|
@@ -740,7 +776,15 @@ export declare const actionSaveToActiveFile: {
|
|
|
740
776
|
name: string;
|
|
741
777
|
tab?: string | undefined;
|
|
742
778
|
} | null;
|
|
743
|
-
openDialog:
|
|
779
|
+
openDialog: {
|
|
780
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
781
|
+
} | {
|
|
782
|
+
name: "magicSettings";
|
|
783
|
+
source: "tool" | "generation" | "settings";
|
|
784
|
+
} | {
|
|
785
|
+
name: "ttd";
|
|
786
|
+
tab: string;
|
|
787
|
+
} | null;
|
|
744
788
|
defaultSidebarDockedPreference: boolean;
|
|
745
789
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
746
790
|
selectedElementIds: Readonly<{
|
|
@@ -805,6 +849,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
805
849
|
frameColor: {
|
|
806
850
|
stroke: string;
|
|
807
851
|
fill: string;
|
|
852
|
+
nameColor: string;
|
|
808
853
|
};
|
|
809
854
|
invertBindingBehaviour: boolean;
|
|
810
855
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -856,7 +901,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
856
901
|
isBindingEnabled: boolean;
|
|
857
902
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
858
903
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
859
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
904
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
860
905
|
frameRendering: {
|
|
861
906
|
enabled: boolean;
|
|
862
907
|
name: boolean;
|
|
@@ -971,6 +1016,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
971
1016
|
frameColor: {
|
|
972
1017
|
stroke: string;
|
|
973
1018
|
fill: string;
|
|
1019
|
+
nameColor: string;
|
|
974
1020
|
};
|
|
975
1021
|
invertBindingBehaviour: boolean;
|
|
976
1022
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -999,11 +1045,7 @@ export declare const actionLoadScene: {
|
|
|
999
1045
|
perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
|
|
1000
1046
|
elements: import("../element/types").ExcalidrawElement[];
|
|
1001
1047
|
appState: {
|
|
1002
|
-
|
|
1003
|
-
lastActiveTool: import("../types").ActiveTool | null;
|
|
1004
|
-
locked: boolean;
|
|
1005
|
-
} & import("../types").ActiveTool;
|
|
1006
|
-
name: string;
|
|
1048
|
+
theme: Theme;
|
|
1007
1049
|
contextMenu: {
|
|
1008
1050
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1009
1051
|
top: number;
|
|
@@ -1023,7 +1065,7 @@ export declare const actionLoadScene: {
|
|
|
1023
1065
|
isBindingEnabled: boolean;
|
|
1024
1066
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1025
1067
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1026
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
1068
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1027
1069
|
frameRendering: {
|
|
1028
1070
|
enabled: boolean;
|
|
1029
1071
|
name: boolean;
|
|
@@ -1034,6 +1076,10 @@ export declare const actionLoadScene: {
|
|
|
1034
1076
|
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
1035
1077
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1036
1078
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1079
|
+
activeTool: {
|
|
1080
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
1081
|
+
locked: boolean;
|
|
1082
|
+
} & import("../types").ActiveTool;
|
|
1037
1083
|
penMode: boolean;
|
|
1038
1084
|
penDetected: boolean;
|
|
1039
1085
|
exportBackground: boolean;
|
|
@@ -1058,6 +1104,7 @@ export declare const actionLoadScene: {
|
|
|
1058
1104
|
scrollY: number;
|
|
1059
1105
|
cursorButton: "up" | "down";
|
|
1060
1106
|
scrolledOutside: boolean;
|
|
1107
|
+
name: string;
|
|
1061
1108
|
isResizing: boolean;
|
|
1062
1109
|
isRotating: boolean;
|
|
1063
1110
|
zoom: Readonly<{
|
|
@@ -1069,7 +1116,15 @@ export declare const actionLoadScene: {
|
|
|
1069
1116
|
name: string;
|
|
1070
1117
|
tab?: string | undefined;
|
|
1071
1118
|
} | null;
|
|
1072
|
-
openDialog:
|
|
1119
|
+
openDialog: {
|
|
1120
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1121
|
+
} | {
|
|
1122
|
+
name: "magicSettings";
|
|
1123
|
+
source: "tool" | "generation" | "settings";
|
|
1124
|
+
} | {
|
|
1125
|
+
name: "ttd";
|
|
1126
|
+
tab: string;
|
|
1127
|
+
} | null;
|
|
1073
1128
|
defaultSidebarDockedPreference: boolean;
|
|
1074
1129
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1075
1130
|
selectedElementIds: Readonly<{
|
|
@@ -1086,7 +1141,6 @@ export declare const actionLoadScene: {
|
|
|
1086
1141
|
duration?: number | undefined;
|
|
1087
1142
|
} | null;
|
|
1088
1143
|
zenModeEnabled: boolean;
|
|
1089
|
-
theme: Theme;
|
|
1090
1144
|
gridSize: number | null;
|
|
1091
1145
|
previousGridSize: number | null;
|
|
1092
1146
|
viewModeEnabled: boolean;
|
|
@@ -1136,6 +1190,7 @@ export declare const actionLoadScene: {
|
|
|
1136
1190
|
frameColor: {
|
|
1137
1191
|
stroke: string;
|
|
1138
1192
|
fill: string;
|
|
1193
|
+
nameColor: string;
|
|
1139
1194
|
};
|
|
1140
1195
|
invertBindingBehaviour: boolean;
|
|
1141
1196
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -1170,7 +1225,7 @@ export declare const actionLoadScene: {
|
|
|
1170
1225
|
isBindingEnabled: boolean;
|
|
1171
1226
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1172
1227
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1173
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
1228
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1174
1229
|
frameRendering: {
|
|
1175
1230
|
enabled: boolean;
|
|
1176
1231
|
name: boolean;
|
|
@@ -1221,7 +1276,15 @@ export declare const actionLoadScene: {
|
|
|
1221
1276
|
name: string;
|
|
1222
1277
|
tab?: string | undefined;
|
|
1223
1278
|
} | null;
|
|
1224
|
-
openDialog:
|
|
1279
|
+
openDialog: {
|
|
1280
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1281
|
+
} | {
|
|
1282
|
+
name: "magicSettings";
|
|
1283
|
+
source: "tool" | "generation" | "settings";
|
|
1284
|
+
} | {
|
|
1285
|
+
name: "ttd";
|
|
1286
|
+
tab: string;
|
|
1287
|
+
} | null;
|
|
1225
1288
|
defaultSidebarDockedPreference: boolean;
|
|
1226
1289
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1227
1290
|
selectedElementIds: Readonly<{
|
|
@@ -1292,6 +1355,7 @@ export declare const actionLoadScene: {
|
|
|
1292
1355
|
frameColor: {
|
|
1293
1356
|
stroke: string;
|
|
1294
1357
|
fill: string;
|
|
1358
|
+
nameColor: string;
|
|
1295
1359
|
};
|
|
1296
1360
|
invertBindingBehaviour: boolean;
|
|
1297
1361
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -1337,7 +1401,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1337
1401
|
isBindingEnabled: boolean;
|
|
1338
1402
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1339
1403
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1340
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
1404
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1341
1405
|
frameRendering: {
|
|
1342
1406
|
enabled: boolean;
|
|
1343
1407
|
name: boolean;
|
|
@@ -1387,7 +1451,15 @@ export declare const actionExportWithDarkMode: {
|
|
|
1387
1451
|
name: string;
|
|
1388
1452
|
tab?: string | undefined;
|
|
1389
1453
|
} | null;
|
|
1390
|
-
openDialog:
|
|
1454
|
+
openDialog: {
|
|
1455
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1456
|
+
} | {
|
|
1457
|
+
name: "magicSettings";
|
|
1458
|
+
source: "tool" | "generation" | "settings";
|
|
1459
|
+
} | {
|
|
1460
|
+
name: "ttd";
|
|
1461
|
+
tab: string;
|
|
1462
|
+
} | null;
|
|
1391
1463
|
defaultSidebarDockedPreference: boolean;
|
|
1392
1464
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1393
1465
|
selectedElementIds: Readonly<{
|
|
@@ -1458,6 +1530,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1458
1530
|
frameColor: {
|
|
1459
1531
|
stroke: string;
|
|
1460
1532
|
fill: string;
|
|
1533
|
+
nameColor: string;
|
|
1461
1534
|
};
|
|
1462
1535
|
invertBindingBehaviour: boolean;
|
|
1463
1536
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -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<{
|
|
@@ -147,6 +155,7 @@ export declare const actionFinalize: {
|
|
|
147
155
|
frameColor: {
|
|
148
156
|
stroke: string;
|
|
149
157
|
fill: string;
|
|
158
|
+
nameColor: string;
|
|
150
159
|
};
|
|
151
160
|
invertBindingBehaviour: boolean;
|
|
152
161
|
selectedLinearElement: LinearElementEditor | null;
|
|
@@ -188,7 +197,7 @@ export declare const actionFinalize: {
|
|
|
188
197
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
189
198
|
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
190
199
|
isBindingEnabled: boolean;
|
|
191
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
200
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
192
201
|
frameRendering: {
|
|
193
202
|
enabled: boolean;
|
|
194
203
|
name: boolean;
|
|
@@ -233,7 +242,15 @@ export declare const actionFinalize: {
|
|
|
233
242
|
name: string;
|
|
234
243
|
tab?: string | undefined;
|
|
235
244
|
} | null;
|
|
236
|
-
openDialog:
|
|
245
|
+
openDialog: {
|
|
246
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
247
|
+
} | {
|
|
248
|
+
name: "magicSettings";
|
|
249
|
+
source: "tool" | "generation" | "settings";
|
|
250
|
+
} | {
|
|
251
|
+
name: "ttd";
|
|
252
|
+
tab: string;
|
|
253
|
+
} | null;
|
|
237
254
|
defaultSidebarDockedPreference: boolean;
|
|
238
255
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
239
256
|
previousSelectedElementIds: {
|
|
@@ -300,6 +317,7 @@ export declare const actionFinalize: {
|
|
|
300
317
|
frameColor: {
|
|
301
318
|
stroke: string;
|
|
302
319
|
fill: string;
|
|
320
|
+
nameColor: string;
|
|
303
321
|
};
|
|
304
322
|
invertBindingBehaviour: boolean;
|
|
305
323
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -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: {
|
|
@@ -164,6 +172,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
164
172
|
frameColor: {
|
|
165
173
|
stroke: string;
|
|
166
174
|
fill: string;
|
|
175
|
+
nameColor: string;
|
|
167
176
|
};
|
|
168
177
|
invertBindingBehaviour: boolean;
|
|
169
178
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -219,7 +228,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
219
228
|
isBindingEnabled: boolean;
|
|
220
229
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
221
230
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
222
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
231
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
223
232
|
editingFrame: string | null;
|
|
224
233
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
225
234
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -264,7 +273,15 @@ export declare const actionupdateFrameRendering: {
|
|
|
264
273
|
name: string;
|
|
265
274
|
tab?: string | undefined;
|
|
266
275
|
} | null;
|
|
267
|
-
openDialog:
|
|
276
|
+
openDialog: {
|
|
277
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
278
|
+
} | {
|
|
279
|
+
name: "magicSettings";
|
|
280
|
+
source: "tool" | "generation" | "settings";
|
|
281
|
+
} | {
|
|
282
|
+
name: "ttd";
|
|
283
|
+
tab: string;
|
|
284
|
+
} | null;
|
|
268
285
|
defaultSidebarDockedPreference: boolean;
|
|
269
286
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
270
287
|
selectedElementIds: Readonly<{
|
|
@@ -335,6 +352,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
335
352
|
frameColor: {
|
|
336
353
|
stroke: string;
|
|
337
354
|
fill: string;
|
|
355
|
+
nameColor: string;
|
|
338
356
|
};
|
|
339
357
|
invertBindingBehaviour: boolean;
|
|
340
358
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -383,7 +401,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
383
401
|
isBindingEnabled: boolean;
|
|
384
402
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
385
403
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
386
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").
|
|
404
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
387
405
|
frameRendering: {
|
|
388
406
|
enabled: boolean;
|
|
389
407
|
name: boolean;
|
|
@@ -430,7 +448,15 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
430
448
|
name: string;
|
|
431
449
|
tab?: string | undefined;
|
|
432
450
|
} | null;
|
|
433
|
-
openDialog:
|
|
451
|
+
openDialog: {
|
|
452
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
453
|
+
} | {
|
|
454
|
+
name: "magicSettings";
|
|
455
|
+
source: "tool" | "generation" | "settings";
|
|
456
|
+
} | {
|
|
457
|
+
name: "ttd";
|
|
458
|
+
tab: string;
|
|
459
|
+
} | null;
|
|
434
460
|
defaultSidebarDockedPreference: boolean;
|
|
435
461
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
436
462
|
selectedElementIds: Readonly<{
|
|
@@ -501,6 +527,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
501
527
|
frameColor: {
|
|
502
528
|
stroke: string;
|
|
503
529
|
fill: string;
|
|
530
|
+
nameColor: string;
|
|
504
531
|
};
|
|
505
532
|
invertBindingBehaviour: boolean;
|
|
506
533
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExcalidrawElement
|
|
1
|
+
import { ExcalidrawElement } from "../element/types";
|
|
2
2
|
import { AppClassProperties, AppState } from "../types";
|
|
3
3
|
export declare const actionGroup: {
|
|
4
4
|
name: "group";
|
|
@@ -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<
|
|
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: {
|
|
@@ -152,6 +160,7 @@ export declare const actionGroup: {
|
|
|
152
160
|
frameColor: {
|
|
153
161
|
stroke: string;
|
|
154
162
|
fill: string;
|
|
163
|
+
nameColor: string;
|
|
155
164
|
};
|
|
156
165
|
invertBindingBehaviour: boolean;
|
|
157
166
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -209,7 +218,7 @@ export declare const actionUngroup: {
|
|
|
209
218
|
isBindingEnabled: boolean;
|
|
210
219
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
211
220
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
212
|
-
frameToHighlight: import("../element/types").NonDeleted<
|
|
221
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
213
222
|
frameRendering: {
|
|
214
223
|
enabled: boolean;
|
|
215
224
|
name: boolean;
|
|
@@ -260,7 +269,15 @@ export declare const actionUngroup: {
|
|
|
260
269
|
name: string;
|
|
261
270
|
tab?: string | undefined;
|
|
262
271
|
} | null;
|
|
263
|
-
openDialog:
|
|
272
|
+
openDialog: {
|
|
273
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
274
|
+
} | {
|
|
275
|
+
name: "magicSettings";
|
|
276
|
+
source: "tool" | "generation" | "settings";
|
|
277
|
+
} | {
|
|
278
|
+
name: "ttd";
|
|
279
|
+
tab: string;
|
|
280
|
+
} | null;
|
|
264
281
|
defaultSidebarDockedPreference: boolean;
|
|
265
282
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
266
283
|
previousSelectedElementIds: {
|
|
@@ -324,6 +341,7 @@ export declare const actionUngroup: {
|
|
|
324
341
|
frameColor: {
|
|
325
342
|
stroke: string;
|
|
326
343
|
fill: string;
|
|
344
|
+
nameColor: string;
|
|
327
345
|
};
|
|
328
346
|
invertBindingBehaviour: boolean;
|
|
329
347
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -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<{
|
|
@@ -149,6 +157,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
149
157
|
frameColor: {
|
|
150
158
|
stroke: string;
|
|
151
159
|
fill: string;
|
|
160
|
+
nameColor: string;
|
|
152
161
|
};
|
|
153
162
|
invertBindingBehaviour: boolean;
|
|
154
163
|
selectedLinearElement: LinearElementEditor | null;
|