@excalidraw/element 0.18.0-f0063e113 → 0.18.0-f2600fe
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/index.js +1098 -634
- package/dist/dev/index.js.map +4 -4
- package/dist/prod/index.js +14 -14
- package/dist/types/common/src/constants.d.ts +19 -15
- package/dist/types/common/src/editorInterface.d.ts +34 -0
- package/dist/types/common/src/index.d.ts +1 -0
- package/dist/types/common/src/utils.d.ts +2 -1
- package/dist/types/element/src/Scene.d.ts +6 -2
- package/dist/types/element/src/align.d.ts +2 -1
- package/dist/types/element/src/bounds.d.ts +1 -1
- package/dist/types/element/src/delta.d.ts +16 -4
- package/dist/types/element/src/distribute.d.ts +2 -1
- package/dist/types/element/src/groups.d.ts +1 -0
- package/dist/types/element/src/index.d.ts +1 -0
- package/dist/types/element/src/linearElementEditor.d.ts +2 -1
- package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
- package/dist/types/element/src/renderElement.d.ts +4 -1
- package/dist/types/element/src/resizeTest.d.ts +5 -4
- package/dist/types/element/src/store.d.ts +8 -2
- package/dist/types/element/src/textElement.d.ts +1 -1
- package/dist/types/element/src/transformHandles.d.ts +5 -4
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +21 -12
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +14 -8
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +94 -54
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +45 -26
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +7 -4
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +25 -16
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +7 -4
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +14 -8
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +7 -4
- package/dist/types/excalidraw/actions/actionExport.d.ts +63 -36
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +16 -9
- package/dist/types/excalidraw/actions/actionFrame.d.ts +28 -16
- package/dist/types/excalidraw/actions/actionGroup.d.ts +14 -8
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +41 -7
- package/dist/types/excalidraw/actions/actionLink.d.ts +5 -2
- package/dist/types/excalidraw/actions/actionMenu.d.ts +7 -372
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +14 -8
- package/dist/types/excalidraw/actions/actionProperties.d.ts +122 -68
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +7 -4
- package/dist/types/excalidraw/actions/actionStyles.d.ts +7 -4
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +7 -4
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +7 -4
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +7 -4
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +7 -4
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +7 -4
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +8 -5
- package/dist/types/excalidraw/actions/index.d.ts +2 -2
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +5 -1
- package/dist/types/excalidraw/clipboard.d.ts +64 -1
- package/dist/types/excalidraw/components/Actions.d.ts +20 -7
- package/dist/types/excalidraw/components/App.d.ts +29 -23
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -1
- package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
- package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
- package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
- package/dist/types/excalidraw/components/FilledButton.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +3 -1
- package/dist/types/excalidraw/components/HintViewer.d.ts +4 -3
- package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
- package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -5
- package/dist/types/excalidraw/components/MobileToolBar.d.ts +11 -0
- package/dist/types/excalidraw/components/Popover.d.ts +2 -1
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/TextField.d.ts +1 -0
- package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +3 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +4 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +2 -1
- package/dist/types/excalidraw/components/icons.d.ts +10 -0
- package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +13 -1
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +0 -3
- package/dist/types/excalidraw/components/shapes.d.ts +129 -1
- package/dist/types/excalidraw/data/blob.d.ts +3 -7
- package/dist/types/excalidraw/data/reconcile.d.ts +1 -0
- package/dist/types/excalidraw/data/restore.d.ts +6 -1
- package/dist/types/excalidraw/data/types.d.ts +4 -1
- package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +3 -1
- package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
- package/dist/types/excalidraw/index.d.ts +4 -4
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
- package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
- package/dist/types/excalidraw/scene/types.d.ts +3 -3
- package/dist/types/excalidraw/shortcut.d.ts +1 -0
- package/dist/types/excalidraw/types.d.ts +23 -19
- package/dist/types/math/src/segment.d.ts +1 -0
- package/package.json +7 -3
|
@@ -37,12 +37,15 @@ export declare const actionChangeProjectName: {
|
|
|
37
37
|
editingFrame: string | null;
|
|
38
38
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
39
39
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
40
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
41
40
|
activeTool: {
|
|
42
41
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
43
42
|
locked: boolean;
|
|
44
43
|
fromSelection: boolean;
|
|
45
44
|
} & import("../types").ActiveTool;
|
|
45
|
+
preferredSelectionTool: {
|
|
46
|
+
type: "selection" | "lasso";
|
|
47
|
+
initialized: boolean;
|
|
48
|
+
};
|
|
46
49
|
penMode: boolean;
|
|
47
50
|
penDetected: boolean;
|
|
48
51
|
exportBackground: boolean;
|
|
@@ -74,8 +77,8 @@ export declare const actionChangeProjectName: {
|
|
|
74
77
|
zoom: Readonly<{
|
|
75
78
|
value: import("../types").NormalizedZoomValue;
|
|
76
79
|
}>;
|
|
77
|
-
openMenu: "canvas" |
|
|
78
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
80
|
+
openMenu: "canvas" | null;
|
|
81
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
79
82
|
openSidebar: {
|
|
80
83
|
name: string;
|
|
81
84
|
tab?: string | undefined;
|
|
@@ -156,7 +159,7 @@ export declare const actionChangeProjectName: {
|
|
|
156
159
|
shown: true;
|
|
157
160
|
data: import("../charts").Spreadsheet;
|
|
158
161
|
};
|
|
159
|
-
showHyperlinkPopup: false | "
|
|
162
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
160
163
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
161
164
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
162
165
|
originSnapOffset: {
|
|
@@ -222,12 +225,15 @@ export declare const actionChangeExportScale: {
|
|
|
222
225
|
editingFrame: string | null;
|
|
223
226
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
224
227
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
225
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
226
228
|
activeTool: {
|
|
227
229
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
228
230
|
locked: boolean;
|
|
229
231
|
fromSelection: boolean;
|
|
230
232
|
} & import("../types").ActiveTool;
|
|
233
|
+
preferredSelectionTool: {
|
|
234
|
+
type: "selection" | "lasso";
|
|
235
|
+
initialized: boolean;
|
|
236
|
+
};
|
|
231
237
|
penMode: boolean;
|
|
232
238
|
penDetected: boolean;
|
|
233
239
|
exportBackground: boolean;
|
|
@@ -259,8 +265,8 @@ export declare const actionChangeExportScale: {
|
|
|
259
265
|
zoom: Readonly<{
|
|
260
266
|
value: import("../types").NormalizedZoomValue;
|
|
261
267
|
}>;
|
|
262
|
-
openMenu: "canvas" |
|
|
263
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
268
|
+
openMenu: "canvas" | null;
|
|
269
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
264
270
|
openSidebar: {
|
|
265
271
|
name: string;
|
|
266
272
|
tab?: string | undefined;
|
|
@@ -341,7 +347,7 @@ export declare const actionChangeExportScale: {
|
|
|
341
347
|
shown: true;
|
|
342
348
|
data: import("../charts").Spreadsheet;
|
|
343
349
|
};
|
|
344
|
-
showHyperlinkPopup: false | "
|
|
350
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
345
351
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
346
352
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
347
353
|
originSnapOffset: {
|
|
@@ -407,12 +413,15 @@ export declare const actionChangeExportBackground: {
|
|
|
407
413
|
editingFrame: string | null;
|
|
408
414
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
409
415
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
410
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
411
416
|
activeTool: {
|
|
412
417
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
413
418
|
locked: boolean;
|
|
414
419
|
fromSelection: boolean;
|
|
415
420
|
} & import("../types").ActiveTool;
|
|
421
|
+
preferredSelectionTool: {
|
|
422
|
+
type: "selection" | "lasso";
|
|
423
|
+
initialized: boolean;
|
|
424
|
+
};
|
|
416
425
|
penMode: boolean;
|
|
417
426
|
penDetected: boolean;
|
|
418
427
|
exportEmbedScene: boolean;
|
|
@@ -444,8 +453,8 @@ export declare const actionChangeExportBackground: {
|
|
|
444
453
|
zoom: Readonly<{
|
|
445
454
|
value: import("../types").NormalizedZoomValue;
|
|
446
455
|
}>;
|
|
447
|
-
openMenu: "canvas" |
|
|
448
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
456
|
+
openMenu: "canvas" | null;
|
|
457
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
449
458
|
openSidebar: {
|
|
450
459
|
name: string;
|
|
451
460
|
tab?: string | undefined;
|
|
@@ -526,7 +535,7 @@ export declare const actionChangeExportBackground: {
|
|
|
526
535
|
shown: true;
|
|
527
536
|
data: import("../charts").Spreadsheet;
|
|
528
537
|
};
|
|
529
|
-
showHyperlinkPopup: false | "
|
|
538
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
530
539
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
531
540
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
532
541
|
originSnapOffset: {
|
|
@@ -592,12 +601,15 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
592
601
|
editingFrame: string | null;
|
|
593
602
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
594
603
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
595
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
596
604
|
activeTool: {
|
|
597
605
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
598
606
|
locked: boolean;
|
|
599
607
|
fromSelection: boolean;
|
|
600
608
|
} & import("../types").ActiveTool;
|
|
609
|
+
preferredSelectionTool: {
|
|
610
|
+
type: "selection" | "lasso";
|
|
611
|
+
initialized: boolean;
|
|
612
|
+
};
|
|
601
613
|
penMode: boolean;
|
|
602
614
|
penDetected: boolean;
|
|
603
615
|
exportBackground: boolean;
|
|
@@ -629,8 +641,8 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
629
641
|
zoom: Readonly<{
|
|
630
642
|
value: import("../types").NormalizedZoomValue;
|
|
631
643
|
}>;
|
|
632
|
-
openMenu: "canvas" |
|
|
633
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
644
|
+
openMenu: "canvas" | null;
|
|
645
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
634
646
|
openSidebar: {
|
|
635
647
|
name: string;
|
|
636
648
|
tab?: string | undefined;
|
|
@@ -711,7 +723,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
711
723
|
shown: true;
|
|
712
724
|
data: import("../charts").Spreadsheet;
|
|
713
725
|
};
|
|
714
|
-
showHyperlinkPopup: false | "
|
|
726
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
715
727
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
716
728
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
717
729
|
originSnapOffset: {
|
|
@@ -782,12 +794,15 @@ export declare const actionSaveToActiveFile: {
|
|
|
782
794
|
editingFrame: string | null;
|
|
783
795
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
784
796
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
785
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
786
797
|
activeTool: {
|
|
787
798
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
788
799
|
locked: boolean;
|
|
789
800
|
fromSelection: boolean;
|
|
790
801
|
} & import("../types").ActiveTool;
|
|
802
|
+
preferredSelectionTool: {
|
|
803
|
+
type: "selection" | "lasso";
|
|
804
|
+
initialized: boolean;
|
|
805
|
+
};
|
|
791
806
|
penMode: boolean;
|
|
792
807
|
penDetected: boolean;
|
|
793
808
|
exportBackground: boolean;
|
|
@@ -820,8 +835,8 @@ export declare const actionSaveToActiveFile: {
|
|
|
820
835
|
zoom: Readonly<{
|
|
821
836
|
value: import("../types").NormalizedZoomValue;
|
|
822
837
|
}>;
|
|
823
|
-
openMenu: "canvas" |
|
|
824
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
838
|
+
openMenu: "canvas" | null;
|
|
839
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
825
840
|
openSidebar: {
|
|
826
841
|
name: string;
|
|
827
842
|
tab?: string | undefined;
|
|
@@ -896,7 +911,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
896
911
|
shown: true;
|
|
897
912
|
data: import("../charts").Spreadsheet;
|
|
898
913
|
};
|
|
899
|
-
showHyperlinkPopup: false | "
|
|
914
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
900
915
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
901
916
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
902
917
|
originSnapOffset: {
|
|
@@ -970,12 +985,15 @@ export declare const actionSaveFileToDisk: {
|
|
|
970
985
|
editingFrame: string | null;
|
|
971
986
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
972
987
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
973
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
974
988
|
activeTool: {
|
|
975
989
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
976
990
|
locked: boolean;
|
|
977
991
|
fromSelection: boolean;
|
|
978
992
|
} & import("../types").ActiveTool;
|
|
993
|
+
preferredSelectionTool: {
|
|
994
|
+
type: "selection" | "lasso";
|
|
995
|
+
initialized: boolean;
|
|
996
|
+
};
|
|
979
997
|
penMode: boolean;
|
|
980
998
|
penDetected: boolean;
|
|
981
999
|
exportBackground: boolean;
|
|
@@ -1008,8 +1026,8 @@ export declare const actionSaveFileToDisk: {
|
|
|
1008
1026
|
zoom: Readonly<{
|
|
1009
1027
|
value: import("../types").NormalizedZoomValue;
|
|
1010
1028
|
}>;
|
|
1011
|
-
openMenu: "canvas" |
|
|
1012
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1029
|
+
openMenu: "canvas" | null;
|
|
1030
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1013
1031
|
openSidebar: {
|
|
1014
1032
|
name: string;
|
|
1015
1033
|
tab?: string | undefined;
|
|
@@ -1073,7 +1091,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
1073
1091
|
shown: true;
|
|
1074
1092
|
data: import("../charts").Spreadsheet;
|
|
1075
1093
|
};
|
|
1076
|
-
showHyperlinkPopup: false | "
|
|
1094
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1077
1095
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1078
1096
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1079
1097
|
originSnapOffset: {
|
|
@@ -1148,7 +1166,6 @@ export declare const actionLoadScene: {
|
|
|
1148
1166
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1149
1167
|
state: "active" | "hover";
|
|
1150
1168
|
} | null;
|
|
1151
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1152
1169
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1153
1170
|
selectedGroupIds: {
|
|
1154
1171
|
[groupId: string]: boolean;
|
|
@@ -1206,6 +1223,10 @@ export declare const actionLoadScene: {
|
|
|
1206
1223
|
locked: boolean;
|
|
1207
1224
|
fromSelection: boolean;
|
|
1208
1225
|
} & import("../types").ActiveTool;
|
|
1226
|
+
preferredSelectionTool: {
|
|
1227
|
+
type: "selection" | "lasso";
|
|
1228
|
+
initialized: boolean;
|
|
1229
|
+
};
|
|
1209
1230
|
penMode: boolean;
|
|
1210
1231
|
penDetected: boolean;
|
|
1211
1232
|
exportBackground: boolean;
|
|
@@ -1230,8 +1251,8 @@ export declare const actionLoadScene: {
|
|
|
1230
1251
|
cursorButton: "up" | "down";
|
|
1231
1252
|
scrolledOutside: boolean;
|
|
1232
1253
|
isResizing: boolean;
|
|
1233
|
-
openMenu: "canvas" |
|
|
1234
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1254
|
+
openMenu: "canvas" | null;
|
|
1255
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1235
1256
|
openSidebar: {
|
|
1236
1257
|
name: string;
|
|
1237
1258
|
tab?: string | undefined;
|
|
@@ -1267,7 +1288,7 @@ export declare const actionLoadScene: {
|
|
|
1267
1288
|
shown: true;
|
|
1268
1289
|
data: import("../charts").Spreadsheet;
|
|
1269
1290
|
};
|
|
1270
|
-
showHyperlinkPopup: false | "
|
|
1291
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1271
1292
|
originSnapOffset: {
|
|
1272
1293
|
x: number;
|
|
1273
1294
|
y: number;
|
|
@@ -1313,12 +1334,15 @@ export declare const actionLoadScene: {
|
|
|
1313
1334
|
editingFrame: string | null;
|
|
1314
1335
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1315
1336
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1316
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1317
1337
|
activeTool: {
|
|
1318
1338
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1319
1339
|
locked: boolean;
|
|
1320
1340
|
fromSelection: boolean;
|
|
1321
1341
|
} & import("../types").ActiveTool;
|
|
1342
|
+
preferredSelectionTool: {
|
|
1343
|
+
type: "selection" | "lasso";
|
|
1344
|
+
initialized: boolean;
|
|
1345
|
+
};
|
|
1322
1346
|
penMode: boolean;
|
|
1323
1347
|
penDetected: boolean;
|
|
1324
1348
|
exportBackground: boolean;
|
|
@@ -1351,8 +1375,8 @@ export declare const actionLoadScene: {
|
|
|
1351
1375
|
zoom: Readonly<{
|
|
1352
1376
|
value: import("../types").NormalizedZoomValue;
|
|
1353
1377
|
}>;
|
|
1354
|
-
openMenu: "canvas" |
|
|
1355
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1378
|
+
openMenu: "canvas" | null;
|
|
1379
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1356
1380
|
openSidebar: {
|
|
1357
1381
|
name: string;
|
|
1358
1382
|
tab?: string | undefined;
|
|
@@ -1433,7 +1457,7 @@ export declare const actionLoadScene: {
|
|
|
1433
1457
|
shown: true;
|
|
1434
1458
|
data: import("../charts").Spreadsheet;
|
|
1435
1459
|
};
|
|
1436
|
-
showHyperlinkPopup: false | "
|
|
1460
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1437
1461
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1438
1462
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1439
1463
|
originSnapOffset: {
|
|
@@ -1500,12 +1524,15 @@ export declare const actionExportWithDarkMode: {
|
|
|
1500
1524
|
editingFrame: string | null;
|
|
1501
1525
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1502
1526
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1503
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1504
1527
|
activeTool: {
|
|
1505
1528
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1506
1529
|
locked: boolean;
|
|
1507
1530
|
fromSelection: boolean;
|
|
1508
1531
|
} & import("../types").ActiveTool;
|
|
1532
|
+
preferredSelectionTool: {
|
|
1533
|
+
type: "selection" | "lasso";
|
|
1534
|
+
initialized: boolean;
|
|
1535
|
+
};
|
|
1509
1536
|
penMode: boolean;
|
|
1510
1537
|
penDetected: boolean;
|
|
1511
1538
|
exportBackground: boolean;
|
|
@@ -1537,8 +1564,8 @@ export declare const actionExportWithDarkMode: {
|
|
|
1537
1564
|
zoom: Readonly<{
|
|
1538
1565
|
value: import("../types").NormalizedZoomValue;
|
|
1539
1566
|
}>;
|
|
1540
|
-
openMenu: "canvas" |
|
|
1541
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1567
|
+
openMenu: "canvas" | null;
|
|
1568
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1542
1569
|
openSidebar: {
|
|
1543
1570
|
name: string;
|
|
1544
1571
|
tab?: string | undefined;
|
|
@@ -1619,7 +1646,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1619
1646
|
shown: true;
|
|
1620
1647
|
data: import("../charts").Spreadsheet;
|
|
1621
1648
|
};
|
|
1622
|
-
showHyperlinkPopup: false | "
|
|
1649
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1623
1650
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1624
1651
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1625
1652
|
originSnapOffset: {
|
|
@@ -41,6 +41,7 @@ export declare const actionFinalize: {
|
|
|
41
41
|
segmentMidPointHoveredCoords: import("@excalidraw/math").GlobalPoint | null;
|
|
42
42
|
elbowed: boolean;
|
|
43
43
|
customLineAngle: number | null;
|
|
44
|
+
isEditing: boolean;
|
|
44
45
|
};
|
|
45
46
|
suggestedBindings: never[];
|
|
46
47
|
};
|
|
@@ -49,7 +50,7 @@ export declare const actionFinalize: {
|
|
|
49
50
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[] | undefined;
|
|
50
51
|
appState: {
|
|
51
52
|
cursorButton: "up";
|
|
52
|
-
|
|
53
|
+
selectedLinearElement: LinearElementEditor;
|
|
53
54
|
contextMenu: {
|
|
54
55
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
55
56
|
top: number;
|
|
@@ -84,6 +85,10 @@ export declare const actionFinalize: {
|
|
|
84
85
|
locked: boolean;
|
|
85
86
|
fromSelection: boolean;
|
|
86
87
|
} & import("../types").ActiveTool;
|
|
88
|
+
preferredSelectionTool: {
|
|
89
|
+
type: "selection" | "lasso";
|
|
90
|
+
initialized: boolean;
|
|
91
|
+
};
|
|
87
92
|
penMode: boolean;
|
|
88
93
|
penDetected: boolean;
|
|
89
94
|
exportBackground: boolean;
|
|
@@ -115,8 +120,8 @@ export declare const actionFinalize: {
|
|
|
115
120
|
zoom: Readonly<{
|
|
116
121
|
value: import("../types").NormalizedZoomValue;
|
|
117
122
|
}>;
|
|
118
|
-
openMenu: "canvas" |
|
|
119
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
123
|
+
openMenu: "canvas" | null;
|
|
124
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
120
125
|
openSidebar: {
|
|
121
126
|
name: string;
|
|
122
127
|
tab?: string | undefined;
|
|
@@ -197,8 +202,7 @@ export declare const actionFinalize: {
|
|
|
197
202
|
shown: true;
|
|
198
203
|
data: import("../charts").Spreadsheet;
|
|
199
204
|
};
|
|
200
|
-
showHyperlinkPopup: false | "
|
|
201
|
-
selectedLinearElement: LinearElementEditor | null;
|
|
205
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
202
206
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
203
207
|
originSnapOffset: {
|
|
204
208
|
x: number;
|
|
@@ -258,7 +262,10 @@ export declare const actionFinalize: {
|
|
|
258
262
|
};
|
|
259
263
|
editingFrame: string | null;
|
|
260
264
|
elementsToHighlight: NonDeleted<ExcalidrawElement>[] | null;
|
|
261
|
-
|
|
265
|
+
preferredSelectionTool: {
|
|
266
|
+
type: "selection" | "lasso";
|
|
267
|
+
initialized: boolean;
|
|
268
|
+
};
|
|
262
269
|
penMode: boolean;
|
|
263
270
|
penDetected: boolean;
|
|
264
271
|
exportBackground: boolean;
|
|
@@ -290,8 +297,8 @@ export declare const actionFinalize: {
|
|
|
290
297
|
zoom: Readonly<{
|
|
291
298
|
value: import("../types").NormalizedZoomValue;
|
|
292
299
|
}>;
|
|
293
|
-
openMenu: "canvas" |
|
|
294
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
300
|
+
openMenu: "canvas" | null;
|
|
301
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
295
302
|
openSidebar: {
|
|
296
303
|
name: string;
|
|
297
304
|
tab?: string | undefined;
|
|
@@ -369,7 +376,7 @@ export declare const actionFinalize: {
|
|
|
369
376
|
shown: true;
|
|
370
377
|
data: import("../charts").Spreadsheet;
|
|
371
378
|
};
|
|
372
|
-
showHyperlinkPopup: false | "
|
|
379
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
373
380
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
374
381
|
originSnapOffset: {
|
|
375
382
|
x: number;
|
|
@@ -40,12 +40,15 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
40
40
|
editingFrame: string | null;
|
|
41
41
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
42
42
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
43
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
44
43
|
activeTool: {
|
|
45
44
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
46
45
|
locked: boolean;
|
|
47
46
|
fromSelection: boolean;
|
|
48
47
|
} & import("../types").ActiveTool;
|
|
48
|
+
preferredSelectionTool: {
|
|
49
|
+
type: "selection" | "lasso";
|
|
50
|
+
initialized: boolean;
|
|
51
|
+
};
|
|
49
52
|
penMode: boolean;
|
|
50
53
|
penDetected: boolean;
|
|
51
54
|
exportBackground: boolean;
|
|
@@ -78,8 +81,8 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
78
81
|
zoom: Readonly<{
|
|
79
82
|
value: import("../types").NormalizedZoomValue;
|
|
80
83
|
}>;
|
|
81
|
-
openMenu: "canvas" |
|
|
82
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
84
|
+
openMenu: "canvas" | null;
|
|
85
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
83
86
|
openSidebar: {
|
|
84
87
|
name: string;
|
|
85
88
|
tab?: string | undefined;
|
|
@@ -157,7 +160,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
157
160
|
shown: true;
|
|
158
161
|
data: import("../charts").Spreadsheet;
|
|
159
162
|
};
|
|
160
|
-
showHyperlinkPopup: false | "
|
|
163
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
161
164
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
162
165
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
163
166
|
originSnapOffset: {
|
|
@@ -229,12 +232,15 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
229
232
|
editingFrame: string | null;
|
|
230
233
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
231
234
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
232
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
233
235
|
activeTool: {
|
|
234
236
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
235
237
|
locked: boolean;
|
|
236
238
|
fromSelection: boolean;
|
|
237
239
|
} & import("../types").ActiveTool;
|
|
240
|
+
preferredSelectionTool: {
|
|
241
|
+
type: "selection" | "lasso";
|
|
242
|
+
initialized: boolean;
|
|
243
|
+
};
|
|
238
244
|
penMode: boolean;
|
|
239
245
|
penDetected: boolean;
|
|
240
246
|
exportBackground: boolean;
|
|
@@ -267,8 +273,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
267
273
|
zoom: Readonly<{
|
|
268
274
|
value: import("../types").NormalizedZoomValue;
|
|
269
275
|
}>;
|
|
270
|
-
openMenu: "canvas" |
|
|
271
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
276
|
+
openMenu: "canvas" | null;
|
|
277
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
272
278
|
openSidebar: {
|
|
273
279
|
name: string;
|
|
274
280
|
tab?: string | undefined;
|
|
@@ -346,7 +352,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
346
352
|
shown: true;
|
|
347
353
|
data: import("../charts").Spreadsheet;
|
|
348
354
|
};
|
|
349
|
-
showHyperlinkPopup: false | "
|
|
355
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
350
356
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
351
357
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
352
358
|
originSnapOffset: {
|
|
@@ -416,12 +422,15 @@ export declare const actionupdateFrameRendering: {
|
|
|
416
422
|
editingFrame: string | null;
|
|
417
423
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
418
424
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
419
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
420
425
|
activeTool: {
|
|
421
426
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
422
427
|
locked: boolean;
|
|
423
428
|
fromSelection: boolean;
|
|
424
429
|
} & import("../types").ActiveTool;
|
|
430
|
+
preferredSelectionTool: {
|
|
431
|
+
type: "selection" | "lasso";
|
|
432
|
+
initialized: boolean;
|
|
433
|
+
};
|
|
425
434
|
penMode: boolean;
|
|
426
435
|
penDetected: boolean;
|
|
427
436
|
exportBackground: boolean;
|
|
@@ -454,8 +463,8 @@ export declare const actionupdateFrameRendering: {
|
|
|
454
463
|
zoom: Readonly<{
|
|
455
464
|
value: import("../types").NormalizedZoomValue;
|
|
456
465
|
}>;
|
|
457
|
-
openMenu: "canvas" |
|
|
458
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
466
|
+
openMenu: "canvas" | null;
|
|
467
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
459
468
|
openSidebar: {
|
|
460
469
|
name: string;
|
|
461
470
|
tab?: string | undefined;
|
|
@@ -536,7 +545,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
536
545
|
shown: true;
|
|
537
546
|
data: import("../charts").Spreadsheet;
|
|
538
547
|
};
|
|
539
|
-
showHyperlinkPopup: false | "
|
|
548
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
540
549
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
541
550
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
542
551
|
originSnapOffset: {
|
|
@@ -608,7 +617,10 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
608
617
|
editingFrame: string | null;
|
|
609
618
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
610
619
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
611
|
-
|
|
620
|
+
preferredSelectionTool: {
|
|
621
|
+
type: "selection" | "lasso";
|
|
622
|
+
initialized: boolean;
|
|
623
|
+
};
|
|
612
624
|
penMode: boolean;
|
|
613
625
|
penDetected: boolean;
|
|
614
626
|
exportBackground: boolean;
|
|
@@ -641,8 +653,8 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
641
653
|
zoom: Readonly<{
|
|
642
654
|
value: import("../types").NormalizedZoomValue;
|
|
643
655
|
}>;
|
|
644
|
-
openMenu: "canvas" |
|
|
645
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
656
|
+
openMenu: "canvas" | null;
|
|
657
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
646
658
|
openSidebar: {
|
|
647
659
|
name: string;
|
|
648
660
|
tab?: string | undefined;
|
|
@@ -723,7 +735,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
723
735
|
shown: true;
|
|
724
736
|
data: import("../charts").Spreadsheet;
|
|
725
737
|
};
|
|
726
|
-
showHyperlinkPopup: false | "
|
|
738
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
727
739
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
728
740
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
729
741
|
originSnapOffset: {
|
|
@@ -50,12 +50,15 @@ export declare const actionGroup: {
|
|
|
50
50
|
editingFrame: string | null;
|
|
51
51
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
52
52
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
53
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
54
53
|
activeTool: {
|
|
55
54
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
56
55
|
locked: boolean;
|
|
57
56
|
fromSelection: boolean;
|
|
58
57
|
} & import("../types").ActiveTool;
|
|
58
|
+
preferredSelectionTool: {
|
|
59
|
+
type: "selection" | "lasso";
|
|
60
|
+
initialized: boolean;
|
|
61
|
+
};
|
|
59
62
|
penMode: boolean;
|
|
60
63
|
penDetected: boolean;
|
|
61
64
|
exportBackground: boolean;
|
|
@@ -88,8 +91,8 @@ export declare const actionGroup: {
|
|
|
88
91
|
zoom: Readonly<{
|
|
89
92
|
value: import("../types").NormalizedZoomValue;
|
|
90
93
|
}>;
|
|
91
|
-
openMenu: "canvas" |
|
|
92
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
94
|
+
openMenu: "canvas" | null;
|
|
95
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
93
96
|
openSidebar: {
|
|
94
97
|
name: string;
|
|
95
98
|
tab?: string | undefined;
|
|
@@ -163,7 +166,7 @@ export declare const actionGroup: {
|
|
|
163
166
|
shown: true;
|
|
164
167
|
data: import("../charts").Spreadsheet;
|
|
165
168
|
};
|
|
166
|
-
showHyperlinkPopup: false | "
|
|
169
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
167
170
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
168
171
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
169
172
|
originSnapOffset: {
|
|
@@ -242,12 +245,15 @@ export declare const actionUngroup: {
|
|
|
242
245
|
editingFrame: string | null;
|
|
243
246
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
244
247
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
245
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
246
248
|
activeTool: {
|
|
247
249
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
248
250
|
locked: boolean;
|
|
249
251
|
fromSelection: boolean;
|
|
250
252
|
} & import("../types").ActiveTool;
|
|
253
|
+
preferredSelectionTool: {
|
|
254
|
+
type: "selection" | "lasso";
|
|
255
|
+
initialized: boolean;
|
|
256
|
+
};
|
|
251
257
|
penMode: boolean;
|
|
252
258
|
penDetected: boolean;
|
|
253
259
|
exportBackground: boolean;
|
|
@@ -280,8 +286,8 @@ export declare const actionUngroup: {
|
|
|
280
286
|
zoom: Readonly<{
|
|
281
287
|
value: import("../types").NormalizedZoomValue;
|
|
282
288
|
}>;
|
|
283
|
-
openMenu: "canvas" |
|
|
284
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
289
|
+
openMenu: "canvas" | null;
|
|
290
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
285
291
|
openSidebar: {
|
|
286
292
|
name: string;
|
|
287
293
|
tab?: string | undefined;
|
|
@@ -355,7 +361,7 @@ export declare const actionUngroup: {
|
|
|
355
361
|
shown: true;
|
|
356
362
|
data: import("../charts").Spreadsheet;
|
|
357
363
|
};
|
|
358
|
-
showHyperlinkPopup: false | "
|
|
364
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
359
365
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
360
366
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
361
367
|
originSnapOffset: {
|