@zsviczian/excalidraw 0.17.6-25 → 0.17.6-27

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 (62) hide show
  1. package/dist/excalidraw.development.js +127 -94
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/dist/styles.development.css +18 -48
  4. package/dist/styles.production.css +3 -3
  5. package/package.json +4 -2
  6. package/types/excalidraw/actions/actionAddToLibrary.d.ts +3 -3
  7. package/types/excalidraw/actions/actionBoundText.d.ts +2 -2
  8. package/types/excalidraw/actions/actionCanvas.d.ts +14 -14
  9. package/types/excalidraw/actions/actionClipboard.d.ts +13 -9
  10. package/types/excalidraw/actions/actionCropEditor.d.ts +1 -1
  11. package/types/excalidraw/actions/actionDeleteSelected.d.ts +10 -6
  12. package/types/excalidraw/actions/actionElementLock.d.ts +2 -2
  13. package/types/excalidraw/actions/actionExport.d.ts +8 -8
  14. package/types/excalidraw/actions/actionFinalize.d.ts +2 -2
  15. package/types/excalidraw/actions/actionFrame.d.ts +500 -4
  16. package/types/excalidraw/actions/actionGroup.d.ts +2 -2
  17. package/types/excalidraw/actions/actionLinearEditor.d.ts +1 -1
  18. package/types/excalidraw/actions/actionLink.d.ts +1 -1
  19. package/types/excalidraw/actions/actionMenu.d.ts +2 -2
  20. package/types/excalidraw/actions/actionNavigate.d.ts +2 -2
  21. package/types/excalidraw/actions/actionProperties.d.ts +15 -15
  22. package/types/excalidraw/actions/actionSelectAll.d.ts +1 -1
  23. package/types/excalidraw/actions/actionStyles.d.ts +1 -1
  24. package/types/excalidraw/actions/actionToggleGridMode.d.ts +1 -1
  25. package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +1 -1
  26. package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +1 -1
  27. package/types/excalidraw/actions/actionToggleStats.d.ts +1 -1
  28. package/types/excalidraw/actions/actionToggleViewMode.d.ts +1 -1
  29. package/types/excalidraw/actions/actionToggleZenMode.d.ts +1 -1
  30. package/types/excalidraw/actions/shortcuts.d.ts +1 -1
  31. package/types/excalidraw/actions/types.d.ts +1 -1
  32. package/types/excalidraw/components/ActiveConfirmDialog.d.ts +1 -1
  33. package/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
  34. package/types/excalidraw/components/EyeDropper.d.ts +1 -1
  35. package/types/excalidraw/components/IconPicker.d.ts +2 -2
  36. package/types/excalidraw/components/LibraryMenu.d.ts +1 -1
  37. package/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts +1 -1
  38. package/types/excalidraw/components/SearchMenu.d.ts +1 -1
  39. package/types/excalidraw/components/Sidebar/Sidebar.d.ts +1 -1
  40. package/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
  41. package/types/excalidraw/components/icons.d.ts +9 -0
  42. package/types/excalidraw/context/tunnels.d.ts +2 -1
  43. package/types/excalidraw/data/filesystem.d.ts +2 -1
  44. package/types/excalidraw/data/image.d.ts +0 -6
  45. package/types/excalidraw/data/library.d.ts +9 -3
  46. package/types/excalidraw/data/url.d.ts +0 -1
  47. package/types/excalidraw/editor-jotai.d.ts +56 -0
  48. package/types/excalidraw/element/binding.d.ts +1 -1
  49. package/types/excalidraw/element/elbowArrow.d.ts +14 -0
  50. package/types/excalidraw/element/embeddable.d.ts +1 -1
  51. package/types/excalidraw/element/heading.d.ts +5 -1
  52. package/types/excalidraw/element/linearElementEditor.d.ts +9 -11
  53. package/types/excalidraw/element/mutateElement.d.ts +3 -1
  54. package/types/excalidraw/element/newElement.d.ts +8 -7
  55. package/types/excalidraw/element/resizeElements.d.ts +1 -2
  56. package/types/excalidraw/element/types.d.ts +23 -1
  57. package/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
  58. package/types/excalidraw/scene/export.d.ts +7 -0
  59. package/types/excalidraw/utils.d.ts +1 -0
  60. package/types/excalidraw/visualdebug.d.ts +8 -1
  61. package/types/math/line.d.ts +19 -0
  62. package/types/math/point.d.ts +10 -0
