@excalidraw/excalidraw 0.18.0-864353b → 0.18.0-8fc71066d
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/dev/{chunk-BBNNHA7I.js → chunk-CP5DND7P.js} +2 -2
- package/dist/dev/{chunk-BBNNHA7I.js.map → chunk-CP5DND7P.js.map} +1 -1
- package/dist/dev/chunk-CRKRRBMD.js +5677 -0
- package/dist/dev/chunk-CRKRRBMD.js.map +7 -0
- package/dist/dev/{chunk-7YMZV3TY.js → chunk-QF5FRM6O.js} +2 -2
- package/dist/dev/{chunk-7YMZV3TY.js.map → chunk-QF5FRM6O.js.map} +2 -2
- package/dist/dev/data/{image-OFYK7EOY.js → image-IWGLHPIX.js} +3 -3
- package/dist/dev/index.css +4 -0
- package/dist/dev/index.css.map +2 -2
- package/dist/dev/index.js +6345 -4110
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-KIY5SGI3.js → en-SMAPCEOQ.js} +2 -2
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/{chunk-UH6Q3EIV.js → chunk-A66AFZZU.js} +1 -1
- package/dist/prod/chunk-HHV2PJKY.js +4 -0
- package/dist/prod/{chunk-OUULIERA.js → chunk-I4UNSFV6.js} +3 -3
- package/dist/prod/data/image-4SM4COIL.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +25 -18
- package/dist/prod/locales/{en-GCLCIHXH.js → en-TYY6KWIJ.js} +1 -1
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/common/src/constants.d.ts +12 -2
- package/dist/types/common/src/utils.d.ts +3 -5
- package/dist/types/element/src/Scene.d.ts +7 -3
- package/dist/types/element/src/align.d.ts +2 -1
- package/dist/types/element/src/binding.d.ts +10 -7
- package/dist/types/element/src/bounds.d.ts +11 -3
- package/dist/types/element/src/collision.d.ts +18 -12
- package/dist/types/element/src/cropElement.d.ts +1 -1
- package/dist/types/element/src/delta.d.ts +42 -9
- package/dist/types/element/src/distance.d.ts +2 -2
- package/dist/types/element/src/distribute.d.ts +2 -1
- package/dist/types/element/src/fractionalIndex.d.ts +8 -2
- package/dist/types/element/src/frame.d.ts +2 -2
- package/dist/types/element/src/groups.d.ts +1 -0
- package/dist/types/element/src/index.d.ts +1 -3
- package/dist/types/element/src/linearElementEditor.d.ts +5 -7
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/resizeElements.d.ts +1 -0
- package/dist/types/element/src/selection.d.ts +1 -1
- package/dist/types/element/src/shape.d.ts +42 -0
- package/dist/types/element/src/store.d.ts +14 -9
- package/dist/types/element/src/transformHandles.d.ts +4 -4
- package/dist/types/element/src/typeChecks.d.ts +4 -0
- package/dist/types/element/src/types.d.ts +1 -1
- package/dist/types/element/src/utils.d.ts +16 -6
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +9 -15
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +6 -10
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +129 -155
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +25 -36
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +3 -5
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +14 -20
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +2 -4
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +8 -12
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +3 -5
- package/dist/types/excalidraw/actions/actionExport.d.ts +112 -130
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +9 -12
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +62 -70
- package/dist/types/excalidraw/actions/actionGroup.d.ts +12 -16
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +84 -55
- package/dist/types/excalidraw/actions/actionLink.d.ts +4 -6
- package/dist/types/excalidraw/actions/actionMenu.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +6 -10
- package/dist/types/excalidraw/actions/actionProperties.d.ts +49 -79
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +6 -8
- package/dist/types/excalidraw/actions/actionStyles.d.ts +7 -9
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +5 -7
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +5 -7
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +4 -6
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +5 -7
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +5 -7
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +5 -7
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/appState.d.ts +20 -20
- package/dist/types/excalidraw/components/Actions.d.ts +0 -4
- package/dist/types/excalidraw/components/App.d.ts +17 -18
- package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +11 -1
- package/dist/types/excalidraw/components/shapes.d.ts +1 -1
- package/dist/types/excalidraw/data/blob.d.ts +1 -1
- package/dist/types/excalidraw/data/reconcile.d.ts +1 -0
- package/dist/types/excalidraw/data/restore.d.ts +6 -1
- package/dist/types/excalidraw/eraser/index.d.ts +0 -2
- package/dist/types/excalidraw/history.d.ts +21 -5
- package/dist/types/excalidraw/index.d.ts +2 -1
- package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
- package/dist/types/excalidraw/renderer/helpers.d.ts +3 -3
- package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +0 -1
- package/dist/types/excalidraw/types.d.ts +9 -9
- package/dist/types/math/src/constants.d.ts +3 -0
- package/dist/types/math/src/curve.d.ts +32 -0
- package/dist/types/math/src/index.d.ts +1 -0
- package/dist/types/math/src/rectangle.d.ts +2 -0
- package/dist/types/math/src/vector.d.ts +4 -2
- package/history.ts +107 -44
- package/package.json +12 -9
- package/dist/dev/chunk-LL55DS44.js +0 -23677
- package/dist/dev/chunk-LL55DS44.js.map +0 -7
- package/dist/prod/chunk-F44EGBV2.js +0 -33
- package/dist/prod/data/image-CUOH64HE.js +0 -1
- package/dist/types/element/src/Shape.d.ts +0 -17
- package/dist/types/element/src/ShapeCache.d.ts +0 -25
- package/dist/types/element/src/shapes.d.ts +0 -27
- package/dist/types/excalidraw/visualdebug.d.ts +0 -41
- package/dist/types/utils/src/collision.d.ts +0 -8
- /package/dist/dev/data/{image-OFYK7EOY.js.map → image-IWGLHPIX.js.map} +0 -0
- /package/dist/dev/locales/{en-KIY5SGI3.js.map → en-SMAPCEOQ.js.map} +0 -0
|
@@ -19,7 +19,7 @@ export declare const actionCopy: {
|
|
|
19
19
|
isLoading: boolean;
|
|
20
20
|
activeEmbeddable: {
|
|
21
21
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
22
|
-
state: "
|
|
22
|
+
state: "active" | "hover";
|
|
23
23
|
} | null;
|
|
24
24
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
25
25
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -38,7 +38,6 @@ export declare const actionCopy: {
|
|
|
38
38
|
editingFrame: string | null;
|
|
39
39
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
40
40
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
41
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
42
41
|
activeTool: {
|
|
43
42
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
44
43
|
locked: boolean;
|
|
@@ -86,7 +85,7 @@ export declare const actionCopy: {
|
|
|
86
85
|
name: "imageExport" | "help" | "jsonExport";
|
|
87
86
|
} | {
|
|
88
87
|
name: "ttd";
|
|
89
|
-
tab: "text-to-diagram"
|
|
88
|
+
tab: "mermaid" | "text-to-diagram";
|
|
90
89
|
} | {
|
|
91
90
|
name: "commandPalette";
|
|
92
91
|
} | {
|
|
@@ -158,8 +157,7 @@ export declare const actionCopy: {
|
|
|
158
157
|
shown: true;
|
|
159
158
|
data: import("../charts").Spreadsheet;
|
|
160
159
|
};
|
|
161
|
-
|
|
162
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
160
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
163
161
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
164
162
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
165
163
|
originSnapOffset: {
|
|
@@ -207,7 +205,7 @@ export declare const actionPaste: {
|
|
|
207
205
|
isLoading: boolean;
|
|
208
206
|
activeEmbeddable: {
|
|
209
207
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
210
|
-
state: "
|
|
208
|
+
state: "active" | "hover";
|
|
211
209
|
} | null;
|
|
212
210
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
213
211
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -226,7 +224,6 @@ export declare const actionPaste: {
|
|
|
226
224
|
editingFrame: string | null;
|
|
227
225
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
228
226
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
229
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
230
227
|
activeTool: {
|
|
231
228
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
232
229
|
locked: boolean;
|
|
@@ -274,7 +271,7 @@ export declare const actionPaste: {
|
|
|
274
271
|
name: "imageExport" | "help" | "jsonExport";
|
|
275
272
|
} | {
|
|
276
273
|
name: "ttd";
|
|
277
|
-
tab: "text-to-diagram"
|
|
274
|
+
tab: "mermaid" | "text-to-diagram";
|
|
278
275
|
} | {
|
|
279
276
|
name: "commandPalette";
|
|
280
277
|
} | {
|
|
@@ -346,8 +343,7 @@ export declare const actionPaste: {
|
|
|
346
343
|
shown: true;
|
|
347
344
|
data: import("../charts").Spreadsheet;
|
|
348
345
|
};
|
|
349
|
-
|
|
350
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
346
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
351
347
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
352
348
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
353
349
|
originSnapOffset: {
|
|
@@ -386,7 +382,7 @@ export declare const actionCut: {
|
|
|
386
382
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, event: ClipboardEvent | null, app: import("../types").AppClassProperties) => false | {
|
|
387
383
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
388
384
|
appState: {
|
|
389
|
-
|
|
385
|
+
selectedLinearElement: null;
|
|
390
386
|
contextMenu: {
|
|
391
387
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
392
388
|
top: number;
|
|
@@ -397,7 +393,7 @@ export declare const actionCut: {
|
|
|
397
393
|
errorMessage: import("react").ReactNode;
|
|
398
394
|
activeEmbeddable: {
|
|
399
395
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
400
|
-
state: "
|
|
396
|
+
state: "active" | "hover";
|
|
401
397
|
} | null;
|
|
402
398
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
403
399
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -463,7 +459,7 @@ export declare const actionCut: {
|
|
|
463
459
|
name: "imageExport" | "help" | "jsonExport";
|
|
464
460
|
} | {
|
|
465
461
|
name: "ttd";
|
|
466
|
-
tab: "text-to-diagram"
|
|
462
|
+
tab: "mermaid" | "text-to-diagram";
|
|
467
463
|
} | {
|
|
468
464
|
name: "commandPalette";
|
|
469
465
|
} | {
|
|
@@ -535,9 +531,7 @@ export declare const actionCut: {
|
|
|
535
531
|
shown: true;
|
|
536
532
|
data: import("../charts").Spreadsheet;
|
|
537
533
|
};
|
|
538
|
-
|
|
539
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
540
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
534
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
541
535
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
542
536
|
originSnapOffset: {
|
|
543
537
|
x: number;
|
|
@@ -561,7 +555,7 @@ export declare const actionCut: {
|
|
|
561
555
|
} | {
|
|
562
556
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
563
557
|
appState: {
|
|
564
|
-
|
|
558
|
+
selectedLinearElement: {
|
|
565
559
|
selectedPointsIndices: number[];
|
|
566
560
|
startBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
|
|
567
561
|
endBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
|
|
@@ -592,6 +586,7 @@ export declare const actionCut: {
|
|
|
592
586
|
segmentMidPointHoveredCoords: import("@excalidraw/math").GlobalPoint | null;
|
|
593
587
|
elbowed: boolean;
|
|
594
588
|
customLineAngle: number | null;
|
|
589
|
+
isEditing: boolean;
|
|
595
590
|
};
|
|
596
591
|
contextMenu: {
|
|
597
592
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -603,7 +598,7 @@ export declare const actionCut: {
|
|
|
603
598
|
errorMessage: import("react").ReactNode;
|
|
604
599
|
activeEmbeddable: {
|
|
605
600
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
606
|
-
state: "
|
|
601
|
+
state: "active" | "hover";
|
|
607
602
|
} | null;
|
|
608
603
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
609
604
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -669,7 +664,7 @@ export declare const actionCut: {
|
|
|
669
664
|
name: "imageExport" | "help" | "jsonExport";
|
|
670
665
|
} | {
|
|
671
666
|
name: "ttd";
|
|
672
|
-
tab: "text-to-diagram"
|
|
667
|
+
tab: "mermaid" | "text-to-diagram";
|
|
673
668
|
} | {
|
|
674
669
|
name: "commandPalette";
|
|
675
670
|
} | {
|
|
@@ -741,9 +736,7 @@ export declare const actionCut: {
|
|
|
741
736
|
shown: true;
|
|
742
737
|
data: import("../charts").Spreadsheet;
|
|
743
738
|
};
|
|
744
|
-
|
|
745
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
746
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
739
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
747
740
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
748
741
|
originSnapOffset: {
|
|
749
742
|
x: number;
|
|
@@ -775,13 +768,13 @@ export declare const actionCut: {
|
|
|
775
768
|
multiElement: null;
|
|
776
769
|
activeEmbeddable: null;
|
|
777
770
|
selectedLinearElement: null;
|
|
771
|
+
editingGroupId: string | null;
|
|
778
772
|
selectedElementIds: Readonly<{
|
|
779
773
|
[id: string]: true;
|
|
780
774
|
}>;
|
|
781
775
|
selectedGroupIds: {
|
|
782
776
|
[groupId: string]: boolean;
|
|
783
777
|
};
|
|
784
|
-
editingGroupId: string | null;
|
|
785
778
|
contextMenu: {
|
|
786
779
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
787
780
|
top: number;
|
|
@@ -806,7 +799,6 @@ export declare const actionCut: {
|
|
|
806
799
|
editingFrame: string | null;
|
|
807
800
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
808
801
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
809
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
810
802
|
penMode: boolean;
|
|
811
803
|
penDetected: boolean;
|
|
812
804
|
exportBackground: boolean;
|
|
@@ -849,7 +841,7 @@ export declare const actionCut: {
|
|
|
849
841
|
name: "imageExport" | "help" | "jsonExport";
|
|
850
842
|
} | {
|
|
851
843
|
name: "ttd";
|
|
852
|
-
tab: "text-to-diagram"
|
|
844
|
+
tab: "mermaid" | "text-to-diagram";
|
|
853
845
|
} | {
|
|
854
846
|
name: "commandPalette";
|
|
855
847
|
} | {
|
|
@@ -914,8 +906,7 @@ export declare const actionCut: {
|
|
|
914
906
|
shown: true;
|
|
915
907
|
data: import("../charts").Spreadsheet;
|
|
916
908
|
};
|
|
917
|
-
|
|
918
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
909
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
919
910
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
920
911
|
originSnapOffset: {
|
|
921
912
|
x: number;
|
|
@@ -937,9 +928,9 @@ export declare const actionCut: {
|
|
|
937
928
|
};
|
|
938
929
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
939
930
|
};
|
|
940
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
931
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
941
932
|
} & {
|
|
942
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
933
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
943
934
|
};
|
|
944
935
|
export declare const actionCopyAsSvg: {
|
|
945
936
|
name: "copyAsSvg";
|
|
@@ -993,7 +984,7 @@ export declare const actionCopyAsPng: {
|
|
|
993
984
|
isLoading: boolean;
|
|
994
985
|
activeEmbeddable: {
|
|
995
986
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
996
|
-
state: "
|
|
987
|
+
state: "active" | "hover";
|
|
997
988
|
} | null;
|
|
998
989
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
999
990
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1012,7 +1003,6 @@ export declare const actionCopyAsPng: {
|
|
|
1012
1003
|
editingFrame: string | null;
|
|
1013
1004
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1014
1005
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1015
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1016
1006
|
activeTool: {
|
|
1017
1007
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1018
1008
|
locked: boolean;
|
|
@@ -1060,7 +1050,7 @@ export declare const actionCopyAsPng: {
|
|
|
1060
1050
|
name: "imageExport" | "help" | "jsonExport";
|
|
1061
1051
|
} | {
|
|
1062
1052
|
name: "ttd";
|
|
1063
|
-
tab: "text-to-diagram"
|
|
1053
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1064
1054
|
} | {
|
|
1065
1055
|
name: "commandPalette";
|
|
1066
1056
|
} | {
|
|
@@ -1132,8 +1122,7 @@ export declare const actionCopyAsPng: {
|
|
|
1132
1122
|
shown: true;
|
|
1133
1123
|
data: import("../charts").Spreadsheet;
|
|
1134
1124
|
};
|
|
1135
|
-
|
|
1136
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1125
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1137
1126
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1138
1127
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1139
1128
|
originSnapOffset: {
|
|
@@ -1157,10 +1146,10 @@ export declare const actionCopyAsPng: {
|
|
|
1157
1146
|
captureUpdate: "EVENTUALLY";
|
|
1158
1147
|
}>;
|
|
1159
1148
|
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[]) => boolean;
|
|
1160
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1149
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1161
1150
|
keywords: string[];
|
|
1162
1151
|
} & {
|
|
1163
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1152
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1164
1153
|
};
|
|
1165
1154
|
export declare const copyText: {
|
|
1166
1155
|
name: "copyText";
|
|
@@ -22,7 +22,7 @@ export declare const actionToggleCropEditor: {
|
|
|
22
22
|
errorMessage: import("react").ReactNode;
|
|
23
23
|
activeEmbeddable: {
|
|
24
24
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
25
|
-
state: "
|
|
25
|
+
state: "active" | "hover";
|
|
26
26
|
} | null;
|
|
27
27
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
28
28
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -41,7 +41,6 @@ export declare const actionToggleCropEditor: {
|
|
|
41
41
|
editingFrame: string | null;
|
|
42
42
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
43
43
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
44
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
45
44
|
activeTool: {
|
|
46
45
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
47
46
|
locked: boolean;
|
|
@@ -89,7 +88,7 @@ export declare const actionToggleCropEditor: {
|
|
|
89
88
|
name: "imageExport" | "help" | "jsonExport";
|
|
90
89
|
} | {
|
|
91
90
|
name: "ttd";
|
|
92
|
-
tab: "text-to-diagram"
|
|
91
|
+
tab: "mermaid" | "text-to-diagram";
|
|
93
92
|
} | {
|
|
94
93
|
name: "commandPalette";
|
|
95
94
|
} | {
|
|
@@ -161,8 +160,7 @@ export declare const actionToggleCropEditor: {
|
|
|
161
160
|
shown: true;
|
|
162
161
|
data: import("../charts").Spreadsheet;
|
|
163
162
|
};
|
|
164
|
-
|
|
165
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
163
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
166
164
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
167
165
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
168
166
|
originSnapOffset: {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { LinearElementEditor } from "@excalidraw/element";
|
|
3
2
|
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
4
3
|
import type { AppClassProperties, AppState } from "../types";
|
|
5
4
|
export declare const actionDeleteSelected: {
|
|
@@ -13,7 +12,7 @@ export declare const actionDeleteSelected: {
|
|
|
13
12
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, formData: any, app: AppClassProperties) => false | {
|
|
14
13
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
15
14
|
appState: {
|
|
16
|
-
|
|
15
|
+
selectedLinearElement: null;
|
|
17
16
|
contextMenu: {
|
|
18
17
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
19
18
|
top: number;
|
|
@@ -24,7 +23,7 @@ export declare const actionDeleteSelected: {
|
|
|
24
23
|
errorMessage: import("react").ReactNode;
|
|
25
24
|
activeEmbeddable: {
|
|
26
25
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
27
|
-
state: "
|
|
26
|
+
state: "active" | "hover";
|
|
28
27
|
} | null;
|
|
29
28
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
30
29
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -90,7 +89,7 @@ export declare const actionDeleteSelected: {
|
|
|
90
89
|
name: "imageExport" | "help" | "jsonExport";
|
|
91
90
|
} | {
|
|
92
91
|
name: "ttd";
|
|
93
|
-
tab: "text-to-diagram"
|
|
92
|
+
tab: "mermaid" | "text-to-diagram";
|
|
94
93
|
} | {
|
|
95
94
|
name: "commandPalette";
|
|
96
95
|
} | {
|
|
@@ -162,9 +161,7 @@ export declare const actionDeleteSelected: {
|
|
|
162
161
|
shown: true;
|
|
163
162
|
data: import("../charts").Spreadsheet;
|
|
164
163
|
};
|
|
165
|
-
|
|
166
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
167
|
-
selectedLinearElement: LinearElementEditor | null;
|
|
164
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
168
165
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
169
166
|
originSnapOffset: {
|
|
170
167
|
x: number;
|
|
@@ -188,7 +185,7 @@ export declare const actionDeleteSelected: {
|
|
|
188
185
|
} | {
|
|
189
186
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
190
187
|
appState: {
|
|
191
|
-
|
|
188
|
+
selectedLinearElement: {
|
|
192
189
|
selectedPointsIndices: number[];
|
|
193
190
|
startBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
|
|
194
191
|
endBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
|
|
@@ -219,6 +216,7 @@ export declare const actionDeleteSelected: {
|
|
|
219
216
|
segmentMidPointHoveredCoords: import("@excalidraw/math").GlobalPoint | null;
|
|
220
217
|
elbowed: boolean;
|
|
221
218
|
customLineAngle: number | null;
|
|
219
|
+
isEditing: boolean;
|
|
222
220
|
};
|
|
223
221
|
contextMenu: {
|
|
224
222
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -230,7 +228,7 @@ export declare const actionDeleteSelected: {
|
|
|
230
228
|
errorMessage: import("react").ReactNode;
|
|
231
229
|
activeEmbeddable: {
|
|
232
230
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
233
|
-
state: "
|
|
231
|
+
state: "active" | "hover";
|
|
234
232
|
} | null;
|
|
235
233
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
236
234
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -296,7 +294,7 @@ export declare const actionDeleteSelected: {
|
|
|
296
294
|
name: "imageExport" | "help" | "jsonExport";
|
|
297
295
|
} | {
|
|
298
296
|
name: "ttd";
|
|
299
|
-
tab: "text-to-diagram"
|
|
297
|
+
tab: "mermaid" | "text-to-diagram";
|
|
300
298
|
} | {
|
|
301
299
|
name: "commandPalette";
|
|
302
300
|
} | {
|
|
@@ -368,9 +366,7 @@ export declare const actionDeleteSelected: {
|
|
|
368
366
|
shown: true;
|
|
369
367
|
data: import("../charts").Spreadsheet;
|
|
370
368
|
};
|
|
371
|
-
|
|
372
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
373
|
-
selectedLinearElement: LinearElementEditor | null;
|
|
369
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
374
370
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
375
371
|
originSnapOffset: {
|
|
376
372
|
x: number;
|
|
@@ -402,13 +398,13 @@ export declare const actionDeleteSelected: {
|
|
|
402
398
|
multiElement: null;
|
|
403
399
|
activeEmbeddable: null;
|
|
404
400
|
selectedLinearElement: null;
|
|
401
|
+
editingGroupId: string | null;
|
|
405
402
|
selectedElementIds: Readonly<{
|
|
406
403
|
[id: string]: true;
|
|
407
404
|
}>;
|
|
408
405
|
selectedGroupIds: {
|
|
409
406
|
[groupId: string]: boolean;
|
|
410
407
|
};
|
|
411
|
-
editingGroupId: string | null;
|
|
412
408
|
contextMenu: {
|
|
413
409
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
414
410
|
top: number;
|
|
@@ -433,7 +429,6 @@ export declare const actionDeleteSelected: {
|
|
|
433
429
|
editingFrame: string | null;
|
|
434
430
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
435
431
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
436
|
-
editingLinearElement: LinearElementEditor | null;
|
|
437
432
|
penMode: boolean;
|
|
438
433
|
penDetected: boolean;
|
|
439
434
|
exportBackground: boolean;
|
|
@@ -476,7 +471,7 @@ export declare const actionDeleteSelected: {
|
|
|
476
471
|
name: "imageExport" | "help" | "jsonExport";
|
|
477
472
|
} | {
|
|
478
473
|
name: "ttd";
|
|
479
|
-
tab: "text-to-diagram"
|
|
474
|
+
tab: "mermaid" | "text-to-diagram";
|
|
480
475
|
} | {
|
|
481
476
|
name: "commandPalette";
|
|
482
477
|
} | {
|
|
@@ -541,8 +536,7 @@ export declare const actionDeleteSelected: {
|
|
|
541
536
|
shown: true;
|
|
542
537
|
data: import("../charts").Spreadsheet;
|
|
543
538
|
};
|
|
544
|
-
|
|
545
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
539
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
546
540
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
547
541
|
originSnapOffset: {
|
|
548
542
|
x: number;
|
|
@@ -564,8 +558,8 @@ export declare const actionDeleteSelected: {
|
|
|
564
558
|
};
|
|
565
559
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
566
560
|
};
|
|
567
|
-
keyTest: (event: import("react").KeyboardEvent<Element
|
|
561
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean;
|
|
568
562
|
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
569
563
|
} & {
|
|
570
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element
|
|
564
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean) | undefined;
|
|
571
565
|
};
|
|
@@ -12,10 +12,10 @@ export declare const distributeHorizontally: {
|
|
|
12
12
|
elements: ExcalidrawElement[];
|
|
13
13
|
captureUpdate: "IMMEDIATELY";
|
|
14
14
|
};
|
|
15
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
15
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
16
16
|
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
} & {
|
|
18
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
18
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
19
19
|
};
|
|
20
20
|
export declare const distributeVertically: {
|
|
21
21
|
name: "distributeVertically";
|
|
@@ -28,8 +28,8 @@ export declare const distributeVertically: {
|
|
|
28
28
|
elements: ExcalidrawElement[];
|
|
29
29
|
captureUpdate: "IMMEDIATELY";
|
|
30
30
|
};
|
|
31
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
31
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
32
32
|
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
} & {
|
|
34
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
34
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
35
35
|
};
|
|
@@ -11,8 +11,8 @@ export declare const actionDuplicateSelection: {
|
|
|
11
11
|
appState: import("../types").AppState;
|
|
12
12
|
captureUpdate: "IMMEDIATELY";
|
|
13
13
|
};
|
|
14
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
14
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
15
15
|
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
} & {
|
|
17
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
17
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
18
18
|
};
|
|
@@ -51,7 +51,7 @@ export declare const actionLinkToElement: {
|
|
|
51
51
|
errorMessage: import("react").ReactNode;
|
|
52
52
|
activeEmbeddable: {
|
|
53
53
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
54
|
-
state: "
|
|
54
|
+
state: "active" | "hover";
|
|
55
55
|
} | null;
|
|
56
56
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
57
57
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -70,7 +70,6 @@ export declare const actionLinkToElement: {
|
|
|
70
70
|
editingFrame: string | null;
|
|
71
71
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
72
72
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
73
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
74
73
|
activeTool: {
|
|
75
74
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
76
75
|
locked: boolean;
|
|
@@ -179,8 +178,7 @@ export declare const actionLinkToElement: {
|
|
|
179
178
|
shown: true;
|
|
180
179
|
data: import("../charts").Spreadsheet;
|
|
181
180
|
};
|
|
182
|
-
|
|
183
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
181
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
184
182
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
185
183
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
186
184
|
originSnapOffset: {
|
|
@@ -33,7 +33,7 @@ export declare const actionToggleElementLock: {
|
|
|
33
33
|
errorMessage: import("react").ReactNode;
|
|
34
34
|
activeEmbeddable: {
|
|
35
35
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
36
|
-
state: "
|
|
36
|
+
state: "active" | "hover";
|
|
37
37
|
} | null;
|
|
38
38
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
39
39
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -52,7 +52,6 @@ export declare const actionToggleElementLock: {
|
|
|
52
52
|
editingFrame: string | null;
|
|
53
53
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
54
54
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
55
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
56
55
|
activeTool: {
|
|
57
56
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
58
57
|
locked: boolean;
|
|
@@ -100,7 +99,7 @@ export declare const actionToggleElementLock: {
|
|
|
100
99
|
name: "imageExport" | "help" | "jsonExport";
|
|
101
100
|
} | {
|
|
102
101
|
name: "ttd";
|
|
103
|
-
tab: "text-to-diagram"
|
|
102
|
+
tab: "mermaid" | "text-to-diagram";
|
|
104
103
|
} | {
|
|
105
104
|
name: "commandPalette";
|
|
106
105
|
} | {
|
|
@@ -166,8 +165,7 @@ export declare const actionToggleElementLock: {
|
|
|
166
165
|
shown: true;
|
|
167
166
|
data: import("../charts").Spreadsheet;
|
|
168
167
|
};
|
|
169
|
-
|
|
170
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
168
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
171
169
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
172
170
|
originSnapOffset: {
|
|
173
171
|
x: number;
|
|
@@ -185,9 +183,9 @@ export declare const actionToggleElementLock: {
|
|
|
185
183
|
};
|
|
186
184
|
captureUpdate: "IMMEDIATELY";
|
|
187
185
|
};
|
|
188
|
-
keyTest: (event: import("react").KeyboardEvent<Element
|
|
186
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean;
|
|
189
187
|
} & {
|
|
190
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element
|
|
188
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
191
189
|
};
|
|
192
190
|
export declare const actionUnlockAllElements: {
|
|
193
191
|
name: "unlockAllElements";
|
|
@@ -218,7 +216,7 @@ export declare const actionUnlockAllElements: {
|
|
|
218
216
|
errorMessage: import("react").ReactNode;
|
|
219
217
|
activeEmbeddable: {
|
|
220
218
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
221
|
-
state: "
|
|
219
|
+
state: "active" | "hover";
|
|
222
220
|
} | null;
|
|
223
221
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
224
222
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -237,7 +235,6 @@ export declare const actionUnlockAllElements: {
|
|
|
237
235
|
editingFrame: string | null;
|
|
238
236
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
239
237
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
240
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
241
238
|
activeTool: {
|
|
242
239
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
243
240
|
locked: boolean;
|
|
@@ -285,7 +282,7 @@ export declare const actionUnlockAllElements: {
|
|
|
285
282
|
name: "imageExport" | "help" | "jsonExport";
|
|
286
283
|
} | {
|
|
287
284
|
name: "ttd";
|
|
288
|
-
tab: "text-to-diagram"
|
|
285
|
+
tab: "mermaid" | "text-to-diagram";
|
|
289
286
|
} | {
|
|
290
287
|
name: "commandPalette";
|
|
291
288
|
} | {
|
|
@@ -351,8 +348,7 @@ export declare const actionUnlockAllElements: {
|
|
|
351
348
|
shown: true;
|
|
352
349
|
data: import("../charts").Spreadsheet;
|
|
353
350
|
};
|
|
354
|
-
|
|
355
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
351
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
356
352
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
357
353
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
358
354
|
originSnapOffset: {
|
|
@@ -24,7 +24,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
24
24
|
errorMessage: import("react").ReactNode;
|
|
25
25
|
activeEmbeddable: {
|
|
26
26
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
27
|
-
state: "
|
|
27
|
+
state: "active" | "hover";
|
|
28
28
|
} | null;
|
|
29
29
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
30
30
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -43,7 +43,6 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
43
43
|
editingFrame: string | null;
|
|
44
44
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
45
45
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
46
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
47
46
|
penMode: boolean;
|
|
48
47
|
penDetected: boolean;
|
|
49
48
|
exportBackground: boolean;
|
|
@@ -86,7 +85,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
86
85
|
name: "imageExport" | "help" | "jsonExport";
|
|
87
86
|
} | {
|
|
88
87
|
name: "ttd";
|
|
89
|
-
tab: "text-to-diagram"
|
|
88
|
+
tab: "mermaid" | "text-to-diagram";
|
|
90
89
|
} | {
|
|
91
90
|
name: "commandPalette";
|
|
92
91
|
} | {
|
|
@@ -158,8 +157,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
158
157
|
shown: true;
|
|
159
158
|
data: import("../charts").Spreadsheet;
|
|
160
159
|
};
|
|
161
|
-
|
|
162
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
160
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
163
161
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
164
162
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
165
163
|
originSnapOffset: {
|