@excalidraw/math 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 +58 -61
- package/dist/dev/index.js.map +3 -3
- package/dist/prod/index.js +1 -1
- 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 +6 -3
|
@@ -9,7 +9,7 @@ export declare const actionChangeStrokeColor: {
|
|
|
9
9
|
label: string;
|
|
10
10
|
trackEvent: false;
|
|
11
11
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
12
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
} & {
|
|
14
14
|
keyTest?: undefined;
|
|
15
15
|
};
|
|
@@ -26,7 +26,7 @@ export declare const actionChangeBackgroundColor: {
|
|
|
26
26
|
appState: any;
|
|
27
27
|
captureUpdate: "IMMEDIATELY";
|
|
28
28
|
};
|
|
29
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
} & {
|
|
31
31
|
keyTest?: undefined;
|
|
32
32
|
};
|
|
@@ -67,12 +67,15 @@ export declare const actionChangeFillStyle: {
|
|
|
67
67
|
editingFrame: string | null;
|
|
68
68
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
69
69
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
70
|
-
editingLinearElement: LinearElementEditor | null;
|
|
71
70
|
activeTool: {
|
|
72
71
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
73
72
|
locked: boolean;
|
|
74
73
|
fromSelection: boolean;
|
|
75
74
|
} & import("../types").ActiveTool;
|
|
75
|
+
preferredSelectionTool: {
|
|
76
|
+
type: "selection" | "lasso";
|
|
77
|
+
initialized: boolean;
|
|
78
|
+
};
|
|
76
79
|
penMode: boolean;
|
|
77
80
|
penDetected: boolean;
|
|
78
81
|
exportBackground: boolean;
|
|
@@ -104,8 +107,8 @@ export declare const actionChangeFillStyle: {
|
|
|
104
107
|
zoom: Readonly<{
|
|
105
108
|
value: import("../types").NormalizedZoomValue;
|
|
106
109
|
}>;
|
|
107
|
-
openMenu: "canvas" |
|
|
108
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
110
|
+
openMenu: "canvas" | null;
|
|
111
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
109
112
|
openSidebar: {
|
|
110
113
|
name: string;
|
|
111
114
|
tab?: string | undefined;
|
|
@@ -186,7 +189,7 @@ export declare const actionChangeFillStyle: {
|
|
|
186
189
|
shown: true;
|
|
187
190
|
data: import("../charts").Spreadsheet;
|
|
188
191
|
};
|
|
189
|
-
showHyperlinkPopup: false | "
|
|
192
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
190
193
|
selectedLinearElement: LinearElementEditor | null;
|
|
191
194
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
192
195
|
originSnapOffset: {
|
|
@@ -250,12 +253,15 @@ export declare const actionChangeStrokeWidth: {
|
|
|
250
253
|
editingFrame: string | null;
|
|
251
254
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
252
255
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
253
|
-
editingLinearElement: LinearElementEditor | null;
|
|
254
256
|
activeTool: {
|
|
255
257
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
256
258
|
locked: boolean;
|
|
257
259
|
fromSelection: boolean;
|
|
258
260
|
} & import("../types").ActiveTool;
|
|
261
|
+
preferredSelectionTool: {
|
|
262
|
+
type: "selection" | "lasso";
|
|
263
|
+
initialized: boolean;
|
|
264
|
+
};
|
|
259
265
|
penMode: boolean;
|
|
260
266
|
penDetected: boolean;
|
|
261
267
|
exportBackground: boolean;
|
|
@@ -287,8 +293,8 @@ export declare const actionChangeStrokeWidth: {
|
|
|
287
293
|
zoom: Readonly<{
|
|
288
294
|
value: import("../types").NormalizedZoomValue;
|
|
289
295
|
}>;
|
|
290
|
-
openMenu: "canvas" |
|
|
291
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
296
|
+
openMenu: "canvas" | null;
|
|
297
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
292
298
|
openSidebar: {
|
|
293
299
|
name: string;
|
|
294
300
|
tab?: string | undefined;
|
|
@@ -369,7 +375,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
369
375
|
shown: true;
|
|
370
376
|
data: import("../charts").Spreadsheet;
|
|
371
377
|
};
|
|
372
|
-
showHyperlinkPopup: false | "
|
|
378
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
373
379
|
selectedLinearElement: LinearElementEditor | null;
|
|
374
380
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
375
381
|
originSnapOffset: {
|
|
@@ -392,7 +398,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
392
398
|
};
|
|
393
399
|
captureUpdate: "IMMEDIATELY";
|
|
394
400
|
};
|
|
395
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
401
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
396
402
|
} & {
|
|
397
403
|
keyTest?: undefined;
|
|
398
404
|
};
|
|
@@ -433,12 +439,15 @@ export declare const actionChangeSloppiness: {
|
|
|
433
439
|
editingFrame: string | null;
|
|
434
440
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
435
441
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
436
|
-
editingLinearElement: LinearElementEditor | null;
|
|
437
442
|
activeTool: {
|
|
438
443
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
439
444
|
locked: boolean;
|
|
440
445
|
fromSelection: boolean;
|
|
441
446
|
} & import("../types").ActiveTool;
|
|
447
|
+
preferredSelectionTool: {
|
|
448
|
+
type: "selection" | "lasso";
|
|
449
|
+
initialized: boolean;
|
|
450
|
+
};
|
|
442
451
|
penMode: boolean;
|
|
443
452
|
penDetected: boolean;
|
|
444
453
|
exportBackground: boolean;
|
|
@@ -470,8 +479,8 @@ export declare const actionChangeSloppiness: {
|
|
|
470
479
|
zoom: Readonly<{
|
|
471
480
|
value: import("../types").NormalizedZoomValue;
|
|
472
481
|
}>;
|
|
473
|
-
openMenu: "canvas" |
|
|
474
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
482
|
+
openMenu: "canvas" | null;
|
|
483
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
475
484
|
openSidebar: {
|
|
476
485
|
name: string;
|
|
477
486
|
tab?: string | undefined;
|
|
@@ -552,7 +561,7 @@ export declare const actionChangeSloppiness: {
|
|
|
552
561
|
shown: true;
|
|
553
562
|
data: import("../charts").Spreadsheet;
|
|
554
563
|
};
|
|
555
|
-
showHyperlinkPopup: false | "
|
|
564
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
556
565
|
selectedLinearElement: LinearElementEditor | null;
|
|
557
566
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
558
567
|
originSnapOffset: {
|
|
@@ -575,7 +584,7 @@ export declare const actionChangeSloppiness: {
|
|
|
575
584
|
};
|
|
576
585
|
captureUpdate: "IMMEDIATELY";
|
|
577
586
|
};
|
|
578
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
587
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
579
588
|
} & {
|
|
580
589
|
keyTest?: undefined;
|
|
581
590
|
};
|
|
@@ -616,12 +625,15 @@ export declare const actionChangeStrokeStyle: {
|
|
|
616
625
|
editingFrame: string | null;
|
|
617
626
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
618
627
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
619
|
-
editingLinearElement: LinearElementEditor | null;
|
|
620
628
|
activeTool: {
|
|
621
629
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
622
630
|
locked: boolean;
|
|
623
631
|
fromSelection: boolean;
|
|
624
632
|
} & import("../types").ActiveTool;
|
|
633
|
+
preferredSelectionTool: {
|
|
634
|
+
type: "selection" | "lasso";
|
|
635
|
+
initialized: boolean;
|
|
636
|
+
};
|
|
625
637
|
penMode: boolean;
|
|
626
638
|
penDetected: boolean;
|
|
627
639
|
exportBackground: boolean;
|
|
@@ -653,8 +665,8 @@ export declare const actionChangeStrokeStyle: {
|
|
|
653
665
|
zoom: Readonly<{
|
|
654
666
|
value: import("../types").NormalizedZoomValue;
|
|
655
667
|
}>;
|
|
656
|
-
openMenu: "canvas" |
|
|
657
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
668
|
+
openMenu: "canvas" | null;
|
|
669
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
658
670
|
openSidebar: {
|
|
659
671
|
name: string;
|
|
660
672
|
tab?: string | undefined;
|
|
@@ -735,7 +747,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
735
747
|
shown: true;
|
|
736
748
|
data: import("../charts").Spreadsheet;
|
|
737
749
|
};
|
|
738
|
-
showHyperlinkPopup: false | "
|
|
750
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
739
751
|
selectedLinearElement: LinearElementEditor | null;
|
|
740
752
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
741
753
|
originSnapOffset: {
|
|
@@ -758,7 +770,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
758
770
|
};
|
|
759
771
|
captureUpdate: "IMMEDIATELY";
|
|
760
772
|
};
|
|
761
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
773
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
762
774
|
} & {
|
|
763
775
|
keyTest?: undefined;
|
|
764
776
|
};
|
|
@@ -799,12 +811,15 @@ export declare const actionChangeOpacity: {
|
|
|
799
811
|
editingFrame: string | null;
|
|
800
812
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
801
813
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
802
|
-
editingLinearElement: LinearElementEditor | null;
|
|
803
814
|
activeTool: {
|
|
804
815
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
805
816
|
locked: boolean;
|
|
806
817
|
fromSelection: boolean;
|
|
807
818
|
} & import("../types").ActiveTool;
|
|
819
|
+
preferredSelectionTool: {
|
|
820
|
+
type: "selection" | "lasso";
|
|
821
|
+
initialized: boolean;
|
|
822
|
+
};
|
|
808
823
|
penMode: boolean;
|
|
809
824
|
penDetected: boolean;
|
|
810
825
|
exportBackground: boolean;
|
|
@@ -836,8 +851,8 @@ export declare const actionChangeOpacity: {
|
|
|
836
851
|
zoom: Readonly<{
|
|
837
852
|
value: import("../types").NormalizedZoomValue;
|
|
838
853
|
}>;
|
|
839
|
-
openMenu: "canvas" |
|
|
840
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
854
|
+
openMenu: "canvas" | null;
|
|
855
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
841
856
|
openSidebar: {
|
|
842
857
|
name: string;
|
|
843
858
|
tab?: string | undefined;
|
|
@@ -918,7 +933,7 @@ export declare const actionChangeOpacity: {
|
|
|
918
933
|
shown: true;
|
|
919
934
|
data: import("../charts").Spreadsheet;
|
|
920
935
|
};
|
|
921
|
-
showHyperlinkPopup: false | "
|
|
936
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
922
937
|
selectedLinearElement: LinearElementEditor | null;
|
|
923
938
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
924
939
|
originSnapOffset: {
|
|
@@ -982,12 +997,15 @@ export declare const actionChangeFontSize: {
|
|
|
982
997
|
editingFrame: string | null;
|
|
983
998
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
984
999
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
985
|
-
editingLinearElement: LinearElementEditor | null;
|
|
986
1000
|
activeTool: {
|
|
987
1001
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
988
1002
|
locked: boolean;
|
|
989
1003
|
fromSelection: boolean;
|
|
990
1004
|
} & import("../types").ActiveTool;
|
|
1005
|
+
preferredSelectionTool: {
|
|
1006
|
+
type: "selection" | "lasso";
|
|
1007
|
+
initialized: boolean;
|
|
1008
|
+
};
|
|
991
1009
|
penMode: boolean;
|
|
992
1010
|
penDetected: boolean;
|
|
993
1011
|
exportBackground: boolean;
|
|
@@ -1019,8 +1037,8 @@ export declare const actionChangeFontSize: {
|
|
|
1019
1037
|
zoom: Readonly<{
|
|
1020
1038
|
value: import("../types").NormalizedZoomValue;
|
|
1021
1039
|
}>;
|
|
1022
|
-
openMenu: "canvas" |
|
|
1023
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1040
|
+
openMenu: "canvas" | null;
|
|
1041
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1024
1042
|
openSidebar: {
|
|
1025
1043
|
name: string;
|
|
1026
1044
|
tab?: string | undefined;
|
|
@@ -1101,7 +1119,7 @@ export declare const actionChangeFontSize: {
|
|
|
1101
1119
|
shown: true;
|
|
1102
1120
|
data: import("../charts").Spreadsheet;
|
|
1103
1121
|
};
|
|
1104
|
-
showHyperlinkPopup: false | "
|
|
1122
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1105
1123
|
selectedLinearElement: LinearElementEditor | null;
|
|
1106
1124
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1107
1125
|
originSnapOffset: {
|
|
@@ -1124,7 +1142,7 @@ export declare const actionChangeFontSize: {
|
|
|
1124
1142
|
};
|
|
1125
1143
|
captureUpdate: "IMMEDIATELY";
|
|
1126
1144
|
};
|
|
1127
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
1145
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
1128
1146
|
} & {
|
|
1129
1147
|
keyTest?: undefined;
|
|
1130
1148
|
};
|
|
@@ -1166,12 +1184,15 @@ export declare const actionDecreaseFontSize: {
|
|
|
1166
1184
|
editingFrame: string | null;
|
|
1167
1185
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1168
1186
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1169
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1170
1187
|
activeTool: {
|
|
1171
1188
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1172
1189
|
locked: boolean;
|
|
1173
1190
|
fromSelection: boolean;
|
|
1174
1191
|
} & import("../types").ActiveTool;
|
|
1192
|
+
preferredSelectionTool: {
|
|
1193
|
+
type: "selection" | "lasso";
|
|
1194
|
+
initialized: boolean;
|
|
1195
|
+
};
|
|
1175
1196
|
penMode: boolean;
|
|
1176
1197
|
penDetected: boolean;
|
|
1177
1198
|
exportBackground: boolean;
|
|
@@ -1203,8 +1224,8 @@ export declare const actionDecreaseFontSize: {
|
|
|
1203
1224
|
zoom: Readonly<{
|
|
1204
1225
|
value: import("../types").NormalizedZoomValue;
|
|
1205
1226
|
}>;
|
|
1206
|
-
openMenu: "canvas" |
|
|
1207
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1227
|
+
openMenu: "canvas" | null;
|
|
1228
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1208
1229
|
openSidebar: {
|
|
1209
1230
|
name: string;
|
|
1210
1231
|
tab?: string | undefined;
|
|
@@ -1285,7 +1306,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1285
1306
|
shown: true;
|
|
1286
1307
|
data: import("../charts").Spreadsheet;
|
|
1287
1308
|
};
|
|
1288
|
-
showHyperlinkPopup: false | "
|
|
1309
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1289
1310
|
selectedLinearElement: LinearElementEditor | null;
|
|
1290
1311
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1291
1312
|
originSnapOffset: {
|
|
@@ -1350,12 +1371,15 @@ export declare const actionIncreaseFontSize: {
|
|
|
1350
1371
|
editingFrame: string | null;
|
|
1351
1372
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1352
1373
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1353
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1354
1374
|
activeTool: {
|
|
1355
1375
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1356
1376
|
locked: boolean;
|
|
1357
1377
|
fromSelection: boolean;
|
|
1358
1378
|
} & import("../types").ActiveTool;
|
|
1379
|
+
preferredSelectionTool: {
|
|
1380
|
+
type: "selection" | "lasso";
|
|
1381
|
+
initialized: boolean;
|
|
1382
|
+
};
|
|
1359
1383
|
penMode: boolean;
|
|
1360
1384
|
penDetected: boolean;
|
|
1361
1385
|
exportBackground: boolean;
|
|
@@ -1387,8 +1411,8 @@ export declare const actionIncreaseFontSize: {
|
|
|
1387
1411
|
zoom: Readonly<{
|
|
1388
1412
|
value: import("../types").NormalizedZoomValue;
|
|
1389
1413
|
}>;
|
|
1390
|
-
openMenu: "canvas" |
|
|
1391
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1414
|
+
openMenu: "canvas" | null;
|
|
1415
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1392
1416
|
openSidebar: {
|
|
1393
1417
|
name: string;
|
|
1394
1418
|
tab?: string | undefined;
|
|
@@ -1469,7 +1493,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1469
1493
|
shown: true;
|
|
1470
1494
|
data: import("../charts").Spreadsheet;
|
|
1471
1495
|
};
|
|
1472
|
-
showHyperlinkPopup: false | "
|
|
1496
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1473
1497
|
selectedLinearElement: LinearElementEditor | null;
|
|
1474
1498
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1475
1499
|
originSnapOffset: {
|
|
@@ -1504,7 +1528,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1504
1528
|
appState: {
|
|
1505
1529
|
currentItemFontFamily: number;
|
|
1506
1530
|
currentHoveredFontFamily: number | null;
|
|
1507
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1531
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1508
1532
|
contextMenu: {
|
|
1509
1533
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1510
1534
|
top: number;
|
|
@@ -1534,12 +1558,15 @@ export declare const actionChangeFontFamily: {
|
|
|
1534
1558
|
editingFrame: string | null;
|
|
1535
1559
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1536
1560
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1537
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1538
1561
|
activeTool: {
|
|
1539
1562
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1540
1563
|
locked: boolean;
|
|
1541
1564
|
fromSelection: boolean;
|
|
1542
1565
|
} & import("../types").ActiveTool;
|
|
1566
|
+
preferredSelectionTool: {
|
|
1567
|
+
type: "selection" | "lasso";
|
|
1568
|
+
initialized: boolean;
|
|
1569
|
+
};
|
|
1543
1570
|
penMode: boolean;
|
|
1544
1571
|
penDetected: boolean;
|
|
1545
1572
|
exportBackground: boolean;
|
|
@@ -1570,7 +1597,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1570
1597
|
zoom: Readonly<{
|
|
1571
1598
|
value: import("../types").NormalizedZoomValue;
|
|
1572
1599
|
}>;
|
|
1573
|
-
openMenu: "canvas" |
|
|
1600
|
+
openMenu: "canvas" | null;
|
|
1574
1601
|
openSidebar: {
|
|
1575
1602
|
name: string;
|
|
1576
1603
|
tab?: string | undefined;
|
|
@@ -1651,7 +1678,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1651
1678
|
shown: true;
|
|
1652
1679
|
data: import("../charts").Spreadsheet;
|
|
1653
1680
|
};
|
|
1654
|
-
showHyperlinkPopup: false | "
|
|
1681
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1655
1682
|
selectedLinearElement: LinearElementEditor | null;
|
|
1656
1683
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1657
1684
|
originSnapOffset: {
|
|
@@ -1678,7 +1705,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1678
1705
|
appState: {
|
|
1679
1706
|
currentItemFontFamily: number;
|
|
1680
1707
|
currentHoveredFontFamily: number | null;
|
|
1681
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1708
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1682
1709
|
contextMenu: {
|
|
1683
1710
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1684
1711
|
top: number;
|
|
@@ -1708,12 +1735,15 @@ export declare const actionChangeFontFamily: {
|
|
|
1708
1735
|
editingFrame: string | null;
|
|
1709
1736
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1710
1737
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1711
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1712
1738
|
activeTool: {
|
|
1713
1739
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1714
1740
|
locked: boolean;
|
|
1715
1741
|
fromSelection: boolean;
|
|
1716
1742
|
} & import("../types").ActiveTool;
|
|
1743
|
+
preferredSelectionTool: {
|
|
1744
|
+
type: "selection" | "lasso";
|
|
1745
|
+
initialized: boolean;
|
|
1746
|
+
};
|
|
1717
1747
|
penMode: boolean;
|
|
1718
1748
|
penDetected: boolean;
|
|
1719
1749
|
exportBackground: boolean;
|
|
@@ -1744,7 +1774,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1744
1774
|
zoom: Readonly<{
|
|
1745
1775
|
value: import("../types").NormalizedZoomValue;
|
|
1746
1776
|
}>;
|
|
1747
|
-
openMenu: "canvas" |
|
|
1777
|
+
openMenu: "canvas" | null;
|
|
1748
1778
|
openSidebar: {
|
|
1749
1779
|
name: string;
|
|
1750
1780
|
tab?: string | undefined;
|
|
@@ -1825,7 +1855,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1825
1855
|
shown: true;
|
|
1826
1856
|
data: import("../charts").Spreadsheet;
|
|
1827
1857
|
};
|
|
1828
|
-
showHyperlinkPopup: false | "
|
|
1858
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1829
1859
|
selectedLinearElement: LinearElementEditor | null;
|
|
1830
1860
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1831
1861
|
originSnapOffset: {
|
|
@@ -1889,12 +1919,15 @@ export declare const actionChangeTextAlign: {
|
|
|
1889
1919
|
editingFrame: string | null;
|
|
1890
1920
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1891
1921
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1892
|
-
editingLinearElement: LinearElementEditor | null;
|
|
1893
1922
|
activeTool: {
|
|
1894
1923
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1895
1924
|
locked: boolean;
|
|
1896
1925
|
fromSelection: boolean;
|
|
1897
1926
|
} & import("../types").ActiveTool;
|
|
1927
|
+
preferredSelectionTool: {
|
|
1928
|
+
type: "selection" | "lasso";
|
|
1929
|
+
initialized: boolean;
|
|
1930
|
+
};
|
|
1898
1931
|
penMode: boolean;
|
|
1899
1932
|
penDetected: boolean;
|
|
1900
1933
|
exportBackground: boolean;
|
|
@@ -1926,8 +1959,8 @@ export declare const actionChangeTextAlign: {
|
|
|
1926
1959
|
zoom: Readonly<{
|
|
1927
1960
|
value: import("../types").NormalizedZoomValue;
|
|
1928
1961
|
}>;
|
|
1929
|
-
openMenu: "canvas" |
|
|
1930
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1962
|
+
openMenu: "canvas" | null;
|
|
1963
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1931
1964
|
openSidebar: {
|
|
1932
1965
|
name: string;
|
|
1933
1966
|
tab?: string | undefined;
|
|
@@ -2008,7 +2041,7 @@ export declare const actionChangeTextAlign: {
|
|
|
2008
2041
|
shown: true;
|
|
2009
2042
|
data: import("../charts").Spreadsheet;
|
|
2010
2043
|
};
|
|
2011
|
-
showHyperlinkPopup: false | "
|
|
2044
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2012
2045
|
selectedLinearElement: LinearElementEditor | null;
|
|
2013
2046
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2014
2047
|
originSnapOffset: {
|
|
@@ -2031,7 +2064,7 @@ export declare const actionChangeTextAlign: {
|
|
|
2031
2064
|
};
|
|
2032
2065
|
captureUpdate: "IMMEDIATELY";
|
|
2033
2066
|
};
|
|
2034
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2067
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2035
2068
|
} & {
|
|
2036
2069
|
keyTest?: undefined;
|
|
2037
2070
|
};
|
|
@@ -2073,12 +2106,15 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2073
2106
|
editingFrame: string | null;
|
|
2074
2107
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2075
2108
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2076
|
-
editingLinearElement: LinearElementEditor | null;
|
|
2077
2109
|
activeTool: {
|
|
2078
2110
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2079
2111
|
locked: boolean;
|
|
2080
2112
|
fromSelection: boolean;
|
|
2081
2113
|
} & import("../types").ActiveTool;
|
|
2114
|
+
preferredSelectionTool: {
|
|
2115
|
+
type: "selection" | "lasso";
|
|
2116
|
+
initialized: boolean;
|
|
2117
|
+
};
|
|
2082
2118
|
penMode: boolean;
|
|
2083
2119
|
penDetected: boolean;
|
|
2084
2120
|
exportBackground: boolean;
|
|
@@ -2111,8 +2147,8 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2111
2147
|
zoom: Readonly<{
|
|
2112
2148
|
value: import("../types").NormalizedZoomValue;
|
|
2113
2149
|
}>;
|
|
2114
|
-
openMenu: "canvas" |
|
|
2115
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2150
|
+
openMenu: "canvas" | null;
|
|
2151
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2116
2152
|
openSidebar: {
|
|
2117
2153
|
name: string;
|
|
2118
2154
|
tab?: string | undefined;
|
|
@@ -2193,7 +2229,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2193
2229
|
shown: true;
|
|
2194
2230
|
data: import("../charts").Spreadsheet;
|
|
2195
2231
|
};
|
|
2196
|
-
showHyperlinkPopup: false | "
|
|
2232
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2197
2233
|
selectedLinearElement: LinearElementEditor | null;
|
|
2198
2234
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2199
2235
|
originSnapOffset: {
|
|
@@ -2216,7 +2252,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2216
2252
|
};
|
|
2217
2253
|
captureUpdate: "IMMEDIATELY";
|
|
2218
2254
|
};
|
|
2219
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2255
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2220
2256
|
} & {
|
|
2221
2257
|
keyTest?: undefined;
|
|
2222
2258
|
};
|
|
@@ -2257,12 +2293,15 @@ export declare const actionChangeRoundness: {
|
|
|
2257
2293
|
editingFrame: string | null;
|
|
2258
2294
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2259
2295
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2260
|
-
editingLinearElement: LinearElementEditor | null;
|
|
2261
2296
|
activeTool: {
|
|
2262
2297
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2263
2298
|
locked: boolean;
|
|
2264
2299
|
fromSelection: boolean;
|
|
2265
2300
|
} & import("../types").ActiveTool;
|
|
2301
|
+
preferredSelectionTool: {
|
|
2302
|
+
type: "selection" | "lasso";
|
|
2303
|
+
initialized: boolean;
|
|
2304
|
+
};
|
|
2266
2305
|
penMode: boolean;
|
|
2267
2306
|
penDetected: boolean;
|
|
2268
2307
|
exportBackground: boolean;
|
|
@@ -2294,8 +2333,8 @@ export declare const actionChangeRoundness: {
|
|
|
2294
2333
|
zoom: Readonly<{
|
|
2295
2334
|
value: import("../types").NormalizedZoomValue;
|
|
2296
2335
|
}>;
|
|
2297
|
-
openMenu: "canvas" |
|
|
2298
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2336
|
+
openMenu: "canvas" | null;
|
|
2337
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2299
2338
|
openSidebar: {
|
|
2300
2339
|
name: string;
|
|
2301
2340
|
tab?: string | undefined;
|
|
@@ -2376,7 +2415,7 @@ export declare const actionChangeRoundness: {
|
|
|
2376
2415
|
shown: true;
|
|
2377
2416
|
data: import("../charts").Spreadsheet;
|
|
2378
2417
|
};
|
|
2379
|
-
showHyperlinkPopup: false | "
|
|
2418
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2380
2419
|
selectedLinearElement: LinearElementEditor | null;
|
|
2381
2420
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2382
2421
|
originSnapOffset: {
|
|
@@ -2442,12 +2481,15 @@ export declare const actionChangeArrowhead: {
|
|
|
2442
2481
|
editingFrame: string | null;
|
|
2443
2482
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2444
2483
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2445
|
-
editingLinearElement: LinearElementEditor | null;
|
|
2446
2484
|
activeTool: {
|
|
2447
2485
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2448
2486
|
locked: boolean;
|
|
2449
2487
|
fromSelection: boolean;
|
|
2450
2488
|
} & import("../types").ActiveTool;
|
|
2489
|
+
preferredSelectionTool: {
|
|
2490
|
+
type: "selection" | "lasso";
|
|
2491
|
+
initialized: boolean;
|
|
2492
|
+
};
|
|
2451
2493
|
penMode: boolean;
|
|
2452
2494
|
penDetected: boolean;
|
|
2453
2495
|
exportBackground: boolean;
|
|
@@ -2480,8 +2522,8 @@ export declare const actionChangeArrowhead: {
|
|
|
2480
2522
|
zoom: Readonly<{
|
|
2481
2523
|
value: import("../types").NormalizedZoomValue;
|
|
2482
2524
|
}>;
|
|
2483
|
-
openMenu: "canvas" |
|
|
2484
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2525
|
+
openMenu: "canvas" | null;
|
|
2526
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2485
2527
|
openSidebar: {
|
|
2486
2528
|
name: string;
|
|
2487
2529
|
tab?: string | undefined;
|
|
@@ -2562,7 +2604,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2562
2604
|
shown: true;
|
|
2563
2605
|
data: import("../charts").Spreadsheet;
|
|
2564
2606
|
};
|
|
2565
|
-
showHyperlinkPopup: false | "
|
|
2607
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2566
2608
|
selectedLinearElement: LinearElementEditor | null;
|
|
2567
2609
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2568
2610
|
originSnapOffset: {
|
|
@@ -2589,6 +2631,15 @@ export declare const actionChangeArrowhead: {
|
|
|
2589
2631
|
} & {
|
|
2590
2632
|
keyTest?: undefined;
|
|
2591
2633
|
};
|
|
2634
|
+
export declare const actionChangeArrowProperties: {
|
|
2635
|
+
name: "changeArrowProperties";
|
|
2636
|
+
label: string;
|
|
2637
|
+
trackEvent: false;
|
|
2638
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => false;
|
|
2639
|
+
PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2640
|
+
} & {
|
|
2641
|
+
keyTest?: undefined;
|
|
2642
|
+
};
|
|
2592
2643
|
export declare const actionChangeArrowType: {
|
|
2593
2644
|
name: "changeArrowType";
|
|
2594
2645
|
label: string;
|
|
@@ -2626,12 +2677,15 @@ export declare const actionChangeArrowType: {
|
|
|
2626
2677
|
editingFrame: string | null;
|
|
2627
2678
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2628
2679
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2629
|
-
editingLinearElement: LinearElementEditor | null;
|
|
2630
2680
|
activeTool: {
|
|
2631
2681
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2632
2682
|
locked: boolean;
|
|
2633
2683
|
fromSelection: boolean;
|
|
2634
2684
|
} & import("../types").ActiveTool;
|
|
2685
|
+
preferredSelectionTool: {
|
|
2686
|
+
type: "selection" | "lasso";
|
|
2687
|
+
initialized: boolean;
|
|
2688
|
+
};
|
|
2635
2689
|
penMode: boolean;
|
|
2636
2690
|
penDetected: boolean;
|
|
2637
2691
|
exportBackground: boolean;
|
|
@@ -2663,8 +2717,8 @@ export declare const actionChangeArrowType: {
|
|
|
2663
2717
|
zoom: Readonly<{
|
|
2664
2718
|
value: import("../types").NormalizedZoomValue;
|
|
2665
2719
|
}>;
|
|
2666
|
-
openMenu: "canvas" |
|
|
2667
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2720
|
+
openMenu: "canvas" | null;
|
|
2721
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2668
2722
|
openSidebar: {
|
|
2669
2723
|
name: string;
|
|
2670
2724
|
tab?: string | undefined;
|
|
@@ -2745,7 +2799,7 @@ export declare const actionChangeArrowType: {
|
|
|
2745
2799
|
shown: true;
|
|
2746
2800
|
data: import("../charts").Spreadsheet;
|
|
2747
2801
|
};
|
|
2748
|
-
showHyperlinkPopup: false | "
|
|
2802
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2749
2803
|
selectedLinearElement: LinearElementEditor | null;
|
|
2750
2804
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2751
2805
|
originSnapOffset: {
|