@zsviczian/excalidraw 0.17.6-2 → 0.17.6-21
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 +13000 -1495
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +21 -1
- package/dist/styles.development.css +425 -347
- package/dist/styles.production.css +3 -2
- package/package.json +2 -3
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +24 -0
- package/types/excalidraw/actions/actionBoundText.d.ts +16 -0
- package/types/excalidraw/actions/actionCanvas.d.ts +112 -0
- package/types/excalidraw/actions/actionClipboard.d.ts +48 -0
- package/types/excalidraw/actions/actionCropEditor.d.ts +222 -0
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +24 -0
- package/types/excalidraw/actions/actionElementLink.d.ts +244 -0
- package/types/excalidraw/actions/actionElementLock.d.ts +16 -0
- package/types/excalidraw/actions/actionExport.d.ts +69 -0
- package/types/excalidraw/actions/actionFinalize.d.ts +16 -0
- package/types/excalidraw/actions/actionFrame.d.ts +32 -0
- package/types/excalidraw/actions/actionGroup.d.ts +16 -0
- package/types/excalidraw/actions/actionLinearEditor.d.ts +8 -0
- package/types/excalidraw/actions/actionLink.d.ts +9 -1
- package/types/excalidraw/actions/actionMenu.d.ts +21 -0
- package/types/excalidraw/actions/actionNavigate.d.ts +16 -0
- package/types/excalidraw/actions/actionProperties.d.ts +120 -0
- package/types/excalidraw/actions/actionSelectAll.d.ts +8 -0
- package/types/excalidraw/actions/actionStyles.d.ts +8 -0
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +8 -0
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +8 -0
- package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +13 -0
- package/types/excalidraw/actions/actionToggleStats.d.ts +8 -0
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +8 -0
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +8 -0
- package/types/excalidraw/actions/index.d.ts +1 -0
- package/types/excalidraw/actions/types.d.ts +1 -1
- package/types/excalidraw/change.d.ts +2 -2
- package/types/excalidraw/clipboard.d.ts +27 -5
- package/types/excalidraw/components/App.d.ts +20 -5
- package/types/excalidraw/components/ElementLinkDialog.d.ts +11 -0
- package/types/excalidraw/components/LayerUI.d.ts +2 -1
- package/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +1 -7
- package/types/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.d.ts +9 -0
- package/types/excalidraw/components/TTDDialog/common.d.ts +2 -2
- package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -1
- package/types/excalidraw/components/hyperlink/helpers.d.ts +1 -0
- package/types/excalidraw/components/icons.d.ts +2 -0
- package/types/excalidraw/constants.d.ts +5 -1
- package/types/excalidraw/data/blob.d.ts +4 -0
- package/types/excalidraw/data/encode.d.ts +6 -5
- package/types/excalidraw/data/image.d.ts +2 -2
- package/types/excalidraw/dist/excalidraw.production.min.d.ts +3 -1
- package/types/excalidraw/element/binding.d.ts +1 -1
- package/types/excalidraw/element/cropElement.d.ts +14 -0
- package/types/excalidraw/element/elementLink.d.ts +13 -0
- package/types/excalidraw/element/embeddable.d.ts +8 -0
- package/types/excalidraw/element/image.d.ts +1 -1
- package/types/excalidraw/element/newElement.d.ts +1 -0
- package/types/excalidraw/element/textElement.d.ts +14 -4
- package/types/excalidraw/element/textWrapping.d.ts +13 -0
- package/types/excalidraw/element/transformHandles.d.ts +1 -1
- package/types/excalidraw/element/types.d.ts +10 -0
- package/types/excalidraw/errors.d.ts +7 -0
- package/types/excalidraw/fonts/{woff2/Cascadia → Cascadia}/index.d.ts +1 -1
- package/types/excalidraw/fonts/ComicShanns/index.d.ts +2 -0
- package/types/excalidraw/fonts/{woff2/Emoji → Emoji}/index.d.ts +1 -1
- package/types/excalidraw/fonts/ExcalidrawFontFace.d.ts +2 -8
- package/types/excalidraw/fonts/{woff2/Excalifont → Excalifont}/index.d.ts +1 -1
- package/types/excalidraw/fonts/Fonts.d.ts +117 -0
- package/types/excalidraw/fonts/{woff2/Helvetica → Helvetica}/index.d.ts +1 -1
- package/types/excalidraw/fonts/{woff2/Liberation → Liberation}/index.d.ts +1 -1
- package/types/excalidraw/fonts/{woff2/Lilita → Lilita}/index.d.ts +1 -1
- package/types/excalidraw/fonts/{woff2/Nunito → Nunito}/index.d.ts +1 -1
- package/types/excalidraw/fonts/{woff2/Virgil → Virgil}/index.d.ts +1 -1
- package/types/excalidraw/fonts/{woff2/Xiaolai → Xiaolai}/index.d.ts +1 -1
- package/types/excalidraw/fonts/index.d.ts +1 -87
- package/types/excalidraw/index.d.ts +2 -1
- package/types/excalidraw/keys.d.ts +107 -0
- package/types/excalidraw/obsidianUtils.d.ts +5 -3
- package/types/excalidraw/renderer/renderElement.d.ts +3 -2
- package/types/excalidraw/scene/Scene.d.ts +1 -0
- package/types/excalidraw/scene/comparisons.d.ts +1 -0
- package/types/excalidraw/scene/export.d.ts +1 -0
- package/types/excalidraw/scene/types.d.ts +7 -0
- package/types/excalidraw/types.d.ts +24 -2
- package/types/math/utils.d.ts +1 -0
- package/types/math/vector.d.ts +4 -0
- package/types/utils/export.d.ts +5 -3
- package/dist/excalidraw-assets/CascadiaCode-Regular.woff2 +0 -0
- package/dist/excalidraw-assets/ComicShanns-Regular.woff2 +0 -0
- package/dist/excalidraw-assets/Excalifont-Regular.woff2 +0 -0
- package/dist/excalidraw-assets/LiberationSans-Regular.woff2 +0 -0
- package/dist/excalidraw-assets/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYE98RXi4EwSsbg.woff2 +0 -0
- package/dist/excalidraw-assets/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYEF8RXi4EwQ.woff2 +0 -0
- package/dist/excalidraw-assets/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5.woff2 +0 -0
- package/dist/excalidraw-assets/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg.woff2 +0 -0
- package/dist/excalidraw-assets/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTk3j6zbXWjgevT5.woff2 +0 -0
- package/dist/excalidraw-assets/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTo3j6zbXWjgevT5.woff2 +0 -0
- package/dist/excalidraw-assets/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTs3j6zbXWjgevT5.woff2 +0 -0
- package/dist/excalidraw-assets/Virgil-Regular.woff2 +0 -0
- package/dist/excalidraw-assets-dev/CascadiaCode-Regular.woff2 +0 -0
- package/dist/excalidraw-assets-dev/ComicShanns-Regular.woff2 +0 -0
- package/dist/excalidraw-assets-dev/Excalifont-Regular.woff2 +0 -0
- package/dist/excalidraw-assets-dev/LiberationSans-Regular.woff2 +0 -0
- package/dist/excalidraw-assets-dev/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYE98RXi4EwSsbg.woff2 +0 -0
- package/dist/excalidraw-assets-dev/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYEF8RXi4EwQ.woff2 +0 -0
- package/dist/excalidraw-assets-dev/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5.woff2 +0 -0
- package/dist/excalidraw-assets-dev/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg.woff2 +0 -0
- package/dist/excalidraw-assets-dev/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTk3j6zbXWjgevT5.woff2 +0 -0
- package/dist/excalidraw-assets-dev/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTo3j6zbXWjgevT5.woff2 +0 -0
- package/dist/excalidraw-assets-dev/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTs3j6zbXWjgevT5.woff2 +0 -0
- package/dist/excalidraw-assets-dev/Virgil-Regular.woff2 +0 -0
- package/types/excalidraw/components/MagicSettings.d.ts +0 -8
- package/types/excalidraw/components/Stats.d.ts +0 -11
- package/types/excalidraw/data/magic.d.ts +0 -23
- package/types/excalidraw/fonts/ExcalidrawFont.d.ts +0 -37
- package/types/excalidraw/fonts/wasm/hb-subset.bindings.d.ts +0 -45
- package/types/excalidraw/fonts/wasm/hb-subset.loader.d.ts +0 -5
- package/types/excalidraw/fonts/wasm/hb-subset.wasm.d.ts +0 -2
- package/types/excalidraw/fonts/wasm/woff2.bindings.d.ts +0 -31
- package/types/excalidraw/fonts/wasm/woff2.loader.d.ts +0 -6
- package/types/excalidraw/fonts/wasm/woff2.wasm.d.ts +0 -2
- package/types/excalidraw/fonts/woff2/Comic/index.d.ts +0 -2
- package/types/excalidraw/ga.d.ts +0 -63
- package/types/excalidraw/gadirections.d.ts +0 -8
- package/types/excalidraw/galines.d.ts +0 -22
- package/types/excalidraw/gapoints.d.ts +0 -7
- package/types/excalidraw/gatransforms.d.ts +0 -10
- package/types/excalidraw/math.d.ts +0 -79
- package/types/excalidraw/scene/Fonts.d.ts +0 -19
- package/types/utils/geometry/geometry.d.ts +0 -89
- /package/types/excalidraw/fonts/{metadata.d.ts → FontMetadata.d.ts} +0 -0
- /package/types/excalidraw/{fonts/wasm/hb-subset-bindings.d.ts → subset/harfbuzz/harfbuzz-bindings.d.ts} +0 -0
- /package/types/excalidraw/{fonts/wasm/hb-subset-loader.d.ts → subset/harfbuzz/harfbuzz-loader.d.ts} +0 -0
- /package/types/excalidraw/{fonts/wasm/hb-subset-wasm.d.ts → subset/harfbuzz/harfbuzz-wasm.d.ts} +0 -0
- /package/types/excalidraw/{fonts/subset → subset}/subset-main.d.ts +0 -0
- /package/types/excalidraw/{fonts/subset → subset}/subset-shared.chunk.d.ts +0 -0
- /package/types/excalidraw/{fonts/subset → subset}/subset-worker.chunk.d.ts +0 -0
- /package/types/excalidraw/{fonts/wasm → subset/woff2}/woff2-bindings.d.ts +0 -0
- /package/types/excalidraw/{fonts/wasm → subset/woff2}/woff2-loader.d.ts +0 -0
- /package/types/excalidraw/{fonts/wasm → subset/woff2}/woff2-wasm.d.ts +0 -0
|
@@ -85,12 +85,18 @@ export declare const actionChangeProjectName: {
|
|
|
85
85
|
tab: "mermaid" | "text-to-diagram";
|
|
86
86
|
} | {
|
|
87
87
|
name: "commandPalette";
|
|
88
|
+
} | {
|
|
89
|
+
name: "elementLinkSelector";
|
|
90
|
+
sourceElementId: string;
|
|
88
91
|
} | null;
|
|
89
92
|
defaultSidebarDockedPreference: boolean;
|
|
90
93
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
91
94
|
selectedElementIds: Readonly<{
|
|
92
95
|
[id: string]: true;
|
|
93
96
|
}>;
|
|
97
|
+
hoveredElementIds: Readonly<{
|
|
98
|
+
[id: string]: true;
|
|
99
|
+
}>;
|
|
94
100
|
previousSelectedElementIds: {
|
|
95
101
|
[id: string]: true;
|
|
96
102
|
};
|
|
@@ -191,6 +197,8 @@ export declare const actionChangeProjectName: {
|
|
|
191
197
|
objectsSnapModeEnabled: boolean;
|
|
192
198
|
userToFollow: import("../types").UserToFollow | null;
|
|
193
199
|
followedBy: Set<import("../types").SocketId>;
|
|
200
|
+
isCropping: boolean;
|
|
201
|
+
croppingElementId: string | null;
|
|
194
202
|
searchMatches: readonly {
|
|
195
203
|
id: string;
|
|
196
204
|
focus: boolean;
|
|
@@ -296,12 +304,18 @@ export declare const actionChangeExportScale: {
|
|
|
296
304
|
tab: "mermaid" | "text-to-diagram";
|
|
297
305
|
} | {
|
|
298
306
|
name: "commandPalette";
|
|
307
|
+
} | {
|
|
308
|
+
name: "elementLinkSelector";
|
|
309
|
+
sourceElementId: string;
|
|
299
310
|
} | null;
|
|
300
311
|
defaultSidebarDockedPreference: boolean;
|
|
301
312
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
302
313
|
selectedElementIds: Readonly<{
|
|
303
314
|
[id: string]: true;
|
|
304
315
|
}>;
|
|
316
|
+
hoveredElementIds: Readonly<{
|
|
317
|
+
[id: string]: true;
|
|
318
|
+
}>;
|
|
305
319
|
previousSelectedElementIds: {
|
|
306
320
|
[id: string]: true;
|
|
307
321
|
};
|
|
@@ -402,6 +416,8 @@ export declare const actionChangeExportScale: {
|
|
|
402
416
|
objectsSnapModeEnabled: boolean;
|
|
403
417
|
userToFollow: import("../types").UserToFollow | null;
|
|
404
418
|
followedBy: Set<import("../types").SocketId>;
|
|
419
|
+
isCropping: boolean;
|
|
420
|
+
croppingElementId: string | null;
|
|
405
421
|
searchMatches: readonly {
|
|
406
422
|
id: string;
|
|
407
423
|
focus: boolean;
|
|
@@ -507,12 +523,18 @@ export declare const actionChangeExportBackground: {
|
|
|
507
523
|
tab: "mermaid" | "text-to-diagram";
|
|
508
524
|
} | {
|
|
509
525
|
name: "commandPalette";
|
|
526
|
+
} | {
|
|
527
|
+
name: "elementLinkSelector";
|
|
528
|
+
sourceElementId: string;
|
|
510
529
|
} | null;
|
|
511
530
|
defaultSidebarDockedPreference: boolean;
|
|
512
531
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
513
532
|
selectedElementIds: Readonly<{
|
|
514
533
|
[id: string]: true;
|
|
515
534
|
}>;
|
|
535
|
+
hoveredElementIds: Readonly<{
|
|
536
|
+
[id: string]: true;
|
|
537
|
+
}>;
|
|
516
538
|
previousSelectedElementIds: {
|
|
517
539
|
[id: string]: true;
|
|
518
540
|
};
|
|
@@ -613,6 +635,8 @@ export declare const actionChangeExportBackground: {
|
|
|
613
635
|
objectsSnapModeEnabled: boolean;
|
|
614
636
|
userToFollow: import("../types").UserToFollow | null;
|
|
615
637
|
followedBy: Set<import("../types").SocketId>;
|
|
638
|
+
isCropping: boolean;
|
|
639
|
+
croppingElementId: string | null;
|
|
616
640
|
searchMatches: readonly {
|
|
617
641
|
id: string;
|
|
618
642
|
focus: boolean;
|
|
@@ -718,12 +742,18 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
718
742
|
tab: "mermaid" | "text-to-diagram";
|
|
719
743
|
} | {
|
|
720
744
|
name: "commandPalette";
|
|
745
|
+
} | {
|
|
746
|
+
name: "elementLinkSelector";
|
|
747
|
+
sourceElementId: string;
|
|
721
748
|
} | null;
|
|
722
749
|
defaultSidebarDockedPreference: boolean;
|
|
723
750
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
724
751
|
selectedElementIds: Readonly<{
|
|
725
752
|
[id: string]: true;
|
|
726
753
|
}>;
|
|
754
|
+
hoveredElementIds: Readonly<{
|
|
755
|
+
[id: string]: true;
|
|
756
|
+
}>;
|
|
727
757
|
previousSelectedElementIds: {
|
|
728
758
|
[id: string]: true;
|
|
729
759
|
};
|
|
@@ -824,6 +854,8 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
824
854
|
objectsSnapModeEnabled: boolean;
|
|
825
855
|
userToFollow: import("../types").UserToFollow | null;
|
|
826
856
|
followedBy: Set<import("../types").SocketId>;
|
|
857
|
+
isCropping: boolean;
|
|
858
|
+
croppingElementId: string | null;
|
|
827
859
|
searchMatches: readonly {
|
|
828
860
|
id: string;
|
|
829
861
|
focus: boolean;
|
|
@@ -935,12 +967,18 @@ export declare const actionSaveToActiveFile: {
|
|
|
935
967
|
tab: "mermaid" | "text-to-diagram";
|
|
936
968
|
} | {
|
|
937
969
|
name: "commandPalette";
|
|
970
|
+
} | {
|
|
971
|
+
name: "elementLinkSelector";
|
|
972
|
+
sourceElementId: string;
|
|
938
973
|
} | null;
|
|
939
974
|
defaultSidebarDockedPreference: boolean;
|
|
940
975
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
941
976
|
selectedElementIds: Readonly<{
|
|
942
977
|
[id: string]: true;
|
|
943
978
|
}>;
|
|
979
|
+
hoveredElementIds: Readonly<{
|
|
980
|
+
[id: string]: true;
|
|
981
|
+
}>;
|
|
944
982
|
previousSelectedElementIds: {
|
|
945
983
|
[id: string]: true;
|
|
946
984
|
};
|
|
@@ -1035,6 +1073,8 @@ export declare const actionSaveToActiveFile: {
|
|
|
1035
1073
|
objectsSnapModeEnabled: boolean;
|
|
1036
1074
|
userToFollow: import("../types").UserToFollow | null;
|
|
1037
1075
|
followedBy: Set<import("../types").SocketId>;
|
|
1076
|
+
isCropping: boolean;
|
|
1077
|
+
croppingElementId: string | null;
|
|
1038
1078
|
searchMatches: readonly {
|
|
1039
1079
|
id: string;
|
|
1040
1080
|
focus: boolean;
|
|
@@ -1147,6 +1187,9 @@ export declare const actionSaveFileToDisk: {
|
|
|
1147
1187
|
selectedElementIds: Readonly<{
|
|
1148
1188
|
[id: string]: true;
|
|
1149
1189
|
}>;
|
|
1190
|
+
hoveredElementIds: Readonly<{
|
|
1191
|
+
[id: string]: true;
|
|
1192
|
+
}>;
|
|
1150
1193
|
previousSelectedElementIds: {
|
|
1151
1194
|
[id: string]: true;
|
|
1152
1195
|
};
|
|
@@ -1241,6 +1284,8 @@ export declare const actionSaveFileToDisk: {
|
|
|
1241
1284
|
objectsSnapModeEnabled: boolean;
|
|
1242
1285
|
userToFollow: import("../types").UserToFollow | null;
|
|
1243
1286
|
followedBy: Set<import("../types").SocketId>;
|
|
1287
|
+
isCropping: boolean;
|
|
1288
|
+
croppingElementId: string | null;
|
|
1244
1289
|
searchMatches: readonly {
|
|
1245
1290
|
id: string;
|
|
1246
1291
|
focus: boolean;
|
|
@@ -1350,12 +1395,18 @@ export declare const actionLoadScene: {
|
|
|
1350
1395
|
tab: "mermaid" | "text-to-diagram";
|
|
1351
1396
|
} | {
|
|
1352
1397
|
name: "commandPalette";
|
|
1398
|
+
} | {
|
|
1399
|
+
name: "elementLinkSelector";
|
|
1400
|
+
sourceElementId: string;
|
|
1353
1401
|
} | null;
|
|
1354
1402
|
defaultSidebarDockedPreference: boolean;
|
|
1355
1403
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1356
1404
|
selectedElementIds: Readonly<{
|
|
1357
1405
|
[id: string]: true;
|
|
1358
1406
|
}>;
|
|
1407
|
+
hoveredElementIds: Readonly<{
|
|
1408
|
+
[id: string]: true;
|
|
1409
|
+
}>;
|
|
1359
1410
|
previousSelectedElementIds: {
|
|
1360
1411
|
[id: string]: true;
|
|
1361
1412
|
};
|
|
@@ -1452,6 +1503,8 @@ export declare const actionLoadScene: {
|
|
|
1452
1503
|
objectsSnapModeEnabled: boolean;
|
|
1453
1504
|
userToFollow: import("../types").UserToFollow | null;
|
|
1454
1505
|
followedBy: Set<import("../types").SocketId>;
|
|
1506
|
+
isCropping: boolean;
|
|
1507
|
+
croppingElementId: string | null;
|
|
1455
1508
|
searchMatches: readonly {
|
|
1456
1509
|
id: string;
|
|
1457
1510
|
focus: boolean;
|
|
@@ -1547,12 +1600,18 @@ export declare const actionLoadScene: {
|
|
|
1547
1600
|
tab: "mermaid" | "text-to-diagram";
|
|
1548
1601
|
} | {
|
|
1549
1602
|
name: "commandPalette";
|
|
1603
|
+
} | {
|
|
1604
|
+
name: "elementLinkSelector";
|
|
1605
|
+
sourceElementId: string;
|
|
1550
1606
|
} | null;
|
|
1551
1607
|
defaultSidebarDockedPreference: boolean;
|
|
1552
1608
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1553
1609
|
selectedElementIds: Readonly<{
|
|
1554
1610
|
[id: string]: true;
|
|
1555
1611
|
}>;
|
|
1612
|
+
hoveredElementIds: Readonly<{
|
|
1613
|
+
[id: string]: true;
|
|
1614
|
+
}>;
|
|
1556
1615
|
previousSelectedElementIds: {
|
|
1557
1616
|
[id: string]: true;
|
|
1558
1617
|
};
|
|
@@ -1653,6 +1712,8 @@ export declare const actionLoadScene: {
|
|
|
1653
1712
|
objectsSnapModeEnabled: boolean;
|
|
1654
1713
|
userToFollow: import("../types").UserToFollow | null;
|
|
1655
1714
|
followedBy: Set<import("../types").SocketId>;
|
|
1715
|
+
isCropping: boolean;
|
|
1716
|
+
croppingElementId: string | null;
|
|
1656
1717
|
searchMatches: readonly {
|
|
1657
1718
|
id: string;
|
|
1658
1719
|
focus: boolean;
|
|
@@ -1759,12 +1820,18 @@ export declare const actionExportWithDarkMode: {
|
|
|
1759
1820
|
tab: "mermaid" | "text-to-diagram";
|
|
1760
1821
|
} | {
|
|
1761
1822
|
name: "commandPalette";
|
|
1823
|
+
} | {
|
|
1824
|
+
name: "elementLinkSelector";
|
|
1825
|
+
sourceElementId: string;
|
|
1762
1826
|
} | null;
|
|
1763
1827
|
defaultSidebarDockedPreference: boolean;
|
|
1764
1828
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1765
1829
|
selectedElementIds: Readonly<{
|
|
1766
1830
|
[id: string]: true;
|
|
1767
1831
|
}>;
|
|
1832
|
+
hoveredElementIds: Readonly<{
|
|
1833
|
+
[id: string]: true;
|
|
1834
|
+
}>;
|
|
1768
1835
|
previousSelectedElementIds: {
|
|
1769
1836
|
[id: string]: true;
|
|
1770
1837
|
};
|
|
@@ -1865,6 +1932,8 @@ export declare const actionExportWithDarkMode: {
|
|
|
1865
1932
|
objectsSnapModeEnabled: boolean;
|
|
1866
1933
|
userToFollow: import("../types").UserToFollow | null;
|
|
1867
1934
|
followedBy: Set<import("../types").SocketId>;
|
|
1935
|
+
isCropping: boolean;
|
|
1936
|
+
croppingElementId: string | null;
|
|
1868
1937
|
searchMatches: readonly {
|
|
1869
1938
|
id: string;
|
|
1870
1939
|
focus: boolean;
|
|
@@ -86,12 +86,18 @@ export declare const actionFinalize: {
|
|
|
86
86
|
tab: "mermaid" | "text-to-diagram";
|
|
87
87
|
} | {
|
|
88
88
|
name: "commandPalette";
|
|
89
|
+
} | {
|
|
90
|
+
name: "elementLinkSelector";
|
|
91
|
+
sourceElementId: string;
|
|
89
92
|
} | null;
|
|
90
93
|
defaultSidebarDockedPreference: boolean;
|
|
91
94
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
92
95
|
selectedElementIds: Readonly<{
|
|
93
96
|
[id: string]: true;
|
|
94
97
|
}>;
|
|
98
|
+
hoveredElementIds: Readonly<{
|
|
99
|
+
[id: string]: true;
|
|
100
|
+
}>;
|
|
95
101
|
previousSelectedElementIds: {
|
|
96
102
|
[id: string]: true;
|
|
97
103
|
};
|
|
@@ -192,6 +198,8 @@ export declare const actionFinalize: {
|
|
|
192
198
|
objectsSnapModeEnabled: boolean;
|
|
193
199
|
userToFollow: import("../types").UserToFollow | null;
|
|
194
200
|
followedBy: Set<import("../types").SocketId>;
|
|
201
|
+
isCropping: boolean;
|
|
202
|
+
croppingElementId: string | null;
|
|
195
203
|
searchMatches: readonly {
|
|
196
204
|
id: string;
|
|
197
205
|
focus: boolean;
|
|
@@ -288,9 +296,15 @@ export declare const actionFinalize: {
|
|
|
288
296
|
tab: "mermaid" | "text-to-diagram";
|
|
289
297
|
} | {
|
|
290
298
|
name: "commandPalette";
|
|
299
|
+
} | {
|
|
300
|
+
name: "elementLinkSelector";
|
|
301
|
+
sourceElementId: string;
|
|
291
302
|
} | null;
|
|
292
303
|
defaultSidebarDockedPreference: boolean;
|
|
293
304
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
305
|
+
hoveredElementIds: Readonly<{
|
|
306
|
+
[id: string]: true;
|
|
307
|
+
}>;
|
|
294
308
|
previousSelectedElementIds: {
|
|
295
309
|
[id: string]: true;
|
|
296
310
|
};
|
|
@@ -389,6 +403,8 @@ export declare const actionFinalize: {
|
|
|
389
403
|
objectsSnapModeEnabled: boolean;
|
|
390
404
|
userToFollow: import("../types").UserToFollow | null;
|
|
391
405
|
followedBy: Set<import("../types").SocketId>;
|
|
406
|
+
isCropping: boolean;
|
|
407
|
+
croppingElementId: string | null;
|
|
392
408
|
searchMatches: readonly {
|
|
393
409
|
id: string;
|
|
394
410
|
focus: boolean;
|
|
@@ -89,9 +89,15 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
89
89
|
tab: "mermaid" | "text-to-diagram";
|
|
90
90
|
} | {
|
|
91
91
|
name: "commandPalette";
|
|
92
|
+
} | {
|
|
93
|
+
name: "elementLinkSelector";
|
|
94
|
+
sourceElementId: string;
|
|
92
95
|
} | null;
|
|
93
96
|
defaultSidebarDockedPreference: boolean;
|
|
94
97
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
98
|
+
hoveredElementIds: Readonly<{
|
|
99
|
+
[id: string]: true;
|
|
100
|
+
}>;
|
|
95
101
|
previousSelectedElementIds: {
|
|
96
102
|
[id: string]: true;
|
|
97
103
|
};
|
|
@@ -192,6 +198,8 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
192
198
|
objectsSnapModeEnabled: boolean;
|
|
193
199
|
userToFollow: import("../types").UserToFollow | null;
|
|
194
200
|
followedBy: Set<import("../types").SocketId>;
|
|
201
|
+
isCropping: boolean;
|
|
202
|
+
croppingElementId: string | null;
|
|
195
203
|
searchMatches: readonly {
|
|
196
204
|
id: string;
|
|
197
205
|
focus: boolean;
|
|
@@ -304,9 +312,15 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
304
312
|
tab: "mermaid" | "text-to-diagram";
|
|
305
313
|
} | {
|
|
306
314
|
name: "commandPalette";
|
|
315
|
+
} | {
|
|
316
|
+
name: "elementLinkSelector";
|
|
317
|
+
sourceElementId: string;
|
|
307
318
|
} | null;
|
|
308
319
|
defaultSidebarDockedPreference: boolean;
|
|
309
320
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
321
|
+
hoveredElementIds: Readonly<{
|
|
322
|
+
[id: string]: true;
|
|
323
|
+
}>;
|
|
310
324
|
previousSelectedElementIds: {
|
|
311
325
|
[id: string]: true;
|
|
312
326
|
};
|
|
@@ -407,6 +421,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
407
421
|
objectsSnapModeEnabled: boolean;
|
|
408
422
|
userToFollow: import("../types").UserToFollow | null;
|
|
409
423
|
followedBy: Set<import("../types").SocketId>;
|
|
424
|
+
isCropping: boolean;
|
|
425
|
+
croppingElementId: string | null;
|
|
410
426
|
searchMatches: readonly {
|
|
411
427
|
id: string;
|
|
412
428
|
focus: boolean;
|
|
@@ -517,12 +533,18 @@ export declare const actionupdateFrameRendering: {
|
|
|
517
533
|
tab: "mermaid" | "text-to-diagram";
|
|
518
534
|
} | {
|
|
519
535
|
name: "commandPalette";
|
|
536
|
+
} | {
|
|
537
|
+
name: "elementLinkSelector";
|
|
538
|
+
sourceElementId: string;
|
|
520
539
|
} | null;
|
|
521
540
|
defaultSidebarDockedPreference: boolean;
|
|
522
541
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
523
542
|
selectedElementIds: Readonly<{
|
|
524
543
|
[id: string]: true;
|
|
525
544
|
}>;
|
|
545
|
+
hoveredElementIds: Readonly<{
|
|
546
|
+
[id: string]: true;
|
|
547
|
+
}>;
|
|
526
548
|
previousSelectedElementIds: {
|
|
527
549
|
[id: string]: true;
|
|
528
550
|
};
|
|
@@ -623,6 +645,8 @@ export declare const actionupdateFrameRendering: {
|
|
|
623
645
|
objectsSnapModeEnabled: boolean;
|
|
624
646
|
userToFollow: import("../types").UserToFollow | null;
|
|
625
647
|
followedBy: Set<import("../types").SocketId>;
|
|
648
|
+
isCropping: boolean;
|
|
649
|
+
croppingElementId: string | null;
|
|
626
650
|
searchMatches: readonly {
|
|
627
651
|
id: string;
|
|
628
652
|
focus: boolean;
|
|
@@ -730,12 +754,18 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
730
754
|
tab: "mermaid" | "text-to-diagram";
|
|
731
755
|
} | {
|
|
732
756
|
name: "commandPalette";
|
|
757
|
+
} | {
|
|
758
|
+
name: "elementLinkSelector";
|
|
759
|
+
sourceElementId: string;
|
|
733
760
|
} | null;
|
|
734
761
|
defaultSidebarDockedPreference: boolean;
|
|
735
762
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
736
763
|
selectedElementIds: Readonly<{
|
|
737
764
|
[id: string]: true;
|
|
738
765
|
}>;
|
|
766
|
+
hoveredElementIds: Readonly<{
|
|
767
|
+
[id: string]: true;
|
|
768
|
+
}>;
|
|
739
769
|
previousSelectedElementIds: {
|
|
740
770
|
[id: string]: true;
|
|
741
771
|
};
|
|
@@ -836,6 +866,8 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
836
866
|
objectsSnapModeEnabled: boolean;
|
|
837
867
|
userToFollow: import("../types").UserToFollow | null;
|
|
838
868
|
followedBy: Set<import("../types").SocketId>;
|
|
869
|
+
isCropping: boolean;
|
|
870
|
+
croppingElementId: string | null;
|
|
839
871
|
searchMatches: readonly {
|
|
840
872
|
id: string;
|
|
841
873
|
focus: boolean;
|
|
@@ -99,9 +99,15 @@ export declare const actionGroup: {
|
|
|
99
99
|
tab: "mermaid" | "text-to-diagram";
|
|
100
100
|
} | {
|
|
101
101
|
name: "commandPalette";
|
|
102
|
+
} | {
|
|
103
|
+
name: "elementLinkSelector";
|
|
104
|
+
sourceElementId: string;
|
|
102
105
|
} | null;
|
|
103
106
|
defaultSidebarDockedPreference: boolean;
|
|
104
107
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
108
|
+
hoveredElementIds: Readonly<{
|
|
109
|
+
[id: string]: true;
|
|
110
|
+
}>;
|
|
105
111
|
previousSelectedElementIds: {
|
|
106
112
|
[id: string]: true;
|
|
107
113
|
};
|
|
@@ -198,6 +204,8 @@ export declare const actionGroup: {
|
|
|
198
204
|
objectsSnapModeEnabled: boolean;
|
|
199
205
|
userToFollow: import("../types").UserToFollow | null;
|
|
200
206
|
followedBy: Set<import("../types").SocketId>;
|
|
207
|
+
isCropping: boolean;
|
|
208
|
+
croppingElementId: string | null;
|
|
201
209
|
searchMatches: readonly {
|
|
202
210
|
id: string;
|
|
203
211
|
focus: boolean;
|
|
@@ -317,9 +325,15 @@ export declare const actionUngroup: {
|
|
|
317
325
|
tab: "mermaid" | "text-to-diagram";
|
|
318
326
|
} | {
|
|
319
327
|
name: "commandPalette";
|
|
328
|
+
} | {
|
|
329
|
+
name: "elementLinkSelector";
|
|
330
|
+
sourceElementId: string;
|
|
320
331
|
} | null;
|
|
321
332
|
defaultSidebarDockedPreference: boolean;
|
|
322
333
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
334
|
+
hoveredElementIds: Readonly<{
|
|
335
|
+
[id: string]: true;
|
|
336
|
+
}>;
|
|
323
337
|
previousSelectedElementIds: {
|
|
324
338
|
[id: string]: true;
|
|
325
339
|
};
|
|
@@ -416,6 +430,8 @@ export declare const actionUngroup: {
|
|
|
416
430
|
objectsSnapModeEnabled: boolean;
|
|
417
431
|
userToFollow: import("../types").UserToFollow | null;
|
|
418
432
|
followedBy: Set<import("../types").SocketId>;
|
|
433
|
+
isCropping: boolean;
|
|
434
|
+
croppingElementId: string | null;
|
|
419
435
|
searchMatches: readonly {
|
|
420
436
|
id: string;
|
|
421
437
|
focus: boolean;
|
|
@@ -90,12 +90,18 @@ export declare const actionToggleLinearEditor: {
|
|
|
90
90
|
tab: "mermaid" | "text-to-diagram";
|
|
91
91
|
} | {
|
|
92
92
|
name: "commandPalette";
|
|
93
|
+
} | {
|
|
94
|
+
name: "elementLinkSelector";
|
|
95
|
+
sourceElementId: string;
|
|
93
96
|
} | null;
|
|
94
97
|
defaultSidebarDockedPreference: boolean;
|
|
95
98
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
96
99
|
selectedElementIds: Readonly<{
|
|
97
100
|
[id: string]: true;
|
|
98
101
|
}>;
|
|
102
|
+
hoveredElementIds: Readonly<{
|
|
103
|
+
[id: string]: true;
|
|
104
|
+
}>;
|
|
99
105
|
previousSelectedElementIds: {
|
|
100
106
|
[id: string]: true;
|
|
101
107
|
};
|
|
@@ -196,6 +202,8 @@ export declare const actionToggleLinearEditor: {
|
|
|
196
202
|
objectsSnapModeEnabled: boolean;
|
|
197
203
|
userToFollow: import("../types").UserToFollow | null;
|
|
198
204
|
followedBy: Set<import("../types").SocketId>;
|
|
205
|
+
isCropping: boolean;
|
|
206
|
+
croppingElementId: string | null;
|
|
199
207
|
searchMatches: readonly {
|
|
200
208
|
id: string;
|
|
201
209
|
focus: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const actionLink: {
|
|
2
2
|
name: "hyperlink";
|
|
3
|
-
label: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => "labels.link.editEmbed" | "labels.link.edit" | "labels.link.
|
|
3
|
+
label: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => "labels.link.editEmbed" | "labels.link.edit" | "labels.link.create";
|
|
4
4
|
icon: JSX.Element;
|
|
5
5
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>) => false | {
|
|
6
6
|
elements: readonly import("../element/types").OrderedExcalidrawElement[];
|
|
@@ -85,12 +85,18 @@ export declare const actionLink: {
|
|
|
85
85
|
tab: "mermaid" | "text-to-diagram";
|
|
86
86
|
} | {
|
|
87
87
|
name: "commandPalette";
|
|
88
|
+
} | {
|
|
89
|
+
name: "elementLinkSelector";
|
|
90
|
+
sourceElementId: string;
|
|
88
91
|
} | null;
|
|
89
92
|
defaultSidebarDockedPreference: boolean;
|
|
90
93
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
91
94
|
selectedElementIds: Readonly<{
|
|
92
95
|
[id: string]: true;
|
|
93
96
|
}>;
|
|
97
|
+
hoveredElementIds: Readonly<{
|
|
98
|
+
[id: string]: true;
|
|
99
|
+
}>;
|
|
94
100
|
previousSelectedElementIds: {
|
|
95
101
|
[id: string]: true;
|
|
96
102
|
};
|
|
@@ -190,6 +196,8 @@ export declare const actionLink: {
|
|
|
190
196
|
objectsSnapModeEnabled: boolean;
|
|
191
197
|
userToFollow: import("../types").UserToFollow | null;
|
|
192
198
|
followedBy: Set<import("../types").SocketId>;
|
|
199
|
+
isCropping: boolean;
|
|
200
|
+
croppingElementId: string | null;
|
|
193
201
|
searchMatches: readonly {
|
|
194
202
|
id: string;
|
|
195
203
|
focus: boolean;
|
|
@@ -85,12 +85,18 @@ export declare const actionToggleCanvasMenu: {
|
|
|
85
85
|
tab: "mermaid" | "text-to-diagram";
|
|
86
86
|
} | {
|
|
87
87
|
name: "commandPalette";
|
|
88
|
+
} | {
|
|
89
|
+
name: "elementLinkSelector";
|
|
90
|
+
sourceElementId: string;
|
|
88
91
|
} | null;
|
|
89
92
|
defaultSidebarDockedPreference: boolean;
|
|
90
93
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
91
94
|
selectedElementIds: Readonly<{
|
|
92
95
|
[id: string]: true;
|
|
93
96
|
}>;
|
|
97
|
+
hoveredElementIds: Readonly<{
|
|
98
|
+
[id: string]: true;
|
|
99
|
+
}>;
|
|
94
100
|
previousSelectedElementIds: {
|
|
95
101
|
[id: string]: true;
|
|
96
102
|
};
|
|
@@ -191,6 +197,8 @@ export declare const actionToggleCanvasMenu: {
|
|
|
191
197
|
objectsSnapModeEnabled: boolean;
|
|
192
198
|
userToFollow: import("../types").UserToFollow | null;
|
|
193
199
|
followedBy: Set<import("../types").SocketId>;
|
|
200
|
+
isCropping: boolean;
|
|
201
|
+
croppingElementId: string | null;
|
|
194
202
|
searchMatches: readonly {
|
|
195
203
|
id: string;
|
|
196
204
|
focus: boolean;
|
|
@@ -295,12 +303,18 @@ export declare const actionToggleEditMenu: {
|
|
|
295
303
|
tab: "mermaid" | "text-to-diagram";
|
|
296
304
|
} | {
|
|
297
305
|
name: "commandPalette";
|
|
306
|
+
} | {
|
|
307
|
+
name: "elementLinkSelector";
|
|
308
|
+
sourceElementId: string;
|
|
298
309
|
} | null;
|
|
299
310
|
defaultSidebarDockedPreference: boolean;
|
|
300
311
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
301
312
|
selectedElementIds: Readonly<{
|
|
302
313
|
[id: string]: true;
|
|
303
314
|
}>;
|
|
315
|
+
hoveredElementIds: Readonly<{
|
|
316
|
+
[id: string]: true;
|
|
317
|
+
}>;
|
|
304
318
|
previousSelectedElementIds: {
|
|
305
319
|
[id: string]: true;
|
|
306
320
|
};
|
|
@@ -401,6 +415,8 @@ export declare const actionToggleEditMenu: {
|
|
|
401
415
|
objectsSnapModeEnabled: boolean;
|
|
402
416
|
userToFollow: import("../types").UserToFollow | null;
|
|
403
417
|
followedBy: Set<import("../types").SocketId>;
|
|
418
|
+
isCropping: boolean;
|
|
419
|
+
croppingElementId: string | null;
|
|
404
420
|
searchMatches: readonly {
|
|
405
421
|
id: string;
|
|
406
422
|
focus: boolean;
|
|
@@ -509,6 +525,9 @@ export declare const actionShortcuts: {
|
|
|
509
525
|
selectedElementIds: Readonly<{
|
|
510
526
|
[id: string]: true;
|
|
511
527
|
}>;
|
|
528
|
+
hoveredElementIds: Readonly<{
|
|
529
|
+
[id: string]: true;
|
|
530
|
+
}>;
|
|
512
531
|
previousSelectedElementIds: {
|
|
513
532
|
[id: string]: true;
|
|
514
533
|
};
|
|
@@ -609,6 +628,8 @@ export declare const actionShortcuts: {
|
|
|
609
628
|
objectsSnapModeEnabled: boolean;
|
|
610
629
|
userToFollow: import("../types").UserToFollow | null;
|
|
611
630
|
followedBy: Set<import("../types").SocketId>;
|
|
631
|
+
isCropping: boolean;
|
|
632
|
+
croppingElementId: string | null;
|
|
612
633
|
searchMatches: readonly {
|
|
613
634
|
id: string;
|
|
614
635
|
focus: boolean;
|
|
@@ -88,12 +88,18 @@ export declare const actionGoToCollaborator: {
|
|
|
88
88
|
tab: "mermaid" | "text-to-diagram";
|
|
89
89
|
} | {
|
|
90
90
|
name: "commandPalette";
|
|
91
|
+
} | {
|
|
92
|
+
name: "elementLinkSelector";
|
|
93
|
+
sourceElementId: string;
|
|
91
94
|
} | null;
|
|
92
95
|
defaultSidebarDockedPreference: boolean;
|
|
93
96
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
94
97
|
selectedElementIds: Readonly<{
|
|
95
98
|
[id: string]: true;
|
|
96
99
|
}>;
|
|
100
|
+
hoveredElementIds: Readonly<{
|
|
101
|
+
[id: string]: true;
|
|
102
|
+
}>;
|
|
97
103
|
previousSelectedElementIds: {
|
|
98
104
|
[id: string]: true;
|
|
99
105
|
};
|
|
@@ -193,6 +199,8 @@ export declare const actionGoToCollaborator: {
|
|
|
193
199
|
} | null;
|
|
194
200
|
objectsSnapModeEnabled: boolean;
|
|
195
201
|
followedBy: Set<import("../types").SocketId>;
|
|
202
|
+
isCropping: boolean;
|
|
203
|
+
croppingElementId: string | null;
|
|
196
204
|
searchMatches: readonly {
|
|
197
205
|
id: string;
|
|
198
206
|
focus: boolean;
|
|
@@ -290,12 +298,18 @@ export declare const actionGoToCollaborator: {
|
|
|
290
298
|
tab: "mermaid" | "text-to-diagram";
|
|
291
299
|
} | {
|
|
292
300
|
name: "commandPalette";
|
|
301
|
+
} | {
|
|
302
|
+
name: "elementLinkSelector";
|
|
303
|
+
sourceElementId: string;
|
|
293
304
|
} | null;
|
|
294
305
|
defaultSidebarDockedPreference: boolean;
|
|
295
306
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
296
307
|
selectedElementIds: Readonly<{
|
|
297
308
|
[id: string]: true;
|
|
298
309
|
}>;
|
|
310
|
+
hoveredElementIds: Readonly<{
|
|
311
|
+
[id: string]: true;
|
|
312
|
+
}>;
|
|
299
313
|
previousSelectedElementIds: {
|
|
300
314
|
[id: string]: true;
|
|
301
315
|
};
|
|
@@ -395,6 +409,8 @@ export declare const actionGoToCollaborator: {
|
|
|
395
409
|
} | null;
|
|
396
410
|
objectsSnapModeEnabled: boolean;
|
|
397
411
|
followedBy: Set<import("../types").SocketId>;
|
|
412
|
+
isCropping: boolean;
|
|
413
|
+
croppingElementId: string | null;
|
|
398
414
|
searchMatches: readonly {
|
|
399
415
|
id: string;
|
|
400
416
|
focus: boolean;
|