@excalidraw/excalidraw 0.18.0-6fc8502 → 0.18.0-864353b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev/{chunk-X3RYHLJU.js → chunk-7YMZV3TY.js} +14 -4
- package/dist/dev/chunk-7YMZV3TY.js.map +7 -0
- package/dist/dev/chunk-BBNNHA7I.js +7 -0
- package/dist/dev/chunk-BBNNHA7I.js.map +7 -0
- package/dist/dev/{chunk-KYBDXI6F.js → chunk-LL55DS44.js} +15037 -10099
- package/dist/dev/chunk-LL55DS44.js.map +7 -0
- package/dist/dev/data/{image-NKFINVKH.js → image-OFYK7EOY.js} +3 -3
- package/dist/dev/index.css +100 -22
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +3531 -6486
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-CKWC2GMK.js → en-KIY5SGI3.js} +2 -2
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/chunk-F44EGBV2.js +33 -0
- package/dist/prod/{chunk-IUH5AXLB.js → chunk-OUULIERA.js} +4 -4
- package/dist/prod/chunk-UH6Q3EIV.js +7 -0
- package/dist/prod/data/image-CUOH64HE.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +18 -17
- package/dist/prod/locales/{en-SBO6ZHT2.js → en-GCLCIHXH.js} +1 -1
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/common/src/constants.d.ts +11 -1
- package/dist/types/{excalidraw → common/src}/emitter.d.ts +1 -1
- package/dist/types/common/src/font-metadata.d.ts +4 -2
- package/dist/types/common/src/index.d.ts +1 -0
- package/dist/types/common/src/utility-types.d.ts +5 -0
- package/dist/types/common/src/utils.d.ts +22 -4
- package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +11 -14
- package/dist/types/element/src/ShapeCache.d.ts +1 -1
- package/dist/types/element/src/align.d.ts +3 -3
- package/dist/types/element/src/binding.d.ts +19 -12
- package/dist/types/element/src/bounds.d.ts +2 -2
- package/dist/types/element/src/collision.d.ts +1 -1
- package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +40 -35
- package/dist/types/element/src/dragElements.d.ts +3 -2
- package/dist/types/element/src/duplicate.d.ts +10 -13
- package/dist/types/element/src/elbowArrow.d.ts +1 -1
- package/dist/types/element/src/flowchart.d.ts +3 -2
- package/dist/types/element/src/fractionalIndex.d.ts +2 -2
- package/dist/types/element/src/frame.d.ts +5 -4
- package/dist/types/element/src/index.d.ts +45 -2
- package/dist/types/element/src/linearElementEditor.d.ts +20 -31
- package/dist/types/element/src/mutateElement.d.ts +10 -2
- package/dist/types/element/src/newElement.d.ts +4 -3
- package/dist/types/element/src/resizeElements.d.ts +4 -4
- package/dist/types/element/src/selection.d.ts +11 -5
- package/dist/types/element/src/shapes.d.ts +5 -1
- package/dist/types/element/src/sizeHelpers.d.ts +2 -2
- package/dist/types/element/src/store.d.ts +227 -0
- package/dist/types/element/src/textElement.d.ts +5 -3
- package/dist/types/element/src/transformHandles.d.ts +4 -4
- package/dist/types/element/src/typeChecks.d.ts +15 -1
- package/dist/types/element/src/types.d.ts +14 -1
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +39 -45
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +26 -30
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +262 -288
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +81 -92
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +13 -15
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +38 -43
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +13 -15
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +41 -46
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +13 -15
- package/dist/types/excalidraw/actions/actionExport.d.ts +210 -228
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +72 -36
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +96 -104
- package/dist/types/excalidraw/actions/actionGroup.d.ts +32 -36
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +505 -14
- package/dist/types/excalidraw/actions/actionLink.d.ts +13 -15
- package/dist/types/excalidraw/actions/actionMenu.d.ts +39 -45
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +25 -29
- package/dist/types/excalidraw/actions/actionProperties.d.ts +192 -214
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +15 -17
- package/dist/types/excalidraw/actions/actionStyles.d.ts +17 -19
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +15 -17
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +15 -17
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +15 -190
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +15 -17
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +15 -17
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +15 -17
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/actions/types.d.ts +4 -3
- package/dist/types/excalidraw/appState.d.ts +38 -29
- package/dist/types/excalidraw/components/App.d.ts +24 -11
- package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +5 -1
- package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -3
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -3
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
- package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
- package/dist/types/excalidraw/components/Range.d.ts +3 -3
- package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
- package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -11
- package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +1 -0
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
- package/dist/types/excalidraw/components/icons.d.ts +3 -0
- package/dist/types/excalidraw/components/shapes.d.ts +1 -1
- package/dist/types/excalidraw/data/blob.d.ts +1 -1
- package/dist/types/excalidraw/data/transform.d.ts +1 -1
- package/dist/types/excalidraw/editor-jotai.d.ts +6 -6
- package/dist/types/excalidraw/eraser/index.d.ts +14 -0
- package/dist/types/excalidraw/fonts/Fonts.d.ts +1 -1
- package/dist/types/excalidraw/history.d.ts +14 -22
- package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
- package/dist/types/excalidraw/index.d.ts +9 -9
- package/dist/types/excalidraw/lasso/index.d.ts +1 -0
- package/dist/types/excalidraw/lasso/utils.d.ts +1 -2
- package/dist/types/excalidraw/renderer/helpers.d.ts +7 -2
- package/dist/types/excalidraw/scene/Renderer.d.ts +1 -1
- package/dist/types/excalidraw/scene/index.d.ts +2 -2
- package/dist/types/excalidraw/scene/scrollbars.d.ts +2 -3
- package/dist/types/excalidraw/scene/types.d.ts +2 -0
- package/dist/types/excalidraw/snapping.d.ts +2 -2
- package/dist/types/excalidraw/types.d.ts +28 -6
- package/dist/types/excalidraw/visualdebug.d.ts +1 -1
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
- package/dist/types/math/src/angle.d.ts +2 -0
- package/dist/types/math/src/curve.d.ts +2 -0
- package/dist/types/math/src/point.d.ts +1 -1
- package/dist/types/math/src/types.d.ts +1 -0
- package/dist/types/math/src/vector.d.ts +4 -0
- package/dist/types/utils/src/bbox.d.ts +1 -1
- package/dist/types/utils/src/index.d.ts +1 -1
- package/dist/types/utils/src/withinBounds.d.ts +1 -1
- package/history.ts +68 -94
- package/package.json +3 -3
- package/dist/dev/chunk-H7XJ5UVD.js +0 -7
- package/dist/dev/chunk-H7XJ5UVD.js.map +0 -7
- package/dist/dev/chunk-KYBDXI6F.js.map +0 -7
- package/dist/dev/chunk-X3RYHLJU.js.map +0 -7
- package/dist/prod/chunk-CAN5RS4P.js +0 -31
- package/dist/prod/chunk-KJYFYP64.js +0 -7
- package/dist/prod/data/image-5XD47O4X.js +0 -1
- package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
- package/dist/types/excalidraw/store.d.ts +0 -129
- /package/dist/dev/data/{image-NKFINVKH.js.map → image-OFYK7EOY.js.map} +0 -0
- /package/dist/dev/locales/{en-CKWC2GMK.js.map → en-KIY5SGI3.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { type SceneBounds } from "@excalidraw/element
|
|
2
|
+
import { type SceneBounds } from "@excalidraw/element";
|
|
3
3
|
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
4
4
|
import type { AppState, Offsets } from "../types";
|
|
5
5
|
export declare const actionChangeViewBackgroundColor: {
|
|
@@ -51,20 +51,70 @@ export declare const actionClearCanvas: {
|
|
|
51
51
|
locked: boolean;
|
|
52
52
|
fromSelection: boolean;
|
|
53
53
|
} & import("../types").ActiveTool;
|
|
54
|
-
|
|
54
|
+
contextMenu: {
|
|
55
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
56
|
+
top: number;
|
|
57
|
+
left: number;
|
|
58
|
+
} | null;
|
|
59
|
+
exportWithDarkMode: boolean;
|
|
60
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
61
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
62
|
+
cursorButton: "up" | "down";
|
|
63
|
+
scrollX: number;
|
|
64
|
+
scrollY: number;
|
|
65
|
+
showWelcomeScreen: boolean;
|
|
66
|
+
isLoading: boolean;
|
|
67
|
+
errorMessage: import("react").ReactNode;
|
|
68
|
+
activeEmbeddable: {
|
|
69
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
70
|
+
state: "hover" | "active";
|
|
71
|
+
} | null;
|
|
72
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
73
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
74
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
75
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
76
|
+
isBindingEnabled: boolean;
|
|
77
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
55
78
|
frameRendering: {
|
|
56
79
|
enabled: boolean;
|
|
57
80
|
name: boolean;
|
|
58
81
|
outline: boolean;
|
|
59
82
|
clip: boolean;
|
|
60
83
|
};
|
|
84
|
+
editingFrame: string | null;
|
|
85
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
86
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
87
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
88
|
+
exportScale: number;
|
|
89
|
+
currentItemStrokeColor: string;
|
|
90
|
+
currentItemBackgroundColor: string;
|
|
91
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
92
|
+
currentItemStrokeWidth: number;
|
|
93
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
94
|
+
currentItemRoughness: number;
|
|
95
|
+
currentItemOpacity: number;
|
|
96
|
+
currentItemFontFamily: number;
|
|
97
|
+
currentItemFontSize: number;
|
|
98
|
+
currentItemTextAlign: string;
|
|
99
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
100
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
101
|
+
currentHoveredFontFamily: number | null;
|
|
102
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
103
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
104
|
+
viewBackgroundColor: string;
|
|
105
|
+
scrolledOutside: boolean;
|
|
61
106
|
name: string | null;
|
|
107
|
+
isResizing: boolean;
|
|
108
|
+
isRotating: boolean;
|
|
62
109
|
zoom: Readonly<{
|
|
63
110
|
value: import("../types").NormalizedZoomValue;
|
|
64
111
|
}>;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
112
|
+
openMenu: "canvas" | "shape" | null;
|
|
113
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
114
|
+
openSidebar: {
|
|
115
|
+
name: string;
|
|
116
|
+
tab?: string | undefined;
|
|
117
|
+
} | null;
|
|
68
118
|
openDialog: {
|
|
69
119
|
name: "imageExport" | "help" | "jsonExport";
|
|
70
120
|
} | {
|
|
@@ -76,27 +126,31 @@ export declare const actionClearCanvas: {
|
|
|
76
126
|
name: "elementLinkSelector";
|
|
77
127
|
sourceElementId: string;
|
|
78
128
|
} | null;
|
|
79
|
-
|
|
129
|
+
defaultSidebarDockedPreference: boolean;
|
|
130
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
80
131
|
selectedElementIds: Readonly<{
|
|
81
132
|
[id: string]: true;
|
|
82
133
|
}>;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
134
|
+
hoveredElementIds: Readonly<{
|
|
135
|
+
[id: string]: true;
|
|
136
|
+
}>;
|
|
137
|
+
previousSelectedElementIds: {
|
|
138
|
+
[id: string]: true;
|
|
139
|
+
};
|
|
140
|
+
selectedElementsAreBeingDragged: boolean;
|
|
141
|
+
shouldCacheIgnoreZoom: boolean;
|
|
142
|
+
toast: {
|
|
143
|
+
message: string;
|
|
144
|
+
closable?: boolean | undefined;
|
|
145
|
+
duration?: number | undefined;
|
|
88
146
|
} | null;
|
|
89
|
-
|
|
90
|
-
|
|
147
|
+
zenModeEnabled: boolean;
|
|
148
|
+
viewModeEnabled: boolean;
|
|
91
149
|
selectedGroupIds: {
|
|
92
150
|
[groupId: string]: boolean;
|
|
93
151
|
};
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
isBindingEnabled: boolean;
|
|
97
|
-
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
98
|
-
isRotating: boolean;
|
|
99
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
152
|
+
editingGroupId: string | null;
|
|
153
|
+
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
100
154
|
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
101
155
|
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
102
156
|
button?: "up" | "down" | undefined;
|
|
@@ -117,84 +171,28 @@ export declare const actionClearCanvas: {
|
|
|
117
171
|
isSpeaking?: boolean | undefined;
|
|
118
172
|
isMuted?: boolean | undefined;
|
|
119
173
|
}>>;
|
|
120
|
-
snapLines: readonly import("../snapping").SnapLine[];
|
|
121
|
-
zenModeEnabled: boolean;
|
|
122
|
-
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
123
|
-
isCropping: boolean;
|
|
124
|
-
croppingElementId: string | null;
|
|
125
|
-
searchMatches: readonly {
|
|
126
|
-
id: string;
|
|
127
|
-
focus: boolean;
|
|
128
|
-
matchedLines: {
|
|
129
|
-
offsetX: number;
|
|
130
|
-
offsetY: number;
|
|
131
|
-
width: number;
|
|
132
|
-
height: number;
|
|
133
|
-
}[];
|
|
134
|
-
}[];
|
|
135
|
-
objectsSnapModeEnabled: boolean;
|
|
136
|
-
shouldCacheIgnoreZoom: boolean;
|
|
137
|
-
exportScale: number;
|
|
138
|
-
selectedElementsAreBeingDragged: boolean;
|
|
139
|
-
currentHoveredFontFamily: number | null;
|
|
140
|
-
hoveredElementIds: Readonly<{
|
|
141
|
-
[id: string]: true;
|
|
142
|
-
}>;
|
|
143
|
-
contextMenu: {
|
|
144
|
-
items: import("../components/ContextMenu").ContextMenuItems;
|
|
145
|
-
top: number;
|
|
146
|
-
left: number;
|
|
147
|
-
} | null;
|
|
148
|
-
showWelcomeScreen: boolean;
|
|
149
|
-
isLoading: boolean;
|
|
150
|
-
errorMessage: import("react").ReactNode;
|
|
151
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
152
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
153
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
154
|
-
editingFrame: string | null;
|
|
155
|
-
exportWithDarkMode: boolean;
|
|
156
|
-
currentItemStrokeColor: string;
|
|
157
|
-
currentItemBackgroundColor: string;
|
|
158
|
-
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
159
|
-
currentItemStrokeWidth: number;
|
|
160
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
161
|
-
currentItemRoughness: number;
|
|
162
|
-
currentItemOpacity: number;
|
|
163
|
-
currentItemFontFamily: number;
|
|
164
|
-
currentItemFontSize: number;
|
|
165
|
-
currentItemTextAlign: string;
|
|
166
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
167
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
168
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
169
|
-
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
170
|
-
cursorButton: "up" | "down";
|
|
171
|
-
scrolledOutside: boolean;
|
|
172
|
-
isResizing: boolean;
|
|
173
|
-
openMenu: "shape" | "canvas" | null;
|
|
174
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
175
|
-
openSidebar: {
|
|
176
|
-
name: string;
|
|
177
|
-
tab?: string | undefined;
|
|
178
|
-
} | null;
|
|
179
|
-
defaultSidebarDockedPreference: boolean;
|
|
180
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
181
|
-
previousSelectedElementIds: {
|
|
182
|
-
[id: string]: true;
|
|
183
|
-
};
|
|
184
|
-
toast: {
|
|
185
|
-
message: string;
|
|
186
|
-
closable?: boolean | undefined;
|
|
187
|
-
duration?: number | undefined;
|
|
188
|
-
} | null;
|
|
189
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
190
174
|
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
191
|
-
|
|
175
|
+
pendingImageElementId: string | null;
|
|
176
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
177
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
178
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
192
179
|
originSnapOffset: {
|
|
193
180
|
x: number;
|
|
194
181
|
y: number;
|
|
195
182
|
} | null;
|
|
183
|
+
objectsSnapModeEnabled: boolean;
|
|
196
184
|
userToFollow: import("../types").UserToFollow | null;
|
|
197
185
|
followedBy: Set<import("../types").SocketId>;
|
|
186
|
+
isCropping: boolean;
|
|
187
|
+
croppingElementId: string | null;
|
|
188
|
+
searchMatches: Readonly<{
|
|
189
|
+
focusedId: string | null;
|
|
190
|
+
matches: readonly import("../types").SearchMatch[];
|
|
191
|
+
}> | null;
|
|
192
|
+
activeLockedId: string | null;
|
|
193
|
+
lockedMultiSelections: {
|
|
194
|
+
[groupId: string]: true;
|
|
195
|
+
};
|
|
198
196
|
};
|
|
199
197
|
captureUpdate: "IMMEDIATELY";
|
|
200
198
|
};
|
|
@@ -235,7 +233,7 @@ export declare const actionZoomIn: {
|
|
|
235
233
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
236
234
|
isBindingEnabled: boolean;
|
|
237
235
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
238
|
-
suggestedBindings: import("@excalidraw/element
|
|
236
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
239
237
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
240
238
|
frameRendering: {
|
|
241
239
|
enabled: boolean;
|
|
@@ -246,7 +244,7 @@ export declare const actionZoomIn: {
|
|
|
246
244
|
editingFrame: string | null;
|
|
247
245
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
248
246
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
249
|
-
editingLinearElement: import("@excalidraw/element
|
|
247
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
250
248
|
activeTool: {
|
|
251
249
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
252
250
|
locked: boolean;
|
|
@@ -279,7 +277,7 @@ export declare const actionZoomIn: {
|
|
|
279
277
|
name: string | null;
|
|
280
278
|
isResizing: boolean;
|
|
281
279
|
isRotating: boolean;
|
|
282
|
-
openMenu: "
|
|
280
|
+
openMenu: "canvas" | "shape" | null;
|
|
283
281
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
284
282
|
openSidebar: {
|
|
285
283
|
name: string;
|
|
@@ -362,8 +360,8 @@ export declare const actionZoomIn: {
|
|
|
362
360
|
data: import("../charts").Spreadsheet;
|
|
363
361
|
};
|
|
364
362
|
pendingImageElementId: string | null;
|
|
365
|
-
showHyperlinkPopup: false | "
|
|
366
|
-
selectedLinearElement: import("@excalidraw/element
|
|
363
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
364
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
367
365
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
368
366
|
originSnapOffset: {
|
|
369
367
|
x: number;
|
|
@@ -373,23 +371,21 @@ export declare const actionZoomIn: {
|
|
|
373
371
|
followedBy: Set<import("../types").SocketId>;
|
|
374
372
|
isCropping: boolean;
|
|
375
373
|
croppingElementId: string | null;
|
|
376
|
-
searchMatches:
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
}[];
|
|
385
|
-
}[];
|
|
374
|
+
searchMatches: Readonly<{
|
|
375
|
+
focusedId: string | null;
|
|
376
|
+
matches: readonly import("../types").SearchMatch[];
|
|
377
|
+
}> | null;
|
|
378
|
+
activeLockedId: string | null;
|
|
379
|
+
lockedMultiSelections: {
|
|
380
|
+
[groupId: string]: true;
|
|
381
|
+
};
|
|
386
382
|
};
|
|
387
383
|
captureUpdate: "EVENTUALLY";
|
|
388
384
|
};
|
|
389
385
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
390
|
-
keyTest: (event:
|
|
386
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
391
387
|
} & {
|
|
392
|
-
keyTest?: ((event:
|
|
388
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
393
389
|
};
|
|
394
390
|
export declare const actionZoomOut: {
|
|
395
391
|
name: "zoomOut";
|
|
@@ -425,7 +421,7 @@ export declare const actionZoomOut: {
|
|
|
425
421
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
426
422
|
isBindingEnabled: boolean;
|
|
427
423
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
428
|
-
suggestedBindings: import("@excalidraw/element
|
|
424
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
429
425
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
430
426
|
frameRendering: {
|
|
431
427
|
enabled: boolean;
|
|
@@ -436,7 +432,7 @@ export declare const actionZoomOut: {
|
|
|
436
432
|
editingFrame: string | null;
|
|
437
433
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
438
434
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
439
|
-
editingLinearElement: import("@excalidraw/element
|
|
435
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
440
436
|
activeTool: {
|
|
441
437
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
442
438
|
locked: boolean;
|
|
@@ -469,7 +465,7 @@ export declare const actionZoomOut: {
|
|
|
469
465
|
name: string | null;
|
|
470
466
|
isResizing: boolean;
|
|
471
467
|
isRotating: boolean;
|
|
472
|
-
openMenu: "
|
|
468
|
+
openMenu: "canvas" | "shape" | null;
|
|
473
469
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
474
470
|
openSidebar: {
|
|
475
471
|
name: string;
|
|
@@ -552,8 +548,8 @@ export declare const actionZoomOut: {
|
|
|
552
548
|
data: import("../charts").Spreadsheet;
|
|
553
549
|
};
|
|
554
550
|
pendingImageElementId: string | null;
|
|
555
|
-
showHyperlinkPopup: false | "
|
|
556
|
-
selectedLinearElement: import("@excalidraw/element
|
|
551
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
552
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
557
553
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
558
554
|
originSnapOffset: {
|
|
559
555
|
x: number;
|
|
@@ -563,23 +559,21 @@ export declare const actionZoomOut: {
|
|
|
563
559
|
followedBy: Set<import("../types").SocketId>;
|
|
564
560
|
isCropping: boolean;
|
|
565
561
|
croppingElementId: string | null;
|
|
566
|
-
searchMatches:
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
}[];
|
|
575
|
-
}[];
|
|
562
|
+
searchMatches: Readonly<{
|
|
563
|
+
focusedId: string | null;
|
|
564
|
+
matches: readonly import("../types").SearchMatch[];
|
|
565
|
+
}> | null;
|
|
566
|
+
activeLockedId: string | null;
|
|
567
|
+
lockedMultiSelections: {
|
|
568
|
+
[groupId: string]: true;
|
|
569
|
+
};
|
|
576
570
|
};
|
|
577
571
|
captureUpdate: "EVENTUALLY";
|
|
578
572
|
};
|
|
579
573
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
580
|
-
keyTest: (event:
|
|
574
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
581
575
|
} & {
|
|
582
|
-
keyTest?: ((event:
|
|
576
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
583
577
|
};
|
|
584
578
|
export declare const actionResetZoom: {
|
|
585
579
|
name: "resetZoom";
|
|
@@ -615,7 +609,7 @@ export declare const actionResetZoom: {
|
|
|
615
609
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
616
610
|
isBindingEnabled: boolean;
|
|
617
611
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
618
|
-
suggestedBindings: import("@excalidraw/element
|
|
612
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
619
613
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
620
614
|
frameRendering: {
|
|
621
615
|
enabled: boolean;
|
|
@@ -626,7 +620,7 @@ export declare const actionResetZoom: {
|
|
|
626
620
|
editingFrame: string | null;
|
|
627
621
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
628
622
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
629
|
-
editingLinearElement: import("@excalidraw/element
|
|
623
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
630
624
|
activeTool: {
|
|
631
625
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
632
626
|
locked: boolean;
|
|
@@ -659,7 +653,7 @@ export declare const actionResetZoom: {
|
|
|
659
653
|
name: string | null;
|
|
660
654
|
isResizing: boolean;
|
|
661
655
|
isRotating: boolean;
|
|
662
|
-
openMenu: "
|
|
656
|
+
openMenu: "canvas" | "shape" | null;
|
|
663
657
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
664
658
|
openSidebar: {
|
|
665
659
|
name: string;
|
|
@@ -742,8 +736,8 @@ export declare const actionResetZoom: {
|
|
|
742
736
|
data: import("../charts").Spreadsheet;
|
|
743
737
|
};
|
|
744
738
|
pendingImageElementId: string | null;
|
|
745
|
-
showHyperlinkPopup: false | "
|
|
746
|
-
selectedLinearElement: import("@excalidraw/element
|
|
739
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
740
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
747
741
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
748
742
|
originSnapOffset: {
|
|
749
743
|
x: number;
|
|
@@ -753,23 +747,21 @@ export declare const actionResetZoom: {
|
|
|
753
747
|
followedBy: Set<import("../types").SocketId>;
|
|
754
748
|
isCropping: boolean;
|
|
755
749
|
croppingElementId: string | null;
|
|
756
|
-
searchMatches:
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
}[];
|
|
765
|
-
}[];
|
|
750
|
+
searchMatches: Readonly<{
|
|
751
|
+
focusedId: string | null;
|
|
752
|
+
matches: readonly import("../types").SearchMatch[];
|
|
753
|
+
}> | null;
|
|
754
|
+
activeLockedId: string | null;
|
|
755
|
+
lockedMultiSelections: {
|
|
756
|
+
[groupId: string]: true;
|
|
757
|
+
};
|
|
766
758
|
};
|
|
767
759
|
captureUpdate: "EVENTUALLY";
|
|
768
760
|
};
|
|
769
761
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
770
|
-
keyTest: (event:
|
|
762
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
771
763
|
} & {
|
|
772
|
-
keyTest?: ((event:
|
|
764
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
773
765
|
};
|
|
774
766
|
export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToViewport, viewportZoomFactor, minZoom, maxZoom, }: {
|
|
775
767
|
bounds: SceneBounds;
|
|
@@ -811,7 +803,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
811
803
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
812
804
|
isBindingEnabled: boolean;
|
|
813
805
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
814
|
-
suggestedBindings: import("@excalidraw/element
|
|
806
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
815
807
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
816
808
|
frameRendering: {
|
|
817
809
|
enabled: boolean;
|
|
@@ -822,7 +814,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
822
814
|
editingFrame: string | null;
|
|
823
815
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
824
816
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
825
|
-
editingLinearElement: import("@excalidraw/element
|
|
817
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
826
818
|
activeTool: {
|
|
827
819
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
828
820
|
locked: boolean;
|
|
@@ -855,7 +847,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
855
847
|
name: string | null;
|
|
856
848
|
isResizing: boolean;
|
|
857
849
|
isRotating: boolean;
|
|
858
|
-
openMenu: "
|
|
850
|
+
openMenu: "canvas" | "shape" | null;
|
|
859
851
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
860
852
|
openSidebar: {
|
|
861
853
|
name: string;
|
|
@@ -938,8 +930,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
938
930
|
data: import("../charts").Spreadsheet;
|
|
939
931
|
};
|
|
940
932
|
pendingImageElementId: string | null;
|
|
941
|
-
showHyperlinkPopup: false | "
|
|
942
|
-
selectedLinearElement: import("@excalidraw/element
|
|
933
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
934
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
943
935
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
944
936
|
originSnapOffset: {
|
|
945
937
|
x: number;
|
|
@@ -950,16 +942,14 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
950
942
|
followedBy: Set<import("../types").SocketId>;
|
|
951
943
|
isCropping: boolean;
|
|
952
944
|
croppingElementId: string | null;
|
|
953
|
-
searchMatches:
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
}[];
|
|
962
|
-
}[];
|
|
945
|
+
searchMatches: Readonly<{
|
|
946
|
+
focusedId: string | null;
|
|
947
|
+
matches: readonly import("../types").SearchMatch[];
|
|
948
|
+
}> | null;
|
|
949
|
+
activeLockedId: string | null;
|
|
950
|
+
lockedMultiSelections: {
|
|
951
|
+
[groupId: string]: true;
|
|
952
|
+
};
|
|
963
953
|
};
|
|
964
954
|
captureUpdate: "EVENTUALLY";
|
|
965
955
|
};
|
|
@@ -1003,7 +993,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1003
993
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1004
994
|
isBindingEnabled: boolean;
|
|
1005
995
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1006
|
-
suggestedBindings: import("@excalidraw/element
|
|
996
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1007
997
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1008
998
|
frameRendering: {
|
|
1009
999
|
enabled: boolean;
|
|
@@ -1014,7 +1004,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1014
1004
|
editingFrame: string | null;
|
|
1015
1005
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1016
1006
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1017
|
-
editingLinearElement: import("@excalidraw/element
|
|
1007
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1018
1008
|
activeTool: {
|
|
1019
1009
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1020
1010
|
locked: boolean;
|
|
@@ -1047,7 +1037,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1047
1037
|
name: string | null;
|
|
1048
1038
|
isResizing: boolean;
|
|
1049
1039
|
isRotating: boolean;
|
|
1050
|
-
openMenu: "
|
|
1040
|
+
openMenu: "canvas" | "shape" | null;
|
|
1051
1041
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1052
1042
|
openSidebar: {
|
|
1053
1043
|
name: string;
|
|
@@ -1130,8 +1120,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1130
1120
|
data: import("../charts").Spreadsheet;
|
|
1131
1121
|
};
|
|
1132
1122
|
pendingImageElementId: string | null;
|
|
1133
|
-
showHyperlinkPopup: false | "
|
|
1134
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1123
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1124
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1135
1125
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1136
1126
|
originSnapOffset: {
|
|
1137
1127
|
x: number;
|
|
@@ -1142,16 +1132,14 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1142
1132
|
followedBy: Set<import("../types").SocketId>;
|
|
1143
1133
|
isCropping: boolean;
|
|
1144
1134
|
croppingElementId: string | null;
|
|
1145
|
-
searchMatches:
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
}[];
|
|
1154
|
-
}[];
|
|
1135
|
+
searchMatches: Readonly<{
|
|
1136
|
+
focusedId: string | null;
|
|
1137
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1138
|
+
}> | null;
|
|
1139
|
+
activeLockedId: string | null;
|
|
1140
|
+
lockedMultiSelections: {
|
|
1141
|
+
[groupId: string]: true;
|
|
1142
|
+
};
|
|
1155
1143
|
};
|
|
1156
1144
|
captureUpdate: "EVENTUALLY";
|
|
1157
1145
|
};
|
|
@@ -1187,7 +1175,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1187
1175
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1188
1176
|
isBindingEnabled: boolean;
|
|
1189
1177
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1190
|
-
suggestedBindings: import("@excalidraw/element
|
|
1178
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1191
1179
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1192
1180
|
frameRendering: {
|
|
1193
1181
|
enabled: boolean;
|
|
@@ -1198,7 +1186,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1198
1186
|
editingFrame: string | null;
|
|
1199
1187
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1200
1188
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1201
|
-
editingLinearElement: import("@excalidraw/element
|
|
1189
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1202
1190
|
activeTool: {
|
|
1203
1191
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1204
1192
|
locked: boolean;
|
|
@@ -1231,7 +1219,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1231
1219
|
name: string | null;
|
|
1232
1220
|
isResizing: boolean;
|
|
1233
1221
|
isRotating: boolean;
|
|
1234
|
-
openMenu: "
|
|
1222
|
+
openMenu: "canvas" | "shape" | null;
|
|
1235
1223
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1236
1224
|
openSidebar: {
|
|
1237
1225
|
name: string;
|
|
@@ -1314,8 +1302,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1314
1302
|
data: import("../charts").Spreadsheet;
|
|
1315
1303
|
};
|
|
1316
1304
|
pendingImageElementId: string | null;
|
|
1317
|
-
showHyperlinkPopup: false | "
|
|
1318
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1305
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1306
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1319
1307
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1320
1308
|
originSnapOffset: {
|
|
1321
1309
|
x: number;
|
|
@@ -1326,22 +1314,20 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1326
1314
|
followedBy: Set<import("../types").SocketId>;
|
|
1327
1315
|
isCropping: boolean;
|
|
1328
1316
|
croppingElementId: string | null;
|
|
1329
|
-
searchMatches:
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
}[];
|
|
1338
|
-
}[];
|
|
1317
|
+
searchMatches: Readonly<{
|
|
1318
|
+
focusedId: string | null;
|
|
1319
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1320
|
+
}> | null;
|
|
1321
|
+
activeLockedId: string | null;
|
|
1322
|
+
lockedMultiSelections: {
|
|
1323
|
+
[groupId: string]: true;
|
|
1324
|
+
};
|
|
1339
1325
|
};
|
|
1340
1326
|
captureUpdate: "EVENTUALLY";
|
|
1341
1327
|
};
|
|
1342
|
-
keyTest: (event:
|
|
1328
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1343
1329
|
} & {
|
|
1344
|
-
keyTest?: ((event:
|
|
1330
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1345
1331
|
};
|
|
1346
1332
|
export declare const actionZoomToFitSelection: {
|
|
1347
1333
|
name: "zoomToFitSelection";
|
|
@@ -1375,7 +1361,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1375
1361
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1376
1362
|
isBindingEnabled: boolean;
|
|
1377
1363
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1378
|
-
suggestedBindings: import("@excalidraw/element
|
|
1364
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1379
1365
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1380
1366
|
frameRendering: {
|
|
1381
1367
|
enabled: boolean;
|
|
@@ -1386,7 +1372,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1386
1372
|
editingFrame: string | null;
|
|
1387
1373
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1388
1374
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1389
|
-
editingLinearElement: import("@excalidraw/element
|
|
1375
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1390
1376
|
activeTool: {
|
|
1391
1377
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1392
1378
|
locked: boolean;
|
|
@@ -1419,7 +1405,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1419
1405
|
name: string | null;
|
|
1420
1406
|
isResizing: boolean;
|
|
1421
1407
|
isRotating: boolean;
|
|
1422
|
-
openMenu: "
|
|
1408
|
+
openMenu: "canvas" | "shape" | null;
|
|
1423
1409
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1424
1410
|
openSidebar: {
|
|
1425
1411
|
name: string;
|
|
@@ -1502,8 +1488,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
1502
1488
|
data: import("../charts").Spreadsheet;
|
|
1503
1489
|
};
|
|
1504
1490
|
pendingImageElementId: string | null;
|
|
1505
|
-
showHyperlinkPopup: false | "
|
|
1506
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1491
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1492
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1507
1493
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1508
1494
|
originSnapOffset: {
|
|
1509
1495
|
x: number;
|
|
@@ -1514,22 +1500,20 @@ export declare const actionZoomToFitSelection: {
|
|
|
1514
1500
|
followedBy: Set<import("../types").SocketId>;
|
|
1515
1501
|
isCropping: boolean;
|
|
1516
1502
|
croppingElementId: string | null;
|
|
1517
|
-
searchMatches:
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
}[];
|
|
1526
|
-
}[];
|
|
1503
|
+
searchMatches: Readonly<{
|
|
1504
|
+
focusedId: string | null;
|
|
1505
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1506
|
+
}> | null;
|
|
1507
|
+
activeLockedId: string | null;
|
|
1508
|
+
lockedMultiSelections: {
|
|
1509
|
+
[groupId: string]: true;
|
|
1510
|
+
};
|
|
1527
1511
|
};
|
|
1528
1512
|
captureUpdate: "EVENTUALLY";
|
|
1529
1513
|
};
|
|
1530
|
-
keyTest: (event:
|
|
1514
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1531
1515
|
} & {
|
|
1532
|
-
keyTest?: ((event:
|
|
1516
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1533
1517
|
};
|
|
1534
1518
|
export declare const actionZoomToFit: {
|
|
1535
1519
|
name: "zoomToFit";
|
|
@@ -1564,7 +1548,7 @@ export declare const actionZoomToFit: {
|
|
|
1564
1548
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1565
1549
|
isBindingEnabled: boolean;
|
|
1566
1550
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1567
|
-
suggestedBindings: import("@excalidraw/element
|
|
1551
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1568
1552
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1569
1553
|
frameRendering: {
|
|
1570
1554
|
enabled: boolean;
|
|
@@ -1575,7 +1559,7 @@ export declare const actionZoomToFit: {
|
|
|
1575
1559
|
editingFrame: string | null;
|
|
1576
1560
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1577
1561
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1578
|
-
editingLinearElement: import("@excalidraw/element
|
|
1562
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1579
1563
|
activeTool: {
|
|
1580
1564
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1581
1565
|
locked: boolean;
|
|
@@ -1608,7 +1592,7 @@ export declare const actionZoomToFit: {
|
|
|
1608
1592
|
name: string | null;
|
|
1609
1593
|
isResizing: boolean;
|
|
1610
1594
|
isRotating: boolean;
|
|
1611
|
-
openMenu: "
|
|
1595
|
+
openMenu: "canvas" | "shape" | null;
|
|
1612
1596
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1613
1597
|
openSidebar: {
|
|
1614
1598
|
name: string;
|
|
@@ -1691,8 +1675,8 @@ export declare const actionZoomToFit: {
|
|
|
1691
1675
|
data: import("../charts").Spreadsheet;
|
|
1692
1676
|
};
|
|
1693
1677
|
pendingImageElementId: string | null;
|
|
1694
|
-
showHyperlinkPopup: false | "
|
|
1695
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1678
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1679
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1696
1680
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1697
1681
|
originSnapOffset: {
|
|
1698
1682
|
x: number;
|
|
@@ -1703,22 +1687,20 @@ export declare const actionZoomToFit: {
|
|
|
1703
1687
|
followedBy: Set<import("../types").SocketId>;
|
|
1704
1688
|
isCropping: boolean;
|
|
1705
1689
|
croppingElementId: string | null;
|
|
1706
|
-
searchMatches:
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
}[];
|
|
1715
|
-
}[];
|
|
1690
|
+
searchMatches: Readonly<{
|
|
1691
|
+
focusedId: string | null;
|
|
1692
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1693
|
+
}> | null;
|
|
1694
|
+
activeLockedId: string | null;
|
|
1695
|
+
lockedMultiSelections: {
|
|
1696
|
+
[groupId: string]: true;
|
|
1697
|
+
};
|
|
1716
1698
|
};
|
|
1717
1699
|
captureUpdate: "EVENTUALLY";
|
|
1718
1700
|
};
|
|
1719
|
-
keyTest: (event:
|
|
1701
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1720
1702
|
} & {
|
|
1721
|
-
keyTest?: ((event:
|
|
1703
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1722
1704
|
};
|
|
1723
1705
|
export declare const actionToggleTheme: {
|
|
1724
1706
|
name: "toggleTheme";
|
|
@@ -1750,7 +1732,7 @@ export declare const actionToggleTheme: {
|
|
|
1750
1732
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1751
1733
|
isBindingEnabled: boolean;
|
|
1752
1734
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1753
|
-
suggestedBindings: import("@excalidraw/element
|
|
1735
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1754
1736
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1755
1737
|
frameRendering: {
|
|
1756
1738
|
enabled: boolean;
|
|
@@ -1761,7 +1743,7 @@ export declare const actionToggleTheme: {
|
|
|
1761
1743
|
editingFrame: string | null;
|
|
1762
1744
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1763
1745
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1764
|
-
editingLinearElement: import("@excalidraw/element
|
|
1746
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1765
1747
|
activeTool: {
|
|
1766
1748
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1767
1749
|
locked: boolean;
|
|
@@ -1799,7 +1781,7 @@ export declare const actionToggleTheme: {
|
|
|
1799
1781
|
zoom: Readonly<{
|
|
1800
1782
|
value: import("../types").NormalizedZoomValue;
|
|
1801
1783
|
}>;
|
|
1802
|
-
openMenu: "
|
|
1784
|
+
openMenu: "canvas" | "shape" | null;
|
|
1803
1785
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1804
1786
|
openSidebar: {
|
|
1805
1787
|
name: string;
|
|
@@ -1881,8 +1863,8 @@ export declare const actionToggleTheme: {
|
|
|
1881
1863
|
data: import("../charts").Spreadsheet;
|
|
1882
1864
|
};
|
|
1883
1865
|
pendingImageElementId: string | null;
|
|
1884
|
-
showHyperlinkPopup: false | "
|
|
1885
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1866
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1867
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1886
1868
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1887
1869
|
originSnapOffset: {
|
|
1888
1870
|
x: number;
|
|
@@ -1893,23 +1875,21 @@ export declare const actionToggleTheme: {
|
|
|
1893
1875
|
followedBy: Set<import("../types").SocketId>;
|
|
1894
1876
|
isCropping: boolean;
|
|
1895
1877
|
croppingElementId: string | null;
|
|
1896
|
-
searchMatches:
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
}[];
|
|
1905
|
-
}[];
|
|
1878
|
+
searchMatches: Readonly<{
|
|
1879
|
+
focusedId: string | null;
|
|
1880
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1881
|
+
}> | null;
|
|
1882
|
+
activeLockedId: string | null;
|
|
1883
|
+
lockedMultiSelections: {
|
|
1884
|
+
[groupId: string]: true;
|
|
1885
|
+
};
|
|
1906
1886
|
};
|
|
1907
1887
|
captureUpdate: "EVENTUALLY";
|
|
1908
1888
|
};
|
|
1909
|
-
keyTest: (event:
|
|
1889
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1910
1890
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
1911
1891
|
} & {
|
|
1912
|
-
keyTest?: ((event:
|
|
1892
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1913
1893
|
};
|
|
1914
1894
|
export declare const actionToggleEraserTool: {
|
|
1915
1895
|
name: "toggleEraserTool";
|
|
@@ -1941,7 +1921,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1941
1921
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1942
1922
|
isBindingEnabled: boolean;
|
|
1943
1923
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1944
|
-
suggestedBindings: import("@excalidraw/element
|
|
1924
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1945
1925
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1946
1926
|
frameRendering: {
|
|
1947
1927
|
enabled: boolean;
|
|
@@ -1952,7 +1932,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1952
1932
|
editingFrame: string | null;
|
|
1953
1933
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1954
1934
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1955
|
-
editingLinearElement: import("@excalidraw/element
|
|
1935
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1956
1936
|
penMode: boolean;
|
|
1957
1937
|
penDetected: boolean;
|
|
1958
1938
|
exportBackground: boolean;
|
|
@@ -1985,7 +1965,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1985
1965
|
zoom: Readonly<{
|
|
1986
1966
|
value: import("../types").NormalizedZoomValue;
|
|
1987
1967
|
}>;
|
|
1988
|
-
openMenu: "
|
|
1968
|
+
openMenu: "canvas" | "shape" | null;
|
|
1989
1969
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1990
1970
|
openSidebar: {
|
|
1991
1971
|
name: string;
|
|
@@ -2062,8 +2042,8 @@ export declare const actionToggleEraserTool: {
|
|
|
2062
2042
|
data: import("../charts").Spreadsheet;
|
|
2063
2043
|
};
|
|
2064
2044
|
pendingImageElementId: string | null;
|
|
2065
|
-
showHyperlinkPopup: false | "
|
|
2066
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2045
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2046
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2067
2047
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2068
2048
|
originSnapOffset: {
|
|
2069
2049
|
x: number;
|
|
@@ -2074,22 +2054,20 @@ export declare const actionToggleEraserTool: {
|
|
|
2074
2054
|
followedBy: Set<import("../types").SocketId>;
|
|
2075
2055
|
isCropping: boolean;
|
|
2076
2056
|
croppingElementId: string | null;
|
|
2077
|
-
searchMatches:
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
}[];
|
|
2086
|
-
}[];
|
|
2057
|
+
searchMatches: Readonly<{
|
|
2058
|
+
focusedId: string | null;
|
|
2059
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2060
|
+
}> | null;
|
|
2061
|
+
activeLockedId: string | null;
|
|
2062
|
+
lockedMultiSelections: {
|
|
2063
|
+
[groupId: string]: true;
|
|
2064
|
+
};
|
|
2087
2065
|
};
|
|
2088
2066
|
captureUpdate: "IMMEDIATELY";
|
|
2089
2067
|
};
|
|
2090
|
-
keyTest: (event:
|
|
2068
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
2091
2069
|
} & {
|
|
2092
|
-
keyTest?: ((event:
|
|
2070
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
2093
2071
|
};
|
|
2094
2072
|
export declare const actionToggleLassoTool: {
|
|
2095
2073
|
name: "toggleLassoTool";
|
|
@@ -2122,7 +2100,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2122
2100
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2123
2101
|
isBindingEnabled: boolean;
|
|
2124
2102
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2125
|
-
suggestedBindings: import("@excalidraw/element
|
|
2103
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2126
2104
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2127
2105
|
frameRendering: {
|
|
2128
2106
|
enabled: boolean;
|
|
@@ -2133,7 +2111,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2133
2111
|
editingFrame: string | null;
|
|
2134
2112
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2135
2113
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2136
|
-
editingLinearElement: import("@excalidraw/element
|
|
2114
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2137
2115
|
penMode: boolean;
|
|
2138
2116
|
penDetected: boolean;
|
|
2139
2117
|
exportBackground: boolean;
|
|
@@ -2166,7 +2144,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2166
2144
|
zoom: Readonly<{
|
|
2167
2145
|
value: import("../types").NormalizedZoomValue;
|
|
2168
2146
|
}>;
|
|
2169
|
-
openMenu: "
|
|
2147
|
+
openMenu: "canvas" | "shape" | null;
|
|
2170
2148
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2171
2149
|
openSidebar: {
|
|
2172
2150
|
name: string;
|
|
@@ -2243,8 +2221,8 @@ export declare const actionToggleLassoTool: {
|
|
|
2243
2221
|
data: import("../charts").Spreadsheet;
|
|
2244
2222
|
};
|
|
2245
2223
|
pendingImageElementId: string | null;
|
|
2246
|
-
showHyperlinkPopup: false | "
|
|
2247
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2224
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2225
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2248
2226
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2249
2227
|
originSnapOffset: {
|
|
2250
2228
|
x: number;
|
|
@@ -2255,16 +2233,14 @@ export declare const actionToggleLassoTool: {
|
|
|
2255
2233
|
followedBy: Set<import("../types").SocketId>;
|
|
2256
2234
|
isCropping: boolean;
|
|
2257
2235
|
croppingElementId: string | null;
|
|
2258
|
-
searchMatches:
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
}[];
|
|
2267
|
-
}[];
|
|
2236
|
+
searchMatches: Readonly<{
|
|
2237
|
+
focusedId: string | null;
|
|
2238
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2239
|
+
}> | null;
|
|
2240
|
+
activeLockedId: string | null;
|
|
2241
|
+
lockedMultiSelections: {
|
|
2242
|
+
[groupId: string]: true;
|
|
2243
|
+
};
|
|
2268
2244
|
};
|
|
2269
2245
|
captureUpdate: "NEVER";
|
|
2270
2246
|
};
|
|
@@ -2303,7 +2279,7 @@ export declare const actionToggleHandTool: {
|
|
|
2303
2279
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2304
2280
|
isBindingEnabled: boolean;
|
|
2305
2281
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2306
|
-
suggestedBindings: import("@excalidraw/element
|
|
2282
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2307
2283
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2308
2284
|
frameRendering: {
|
|
2309
2285
|
enabled: boolean;
|
|
@@ -2314,7 +2290,7 @@ export declare const actionToggleHandTool: {
|
|
|
2314
2290
|
editingFrame: string | null;
|
|
2315
2291
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2316
2292
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2317
|
-
editingLinearElement: import("@excalidraw/element
|
|
2293
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2318
2294
|
penMode: boolean;
|
|
2319
2295
|
penDetected: boolean;
|
|
2320
2296
|
exportBackground: boolean;
|
|
@@ -2347,7 +2323,7 @@ export declare const actionToggleHandTool: {
|
|
|
2347
2323
|
zoom: Readonly<{
|
|
2348
2324
|
value: import("../types").NormalizedZoomValue;
|
|
2349
2325
|
}>;
|
|
2350
|
-
openMenu: "
|
|
2326
|
+
openMenu: "canvas" | "shape" | null;
|
|
2351
2327
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2352
2328
|
openSidebar: {
|
|
2353
2329
|
name: string;
|
|
@@ -2424,8 +2400,8 @@ export declare const actionToggleHandTool: {
|
|
|
2424
2400
|
data: import("../charts").Spreadsheet;
|
|
2425
2401
|
};
|
|
2426
2402
|
pendingImageElementId: string | null;
|
|
2427
|
-
showHyperlinkPopup: false | "
|
|
2428
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2403
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2404
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2429
2405
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2430
2406
|
originSnapOffset: {
|
|
2431
2407
|
x: number;
|
|
@@ -2436,20 +2412,18 @@ export declare const actionToggleHandTool: {
|
|
|
2436
2412
|
followedBy: Set<import("../types").SocketId>;
|
|
2437
2413
|
isCropping: boolean;
|
|
2438
2414
|
croppingElementId: string | null;
|
|
2439
|
-
searchMatches:
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
}[];
|
|
2448
|
-
}[];
|
|
2415
|
+
searchMatches: Readonly<{
|
|
2416
|
+
focusedId: string | null;
|
|
2417
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2418
|
+
}> | null;
|
|
2419
|
+
activeLockedId: string | null;
|
|
2420
|
+
lockedMultiSelections: {
|
|
2421
|
+
[groupId: string]: true;
|
|
2422
|
+
};
|
|
2449
2423
|
};
|
|
2450
2424
|
captureUpdate: "IMMEDIATELY";
|
|
2451
2425
|
};
|
|
2452
|
-
keyTest: (event:
|
|
2426
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
2453
2427
|
} & {
|
|
2454
|
-
keyTest?: ((event:
|
|
2428
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
2455
2429
|
};
|