@excalidraw/excalidraw 0.18.0-c4c0649 → 0.18.0-d2463f87d
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-CBGOW5JB.js +5669 -0
- package/dist/dev/chunk-CBGOW5JB.js.map +7 -0
- package/dist/dev/chunk-CP5DND7P.js +7 -0
- package/dist/dev/chunk-CP5DND7P.js.map +7 -0
- package/dist/dev/{chunk-JCUIYZXF.js → chunk-QF5FRM6O.js} +6 -2
- package/dist/dev/chunk-QF5FRM6O.js.map +7 -0
- package/dist/dev/data/{image-SLEZBMLG.js → image-SURZSZNX.js} +3 -3
- package/dist/dev/index.css +47 -20
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +5873 -3369
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-ZDTPSZNL.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-A66AFZZU.js +7 -0
- package/dist/prod/{chunk-GCFVWREF.js → chunk-I4UNSFV6.js} +4 -4
- package/dist/prod/chunk-IRHK23LL.js +4 -0
- package/dist/prod/data/image-HXEZYJPQ.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +25 -18
- package/dist/prod/locales/{en-MHZ26NAR.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 +18 -3
- package/dist/types/common/src/utils.d.ts +3 -5
- package/dist/types/element/src/Scene.d.ts +1 -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 +26 -6
- package/dist/types/element/src/distance.d.ts +2 -2
- 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/index.d.ts +1 -3
- package/dist/types/element/src/linearElementEditor.d.ts +12 -22
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/newElement.d.ts +2 -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/sizeHelpers.d.ts +2 -1
- package/dist/types/element/src/store.d.ts +12 -8
- package/dist/types/element/src/transformHandles.d.ts +4 -4
- package/dist/types/element/src/typeChecks.d.ts +15 -1
- package/dist/types/element/src/types.d.ts +8 -3
- package/dist/types/element/src/utils.d.ts +16 -6
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +21 -12
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +14 -8
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +181 -142
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +47 -28
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +7 -4
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +24 -14
- 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 +6 -3
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +29 -24
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +7 -4
- package/dist/types/excalidraw/actions/actionExport.d.ts +148 -121
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +63 -17
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +78 -66
- package/dist/types/excalidraw/actions/actionGroup.d.ts +20 -14
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +500 -4
- package/dist/types/excalidraw/actions/actionLink.d.ts +8 -5
- package/dist/types/excalidraw/actions/actionMenu.d.ts +22 -13
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +14 -8
- package/dist/types/excalidraw/actions/actionProperties.d.ts +119 -66
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +10 -7
- package/dist/types/excalidraw/actions/actionStyles.d.ts +11 -8
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +9 -6
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +9 -6
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +8 -5
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +9 -6
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +9 -6
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +9 -6
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/actions/types.d.ts +2 -1
- package/dist/types/excalidraw/appState.d.ts +29 -20
- package/dist/types/excalidraw/components/App.d.ts +13 -16
- package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
- package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +11 -1
- package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -0
- package/dist/types/excalidraw/components/icons.d.ts +2 -0
- package/dist/types/excalidraw/components/shapes.d.ts +1 -1
- package/dist/types/excalidraw/data/blob.d.ts +1 -1
- package/dist/types/excalidraw/eraser/index.d.ts +0 -2
- package/dist/types/excalidraw/history.d.ts +21 -5
- package/dist/types/excalidraw/lasso/index.d.ts +1 -0
- package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
- package/dist/types/excalidraw/renderer/helpers.d.ts +4 -4
- package/dist/types/excalidraw/scene/Renderer.d.ts +0 -1
- package/dist/types/excalidraw/types.d.ts +10 -4
- package/dist/types/math/src/angle.d.ts +2 -0
- 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/point.d.ts +1 -1
- package/dist/types/math/src/rectangle.d.ts +2 -0
- package/dist/types/math/src/vector.d.ts +4 -2
- package/history.ts +108 -45
- package/package.json +12 -9
- package/dist/dev/chunk-HNRFOURL.js +0 -23482
- package/dist/dev/chunk-HNRFOURL.js.map +0 -7
- package/dist/dev/chunk-JCUIYZXF.js.map +0 -7
- package/dist/dev/chunk-VKWYDXFZ.js +0 -7
- package/dist/dev/chunk-VKWYDXFZ.js.map +0 -7
- package/dist/prod/chunk-G6SRO7HP.js +0 -7
- package/dist/prod/chunk-M3D5LUUK.js +0 -33
- package/dist/prod/data/image-PMKVN4IF.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 -23
- package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
- package/dist/types/excalidraw/visualdebug.d.ts +0 -41
- package/dist/types/utils/src/collision.d.ts +0 -8
- /package/dist/dev/data/{image-SLEZBMLG.js.map → image-SURZSZNX.js.map} +0 -0
- /package/dist/dev/locales/{en-ZDTPSZNL.js.map → en-SMAPCEOQ.js.map} +0 -0
|
@@ -17,7 +17,15 @@ export declare const actionChangeBackgroundColor: {
|
|
|
17
17
|
name: "changeBackgroundColor";
|
|
18
18
|
label: string;
|
|
19
19
|
trackEvent: false;
|
|
20
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) =>
|
|
20
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
|
|
21
|
+
appState: any;
|
|
22
|
+
captureUpdate: "EVENTUALLY";
|
|
23
|
+
elements?: undefined;
|
|
24
|
+
} | {
|
|
25
|
+
elements: ExcalidrawElement[];
|
|
26
|
+
appState: any;
|
|
27
|
+
captureUpdate: "IMMEDIATELY";
|
|
28
|
+
};
|
|
21
29
|
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
30
|
} & {
|
|
23
31
|
keyTest?: undefined;
|
|
@@ -40,7 +48,7 @@ export declare const actionChangeFillStyle: {
|
|
|
40
48
|
errorMessage: import("react").ReactNode;
|
|
41
49
|
activeEmbeddable: {
|
|
42
50
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
43
|
-
state: "
|
|
51
|
+
state: "active" | "hover";
|
|
44
52
|
} | null;
|
|
45
53
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
46
54
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -106,7 +114,7 @@ export declare const actionChangeFillStyle: {
|
|
|
106
114
|
name: "imageExport" | "help" | "jsonExport";
|
|
107
115
|
} | {
|
|
108
116
|
name: "ttd";
|
|
109
|
-
tab: "text-to-diagram"
|
|
117
|
+
tab: "mermaid" | "text-to-diagram";
|
|
110
118
|
} | {
|
|
111
119
|
name: "commandPalette";
|
|
112
120
|
} | {
|
|
@@ -178,8 +186,7 @@ export declare const actionChangeFillStyle: {
|
|
|
178
186
|
shown: true;
|
|
179
187
|
data: import("../charts").Spreadsheet;
|
|
180
188
|
};
|
|
181
|
-
|
|
182
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
189
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
183
190
|
selectedLinearElement: LinearElementEditor | null;
|
|
184
191
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
185
192
|
originSnapOffset: {
|
|
@@ -195,6 +202,10 @@ export declare const actionChangeFillStyle: {
|
|
|
195
202
|
focusedId: string | null;
|
|
196
203
|
matches: readonly import("../types").SearchMatch[];
|
|
197
204
|
}> | null;
|
|
205
|
+
activeLockedId: string | null;
|
|
206
|
+
lockedMultiSelections: {
|
|
207
|
+
[groupId: string]: true;
|
|
208
|
+
};
|
|
198
209
|
};
|
|
199
210
|
captureUpdate: "IMMEDIATELY";
|
|
200
211
|
};
|
|
@@ -220,7 +231,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
220
231
|
errorMessage: import("react").ReactNode;
|
|
221
232
|
activeEmbeddable: {
|
|
222
233
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
223
|
-
state: "
|
|
234
|
+
state: "active" | "hover";
|
|
224
235
|
} | null;
|
|
225
236
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
226
237
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -286,7 +297,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
286
297
|
name: "imageExport" | "help" | "jsonExport";
|
|
287
298
|
} | {
|
|
288
299
|
name: "ttd";
|
|
289
|
-
tab: "text-to-diagram"
|
|
300
|
+
tab: "mermaid" | "text-to-diagram";
|
|
290
301
|
} | {
|
|
291
302
|
name: "commandPalette";
|
|
292
303
|
} | {
|
|
@@ -358,8 +369,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
358
369
|
shown: true;
|
|
359
370
|
data: import("../charts").Spreadsheet;
|
|
360
371
|
};
|
|
361
|
-
|
|
362
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
372
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
363
373
|
selectedLinearElement: LinearElementEditor | null;
|
|
364
374
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
365
375
|
originSnapOffset: {
|
|
@@ -375,6 +385,10 @@ export declare const actionChangeStrokeWidth: {
|
|
|
375
385
|
focusedId: string | null;
|
|
376
386
|
matches: readonly import("../types").SearchMatch[];
|
|
377
387
|
}> | null;
|
|
388
|
+
activeLockedId: string | null;
|
|
389
|
+
lockedMultiSelections: {
|
|
390
|
+
[groupId: string]: true;
|
|
391
|
+
};
|
|
378
392
|
};
|
|
379
393
|
captureUpdate: "IMMEDIATELY";
|
|
380
394
|
};
|
|
@@ -400,7 +414,7 @@ export declare const actionChangeSloppiness: {
|
|
|
400
414
|
errorMessage: import("react").ReactNode;
|
|
401
415
|
activeEmbeddable: {
|
|
402
416
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
403
|
-
state: "
|
|
417
|
+
state: "active" | "hover";
|
|
404
418
|
} | null;
|
|
405
419
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
406
420
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -466,7 +480,7 @@ export declare const actionChangeSloppiness: {
|
|
|
466
480
|
name: "imageExport" | "help" | "jsonExport";
|
|
467
481
|
} | {
|
|
468
482
|
name: "ttd";
|
|
469
|
-
tab: "text-to-diagram"
|
|
483
|
+
tab: "mermaid" | "text-to-diagram";
|
|
470
484
|
} | {
|
|
471
485
|
name: "commandPalette";
|
|
472
486
|
} | {
|
|
@@ -538,8 +552,7 @@ export declare const actionChangeSloppiness: {
|
|
|
538
552
|
shown: true;
|
|
539
553
|
data: import("../charts").Spreadsheet;
|
|
540
554
|
};
|
|
541
|
-
|
|
542
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
555
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
543
556
|
selectedLinearElement: LinearElementEditor | null;
|
|
544
557
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
545
558
|
originSnapOffset: {
|
|
@@ -555,6 +568,10 @@ export declare const actionChangeSloppiness: {
|
|
|
555
568
|
focusedId: string | null;
|
|
556
569
|
matches: readonly import("../types").SearchMatch[];
|
|
557
570
|
}> | null;
|
|
571
|
+
activeLockedId: string | null;
|
|
572
|
+
lockedMultiSelections: {
|
|
573
|
+
[groupId: string]: true;
|
|
574
|
+
};
|
|
558
575
|
};
|
|
559
576
|
captureUpdate: "IMMEDIATELY";
|
|
560
577
|
};
|
|
@@ -580,7 +597,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
580
597
|
errorMessage: import("react").ReactNode;
|
|
581
598
|
activeEmbeddable: {
|
|
582
599
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
583
|
-
state: "
|
|
600
|
+
state: "active" | "hover";
|
|
584
601
|
} | null;
|
|
585
602
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
586
603
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -646,7 +663,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
646
663
|
name: "imageExport" | "help" | "jsonExport";
|
|
647
664
|
} | {
|
|
648
665
|
name: "ttd";
|
|
649
|
-
tab: "text-to-diagram"
|
|
666
|
+
tab: "mermaid" | "text-to-diagram";
|
|
650
667
|
} | {
|
|
651
668
|
name: "commandPalette";
|
|
652
669
|
} | {
|
|
@@ -718,8 +735,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
718
735
|
shown: true;
|
|
719
736
|
data: import("../charts").Spreadsheet;
|
|
720
737
|
};
|
|
721
|
-
|
|
722
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
738
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
723
739
|
selectedLinearElement: LinearElementEditor | null;
|
|
724
740
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
725
741
|
originSnapOffset: {
|
|
@@ -735,6 +751,10 @@ export declare const actionChangeStrokeStyle: {
|
|
|
735
751
|
focusedId: string | null;
|
|
736
752
|
matches: readonly import("../types").SearchMatch[];
|
|
737
753
|
}> | null;
|
|
754
|
+
activeLockedId: string | null;
|
|
755
|
+
lockedMultiSelections: {
|
|
756
|
+
[groupId: string]: true;
|
|
757
|
+
};
|
|
738
758
|
};
|
|
739
759
|
captureUpdate: "IMMEDIATELY";
|
|
740
760
|
};
|
|
@@ -760,7 +780,7 @@ export declare const actionChangeOpacity: {
|
|
|
760
780
|
errorMessage: import("react").ReactNode;
|
|
761
781
|
activeEmbeddable: {
|
|
762
782
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
763
|
-
state: "
|
|
783
|
+
state: "active" | "hover";
|
|
764
784
|
} | null;
|
|
765
785
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
766
786
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -826,7 +846,7 @@ export declare const actionChangeOpacity: {
|
|
|
826
846
|
name: "imageExport" | "help" | "jsonExport";
|
|
827
847
|
} | {
|
|
828
848
|
name: "ttd";
|
|
829
|
-
tab: "text-to-diagram"
|
|
849
|
+
tab: "mermaid" | "text-to-diagram";
|
|
830
850
|
} | {
|
|
831
851
|
name: "commandPalette";
|
|
832
852
|
} | {
|
|
@@ -898,8 +918,7 @@ export declare const actionChangeOpacity: {
|
|
|
898
918
|
shown: true;
|
|
899
919
|
data: import("../charts").Spreadsheet;
|
|
900
920
|
};
|
|
901
|
-
|
|
902
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
921
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
903
922
|
selectedLinearElement: LinearElementEditor | null;
|
|
904
923
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
905
924
|
originSnapOffset: {
|
|
@@ -915,6 +934,10 @@ export declare const actionChangeOpacity: {
|
|
|
915
934
|
focusedId: string | null;
|
|
916
935
|
matches: readonly import("../types").SearchMatch[];
|
|
917
936
|
}> | null;
|
|
937
|
+
activeLockedId: string | null;
|
|
938
|
+
lockedMultiSelections: {
|
|
939
|
+
[groupId: string]: true;
|
|
940
|
+
};
|
|
918
941
|
};
|
|
919
942
|
captureUpdate: "IMMEDIATELY";
|
|
920
943
|
};
|
|
@@ -940,7 +963,7 @@ export declare const actionChangeFontSize: {
|
|
|
940
963
|
errorMessage: import("react").ReactNode;
|
|
941
964
|
activeEmbeddable: {
|
|
942
965
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
943
|
-
state: "
|
|
966
|
+
state: "active" | "hover";
|
|
944
967
|
} | null;
|
|
945
968
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
946
969
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1006,7 +1029,7 @@ export declare const actionChangeFontSize: {
|
|
|
1006
1029
|
name: "imageExport" | "help" | "jsonExport";
|
|
1007
1030
|
} | {
|
|
1008
1031
|
name: "ttd";
|
|
1009
|
-
tab: "text-to-diagram"
|
|
1032
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1010
1033
|
} | {
|
|
1011
1034
|
name: "commandPalette";
|
|
1012
1035
|
} | {
|
|
@@ -1078,8 +1101,7 @@ export declare const actionChangeFontSize: {
|
|
|
1078
1101
|
shown: true;
|
|
1079
1102
|
data: import("../charts").Spreadsheet;
|
|
1080
1103
|
};
|
|
1081
|
-
|
|
1082
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1104
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1083
1105
|
selectedLinearElement: LinearElementEditor | null;
|
|
1084
1106
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1085
1107
|
originSnapOffset: {
|
|
@@ -1095,6 +1117,10 @@ export declare const actionChangeFontSize: {
|
|
|
1095
1117
|
focusedId: string | null;
|
|
1096
1118
|
matches: readonly import("../types").SearchMatch[];
|
|
1097
1119
|
}> | null;
|
|
1120
|
+
activeLockedId: string | null;
|
|
1121
|
+
lockedMultiSelections: {
|
|
1122
|
+
[groupId: string]: true;
|
|
1123
|
+
};
|
|
1098
1124
|
};
|
|
1099
1125
|
captureUpdate: "IMMEDIATELY";
|
|
1100
1126
|
};
|
|
@@ -1121,7 +1147,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1121
1147
|
errorMessage: import("react").ReactNode;
|
|
1122
1148
|
activeEmbeddable: {
|
|
1123
1149
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1124
|
-
state: "
|
|
1150
|
+
state: "active" | "hover";
|
|
1125
1151
|
} | null;
|
|
1126
1152
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1127
1153
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1187,7 +1213,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1187
1213
|
name: "imageExport" | "help" | "jsonExport";
|
|
1188
1214
|
} | {
|
|
1189
1215
|
name: "ttd";
|
|
1190
|
-
tab: "text-to-diagram"
|
|
1216
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1191
1217
|
} | {
|
|
1192
1218
|
name: "commandPalette";
|
|
1193
1219
|
} | {
|
|
@@ -1259,8 +1285,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1259
1285
|
shown: true;
|
|
1260
1286
|
data: import("../charts").Spreadsheet;
|
|
1261
1287
|
};
|
|
1262
|
-
|
|
1263
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1288
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1264
1289
|
selectedLinearElement: LinearElementEditor | null;
|
|
1265
1290
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1266
1291
|
originSnapOffset: {
|
|
@@ -1276,12 +1301,16 @@ export declare const actionDecreaseFontSize: {
|
|
|
1276
1301
|
focusedId: string | null;
|
|
1277
1302
|
matches: readonly import("../types").SearchMatch[];
|
|
1278
1303
|
}> | null;
|
|
1304
|
+
activeLockedId: string | null;
|
|
1305
|
+
lockedMultiSelections: {
|
|
1306
|
+
[groupId: string]: true;
|
|
1307
|
+
};
|
|
1279
1308
|
};
|
|
1280
1309
|
captureUpdate: "IMMEDIATELY";
|
|
1281
1310
|
};
|
|
1282
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1311
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1283
1312
|
} & {
|
|
1284
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1313
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1285
1314
|
};
|
|
1286
1315
|
export declare const actionIncreaseFontSize: {
|
|
1287
1316
|
name: "increaseFontSize";
|
|
@@ -1302,7 +1331,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1302
1331
|
errorMessage: import("react").ReactNode;
|
|
1303
1332
|
activeEmbeddable: {
|
|
1304
1333
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1305
|
-
state: "
|
|
1334
|
+
state: "active" | "hover";
|
|
1306
1335
|
} | null;
|
|
1307
1336
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1308
1337
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1368,7 +1397,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1368
1397
|
name: "imageExport" | "help" | "jsonExport";
|
|
1369
1398
|
} | {
|
|
1370
1399
|
name: "ttd";
|
|
1371
|
-
tab: "text-to-diagram"
|
|
1400
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1372
1401
|
} | {
|
|
1373
1402
|
name: "commandPalette";
|
|
1374
1403
|
} | {
|
|
@@ -1440,8 +1469,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1440
1469
|
shown: true;
|
|
1441
1470
|
data: import("../charts").Spreadsheet;
|
|
1442
1471
|
};
|
|
1443
|
-
|
|
1444
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1472
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1445
1473
|
selectedLinearElement: LinearElementEditor | null;
|
|
1446
1474
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1447
1475
|
originSnapOffset: {
|
|
@@ -1457,12 +1485,16 @@ export declare const actionIncreaseFontSize: {
|
|
|
1457
1485
|
focusedId: string | null;
|
|
1458
1486
|
matches: readonly import("../types").SearchMatch[];
|
|
1459
1487
|
}> | null;
|
|
1488
|
+
activeLockedId: string | null;
|
|
1489
|
+
lockedMultiSelections: {
|
|
1490
|
+
[groupId: string]: true;
|
|
1491
|
+
};
|
|
1460
1492
|
};
|
|
1461
1493
|
captureUpdate: "IMMEDIATELY";
|
|
1462
1494
|
};
|
|
1463
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1495
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1464
1496
|
} & {
|
|
1465
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1497
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1466
1498
|
};
|
|
1467
1499
|
export declare const actionChangeFontFamily: {
|
|
1468
1500
|
name: "changeFontFamily";
|
|
@@ -1483,7 +1515,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1483
1515
|
errorMessage: import("react").ReactNode;
|
|
1484
1516
|
activeEmbeddable: {
|
|
1485
1517
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1486
|
-
state: "
|
|
1518
|
+
state: "active" | "hover";
|
|
1487
1519
|
} | null;
|
|
1488
1520
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1489
1521
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1547,7 +1579,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1547
1579
|
name: "imageExport" | "help" | "jsonExport";
|
|
1548
1580
|
} | {
|
|
1549
1581
|
name: "ttd";
|
|
1550
|
-
tab: "text-to-diagram"
|
|
1582
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1551
1583
|
} | {
|
|
1552
1584
|
name: "commandPalette";
|
|
1553
1585
|
} | {
|
|
@@ -1619,8 +1651,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1619
1651
|
shown: true;
|
|
1620
1652
|
data: import("../charts").Spreadsheet;
|
|
1621
1653
|
};
|
|
1622
|
-
|
|
1623
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1654
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1624
1655
|
selectedLinearElement: LinearElementEditor | null;
|
|
1625
1656
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1626
1657
|
originSnapOffset: {
|
|
@@ -1636,6 +1667,10 @@ export declare const actionChangeFontFamily: {
|
|
|
1636
1667
|
focusedId: string | null;
|
|
1637
1668
|
matches: readonly import("../types").SearchMatch[];
|
|
1638
1669
|
}> | null;
|
|
1670
|
+
activeLockedId: string | null;
|
|
1671
|
+
lockedMultiSelections: {
|
|
1672
|
+
[groupId: string]: true;
|
|
1673
|
+
};
|
|
1639
1674
|
};
|
|
1640
1675
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
1641
1676
|
} | {
|
|
@@ -1654,7 +1689,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1654
1689
|
errorMessage: import("react").ReactNode;
|
|
1655
1690
|
activeEmbeddable: {
|
|
1656
1691
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1657
|
-
state: "
|
|
1692
|
+
state: "active" | "hover";
|
|
1658
1693
|
} | null;
|
|
1659
1694
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1660
1695
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1718,7 +1753,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1718
1753
|
name: "imageExport" | "help" | "jsonExport";
|
|
1719
1754
|
} | {
|
|
1720
1755
|
name: "ttd";
|
|
1721
|
-
tab: "text-to-diagram"
|
|
1756
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1722
1757
|
} | {
|
|
1723
1758
|
name: "commandPalette";
|
|
1724
1759
|
} | {
|
|
@@ -1790,8 +1825,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1790
1825
|
shown: true;
|
|
1791
1826
|
data: import("../charts").Spreadsheet;
|
|
1792
1827
|
};
|
|
1793
|
-
|
|
1794
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1828
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1795
1829
|
selectedLinearElement: LinearElementEditor | null;
|
|
1796
1830
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1797
1831
|
originSnapOffset: {
|
|
@@ -1807,6 +1841,10 @@ export declare const actionChangeFontFamily: {
|
|
|
1807
1841
|
focusedId: string | null;
|
|
1808
1842
|
matches: readonly import("../types").SearchMatch[];
|
|
1809
1843
|
}> | null;
|
|
1844
|
+
activeLockedId: string | null;
|
|
1845
|
+
lockedMultiSelections: {
|
|
1846
|
+
[groupId: string]: true;
|
|
1847
|
+
};
|
|
1810
1848
|
};
|
|
1811
1849
|
captureUpdate: "NEVER";
|
|
1812
1850
|
};
|
|
@@ -1832,7 +1870,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1832
1870
|
errorMessage: import("react").ReactNode;
|
|
1833
1871
|
activeEmbeddable: {
|
|
1834
1872
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1835
|
-
state: "
|
|
1873
|
+
state: "active" | "hover";
|
|
1836
1874
|
} | null;
|
|
1837
1875
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1838
1876
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1898,7 +1936,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1898
1936
|
name: "imageExport" | "help" | "jsonExport";
|
|
1899
1937
|
} | {
|
|
1900
1938
|
name: "ttd";
|
|
1901
|
-
tab: "text-to-diagram"
|
|
1939
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1902
1940
|
} | {
|
|
1903
1941
|
name: "commandPalette";
|
|
1904
1942
|
} | {
|
|
@@ -1970,8 +2008,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1970
2008
|
shown: true;
|
|
1971
2009
|
data: import("../charts").Spreadsheet;
|
|
1972
2010
|
};
|
|
1973
|
-
|
|
1974
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
2011
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1975
2012
|
selectedLinearElement: LinearElementEditor | null;
|
|
1976
2013
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1977
2014
|
originSnapOffset: {
|
|
@@ -1987,6 +2024,10 @@ export declare const actionChangeTextAlign: {
|
|
|
1987
2024
|
focusedId: string | null;
|
|
1988
2025
|
matches: readonly import("../types").SearchMatch[];
|
|
1989
2026
|
}> | null;
|
|
2027
|
+
activeLockedId: string | null;
|
|
2028
|
+
lockedMultiSelections: {
|
|
2029
|
+
[groupId: string]: true;
|
|
2030
|
+
};
|
|
1990
2031
|
};
|
|
1991
2032
|
captureUpdate: "IMMEDIATELY";
|
|
1992
2033
|
};
|
|
@@ -2013,7 +2054,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2013
2054
|
errorMessage: import("react").ReactNode;
|
|
2014
2055
|
activeEmbeddable: {
|
|
2015
2056
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2016
|
-
state: "
|
|
2057
|
+
state: "active" | "hover";
|
|
2017
2058
|
} | null;
|
|
2018
2059
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2019
2060
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -2080,7 +2121,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2080
2121
|
name: "imageExport" | "help" | "jsonExport";
|
|
2081
2122
|
} | {
|
|
2082
2123
|
name: "ttd";
|
|
2083
|
-
tab: "text-to-diagram"
|
|
2124
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2084
2125
|
} | {
|
|
2085
2126
|
name: "commandPalette";
|
|
2086
2127
|
} | {
|
|
@@ -2152,8 +2193,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2152
2193
|
shown: true;
|
|
2153
2194
|
data: import("../charts").Spreadsheet;
|
|
2154
2195
|
};
|
|
2155
|
-
|
|
2156
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
2196
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
2157
2197
|
selectedLinearElement: LinearElementEditor | null;
|
|
2158
2198
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2159
2199
|
originSnapOffset: {
|
|
@@ -2169,6 +2209,10 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2169
2209
|
focusedId: string | null;
|
|
2170
2210
|
matches: readonly import("../types").SearchMatch[];
|
|
2171
2211
|
}> | null;
|
|
2212
|
+
activeLockedId: string | null;
|
|
2213
|
+
lockedMultiSelections: {
|
|
2214
|
+
[groupId: string]: true;
|
|
2215
|
+
};
|
|
2172
2216
|
};
|
|
2173
2217
|
captureUpdate: "IMMEDIATELY";
|
|
2174
2218
|
};
|
|
@@ -2194,7 +2238,7 @@ export declare const actionChangeRoundness: {
|
|
|
2194
2238
|
errorMessage: import("react").ReactNode;
|
|
2195
2239
|
activeEmbeddable: {
|
|
2196
2240
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2197
|
-
state: "
|
|
2241
|
+
state: "active" | "hover";
|
|
2198
2242
|
} | null;
|
|
2199
2243
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2200
2244
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -2260,7 +2304,7 @@ export declare const actionChangeRoundness: {
|
|
|
2260
2304
|
name: "imageExport" | "help" | "jsonExport";
|
|
2261
2305
|
} | {
|
|
2262
2306
|
name: "ttd";
|
|
2263
|
-
tab: "text-to-diagram"
|
|
2307
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2264
2308
|
} | {
|
|
2265
2309
|
name: "commandPalette";
|
|
2266
2310
|
} | {
|
|
@@ -2332,8 +2376,7 @@ export declare const actionChangeRoundness: {
|
|
|
2332
2376
|
shown: true;
|
|
2333
2377
|
data: import("../charts").Spreadsheet;
|
|
2334
2378
|
};
|
|
2335
|
-
|
|
2336
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
2379
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
2337
2380
|
selectedLinearElement: LinearElementEditor | null;
|
|
2338
2381
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2339
2382
|
originSnapOffset: {
|
|
@@ -2349,10 +2392,14 @@ export declare const actionChangeRoundness: {
|
|
|
2349
2392
|
focusedId: string | null;
|
|
2350
2393
|
matches: readonly import("../types").SearchMatch[];
|
|
2351
2394
|
}> | null;
|
|
2395
|
+
activeLockedId: string | null;
|
|
2396
|
+
lockedMultiSelections: {
|
|
2397
|
+
[groupId: string]: true;
|
|
2398
|
+
};
|
|
2352
2399
|
};
|
|
2353
2400
|
captureUpdate: "IMMEDIATELY";
|
|
2354
2401
|
};
|
|
2355
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2402
|
+
PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2356
2403
|
} & {
|
|
2357
2404
|
keyTest?: undefined;
|
|
2358
2405
|
};
|
|
@@ -2376,7 +2423,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2376
2423
|
errorMessage: import("react").ReactNode;
|
|
2377
2424
|
activeEmbeddable: {
|
|
2378
2425
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2379
|
-
state: "
|
|
2426
|
+
state: "active" | "hover";
|
|
2380
2427
|
} | null;
|
|
2381
2428
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2382
2429
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -2443,7 +2490,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2443
2490
|
name: "imageExport" | "help" | "jsonExport";
|
|
2444
2491
|
} | {
|
|
2445
2492
|
name: "ttd";
|
|
2446
|
-
tab: "text-to-diagram"
|
|
2493
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2447
2494
|
} | {
|
|
2448
2495
|
name: "commandPalette";
|
|
2449
2496
|
} | {
|
|
@@ -2515,8 +2562,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2515
2562
|
shown: true;
|
|
2516
2563
|
data: import("../charts").Spreadsheet;
|
|
2517
2564
|
};
|
|
2518
|
-
|
|
2519
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
2565
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
2520
2566
|
selectedLinearElement: LinearElementEditor | null;
|
|
2521
2567
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2522
2568
|
originSnapOffset: {
|
|
@@ -2532,6 +2578,10 @@ export declare const actionChangeArrowhead: {
|
|
|
2532
2578
|
focusedId: string | null;
|
|
2533
2579
|
matches: readonly import("../types").SearchMatch[];
|
|
2534
2580
|
}> | null;
|
|
2581
|
+
activeLockedId: string | null;
|
|
2582
|
+
lockedMultiSelections: {
|
|
2583
|
+
[groupId: string]: true;
|
|
2584
|
+
};
|
|
2535
2585
|
};
|
|
2536
2586
|
captureUpdate: "IMMEDIATELY";
|
|
2537
2587
|
};
|
|
@@ -2557,7 +2607,7 @@ export declare const actionChangeArrowType: {
|
|
|
2557
2607
|
errorMessage: import("react").ReactNode;
|
|
2558
2608
|
activeEmbeddable: {
|
|
2559
2609
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2560
|
-
state: "
|
|
2610
|
+
state: "active" | "hover";
|
|
2561
2611
|
} | null;
|
|
2562
2612
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2563
2613
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -2623,7 +2673,7 @@ export declare const actionChangeArrowType: {
|
|
|
2623
2673
|
name: "imageExport" | "help" | "jsonExport";
|
|
2624
2674
|
} | {
|
|
2625
2675
|
name: "ttd";
|
|
2626
|
-
tab: "text-to-diagram"
|
|
2676
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2627
2677
|
} | {
|
|
2628
2678
|
name: "commandPalette";
|
|
2629
2679
|
} | {
|
|
@@ -2695,8 +2745,7 @@ export declare const actionChangeArrowType: {
|
|
|
2695
2745
|
shown: true;
|
|
2696
2746
|
data: import("../charts").Spreadsheet;
|
|
2697
2747
|
};
|
|
2698
|
-
|
|
2699
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
2748
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
2700
2749
|
selectedLinearElement: LinearElementEditor | null;
|
|
2701
2750
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2702
2751
|
originSnapOffset: {
|
|
@@ -2712,6 +2761,10 @@ export declare const actionChangeArrowType: {
|
|
|
2712
2761
|
focusedId: string | null;
|
|
2713
2762
|
matches: readonly import("../types").SearchMatch[];
|
|
2714
2763
|
}> | null;
|
|
2764
|
+
activeLockedId: string | null;
|
|
2765
|
+
lockedMultiSelections: {
|
|
2766
|
+
[groupId: string]: true;
|
|
2767
|
+
};
|
|
2715
2768
|
};
|
|
2716
2769
|
captureUpdate: "IMMEDIATELY";
|
|
2717
2770
|
};
|
|
@@ -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;
|
|
@@ -96,7 +96,7 @@ export declare const actionSelectAll: {
|
|
|
96
96
|
name: "imageExport" | "help" | "jsonExport";
|
|
97
97
|
} | {
|
|
98
98
|
name: "ttd";
|
|
99
|
-
tab: "text-to-diagram"
|
|
99
|
+
tab: "mermaid" | "text-to-diagram";
|
|
100
100
|
} | {
|
|
101
101
|
name: "commandPalette";
|
|
102
102
|
} | {
|
|
@@ -161,8 +161,7 @@ export declare const actionSelectAll: {
|
|
|
161
161
|
shown: true;
|
|
162
162
|
data: import("../charts").Spreadsheet;
|
|
163
163
|
};
|
|
164
|
-
|
|
165
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
164
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
166
165
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
167
166
|
originSnapOffset: {
|
|
168
167
|
x: number;
|
|
@@ -177,10 +176,14 @@ export declare const actionSelectAll: {
|
|
|
177
176
|
focusedId: string | null;
|
|
178
177
|
matches: readonly import("../types").SearchMatch[];
|
|
179
178
|
}> | null;
|
|
179
|
+
activeLockedId: string | null;
|
|
180
|
+
lockedMultiSelections: {
|
|
181
|
+
[groupId: string]: true;
|
|
182
|
+
};
|
|
180
183
|
};
|
|
181
184
|
captureUpdate: "IMMEDIATELY";
|
|
182
185
|
};
|
|
183
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
186
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
184
187
|
} & {
|
|
185
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
188
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
186
189
|
};
|