@excalidraw/math 0.18.0-ec07091 → 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/types/common/src/constants.d.ts +3 -16
- 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 +0 -2
- package/dist/types/element/src/resizeTest.d.ts +5 -4
- package/dist/types/element/src/transformHandles.d.ts +5 -4
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +18 -9
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +12 -6
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +78 -39
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +36 -18
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +19 -10
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +12 -6
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionExport.d.ts +54 -27
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +12 -6
- package/dist/types/excalidraw/actions/actionFrame.d.ts +24 -12
- package/dist/types/excalidraw/actions/actionGroup.d.ts +12 -6
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionLink.d.ts +4 -1
- package/dist/types/excalidraw/actions/actionMenu.d.ts +7 -372
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +12 -6
- package/dist/types/excalidraw/actions/actionProperties.d.ts +91 -46
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionStyles.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +7 -4
- package/dist/types/excalidraw/actions/index.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +5 -2
- package/dist/types/excalidraw/components/Actions.d.ts +13 -3
- package/dist/types/excalidraw/components/App.d.ts +19 -17
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +1 -2
- 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/ExcalidrawLogo.d.ts +1 -1
- package/dist/types/excalidraw/components/FilledButton.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
- package/dist/types/excalidraw/components/HintViewer.d.ts +4 -3
- package/dist/types/excalidraw/components/LayerUI.d.ts +2 -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/TTDDialog/TTDDialogTrigger.d.ts +1 -2
- 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 +5 -1
- 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/hooks/useOutsideClick.d.ts +3 -1
- package/dist/types/excalidraw/index.d.ts +2 -3
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +1 -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 +16 -17
- package/package.json +2 -2
|
@@ -137,6 +137,10 @@ export declare const actionClearCanvas: {
|
|
|
137
137
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
138
138
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
139
139
|
editingFrame: string | null;
|
|
140
|
+
preferredSelectionTool: {
|
|
141
|
+
type: "selection" | "lasso";
|
|
142
|
+
initialized: boolean;
|
|
143
|
+
};
|
|
140
144
|
exportWithDarkMode: boolean;
|
|
141
145
|
exportScale: number;
|
|
142
146
|
currentItemStrokeColor: string;
|
|
@@ -157,7 +161,7 @@ export declare const actionClearCanvas: {
|
|
|
157
161
|
cursorButton: "up" | "down";
|
|
158
162
|
scrolledOutside: boolean;
|
|
159
163
|
isResizing: boolean;
|
|
160
|
-
openMenu: "canvas" |
|
|
164
|
+
openMenu: "canvas" | null;
|
|
161
165
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
162
166
|
openSidebar: {
|
|
163
167
|
name: string;
|
|
@@ -180,7 +184,7 @@ export declare const actionClearCanvas: {
|
|
|
180
184
|
} | null;
|
|
181
185
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
182
186
|
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
183
|
-
showHyperlinkPopup: false | "
|
|
187
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
184
188
|
originSnapOffset: {
|
|
185
189
|
x: number;
|
|
186
190
|
y: number;
|
|
@@ -191,7 +195,6 @@ export declare const actionClearCanvas: {
|
|
|
191
195
|
lockedMultiSelections: {
|
|
192
196
|
[groupId: string]: true;
|
|
193
197
|
};
|
|
194
|
-
stylesPanelMode: "compact" | "full";
|
|
195
198
|
};
|
|
196
199
|
captureUpdate: "IMMEDIATELY";
|
|
197
200
|
};
|
|
@@ -248,6 +251,10 @@ export declare const actionZoomIn: {
|
|
|
248
251
|
locked: boolean;
|
|
249
252
|
fromSelection: boolean;
|
|
250
253
|
} & import("../types").ActiveTool;
|
|
254
|
+
preferredSelectionTool: {
|
|
255
|
+
type: "selection" | "lasso";
|
|
256
|
+
initialized: boolean;
|
|
257
|
+
};
|
|
251
258
|
penMode: boolean;
|
|
252
259
|
penDetected: boolean;
|
|
253
260
|
exportBackground: boolean;
|
|
@@ -275,7 +282,7 @@ export declare const actionZoomIn: {
|
|
|
275
282
|
name: string | null;
|
|
276
283
|
isResizing: boolean;
|
|
277
284
|
isRotating: boolean;
|
|
278
|
-
openMenu: "canvas" |
|
|
285
|
+
openMenu: "canvas" | null;
|
|
279
286
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
280
287
|
openSidebar: {
|
|
281
288
|
name: string;
|
|
@@ -357,7 +364,7 @@ export declare const actionZoomIn: {
|
|
|
357
364
|
shown: true;
|
|
358
365
|
data: import("../charts").Spreadsheet;
|
|
359
366
|
};
|
|
360
|
-
showHyperlinkPopup: false | "
|
|
367
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
361
368
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
362
369
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
363
370
|
originSnapOffset: {
|
|
@@ -376,7 +383,6 @@ export declare const actionZoomIn: {
|
|
|
376
383
|
lockedMultiSelections: {
|
|
377
384
|
[groupId: string]: true;
|
|
378
385
|
};
|
|
379
|
-
stylesPanelMode: "compact" | "full";
|
|
380
386
|
};
|
|
381
387
|
captureUpdate: "EVENTUALLY";
|
|
382
388
|
};
|
|
@@ -435,6 +441,10 @@ export declare const actionZoomOut: {
|
|
|
435
441
|
locked: boolean;
|
|
436
442
|
fromSelection: boolean;
|
|
437
443
|
} & import("../types").ActiveTool;
|
|
444
|
+
preferredSelectionTool: {
|
|
445
|
+
type: "selection" | "lasso";
|
|
446
|
+
initialized: boolean;
|
|
447
|
+
};
|
|
438
448
|
penMode: boolean;
|
|
439
449
|
penDetected: boolean;
|
|
440
450
|
exportBackground: boolean;
|
|
@@ -462,7 +472,7 @@ export declare const actionZoomOut: {
|
|
|
462
472
|
name: string | null;
|
|
463
473
|
isResizing: boolean;
|
|
464
474
|
isRotating: boolean;
|
|
465
|
-
openMenu: "canvas" |
|
|
475
|
+
openMenu: "canvas" | null;
|
|
466
476
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
467
477
|
openSidebar: {
|
|
468
478
|
name: string;
|
|
@@ -544,7 +554,7 @@ export declare const actionZoomOut: {
|
|
|
544
554
|
shown: true;
|
|
545
555
|
data: import("../charts").Spreadsheet;
|
|
546
556
|
};
|
|
547
|
-
showHyperlinkPopup: false | "
|
|
557
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
548
558
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
549
559
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
550
560
|
originSnapOffset: {
|
|
@@ -563,7 +573,6 @@ export declare const actionZoomOut: {
|
|
|
563
573
|
lockedMultiSelections: {
|
|
564
574
|
[groupId: string]: true;
|
|
565
575
|
};
|
|
566
|
-
stylesPanelMode: "compact" | "full";
|
|
567
576
|
};
|
|
568
577
|
captureUpdate: "EVENTUALLY";
|
|
569
578
|
};
|
|
@@ -622,6 +631,10 @@ export declare const actionResetZoom: {
|
|
|
622
631
|
locked: boolean;
|
|
623
632
|
fromSelection: boolean;
|
|
624
633
|
} & import("../types").ActiveTool;
|
|
634
|
+
preferredSelectionTool: {
|
|
635
|
+
type: "selection" | "lasso";
|
|
636
|
+
initialized: boolean;
|
|
637
|
+
};
|
|
625
638
|
penMode: boolean;
|
|
626
639
|
penDetected: boolean;
|
|
627
640
|
exportBackground: boolean;
|
|
@@ -649,7 +662,7 @@ export declare const actionResetZoom: {
|
|
|
649
662
|
name: string | null;
|
|
650
663
|
isResizing: boolean;
|
|
651
664
|
isRotating: boolean;
|
|
652
|
-
openMenu: "canvas" |
|
|
665
|
+
openMenu: "canvas" | null;
|
|
653
666
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
654
667
|
openSidebar: {
|
|
655
668
|
name: string;
|
|
@@ -731,7 +744,7 @@ export declare const actionResetZoom: {
|
|
|
731
744
|
shown: true;
|
|
732
745
|
data: import("../charts").Spreadsheet;
|
|
733
746
|
};
|
|
734
|
-
showHyperlinkPopup: false | "
|
|
747
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
735
748
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
736
749
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
737
750
|
originSnapOffset: {
|
|
@@ -750,7 +763,6 @@ export declare const actionResetZoom: {
|
|
|
750
763
|
lockedMultiSelections: {
|
|
751
764
|
[groupId: string]: true;
|
|
752
765
|
};
|
|
753
|
-
stylesPanelMode: "compact" | "full";
|
|
754
766
|
};
|
|
755
767
|
captureUpdate: "EVENTUALLY";
|
|
756
768
|
};
|
|
@@ -815,6 +827,10 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
815
827
|
locked: boolean;
|
|
816
828
|
fromSelection: boolean;
|
|
817
829
|
} & import("../types").ActiveTool;
|
|
830
|
+
preferredSelectionTool: {
|
|
831
|
+
type: "selection" | "lasso";
|
|
832
|
+
initialized: boolean;
|
|
833
|
+
};
|
|
818
834
|
penMode: boolean;
|
|
819
835
|
penDetected: boolean;
|
|
820
836
|
exportBackground: boolean;
|
|
@@ -842,7 +858,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
842
858
|
name: string | null;
|
|
843
859
|
isResizing: boolean;
|
|
844
860
|
isRotating: boolean;
|
|
845
|
-
openMenu: "canvas" |
|
|
861
|
+
openMenu: "canvas" | null;
|
|
846
862
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
847
863
|
openSidebar: {
|
|
848
864
|
name: string;
|
|
@@ -924,7 +940,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
924
940
|
shown: true;
|
|
925
941
|
data: import("../charts").Spreadsheet;
|
|
926
942
|
};
|
|
927
|
-
showHyperlinkPopup: false | "
|
|
943
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
928
944
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
929
945
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
930
946
|
originSnapOffset: {
|
|
@@ -944,7 +960,6 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
944
960
|
lockedMultiSelections: {
|
|
945
961
|
[groupId: string]: true;
|
|
946
962
|
};
|
|
947
|
-
stylesPanelMode: "compact" | "full";
|
|
948
963
|
};
|
|
949
964
|
captureUpdate: "EVENTUALLY";
|
|
950
965
|
};
|
|
@@ -1004,6 +1019,10 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1004
1019
|
locked: boolean;
|
|
1005
1020
|
fromSelection: boolean;
|
|
1006
1021
|
} & import("../types").ActiveTool;
|
|
1022
|
+
preferredSelectionTool: {
|
|
1023
|
+
type: "selection" | "lasso";
|
|
1024
|
+
initialized: boolean;
|
|
1025
|
+
};
|
|
1007
1026
|
penMode: boolean;
|
|
1008
1027
|
penDetected: boolean;
|
|
1009
1028
|
exportBackground: boolean;
|
|
@@ -1031,7 +1050,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1031
1050
|
name: string | null;
|
|
1032
1051
|
isResizing: boolean;
|
|
1033
1052
|
isRotating: boolean;
|
|
1034
|
-
openMenu: "canvas" |
|
|
1053
|
+
openMenu: "canvas" | null;
|
|
1035
1054
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1036
1055
|
openSidebar: {
|
|
1037
1056
|
name: string;
|
|
@@ -1113,7 +1132,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1113
1132
|
shown: true;
|
|
1114
1133
|
data: import("../charts").Spreadsheet;
|
|
1115
1134
|
};
|
|
1116
|
-
showHyperlinkPopup: false | "
|
|
1135
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1117
1136
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1118
1137
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1119
1138
|
originSnapOffset: {
|
|
@@ -1133,7 +1152,6 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1133
1152
|
lockedMultiSelections: {
|
|
1134
1153
|
[groupId: string]: true;
|
|
1135
1154
|
};
|
|
1136
|
-
stylesPanelMode: "compact" | "full";
|
|
1137
1155
|
};
|
|
1138
1156
|
captureUpdate: "EVENTUALLY";
|
|
1139
1157
|
};
|
|
@@ -1185,6 +1203,10 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1185
1203
|
locked: boolean;
|
|
1186
1204
|
fromSelection: boolean;
|
|
1187
1205
|
} & import("../types").ActiveTool;
|
|
1206
|
+
preferredSelectionTool: {
|
|
1207
|
+
type: "selection" | "lasso";
|
|
1208
|
+
initialized: boolean;
|
|
1209
|
+
};
|
|
1188
1210
|
penMode: boolean;
|
|
1189
1211
|
penDetected: boolean;
|
|
1190
1212
|
exportBackground: boolean;
|
|
@@ -1212,7 +1234,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1212
1234
|
name: string | null;
|
|
1213
1235
|
isResizing: boolean;
|
|
1214
1236
|
isRotating: boolean;
|
|
1215
|
-
openMenu: "canvas" |
|
|
1237
|
+
openMenu: "canvas" | null;
|
|
1216
1238
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1217
1239
|
openSidebar: {
|
|
1218
1240
|
name: string;
|
|
@@ -1294,7 +1316,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1294
1316
|
shown: true;
|
|
1295
1317
|
data: import("../charts").Spreadsheet;
|
|
1296
1318
|
};
|
|
1297
|
-
showHyperlinkPopup: false | "
|
|
1319
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1298
1320
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1299
1321
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1300
1322
|
originSnapOffset: {
|
|
@@ -1314,7 +1336,6 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1314
1336
|
lockedMultiSelections: {
|
|
1315
1337
|
[groupId: string]: true;
|
|
1316
1338
|
};
|
|
1317
|
-
stylesPanelMode: "compact" | "full";
|
|
1318
1339
|
};
|
|
1319
1340
|
captureUpdate: "EVENTUALLY";
|
|
1320
1341
|
};
|
|
@@ -1370,6 +1391,10 @@ export declare const actionZoomToFitSelection: {
|
|
|
1370
1391
|
locked: boolean;
|
|
1371
1392
|
fromSelection: boolean;
|
|
1372
1393
|
} & import("../types").ActiveTool;
|
|
1394
|
+
preferredSelectionTool: {
|
|
1395
|
+
type: "selection" | "lasso";
|
|
1396
|
+
initialized: boolean;
|
|
1397
|
+
};
|
|
1373
1398
|
penMode: boolean;
|
|
1374
1399
|
penDetected: boolean;
|
|
1375
1400
|
exportBackground: boolean;
|
|
@@ -1397,7 +1422,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1397
1422
|
name: string | null;
|
|
1398
1423
|
isResizing: boolean;
|
|
1399
1424
|
isRotating: boolean;
|
|
1400
|
-
openMenu: "canvas" |
|
|
1425
|
+
openMenu: "canvas" | null;
|
|
1401
1426
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1402
1427
|
openSidebar: {
|
|
1403
1428
|
name: string;
|
|
@@ -1479,7 +1504,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1479
1504
|
shown: true;
|
|
1480
1505
|
data: import("../charts").Spreadsheet;
|
|
1481
1506
|
};
|
|
1482
|
-
showHyperlinkPopup: false | "
|
|
1507
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1483
1508
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1484
1509
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1485
1510
|
originSnapOffset: {
|
|
@@ -1499,7 +1524,6 @@ export declare const actionZoomToFitSelection: {
|
|
|
1499
1524
|
lockedMultiSelections: {
|
|
1500
1525
|
[groupId: string]: true;
|
|
1501
1526
|
};
|
|
1502
|
-
stylesPanelMode: "compact" | "full";
|
|
1503
1527
|
};
|
|
1504
1528
|
captureUpdate: "EVENTUALLY";
|
|
1505
1529
|
};
|
|
@@ -1556,6 +1580,10 @@ export declare const actionZoomToFit: {
|
|
|
1556
1580
|
locked: boolean;
|
|
1557
1581
|
fromSelection: boolean;
|
|
1558
1582
|
} & import("../types").ActiveTool;
|
|
1583
|
+
preferredSelectionTool: {
|
|
1584
|
+
type: "selection" | "lasso";
|
|
1585
|
+
initialized: boolean;
|
|
1586
|
+
};
|
|
1559
1587
|
penMode: boolean;
|
|
1560
1588
|
penDetected: boolean;
|
|
1561
1589
|
exportBackground: boolean;
|
|
@@ -1583,7 +1611,7 @@ export declare const actionZoomToFit: {
|
|
|
1583
1611
|
name: string | null;
|
|
1584
1612
|
isResizing: boolean;
|
|
1585
1613
|
isRotating: boolean;
|
|
1586
|
-
openMenu: "canvas" |
|
|
1614
|
+
openMenu: "canvas" | null;
|
|
1587
1615
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1588
1616
|
openSidebar: {
|
|
1589
1617
|
name: string;
|
|
@@ -1665,7 +1693,7 @@ export declare const actionZoomToFit: {
|
|
|
1665
1693
|
shown: true;
|
|
1666
1694
|
data: import("../charts").Spreadsheet;
|
|
1667
1695
|
};
|
|
1668
|
-
showHyperlinkPopup: false | "
|
|
1696
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1669
1697
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1670
1698
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1671
1699
|
originSnapOffset: {
|
|
@@ -1685,7 +1713,6 @@ export declare const actionZoomToFit: {
|
|
|
1685
1713
|
lockedMultiSelections: {
|
|
1686
1714
|
[groupId: string]: true;
|
|
1687
1715
|
};
|
|
1688
|
-
stylesPanelMode: "compact" | "full";
|
|
1689
1716
|
};
|
|
1690
1717
|
captureUpdate: "EVENTUALLY";
|
|
1691
1718
|
};
|
|
@@ -1739,6 +1766,10 @@ export declare const actionToggleTheme: {
|
|
|
1739
1766
|
locked: boolean;
|
|
1740
1767
|
fromSelection: boolean;
|
|
1741
1768
|
} & import("../types").ActiveTool;
|
|
1769
|
+
preferredSelectionTool: {
|
|
1770
|
+
type: "selection" | "lasso";
|
|
1771
|
+
initialized: boolean;
|
|
1772
|
+
};
|
|
1742
1773
|
penMode: boolean;
|
|
1743
1774
|
penDetected: boolean;
|
|
1744
1775
|
exportBackground: boolean;
|
|
@@ -1771,7 +1802,7 @@ export declare const actionToggleTheme: {
|
|
|
1771
1802
|
zoom: Readonly<{
|
|
1772
1803
|
value: import("../types").NormalizedZoomValue;
|
|
1773
1804
|
}>;
|
|
1774
|
-
openMenu: "canvas" |
|
|
1805
|
+
openMenu: "canvas" | null;
|
|
1775
1806
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1776
1807
|
openSidebar: {
|
|
1777
1808
|
name: string;
|
|
@@ -1852,7 +1883,7 @@ export declare const actionToggleTheme: {
|
|
|
1852
1883
|
shown: true;
|
|
1853
1884
|
data: import("../charts").Spreadsheet;
|
|
1854
1885
|
};
|
|
1855
|
-
showHyperlinkPopup: false | "
|
|
1886
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1856
1887
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1857
1888
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1858
1889
|
originSnapOffset: {
|
|
@@ -1872,7 +1903,6 @@ export declare const actionToggleTheme: {
|
|
|
1872
1903
|
lockedMultiSelections: {
|
|
1873
1904
|
[groupId: string]: true;
|
|
1874
1905
|
};
|
|
1875
|
-
stylesPanelMode: "compact" | "full";
|
|
1876
1906
|
};
|
|
1877
1907
|
captureUpdate: "EVENTUALLY";
|
|
1878
1908
|
};
|
|
@@ -1922,6 +1952,10 @@ export declare const actionToggleEraserTool: {
|
|
|
1922
1952
|
editingFrame: string | null;
|
|
1923
1953
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1924
1954
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1955
|
+
preferredSelectionTool: {
|
|
1956
|
+
type: "selection" | "lasso";
|
|
1957
|
+
initialized: boolean;
|
|
1958
|
+
};
|
|
1925
1959
|
penMode: boolean;
|
|
1926
1960
|
penDetected: boolean;
|
|
1927
1961
|
exportBackground: boolean;
|
|
@@ -1954,7 +1988,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1954
1988
|
zoom: Readonly<{
|
|
1955
1989
|
value: import("../types").NormalizedZoomValue;
|
|
1956
1990
|
}>;
|
|
1957
|
-
openMenu: "canvas" |
|
|
1991
|
+
openMenu: "canvas" | null;
|
|
1958
1992
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1959
1993
|
openSidebar: {
|
|
1960
1994
|
name: string;
|
|
@@ -2030,7 +2064,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2030
2064
|
shown: true;
|
|
2031
2065
|
data: import("../charts").Spreadsheet;
|
|
2032
2066
|
};
|
|
2033
|
-
showHyperlinkPopup: false | "
|
|
2067
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2034
2068
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2035
2069
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2036
2070
|
originSnapOffset: {
|
|
@@ -2050,7 +2084,6 @@ export declare const actionToggleEraserTool: {
|
|
|
2050
2084
|
lockedMultiSelections: {
|
|
2051
2085
|
[groupId: string]: true;
|
|
2052
2086
|
};
|
|
2053
|
-
stylesPanelMode: "compact" | "full";
|
|
2054
2087
|
};
|
|
2055
2088
|
captureUpdate: "IMMEDIATELY";
|
|
2056
2089
|
};
|
|
@@ -2101,6 +2134,10 @@ export declare const actionToggleLassoTool: {
|
|
|
2101
2134
|
editingFrame: string | null;
|
|
2102
2135
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2103
2136
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2137
|
+
preferredSelectionTool: {
|
|
2138
|
+
type: "selection" | "lasso";
|
|
2139
|
+
initialized: boolean;
|
|
2140
|
+
};
|
|
2104
2141
|
penMode: boolean;
|
|
2105
2142
|
penDetected: boolean;
|
|
2106
2143
|
exportBackground: boolean;
|
|
@@ -2133,7 +2170,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2133
2170
|
zoom: Readonly<{
|
|
2134
2171
|
value: import("../types").NormalizedZoomValue;
|
|
2135
2172
|
}>;
|
|
2136
|
-
openMenu: "canvas" |
|
|
2173
|
+
openMenu: "canvas" | null;
|
|
2137
2174
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2138
2175
|
openSidebar: {
|
|
2139
2176
|
name: string;
|
|
@@ -2209,7 +2246,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2209
2246
|
shown: true;
|
|
2210
2247
|
data: import("../charts").Spreadsheet;
|
|
2211
2248
|
};
|
|
2212
|
-
showHyperlinkPopup: false | "
|
|
2249
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2213
2250
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2214
2251
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2215
2252
|
originSnapOffset: {
|
|
@@ -2229,7 +2266,6 @@ export declare const actionToggleLassoTool: {
|
|
|
2229
2266
|
lockedMultiSelections: {
|
|
2230
2267
|
[groupId: string]: true;
|
|
2231
2268
|
};
|
|
2232
|
-
stylesPanelMode: "compact" | "full";
|
|
2233
2269
|
};
|
|
2234
2270
|
captureUpdate: "NEVER";
|
|
2235
2271
|
};
|
|
@@ -2279,6 +2315,10 @@ export declare const actionToggleHandTool: {
|
|
|
2279
2315
|
editingFrame: string | null;
|
|
2280
2316
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2281
2317
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2318
|
+
preferredSelectionTool: {
|
|
2319
|
+
type: "selection" | "lasso";
|
|
2320
|
+
initialized: boolean;
|
|
2321
|
+
};
|
|
2282
2322
|
penMode: boolean;
|
|
2283
2323
|
penDetected: boolean;
|
|
2284
2324
|
exportBackground: boolean;
|
|
@@ -2311,7 +2351,7 @@ export declare const actionToggleHandTool: {
|
|
|
2311
2351
|
zoom: Readonly<{
|
|
2312
2352
|
value: import("../types").NormalizedZoomValue;
|
|
2313
2353
|
}>;
|
|
2314
|
-
openMenu: "canvas" |
|
|
2354
|
+
openMenu: "canvas" | null;
|
|
2315
2355
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2316
2356
|
openSidebar: {
|
|
2317
2357
|
name: string;
|
|
@@ -2387,7 +2427,7 @@ export declare const actionToggleHandTool: {
|
|
|
2387
2427
|
shown: true;
|
|
2388
2428
|
data: import("../charts").Spreadsheet;
|
|
2389
2429
|
};
|
|
2390
|
-
showHyperlinkPopup: false | "
|
|
2430
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2391
2431
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2392
2432
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2393
2433
|
originSnapOffset: {
|
|
@@ -2407,7 +2447,6 @@ export declare const actionToggleHandTool: {
|
|
|
2407
2447
|
lockedMultiSelections: {
|
|
2408
2448
|
[groupId: string]: true;
|
|
2409
2449
|
};
|
|
2410
|
-
stylesPanelMode: "compact" | "full";
|
|
2411
2450
|
};
|
|
2412
2451
|
captureUpdate: "IMMEDIATELY";
|
|
2413
2452
|
};
|