@excalidraw/excalidraw 0.18.0-195a743 → 0.18.0-298812e
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-T3M44BFV.js → chunk-JCUIYZXF.js} +7 -3
- package/dist/dev/chunk-JCUIYZXF.js.map +7 -0
- package/dist/dev/{chunk-WMGEUIQQ.js → chunk-RQWTCZLD.js} +2 -2
- package/dist/dev/{chunk-H3EW23X2.js → chunk-ZPGIVNNG.js} +14840 -9652
- package/dist/dev/chunk-ZPGIVNNG.js.map +7 -0
- package/dist/dev/data/{image-TTQKTTOH.js → image-CB4ZYE3A.js} +3 -3
- package/dist/dev/index.css +38 -2
- package/dist/dev/index.css.map +2 -2
- package/dist/dev/index.js +857 -5250
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-I23TB6DJ.js → en-ZDTPSZNL.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-GK4XUKZB.js → chunk-7TMLMBQX.js} +1 -1
- package/dist/prod/{chunk-2Z7RPVPO.js → chunk-GCFVWREF.js} +3 -3
- package/dist/prod/chunk-WFJFO6F4.js +33 -0
- package/dist/prod/data/image-XJI4SWH2.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +18 -18
- package/dist/prod/locales/{en-TC3OFDA6.js → en-MHZ26NAR.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 +1 -0
- 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 +16 -4
- package/dist/types/element/src/Scene.d.ts +4 -4
- package/dist/types/element/src/ShapeCache.d.ts +1 -1
- package/dist/types/element/src/align.d.ts +1 -1
- package/dist/types/element/src/binding.d.ts +1 -1
- package/dist/types/element/src/bounds.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 +1 -1
- package/dist/types/element/src/flowchart.d.ts +1 -1
- package/dist/types/element/src/frame.d.ts +3 -2
- package/dist/types/element/src/index.d.ts +45 -2
- package/dist/types/element/src/linearElementEditor.d.ts +4 -8
- package/dist/types/element/src/newElement.d.ts +1 -1
- package/dist/types/element/src/resizeElements.d.ts +1 -1
- package/dist/types/element/src/selection.d.ts +1 -6
- package/dist/types/element/src/store.d.ts +227 -0
- package/dist/types/element/src/textElement.d.ts +1 -1
- package/dist/types/element/src/transformHandles.d.ts +4 -4
- package/dist/types/element/src/typeChecks.d.ts +2 -1
- package/dist/types/element/src/types.d.ts +6 -1
- package/dist/types/element/src/zindex.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +24 -42
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +16 -28
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +194 -272
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +50 -86
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +8 -14
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +22 -40
- 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 +8 -14
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +18 -30
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +8 -14
- package/dist/types/excalidraw/actions/actionExport.d.ts +159 -213
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +14 -26
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +76 -100
- package/dist/types/excalidraw/actions/actionGroup.d.ts +22 -34
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +7 -13
- package/dist/types/excalidraw/actions/actionLink.d.ts +9 -15
- package/dist/types/excalidraw/actions/actionMenu.d.ts +26 -44
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +16 -28
- package/dist/types/excalidraw/actions/actionProperties.d.ts +106 -196
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionStyles.d.ts +12 -18
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +10 -189
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionZindex.d.ts +10 -10
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +23 -23
- package/dist/types/excalidraw/components/App.d.ts +9 -9
- 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 +2 -28
- package/dist/types/excalidraw/components/ElementLinkDialog.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 +2 -1
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -1
- package/dist/types/excalidraw/components/icons.d.ts +1 -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/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/renderer/helpers.d.ts +6 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +1 -1
- 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 +13 -6
- package/dist/types/excalidraw/visualdebug.d.ts +1 -1
- package/dist/types/math/src/curve.d.ts +2 -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-H3EW23X2.js.map +0 -7
- package/dist/dev/chunk-T3M44BFV.js.map +0 -7
- package/dist/prod/chunk-7M43VNIB.js +0 -33
- package/dist/prod/data/image-7YYIWLVQ.js +0 -1
- package/dist/types/excalidraw/store.d.ts +0 -129
- /package/dist/dev/{chunk-WMGEUIQQ.js.map → chunk-RQWTCZLD.js.map} +0 -0
- /package/dist/dev/data/{image-TTQKTTOH.js.map → image-CB4ZYE3A.js.map} +0 -0
- /package/dist/dev/locales/{en-I23TB6DJ.js.map → en-ZDTPSZNL.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,100 +51,40 @@ export declare const actionClearCanvas: {
|
|
|
51
51
|
locked: boolean;
|
|
52
52
|
fromSelection: boolean;
|
|
53
53
|
} & import("../types").ActiveTool;
|
|
54
|
-
name: string | null;
|
|
55
|
-
zoom: Readonly<{
|
|
56
|
-
value: import("../types").NormalizedZoomValue;
|
|
57
|
-
}>;
|
|
58
|
-
scrollX: number;
|
|
59
|
-
scrollY: number;
|
|
60
|
-
viewBackgroundColor: string;
|
|
61
|
-
frameRendering: {
|
|
62
|
-
enabled: boolean;
|
|
63
|
-
name: boolean;
|
|
64
|
-
outline: boolean;
|
|
65
|
-
clip: boolean;
|
|
66
|
-
};
|
|
67
|
-
viewModeEnabled: boolean;
|
|
68
|
-
openDialog: {
|
|
69
|
-
name: "imageExport" | "help" | "jsonExport";
|
|
70
|
-
} | {
|
|
71
|
-
name: "ttd";
|
|
72
|
-
tab: "text-to-diagram" | "mermaid";
|
|
73
|
-
} | {
|
|
74
|
-
name: "commandPalette";
|
|
75
|
-
} | {
|
|
76
|
-
name: "elementLinkSelector";
|
|
77
|
-
sourceElementId: string;
|
|
78
|
-
} | null;
|
|
79
|
-
editingGroupId: string | null;
|
|
80
|
-
selectedElementIds: Readonly<{
|
|
81
|
-
[id: string]: true;
|
|
82
|
-
}>;
|
|
83
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
84
|
-
pendingImageElementId: string | null;
|
|
85
|
-
activeEmbeddable: {
|
|
86
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
87
|
-
state: "hover" | "active";
|
|
88
|
-
} | null;
|
|
89
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
90
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
91
|
-
selectedGroupIds: {
|
|
92
|
-
[groupId: string]: boolean;
|
|
93
|
-
};
|
|
94
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
95
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
96
|
-
isBindingEnabled: boolean;
|
|
97
|
-
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
98
|
-
isRotating: boolean;
|
|
99
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
100
|
-
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
101
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
102
|
-
button?: "up" | "down" | undefined;
|
|
103
|
-
selectedElementIds?: Readonly<{
|
|
104
|
-
[id: string]: true;
|
|
105
|
-
}> | undefined;
|
|
106
|
-
username?: string | null | undefined;
|
|
107
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
108
|
-
color?: {
|
|
109
|
-
background: string;
|
|
110
|
-
stroke: string;
|
|
111
|
-
} | undefined;
|
|
112
|
-
avatarUrl?: string | undefined;
|
|
113
|
-
id?: string | undefined;
|
|
114
|
-
socketId?: import("../types").SocketId | undefined;
|
|
115
|
-
isCurrentUser?: boolean | undefined;
|
|
116
|
-
isInCall?: boolean | undefined;
|
|
117
|
-
isSpeaking?: boolean | undefined;
|
|
118
|
-
isMuted?: boolean | undefined;
|
|
119
|
-
}>>;
|
|
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
54
|
contextMenu: {
|
|
136
55
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
137
56
|
top: number;
|
|
138
57
|
left: number;
|
|
139
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;
|
|
140
65
|
showWelcomeScreen: boolean;
|
|
141
66
|
isLoading: boolean;
|
|
142
67
|
errorMessage: import("react").ReactNode;
|
|
68
|
+
activeEmbeddable: {
|
|
69
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
70
|
+
state: "hover" | "active";
|
|
71
|
+
} | null;
|
|
143
72
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
144
73
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
145
|
-
|
|
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;
|
|
78
|
+
frameRendering: {
|
|
79
|
+
enabled: boolean;
|
|
80
|
+
name: boolean;
|
|
81
|
+
outline: boolean;
|
|
82
|
+
clip: boolean;
|
|
83
|
+
};
|
|
146
84
|
editingFrame: string | null;
|
|
147
|
-
|
|
85
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
86
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
87
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
148
88
|
exportScale: number;
|
|
149
89
|
currentItemStrokeColor: string;
|
|
150
90
|
currentItemBackgroundColor: string;
|
|
@@ -161,17 +101,36 @@ export declare const actionClearCanvas: {
|
|
|
161
101
|
currentHoveredFontFamily: number | null;
|
|
162
102
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
163
103
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
164
|
-
|
|
104
|
+
viewBackgroundColor: string;
|
|
165
105
|
scrolledOutside: boolean;
|
|
106
|
+
name: string | null;
|
|
166
107
|
isResizing: boolean;
|
|
108
|
+
isRotating: boolean;
|
|
109
|
+
zoom: Readonly<{
|
|
110
|
+
value: import("../types").NormalizedZoomValue;
|
|
111
|
+
}>;
|
|
167
112
|
openMenu: "canvas" | "shape" | null;
|
|
168
113
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
169
114
|
openSidebar: {
|
|
170
115
|
name: string;
|
|
171
116
|
tab?: string | undefined;
|
|
172
117
|
} | null;
|
|
118
|
+
openDialog: {
|
|
119
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
120
|
+
} | {
|
|
121
|
+
name: "ttd";
|
|
122
|
+
tab: "text-to-diagram" | "mermaid";
|
|
123
|
+
} | {
|
|
124
|
+
name: "commandPalette";
|
|
125
|
+
} | {
|
|
126
|
+
name: "elementLinkSelector";
|
|
127
|
+
sourceElementId: string;
|
|
128
|
+
} | null;
|
|
173
129
|
defaultSidebarDockedPreference: boolean;
|
|
174
130
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
131
|
+
selectedElementIds: Readonly<{
|
|
132
|
+
[id: string]: true;
|
|
133
|
+
}>;
|
|
175
134
|
hoveredElementIds: Readonly<{
|
|
176
135
|
[id: string]: true;
|
|
177
136
|
}>;
|
|
@@ -185,9 +144,38 @@ export declare const actionClearCanvas: {
|
|
|
185
144
|
closable?: boolean | undefined;
|
|
186
145
|
duration?: number | undefined;
|
|
187
146
|
} | null;
|
|
147
|
+
zenModeEnabled: boolean;
|
|
148
|
+
viewModeEnabled: boolean;
|
|
149
|
+
selectedGroupIds: {
|
|
150
|
+
[groupId: string]: boolean;
|
|
151
|
+
};
|
|
152
|
+
editingGroupId: string | null;
|
|
188
153
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
154
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
155
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
156
|
+
button?: "up" | "down" | undefined;
|
|
157
|
+
selectedElementIds?: Readonly<{
|
|
158
|
+
[id: string]: true;
|
|
159
|
+
}> | undefined;
|
|
160
|
+
username?: string | null | undefined;
|
|
161
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
162
|
+
color?: {
|
|
163
|
+
background: string;
|
|
164
|
+
stroke: string;
|
|
165
|
+
} | undefined;
|
|
166
|
+
avatarUrl?: string | undefined;
|
|
167
|
+
id?: string | undefined;
|
|
168
|
+
socketId?: import("../types").SocketId | undefined;
|
|
169
|
+
isCurrentUser?: boolean | undefined;
|
|
170
|
+
isInCall?: boolean | undefined;
|
|
171
|
+
isSpeaking?: boolean | undefined;
|
|
172
|
+
isMuted?: boolean | undefined;
|
|
173
|
+
}>>;
|
|
189
174
|
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
190
|
-
|
|
175
|
+
pendingImageElementId: string | null;
|
|
176
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
177
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
178
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
191
179
|
originSnapOffset: {
|
|
192
180
|
x: number;
|
|
193
181
|
y: number;
|
|
@@ -195,6 +183,12 @@ export declare const actionClearCanvas: {
|
|
|
195
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;
|
|
198
192
|
};
|
|
199
193
|
captureUpdate: "IMMEDIATELY";
|
|
200
194
|
};
|
|
@@ -235,7 +229,7 @@ export declare const actionZoomIn: {
|
|
|
235
229
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
236
230
|
isBindingEnabled: boolean;
|
|
237
231
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
238
|
-
suggestedBindings: import("@excalidraw/element
|
|
232
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
239
233
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
240
234
|
frameRendering: {
|
|
241
235
|
enabled: boolean;
|
|
@@ -246,7 +240,7 @@ export declare const actionZoomIn: {
|
|
|
246
240
|
editingFrame: string | null;
|
|
247
241
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
248
242
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
249
|
-
editingLinearElement: import("@excalidraw/element
|
|
243
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
250
244
|
activeTool: {
|
|
251
245
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
252
246
|
locked: boolean;
|
|
@@ -362,8 +356,8 @@ export declare const actionZoomIn: {
|
|
|
362
356
|
data: import("../charts").Spreadsheet;
|
|
363
357
|
};
|
|
364
358
|
pendingImageElementId: string | null;
|
|
365
|
-
showHyperlinkPopup: false | "
|
|
366
|
-
selectedLinearElement: import("@excalidraw/element
|
|
359
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
360
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
367
361
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
368
362
|
originSnapOffset: {
|
|
369
363
|
x: number;
|
|
@@ -373,23 +367,17 @@ export declare const actionZoomIn: {
|
|
|
373
367
|
followedBy: Set<import("../types").SocketId>;
|
|
374
368
|
isCropping: boolean;
|
|
375
369
|
croppingElementId: string | null;
|
|
376
|
-
searchMatches:
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
offsetX: number;
|
|
381
|
-
offsetY: number;
|
|
382
|
-
width: number;
|
|
383
|
-
height: number;
|
|
384
|
-
}[];
|
|
385
|
-
}[];
|
|
370
|
+
searchMatches: Readonly<{
|
|
371
|
+
focusedId: string | null;
|
|
372
|
+
matches: readonly import("../types").SearchMatch[];
|
|
373
|
+
}> | null;
|
|
386
374
|
};
|
|
387
375
|
captureUpdate: "EVENTUALLY";
|
|
388
376
|
};
|
|
389
377
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
390
|
-
keyTest: (event:
|
|
378
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
391
379
|
} & {
|
|
392
|
-
keyTest?: ((event:
|
|
380
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
393
381
|
};
|
|
394
382
|
export declare const actionZoomOut: {
|
|
395
383
|
name: "zoomOut";
|
|
@@ -425,7 +413,7 @@ export declare const actionZoomOut: {
|
|
|
425
413
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
426
414
|
isBindingEnabled: boolean;
|
|
427
415
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
428
|
-
suggestedBindings: import("@excalidraw/element
|
|
416
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
429
417
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
430
418
|
frameRendering: {
|
|
431
419
|
enabled: boolean;
|
|
@@ -436,7 +424,7 @@ export declare const actionZoomOut: {
|
|
|
436
424
|
editingFrame: string | null;
|
|
437
425
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
438
426
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
439
|
-
editingLinearElement: import("@excalidraw/element
|
|
427
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
440
428
|
activeTool: {
|
|
441
429
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
442
430
|
locked: boolean;
|
|
@@ -552,8 +540,8 @@ export declare const actionZoomOut: {
|
|
|
552
540
|
data: import("../charts").Spreadsheet;
|
|
553
541
|
};
|
|
554
542
|
pendingImageElementId: string | null;
|
|
555
|
-
showHyperlinkPopup: false | "
|
|
556
|
-
selectedLinearElement: import("@excalidraw/element
|
|
543
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
544
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
557
545
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
558
546
|
originSnapOffset: {
|
|
559
547
|
x: number;
|
|
@@ -563,23 +551,17 @@ export declare const actionZoomOut: {
|
|
|
563
551
|
followedBy: Set<import("../types").SocketId>;
|
|
564
552
|
isCropping: boolean;
|
|
565
553
|
croppingElementId: string | null;
|
|
566
|
-
searchMatches:
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
offsetX: number;
|
|
571
|
-
offsetY: number;
|
|
572
|
-
width: number;
|
|
573
|
-
height: number;
|
|
574
|
-
}[];
|
|
575
|
-
}[];
|
|
554
|
+
searchMatches: Readonly<{
|
|
555
|
+
focusedId: string | null;
|
|
556
|
+
matches: readonly import("../types").SearchMatch[];
|
|
557
|
+
}> | null;
|
|
576
558
|
};
|
|
577
559
|
captureUpdate: "EVENTUALLY";
|
|
578
560
|
};
|
|
579
561
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
580
|
-
keyTest: (event:
|
|
562
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
581
563
|
} & {
|
|
582
|
-
keyTest?: ((event:
|
|
564
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
583
565
|
};
|
|
584
566
|
export declare const actionResetZoom: {
|
|
585
567
|
name: "resetZoom";
|
|
@@ -615,7 +597,7 @@ export declare const actionResetZoom: {
|
|
|
615
597
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
616
598
|
isBindingEnabled: boolean;
|
|
617
599
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
618
|
-
suggestedBindings: import("@excalidraw/element
|
|
600
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
619
601
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
620
602
|
frameRendering: {
|
|
621
603
|
enabled: boolean;
|
|
@@ -626,7 +608,7 @@ export declare const actionResetZoom: {
|
|
|
626
608
|
editingFrame: string | null;
|
|
627
609
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
628
610
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
629
|
-
editingLinearElement: import("@excalidraw/element
|
|
611
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
630
612
|
activeTool: {
|
|
631
613
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
632
614
|
locked: boolean;
|
|
@@ -742,8 +724,8 @@ export declare const actionResetZoom: {
|
|
|
742
724
|
data: import("../charts").Spreadsheet;
|
|
743
725
|
};
|
|
744
726
|
pendingImageElementId: string | null;
|
|
745
|
-
showHyperlinkPopup: false | "
|
|
746
|
-
selectedLinearElement: import("@excalidraw/element
|
|
727
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
728
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
747
729
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
748
730
|
originSnapOffset: {
|
|
749
731
|
x: number;
|
|
@@ -753,23 +735,17 @@ export declare const actionResetZoom: {
|
|
|
753
735
|
followedBy: Set<import("../types").SocketId>;
|
|
754
736
|
isCropping: boolean;
|
|
755
737
|
croppingElementId: string | null;
|
|
756
|
-
searchMatches:
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
offsetX: number;
|
|
761
|
-
offsetY: number;
|
|
762
|
-
width: number;
|
|
763
|
-
height: number;
|
|
764
|
-
}[];
|
|
765
|
-
}[];
|
|
738
|
+
searchMatches: Readonly<{
|
|
739
|
+
focusedId: string | null;
|
|
740
|
+
matches: readonly import("../types").SearchMatch[];
|
|
741
|
+
}> | null;
|
|
766
742
|
};
|
|
767
743
|
captureUpdate: "EVENTUALLY";
|
|
768
744
|
};
|
|
769
745
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
770
|
-
keyTest: (event:
|
|
746
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
771
747
|
} & {
|
|
772
|
-
keyTest?: ((event:
|
|
748
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
773
749
|
};
|
|
774
750
|
export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToViewport, viewportZoomFactor, minZoom, maxZoom, }: {
|
|
775
751
|
bounds: SceneBounds;
|
|
@@ -811,7 +787,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
811
787
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
812
788
|
isBindingEnabled: boolean;
|
|
813
789
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
814
|
-
suggestedBindings: import("@excalidraw/element
|
|
790
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
815
791
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
816
792
|
frameRendering: {
|
|
817
793
|
enabled: boolean;
|
|
@@ -822,7 +798,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
822
798
|
editingFrame: string | null;
|
|
823
799
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
824
800
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
825
|
-
editingLinearElement: import("@excalidraw/element
|
|
801
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
826
802
|
activeTool: {
|
|
827
803
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
828
804
|
locked: boolean;
|
|
@@ -938,8 +914,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
938
914
|
data: import("../charts").Spreadsheet;
|
|
939
915
|
};
|
|
940
916
|
pendingImageElementId: string | null;
|
|
941
|
-
showHyperlinkPopup: false | "
|
|
942
|
-
selectedLinearElement: import("@excalidraw/element
|
|
917
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
918
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
943
919
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
944
920
|
originSnapOffset: {
|
|
945
921
|
x: number;
|
|
@@ -950,16 +926,10 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
950
926
|
followedBy: Set<import("../types").SocketId>;
|
|
951
927
|
isCropping: boolean;
|
|
952
928
|
croppingElementId: string | null;
|
|
953
|
-
searchMatches:
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
offsetX: number;
|
|
958
|
-
offsetY: number;
|
|
959
|
-
width: number;
|
|
960
|
-
height: number;
|
|
961
|
-
}[];
|
|
962
|
-
}[];
|
|
929
|
+
searchMatches: Readonly<{
|
|
930
|
+
focusedId: string | null;
|
|
931
|
+
matches: readonly import("../types").SearchMatch[];
|
|
932
|
+
}> | null;
|
|
963
933
|
};
|
|
964
934
|
captureUpdate: "EVENTUALLY";
|
|
965
935
|
};
|
|
@@ -1003,7 +973,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1003
973
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1004
974
|
isBindingEnabled: boolean;
|
|
1005
975
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1006
|
-
suggestedBindings: import("@excalidraw/element
|
|
976
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1007
977
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1008
978
|
frameRendering: {
|
|
1009
979
|
enabled: boolean;
|
|
@@ -1014,7 +984,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1014
984
|
editingFrame: string | null;
|
|
1015
985
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1016
986
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1017
|
-
editingLinearElement: import("@excalidraw/element
|
|
987
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1018
988
|
activeTool: {
|
|
1019
989
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1020
990
|
locked: boolean;
|
|
@@ -1130,8 +1100,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1130
1100
|
data: import("../charts").Spreadsheet;
|
|
1131
1101
|
};
|
|
1132
1102
|
pendingImageElementId: string | null;
|
|
1133
|
-
showHyperlinkPopup: false | "
|
|
1134
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1103
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1104
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1135
1105
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1136
1106
|
originSnapOffset: {
|
|
1137
1107
|
x: number;
|
|
@@ -1142,16 +1112,10 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1142
1112
|
followedBy: Set<import("../types").SocketId>;
|
|
1143
1113
|
isCropping: boolean;
|
|
1144
1114
|
croppingElementId: string | null;
|
|
1145
|
-
searchMatches:
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
offsetX: number;
|
|
1150
|
-
offsetY: number;
|
|
1151
|
-
width: number;
|
|
1152
|
-
height: number;
|
|
1153
|
-
}[];
|
|
1154
|
-
}[];
|
|
1115
|
+
searchMatches: Readonly<{
|
|
1116
|
+
focusedId: string | null;
|
|
1117
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1118
|
+
}> | null;
|
|
1155
1119
|
};
|
|
1156
1120
|
captureUpdate: "EVENTUALLY";
|
|
1157
1121
|
};
|
|
@@ -1187,7 +1151,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1187
1151
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1188
1152
|
isBindingEnabled: boolean;
|
|
1189
1153
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1190
|
-
suggestedBindings: import("@excalidraw/element
|
|
1154
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1191
1155
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1192
1156
|
frameRendering: {
|
|
1193
1157
|
enabled: boolean;
|
|
@@ -1198,7 +1162,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1198
1162
|
editingFrame: string | null;
|
|
1199
1163
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1200
1164
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1201
|
-
editingLinearElement: import("@excalidraw/element
|
|
1165
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1202
1166
|
activeTool: {
|
|
1203
1167
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1204
1168
|
locked: boolean;
|
|
@@ -1314,8 +1278,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1314
1278
|
data: import("../charts").Spreadsheet;
|
|
1315
1279
|
};
|
|
1316
1280
|
pendingImageElementId: string | null;
|
|
1317
|
-
showHyperlinkPopup: false | "
|
|
1318
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1281
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1282
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1319
1283
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1320
1284
|
originSnapOffset: {
|
|
1321
1285
|
x: number;
|
|
@@ -1326,22 +1290,16 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1326
1290
|
followedBy: Set<import("../types").SocketId>;
|
|
1327
1291
|
isCropping: boolean;
|
|
1328
1292
|
croppingElementId: string | null;
|
|
1329
|
-
searchMatches:
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
offsetX: number;
|
|
1334
|
-
offsetY: number;
|
|
1335
|
-
width: number;
|
|
1336
|
-
height: number;
|
|
1337
|
-
}[];
|
|
1338
|
-
}[];
|
|
1293
|
+
searchMatches: Readonly<{
|
|
1294
|
+
focusedId: string | null;
|
|
1295
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1296
|
+
}> | null;
|
|
1339
1297
|
};
|
|
1340
1298
|
captureUpdate: "EVENTUALLY";
|
|
1341
1299
|
};
|
|
1342
|
-
keyTest: (event:
|
|
1300
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1343
1301
|
} & {
|
|
1344
|
-
keyTest?: ((event:
|
|
1302
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1345
1303
|
};
|
|
1346
1304
|
export declare const actionZoomToFitSelection: {
|
|
1347
1305
|
name: "zoomToFitSelection";
|
|
@@ -1375,7 +1333,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1375
1333
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1376
1334
|
isBindingEnabled: boolean;
|
|
1377
1335
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1378
|
-
suggestedBindings: import("@excalidraw/element
|
|
1336
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1379
1337
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1380
1338
|
frameRendering: {
|
|
1381
1339
|
enabled: boolean;
|
|
@@ -1386,7 +1344,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1386
1344
|
editingFrame: string | null;
|
|
1387
1345
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1388
1346
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1389
|
-
editingLinearElement: import("@excalidraw/element
|
|
1347
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1390
1348
|
activeTool: {
|
|
1391
1349
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1392
1350
|
locked: boolean;
|
|
@@ -1502,8 +1460,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
1502
1460
|
data: import("../charts").Spreadsheet;
|
|
1503
1461
|
};
|
|
1504
1462
|
pendingImageElementId: string | null;
|
|
1505
|
-
showHyperlinkPopup: false | "
|
|
1506
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1463
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1464
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1507
1465
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1508
1466
|
originSnapOffset: {
|
|
1509
1467
|
x: number;
|
|
@@ -1514,22 +1472,16 @@ export declare const actionZoomToFitSelection: {
|
|
|
1514
1472
|
followedBy: Set<import("../types").SocketId>;
|
|
1515
1473
|
isCropping: boolean;
|
|
1516
1474
|
croppingElementId: string | null;
|
|
1517
|
-
searchMatches:
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
offsetX: number;
|
|
1522
|
-
offsetY: number;
|
|
1523
|
-
width: number;
|
|
1524
|
-
height: number;
|
|
1525
|
-
}[];
|
|
1526
|
-
}[];
|
|
1475
|
+
searchMatches: Readonly<{
|
|
1476
|
+
focusedId: string | null;
|
|
1477
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1478
|
+
}> | null;
|
|
1527
1479
|
};
|
|
1528
1480
|
captureUpdate: "EVENTUALLY";
|
|
1529
1481
|
};
|
|
1530
|
-
keyTest: (event:
|
|
1482
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1531
1483
|
} & {
|
|
1532
|
-
keyTest?: ((event:
|
|
1484
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1533
1485
|
};
|
|
1534
1486
|
export declare const actionZoomToFit: {
|
|
1535
1487
|
name: "zoomToFit";
|
|
@@ -1564,7 +1516,7 @@ export declare const actionZoomToFit: {
|
|
|
1564
1516
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1565
1517
|
isBindingEnabled: boolean;
|
|
1566
1518
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1567
|
-
suggestedBindings: import("@excalidraw/element
|
|
1519
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1568
1520
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1569
1521
|
frameRendering: {
|
|
1570
1522
|
enabled: boolean;
|
|
@@ -1575,7 +1527,7 @@ export declare const actionZoomToFit: {
|
|
|
1575
1527
|
editingFrame: string | null;
|
|
1576
1528
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1577
1529
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1578
|
-
editingLinearElement: import("@excalidraw/element
|
|
1530
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1579
1531
|
activeTool: {
|
|
1580
1532
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1581
1533
|
locked: boolean;
|
|
@@ -1691,8 +1643,8 @@ export declare const actionZoomToFit: {
|
|
|
1691
1643
|
data: import("../charts").Spreadsheet;
|
|
1692
1644
|
};
|
|
1693
1645
|
pendingImageElementId: string | null;
|
|
1694
|
-
showHyperlinkPopup: false | "
|
|
1695
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1646
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1647
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1696
1648
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1697
1649
|
originSnapOffset: {
|
|
1698
1650
|
x: number;
|
|
@@ -1703,22 +1655,16 @@ export declare const actionZoomToFit: {
|
|
|
1703
1655
|
followedBy: Set<import("../types").SocketId>;
|
|
1704
1656
|
isCropping: boolean;
|
|
1705
1657
|
croppingElementId: string | null;
|
|
1706
|
-
searchMatches:
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
offsetX: number;
|
|
1711
|
-
offsetY: number;
|
|
1712
|
-
width: number;
|
|
1713
|
-
height: number;
|
|
1714
|
-
}[];
|
|
1715
|
-
}[];
|
|
1658
|
+
searchMatches: Readonly<{
|
|
1659
|
+
focusedId: string | null;
|
|
1660
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1661
|
+
}> | null;
|
|
1716
1662
|
};
|
|
1717
1663
|
captureUpdate: "EVENTUALLY";
|
|
1718
1664
|
};
|
|
1719
|
-
keyTest: (event:
|
|
1665
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1720
1666
|
} & {
|
|
1721
|
-
keyTest?: ((event:
|
|
1667
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1722
1668
|
};
|
|
1723
1669
|
export declare const actionToggleTheme: {
|
|
1724
1670
|
name: "toggleTheme";
|
|
@@ -1750,7 +1696,7 @@ export declare const actionToggleTheme: {
|
|
|
1750
1696
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1751
1697
|
isBindingEnabled: boolean;
|
|
1752
1698
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1753
|
-
suggestedBindings: import("@excalidraw/element
|
|
1699
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1754
1700
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1755
1701
|
frameRendering: {
|
|
1756
1702
|
enabled: boolean;
|
|
@@ -1761,7 +1707,7 @@ export declare const actionToggleTheme: {
|
|
|
1761
1707
|
editingFrame: string | null;
|
|
1762
1708
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1763
1709
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1764
|
-
editingLinearElement: import("@excalidraw/element
|
|
1710
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1765
1711
|
activeTool: {
|
|
1766
1712
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1767
1713
|
locked: boolean;
|
|
@@ -1881,8 +1827,8 @@ export declare const actionToggleTheme: {
|
|
|
1881
1827
|
data: import("../charts").Spreadsheet;
|
|
1882
1828
|
};
|
|
1883
1829
|
pendingImageElementId: string | null;
|
|
1884
|
-
showHyperlinkPopup: false | "
|
|
1885
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1830
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1831
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1886
1832
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1887
1833
|
originSnapOffset: {
|
|
1888
1834
|
x: number;
|
|
@@ -1893,23 +1839,17 @@ export declare const actionToggleTheme: {
|
|
|
1893
1839
|
followedBy: Set<import("../types").SocketId>;
|
|
1894
1840
|
isCropping: boolean;
|
|
1895
1841
|
croppingElementId: string | null;
|
|
1896
|
-
searchMatches:
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
offsetX: number;
|
|
1901
|
-
offsetY: number;
|
|
1902
|
-
width: number;
|
|
1903
|
-
height: number;
|
|
1904
|
-
}[];
|
|
1905
|
-
}[];
|
|
1842
|
+
searchMatches: Readonly<{
|
|
1843
|
+
focusedId: string | null;
|
|
1844
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1845
|
+
}> | null;
|
|
1906
1846
|
};
|
|
1907
1847
|
captureUpdate: "EVENTUALLY";
|
|
1908
1848
|
};
|
|
1909
|
-
keyTest: (event:
|
|
1849
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1910
1850
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
1911
1851
|
} & {
|
|
1912
|
-
keyTest?: ((event:
|
|
1852
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1913
1853
|
};
|
|
1914
1854
|
export declare const actionToggleEraserTool: {
|
|
1915
1855
|
name: "toggleEraserTool";
|
|
@@ -1941,7 +1881,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1941
1881
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1942
1882
|
isBindingEnabled: boolean;
|
|
1943
1883
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1944
|
-
suggestedBindings: import("@excalidraw/element
|
|
1884
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1945
1885
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1946
1886
|
frameRendering: {
|
|
1947
1887
|
enabled: boolean;
|
|
@@ -1952,7 +1892,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1952
1892
|
editingFrame: string | null;
|
|
1953
1893
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1954
1894
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1955
|
-
editingLinearElement: import("@excalidraw/element
|
|
1895
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1956
1896
|
penMode: boolean;
|
|
1957
1897
|
penDetected: boolean;
|
|
1958
1898
|
exportBackground: boolean;
|
|
@@ -2062,8 +2002,8 @@ export declare const actionToggleEraserTool: {
|
|
|
2062
2002
|
data: import("../charts").Spreadsheet;
|
|
2063
2003
|
};
|
|
2064
2004
|
pendingImageElementId: string | null;
|
|
2065
|
-
showHyperlinkPopup: false | "
|
|
2066
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2005
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2006
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2067
2007
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2068
2008
|
originSnapOffset: {
|
|
2069
2009
|
x: number;
|
|
@@ -2074,22 +2014,16 @@ export declare const actionToggleEraserTool: {
|
|
|
2074
2014
|
followedBy: Set<import("../types").SocketId>;
|
|
2075
2015
|
isCropping: boolean;
|
|
2076
2016
|
croppingElementId: string | null;
|
|
2077
|
-
searchMatches:
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
offsetX: number;
|
|
2082
|
-
offsetY: number;
|
|
2083
|
-
width: number;
|
|
2084
|
-
height: number;
|
|
2085
|
-
}[];
|
|
2086
|
-
}[];
|
|
2017
|
+
searchMatches: Readonly<{
|
|
2018
|
+
focusedId: string | null;
|
|
2019
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2020
|
+
}> | null;
|
|
2087
2021
|
};
|
|
2088
2022
|
captureUpdate: "IMMEDIATELY";
|
|
2089
2023
|
};
|
|
2090
|
-
keyTest: (event:
|
|
2024
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
2091
2025
|
} & {
|
|
2092
|
-
keyTest?: ((event:
|
|
2026
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
2093
2027
|
};
|
|
2094
2028
|
export declare const actionToggleLassoTool: {
|
|
2095
2029
|
name: "toggleLassoTool";
|
|
@@ -2122,7 +2056,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2122
2056
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2123
2057
|
isBindingEnabled: boolean;
|
|
2124
2058
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2125
|
-
suggestedBindings: import("@excalidraw/element
|
|
2059
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2126
2060
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2127
2061
|
frameRendering: {
|
|
2128
2062
|
enabled: boolean;
|
|
@@ -2133,7 +2067,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2133
2067
|
editingFrame: string | null;
|
|
2134
2068
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2135
2069
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2136
|
-
editingLinearElement: import("@excalidraw/element
|
|
2070
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2137
2071
|
penMode: boolean;
|
|
2138
2072
|
penDetected: boolean;
|
|
2139
2073
|
exportBackground: boolean;
|
|
@@ -2243,8 +2177,8 @@ export declare const actionToggleLassoTool: {
|
|
|
2243
2177
|
data: import("../charts").Spreadsheet;
|
|
2244
2178
|
};
|
|
2245
2179
|
pendingImageElementId: string | null;
|
|
2246
|
-
showHyperlinkPopup: false | "
|
|
2247
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2180
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2181
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2248
2182
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2249
2183
|
originSnapOffset: {
|
|
2250
2184
|
x: number;
|
|
@@ -2255,16 +2189,10 @@ export declare const actionToggleLassoTool: {
|
|
|
2255
2189
|
followedBy: Set<import("../types").SocketId>;
|
|
2256
2190
|
isCropping: boolean;
|
|
2257
2191
|
croppingElementId: string | null;
|
|
2258
|
-
searchMatches:
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
offsetX: number;
|
|
2263
|
-
offsetY: number;
|
|
2264
|
-
width: number;
|
|
2265
|
-
height: number;
|
|
2266
|
-
}[];
|
|
2267
|
-
}[];
|
|
2192
|
+
searchMatches: Readonly<{
|
|
2193
|
+
focusedId: string | null;
|
|
2194
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2195
|
+
}> | null;
|
|
2268
2196
|
};
|
|
2269
2197
|
captureUpdate: "NEVER";
|
|
2270
2198
|
};
|
|
@@ -2303,7 +2231,7 @@ export declare const actionToggleHandTool: {
|
|
|
2303
2231
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2304
2232
|
isBindingEnabled: boolean;
|
|
2305
2233
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2306
|
-
suggestedBindings: import("@excalidraw/element
|
|
2234
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2307
2235
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2308
2236
|
frameRendering: {
|
|
2309
2237
|
enabled: boolean;
|
|
@@ -2314,7 +2242,7 @@ export declare const actionToggleHandTool: {
|
|
|
2314
2242
|
editingFrame: string | null;
|
|
2315
2243
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2316
2244
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2317
|
-
editingLinearElement: import("@excalidraw/element
|
|
2245
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2318
2246
|
penMode: boolean;
|
|
2319
2247
|
penDetected: boolean;
|
|
2320
2248
|
exportBackground: boolean;
|
|
@@ -2424,8 +2352,8 @@ export declare const actionToggleHandTool: {
|
|
|
2424
2352
|
data: import("../charts").Spreadsheet;
|
|
2425
2353
|
};
|
|
2426
2354
|
pendingImageElementId: string | null;
|
|
2427
|
-
showHyperlinkPopup: false | "
|
|
2428
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2355
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2356
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2429
2357
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2430
2358
|
originSnapOffset: {
|
|
2431
2359
|
x: number;
|
|
@@ -2436,20 +2364,14 @@ export declare const actionToggleHandTool: {
|
|
|
2436
2364
|
followedBy: Set<import("../types").SocketId>;
|
|
2437
2365
|
isCropping: boolean;
|
|
2438
2366
|
croppingElementId: string | null;
|
|
2439
|
-
searchMatches:
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
offsetX: number;
|
|
2444
|
-
offsetY: number;
|
|
2445
|
-
width: number;
|
|
2446
|
-
height: number;
|
|
2447
|
-
}[];
|
|
2448
|
-
}[];
|
|
2367
|
+
searchMatches: Readonly<{
|
|
2368
|
+
focusedId: string | null;
|
|
2369
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2370
|
+
}> | null;
|
|
2449
2371
|
};
|
|
2450
2372
|
captureUpdate: "IMMEDIATELY";
|
|
2451
2373
|
};
|
|
2452
|
-
keyTest: (event:
|
|
2374
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
2453
2375
|
} & {
|
|
2454
|
-
keyTest?: ((event:
|
|
2376
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
2455
2377
|
};
|