@@ -79,7 +79,7 @@ export declare const actionChangeProjectName: {
79
79
  tab?: string | undefined;
80
80
  } | null;
81
81
  openDialog: {
82
- name: "imageExport" | "help" | "jsonExport";
82
+ name: "help" | "imageExport" | "jsonExport";
83
83
  } | {
84
84
  name: "ttd";
85
85
  tab: "mermaid" | "text-to-diagram";
@@ -298,7 +298,7 @@ export declare const actionChangeExportScale: {
298
298
  tab?: string | undefined;
299
299
  } | null;
300
300
  openDialog: {
301
- name: "imageExport" | "help" | "jsonExport";
301
+ name: "help" | "imageExport" | "jsonExport";
302
302
  } | {
303
303
  name: "ttd";
304
304
  tab: "mermaid" | "text-to-diagram";
@@ -517,7 +517,7 @@ export declare const actionChangeExportBackground: {
517
517
  tab?: string | undefined;
518
518
  } | null;
519
519
  openDialog: {
520
- name: "imageExport" | "help" | "jsonExport";
520
+ name: "help" | "imageExport" | "jsonExport";
521
521
  } | {
522
522
  name: "ttd";
523
523
  tab: "mermaid" | "text-to-diagram";
@@ -736,7 +736,7 @@ export declare const actionChangeExportEmbedScene: {
736
736
  tab?: string | undefined;
737
737
  } | null;
738
738
  openDialog: {
739
- name: "imageExport" | "help" | "jsonExport";
739
+ name: "help" | "imageExport" | "jsonExport";
740
740
  } | {
741
741
  name: "ttd";
742
742
  tab: "mermaid" | "text-to-diagram";
@@ -961,7 +961,7 @@ export declare const actionSaveToActiveFile: {
961
961
  tab?: string | undefined;
962
962
  } | null;
963
963
  openDialog: {
964
- name: "imageExport" | "help" | "jsonExport";
964
+ name: "help" | "imageExport" | "jsonExport";
965
965
  } | {
966
966
  name: "ttd";
967
967
  tab: "mermaid" | "text-to-diagram";
@@ -1389,7 +1389,7 @@ export declare const actionLoadScene: {
1389
1389
  tab?: string | undefined;
1390
1390
  } | null;
1391
1391
  openDialog: {
1392
- name: "imageExport" | "help" | "jsonExport";
1392
+ name: "help" | "imageExport" | "jsonExport";
1393
1393
  } | {
1394
1394
  name: "ttd";
1395
1395
  tab: "mermaid" | "text-to-diagram";
@@ -1594,7 +1594,7 @@ export declare const actionLoadScene: {
1594
1594
  tab?: string | undefined;
1595
1595
  } | null;
1596
1596
  openDialog: {
1597
- name: "imageExport" | "help" | "jsonExport";
1597
+ name: "help" | "imageExport" | "jsonExport";
1598
1598
  } | {
1599
1599
  name: "ttd";
1600
1600
  tab: "mermaid" | "text-to-diagram";
@@ -1814,7 +1814,7 @@ export declare const actionExportWithDarkMode: {
1814
1814
  tab?: string | undefined;
1815
1815
  } | null;
1816
1816
  openDialog: {
1817
- name: "imageExport" | "help" | "jsonExport";
1817
+ name: "help" | "imageExport" | "jsonExport";
1818
1818
  } | {
1819
1819
  name: "ttd";
1820
1820
  tab: "mermaid" | "text-to-diagram";
@@ -80,7 +80,7 @@ export declare const actionFinalize: {
80
80
  tab?: string | undefined;
81
81
  } | null;
82
82
  openDialog: {
83
- name: "imageExport" | "help" | "jsonExport";
83
+ name: "help" | "imageExport" | "jsonExport";
84
84
  } | {
85
85
  name: "ttd";
86
86
  tab: "mermaid" | "text-to-diagram";
@@ -290,7 +290,7 @@ export declare const actionFinalize: {
290
290
  tab?: string | undefined;
291
291
  } | null;
292
292
  openDialog: {
293
- name: "imageExport" | "help" | "jsonExport";
293
+ name: "help" | "imageExport" | "jsonExport";
294
294
  } | {
295
295
  name: "ttd";
296
296
  tab: "mermaid" | "text-to-diagram";
@@ -83,7 +83,7 @@ export declare const actionSelectAllElementsInFrame: {
83
83
  tab?: string | undefined;
84
84
  } | null;
85
85
  openDialog: {
86
- name: "imageExport" | "help" | "jsonExport";
86
+ name: "help" | "imageExport" | "jsonExport";
87
87
  } | {
88
88
  name: "ttd";
89
89
  tab: "mermaid" | "text-to-diagram";
@@ -306,7 +306,7 @@ export declare const actionRemoveAllElementsFromFrame: {
306
306
  tab?: string | undefined;
307
307
  } | null;
308
308
  openDialog: {
309
- name: "imageExport" | "help" | "jsonExport";
309
+ name: "help" | "imageExport" | "jsonExport";
310
310
  } | {
311
311
  name: "ttd";
312
312
  tab: "mermaid" | "text-to-diagram";
@@ -527,7 +527,7 @@ export declare const actionupdateFrameRendering: {
527
527
  tab?: string | undefined;
528
528
  } | null;
529
529
  openDialog: {
530
- name: "imageExport" | "help" | "jsonExport";
530
+ name: "help" | "imageExport" | "jsonExport";
531
531
  } | {
532
532
  name: "ttd";
533
533
  tab: "mermaid" | "text-to-diagram";
@@ -748,7 +748,7 @@ export declare const actionSetFrameAsActiveTool: {
748
748
  tab?: string | undefined;
749
749
  } | null;
750
750
  openDialog: {
751
- name: "imageExport" | "help" | "jsonExport";
751
+ name: "help" | "imageExport" | "jsonExport";
752
752
  } | {
753
753
  name: "ttd";
754
754
  tab: "mermaid" | "text-to-diagram";
@@ -885,3 +885,499 @@ export declare const actionSetFrameAsActiveTool: {
885
885
  } & {
886
886
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
887
887
  };
888
+ export declare const actionWrapSelectionInFrame: {
889
+ name: "wrapSelectionInFrame";
890
+ label: string;
891
+ trackEvent: {
892
+ category: "element";
893
+ };
894
+ predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
895
+ perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
896
+ elements: ((Readonly<{
897
+ id: string;
898
+ x: number;
899
+ y: number;
900
+ strokeColor: string;
901
+ backgroundColor: string;
902
+ fillStyle: import("../element/types").FillStyle;
903
+ strokeWidth: number;
904
+ strokeStyle: import("../element/types").StrokeStyle;
905
+ roundness: {
906
+ type: import("../element/types").RoundnessType;
907
+ value?: number | undefined;
908
+ } | null;
909
+ roughness: number;
910
+ opacity: number;
911
+ width: number;
912
+ height: number;
913
+ angle: import("../../math").Radians;
914
+ seed: number;
915
+ version: number;
916
+ versionNonce: number;
917
+ index: import("../element/types").FractionalIndex | null;
918
+ isDeleted: boolean;
919
+ groupIds: readonly string[];
920
+ frameId: string | null;
921
+ boundElements: readonly Readonly<{
922
+ id: string;
923
+ type: "text" | "arrow";
924
+ }>[] | null;
925
+ updated: number;
926
+ link: string | null;
927
+ locked: boolean;
928
+ customData?: Record<string, any> | undefined;
929
+ }> & {
930
+ type: "selection";
931
+ } & {
932
+ index: import("../element/types").FractionalIndex;
933
+ }) | (Readonly<{
934
+ id: string;
935
+ x: number;
936
+ y: number;
937
+ strokeColor: string;
938
+ backgroundColor: string;
939
+ fillStyle: import("../element/types").FillStyle;
940
+ strokeWidth: number;
941
+ strokeStyle: import("../element/types").StrokeStyle;
942
+ roundness: {
943
+ type: import("../element/types").RoundnessType;
944
+ value?: number | undefined;
945
+ } | null;
946
+ roughness: number;
947
+ opacity: number;
948
+ width: number;
949
+ height: number;
950
+ angle: import("../../math").Radians;
951
+ seed: number;
952
+ version: number;
953
+ versionNonce: number;
954
+ index: import("../element/types").FractionalIndex | null;
955
+ isDeleted: boolean;
956
+ groupIds: readonly string[];
957
+ frameId: string | null;
958
+ boundElements: readonly Readonly<{
959
+ id: string;
960
+ type: "text" | "arrow";
961
+ }>[] | null;
962
+ updated: number;
963
+ link: string | null;
964
+ locked: boolean;
965
+ customData?: Record<string, any> | undefined;
966
+ }> & {
967
+ type: "rectangle";
968
+ } & {
969
+ index: import("../element/types").FractionalIndex;
970
+ }) | (Readonly<{
971
+ id: string;
972
+ x: number;
973
+ y: number;
974
+ strokeColor: string;
975
+ backgroundColor: string;
976
+ fillStyle: import("../element/types").FillStyle;
977
+ strokeWidth: number;
978
+ strokeStyle: import("../element/types").StrokeStyle;
979
+ roundness: {
980
+ type: import("../element/types").RoundnessType;
981
+ value?: number | undefined;
982
+ } | null;
983
+ roughness: number;
984
+ opacity: number;
985
+ width: number;
986
+ height: number;
987
+ angle: import("../../math").Radians;
988
+ seed: number;
989
+ version: number;
990
+ versionNonce: number;
991
+ index: import("../element/types").FractionalIndex | null;
992
+ isDeleted: boolean;
993
+ groupIds: readonly string[];
994
+ frameId: string | null;
995
+ boundElements: readonly Readonly<{
996
+ id: string;
997
+ type: "text" | "arrow";
998
+ }>[] | null;
999
+ updated: number;
1000
+ link: string | null;
1001
+ locked: boolean;
1002
+ customData?: Record<string, any> | undefined;
1003
+ }> & {
1004
+ type: "diamond";
1005
+ } & {
1006
+ index: import("../element/types").FractionalIndex;
1007
+ }) | (Readonly<{
1008
+ id: string;
1009
+ x: number;
1010
+ y: number;
1011
+ strokeColor: string;
1012
+ backgroundColor: string;
1013
+ fillStyle: import("../element/types").FillStyle;
1014
+ strokeWidth: number;
1015
+ strokeStyle: import("../element/types").StrokeStyle;
1016
+ roundness: {
1017
+ type: import("../element/types").RoundnessType;
1018
+ value?: number | undefined;
1019
+ } | null;
1020
+ roughness: number;
1021
+ opacity: number;
1022
+ width: number;
1023
+ height: number;
1024
+ angle: import("../../math").Radians;
1025
+ seed: number;
1026
+ version: number;
1027
+ versionNonce: number;
1028
+ index: import("../element/types").FractionalIndex | null;
1029
+ isDeleted: boolean;
1030
+ groupIds: readonly string[];
1031
+ frameId: string | null;
1032
+ boundElements: readonly Readonly<{
1033
+ id: string;
1034
+ type: "text" | "arrow";
1035
+ }>[] | null;
1036
+ updated: number;
1037
+ link: string | null;
1038
+ locked: boolean;
1039
+ customData?: Record<string, any> | undefined;
1040
+ }> & {
1041
+ type: "ellipse";
1042
+ } & {
1043
+ index: import("../element/types").FractionalIndex;
1044
+ }) | (Readonly<{
1045
+ id: string;
1046
+ x: number;
1047
+ y: number;
1048
+ strokeColor: string;
1049
+ backgroundColor: string;
1050
+ fillStyle: import("../element/types").FillStyle;
1051
+ strokeWidth: number;
1052
+ strokeStyle: import("../element/types").StrokeStyle;
1053
+ roundness: {
1054
+ type: import("../element/types").RoundnessType;
1055
+ value?: number | undefined;
1056
+ } | null;
1057
+ roughness: number;
1058
+ opacity: number;
1059
+ width: number;
1060
+ height: number;
1061
+ angle: import("../../math").Radians;
1062
+ seed: number;
1063
+ version: number;
1064
+ versionNonce: number;
1065
+ index: import("../element/types").FractionalIndex | null;
1066
+ isDeleted: boolean;
1067
+ groupIds: readonly string[];
1068
+ frameId: string | null;
1069
+ boundElements: readonly Readonly<{
1070
+ id: string;
1071
+ type: "text" | "arrow";
1072
+ }>[] | null;
1073
+ updated: number;
1074
+ link: string | null;
1075
+ locked: boolean;
1076
+ customData?: Record<string, any> | undefined;
1077
+ }> & Readonly<{
1078
+ type: "text";
1079
+ fontSize: number;
1080
+ fontFamily: number;
1081
+ text: string;
1082
+ rawText: string;
1083
+ textAlign: string;
1084
+ verticalAlign: string;
1085
+ containerId: string | null;
1086
+ originalText: string;
1087
+ autoResize: boolean;
1088
+ lineHeight: number & {
1089
+ _brand: "unitlessLineHeight";
1090
+ };
1091
+ }> & {
1092
+ index: import("../element/types").FractionalIndex;
1093
+ }) | (Readonly<{
1094
+ id: string;
1095
+ x: number;
1096
+ y: number;
1097
+ strokeColor: string;
1098
+ backgroundColor: string;
1099
+ fillStyle: import("../element/types").FillStyle;
1100
+ strokeWidth: number;
1101
+ strokeStyle: import("../element/types").StrokeStyle;
1102
+ roundness: {
1103
+ type: import("../element/types").RoundnessType;
1104
+ value?: number | undefined;
1105
+ } | null;
1106
+ roughness: number;
1107
+ opacity: number;
1108
+ width: number;
1109
+ height: number;
1110
+ angle: import("../../math").Radians;
1111
+ seed: number;
1112
+ version: number;
1113
+ versionNonce: number;
1114
+ index: import("../element/types").FractionalIndex | null;
1115
+ isDeleted: boolean;
1116
+ groupIds: readonly string[];
1117
+ frameId: string | null;
1118
+ boundElements: readonly Readonly<{
1119
+ id: string;
1120
+ type: "text" | "arrow";
1121
+ }>[] | null;
1122
+ updated: number;
1123
+ link: string | null;
1124
+ locked: boolean;
1125
+ customData?: Record<string, any> | undefined;
1126
+ }> & Readonly<{
1127
+ type: "line" | "arrow";
1128
+ points: readonly import("../../math").LocalPoint[];
1129
+ lastCommittedPoint: import("../../math").LocalPoint | null;
1130
+ startBinding: import("../element/types").PointBinding | null;
1131
+ endBinding: import("../element/types").PointBinding | null;
1132
+ startArrowhead: import("../element/types").Arrowhead | null;
1133
+ endArrowhead: import("../element/types").Arrowhead | null;
1134
+ }> & {
1135
+ index: import("../element/types").FractionalIndex;
1136
+ }) | (Readonly<{
1137
+ id: string;
1138
+ x: number;
1139
+ y: number;
1140
+ strokeColor: string;
1141
+ backgroundColor: string;
1142
+ fillStyle: import("../element/types").FillStyle;
1143
+ strokeWidth: number;
1144
+ strokeStyle: import("../element/types").StrokeStyle;
1145
+ roundness: {
1146
+ type: import("../element/types").RoundnessType;
1147
+ value?: number | undefined;
1148
+ } | null;
1149
+ roughness: number;
1150
+ opacity: number;
1151
+ width: number;
1152
+ height: number;
1153
+ angle: import("../../math").Radians;
1154
+ seed: number;
1155
+ version: number;
1156
+ versionNonce: number;
1157
+ index: import("../element/types").FractionalIndex | null;
1158
+ isDeleted: boolean;
1159
+ groupIds: readonly string[];
1160
+ frameId: string | null;
1161
+ boundElements: readonly Readonly<{
1162
+ id: string;
1163
+ type: "text" | "arrow";
1164
+ }>[] | null;
1165
+ updated: number;
1166
+ link: string | null;
1167
+ locked: boolean;
1168
+ customData?: Record<string, any> | undefined;
1169
+ }> & Readonly<{
1170
+ type: "freedraw";
1171
+ points: readonly import("../../math").LocalPoint[];
1172
+ pressures: readonly number[];
1173
+ simulatePressure: boolean;
1174
+ lastCommittedPoint: import("../../math").LocalPoint | null;
1175
+ }> & {
1176
+ index: import("../element/types").FractionalIndex;
1177
+ }) | (Readonly<{
1178
+ id: string;
1179
+ x: number;
1180
+ y: number;
1181
+ strokeColor: string;
1182
+ backgroundColor: string;
1183
+ fillStyle: import("../element/types").FillStyle;
1184
+ strokeWidth: number;
1185
+ strokeStyle: import("../element/types").StrokeStyle;
1186
+ roundness: {
1187
+ type: import("../element/types").RoundnessType;
1188
+ value?: number | undefined;
1189
+ } | null;
1190
+ roughness: number;
1191
+ opacity: number;
1192
+ width: number;
1193
+ height: number;
1194
+ angle: import("../../math").Radians;
1195
+ seed: number;
1196
+ version: number;
1197
+ versionNonce: number;
1198
+ index: import("../element/types").FractionalIndex | null;
1199
+ isDeleted: boolean;
1200
+ groupIds: readonly string[];
1201
+ frameId: string | null;
1202
+ boundElements: readonly Readonly<{
1203
+ id: string;
1204
+ type: "text" | "arrow";
1205
+ }>[] | null;
1206
+ updated: number;
1207
+ link: string | null;
1208
+ locked: boolean;
1209
+ customData?: Record<string, any> | undefined;
1210
+ }> & Readonly<{
1211
+ type: "image";
1212
+ fileId: import("../element/types").FileId | null;
1213
+ status: "pending" | "saved" | "error";
1214
+ scale: [number, number];
1215
+ crop: import("../element/types").ImageCrop | null;
1216
+ }> & {
1217
+ index: import("../element/types").FractionalIndex;
1218
+ }) | (Readonly<{
1219
+ id: string;
1220
+ x: number;
1221
+ y: number;
1222
+ strokeColor: string;
1223
+ backgroundColor: string;
1224
+ fillStyle: import("../element/types").FillStyle;
1225
+ strokeWidth: number;
1226
+ strokeStyle: import("../element/types").StrokeStyle;
1227
+ roundness: {
1228
+ type: import("../element/types").RoundnessType;
1229
+ value?: number | undefined;
1230
+ } | null;
1231
+ roughness: number;
1232
+ opacity: number;
1233
+ width: number;
1234
+ height: number;
1235
+ angle: import("../../math").Radians;
1236
+ seed: number;
1237
+ version: number;
1238
+ versionNonce: number;
1239
+ index: import("../element/types").FractionalIndex | null;
1240
+ isDeleted: boolean;
1241
+ groupIds: readonly string[];
1242
+ frameId: string | null;
1243
+ boundElements: readonly Readonly<{
1244
+ id: string;
1245
+ type: "text" | "arrow";
1246
+ }>[] | null;
1247
+ updated: number;
1248
+ link: string | null;
1249
+ locked: boolean;
1250
+ customData?: Record<string, any> | undefined;
1251
+ }> & {
1252
+ type: "frame";
1253
+ name: string | null;
1254
+ } & {
1255
+ index: import("../element/types").FractionalIndex;
1256
+ }) | (Readonly<{
1257
+ id: string;
1258
+ x: number;
1259
+ y: number;
1260
+ strokeColor: string;
1261
+ backgroundColor: string;
1262
+ fillStyle: import("../element/types").FillStyle;
1263
+ strokeWidth: number;
1264
+ strokeStyle: import("../element/types").StrokeStyle;
1265
+ roundness: {
1266
+ type: import("../element/types").RoundnessType;
1267
+ value?: number | undefined;
1268
+ } | null;
1269
+ roughness: number;
1270
+ opacity: number;
1271
+ width: number;
1272
+ height: number;
1273
+ angle: import("../../math").Radians;
1274
+ seed: number;
1275
+ version: number;
1276
+ versionNonce: number;
1277
+ index: import("../element/types").FractionalIndex | null;
1278
+ isDeleted: boolean;
1279
+ groupIds: readonly string[];
1280
+ frameId: string | null;
1281
+ boundElements: readonly Readonly<{
1282
+ id: string;
1283
+ type: "text" | "arrow";
1284
+ }>[] | null;
1285
+ updated: number;
1286
+ link: string | null;
1287
+ locked: boolean;
1288
+ customData?: Record<string, any> | undefined;
1289
+ }> & {
1290
+ type: "magicframe";
1291
+ name: string | null;
1292
+ } & {
1293
+ index: import("../element/types").FractionalIndex;
1294
+ }) | (Readonly<{
1295
+ id: string;
1296
+ x: number;
1297
+ y: number;
1298
+ strokeColor: string;
1299
+ backgroundColor: string;
1300
+ fillStyle: import("../element/types").FillStyle;
1301
+ strokeWidth: number;
1302
+ strokeStyle: import("../element/types").StrokeStyle;
1303
+ roundness: {
1304
+ type: import("../element/types").RoundnessType;
1305
+ value?: number | undefined;
1306
+ } | null;
1307
+ roughness: number;
1308
+ opacity: number;
1309
+ width: number;
1310
+ height: number;
1311
+ angle: import("../../math").Radians;
1312
+ seed: number;
1313
+ version: number;
1314
+ versionNonce: number;
1315
+ index: import("../element/types").FractionalIndex | null;
1316
+ isDeleted: boolean;
1317
+ groupIds: readonly string[];
1318
+ frameId: string | null;
1319
+ boundElements: readonly Readonly<{
1320
+ id: string;
1321
+ type: "text" | "arrow";
1322
+ }>[] | null;
1323
+ updated: number;
1324
+ link: string | null;
1325
+ locked: boolean;
1326
+ customData?: Record<string, any> | undefined;
1327
+ }> & Readonly<{
1328
+ type: "iframe";
1329
+ customData?: {
1330
+ generationData?: import("../element/types").MagicGenerationData | undefined;
1331
+ } | undefined;
1332
+ scale: [number, number];
1333
+ }> & {
1334
+ index: import("../element/types").FractionalIndex;
1335
+ }) | (Readonly<{
1336
+ id: string;
1337
+ x: number;
1338
+ y: number;
1339
+ strokeColor: string;
1340
+ backgroundColor: string;
1341
+ fillStyle: import("../element/types").FillStyle;
1342
+ strokeWidth: number;
1343
+ strokeStyle: import("../element/types").StrokeStyle;
1344
+ roundness: {
1345
+ type: import("../element/types").RoundnessType;
1346
+ value?: number | undefined;
1347
+ } | null;
1348
+ roughness: number;
1349
+ opacity: number;
1350
+ width: number;
1351
+ height: number;
1352
+ angle: import("../../math").Radians;
1353
+ seed: number;
1354
+ version: number;
1355
+ versionNonce: number;
1356
+ index: import("../element/types").FractionalIndex | null;
1357
+ isDeleted: boolean;
1358
+ groupIds: readonly string[];
1359
+ frameId: string | null;
1360
+ boundElements: readonly Readonly<{
1361
+ id: string;
1362
+ type: "text" | "arrow";
1363
+ }>[] | null;
1364
+ updated: number;
1365
+ link: string | null;
1366
+ locked: boolean;
1367
+ customData?: Record<string, any> | undefined;
1368
+ }> & Readonly<{
1369
+ type: "embeddable";
1370
+ scale: [number, number];
1371
+ }> & {
1372
+ index: import("../element/types").FractionalIndex;
1373
+ }) | import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement>)[];
1374
+ appState: {
1375
+ selectedElementIds: {
1376
+ [x: string]: true;
1377
+ };
1378
+ };
1379
+ storeAction: "capture";
1380
+ };
1381
+ } & {
1382
+ keyTest?: undefined;
1383
+ };
@@ -93,7 +93,7 @@ export declare const actionGroup: {
93
93
  tab?: string | undefined;
94
94
  } | null;
95
95
  openDialog: {
96
- name: "imageExport" | "help" | "jsonExport";
96
+ name: "help" | "imageExport" | "jsonExport";
97
97
  } | {
98
98
  name: "ttd";
99
99
  tab: "mermaid" | "text-to-diagram";
@@ -319,7 +319,7 @@ export declare const actionUngroup: {
319
319
  tab?: string | undefined;
320
320
  } | null;
321
321
  openDialog: {
322
- name: "imageExport" | "help" | "jsonExport";
322
+ name: "help" | "imageExport" | "jsonExport";
323
323
  } | {
324
324
  name: "ttd";
325
325
  tab: "mermaid" | "text-to-diagram";
@@ -84,7 +84,7 @@ export declare const actionToggleLinearEditor: {
84
84
  tab?: string | undefined;
85
85
  } | null;
86
86
  openDialog: {
87
- name: "imageExport" | "help" | "jsonExport";
87
+ name: "help" | "imageExport" | "jsonExport";
88
88
  } | {
89
89
  name: "ttd";
90
90
  tab: "mermaid" | "text-to-diagram";
@@ -79,7 +79,7 @@ export declare const actionLink: {
79
79
  tab?: string | undefined;
80
80
  } | null;
81
81
  openDialog: {
82
- name: "imageExport" | "help" | "jsonExport";
82
+ name: "help" | "imageExport" | "jsonExport";
83
83
  } | {
84
84
  name: "ttd";
85
85
  tab: "mermaid" | "text-to-diagram";
@@ -79,7 +79,7 @@ export declare const actionToggleCanvasMenu: {
79
79
  tab?: string | undefined;
80
80
  } | null;
81
81
  openDialog: {
82
- name: "imageExport" | "help" | "jsonExport";
82
+ name: "help" | "imageExport" | "jsonExport";
83
83
  } | {
84
84
  name: "ttd";
85
85
  tab: "mermaid" | "text-to-diagram";
@@ -297,7 +297,7 @@ export declare const actionToggleEditMenu: {
297
297
  tab?: string | undefined;
298
298
  } | null;
299
299
  openDialog: {
300
- name: "imageExport" | "help" | "jsonExport";
300
+ name: "help" | "imageExport" | "jsonExport";
301
301
  } | {
302
302
  name: "ttd";
303
303
  tab: "mermaid" | "text-to-diagram";