@excalidraw/excalidraw 0.18.0-864353b → 0.18.0-880dbb25e
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 +6341 -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 +43 -10
- 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 +18 -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 +16 -17
- 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 +7 -8
- 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
|
@@ -48,7 +48,7 @@ export declare const actionChangeFillStyle: {
|
|
|
48
48
|
errorMessage: import("react").ReactNode;
|
|
49
49
|
activeEmbeddable: {
|
|
50
50
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
51
|
-
state: "
|
|
51
|
+
state: "active" | "hover";
|
|
52
52
|
} | null;
|
|
53
53
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
54
54
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -67,7 +67,6 @@ export declare const actionChangeFillStyle: {
|
|
|
67
67
|
editingFrame: string | null;
|
|
68
68
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
69
69
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
70
|
-
editingLinearElement: LinearElementEditor | null;
|
|
71
70
|
activeTool: {
|
|
72
71
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
73
72
|
locked: boolean;
|
|
@@ -114,7 +113,7 @@ export declare const actionChangeFillStyle: {
|
|
|
114
113
|
name: "imageExport" | "help" | "jsonExport";
|
|
115
114
|
} | {
|
|
116
115
|
name: "ttd";
|
|
117
|
-
tab: "text-to-diagram"
|
|
116
|
+
tab: "mermaid" | "text-to-diagram";
|
|
118
117
|
} | {
|
|
119
118
|
name: "commandPalette";
|
|
120
119
|
} | {
|
|
@@ -186,8 +185,7 @@ export declare const actionChangeFillStyle: {
|
|
|
186
185
|
shown: true;
|
|
187
186
|
data: import("../charts").Spreadsheet;
|
|
188
187
|
};
|
|
189
|
-
|
|
190
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
188
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
191
189
|
selectedLinearElement: LinearElementEditor | null;
|
|
192
190
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
193
191
|
originSnapOffset: {
|
|
@@ -232,7 +230,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
232
230
|
errorMessage: import("react").ReactNode;
|
|
233
231
|
activeEmbeddable: {
|
|
234
232
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
235
|
-
state: "
|
|
233
|
+
state: "active" | "hover";
|
|
236
234
|
} | null;
|
|
237
235
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
238
236
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -251,7 +249,6 @@ export declare const actionChangeStrokeWidth: {
|
|
|
251
249
|
editingFrame: string | null;
|
|
252
250
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
253
251
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
254
|
-
editingLinearElement: LinearElementEditor | null;
|
|
255
252
|
activeTool: {
|
|
256
253
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
257
254
|
locked: boolean;
|
|
@@ -298,7 +295,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
298
295
|
name: "imageExport" | "help" | "jsonExport";
|
|
299
296
|
} | {
|
|
300
297
|
name: "ttd";
|
|
301
|
-
tab: "text-to-diagram"
|
|
298
|
+
tab: "mermaid" | "text-to-diagram";
|
|
302
299
|
} | {
|
|
303
300
|
name: "commandPalette";
|
|
304
301
|
} | {
|
|
@@ -370,8 +367,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
370
367
|
shown: true;
|
|
371
368
|
data: import("../charts").Spreadsheet;
|
|
372
369
|
};
|
|
373
|
-
|
|
374
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
370
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
375
371
|
selectedLinearElement: LinearElementEditor | null;
|
|
376
372
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
377
373
|
originSnapOffset: {
|
|
@@ -416,7 +412,7 @@ export declare const actionChangeSloppiness: {
|
|
|
416
412
|
errorMessage: import("react").ReactNode;
|
|
417
413
|
activeEmbeddable: {
|
|
418
414
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
419
|
-
state: "
|
|
415
|
+
state: "active" | "hover";
|
|
420
416
|
} | null;
|
|
421
417
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
422
418
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -435,7 +431,6 @@ export declare const actionChangeSloppiness: {
|
|
|
435
431
|
editingFrame: string | null;
|
|
436
432
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
437
433
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
438
|
-
editingLinearElement: LinearElementEditor | null;
|
|
439
434
|
activeTool: {
|
|
440
435
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
441
436
|
locked: boolean;
|
|
@@ -482,7 +477,7 @@ export declare const actionChangeSloppiness: {
|
|
|
482
477
|
name: "imageExport" | "help" | "jsonExport";
|
|
483
478
|
} | {
|
|
484
479
|
name: "ttd";
|
|
485
|
-
tab: "text-to-diagram"
|
|
480
|
+
tab: "mermaid" | "text-to-diagram";
|
|
486
481
|
} | {
|
|
487
482
|
name: "commandPalette";
|
|
488
483
|
} | {
|
|
@@ -554,8 +549,7 @@ export declare const actionChangeSloppiness: {
|
|
|
554
549
|
shown: true;
|
|
555
550
|
data: import("../charts").Spreadsheet;
|
|
556
551
|
};
|
|
557
|
-
|
|
558
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
552
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
559
553
|
selectedLinearElement: LinearElementEditor | null;
|
|
560
554
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
561
555
|
originSnapOffset: {
|
|
@@ -600,7 +594,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
600
594
|
errorMessage: import("react").ReactNode;
|
|
601
595
|
activeEmbeddable: {
|
|
602
596
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
603
|
-
state: "
|
|
597
|
+
state: "active" | "hover";
|
|
604
598
|
} | null;
|
|
605
599
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
606
600
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -619,7 +613,6 @@ export declare const actionChangeStrokeStyle: {
|
|
|
619
613
|
editingFrame: string | null;
|
|
620
614
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
621
615
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
622
|
-
editingLinearElement: LinearElementEditor | null;
|
|
623
616
|
activeTool: {
|
|
624
617
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
625
618
|
locked: boolean;
|
|
@@ -666,7 +659,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
666
659
|
name: "imageExport" | "help" | "jsonExport";
|
|
667
660
|
} | {
|
|
668
661
|
name: "ttd";
|
|
669
|
-
tab: "text-to-diagram"
|
|
662
|
+
tab: "mermaid" | "text-to-diagram";
|
|
670
663
|
} | {
|
|
671
664
|
name: "commandPalette";
|
|
672
665
|
} | {
|
|
@@ -738,8 +731,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
738
731
|
shown: true;
|
|
739
732
|
data: import("../charts").Spreadsheet;
|
|
740
733
|
};
|
|
741
|
-
|
|
742
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
734
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
743
735
|
selectedLinearElement: LinearElementEditor | null;
|
|
744
736
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
745
737
|
originSnapOffset: {
|
|
@@ -784,7 +776,7 @@ export declare const actionChangeOpacity: {
|
|
|
784
776
|
errorMessage: import("react").ReactNode;
|
|
785
777
|
activeEmbeddable: {
|
|
786
778
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
787
|
-
state: "
|
|
779
|
+
state: "active" | "hover";
|
|
788
780
|
} | null;
|
|
789
781
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
790
782
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -803,7 +795,6 @@ export declare const actionChangeOpacity: {
|
|
|
803
795
|
editingFrame: string | null;
|
|
804
796
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
805
797
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
806
|
-
editingLinearElement: LinearElementEditor | null;
|
|
807
798
|
activeTool: {
|
|
808
799
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
809
800
|
locked: boolean;
|
|
@@ -850,7 +841,7 @@ export declare const actionChangeOpacity: {
|
|
|
850
841
|
name: "imageExport" | "help" | "jsonExport";
|
|
851
842
|
} | {
|
|
852
843
|
name: "ttd";
|
|
853
|
-
tab: "text-to-diagram"
|
|
844
|
+
tab: "mermaid" | "text-to-diagram";
|
|
854
845
|
} | {
|
|
855
846
|
name: "commandPalette";
|
|
856
847
|
} | {
|
|
@@ -922,8 +913,7 @@ export declare const actionChangeOpacity: {
|
|
|
922
913
|
shown: true;
|
|
923
914
|
data: import("../charts").Spreadsheet;
|
|
924
915
|
};
|
|
925
|
-
|
|
926
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
916
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
927
917
|
selectedLinearElement: LinearElementEditor | null;
|
|
928
918
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
929
919
|
originSnapOffset: {
|
|
@@ -968,7 +958,7 @@ export declare const actionChangeFontSize: {
|
|
|
968
958
|
errorMessage: import("react").ReactNode;
|
|
969
959
|
activeEmbeddable: {
|
|
970
960
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
971
|
-
state: "
|
|
961
|
+
state: "active" | "hover";
|
|
972
962
|
} | null;
|
|
973
963
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
974
964
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -987,7 +977,6 @@ export declare const actionChangeFontSize: {
|
|
|
987
977
|
editingFrame: string | null;
|
|
988
978
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
989
979
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
990
|
-
editingLinearElement: LinearElementEditor | null;
|
|
991
980
|
activeTool: {
|
|
992
981
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
993
982
|
locked: boolean;
|
|
@@ -1034,7 +1023,7 @@ export declare const actionChangeFontSize: {
|
|
|
1034
1023
|
name: "imageExport" | "help" | "jsonExport";
|
|
1035
1024
|
} | {
|
|
1036
1025
|
name: "ttd";
|
|
1037
|
-
tab: "text-to-diagram"
|
|
1026
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1038
1027
|
} | {
|
|
1039
1028
|
name: "commandPalette";
|
|
1040
1029
|
} | {
|
|
@@ -1106,8 +1095,7 @@ export declare const actionChangeFontSize: {
|
|
|
1106
1095
|
shown: true;
|
|
1107
1096
|
data: import("../charts").Spreadsheet;
|
|
1108
1097
|
};
|
|
1109
|
-
|
|
1110
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1098
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1111
1099
|
selectedLinearElement: LinearElementEditor | null;
|
|
1112
1100
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1113
1101
|
originSnapOffset: {
|
|
@@ -1153,7 +1141,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1153
1141
|
errorMessage: import("react").ReactNode;
|
|
1154
1142
|
activeEmbeddable: {
|
|
1155
1143
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1156
|
-
state: "
|
|
1144
|
+
state: "active" | "hover";
|
|
1157
1145
|
} | null;
|
|
1158
1146
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1159
1147
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1172,7 +1160,6 @@ export declare const actionDecreaseFontSize: {
|
|
|
1172
1160
|
editingFrame: string | null;
|
|
1173
1161
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1174
1162
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1175
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1176
1163
|
activeTool: {
|
|
1177
1164
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1178
1165
|
locked: boolean;
|
|
@@ -1219,7 +1206,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1219
1206
|
name: "imageExport" | "help" | "jsonExport";
|
|
1220
1207
|
} | {
|
|
1221
1208
|
name: "ttd";
|
|
1222
|
-
tab: "text-to-diagram"
|
|
1209
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1223
1210
|
} | {
|
|
1224
1211
|
name: "commandPalette";
|
|
1225
1212
|
} | {
|
|
@@ -1291,8 +1278,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1291
1278
|
shown: true;
|
|
1292
1279
|
data: import("../charts").Spreadsheet;
|
|
1293
1280
|
};
|
|
1294
|
-
|
|
1295
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1281
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1296
1282
|
selectedLinearElement: LinearElementEditor | null;
|
|
1297
1283
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1298
1284
|
originSnapOffset: {
|
|
@@ -1315,9 +1301,9 @@ export declare const actionDecreaseFontSize: {
|
|
|
1315
1301
|
};
|
|
1316
1302
|
captureUpdate: "IMMEDIATELY";
|
|
1317
1303
|
};
|
|
1318
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1304
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1319
1305
|
} & {
|
|
1320
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1306
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1321
1307
|
};
|
|
1322
1308
|
export declare const actionIncreaseFontSize: {
|
|
1323
1309
|
name: "increaseFontSize";
|
|
@@ -1338,7 +1324,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1338
1324
|
errorMessage: import("react").ReactNode;
|
|
1339
1325
|
activeEmbeddable: {
|
|
1340
1326
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1341
|
-
state: "
|
|
1327
|
+
state: "active" | "hover";
|
|
1342
1328
|
} | null;
|
|
1343
1329
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1344
1330
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1357,7 +1343,6 @@ export declare const actionIncreaseFontSize: {
|
|
|
1357
1343
|
editingFrame: string | null;
|
|
1358
1344
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1359
1345
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1360
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1361
1346
|
activeTool: {
|
|
1362
1347
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1363
1348
|
locked: boolean;
|
|
@@ -1404,7 +1389,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1404
1389
|
name: "imageExport" | "help" | "jsonExport";
|
|
1405
1390
|
} | {
|
|
1406
1391
|
name: "ttd";
|
|
1407
|
-
tab: "text-to-diagram"
|
|
1392
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1408
1393
|
} | {
|
|
1409
1394
|
name: "commandPalette";
|
|
1410
1395
|
} | {
|
|
@@ -1476,8 +1461,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1476
1461
|
shown: true;
|
|
1477
1462
|
data: import("../charts").Spreadsheet;
|
|
1478
1463
|
};
|
|
1479
|
-
|
|
1480
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1464
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1481
1465
|
selectedLinearElement: LinearElementEditor | null;
|
|
1482
1466
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1483
1467
|
originSnapOffset: {
|
|
@@ -1500,9 +1484,9 @@ export declare const actionIncreaseFontSize: {
|
|
|
1500
1484
|
};
|
|
1501
1485
|
captureUpdate: "IMMEDIATELY";
|
|
1502
1486
|
};
|
|
1503
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1487
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1504
1488
|
} & {
|
|
1505
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1489
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1506
1490
|
};
|
|
1507
1491
|
export declare const actionChangeFontFamily: {
|
|
1508
1492
|
name: "changeFontFamily";
|
|
@@ -1523,7 +1507,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1523
1507
|
errorMessage: import("react").ReactNode;
|
|
1524
1508
|
activeEmbeddable: {
|
|
1525
1509
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1526
|
-
state: "
|
|
1510
|
+
state: "active" | "hover";
|
|
1527
1511
|
} | null;
|
|
1528
1512
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1529
1513
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1542,7 +1526,6 @@ export declare const actionChangeFontFamily: {
|
|
|
1542
1526
|
editingFrame: string | null;
|
|
1543
1527
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1544
1528
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1545
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1546
1529
|
activeTool: {
|
|
1547
1530
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1548
1531
|
locked: boolean;
|
|
@@ -1587,7 +1570,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1587
1570
|
name: "imageExport" | "help" | "jsonExport";
|
|
1588
1571
|
} | {
|
|
1589
1572
|
name: "ttd";
|
|
1590
|
-
tab: "text-to-diagram"
|
|
1573
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1591
1574
|
} | {
|
|
1592
1575
|
name: "commandPalette";
|
|
1593
1576
|
} | {
|
|
@@ -1659,8 +1642,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1659
1642
|
shown: true;
|
|
1660
1643
|
data: import("../charts").Spreadsheet;
|
|
1661
1644
|
};
|
|
1662
|
-
|
|
1663
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1645
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1664
1646
|
selectedLinearElement: LinearElementEditor | null;
|
|
1665
1647
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1666
1648
|
originSnapOffset: {
|
|
@@ -1698,7 +1680,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1698
1680
|
errorMessage: import("react").ReactNode;
|
|
1699
1681
|
activeEmbeddable: {
|
|
1700
1682
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1701
|
-
state: "
|
|
1683
|
+
state: "active" | "hover";
|
|
1702
1684
|
} | null;
|
|
1703
1685
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1704
1686
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1717,7 +1699,6 @@ export declare const actionChangeFontFamily: {
|
|
|
1717
1699
|
editingFrame: string | null;
|
|
1718
1700
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1719
1701
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1720
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1721
1702
|
activeTool: {
|
|
1722
1703
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1723
1704
|
locked: boolean;
|
|
@@ -1762,7 +1743,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1762
1743
|
name: "imageExport" | "help" | "jsonExport";
|
|
1763
1744
|
} | {
|
|
1764
1745
|
name: "ttd";
|
|
1765
|
-
tab: "text-to-diagram"
|
|
1746
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1766
1747
|
} | {
|
|
1767
1748
|
name: "commandPalette";
|
|
1768
1749
|
} | {
|
|
@@ -1834,8 +1815,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1834
1815
|
shown: true;
|
|
1835
1816
|
data: import("../charts").Spreadsheet;
|
|
1836
1817
|
};
|
|
1837
|
-
|
|
1838
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1818
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1839
1819
|
selectedLinearElement: LinearElementEditor | null;
|
|
1840
1820
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1841
1821
|
originSnapOffset: {
|
|
@@ -1880,7 +1860,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1880
1860
|
errorMessage: import("react").ReactNode;
|
|
1881
1861
|
activeEmbeddable: {
|
|
1882
1862
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1883
|
-
state: "
|
|
1863
|
+
state: "active" | "hover";
|
|
1884
1864
|
} | null;
|
|
1885
1865
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1886
1866
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1899,7 +1879,6 @@ export declare const actionChangeTextAlign: {
|
|
|
1899
1879
|
editingFrame: string | null;
|
|
1900
1880
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1901
1881
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1902
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1903
1882
|
activeTool: {
|
|
1904
1883
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1905
1884
|
locked: boolean;
|
|
@@ -1946,7 +1925,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1946
1925
|
name: "imageExport" | "help" | "jsonExport";
|
|
1947
1926
|
} | {
|
|
1948
1927
|
name: "ttd";
|
|
1949
|
-
tab: "text-to-diagram"
|
|
1928
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1950
1929
|
} | {
|
|
1951
1930
|
name: "commandPalette";
|
|
1952
1931
|
} | {
|
|
@@ -2018,8 +1997,7 @@ export declare const actionChangeTextAlign: {
|
|
|
2018
1997
|
shown: true;
|
|
2019
1998
|
data: import("../charts").Spreadsheet;
|
|
2020
1999
|
};
|
|
2021
|
-
|
|
2022
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
2000
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
2023
2001
|
selectedLinearElement: LinearElementEditor | null;
|
|
2024
2002
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2025
2003
|
originSnapOffset: {
|
|
@@ -2065,7 +2043,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2065
2043
|
errorMessage: import("react").ReactNode;
|
|
2066
2044
|
activeEmbeddable: {
|
|
2067
2045
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2068
|
-
state: "
|
|
2046
|
+
state: "active" | "hover";
|
|
2069
2047
|
} | null;
|
|
2070
2048
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2071
2049
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -2084,7 +2062,6 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2084
2062
|
editingFrame: string | null;
|
|
2085
2063
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2086
2064
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2087
|
-
editingLinearElement: LinearElementEditor | null;
|
|
2088
2065
|
activeTool: {
|
|
2089
2066
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2090
2067
|
locked: boolean;
|
|
@@ -2132,7 +2109,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2132
2109
|
name: "imageExport" | "help" | "jsonExport";
|
|
2133
2110
|
} | {
|
|
2134
2111
|
name: "ttd";
|
|
2135
|
-
tab: "text-to-diagram"
|
|
2112
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2136
2113
|
} | {
|
|
2137
2114
|
name: "commandPalette";
|
|
2138
2115
|
} | {
|
|
@@ -2204,8 +2181,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2204
2181
|
shown: true;
|
|
2205
2182
|
data: import("../charts").Spreadsheet;
|
|
2206
2183
|
};
|
|
2207
|
-
|
|
2208
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
2184
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
2209
2185
|
selectedLinearElement: LinearElementEditor | null;
|
|
2210
2186
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2211
2187
|
originSnapOffset: {
|
|
@@ -2250,7 +2226,7 @@ export declare const actionChangeRoundness: {
|
|
|
2250
2226
|
errorMessage: import("react").ReactNode;
|
|
2251
2227
|
activeEmbeddable: {
|
|
2252
2228
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2253
|
-
state: "
|
|
2229
|
+
state: "active" | "hover";
|
|
2254
2230
|
} | null;
|
|
2255
2231
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2256
2232
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -2269,7 +2245,6 @@ export declare const actionChangeRoundness: {
|
|
|
2269
2245
|
editingFrame: string | null;
|
|
2270
2246
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2271
2247
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2272
|
-
editingLinearElement: LinearElementEditor | null;
|
|
2273
2248
|
activeTool: {
|
|
2274
2249
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2275
2250
|
locked: boolean;
|
|
@@ -2316,7 +2291,7 @@ export declare const actionChangeRoundness: {
|
|
|
2316
2291
|
name: "imageExport" | "help" | "jsonExport";
|
|
2317
2292
|
} | {
|
|
2318
2293
|
name: "ttd";
|
|
2319
|
-
tab: "text-to-diagram"
|
|
2294
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2320
2295
|
} | {
|
|
2321
2296
|
name: "commandPalette";
|
|
2322
2297
|
} | {
|
|
@@ -2388,8 +2363,7 @@ export declare const actionChangeRoundness: {
|
|
|
2388
2363
|
shown: true;
|
|
2389
2364
|
data: import("../charts").Spreadsheet;
|
|
2390
2365
|
};
|
|
2391
|
-
|
|
2392
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
2366
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
2393
2367
|
selectedLinearElement: LinearElementEditor | null;
|
|
2394
2368
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2395
2369
|
originSnapOffset: {
|
|
@@ -2436,7 +2410,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2436
2410
|
errorMessage: import("react").ReactNode;
|
|
2437
2411
|
activeEmbeddable: {
|
|
2438
2412
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2439
|
-
state: "
|
|
2413
|
+
state: "active" | "hover";
|
|
2440
2414
|
} | null;
|
|
2441
2415
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2442
2416
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -2455,7 +2429,6 @@ export declare const actionChangeArrowhead: {
|
|
|
2455
2429
|
editingFrame: string | null;
|
|
2456
2430
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2457
2431
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2458
|
-
editingLinearElement: LinearElementEditor | null;
|
|
2459
2432
|
activeTool: {
|
|
2460
2433
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2461
2434
|
locked: boolean;
|
|
@@ -2503,7 +2476,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2503
2476
|
name: "imageExport" | "help" | "jsonExport";
|
|
2504
2477
|
} | {
|
|
2505
2478
|
name: "ttd";
|
|
2506
|
-
tab: "text-to-diagram"
|
|
2479
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2507
2480
|
} | {
|
|
2508
2481
|
name: "commandPalette";
|
|
2509
2482
|
} | {
|
|
@@ -2575,8 +2548,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2575
2548
|
shown: true;
|
|
2576
2549
|
data: import("../charts").Spreadsheet;
|
|
2577
2550
|
};
|
|
2578
|
-
|
|
2579
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
2551
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
2580
2552
|
selectedLinearElement: LinearElementEditor | null;
|
|
2581
2553
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2582
2554
|
originSnapOffset: {
|
|
@@ -2621,7 +2593,7 @@ export declare const actionChangeArrowType: {
|
|
|
2621
2593
|
errorMessage: import("react").ReactNode;
|
|
2622
2594
|
activeEmbeddable: {
|
|
2623
2595
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2624
|
-
state: "
|
|
2596
|
+
state: "active" | "hover";
|
|
2625
2597
|
} | null;
|
|
2626
2598
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2627
2599
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -2640,7 +2612,6 @@ export declare const actionChangeArrowType: {
|
|
|
2640
2612
|
editingFrame: string | null;
|
|
2641
2613
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2642
2614
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2643
|
-
editingLinearElement: LinearElementEditor | null;
|
|
2644
2615
|
activeTool: {
|
|
2645
2616
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2646
2617
|
locked: boolean;
|
|
@@ -2687,7 +2658,7 @@ export declare const actionChangeArrowType: {
|
|
|
2687
2658
|
name: "imageExport" | "help" | "jsonExport";
|
|
2688
2659
|
} | {
|
|
2689
2660
|
name: "ttd";
|
|
2690
|
-
tab: "text-to-diagram"
|
|
2661
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2691
2662
|
} | {
|
|
2692
2663
|
name: "commandPalette";
|
|
2693
2664
|
} | {
|
|
@@ -2759,8 +2730,7 @@ export declare const actionChangeArrowType: {
|
|
|
2759
2730
|
shown: true;
|
|
2760
2731
|
data: import("../charts").Spreadsheet;
|
|
2761
2732
|
};
|
|
2762
|
-
|
|
2763
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
2733
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
2764
2734
|
selectedLinearElement: LinearElementEditor | null;
|
|
2765
2735
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2766
2736
|
originSnapOffset: {
|
|
@@ -12,13 +12,13 @@ export declare const actionSelectAll: {
|
|
|
12
12
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any, app: import("../types").AppClassProperties) => false | {
|
|
13
13
|
appState: {
|
|
14
14
|
selectedLinearElement: LinearElementEditor | null;
|
|
15
|
+
editingGroupId: string | null;
|
|
15
16
|
selectedElementIds: Readonly<{
|
|
16
17
|
[id: string]: true;
|
|
17
18
|
}>;
|
|
18
19
|
selectedGroupIds: {
|
|
19
20
|
[groupId: string]: boolean;
|
|
20
21
|
};
|
|
21
|
-
editingGroupId: string | null;
|
|
22
22
|
contextMenu: {
|
|
23
23
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
24
24
|
top: number;
|
|
@@ -29,7 +29,7 @@ export declare const actionSelectAll: {
|
|
|
29
29
|
errorMessage: import("react").ReactNode;
|
|
30
30
|
activeEmbeddable: {
|
|
31
31
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
32
|
-
state: "
|
|
32
|
+
state: "active" | "hover";
|
|
33
33
|
} | null;
|
|
34
34
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
35
35
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -48,7 +48,6 @@ export declare const actionSelectAll: {
|
|
|
48
48
|
editingFrame: string | null;
|
|
49
49
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
50
50
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
51
|
-
editingLinearElement: LinearElementEditor | null;
|
|
52
51
|
activeTool: {
|
|
53
52
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
54
53
|
locked: boolean;
|
|
@@ -96,7 +95,7 @@ export declare const actionSelectAll: {
|
|
|
96
95
|
name: "imageExport" | "help" | "jsonExport";
|
|
97
96
|
} | {
|
|
98
97
|
name: "ttd";
|
|
99
|
-
tab: "text-to-diagram"
|
|
98
|
+
tab: "mermaid" | "text-to-diagram";
|
|
100
99
|
} | {
|
|
101
100
|
name: "commandPalette";
|
|
102
101
|
} | {
|
|
@@ -161,8 +160,7 @@ export declare const actionSelectAll: {
|
|
|
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
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
167
165
|
originSnapOffset: {
|
|
168
166
|
x: number;
|
|
@@ -184,7 +182,7 @@ export declare const actionSelectAll: {
|
|
|
184
182
|
};
|
|
185
183
|
captureUpdate: "IMMEDIATELY";
|
|
186
184
|
};
|
|
187
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
185
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
188
186
|
} & {
|
|
189
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
187
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
190
188
|
};
|