@myoc/excalidraw 0.18.16 → 0.18.18
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-3HLOFB5F.js → chunk-MAGRVBVM.js} +13453 -10629
- package/dist/dev/chunk-MAGRVBVM.js.map +7 -0
- package/dist/dev/{chunk-PEI7EPYO.js → chunk-QO4EFL6B.js} +15 -5
- package/dist/dev/chunk-QO4EFL6B.js.map +7 -0
- package/dist/dev/chunk-WUH7JFG4.js +7 -0
- package/dist/dev/chunk-WUH7JFG4.js.map +7 -0
- package/dist/dev/data/{image-XPEIZ6XQ.js → image-BBHDGXQ3.js} +3 -3
- package/dist/dev/index.css +101 -24
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +6587 -7610
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-R455UJTM.js → en-2WXBKZE2.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-4Z2WWUCC.js +7 -0
- package/dist/prod/chunk-KZXLT4YB.js +12 -0
- package/dist/prod/chunk-YBT3HBS6.js +33 -0
- package/dist/prod/data/image-JFILZTP3.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +18 -17
- package/dist/prod/locales/{en-YWERZJD6.js → en-XFR6MADM.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 +19 -2
- 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/points.d.ts +1 -1
- package/dist/types/common/src/utility-types.d.ts +5 -0
- package/dist/types/common/src/utils.d.ts +17 -7
- package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +11 -14
- package/dist/types/element/src/align.d.ts +3 -3
- package/dist/types/element/src/arrange.d.ts +2 -1
- package/dist/types/element/src/binding.d.ts +21 -14
- package/dist/types/element/src/bounds.d.ts +11 -5
- package/dist/types/element/src/collision.d.ts +18 -12
- package/dist/types/element/src/cropElement.d.ts +1 -1
- package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +63 -38
- package/dist/types/element/src/distance.d.ts +2 -2
- package/dist/types/element/src/dragElements.d.ts +3 -2
- package/dist/types/element/src/elbowArrow.d.ts +2 -2
- package/dist/types/element/src/flowchart.d.ts +3 -2
- package/dist/types/element/src/fractionalIndex.d.ts +9 -3
- package/dist/types/element/src/frame.d.ts +4 -3
- package/dist/types/element/src/heading.d.ts +2 -2
- package/dist/types/element/src/index.d.ts +43 -2
- package/dist/types/element/src/linearElementEditor.d.ts +21 -32
- package/dist/types/element/src/mutateElement.d.ts +11 -3
- package/dist/types/element/src/newElement.d.ts +4 -3
- package/dist/types/element/src/resizeElements.d.ts +5 -4
- package/dist/types/element/src/resizeTest.d.ts +2 -2
- package/dist/types/element/src/selection.d.ts +1 -6
- package/dist/types/element/src/shape.d.ts +42 -0
- package/dist/types/element/src/shapes.d.ts +10 -10
- package/dist/types/element/src/sizeHelpers.d.ts +2 -2
- package/dist/types/element/src/store.d.ts +231 -0
- package/dist/types/element/src/textElement.d.ts +4 -3
- package/dist/types/element/src/typeChecks.d.ts +19 -1
- package/dist/types/element/src/types.d.ts +15 -2
- package/dist/types/element/src/utils.d.ts +5 -1
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +42 -51
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionArrange.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +28 -34
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +187 -223
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +87 -104
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +41 -49
- 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 +14 -17
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +43 -50
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionExport.d.ts +219 -246
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +74 -40
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +100 -112
- package/dist/types/excalidraw/actions/actionGroup.d.ts +34 -40
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +506 -16
- package/dist/types/excalidraw/actions/actionLink.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionMenu.d.ts +42 -51
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +27 -33
- package/dist/types/excalidraw/actions/actionProperties.d.ts +206 -243
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +16 -19
- package/dist/types/excalidraw/actions/actionSmartZoom.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionStyles.d.ts +18 -21
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +16 -19
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +16 -19
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +16 -200
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +16 -19
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +16 -19
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +16 -19
- 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 +40 -31
- package/dist/types/excalidraw/components/App.d.ts +15 -17
- 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/dropdownMenu/common.d.ts +1 -1
- 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 +0 -2
- package/dist/types/excalidraw/fonts/Fonts.d.ts +1 -1
- package/dist/types/excalidraw/history.d.ts +30 -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 +2 -1
- package/dist/types/excalidraw/renderer/helpers.d.ts +7 -2
- package/dist/types/excalidraw/scene/Renderer.d.ts +1 -2
- package/dist/types/excalidraw/scene/index.d.ts +2 -2
- package/dist/types/excalidraw/snapping.d.ts +2 -2
- package/dist/types/excalidraw/types.d.ts +25 -10
- 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 +3 -1
- package/dist/types/math/src/constants.d.ts +3 -0
- package/dist/types/math/src/curve.d.ts +34 -0
- package/dist/types/math/src/ellipse.d.ts +3 -3
- package/dist/types/math/src/index.d.ts +1 -0
- package/dist/types/math/src/point.d.ts +3 -3
- package/dist/types/math/src/polygon.d.ts +2 -2
- package/dist/types/math/src/segment.d.ts +5 -5
- package/dist/types/math/src/utils.d.ts +2 -0
- package/dist/types/math/src/vector.d.ts +8 -2
- 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/shape.d.ts +12 -12
- package/dist/types/utils/src/withinBounds.d.ts +1 -1
- package/history.ts +147 -110
- package/package.json +4 -4
- package/dist/dev/chunk-3HLOFB5F.js.map +0 -7
- package/dist/dev/chunk-PEI7EPYO.js.map +0 -7
- package/dist/dev/chunk-QQGTICP4.js +0 -7
- package/dist/dev/chunk-QQGTICP4.js.map +0 -7
- package/dist/prod/chunk-7HNFGNL7.js +0 -7
- package/dist/prod/chunk-KKQVTSHB.js +0 -33
- package/dist/prod/chunk-KZWZ7WHC.js +0 -12
- package/dist/prod/data/image-QD7FUQED.js +0 -1
- package/dist/types/element/src/Shape.d.ts +0 -17
- package/dist/types/element/src/ShapeCache.d.ts +0 -25
- package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
- package/dist/types/excalidraw/store.d.ts +0 -129
- package/dist/types/utils/src/collision.d.ts +0 -8
- /package/dist/dev/data/{image-XPEIZ6XQ.js.map → image-BBHDGXQ3.js.map} +0 -0
- /package/dist/dev/locales/{en-R455UJTM.js.map → en-2WXBKZE2.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: {
|
|
@@ -57,7 +57,7 @@ export declare const actionZoomIn: {
|
|
|
57
57
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
58
58
|
isBindingEnabled: boolean;
|
|
59
59
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
60
|
-
suggestedBindings: import("@excalidraw/element
|
|
60
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
61
61
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
62
62
|
frameRendering: {
|
|
63
63
|
enabled: boolean;
|
|
@@ -68,7 +68,7 @@ export declare const actionZoomIn: {
|
|
|
68
68
|
editingFrame: string | null;
|
|
69
69
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
70
70
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
71
|
-
editingLinearElement: import("@excalidraw/element
|
|
71
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
72
72
|
activeTool: {
|
|
73
73
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
74
74
|
locked: boolean;
|
|
@@ -94,14 +94,14 @@ export declare const actionZoomIn: {
|
|
|
94
94
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
95
95
|
currentHoveredFontFamily: number | null;
|
|
96
96
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
97
|
-
currentItemArrowType: "
|
|
97
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
98
98
|
viewBackgroundColor: string;
|
|
99
99
|
cursorButton: "up" | "down";
|
|
100
100
|
scrolledOutside: boolean;
|
|
101
101
|
name: string | null;
|
|
102
102
|
isResizing: boolean;
|
|
103
103
|
isRotating: boolean;
|
|
104
|
-
openMenu: "
|
|
104
|
+
openMenu: "canvas" | "shape" | null;
|
|
105
105
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
106
106
|
openSidebar: {
|
|
107
107
|
name: string;
|
|
@@ -183,9 +183,8 @@ export declare const actionZoomIn: {
|
|
|
183
183
|
shown: true;
|
|
184
184
|
data: import("../charts").Spreadsheet;
|
|
185
185
|
};
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
186
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
187
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
189
188
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
190
189
|
originSnapOffset: {
|
|
191
190
|
x: number;
|
|
@@ -195,23 +194,21 @@ export declare const actionZoomIn: {
|
|
|
195
194
|
followedBy: Set<import("../types").SocketId>;
|
|
196
195
|
isCropping: boolean;
|
|
197
196
|
croppingElementId: string | null;
|
|
198
|
-
searchMatches:
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
}[];
|
|
207
|
-
}[];
|
|
197
|
+
searchMatches: Readonly<{
|
|
198
|
+
focusedId: string | null;
|
|
199
|
+
matches: readonly import("../types").SearchMatch[];
|
|
200
|
+
}> | null;
|
|
201
|
+
activeLockedId: string | null;
|
|
202
|
+
lockedMultiSelections: {
|
|
203
|
+
[groupId: string]: true;
|
|
204
|
+
};
|
|
208
205
|
};
|
|
209
206
|
captureUpdate: "EVENTUALLY";
|
|
210
207
|
};
|
|
211
208
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
212
|
-
keyTest: (event:
|
|
209
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
213
210
|
} & {
|
|
214
|
-
keyTest?: ((event:
|
|
211
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
215
212
|
};
|
|
216
213
|
export declare const actionZoomOut: {
|
|
217
214
|
name: "zoomOut";
|
|
@@ -255,7 +252,7 @@ export declare const actionZoomOut: {
|
|
|
255
252
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
256
253
|
isBindingEnabled: boolean;
|
|
257
254
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
258
|
-
suggestedBindings: import("@excalidraw/element
|
|
255
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
259
256
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
260
257
|
frameRendering: {
|
|
261
258
|
enabled: boolean;
|
|
@@ -266,7 +263,7 @@ export declare const actionZoomOut: {
|
|
|
266
263
|
editingFrame: string | null;
|
|
267
264
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
268
265
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
269
|
-
editingLinearElement: import("@excalidraw/element
|
|
266
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
270
267
|
activeTool: {
|
|
271
268
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
272
269
|
locked: boolean;
|
|
@@ -292,14 +289,14 @@ export declare const actionZoomOut: {
|
|
|
292
289
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
293
290
|
currentHoveredFontFamily: number | null;
|
|
294
291
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
295
|
-
currentItemArrowType: "
|
|
292
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
296
293
|
viewBackgroundColor: string;
|
|
297
294
|
cursorButton: "up" | "down";
|
|
298
295
|
scrolledOutside: boolean;
|
|
299
296
|
name: string | null;
|
|
300
297
|
isResizing: boolean;
|
|
301
298
|
isRotating: boolean;
|
|
302
|
-
openMenu: "
|
|
299
|
+
openMenu: "canvas" | "shape" | null;
|
|
303
300
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
304
301
|
openSidebar: {
|
|
305
302
|
name: string;
|
|
@@ -381,9 +378,8 @@ export declare const actionZoomOut: {
|
|
|
381
378
|
shown: true;
|
|
382
379
|
data: import("../charts").Spreadsheet;
|
|
383
380
|
};
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
381
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
382
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
387
383
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
388
384
|
originSnapOffset: {
|
|
389
385
|
x: number;
|
|
@@ -393,23 +389,21 @@ export declare const actionZoomOut: {
|
|
|
393
389
|
followedBy: Set<import("../types").SocketId>;
|
|
394
390
|
isCropping: boolean;
|
|
395
391
|
croppingElementId: string | null;
|
|
396
|
-
searchMatches:
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
}[];
|
|
405
|
-
}[];
|
|
392
|
+
searchMatches: Readonly<{
|
|
393
|
+
focusedId: string | null;
|
|
394
|
+
matches: readonly import("../types").SearchMatch[];
|
|
395
|
+
}> | null;
|
|
396
|
+
activeLockedId: string | null;
|
|
397
|
+
lockedMultiSelections: {
|
|
398
|
+
[groupId: string]: true;
|
|
399
|
+
};
|
|
406
400
|
};
|
|
407
401
|
captureUpdate: "EVENTUALLY";
|
|
408
402
|
};
|
|
409
403
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
410
|
-
keyTest: (event:
|
|
404
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
411
405
|
} & {
|
|
412
|
-
keyTest?: ((event:
|
|
406
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
413
407
|
};
|
|
414
408
|
export declare const actionResetZoom: {
|
|
415
409
|
name: "resetZoom";
|
|
@@ -453,7 +447,7 @@ export declare const actionResetZoom: {
|
|
|
453
447
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
454
448
|
isBindingEnabled: boolean;
|
|
455
449
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
456
|
-
suggestedBindings: import("@excalidraw/element
|
|
450
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
457
451
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
458
452
|
frameRendering: {
|
|
459
453
|
enabled: boolean;
|
|
@@ -464,7 +458,7 @@ export declare const actionResetZoom: {
|
|
|
464
458
|
editingFrame: string | null;
|
|
465
459
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
466
460
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
467
|
-
editingLinearElement: import("@excalidraw/element
|
|
461
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
468
462
|
activeTool: {
|
|
469
463
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
470
464
|
locked: boolean;
|
|
@@ -490,14 +484,14 @@ export declare const actionResetZoom: {
|
|
|
490
484
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
491
485
|
currentHoveredFontFamily: number | null;
|
|
492
486
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
493
|
-
currentItemArrowType: "
|
|
487
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
494
488
|
viewBackgroundColor: string;
|
|
495
489
|
cursorButton: "up" | "down";
|
|
496
490
|
scrolledOutside: boolean;
|
|
497
491
|
name: string | null;
|
|
498
492
|
isResizing: boolean;
|
|
499
493
|
isRotating: boolean;
|
|
500
|
-
openMenu: "
|
|
494
|
+
openMenu: "canvas" | "shape" | null;
|
|
501
495
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
502
496
|
openSidebar: {
|
|
503
497
|
name: string;
|
|
@@ -579,9 +573,8 @@ export declare const actionResetZoom: {
|
|
|
579
573
|
shown: true;
|
|
580
574
|
data: import("../charts").Spreadsheet;
|
|
581
575
|
};
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
576
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
577
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
585
578
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
586
579
|
originSnapOffset: {
|
|
587
580
|
x: number;
|
|
@@ -591,23 +584,21 @@ export declare const actionResetZoom: {
|
|
|
591
584
|
followedBy: Set<import("../types").SocketId>;
|
|
592
585
|
isCropping: boolean;
|
|
593
586
|
croppingElementId: string | null;
|
|
594
|
-
searchMatches:
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
}[];
|
|
603
|
-
}[];
|
|
587
|
+
searchMatches: Readonly<{
|
|
588
|
+
focusedId: string | null;
|
|
589
|
+
matches: readonly import("../types").SearchMatch[];
|
|
590
|
+
}> | null;
|
|
591
|
+
activeLockedId: string | null;
|
|
592
|
+
lockedMultiSelections: {
|
|
593
|
+
[groupId: string]: true;
|
|
594
|
+
};
|
|
604
595
|
};
|
|
605
596
|
captureUpdate: "EVENTUALLY";
|
|
606
597
|
};
|
|
607
598
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
608
|
-
keyTest: (event:
|
|
599
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
609
600
|
} & {
|
|
610
|
-
keyTest?: ((event:
|
|
601
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
611
602
|
};
|
|
612
603
|
export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToViewport, viewportZoomFactor, minZoom, maxZoom, }: {
|
|
613
604
|
bounds: SceneBounds;
|
|
@@ -657,7 +648,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
657
648
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
658
649
|
isBindingEnabled: boolean;
|
|
659
650
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
660
|
-
suggestedBindings: import("@excalidraw/element
|
|
651
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
661
652
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
662
653
|
frameRendering: {
|
|
663
654
|
enabled: boolean;
|
|
@@ -668,7 +659,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
668
659
|
editingFrame: string | null;
|
|
669
660
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
670
661
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
671
|
-
editingLinearElement: import("@excalidraw/element
|
|
662
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
672
663
|
activeTool: {
|
|
673
664
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
674
665
|
locked: boolean;
|
|
@@ -694,14 +685,14 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
694
685
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
695
686
|
currentHoveredFontFamily: number | null;
|
|
696
687
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
697
|
-
currentItemArrowType: "
|
|
688
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
698
689
|
viewBackgroundColor: string;
|
|
699
690
|
cursorButton: "up" | "down";
|
|
700
691
|
scrolledOutside: boolean;
|
|
701
692
|
name: string | null;
|
|
702
693
|
isResizing: boolean;
|
|
703
694
|
isRotating: boolean;
|
|
704
|
-
openMenu: "
|
|
695
|
+
openMenu: "canvas" | "shape" | null;
|
|
705
696
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
706
697
|
openSidebar: {
|
|
707
698
|
name: string;
|
|
@@ -783,9 +774,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
783
774
|
shown: true;
|
|
784
775
|
data: import("../charts").Spreadsheet;
|
|
785
776
|
};
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
777
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
778
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
789
779
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
790
780
|
originSnapOffset: {
|
|
791
781
|
x: number;
|
|
@@ -796,16 +786,14 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
796
786
|
followedBy: Set<import("../types").SocketId>;
|
|
797
787
|
isCropping: boolean;
|
|
798
788
|
croppingElementId: string | null;
|
|
799
|
-
searchMatches:
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
}[];
|
|
808
|
-
}[];
|
|
789
|
+
searchMatches: Readonly<{
|
|
790
|
+
focusedId: string | null;
|
|
791
|
+
matches: readonly import("../types").SearchMatch[];
|
|
792
|
+
}> | null;
|
|
793
|
+
activeLockedId: string | null;
|
|
794
|
+
lockedMultiSelections: {
|
|
795
|
+
[groupId: string]: true;
|
|
796
|
+
};
|
|
809
797
|
};
|
|
810
798
|
captureUpdate: "EVENTUALLY";
|
|
811
799
|
};
|
|
@@ -857,7 +845,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
857
845
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
858
846
|
isBindingEnabled: boolean;
|
|
859
847
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
860
|
-
suggestedBindings: import("@excalidraw/element
|
|
848
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
861
849
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
862
850
|
frameRendering: {
|
|
863
851
|
enabled: boolean;
|
|
@@ -868,7 +856,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
868
856
|
editingFrame: string | null;
|
|
869
857
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
870
858
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
871
|
-
editingLinearElement: import("@excalidraw/element
|
|
859
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
872
860
|
activeTool: {
|
|
873
861
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
874
862
|
locked: boolean;
|
|
@@ -894,14 +882,14 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
894
882
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
895
883
|
currentHoveredFontFamily: number | null;
|
|
896
884
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
897
|
-
currentItemArrowType: "
|
|
885
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
898
886
|
viewBackgroundColor: string;
|
|
899
887
|
cursorButton: "up" | "down";
|
|
900
888
|
scrolledOutside: boolean;
|
|
901
889
|
name: string | null;
|
|
902
890
|
isResizing: boolean;
|
|
903
891
|
isRotating: boolean;
|
|
904
|
-
openMenu: "
|
|
892
|
+
openMenu: "canvas" | "shape" | null;
|
|
905
893
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
906
894
|
openSidebar: {
|
|
907
895
|
name: string;
|
|
@@ -983,9 +971,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
983
971
|
shown: true;
|
|
984
972
|
data: import("../charts").Spreadsheet;
|
|
985
973
|
};
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
974
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
975
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
989
976
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
990
977
|
originSnapOffset: {
|
|
991
978
|
x: number;
|
|
@@ -996,16 +983,14 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
996
983
|
followedBy: Set<import("../types").SocketId>;
|
|
997
984
|
isCropping: boolean;
|
|
998
985
|
croppingElementId: string | null;
|
|
999
|
-
searchMatches:
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
}[];
|
|
1008
|
-
}[];
|
|
986
|
+
searchMatches: Readonly<{
|
|
987
|
+
focusedId: string | null;
|
|
988
|
+
matches: readonly import("../types").SearchMatch[];
|
|
989
|
+
}> | null;
|
|
990
|
+
activeLockedId: string | null;
|
|
991
|
+
lockedMultiSelections: {
|
|
992
|
+
[groupId: string]: true;
|
|
993
|
+
};
|
|
1009
994
|
};
|
|
1010
995
|
captureUpdate: "EVENTUALLY";
|
|
1011
996
|
};
|
|
@@ -1049,7 +1034,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1049
1034
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1050
1035
|
isBindingEnabled: boolean;
|
|
1051
1036
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1052
|
-
suggestedBindings: import("@excalidraw/element
|
|
1037
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1053
1038
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1054
1039
|
frameRendering: {
|
|
1055
1040
|
enabled: boolean;
|
|
@@ -1060,7 +1045,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1060
1045
|
editingFrame: string | null;
|
|
1061
1046
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1062
1047
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1063
|
-
editingLinearElement: import("@excalidraw/element
|
|
1048
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1064
1049
|
activeTool: {
|
|
1065
1050
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1066
1051
|
locked: boolean;
|
|
@@ -1086,14 +1071,14 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1086
1071
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1087
1072
|
currentHoveredFontFamily: number | null;
|
|
1088
1073
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1089
|
-
currentItemArrowType: "
|
|
1074
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1090
1075
|
viewBackgroundColor: string;
|
|
1091
1076
|
cursorButton: "up" | "down";
|
|
1092
1077
|
scrolledOutside: boolean;
|
|
1093
1078
|
name: string | null;
|
|
1094
1079
|
isResizing: boolean;
|
|
1095
1080
|
isRotating: boolean;
|
|
1096
|
-
openMenu: "
|
|
1081
|
+
openMenu: "canvas" | "shape" | null;
|
|
1097
1082
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1098
1083
|
openSidebar: {
|
|
1099
1084
|
name: string;
|
|
@@ -1175,9 +1160,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1175
1160
|
shown: true;
|
|
1176
1161
|
data: import("../charts").Spreadsheet;
|
|
1177
1162
|
};
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1163
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1164
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1181
1165
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1182
1166
|
originSnapOffset: {
|
|
1183
1167
|
x: number;
|
|
@@ -1188,22 +1172,20 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1188
1172
|
followedBy: Set<import("../types").SocketId>;
|
|
1189
1173
|
isCropping: boolean;
|
|
1190
1174
|
croppingElementId: string | null;
|
|
1191
|
-
searchMatches:
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
}[];
|
|
1200
|
-
}[];
|
|
1175
|
+
searchMatches: Readonly<{
|
|
1176
|
+
focusedId: string | null;
|
|
1177
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1178
|
+
}> | null;
|
|
1179
|
+
activeLockedId: string | null;
|
|
1180
|
+
lockedMultiSelections: {
|
|
1181
|
+
[groupId: string]: true;
|
|
1182
|
+
};
|
|
1201
1183
|
};
|
|
1202
1184
|
captureUpdate: "EVENTUALLY";
|
|
1203
1185
|
};
|
|
1204
|
-
keyTest: (event:
|
|
1186
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1205
1187
|
} & {
|
|
1206
|
-
keyTest?: ((event:
|
|
1188
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1207
1189
|
};
|
|
1208
1190
|
export declare const actionZoomToFitSelection: {
|
|
1209
1191
|
name: "zoomToFitSelection";
|
|
@@ -1245,7 +1227,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1245
1227
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1246
1228
|
isBindingEnabled: boolean;
|
|
1247
1229
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1248
|
-
suggestedBindings: import("@excalidraw/element
|
|
1230
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1249
1231
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1250
1232
|
frameRendering: {
|
|
1251
1233
|
enabled: boolean;
|
|
@@ -1256,7 +1238,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1256
1238
|
editingFrame: string | null;
|
|
1257
1239
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1258
1240
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1259
|
-
editingLinearElement: import("@excalidraw/element
|
|
1241
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1260
1242
|
activeTool: {
|
|
1261
1243
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1262
1244
|
locked: boolean;
|
|
@@ -1282,14 +1264,14 @@ export declare const actionZoomToFitSelection: {
|
|
|
1282
1264
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1283
1265
|
currentHoveredFontFamily: number | null;
|
|
1284
1266
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1285
|
-
currentItemArrowType: "
|
|
1267
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1286
1268
|
viewBackgroundColor: string;
|
|
1287
1269
|
cursorButton: "up" | "down";
|
|
1288
1270
|
scrolledOutside: boolean;
|
|
1289
1271
|
name: string | null;
|
|
1290
1272
|
isResizing: boolean;
|
|
1291
1273
|
isRotating: boolean;
|
|
1292
|
-
openMenu: "
|
|
1274
|
+
openMenu: "canvas" | "shape" | null;
|
|
1293
1275
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1294
1276
|
openSidebar: {
|
|
1295
1277
|
name: string;
|
|
@@ -1371,9 +1353,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
1371
1353
|
shown: true;
|
|
1372
1354
|
data: import("../charts").Spreadsheet;
|
|
1373
1355
|
};
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1356
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1357
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1377
1358
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1378
1359
|
originSnapOffset: {
|
|
1379
1360
|
x: number;
|
|
@@ -1384,22 +1365,20 @@ export declare const actionZoomToFitSelection: {
|
|
|
1384
1365
|
followedBy: Set<import("../types").SocketId>;
|
|
1385
1366
|
isCropping: boolean;
|
|
1386
1367
|
croppingElementId: string | null;
|
|
1387
|
-
searchMatches:
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
}[];
|
|
1396
|
-
}[];
|
|
1368
|
+
searchMatches: Readonly<{
|
|
1369
|
+
focusedId: string | null;
|
|
1370
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1371
|
+
}> | null;
|
|
1372
|
+
activeLockedId: string | null;
|
|
1373
|
+
lockedMultiSelections: {
|
|
1374
|
+
[groupId: string]: true;
|
|
1375
|
+
};
|
|
1397
1376
|
};
|
|
1398
1377
|
captureUpdate: "EVENTUALLY";
|
|
1399
1378
|
};
|
|
1400
|
-
keyTest: (event:
|
|
1379
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1401
1380
|
} & {
|
|
1402
|
-
keyTest?: ((event:
|
|
1381
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1403
1382
|
};
|
|
1404
1383
|
export declare const actionZoomToFit: {
|
|
1405
1384
|
name: "zoomToFit";
|
|
@@ -1442,7 +1421,7 @@ export declare const actionZoomToFit: {
|
|
|
1442
1421
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1443
1422
|
isBindingEnabled: boolean;
|
|
1444
1423
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1445
|
-
suggestedBindings: import("@excalidraw/element
|
|
1424
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1446
1425
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1447
1426
|
frameRendering: {
|
|
1448
1427
|
enabled: boolean;
|
|
@@ -1453,7 +1432,7 @@ export declare const actionZoomToFit: {
|
|
|
1453
1432
|
editingFrame: string | null;
|
|
1454
1433
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1455
1434
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1456
|
-
editingLinearElement: import("@excalidraw/element
|
|
1435
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1457
1436
|
activeTool: {
|
|
1458
1437
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1459
1438
|
locked: boolean;
|
|
@@ -1479,14 +1458,14 @@ export declare const actionZoomToFit: {
|
|
|
1479
1458
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1480
1459
|
currentHoveredFontFamily: number | null;
|
|
1481
1460
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1482
|
-
currentItemArrowType: "
|
|
1461
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1483
1462
|
viewBackgroundColor: string;
|
|
1484
1463
|
cursorButton: "up" | "down";
|
|
1485
1464
|
scrolledOutside: boolean;
|
|
1486
1465
|
name: string | null;
|
|
1487
1466
|
isResizing: boolean;
|
|
1488
1467
|
isRotating: boolean;
|
|
1489
|
-
openMenu: "
|
|
1468
|
+
openMenu: "canvas" | "shape" | null;
|
|
1490
1469
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1491
1470
|
openSidebar: {
|
|
1492
1471
|
name: string;
|
|
@@ -1568,9 +1547,8 @@ export declare const actionZoomToFit: {
|
|
|
1568
1547
|
shown: true;
|
|
1569
1548
|
data: import("../charts").Spreadsheet;
|
|
1570
1549
|
};
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1550
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1551
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1574
1552
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1575
1553
|
originSnapOffset: {
|
|
1576
1554
|
x: number;
|
|
@@ -1581,22 +1559,20 @@ export declare const actionZoomToFit: {
|
|
|
1581
1559
|
followedBy: Set<import("../types").SocketId>;
|
|
1582
1560
|
isCropping: boolean;
|
|
1583
1561
|
croppingElementId: string | null;
|
|
1584
|
-
searchMatches:
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
}[];
|
|
1593
|
-
}[];
|
|
1562
|
+
searchMatches: Readonly<{
|
|
1563
|
+
focusedId: string | null;
|
|
1564
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1565
|
+
}> | null;
|
|
1566
|
+
activeLockedId: string | null;
|
|
1567
|
+
lockedMultiSelections: {
|
|
1568
|
+
[groupId: string]: true;
|
|
1569
|
+
};
|
|
1594
1570
|
};
|
|
1595
1571
|
captureUpdate: "EVENTUALLY";
|
|
1596
1572
|
};
|
|
1597
|
-
keyTest: (event:
|
|
1573
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1598
1574
|
} & {
|
|
1599
|
-
keyTest?: ((event:
|
|
1575
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1600
1576
|
};
|
|
1601
1577
|
export declare const actionToggleTheme: {
|
|
1602
1578
|
name: "toggleTheme";
|
|
@@ -1636,7 +1612,7 @@ export declare const actionToggleTheme: {
|
|
|
1636
1612
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1637
1613
|
isBindingEnabled: boolean;
|
|
1638
1614
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1639
|
-
suggestedBindings: import("@excalidraw/element
|
|
1615
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1640
1616
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1641
1617
|
frameRendering: {
|
|
1642
1618
|
enabled: boolean;
|
|
@@ -1647,7 +1623,7 @@ export declare const actionToggleTheme: {
|
|
|
1647
1623
|
editingFrame: string | null;
|
|
1648
1624
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1649
1625
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1650
|
-
editingLinearElement: import("@excalidraw/element
|
|
1626
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1651
1627
|
activeTool: {
|
|
1652
1628
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1653
1629
|
locked: boolean;
|
|
@@ -1673,7 +1649,7 @@ export declare const actionToggleTheme: {
|
|
|
1673
1649
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1674
1650
|
currentHoveredFontFamily: number | null;
|
|
1675
1651
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1676
|
-
currentItemArrowType: "
|
|
1652
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1677
1653
|
viewBackgroundColor: string;
|
|
1678
1654
|
scrollX: number;
|
|
1679
1655
|
scrollY: number;
|
|
@@ -1685,7 +1661,7 @@ export declare const actionToggleTheme: {
|
|
|
1685
1661
|
zoom: Readonly<{
|
|
1686
1662
|
value: import("../types").NormalizedZoomValue;
|
|
1687
1663
|
}>;
|
|
1688
|
-
openMenu: "
|
|
1664
|
+
openMenu: "canvas" | "shape" | null;
|
|
1689
1665
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1690
1666
|
openSidebar: {
|
|
1691
1667
|
name: string;
|
|
@@ -1766,9 +1742,8 @@ export declare const actionToggleTheme: {
|
|
|
1766
1742
|
shown: true;
|
|
1767
1743
|
data: import("../charts").Spreadsheet;
|
|
1768
1744
|
};
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1745
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1746
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1772
1747
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1773
1748
|
originSnapOffset: {
|
|
1774
1749
|
x: number;
|
|
@@ -1779,23 +1754,21 @@ export declare const actionToggleTheme: {
|
|
|
1779
1754
|
followedBy: Set<import("../types").SocketId>;
|
|
1780
1755
|
isCropping: boolean;
|
|
1781
1756
|
croppingElementId: string | null;
|
|
1782
|
-
searchMatches:
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
}[];
|
|
1791
|
-
}[];
|
|
1757
|
+
searchMatches: Readonly<{
|
|
1758
|
+
focusedId: string | null;
|
|
1759
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1760
|
+
}> | null;
|
|
1761
|
+
activeLockedId: string | null;
|
|
1762
|
+
lockedMultiSelections: {
|
|
1763
|
+
[groupId: string]: true;
|
|
1764
|
+
};
|
|
1792
1765
|
};
|
|
1793
1766
|
captureUpdate: "EVENTUALLY";
|
|
1794
1767
|
};
|
|
1795
|
-
keyTest: (event:
|
|
1768
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1796
1769
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
1797
1770
|
} & {
|
|
1798
|
-
keyTest?: ((event:
|
|
1771
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1799
1772
|
};
|
|
1800
1773
|
export declare const actionToggleEraserTool: {
|
|
1801
1774
|
name: "toggleEraserTool";
|
|
@@ -1835,7 +1808,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1835
1808
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1836
1809
|
isBindingEnabled: boolean;
|
|
1837
1810
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1838
|
-
suggestedBindings: import("@excalidraw/element
|
|
1811
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1839
1812
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1840
1813
|
frameRendering: {
|
|
1841
1814
|
enabled: boolean;
|
|
@@ -1846,7 +1819,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1846
1819
|
editingFrame: string | null;
|
|
1847
1820
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1848
1821
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1849
|
-
editingLinearElement: import("@excalidraw/element
|
|
1822
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1850
1823
|
penMode: boolean;
|
|
1851
1824
|
penDetected: boolean;
|
|
1852
1825
|
exportBackground: boolean;
|
|
@@ -1867,7 +1840,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1867
1840
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1868
1841
|
currentHoveredFontFamily: number | null;
|
|
1869
1842
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1870
|
-
currentItemArrowType: "
|
|
1843
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1871
1844
|
viewBackgroundColor: string;
|
|
1872
1845
|
scrollX: number;
|
|
1873
1846
|
scrollY: number;
|
|
@@ -1879,7 +1852,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1879
1852
|
zoom: Readonly<{
|
|
1880
1853
|
value: import("../types").NormalizedZoomValue;
|
|
1881
1854
|
}>;
|
|
1882
|
-
openMenu: "
|
|
1855
|
+
openMenu: "canvas" | "shape" | null;
|
|
1883
1856
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1884
1857
|
openSidebar: {
|
|
1885
1858
|
name: string;
|
|
@@ -1955,9 +1928,8 @@ export declare const actionToggleEraserTool: {
|
|
|
1955
1928
|
shown: true;
|
|
1956
1929
|
data: import("../charts").Spreadsheet;
|
|
1957
1930
|
};
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1931
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1932
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1961
1933
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1962
1934
|
originSnapOffset: {
|
|
1963
1935
|
x: number;
|
|
@@ -1968,22 +1940,20 @@ export declare const actionToggleEraserTool: {
|
|
|
1968
1940
|
followedBy: Set<import("../types").SocketId>;
|
|
1969
1941
|
isCropping: boolean;
|
|
1970
1942
|
croppingElementId: string | null;
|
|
1971
|
-
searchMatches:
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
}[];
|
|
1980
|
-
}[];
|
|
1943
|
+
searchMatches: Readonly<{
|
|
1944
|
+
focusedId: string | null;
|
|
1945
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1946
|
+
}> | null;
|
|
1947
|
+
activeLockedId: string | null;
|
|
1948
|
+
lockedMultiSelections: {
|
|
1949
|
+
[groupId: string]: true;
|
|
1950
|
+
};
|
|
1981
1951
|
};
|
|
1982
1952
|
captureUpdate: "IMMEDIATELY";
|
|
1983
1953
|
};
|
|
1984
|
-
keyTest: (event:
|
|
1954
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1985
1955
|
} & {
|
|
1986
|
-
keyTest?: ((event:
|
|
1956
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1987
1957
|
};
|
|
1988
1958
|
export declare const actionToggleLassoTool: {
|
|
1989
1959
|
name: "toggleLassoTool";
|
|
@@ -2024,7 +1994,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2024
1994
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2025
1995
|
isBindingEnabled: boolean;
|
|
2026
1996
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2027
|
-
suggestedBindings: import("@excalidraw/element
|
|
1997
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2028
1998
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2029
1999
|
frameRendering: {
|
|
2030
2000
|
enabled: boolean;
|
|
@@ -2035,7 +2005,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2035
2005
|
editingFrame: string | null;
|
|
2036
2006
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2037
2007
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2038
|
-
editingLinearElement: import("@excalidraw/element
|
|
2008
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2039
2009
|
penMode: boolean;
|
|
2040
2010
|
penDetected: boolean;
|
|
2041
2011
|
exportBackground: boolean;
|
|
@@ -2056,7 +2026,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2056
2026
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
2057
2027
|
currentHoveredFontFamily: number | null;
|
|
2058
2028
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
2059
|
-
currentItemArrowType: "
|
|
2029
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
2060
2030
|
viewBackgroundColor: string;
|
|
2061
2031
|
scrollX: number;
|
|
2062
2032
|
scrollY: number;
|
|
@@ -2068,7 +2038,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2068
2038
|
zoom: Readonly<{
|
|
2069
2039
|
value: import("../types").NormalizedZoomValue;
|
|
2070
2040
|
}>;
|
|
2071
|
-
openMenu: "
|
|
2041
|
+
openMenu: "canvas" | "shape" | null;
|
|
2072
2042
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2073
2043
|
openSidebar: {
|
|
2074
2044
|
name: string;
|
|
@@ -2144,9 +2114,8 @@ export declare const actionToggleLassoTool: {
|
|
|
2144
2114
|
shown: true;
|
|
2145
2115
|
data: import("../charts").Spreadsheet;
|
|
2146
2116
|
};
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
2117
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2118
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2150
2119
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2151
2120
|
originSnapOffset: {
|
|
2152
2121
|
x: number;
|
|
@@ -2157,16 +2126,14 @@ export declare const actionToggleLassoTool: {
|
|
|
2157
2126
|
followedBy: Set<import("../types").SocketId>;
|
|
2158
2127
|
isCropping: boolean;
|
|
2159
2128
|
croppingElementId: string | null;
|
|
2160
|
-
searchMatches:
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
}[];
|
|
2169
|
-
}[];
|
|
2129
|
+
searchMatches: Readonly<{
|
|
2130
|
+
focusedId: string | null;
|
|
2131
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2132
|
+
}> | null;
|
|
2133
|
+
activeLockedId: string | null;
|
|
2134
|
+
lockedMultiSelections: {
|
|
2135
|
+
[groupId: string]: true;
|
|
2136
|
+
};
|
|
2170
2137
|
};
|
|
2171
2138
|
captureUpdate: "NEVER";
|
|
2172
2139
|
};
|
|
@@ -2213,7 +2180,7 @@ export declare const actionToggleHandTool: {
|
|
|
2213
2180
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2214
2181
|
isBindingEnabled: boolean;
|
|
2215
2182
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2216
|
-
suggestedBindings: import("@excalidraw/element
|
|
2183
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2217
2184
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2218
2185
|
frameRendering: {
|
|
2219
2186
|
enabled: boolean;
|
|
@@ -2224,7 +2191,7 @@ export declare const actionToggleHandTool: {
|
|
|
2224
2191
|
editingFrame: string | null;
|
|
2225
2192
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2226
2193
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2227
|
-
editingLinearElement: import("@excalidraw/element
|
|
2194
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2228
2195
|
penMode: boolean;
|
|
2229
2196
|
penDetected: boolean;
|
|
2230
2197
|
exportBackground: boolean;
|
|
@@ -2245,7 +2212,7 @@ export declare const actionToggleHandTool: {
|
|
|
2245
2212
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
2246
2213
|
currentHoveredFontFamily: number | null;
|
|
2247
2214
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
2248
|
-
currentItemArrowType: "
|
|
2215
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
2249
2216
|
viewBackgroundColor: string;
|
|
2250
2217
|
scrollX: number;
|
|
2251
2218
|
scrollY: number;
|
|
@@ -2257,7 +2224,7 @@ export declare const actionToggleHandTool: {
|
|
|
2257
2224
|
zoom: Readonly<{
|
|
2258
2225
|
value: import("../types").NormalizedZoomValue;
|
|
2259
2226
|
}>;
|
|
2260
|
-
openMenu: "
|
|
2227
|
+
openMenu: "canvas" | "shape" | null;
|
|
2261
2228
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2262
2229
|
openSidebar: {
|
|
2263
2230
|
name: string;
|
|
@@ -2333,9 +2300,8 @@ export declare const actionToggleHandTool: {
|
|
|
2333
2300
|
shown: true;
|
|
2334
2301
|
data: import("../charts").Spreadsheet;
|
|
2335
2302
|
};
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
2303
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2304
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2339
2305
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2340
2306
|
originSnapOffset: {
|
|
2341
2307
|
x: number;
|
|
@@ -2346,20 +2312,18 @@ export declare const actionToggleHandTool: {
|
|
|
2346
2312
|
followedBy: Set<import("../types").SocketId>;
|
|
2347
2313
|
isCropping: boolean;
|
|
2348
2314
|
croppingElementId: string | null;
|
|
2349
|
-
searchMatches:
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
}[];
|
|
2358
|
-
}[];
|
|
2315
|
+
searchMatches: Readonly<{
|
|
2316
|
+
focusedId: string | null;
|
|
2317
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2318
|
+
}> | null;
|
|
2319
|
+
activeLockedId: string | null;
|
|
2320
|
+
lockedMultiSelections: {
|
|
2321
|
+
[groupId: string]: true;
|
|
2322
|
+
};
|
|
2359
2323
|
};
|
|
2360
2324
|
captureUpdate: "IMMEDIATELY";
|
|
2361
2325
|
};
|
|
2362
|
-
keyTest: (event:
|
|
2326
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
2363
2327
|
} & {
|
|
2364
|
-
keyTest?: ((event:
|
|
2328
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
2365
2329
|
};
|