@zsviczian/excalidraw 0.17.6-3 → 0.17.6-31
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 +13100 -1540
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +21 -1
- package/dist/styles.development.css +490 -376
- package/dist/styles.production.css +10 -8
- package/package.json +5 -4
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +27 -3
- package/types/excalidraw/actions/actionAlign.d.ts +7 -6
- package/types/excalidraw/actions/actionBoundText.d.ts +18 -2
- package/types/excalidraw/actions/actionCanvas.d.ts +126 -14
- package/types/excalidraw/actions/actionClipboard.d.ts +61 -9
- package/types/excalidraw/actions/actionCropEditor.d.ts +222 -0
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +34 -6
- package/types/excalidraw/actions/actionElementLink.d.ts +244 -0
- package/types/excalidraw/actions/actionElementLock.d.ts +18 -2
- package/types/excalidraw/actions/actionExport.d.ts +77 -8
- package/types/excalidraw/actions/actionFinalize.d.ts +18 -2
- package/types/excalidraw/actions/actionFrame.d.ts +533 -4
- package/types/excalidraw/actions/actionGroup.d.ts +18 -2
- package/types/excalidraw/actions/actionLinearEditor.d.ts +9 -1
- package/types/excalidraw/actions/actionLink.d.ts +10 -2
- package/types/excalidraw/actions/actionMenu.d.ts +23 -2
- package/types/excalidraw/actions/actionNavigate.d.ts +18 -2
- package/types/excalidraw/actions/actionProperties.d.ts +135 -15
- package/types/excalidraw/actions/actionSelectAll.d.ts +9 -1
- package/types/excalidraw/actions/actionStyles.d.ts +9 -1
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +9 -1
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +9 -1
- package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +14 -1
- package/types/excalidraw/actions/actionToggleStats.d.ts +9 -1
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +9 -1
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +9 -1
- package/types/excalidraw/actions/index.d.ts +1 -0
- package/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/types/excalidraw/actions/types.d.ts +1 -1
- package/types/excalidraw/align.d.ts +2 -1
- package/types/excalidraw/change.d.ts +2 -2
- package/types/excalidraw/clipboard.d.ts +27 -5
- package/types/excalidraw/components/Actions.d.ts +2 -1
- package/types/excalidraw/components/ActiveConfirmDialog.d.ts +1 -1
- package/types/excalidraw/components/App.d.ts +21 -5
- package/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
- package/types/excalidraw/components/ElementLinkDialog.d.ts +11 -0
- package/types/excalidraw/components/EyeDropper.d.ts +1 -1
- package/types/excalidraw/components/IconPicker.d.ts +2 -2
- package/types/excalidraw/components/LayerUI.d.ts +2 -1
- package/types/excalidraw/components/LibraryMenu.d.ts +1 -1
- package/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts +1 -1
- package/types/excalidraw/components/Range.d.ts +8 -0
- package/types/excalidraw/components/SearchMenu.d.ts +1 -1
- package/types/excalidraw/components/Sidebar/Sidebar.d.ts +1 -1
- package/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
- package/types/excalidraw/components/Stats/utils.d.ts +1 -1
- package/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +1 -7
- package/types/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.d.ts +10 -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 +11 -0
- package/types/excalidraw/constants.d.ts +5 -1
- package/types/excalidraw/context/tunnels.d.ts +2 -1
- package/types/excalidraw/data/blob.d.ts +4 -0
- package/types/excalidraw/data/encode.d.ts +6 -5
- package/types/excalidraw/data/filesystem.d.ts +2 -1
- package/types/excalidraw/data/image.d.ts +0 -6
- package/types/excalidraw/data/library.d.ts +9 -3
- package/types/excalidraw/data/url.d.ts +0 -1
- package/types/excalidraw/dist/excalidraw.production.min.d.ts +3 -1
- package/types/excalidraw/editor-jotai.d.ts +56 -0
- package/types/excalidraw/element/binding.d.ts +10 -7
- package/types/excalidraw/element/cropElement.d.ts +19 -0
- package/types/excalidraw/element/elbowArrow.d.ts +16 -0
- package/types/excalidraw/element/elementLink.d.ts +13 -0
- package/types/excalidraw/element/embeddable.d.ts +9 -1
- package/types/excalidraw/element/flowchart.d.ts +1 -1
- package/types/excalidraw/element/heading.d.ts +5 -1
- package/types/excalidraw/element/image.d.ts +1 -1
- package/types/excalidraw/element/linearElementEditor.d.ts +9 -10
- package/types/excalidraw/element/mutateElement.d.ts +3 -1
- package/types/excalidraw/element/newElement.d.ts +9 -7
- package/types/excalidraw/element/resizeElements.d.ts +27 -5
- 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 +33 -1
- 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 +100 -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/frame.d.ts +11 -5
- package/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/types/excalidraw/index.d.ts +4 -3
- package/types/excalidraw/keys.d.ts +107 -0
- package/types/excalidraw/obsidianUtils.d.ts +9 -4
- 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 +8 -0
- package/types/excalidraw/scene/types.d.ts +7 -0
- package/types/excalidraw/types.d.ts +25 -1
- package/types/excalidraw/utils.d.ts +7 -1
- package/types/excalidraw/visualdebug.d.ts +8 -1
- package/types/math/line.d.ts +19 -0
- package/types/math/point.d.ts +10 -0
- package/types/math/utils.d.ts +1 -0
- package/types/math/vector.d.ts +4 -0
- package/types/utils/export.d.ts +6 -4
- 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/element/routing.d.ts +0 -12
- 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/jotai.d.ts +0 -34
- 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
|
@@ -131,18 +131,24 @@ export declare const actionClearCanvas: {
|
|
|
131
131
|
tab?: string | undefined;
|
|
132
132
|
} | null;
|
|
133
133
|
openDialog: {
|
|
134
|
-
name: "
|
|
134
|
+
name: "help" | "imageExport" | "jsonExport";
|
|
135
135
|
} | {
|
|
136
136
|
name: "ttd";
|
|
137
137
|
tab: "mermaid" | "text-to-diagram";
|
|
138
138
|
} | {
|
|
139
139
|
name: "commandPalette";
|
|
140
|
+
} | {
|
|
141
|
+
name: "elementLinkSelector";
|
|
142
|
+
sourceElementId: string;
|
|
140
143
|
} | null;
|
|
141
144
|
defaultSidebarDockedPreference: boolean;
|
|
142
145
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
143
146
|
selectedElementIds: Readonly<{
|
|
144
147
|
[id: string]: true;
|
|
145
148
|
}>;
|
|
149
|
+
hoveredElementIds: Readonly<{
|
|
150
|
+
[id: string]: true;
|
|
151
|
+
}>;
|
|
146
152
|
previousSelectedElementIds: {
|
|
147
153
|
[id: string]: true;
|
|
148
154
|
};
|
|
@@ -209,6 +215,8 @@ export declare const actionClearCanvas: {
|
|
|
209
215
|
objectsSnapModeEnabled: boolean;
|
|
210
216
|
userToFollow: import("../types").UserToFollow | null;
|
|
211
217
|
followedBy: Set<import("../types").SocketId>;
|
|
218
|
+
isCropping: boolean;
|
|
219
|
+
croppingElementId: string | null;
|
|
212
220
|
searchMatches: readonly {
|
|
213
221
|
id: string;
|
|
214
222
|
focus: boolean;
|
|
@@ -309,18 +317,24 @@ export declare const actionZoomIn: {
|
|
|
309
317
|
tab?: string | undefined;
|
|
310
318
|
} | null;
|
|
311
319
|
openDialog: {
|
|
312
|
-
name: "
|
|
320
|
+
name: "help" | "imageExport" | "jsonExport";
|
|
313
321
|
} | {
|
|
314
322
|
name: "ttd";
|
|
315
323
|
tab: "mermaid" | "text-to-diagram";
|
|
316
324
|
} | {
|
|
317
325
|
name: "commandPalette";
|
|
326
|
+
} | {
|
|
327
|
+
name: "elementLinkSelector";
|
|
328
|
+
sourceElementId: string;
|
|
318
329
|
} | null;
|
|
319
330
|
defaultSidebarDockedPreference: boolean;
|
|
320
331
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
321
332
|
selectedElementIds: Readonly<{
|
|
322
333
|
[id: string]: true;
|
|
323
334
|
}>;
|
|
335
|
+
hoveredElementIds: Readonly<{
|
|
336
|
+
[id: string]: true;
|
|
337
|
+
}>;
|
|
324
338
|
previousSelectedElementIds: {
|
|
325
339
|
[id: string]: true;
|
|
326
340
|
};
|
|
@@ -420,6 +434,8 @@ export declare const actionZoomIn: {
|
|
|
420
434
|
} | null;
|
|
421
435
|
objectsSnapModeEnabled: boolean;
|
|
422
436
|
followedBy: Set<import("../types").SocketId>;
|
|
437
|
+
isCropping: boolean;
|
|
438
|
+
croppingElementId: string | null;
|
|
423
439
|
searchMatches: readonly {
|
|
424
440
|
id: string;
|
|
425
441
|
focus: boolean;
|
|
@@ -522,18 +538,24 @@ export declare const actionZoomOut: {
|
|
|
522
538
|
tab?: string | undefined;
|
|
523
539
|
} | null;
|
|
524
540
|
openDialog: {
|
|
525
|
-
name: "
|
|
541
|
+
name: "help" | "imageExport" | "jsonExport";
|
|
526
542
|
} | {
|
|
527
543
|
name: "ttd";
|
|
528
544
|
tab: "mermaid" | "text-to-diagram";
|
|
529
545
|
} | {
|
|
530
546
|
name: "commandPalette";
|
|
547
|
+
} | {
|
|
548
|
+
name: "elementLinkSelector";
|
|
549
|
+
sourceElementId: string;
|
|
531
550
|
} | null;
|
|
532
551
|
defaultSidebarDockedPreference: boolean;
|
|
533
552
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
534
553
|
selectedElementIds: Readonly<{
|
|
535
554
|
[id: string]: true;
|
|
536
555
|
}>;
|
|
556
|
+
hoveredElementIds: Readonly<{
|
|
557
|
+
[id: string]: true;
|
|
558
|
+
}>;
|
|
537
559
|
previousSelectedElementIds: {
|
|
538
560
|
[id: string]: true;
|
|
539
561
|
};
|
|
@@ -633,6 +655,8 @@ export declare const actionZoomOut: {
|
|
|
633
655
|
} | null;
|
|
634
656
|
objectsSnapModeEnabled: boolean;
|
|
635
657
|
followedBy: Set<import("../types").SocketId>;
|
|
658
|
+
isCropping: boolean;
|
|
659
|
+
croppingElementId: string | null;
|
|
636
660
|
searchMatches: readonly {
|
|
637
661
|
id: string;
|
|
638
662
|
focus: boolean;
|
|
@@ -735,18 +759,24 @@ export declare const actionResetZoom: {
|
|
|
735
759
|
tab?: string | undefined;
|
|
736
760
|
} | null;
|
|
737
761
|
openDialog: {
|
|
738
|
-
name: "
|
|
762
|
+
name: "help" | "imageExport" | "jsonExport";
|
|
739
763
|
} | {
|
|
740
764
|
name: "ttd";
|
|
741
765
|
tab: "mermaid" | "text-to-diagram";
|
|
742
766
|
} | {
|
|
743
767
|
name: "commandPalette";
|
|
768
|
+
} | {
|
|
769
|
+
name: "elementLinkSelector";
|
|
770
|
+
sourceElementId: string;
|
|
744
771
|
} | null;
|
|
745
772
|
defaultSidebarDockedPreference: boolean;
|
|
746
773
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
747
774
|
selectedElementIds: Readonly<{
|
|
748
775
|
[id: string]: true;
|
|
749
776
|
}>;
|
|
777
|
+
hoveredElementIds: Readonly<{
|
|
778
|
+
[id: string]: true;
|
|
779
|
+
}>;
|
|
750
780
|
previousSelectedElementIds: {
|
|
751
781
|
[id: string]: true;
|
|
752
782
|
};
|
|
@@ -846,6 +876,8 @@ export declare const actionResetZoom: {
|
|
|
846
876
|
} | null;
|
|
847
877
|
objectsSnapModeEnabled: boolean;
|
|
848
878
|
followedBy: Set<import("../types").SocketId>;
|
|
879
|
+
isCropping: boolean;
|
|
880
|
+
croppingElementId: string | null;
|
|
849
881
|
searchMatches: readonly {
|
|
850
882
|
id: string;
|
|
851
883
|
focus: boolean;
|
|
@@ -954,18 +986,24 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
954
986
|
tab?: string | undefined;
|
|
955
987
|
} | null;
|
|
956
988
|
openDialog: {
|
|
957
|
-
name: "
|
|
989
|
+
name: "help" | "imageExport" | "jsonExport";
|
|
958
990
|
} | {
|
|
959
991
|
name: "ttd";
|
|
960
992
|
tab: "mermaid" | "text-to-diagram";
|
|
961
993
|
} | {
|
|
962
994
|
name: "commandPalette";
|
|
995
|
+
} | {
|
|
996
|
+
name: "elementLinkSelector";
|
|
997
|
+
sourceElementId: string;
|
|
963
998
|
} | null;
|
|
964
999
|
defaultSidebarDockedPreference: boolean;
|
|
965
1000
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
966
1001
|
selectedElementIds: Readonly<{
|
|
967
1002
|
[id: string]: true;
|
|
968
1003
|
}>;
|
|
1004
|
+
hoveredElementIds: Readonly<{
|
|
1005
|
+
[id: string]: true;
|
|
1006
|
+
}>;
|
|
969
1007
|
previousSelectedElementIds: {
|
|
970
1008
|
[id: string]: true;
|
|
971
1009
|
};
|
|
@@ -1066,6 +1104,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
1066
1104
|
objectsSnapModeEnabled: boolean;
|
|
1067
1105
|
userToFollow: import("../types").UserToFollow | null;
|
|
1068
1106
|
followedBy: Set<import("../types").SocketId>;
|
|
1107
|
+
isCropping: boolean;
|
|
1108
|
+
croppingElementId: string | null;
|
|
1069
1109
|
searchMatches: readonly {
|
|
1070
1110
|
id: string;
|
|
1071
1111
|
focus: boolean;
|
|
@@ -1169,18 +1209,24 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1169
1209
|
tab?: string | undefined;
|
|
1170
1210
|
} | null;
|
|
1171
1211
|
openDialog: {
|
|
1172
|
-
name: "
|
|
1212
|
+
name: "help" | "imageExport" | "jsonExport";
|
|
1173
1213
|
} | {
|
|
1174
1214
|
name: "ttd";
|
|
1175
1215
|
tab: "mermaid" | "text-to-diagram";
|
|
1176
1216
|
} | {
|
|
1177
1217
|
name: "commandPalette";
|
|
1218
|
+
} | {
|
|
1219
|
+
name: "elementLinkSelector";
|
|
1220
|
+
sourceElementId: string;
|
|
1178
1221
|
} | null;
|
|
1179
1222
|
defaultSidebarDockedPreference: boolean;
|
|
1180
1223
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1181
1224
|
selectedElementIds: Readonly<{
|
|
1182
1225
|
[id: string]: true;
|
|
1183
1226
|
}>;
|
|
1227
|
+
hoveredElementIds: Readonly<{
|
|
1228
|
+
[id: string]: true;
|
|
1229
|
+
}>;
|
|
1184
1230
|
previousSelectedElementIds: {
|
|
1185
1231
|
[id: string]: true;
|
|
1186
1232
|
};
|
|
@@ -1281,6 +1327,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1281
1327
|
objectsSnapModeEnabled: boolean;
|
|
1282
1328
|
userToFollow: import("../types").UserToFollow | null;
|
|
1283
1329
|
followedBy: Set<import("../types").SocketId>;
|
|
1330
|
+
isCropping: boolean;
|
|
1331
|
+
croppingElementId: string | null;
|
|
1284
1332
|
searchMatches: readonly {
|
|
1285
1333
|
id: string;
|
|
1286
1334
|
focus: boolean;
|
|
@@ -1376,18 +1424,24 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1376
1424
|
tab?: string | undefined;
|
|
1377
1425
|
} | null;
|
|
1378
1426
|
openDialog: {
|
|
1379
|
-
name: "
|
|
1427
|
+
name: "help" | "imageExport" | "jsonExport";
|
|
1380
1428
|
} | {
|
|
1381
1429
|
name: "ttd";
|
|
1382
1430
|
tab: "mermaid" | "text-to-diagram";
|
|
1383
1431
|
} | {
|
|
1384
1432
|
name: "commandPalette";
|
|
1433
|
+
} | {
|
|
1434
|
+
name: "elementLinkSelector";
|
|
1435
|
+
sourceElementId: string;
|
|
1385
1436
|
} | null;
|
|
1386
1437
|
defaultSidebarDockedPreference: boolean;
|
|
1387
1438
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1388
1439
|
selectedElementIds: Readonly<{
|
|
1389
1440
|
[id: string]: true;
|
|
1390
1441
|
}>;
|
|
1442
|
+
hoveredElementIds: Readonly<{
|
|
1443
|
+
[id: string]: true;
|
|
1444
|
+
}>;
|
|
1391
1445
|
previousSelectedElementIds: {
|
|
1392
1446
|
[id: string]: true;
|
|
1393
1447
|
};
|
|
@@ -1488,6 +1542,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1488
1542
|
objectsSnapModeEnabled: boolean;
|
|
1489
1543
|
userToFollow: import("../types").UserToFollow | null;
|
|
1490
1544
|
followedBy: Set<import("../types").SocketId>;
|
|
1545
|
+
isCropping: boolean;
|
|
1546
|
+
croppingElementId: string | null;
|
|
1491
1547
|
searchMatches: readonly {
|
|
1492
1548
|
id: string;
|
|
1493
1549
|
focus: boolean;
|
|
@@ -1587,18 +1643,24 @@ export declare const actionZoomToFitSelection: {
|
|
|
1587
1643
|
tab?: string | undefined;
|
|
1588
1644
|
} | null;
|
|
1589
1645
|
openDialog: {
|
|
1590
|
-
name: "
|
|
1646
|
+
name: "help" | "imageExport" | "jsonExport";
|
|
1591
1647
|
} | {
|
|
1592
1648
|
name: "ttd";
|
|
1593
1649
|
tab: "mermaid" | "text-to-diagram";
|
|
1594
1650
|
} | {
|
|
1595
1651
|
name: "commandPalette";
|
|
1652
|
+
} | {
|
|
1653
|
+
name: "elementLinkSelector";
|
|
1654
|
+
sourceElementId: string;
|
|
1596
1655
|
} | null;
|
|
1597
1656
|
defaultSidebarDockedPreference: boolean;
|
|
1598
1657
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1599
1658
|
selectedElementIds: Readonly<{
|
|
1600
1659
|
[id: string]: true;
|
|
1601
1660
|
}>;
|
|
1661
|
+
hoveredElementIds: Readonly<{
|
|
1662
|
+
[id: string]: true;
|
|
1663
|
+
}>;
|
|
1602
1664
|
previousSelectedElementIds: {
|
|
1603
1665
|
[id: string]: true;
|
|
1604
1666
|
};
|
|
@@ -1699,6 +1761,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
1699
1761
|
objectsSnapModeEnabled: boolean;
|
|
1700
1762
|
userToFollow: import("../types").UserToFollow | null;
|
|
1701
1763
|
followedBy: Set<import("../types").SocketId>;
|
|
1764
|
+
isCropping: boolean;
|
|
1765
|
+
croppingElementId: string | null;
|
|
1702
1766
|
searchMatches: readonly {
|
|
1703
1767
|
id: string;
|
|
1704
1768
|
focus: boolean;
|
|
@@ -1799,18 +1863,24 @@ export declare const actionZoomToFit: {
|
|
|
1799
1863
|
tab?: string | undefined;
|
|
1800
1864
|
} | null;
|
|
1801
1865
|
openDialog: {
|
|
1802
|
-
name: "
|
|
1866
|
+
name: "help" | "imageExport" | "jsonExport";
|
|
1803
1867
|
} | {
|
|
1804
1868
|
name: "ttd";
|
|
1805
1869
|
tab: "mermaid" | "text-to-diagram";
|
|
1806
1870
|
} | {
|
|
1807
1871
|
name: "commandPalette";
|
|
1872
|
+
} | {
|
|
1873
|
+
name: "elementLinkSelector";
|
|
1874
|
+
sourceElementId: string;
|
|
1808
1875
|
} | null;
|
|
1809
1876
|
defaultSidebarDockedPreference: boolean;
|
|
1810
1877
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1811
1878
|
selectedElementIds: Readonly<{
|
|
1812
1879
|
[id: string]: true;
|
|
1813
1880
|
}>;
|
|
1881
|
+
hoveredElementIds: Readonly<{
|
|
1882
|
+
[id: string]: true;
|
|
1883
|
+
}>;
|
|
1814
1884
|
previousSelectedElementIds: {
|
|
1815
1885
|
[id: string]: true;
|
|
1816
1886
|
};
|
|
@@ -1911,6 +1981,8 @@ export declare const actionZoomToFit: {
|
|
|
1911
1981
|
objectsSnapModeEnabled: boolean;
|
|
1912
1982
|
userToFollow: import("../types").UserToFollow | null;
|
|
1913
1983
|
followedBy: Set<import("../types").SocketId>;
|
|
1984
|
+
isCropping: boolean;
|
|
1985
|
+
croppingElementId: string | null;
|
|
1914
1986
|
searchMatches: readonly {
|
|
1915
1987
|
id: string;
|
|
1916
1988
|
focus: boolean;
|
|
@@ -2013,18 +2085,24 @@ export declare const actionToggleTheme: {
|
|
|
2013
2085
|
tab?: string | undefined;
|
|
2014
2086
|
} | null;
|
|
2015
2087
|
openDialog: {
|
|
2016
|
-
name: "
|
|
2088
|
+
name: "help" | "imageExport" | "jsonExport";
|
|
2017
2089
|
} | {
|
|
2018
2090
|
name: "ttd";
|
|
2019
2091
|
tab: "mermaid" | "text-to-diagram";
|
|
2020
2092
|
} | {
|
|
2021
2093
|
name: "commandPalette";
|
|
2094
|
+
} | {
|
|
2095
|
+
name: "elementLinkSelector";
|
|
2096
|
+
sourceElementId: string;
|
|
2022
2097
|
} | null;
|
|
2023
2098
|
defaultSidebarDockedPreference: boolean;
|
|
2024
2099
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
2025
2100
|
selectedElementIds: Readonly<{
|
|
2026
2101
|
[id: string]: true;
|
|
2027
2102
|
}>;
|
|
2103
|
+
hoveredElementIds: Readonly<{
|
|
2104
|
+
[id: string]: true;
|
|
2105
|
+
}>;
|
|
2028
2106
|
previousSelectedElementIds: {
|
|
2029
2107
|
[id: string]: true;
|
|
2030
2108
|
};
|
|
@@ -2124,6 +2202,8 @@ export declare const actionToggleTheme: {
|
|
|
2124
2202
|
objectsSnapModeEnabled: boolean;
|
|
2125
2203
|
userToFollow: import("../types").UserToFollow | null;
|
|
2126
2204
|
followedBy: Set<import("../types").SocketId>;
|
|
2205
|
+
isCropping: boolean;
|
|
2206
|
+
croppingElementId: string | null;
|
|
2127
2207
|
searchMatches: readonly {
|
|
2128
2208
|
id: string;
|
|
2129
2209
|
focus: boolean;
|
|
@@ -2222,15 +2302,21 @@ export declare const actionToggleEraserTool: {
|
|
|
2222
2302
|
tab?: string | undefined;
|
|
2223
2303
|
} | null;
|
|
2224
2304
|
openDialog: {
|
|
2225
|
-
name: "
|
|
2305
|
+
name: "help" | "imageExport" | "jsonExport";
|
|
2226
2306
|
} | {
|
|
2227
2307
|
name: "ttd";
|
|
2228
2308
|
tab: "mermaid" | "text-to-diagram";
|
|
2229
2309
|
} | {
|
|
2230
2310
|
name: "commandPalette";
|
|
2311
|
+
} | {
|
|
2312
|
+
name: "elementLinkSelector";
|
|
2313
|
+
sourceElementId: string;
|
|
2231
2314
|
} | null;
|
|
2232
2315
|
defaultSidebarDockedPreference: boolean;
|
|
2233
2316
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
2317
|
+
hoveredElementIds: Readonly<{
|
|
2318
|
+
[id: string]: true;
|
|
2319
|
+
}>;
|
|
2234
2320
|
previousSelectedElementIds: {
|
|
2235
2321
|
[id: string]: true;
|
|
2236
2322
|
};
|
|
@@ -2328,6 +2414,8 @@ export declare const actionToggleEraserTool: {
|
|
|
2328
2414
|
objectsSnapModeEnabled: boolean;
|
|
2329
2415
|
userToFollow: import("../types").UserToFollow | null;
|
|
2330
2416
|
followedBy: Set<import("../types").SocketId>;
|
|
2417
|
+
isCropping: boolean;
|
|
2418
|
+
croppingElementId: string | null;
|
|
2331
2419
|
searchMatches: readonly {
|
|
2332
2420
|
id: string;
|
|
2333
2421
|
focus: boolean;
|
|
@@ -2428,15 +2516,21 @@ export declare const actionToggleHandTool: {
|
|
|
2428
2516
|
tab?: string | undefined;
|
|
2429
2517
|
} | null;
|
|
2430
2518
|
openDialog: {
|
|
2431
|
-
name: "
|
|
2519
|
+
name: "help" | "imageExport" | "jsonExport";
|
|
2432
2520
|
} | {
|
|
2433
2521
|
name: "ttd";
|
|
2434
2522
|
tab: "mermaid" | "text-to-diagram";
|
|
2435
2523
|
} | {
|
|
2436
2524
|
name: "commandPalette";
|
|
2525
|
+
} | {
|
|
2526
|
+
name: "elementLinkSelector";
|
|
2527
|
+
sourceElementId: string;
|
|
2437
2528
|
} | null;
|
|
2438
2529
|
defaultSidebarDockedPreference: boolean;
|
|
2439
2530
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
2531
|
+
hoveredElementIds: Readonly<{
|
|
2532
|
+
[id: string]: true;
|
|
2533
|
+
}>;
|
|
2440
2534
|
previousSelectedElementIds: {
|
|
2441
2535
|
[id: string]: true;
|
|
2442
2536
|
};
|
|
@@ -2534,6 +2628,8 @@ export declare const actionToggleHandTool: {
|
|
|
2534
2628
|
objectsSnapModeEnabled: boolean;
|
|
2535
2629
|
userToFollow: import("../types").UserToFollow | null;
|
|
2536
2630
|
followedBy: Set<import("../types").SocketId>;
|
|
2631
|
+
isCropping: boolean;
|
|
2632
|
+
croppingElementId: string | null;
|
|
2537
2633
|
searchMatches: readonly {
|
|
2538
2634
|
id: string;
|
|
2539
2635
|
focus: boolean;
|
|
@@ -2631,15 +2727,21 @@ export declare const actionToggleLaserPointer: {
|
|
|
2631
2727
|
tab?: string | undefined;
|
|
2632
2728
|
} | null;
|
|
2633
2729
|
openDialog: {
|
|
2634
|
-
name: "
|
|
2730
|
+
name: "help" | "imageExport" | "jsonExport";
|
|
2635
2731
|
} | {
|
|
2636
2732
|
name: "ttd";
|
|
2637
2733
|
tab: "mermaid" | "text-to-diagram";
|
|
2638
2734
|
} | {
|
|
2639
2735
|
name: "commandPalette";
|
|
2736
|
+
} | {
|
|
2737
|
+
name: "elementLinkSelector";
|
|
2738
|
+
sourceElementId: string;
|
|
2640
2739
|
} | null;
|
|
2641
2740
|
defaultSidebarDockedPreference: boolean;
|
|
2642
2741
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
2742
|
+
hoveredElementIds: Readonly<{
|
|
2743
|
+
[id: string]: true;
|
|
2744
|
+
}>;
|
|
2643
2745
|
previousSelectedElementIds: {
|
|
2644
2746
|
[id: string]: true;
|
|
2645
2747
|
};
|
|
@@ -2737,6 +2839,8 @@ export declare const actionToggleLaserPointer: {
|
|
|
2737
2839
|
objectsSnapModeEnabled: boolean;
|
|
2738
2840
|
userToFollow: import("../types").UserToFollow | null;
|
|
2739
2841
|
followedBy: Set<import("../types").SocketId>;
|
|
2842
|
+
isCropping: boolean;
|
|
2843
|
+
croppingElementId: string | null;
|
|
2740
2844
|
searchMatches: readonly {
|
|
2741
2845
|
id: string;
|
|
2742
2846
|
focus: boolean;
|
|
@@ -2831,18 +2935,24 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
2831
2935
|
tab?: string | undefined;
|
|
2832
2936
|
} | null;
|
|
2833
2937
|
openDialog: {
|
|
2834
|
-
name: "
|
|
2938
|
+
name: "help" | "imageExport" | "jsonExport";
|
|
2835
2939
|
} | {
|
|
2836
2940
|
name: "ttd";
|
|
2837
2941
|
tab: "mermaid" | "text-to-diagram";
|
|
2838
2942
|
} | {
|
|
2839
2943
|
name: "commandPalette";
|
|
2944
|
+
} | {
|
|
2945
|
+
name: "elementLinkSelector";
|
|
2946
|
+
sourceElementId: string;
|
|
2840
2947
|
} | null;
|
|
2841
2948
|
defaultSidebarDockedPreference: boolean;
|
|
2842
2949
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
2843
2950
|
selectedElementIds: Readonly<{
|
|
2844
2951
|
[id: string]: true;
|
|
2845
2952
|
}>;
|
|
2953
|
+
hoveredElementIds: Readonly<{
|
|
2954
|
+
[id: string]: true;
|
|
2955
|
+
}>;
|
|
2846
2956
|
previousSelectedElementIds: {
|
|
2847
2957
|
[id: string]: true;
|
|
2848
2958
|
};
|
|
@@ -2943,6 +3053,8 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
2943
3053
|
objectsSnapModeEnabled: boolean;
|
|
2944
3054
|
userToFollow: import("../types").UserToFollow | null;
|
|
2945
3055
|
followedBy: Set<import("../types").SocketId>;
|
|
3056
|
+
isCropping: boolean;
|
|
3057
|
+
croppingElementId: string | null;
|
|
2946
3058
|
searchMatches: readonly {
|
|
2947
3059
|
id: string;
|
|
2948
3060
|
focus: boolean;
|