@zsviczian/excalidraw 0.18.0-13 → 0.18.0-15
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/excalidraw.development.js +153 -153
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/styles.development.css +38 -2
- package/dist/styles.production.css +2 -2
- package/package.json +1 -1
- package/types/common/src/constants.d.ts +1 -0
- package/types/{excalidraw → common/src}/emitter.d.ts +1 -1
- package/types/common/src/font-metadata.d.ts +4 -2
- package/types/common/src/index.d.ts +1 -0
- package/types/common/src/utility-types.d.ts +5 -0
- package/types/common/src/utils.d.ts +16 -4
- package/types/element/src/Scene.d.ts +4 -4
- package/types/element/src/ShapeCache.d.ts +1 -1
- package/types/element/src/align.d.ts +1 -1
- package/types/element/src/binding.d.ts +1 -1
- package/types/element/src/bounds.d.ts +1 -1
- package/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +40 -35
- package/types/element/src/dragElements.d.ts +1 -1
- package/types/element/src/flowchart.d.ts +1 -1
- package/types/element/src/frame.d.ts +3 -2
- package/types/element/src/index.d.ts +45 -2
- package/types/element/src/linearElementEditor.d.ts +4 -8
- package/types/element/src/newElement.d.ts +1 -1
- package/types/element/src/resizeElements.d.ts +1 -1
- package/types/element/src/selection.d.ts +1 -6
- package/types/element/src/store.d.ts +227 -0
- package/types/element/src/textElement.d.ts +1 -1
- package/types/element/src/transformHandles.d.ts +4 -4
- package/types/element/src/typeChecks.d.ts +2 -1
- package/types/element/src/types.d.ts +6 -1
- package/types/element/src/zindex.d.ts +3 -3
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +24 -42
- package/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/types/excalidraw/actions/actionBoundText.d.ts +16 -28
- package/types/excalidraw/actions/actionCanvas.d.ts +238 -328
- package/types/excalidraw/actions/actionClipboard.d.ts +50 -86
- package/types/excalidraw/actions/actionCropEditor.d.ts +8 -14
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +22 -40
- package/types/excalidraw/actions/actionDistribute.d.ts +4 -4
- package/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/types/excalidraw/actions/actionElementLink.d.ts +8 -14
- package/types/excalidraw/actions/actionElementLock.d.ts +18 -30
- package/types/excalidraw/actions/actionEmbeddable.d.ts +8 -14
- package/types/excalidraw/actions/actionExport.d.ts +173 -227
- package/types/excalidraw/actions/actionFinalize.d.ts +14 -26
- package/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/types/excalidraw/actions/actionFrame.d.ts +81 -105
- package/types/excalidraw/actions/actionGroup.d.ts +22 -34
- package/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/types/excalidraw/actions/actionLinearEditor.d.ts +7 -13
- package/types/excalidraw/actions/actionLink.d.ts +9 -15
- package/types/excalidraw/actions/actionMenu.d.ts +26 -44
- package/types/excalidraw/actions/actionNavigate.d.ts +16 -28
- package/types/excalidraw/actions/actionProperties.d.ts +106 -196
- package/types/excalidraw/actions/actionSelectAll.d.ts +10 -16
- package/types/excalidraw/actions/actionStyles.d.ts +12 -18
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +10 -16
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +10 -16
- package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +10 -225
- package/types/excalidraw/actions/actionToggleStats.d.ts +10 -16
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +10 -16
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +10 -16
- package/types/excalidraw/actions/actionZindex.d.ts +10 -10
- package/types/excalidraw/actions/types.d.ts +1 -1
- package/types/excalidraw/appState.d.ts +23 -23
- package/types/excalidraw/clipboard.d.ts +4 -4
- package/types/excalidraw/components/App.d.ts +8 -8
- package/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
- package/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +5 -1
- package/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
- package/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -3
- package/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -3
- package/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -2
- package/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
- package/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
- package/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -28
- package/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
- package/types/excalidraw/components/Range.d.ts +3 -3
- package/types/excalidraw/components/Stats/Angle.d.ts +1 -1
- package/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
- package/types/excalidraw/components/Stats/CanvasGridSize.d.ts +1 -1
- package/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
- package/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
- package/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
- package/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
- package/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
- package/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
- package/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
- package/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
- package/types/excalidraw/components/Stats/Position.d.ts +1 -1
- package/types/excalidraw/components/Stats/utils.d.ts +1 -1
- package/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
- package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -1
- package/types/excalidraw/components/hyperlink/helpers.d.ts +1 -1
- package/types/excalidraw/components/icons.d.ts +1 -0
- package/types/excalidraw/components/shapes.d.ts +1 -1
- package/types/excalidraw/data/blob.d.ts +1 -1
- package/types/excalidraw/data/library.d.ts +1 -1
- package/types/excalidraw/data/transform.d.ts +1 -1
- package/types/excalidraw/fonts/Fonts.d.ts +1 -1
- package/types/excalidraw/history.d.ts +14 -22
- package/types/excalidraw/hooks/useEmitter.d.ts +1 -1
- package/types/excalidraw/index.d.ts +9 -9
- package/types/excalidraw/renderer/helpers.d.ts +6 -1
- package/types/excalidraw/scene/Renderer.d.ts +1 -1
- package/types/excalidraw/scene/index.d.ts +2 -2
- package/types/excalidraw/snapping.d.ts +2 -2
- package/types/excalidraw/types.d.ts +13 -6
- package/types/excalidraw/visualdebug.d.ts +1 -1
- package/types/math/src/curve.d.ts +2 -0
- package/types/math/src/vector.d.ts +4 -0
- package/types/utils/src/bbox.d.ts +1 -1
- package/types/utils/src/index.d.ts +1 -1
- package/types/utils/src/withinBounds.d.ts +1 -1
- package/types/excalidraw/store.d.ts +0 -129
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type SceneBounds } from "@excalidraw/element
|
|
1
|
+
import { type SceneBounds } from "@excalidraw/element";
|
|
2
2
|
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
3
3
|
import type { AppClassProperties, AppState, Offsets } from "../types";
|
|
4
4
|
export declare const actionChangeViewBackgroundColor: {
|
|
@@ -65,114 +65,40 @@ export declare const actionClearCanvas: {
|
|
|
65
65
|
allowWheelZoom: boolean | undefined;
|
|
66
66
|
pinnedScripts: string[] | undefined;
|
|
67
67
|
customPens: any[] | undefined;
|
|
68
|
-
name: string | null;
|
|
69
|
-
zoom: Readonly<{
|
|
70
|
-
value: import("../types").NormalizedZoomValue;
|
|
71
|
-
}>;
|
|
72
|
-
scrollX: number;
|
|
73
|
-
scrollY: number;
|
|
74
|
-
viewBackgroundColor: string;
|
|
75
|
-
frameRendering: {
|
|
76
|
-
enabled: boolean;
|
|
77
|
-
name: boolean;
|
|
78
|
-
outline: boolean;
|
|
79
|
-
clip: boolean;
|
|
80
|
-
};
|
|
81
|
-
frameColor: {
|
|
82
|
-
stroke: string;
|
|
83
|
-
fill: string;
|
|
84
|
-
nameColor: string;
|
|
85
|
-
};
|
|
86
|
-
viewModeEnabled: boolean;
|
|
87
|
-
openDialog: {
|
|
88
|
-
name: "help" | "imageExport" | "jsonExport";
|
|
89
|
-
} | {
|
|
90
|
-
name: "ttd";
|
|
91
|
-
tab: "mermaid" | "text-to-diagram";
|
|
92
|
-
} | {
|
|
93
|
-
name: "commandPalette";
|
|
94
|
-
} | {
|
|
95
|
-
name: "elementLinkSelector";
|
|
96
|
-
sourceElementId: string;
|
|
97
|
-
} | null;
|
|
98
|
-
editingGroupId: string | null;
|
|
99
|
-
selectedElementIds: Readonly<{
|
|
100
|
-
[id: string]: true;
|
|
101
|
-
}>;
|
|
102
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
103
|
-
pendingImageElementId: string | null;
|
|
104
|
-
activeEmbeddable: {
|
|
105
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
106
|
-
state: "active" | "hover";
|
|
107
|
-
} | null;
|
|
108
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
109
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
110
|
-
selectedGroupIds: {
|
|
111
|
-
[groupId: string]: boolean;
|
|
112
|
-
};
|
|
113
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
114
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
115
|
-
isBindingEnabled: boolean;
|
|
116
|
-
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
117
|
-
isRotating: boolean;
|
|
118
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
119
|
-
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
120
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
121
|
-
button?: "up" | "down" | undefined;
|
|
122
|
-
selectedElementIds?: Readonly<{
|
|
123
|
-
[id: string]: true;
|
|
124
|
-
}> | undefined;
|
|
125
|
-
username?: string | null | undefined;
|
|
126
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
127
|
-
color?: {
|
|
128
|
-
background: string;
|
|
129
|
-
stroke: string;
|
|
130
|
-
} | undefined;
|
|
131
|
-
avatarUrl?: string | undefined;
|
|
132
|
-
id?: string | undefined;
|
|
133
|
-
socketId?: import("../types").SocketId | undefined;
|
|
134
|
-
isCurrentUser?: boolean | undefined;
|
|
135
|
-
isInCall?: boolean | undefined;
|
|
136
|
-
isSpeaking?: boolean | undefined;
|
|
137
|
-
isMuted?: boolean | undefined;
|
|
138
|
-
}>>;
|
|
139
|
-
snapLines: readonly import("../snapping").SnapLine[];
|
|
140
|
-
zenModeEnabled: boolean;
|
|
141
|
-
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
142
|
-
gridColor: {
|
|
143
|
-
Bold: string;
|
|
144
|
-
Regular: string;
|
|
145
|
-
};
|
|
146
|
-
gridDirection: {
|
|
147
|
-
horizontal: boolean;
|
|
148
|
-
vertical: boolean;
|
|
149
|
-
};
|
|
150
|
-
highlightSearchResult: boolean;
|
|
151
|
-
isCropping: boolean;
|
|
152
|
-
croppingElementId: string | null;
|
|
153
|
-
searchMatches: readonly {
|
|
154
|
-
id: string;
|
|
155
|
-
focus: boolean;
|
|
156
|
-
matchedLines: {
|
|
157
|
-
offsetX: number;
|
|
158
|
-
offsetY: number;
|
|
159
|
-
width: number;
|
|
160
|
-
height: number;
|
|
161
|
-
}[];
|
|
162
|
-
}[];
|
|
163
68
|
contextMenu: {
|
|
164
69
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
165
70
|
top: number;
|
|
166
71
|
left: number;
|
|
167
72
|
} | null;
|
|
73
|
+
exportWithDarkMode: boolean;
|
|
74
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
75
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
76
|
+
cursorButton: "up" | "down";
|
|
77
|
+
scrollX: number;
|
|
78
|
+
scrollY: number;
|
|
168
79
|
showWelcomeScreen: boolean;
|
|
169
80
|
isLoading: boolean;
|
|
170
81
|
errorMessage: import("react").ReactNode;
|
|
82
|
+
activeEmbeddable: {
|
|
83
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
84
|
+
state: "active" | "hover";
|
|
85
|
+
} | null;
|
|
171
86
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
172
87
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
173
|
-
|
|
88
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
89
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
90
|
+
isBindingEnabled: boolean;
|
|
91
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
92
|
+
frameRendering: {
|
|
93
|
+
enabled: boolean;
|
|
94
|
+
name: boolean;
|
|
95
|
+
outline: boolean;
|
|
96
|
+
clip: boolean;
|
|
97
|
+
};
|
|
174
98
|
editingFrame: string | null;
|
|
175
|
-
|
|
99
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
100
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
101
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
176
102
|
exportScale: number;
|
|
177
103
|
currentItemStrokeColor: string;
|
|
178
104
|
currentItemBackgroundColor: string;
|
|
@@ -189,17 +115,36 @@ export declare const actionClearCanvas: {
|
|
|
189
115
|
currentHoveredFontFamily: number | null;
|
|
190
116
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
191
117
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
192
|
-
|
|
118
|
+
viewBackgroundColor: string;
|
|
193
119
|
scrolledOutside: boolean;
|
|
120
|
+
name: string | null;
|
|
194
121
|
isResizing: boolean;
|
|
122
|
+
isRotating: boolean;
|
|
123
|
+
zoom: Readonly<{
|
|
124
|
+
value: import("../types").NormalizedZoomValue;
|
|
125
|
+
}>;
|
|
195
126
|
openMenu: "canvas" | "shape" | null;
|
|
196
127
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
197
128
|
openSidebar: {
|
|
198
129
|
name: string;
|
|
199
130
|
tab?: string | undefined;
|
|
200
131
|
} | null;
|
|
132
|
+
openDialog: {
|
|
133
|
+
name: "help" | "imageExport" | "jsonExport";
|
|
134
|
+
} | {
|
|
135
|
+
name: "ttd";
|
|
136
|
+
tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
137
|
+
} | {
|
|
138
|
+
name: "commandPalette";
|
|
139
|
+
} | {
|
|
140
|
+
name: "elementLinkSelector";
|
|
141
|
+
sourceElementId: string;
|
|
142
|
+
} | null;
|
|
201
143
|
defaultSidebarDockedPreference: boolean;
|
|
202
144
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
145
|
+
selectedElementIds: Readonly<{
|
|
146
|
+
[id: string]: true;
|
|
147
|
+
}>;
|
|
203
148
|
hoveredElementIds: Readonly<{
|
|
204
149
|
[id: string]: true;
|
|
205
150
|
}>;
|
|
@@ -213,16 +158,59 @@ export declare const actionClearCanvas: {
|
|
|
213
158
|
closable?: boolean | undefined;
|
|
214
159
|
duration?: number | undefined;
|
|
215
160
|
} | null;
|
|
161
|
+
zenModeEnabled: boolean;
|
|
162
|
+
viewModeEnabled: boolean;
|
|
163
|
+
selectedGroupIds: {
|
|
164
|
+
[groupId: string]: boolean;
|
|
165
|
+
};
|
|
166
|
+
editingGroupId: string | null;
|
|
216
167
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
168
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
169
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
170
|
+
button?: "up" | "down" | undefined;
|
|
171
|
+
selectedElementIds?: Readonly<{
|
|
172
|
+
[id: string]: true;
|
|
173
|
+
}> | undefined;
|
|
174
|
+
username?: string | null | undefined;
|
|
175
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
176
|
+
color?: {
|
|
177
|
+
background: string;
|
|
178
|
+
stroke: string;
|
|
179
|
+
} | undefined;
|
|
180
|
+
avatarUrl?: string | undefined;
|
|
181
|
+
id?: string | undefined;
|
|
182
|
+
socketId?: import("../types").SocketId | undefined;
|
|
183
|
+
isCurrentUser?: boolean | undefined;
|
|
184
|
+
isInCall?: boolean | undefined;
|
|
185
|
+
isSpeaking?: boolean | undefined;
|
|
186
|
+
isMuted?: boolean | undefined;
|
|
187
|
+
}>>;
|
|
217
188
|
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
218
|
-
|
|
189
|
+
pendingImageElementId: string | null;
|
|
190
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
219
191
|
linkOpacity: number;
|
|
220
192
|
currentStrokeOptions?: any;
|
|
221
193
|
resetCustomPen?: any;
|
|
194
|
+
gridColor: {
|
|
195
|
+
Bold: string;
|
|
196
|
+
Regular: string;
|
|
197
|
+
};
|
|
198
|
+
gridDirection: {
|
|
199
|
+
horizontal: boolean;
|
|
200
|
+
vertical: boolean;
|
|
201
|
+
};
|
|
202
|
+
highlightSearchResult: boolean;
|
|
222
203
|
dynamicStyle: {
|
|
223
204
|
[x: string]: string;
|
|
224
205
|
};
|
|
206
|
+
frameColor: {
|
|
207
|
+
stroke: string;
|
|
208
|
+
fill: string;
|
|
209
|
+
nameColor: string;
|
|
210
|
+
};
|
|
225
211
|
invertBindingBehaviour: boolean;
|
|
212
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
213
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
226
214
|
originSnapOffset: {
|
|
227
215
|
x: number;
|
|
228
216
|
y: number;
|
|
@@ -230,6 +218,12 @@ export declare const actionClearCanvas: {
|
|
|
230
218
|
objectsSnapModeEnabled: boolean;
|
|
231
219
|
userToFollow: import("../types").UserToFollow | null;
|
|
232
220
|
followedBy: Set<import("../types").SocketId>;
|
|
221
|
+
isCropping: boolean;
|
|
222
|
+
croppingElementId: string | null;
|
|
223
|
+
searchMatches: Readonly<{
|
|
224
|
+
focusedId: string | null;
|
|
225
|
+
matches: readonly import("../types").SearchMatch[];
|
|
226
|
+
}> | null;
|
|
233
227
|
};
|
|
234
228
|
captureUpdate: "IMMEDIATELY";
|
|
235
229
|
};
|
|
@@ -270,7 +264,7 @@ export declare const actionZoomIn: {
|
|
|
270
264
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
271
265
|
isBindingEnabled: boolean;
|
|
272
266
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
273
|
-
suggestedBindings: import("@excalidraw/element
|
|
267
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
274
268
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
275
269
|
frameRendering: {
|
|
276
270
|
enabled: boolean;
|
|
@@ -281,7 +275,7 @@ export declare const actionZoomIn: {
|
|
|
281
275
|
editingFrame: string | null;
|
|
282
276
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
283
277
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
284
|
-
editingLinearElement: import("@excalidraw/element
|
|
278
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
285
279
|
activeTool: {
|
|
286
280
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
287
281
|
locked: boolean;
|
|
@@ -324,7 +318,7 @@ export declare const actionZoomIn: {
|
|
|
324
318
|
name: "help" | "imageExport" | "jsonExport";
|
|
325
319
|
} | {
|
|
326
320
|
name: "ttd";
|
|
327
|
-
tab: "mermaid" | "text-to-diagram";
|
|
321
|
+
tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
328
322
|
} | {
|
|
329
323
|
name: "commandPalette";
|
|
330
324
|
} | {
|
|
@@ -397,7 +391,7 @@ export declare const actionZoomIn: {
|
|
|
397
391
|
data: import("../charts").Spreadsheet;
|
|
398
392
|
};
|
|
399
393
|
pendingImageElementId: string | null;
|
|
400
|
-
showHyperlinkPopup: false | "
|
|
394
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
401
395
|
linkOpacity: number;
|
|
402
396
|
trayModeEnabled: boolean;
|
|
403
397
|
colorPalette?: {
|
|
@@ -434,7 +428,7 @@ export declare const actionZoomIn: {
|
|
|
434
428
|
nameColor: string;
|
|
435
429
|
};
|
|
436
430
|
invertBindingBehaviour: boolean;
|
|
437
|
-
selectedLinearElement: import("@excalidraw/element
|
|
431
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
438
432
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
439
433
|
originSnapOffset: {
|
|
440
434
|
x: number;
|
|
@@ -444,23 +438,17 @@ export declare const actionZoomIn: {
|
|
|
444
438
|
followedBy: Set<import("../types").SocketId>;
|
|
445
439
|
isCropping: boolean;
|
|
446
440
|
croppingElementId: string | null;
|
|
447
|
-
searchMatches:
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
offsetX: number;
|
|
452
|
-
offsetY: number;
|
|
453
|
-
width: number;
|
|
454
|
-
height: number;
|
|
455
|
-
}[];
|
|
456
|
-
}[];
|
|
441
|
+
searchMatches: Readonly<{
|
|
442
|
+
focusedId: string | null;
|
|
443
|
+
matches: readonly import("../types").SearchMatch[];
|
|
444
|
+
}> | null;
|
|
457
445
|
};
|
|
458
446
|
captureUpdate: "EVENTUALLY";
|
|
459
447
|
};
|
|
460
448
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
461
|
-
keyTest: (event:
|
|
449
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
462
450
|
} & {
|
|
463
|
-
keyTest?: ((event:
|
|
451
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
464
452
|
};
|
|
465
453
|
export declare const actionZoomOut: {
|
|
466
454
|
name: "zoomOut";
|
|
@@ -496,7 +484,7 @@ export declare const actionZoomOut: {
|
|
|
496
484
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
497
485
|
isBindingEnabled: boolean;
|
|
498
486
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
499
|
-
suggestedBindings: import("@excalidraw/element
|
|
487
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
500
488
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
501
489
|
frameRendering: {
|
|
502
490
|
enabled: boolean;
|
|
@@ -507,7 +495,7 @@ export declare const actionZoomOut: {
|
|
|
507
495
|
editingFrame: string | null;
|
|
508
496
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
509
497
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
510
|
-
editingLinearElement: import("@excalidraw/element
|
|
498
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
511
499
|
activeTool: {
|
|
512
500
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
513
501
|
locked: boolean;
|
|
@@ -550,7 +538,7 @@ export declare const actionZoomOut: {
|
|
|
550
538
|
name: "help" | "imageExport" | "jsonExport";
|
|
551
539
|
} | {
|
|
552
540
|
name: "ttd";
|
|
553
|
-
tab: "mermaid" | "text-to-diagram";
|
|
541
|
+
tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
554
542
|
} | {
|
|
555
543
|
name: "commandPalette";
|
|
556
544
|
} | {
|
|
@@ -623,7 +611,7 @@ export declare const actionZoomOut: {
|
|
|
623
611
|
data: import("../charts").Spreadsheet;
|
|
624
612
|
};
|
|
625
613
|
pendingImageElementId: string | null;
|
|
626
|
-
showHyperlinkPopup: false | "
|
|
614
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
627
615
|
linkOpacity: number;
|
|
628
616
|
trayModeEnabled: boolean;
|
|
629
617
|
colorPalette?: {
|
|
@@ -660,7 +648,7 @@ export declare const actionZoomOut: {
|
|
|
660
648
|
nameColor: string;
|
|
661
649
|
};
|
|
662
650
|
invertBindingBehaviour: boolean;
|
|
663
|
-
selectedLinearElement: import("@excalidraw/element
|
|
651
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
664
652
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
665
653
|
originSnapOffset: {
|
|
666
654
|
x: number;
|
|
@@ -670,23 +658,17 @@ export declare const actionZoomOut: {
|
|
|
670
658
|
followedBy: Set<import("../types").SocketId>;
|
|
671
659
|
isCropping: boolean;
|
|
672
660
|
croppingElementId: string | null;
|
|
673
|
-
searchMatches:
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
offsetX: number;
|
|
678
|
-
offsetY: number;
|
|
679
|
-
width: number;
|
|
680
|
-
height: number;
|
|
681
|
-
}[];
|
|
682
|
-
}[];
|
|
661
|
+
searchMatches: Readonly<{
|
|
662
|
+
focusedId: string | null;
|
|
663
|
+
matches: readonly import("../types").SearchMatch[];
|
|
664
|
+
}> | null;
|
|
683
665
|
};
|
|
684
666
|
captureUpdate: "EVENTUALLY";
|
|
685
667
|
};
|
|
686
668
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
687
|
-
keyTest: (event:
|
|
669
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
688
670
|
} & {
|
|
689
|
-
keyTest?: ((event:
|
|
671
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
690
672
|
};
|
|
691
673
|
export declare const actionResetZoom: {
|
|
692
674
|
name: "resetZoom";
|
|
@@ -722,7 +704,7 @@ export declare const actionResetZoom: {
|
|
|
722
704
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
723
705
|
isBindingEnabled: boolean;
|
|
724
706
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
725
|
-
suggestedBindings: import("@excalidraw/element
|
|
707
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
726
708
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
727
709
|
frameRendering: {
|
|
728
710
|
enabled: boolean;
|
|
@@ -733,7 +715,7 @@ export declare const actionResetZoom: {
|
|
|
733
715
|
editingFrame: string | null;
|
|
734
716
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
735
717
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
736
|
-
editingLinearElement: import("@excalidraw/element
|
|
718
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
737
719
|
activeTool: {
|
|
738
720
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
739
721
|
locked: boolean;
|
|
@@ -776,7 +758,7 @@ export declare const actionResetZoom: {
|
|
|
776
758
|
name: "help" | "imageExport" | "jsonExport";
|
|
777
759
|
} | {
|
|
778
760
|
name: "ttd";
|
|
779
|
-
tab: "mermaid" | "text-to-diagram";
|
|
761
|
+
tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
780
762
|
} | {
|
|
781
763
|
name: "commandPalette";
|
|
782
764
|
} | {
|
|
@@ -849,7 +831,7 @@ export declare const actionResetZoom: {
|
|
|
849
831
|
data: import("../charts").Spreadsheet;
|
|
850
832
|
};
|
|
851
833
|
pendingImageElementId: string | null;
|
|
852
|
-
showHyperlinkPopup: false | "
|
|
834
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
853
835
|
linkOpacity: number;
|
|
854
836
|
trayModeEnabled: boolean;
|
|
855
837
|
colorPalette?: {
|
|
@@ -886,7 +868,7 @@ export declare const actionResetZoom: {
|
|
|
886
868
|
nameColor: string;
|
|
887
869
|
};
|
|
888
870
|
invertBindingBehaviour: boolean;
|
|
889
|
-
selectedLinearElement: import("@excalidraw/element
|
|
871
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
890
872
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
891
873
|
originSnapOffset: {
|
|
892
874
|
x: number;
|
|
@@ -896,23 +878,17 @@ export declare const actionResetZoom: {
|
|
|
896
878
|
followedBy: Set<import("../types").SocketId>;
|
|
897
879
|
isCropping: boolean;
|
|
898
880
|
croppingElementId: string | null;
|
|
899
|
-
searchMatches:
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
offsetX: number;
|
|
904
|
-
offsetY: number;
|
|
905
|
-
width: number;
|
|
906
|
-
height: number;
|
|
907
|
-
}[];
|
|
908
|
-
}[];
|
|
881
|
+
searchMatches: Readonly<{
|
|
882
|
+
focusedId: string | null;
|
|
883
|
+
matches: readonly import("../types").SearchMatch[];
|
|
884
|
+
}> | null;
|
|
909
885
|
};
|
|
910
886
|
captureUpdate: "EVENTUALLY";
|
|
911
887
|
};
|
|
912
888
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
913
|
-
keyTest: (event:
|
|
889
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
914
890
|
} & {
|
|
915
|
-
keyTest?: ((event:
|
|
891
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
916
892
|
};
|
|
917
893
|
export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToViewport, viewportZoomFactor, minZoom, maxZoom, }: {
|
|
918
894
|
bounds: SceneBounds;
|
|
@@ -954,7 +930,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
954
930
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
955
931
|
isBindingEnabled: boolean;
|
|
956
932
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
957
|
-
suggestedBindings: import("@excalidraw/element
|
|
933
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
958
934
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
959
935
|
frameRendering: {
|
|
960
936
|
enabled: boolean;
|
|
@@ -965,7 +941,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
965
941
|
editingFrame: string | null;
|
|
966
942
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
967
943
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
968
|
-
editingLinearElement: import("@excalidraw/element
|
|
944
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
969
945
|
activeTool: {
|
|
970
946
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
971
947
|
locked: boolean;
|
|
@@ -1008,7 +984,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
1008
984
|
name: "help" | "imageExport" | "jsonExport";
|
|
1009
985
|
} | {
|
|
1010
986
|
name: "ttd";
|
|
1011
|
-
tab: "mermaid" | "text-to-diagram";
|
|
987
|
+
tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
1012
988
|
} | {
|
|
1013
989
|
name: "commandPalette";
|
|
1014
990
|
} | {
|
|
@@ -1081,7 +1057,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
1081
1057
|
data: import("../charts").Spreadsheet;
|
|
1082
1058
|
};
|
|
1083
1059
|
pendingImageElementId: string | null;
|
|
1084
|
-
showHyperlinkPopup: false | "
|
|
1060
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1085
1061
|
linkOpacity: number;
|
|
1086
1062
|
trayModeEnabled: boolean;
|
|
1087
1063
|
colorPalette?: {
|
|
@@ -1118,7 +1094,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
1118
1094
|
nameColor: string;
|
|
1119
1095
|
};
|
|
1120
1096
|
invertBindingBehaviour: boolean;
|
|
1121
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1097
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1122
1098
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1123
1099
|
originSnapOffset: {
|
|
1124
1100
|
x: number;
|
|
@@ -1129,16 +1105,10 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
1129
1105
|
followedBy: Set<import("../types").SocketId>;
|
|
1130
1106
|
isCropping: boolean;
|
|
1131
1107
|
croppingElementId: string | null;
|
|
1132
|
-
searchMatches:
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
offsetX: number;
|
|
1137
|
-
offsetY: number;
|
|
1138
|
-
width: number;
|
|
1139
|
-
height: number;
|
|
1140
|
-
}[];
|
|
1141
|
-
}[];
|
|
1108
|
+
searchMatches: Readonly<{
|
|
1109
|
+
focusedId: string | null;
|
|
1110
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1111
|
+
}> | null;
|
|
1142
1112
|
};
|
|
1143
1113
|
captureUpdate: "EVENTUALLY";
|
|
1144
1114
|
};
|
|
@@ -1182,7 +1152,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1182
1152
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1183
1153
|
isBindingEnabled: boolean;
|
|
1184
1154
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1185
|
-
suggestedBindings: import("@excalidraw/element
|
|
1155
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1186
1156
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1187
1157
|
frameRendering: {
|
|
1188
1158
|
enabled: boolean;
|
|
@@ -1193,7 +1163,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1193
1163
|
editingFrame: string | null;
|
|
1194
1164
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1195
1165
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1196
|
-
editingLinearElement: import("@excalidraw/element
|
|
1166
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1197
1167
|
activeTool: {
|
|
1198
1168
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1199
1169
|
locked: boolean;
|
|
@@ -1236,7 +1206,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1236
1206
|
name: "help" | "imageExport" | "jsonExport";
|
|
1237
1207
|
} | {
|
|
1238
1208
|
name: "ttd";
|
|
1239
|
-
tab: "mermaid" | "text-to-diagram";
|
|
1209
|
+
tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
1240
1210
|
} | {
|
|
1241
1211
|
name: "commandPalette";
|
|
1242
1212
|
} | {
|
|
@@ -1309,7 +1279,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1309
1279
|
data: import("../charts").Spreadsheet;
|
|
1310
1280
|
};
|
|
1311
1281
|
pendingImageElementId: string | null;
|
|
1312
|
-
showHyperlinkPopup: false | "
|
|
1282
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1313
1283
|
linkOpacity: number;
|
|
1314
1284
|
trayModeEnabled: boolean;
|
|
1315
1285
|
colorPalette?: {
|
|
@@ -1346,7 +1316,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1346
1316
|
nameColor: string;
|
|
1347
1317
|
};
|
|
1348
1318
|
invertBindingBehaviour: boolean;
|
|
1349
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1319
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1350
1320
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1351
1321
|
originSnapOffset: {
|
|
1352
1322
|
x: number;
|
|
@@ -1357,16 +1327,10 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1357
1327
|
followedBy: Set<import("../types").SocketId>;
|
|
1358
1328
|
isCropping: boolean;
|
|
1359
1329
|
croppingElementId: string | null;
|
|
1360
|
-
searchMatches:
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
offsetX: number;
|
|
1365
|
-
offsetY: number;
|
|
1366
|
-
width: number;
|
|
1367
|
-
height: number;
|
|
1368
|
-
}[];
|
|
1369
|
-
}[];
|
|
1330
|
+
searchMatches: Readonly<{
|
|
1331
|
+
focusedId: string | null;
|
|
1332
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1333
|
+
}> | null;
|
|
1370
1334
|
};
|
|
1371
1335
|
captureUpdate: "EVENTUALLY";
|
|
1372
1336
|
};
|
|
@@ -1402,7 +1366,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1402
1366
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1403
1367
|
isBindingEnabled: boolean;
|
|
1404
1368
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1405
|
-
suggestedBindings: import("@excalidraw/element
|
|
1369
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1406
1370
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1407
1371
|
frameRendering: {
|
|
1408
1372
|
enabled: boolean;
|
|
@@ -1413,7 +1377,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1413
1377
|
editingFrame: string | null;
|
|
1414
1378
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1415
1379
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1416
|
-
editingLinearElement: import("@excalidraw/element
|
|
1380
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1417
1381
|
activeTool: {
|
|
1418
1382
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1419
1383
|
locked: boolean;
|
|
@@ -1456,7 +1420,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1456
1420
|
name: "help" | "imageExport" | "jsonExport";
|
|
1457
1421
|
} | {
|
|
1458
1422
|
name: "ttd";
|
|
1459
|
-
tab: "mermaid" | "text-to-diagram";
|
|
1423
|
+
tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
1460
1424
|
} | {
|
|
1461
1425
|
name: "commandPalette";
|
|
1462
1426
|
} | {
|
|
@@ -1529,7 +1493,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1529
1493
|
data: import("../charts").Spreadsheet;
|
|
1530
1494
|
};
|
|
1531
1495
|
pendingImageElementId: string | null;
|
|
1532
|
-
showHyperlinkPopup: false | "
|
|
1496
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1533
1497
|
linkOpacity: number;
|
|
1534
1498
|
trayModeEnabled: boolean;
|
|
1535
1499
|
colorPalette?: {
|
|
@@ -1566,7 +1530,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1566
1530
|
nameColor: string;
|
|
1567
1531
|
};
|
|
1568
1532
|
invertBindingBehaviour: boolean;
|
|
1569
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1533
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1570
1534
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1571
1535
|
originSnapOffset: {
|
|
1572
1536
|
x: number;
|
|
@@ -1577,22 +1541,16 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1577
1541
|
followedBy: Set<import("../types").SocketId>;
|
|
1578
1542
|
isCropping: boolean;
|
|
1579
1543
|
croppingElementId: string | null;
|
|
1580
|
-
searchMatches:
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
offsetX: number;
|
|
1585
|
-
offsetY: number;
|
|
1586
|
-
width: number;
|
|
1587
|
-
height: number;
|
|
1588
|
-
}[];
|
|
1589
|
-
}[];
|
|
1544
|
+
searchMatches: Readonly<{
|
|
1545
|
+
focusedId: string | null;
|
|
1546
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1547
|
+
}> | null;
|
|
1590
1548
|
};
|
|
1591
1549
|
captureUpdate: "EVENTUALLY";
|
|
1592
1550
|
};
|
|
1593
|
-
keyTest: (event:
|
|
1551
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1594
1552
|
} & {
|
|
1595
|
-
keyTest?: ((event:
|
|
1553
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1596
1554
|
};
|
|
1597
1555
|
export declare const actionZoomToFitSelection: {
|
|
1598
1556
|
name: "zoomToFitSelection";
|
|
@@ -1626,7 +1584,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1626
1584
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1627
1585
|
isBindingEnabled: boolean;
|
|
1628
1586
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1629
|
-
suggestedBindings: import("@excalidraw/element
|
|
1587
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1630
1588
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1631
1589
|
frameRendering: {
|
|
1632
1590
|
enabled: boolean;
|
|
@@ -1637,7 +1595,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1637
1595
|
editingFrame: string | null;
|
|
1638
1596
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1639
1597
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1640
|
-
editingLinearElement: import("@excalidraw/element
|
|
1598
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1641
1599
|
activeTool: {
|
|
1642
1600
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1643
1601
|
locked: boolean;
|
|
@@ -1680,7 +1638,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1680
1638
|
name: "help" | "imageExport" | "jsonExport";
|
|
1681
1639
|
} | {
|
|
1682
1640
|
name: "ttd";
|
|
1683
|
-
tab: "mermaid" | "text-to-diagram";
|
|
1641
|
+
tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
1684
1642
|
} | {
|
|
1685
1643
|
name: "commandPalette";
|
|
1686
1644
|
} | {
|
|
@@ -1753,7 +1711,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1753
1711
|
data: import("../charts").Spreadsheet;
|
|
1754
1712
|
};
|
|
1755
1713
|
pendingImageElementId: string | null;
|
|
1756
|
-
showHyperlinkPopup: false | "
|
|
1714
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1757
1715
|
linkOpacity: number;
|
|
1758
1716
|
trayModeEnabled: boolean;
|
|
1759
1717
|
colorPalette?: {
|
|
@@ -1790,7 +1748,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1790
1748
|
nameColor: string;
|
|
1791
1749
|
};
|
|
1792
1750
|
invertBindingBehaviour: boolean;
|
|
1793
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1751
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1794
1752
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1795
1753
|
originSnapOffset: {
|
|
1796
1754
|
x: number;
|
|
@@ -1801,22 +1759,16 @@ export declare const actionZoomToFitSelection: {
|
|
|
1801
1759
|
followedBy: Set<import("../types").SocketId>;
|
|
1802
1760
|
isCropping: boolean;
|
|
1803
1761
|
croppingElementId: string | null;
|
|
1804
|
-
searchMatches:
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
offsetX: number;
|
|
1809
|
-
offsetY: number;
|
|
1810
|
-
width: number;
|
|
1811
|
-
height: number;
|
|
1812
|
-
}[];
|
|
1813
|
-
}[];
|
|
1762
|
+
searchMatches: Readonly<{
|
|
1763
|
+
focusedId: string | null;
|
|
1764
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1765
|
+
}> | null;
|
|
1814
1766
|
};
|
|
1815
1767
|
captureUpdate: "EVENTUALLY";
|
|
1816
1768
|
};
|
|
1817
|
-
keyTest: (event:
|
|
1769
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1818
1770
|
} & {
|
|
1819
|
-
keyTest?: ((event:
|
|
1771
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1820
1772
|
};
|
|
1821
1773
|
export declare const actionZoomToFit: {
|
|
1822
1774
|
name: "zoomToFit";
|
|
@@ -1851,7 +1803,7 @@ export declare const actionZoomToFit: {
|
|
|
1851
1803
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1852
1804
|
isBindingEnabled: boolean;
|
|
1853
1805
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1854
|
-
suggestedBindings: import("@excalidraw/element
|
|
1806
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1855
1807
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1856
1808
|
frameRendering: {
|
|
1857
1809
|
enabled: boolean;
|
|
@@ -1862,7 +1814,7 @@ export declare const actionZoomToFit: {
|
|
|
1862
1814
|
editingFrame: string | null;
|
|
1863
1815
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1864
1816
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1865
|
-
editingLinearElement: import("@excalidraw/element
|
|
1817
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1866
1818
|
activeTool: {
|
|
1867
1819
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1868
1820
|
locked: boolean;
|
|
@@ -1905,7 +1857,7 @@ export declare const actionZoomToFit: {
|
|
|
1905
1857
|
name: "help" | "imageExport" | "jsonExport";
|
|
1906
1858
|
} | {
|
|
1907
1859
|
name: "ttd";
|
|
1908
|
-
tab: "mermaid" | "text-to-diagram";
|
|
1860
|
+
tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
1909
1861
|
} | {
|
|
1910
1862
|
name: "commandPalette";
|
|
1911
1863
|
} | {
|
|
@@ -1978,7 +1930,7 @@ export declare const actionZoomToFit: {
|
|
|
1978
1930
|
data: import("../charts").Spreadsheet;
|
|
1979
1931
|
};
|
|
1980
1932
|
pendingImageElementId: string | null;
|
|
1981
|
-
showHyperlinkPopup: false | "
|
|
1933
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1982
1934
|
linkOpacity: number;
|
|
1983
1935
|
trayModeEnabled: boolean;
|
|
1984
1936
|
colorPalette?: {
|
|
@@ -2015,7 +1967,7 @@ export declare const actionZoomToFit: {
|
|
|
2015
1967
|
nameColor: string;
|
|
2016
1968
|
};
|
|
2017
1969
|
invertBindingBehaviour: boolean;
|
|
2018
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1970
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2019
1971
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2020
1972
|
originSnapOffset: {
|
|
2021
1973
|
x: number;
|
|
@@ -2026,22 +1978,16 @@ export declare const actionZoomToFit: {
|
|
|
2026
1978
|
followedBy: Set<import("../types").SocketId>;
|
|
2027
1979
|
isCropping: boolean;
|
|
2028
1980
|
croppingElementId: string | null;
|
|
2029
|
-
searchMatches:
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
offsetX: number;
|
|
2034
|
-
offsetY: number;
|
|
2035
|
-
width: number;
|
|
2036
|
-
height: number;
|
|
2037
|
-
}[];
|
|
2038
|
-
}[];
|
|
1981
|
+
searchMatches: Readonly<{
|
|
1982
|
+
focusedId: string | null;
|
|
1983
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1984
|
+
}> | null;
|
|
2039
1985
|
};
|
|
2040
1986
|
captureUpdate: "EVENTUALLY";
|
|
2041
1987
|
};
|
|
2042
|
-
keyTest: (event:
|
|
1988
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
2043
1989
|
} & {
|
|
2044
|
-
keyTest?: ((event:
|
|
1990
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
2045
1991
|
};
|
|
2046
1992
|
export declare const actionToggleTheme: {
|
|
2047
1993
|
name: "toggleTheme";
|
|
@@ -2073,7 +2019,7 @@ export declare const actionToggleTheme: {
|
|
|
2073
2019
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2074
2020
|
isBindingEnabled: boolean;
|
|
2075
2021
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2076
|
-
suggestedBindings: import("@excalidraw/element
|
|
2022
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2077
2023
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2078
2024
|
frameRendering: {
|
|
2079
2025
|
enabled: boolean;
|
|
@@ -2084,7 +2030,7 @@ export declare const actionToggleTheme: {
|
|
|
2084
2030
|
editingFrame: string | null;
|
|
2085
2031
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2086
2032
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2087
|
-
editingLinearElement: import("@excalidraw/element
|
|
2033
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2088
2034
|
activeTool: {
|
|
2089
2035
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2090
2036
|
locked: boolean;
|
|
@@ -2132,7 +2078,7 @@ export declare const actionToggleTheme: {
|
|
|
2132
2078
|
name: "help" | "imageExport" | "jsonExport";
|
|
2133
2079
|
} | {
|
|
2134
2080
|
name: "ttd";
|
|
2135
|
-
tab: "mermaid" | "text-to-diagram";
|
|
2081
|
+
tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
2136
2082
|
} | {
|
|
2137
2083
|
name: "commandPalette";
|
|
2138
2084
|
} | {
|
|
@@ -2204,7 +2150,7 @@ export declare const actionToggleTheme: {
|
|
|
2204
2150
|
data: import("../charts").Spreadsheet;
|
|
2205
2151
|
};
|
|
2206
2152
|
pendingImageElementId: string | null;
|
|
2207
|
-
showHyperlinkPopup: false | "
|
|
2153
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2208
2154
|
linkOpacity: number;
|
|
2209
2155
|
trayModeEnabled: boolean;
|
|
2210
2156
|
colorPalette?: {
|
|
@@ -2241,7 +2187,7 @@ export declare const actionToggleTheme: {
|
|
|
2241
2187
|
nameColor: string;
|
|
2242
2188
|
};
|
|
2243
2189
|
invertBindingBehaviour: boolean;
|
|
2244
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2190
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2245
2191
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2246
2192
|
originSnapOffset: {
|
|
2247
2193
|
x: number;
|
|
@@ -2252,23 +2198,17 @@ export declare const actionToggleTheme: {
|
|
|
2252
2198
|
followedBy: Set<import("../types").SocketId>;
|
|
2253
2199
|
isCropping: boolean;
|
|
2254
2200
|
croppingElementId: string | null;
|
|
2255
|
-
searchMatches:
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
offsetX: number;
|
|
2260
|
-
offsetY: number;
|
|
2261
|
-
width: number;
|
|
2262
|
-
height: number;
|
|
2263
|
-
}[];
|
|
2264
|
-
}[];
|
|
2201
|
+
searchMatches: Readonly<{
|
|
2202
|
+
focusedId: string | null;
|
|
2203
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2204
|
+
}> | null;
|
|
2265
2205
|
};
|
|
2266
2206
|
captureUpdate: "EVENTUALLY";
|
|
2267
2207
|
};
|
|
2268
|
-
keyTest: (event:
|
|
2208
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
2269
2209
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
2270
2210
|
} & {
|
|
2271
|
-
keyTest?: ((event:
|
|
2211
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
2272
2212
|
};
|
|
2273
2213
|
export declare const actionToggleEraserTool: {
|
|
2274
2214
|
name: "toggleEraserTool";
|
|
@@ -2300,7 +2240,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2300
2240
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2301
2241
|
isBindingEnabled: boolean;
|
|
2302
2242
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2303
|
-
suggestedBindings: import("@excalidraw/element
|
|
2243
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2304
2244
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2305
2245
|
frameRendering: {
|
|
2306
2246
|
enabled: boolean;
|
|
@@ -2311,7 +2251,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2311
2251
|
editingFrame: string | null;
|
|
2312
2252
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2313
2253
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2314
|
-
editingLinearElement: import("@excalidraw/element
|
|
2254
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2315
2255
|
penMode: boolean;
|
|
2316
2256
|
penDetected: boolean;
|
|
2317
2257
|
exportBackground: boolean;
|
|
@@ -2354,7 +2294,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2354
2294
|
name: "help" | "imageExport" | "jsonExport";
|
|
2355
2295
|
} | {
|
|
2356
2296
|
name: "ttd";
|
|
2357
|
-
tab: "mermaid" | "text-to-diagram";
|
|
2297
|
+
tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
2358
2298
|
} | {
|
|
2359
2299
|
name: "commandPalette";
|
|
2360
2300
|
} | {
|
|
@@ -2421,7 +2361,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2421
2361
|
data: import("../charts").Spreadsheet;
|
|
2422
2362
|
};
|
|
2423
2363
|
pendingImageElementId: string | null;
|
|
2424
|
-
showHyperlinkPopup: false | "
|
|
2364
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2425
2365
|
linkOpacity: number;
|
|
2426
2366
|
trayModeEnabled: boolean;
|
|
2427
2367
|
colorPalette?: {
|
|
@@ -2458,7 +2398,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2458
2398
|
nameColor: string;
|
|
2459
2399
|
};
|
|
2460
2400
|
invertBindingBehaviour: boolean;
|
|
2461
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2401
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2462
2402
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2463
2403
|
originSnapOffset: {
|
|
2464
2404
|
x: number;
|
|
@@ -2469,22 +2409,16 @@ export declare const actionToggleEraserTool: {
|
|
|
2469
2409
|
followedBy: Set<import("../types").SocketId>;
|
|
2470
2410
|
isCropping: boolean;
|
|
2471
2411
|
croppingElementId: string | null;
|
|
2472
|
-
searchMatches:
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
offsetX: number;
|
|
2477
|
-
offsetY: number;
|
|
2478
|
-
width: number;
|
|
2479
|
-
height: number;
|
|
2480
|
-
}[];
|
|
2481
|
-
}[];
|
|
2412
|
+
searchMatches: Readonly<{
|
|
2413
|
+
focusedId: string | null;
|
|
2414
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2415
|
+
}> | null;
|
|
2482
2416
|
};
|
|
2483
2417
|
captureUpdate: "IMMEDIATELY";
|
|
2484
2418
|
};
|
|
2485
|
-
keyTest: (event:
|
|
2419
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
2486
2420
|
} & {
|
|
2487
|
-
keyTest?: ((event:
|
|
2421
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
2488
2422
|
};
|
|
2489
2423
|
export declare const actionToggleLassoTool: {
|
|
2490
2424
|
name: "toggleLassoTool";
|
|
@@ -2517,7 +2451,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2517
2451
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2518
2452
|
isBindingEnabled: boolean;
|
|
2519
2453
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2520
|
-
suggestedBindings: import("@excalidraw/element
|
|
2454
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2521
2455
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2522
2456
|
frameRendering: {
|
|
2523
2457
|
enabled: boolean;
|
|
@@ -2528,7 +2462,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2528
2462
|
editingFrame: string | null;
|
|
2529
2463
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2530
2464
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2531
|
-
editingLinearElement: import("@excalidraw/element
|
|
2465
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2532
2466
|
penMode: boolean;
|
|
2533
2467
|
penDetected: boolean;
|
|
2534
2468
|
exportBackground: boolean;
|
|
@@ -2571,7 +2505,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2571
2505
|
name: "help" | "imageExport" | "jsonExport";
|
|
2572
2506
|
} | {
|
|
2573
2507
|
name: "ttd";
|
|
2574
|
-
tab: "mermaid" | "text-to-diagram";
|
|
2508
|
+
tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
2575
2509
|
} | {
|
|
2576
2510
|
name: "commandPalette";
|
|
2577
2511
|
} | {
|
|
@@ -2638,7 +2572,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2638
2572
|
data: import("../charts").Spreadsheet;
|
|
2639
2573
|
};
|
|
2640
2574
|
pendingImageElementId: string | null;
|
|
2641
|
-
showHyperlinkPopup: false | "
|
|
2575
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2642
2576
|
linkOpacity: number;
|
|
2643
2577
|
trayModeEnabled: boolean;
|
|
2644
2578
|
colorPalette?: {
|
|
@@ -2675,7 +2609,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2675
2609
|
nameColor: string;
|
|
2676
2610
|
};
|
|
2677
2611
|
invertBindingBehaviour: boolean;
|
|
2678
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2612
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2679
2613
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2680
2614
|
originSnapOffset: {
|
|
2681
2615
|
x: number;
|
|
@@ -2686,16 +2620,10 @@ export declare const actionToggleLassoTool: {
|
|
|
2686
2620
|
followedBy: Set<import("../types").SocketId>;
|
|
2687
2621
|
isCropping: boolean;
|
|
2688
2622
|
croppingElementId: string | null;
|
|
2689
|
-
searchMatches:
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
offsetX: number;
|
|
2694
|
-
offsetY: number;
|
|
2695
|
-
width: number;
|
|
2696
|
-
height: number;
|
|
2697
|
-
}[];
|
|
2698
|
-
}[];
|
|
2623
|
+
searchMatches: Readonly<{
|
|
2624
|
+
focusedId: string | null;
|
|
2625
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2626
|
+
}> | null;
|
|
2699
2627
|
};
|
|
2700
2628
|
captureUpdate: "NEVER";
|
|
2701
2629
|
};
|
|
@@ -2734,7 +2662,7 @@ export declare const actionToggleHandTool: {
|
|
|
2734
2662
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2735
2663
|
isBindingEnabled: boolean;
|
|
2736
2664
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2737
|
-
suggestedBindings: import("@excalidraw/element
|
|
2665
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2738
2666
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2739
2667
|
frameRendering: {
|
|
2740
2668
|
enabled: boolean;
|
|
@@ -2745,7 +2673,7 @@ export declare const actionToggleHandTool: {
|
|
|
2745
2673
|
editingFrame: string | null;
|
|
2746
2674
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2747
2675
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2748
|
-
editingLinearElement: import("@excalidraw/element
|
|
2676
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2749
2677
|
penMode: boolean;
|
|
2750
2678
|
penDetected: boolean;
|
|
2751
2679
|
exportBackground: boolean;
|
|
@@ -2788,7 +2716,7 @@ export declare const actionToggleHandTool: {
|
|
|
2788
2716
|
name: "help" | "imageExport" | "jsonExport";
|
|
2789
2717
|
} | {
|
|
2790
2718
|
name: "ttd";
|
|
2791
|
-
tab: "mermaid" | "text-to-diagram";
|
|
2719
|
+
tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
2792
2720
|
} | {
|
|
2793
2721
|
name: "commandPalette";
|
|
2794
2722
|
} | {
|
|
@@ -2855,7 +2783,7 @@ export declare const actionToggleHandTool: {
|
|
|
2855
2783
|
data: import("../charts").Spreadsheet;
|
|
2856
2784
|
};
|
|
2857
2785
|
pendingImageElementId: string | null;
|
|
2858
|
-
showHyperlinkPopup: false | "
|
|
2786
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2859
2787
|
linkOpacity: number;
|
|
2860
2788
|
trayModeEnabled: boolean;
|
|
2861
2789
|
colorPalette?: {
|
|
@@ -2892,7 +2820,7 @@ export declare const actionToggleHandTool: {
|
|
|
2892
2820
|
nameColor: string;
|
|
2893
2821
|
};
|
|
2894
2822
|
invertBindingBehaviour: boolean;
|
|
2895
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2823
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2896
2824
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2897
2825
|
originSnapOffset: {
|
|
2898
2826
|
x: number;
|
|
@@ -2903,22 +2831,16 @@ export declare const actionToggleHandTool: {
|
|
|
2903
2831
|
followedBy: Set<import("../types").SocketId>;
|
|
2904
2832
|
isCropping: boolean;
|
|
2905
2833
|
croppingElementId: string | null;
|
|
2906
|
-
searchMatches:
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
offsetX: number;
|
|
2911
|
-
offsetY: number;
|
|
2912
|
-
width: number;
|
|
2913
|
-
height: number;
|
|
2914
|
-
}[];
|
|
2915
|
-
}[];
|
|
2834
|
+
searchMatches: Readonly<{
|
|
2835
|
+
focusedId: string | null;
|
|
2836
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2837
|
+
}> | null;
|
|
2916
2838
|
};
|
|
2917
2839
|
captureUpdate: "IMMEDIATELY";
|
|
2918
2840
|
};
|
|
2919
|
-
keyTest: (event:
|
|
2841
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
2920
2842
|
} & {
|
|
2921
|
-
keyTest?: ((event:
|
|
2843
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
2922
2844
|
};
|
|
2923
2845
|
export declare const actionToggleLaserPointer: {
|
|
2924
2846
|
name: "toggleLaserPointerTool";
|
|
@@ -2950,7 +2872,7 @@ export declare const actionToggleLaserPointer: {
|
|
|
2950
2872
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2951
2873
|
isBindingEnabled: boolean;
|
|
2952
2874
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2953
|
-
suggestedBindings: import("@excalidraw/element
|
|
2875
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2954
2876
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2955
2877
|
frameRendering: {
|
|
2956
2878
|
enabled: boolean;
|
|
@@ -2961,7 +2883,7 @@ export declare const actionToggleLaserPointer: {
|
|
|
2961
2883
|
editingFrame: string | null;
|
|
2962
2884
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2963
2885
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2964
|
-
editingLinearElement: import("@excalidraw/element
|
|
2886
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2965
2887
|
penMode: boolean;
|
|
2966
2888
|
penDetected: boolean;
|
|
2967
2889
|
exportBackground: boolean;
|
|
@@ -3004,7 +2926,7 @@ export declare const actionToggleLaserPointer: {
|
|
|
3004
2926
|
name: "help" | "imageExport" | "jsonExport";
|
|
3005
2927
|
} | {
|
|
3006
2928
|
name: "ttd";
|
|
3007
|
-
tab: "mermaid" | "text-to-diagram";
|
|
2929
|
+
tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
3008
2930
|
} | {
|
|
3009
2931
|
name: "commandPalette";
|
|
3010
2932
|
} | {
|
|
@@ -3071,7 +2993,7 @@ export declare const actionToggleLaserPointer: {
|
|
|
3071
2993
|
data: import("../charts").Spreadsheet;
|
|
3072
2994
|
};
|
|
3073
2995
|
pendingImageElementId: string | null;
|
|
3074
|
-
showHyperlinkPopup: false | "
|
|
2996
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
3075
2997
|
linkOpacity: number;
|
|
3076
2998
|
trayModeEnabled: boolean;
|
|
3077
2999
|
colorPalette?: {
|
|
@@ -3108,7 +3030,7 @@ export declare const actionToggleLaserPointer: {
|
|
|
3108
3030
|
nameColor: string;
|
|
3109
3031
|
};
|
|
3110
3032
|
invertBindingBehaviour: boolean;
|
|
3111
|
-
selectedLinearElement: import("@excalidraw/element
|
|
3033
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
3112
3034
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
3113
3035
|
originSnapOffset: {
|
|
3114
3036
|
x: number;
|
|
@@ -3119,16 +3041,10 @@ export declare const actionToggleLaserPointer: {
|
|
|
3119
3041
|
followedBy: Set<import("../types").SocketId>;
|
|
3120
3042
|
isCropping: boolean;
|
|
3121
3043
|
croppingElementId: string | null;
|
|
3122
|
-
searchMatches:
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
offsetX: number;
|
|
3127
|
-
offsetY: number;
|
|
3128
|
-
width: number;
|
|
3129
|
-
height: number;
|
|
3130
|
-
}[];
|
|
3131
|
-
}[];
|
|
3044
|
+
searchMatches: Readonly<{
|
|
3045
|
+
focusedId: string | null;
|
|
3046
|
+
matches: readonly import("../types").SearchMatch[];
|
|
3047
|
+
}> | null;
|
|
3132
3048
|
};
|
|
3133
3049
|
captureUpdate: "NEVER";
|
|
3134
3050
|
};
|
|
@@ -3163,7 +3079,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
3163
3079
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
3164
3080
|
isBindingEnabled: boolean;
|
|
3165
3081
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
3166
|
-
suggestedBindings: import("@excalidraw/element
|
|
3082
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
3167
3083
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
3168
3084
|
frameRendering: {
|
|
3169
3085
|
enabled: boolean;
|
|
@@ -3174,7 +3090,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
3174
3090
|
editingFrame: string | null;
|
|
3175
3091
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
3176
3092
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
3177
|
-
editingLinearElement: import("@excalidraw/element
|
|
3093
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
3178
3094
|
activeTool: {
|
|
3179
3095
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
3180
3096
|
locked: boolean;
|
|
@@ -3217,7 +3133,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
3217
3133
|
name: "help" | "imageExport" | "jsonExport";
|
|
3218
3134
|
} | {
|
|
3219
3135
|
name: "ttd";
|
|
3220
|
-
tab: "mermaid" | "text-to-diagram";
|
|
3136
|
+
tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
|
|
3221
3137
|
} | {
|
|
3222
3138
|
name: "commandPalette";
|
|
3223
3139
|
} | {
|
|
@@ -3290,7 +3206,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
3290
3206
|
data: import("../charts").Spreadsheet;
|
|
3291
3207
|
};
|
|
3292
3208
|
pendingImageElementId: string | null;
|
|
3293
|
-
showHyperlinkPopup: false | "
|
|
3209
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
3294
3210
|
linkOpacity: number;
|
|
3295
3211
|
trayModeEnabled: boolean;
|
|
3296
3212
|
colorPalette?: {
|
|
@@ -3327,7 +3243,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
3327
3243
|
nameColor: string;
|
|
3328
3244
|
};
|
|
3329
3245
|
invertBindingBehaviour: boolean;
|
|
3330
|
-
selectedLinearElement: import("@excalidraw/element
|
|
3246
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
3331
3247
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
3332
3248
|
originSnapOffset: {
|
|
3333
3249
|
x: number;
|
|
@@ -3338,16 +3254,10 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
3338
3254
|
followedBy: Set<import("../types").SocketId>;
|
|
3339
3255
|
isCropping: boolean;
|
|
3340
3256
|
croppingElementId: string | null;
|
|
3341
|
-
searchMatches:
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
offsetX: number;
|
|
3346
|
-
offsetY: number;
|
|
3347
|
-
width: number;
|
|
3348
|
-
height: number;
|
|
3349
|
-
}[];
|
|
3350
|
-
}[];
|
|
3257
|
+
searchMatches: Readonly<{
|
|
3258
|
+
focusedId: string | null;
|
|
3259
|
+
matches: readonly import("../types").SearchMatch[];
|
|
3260
|
+
}> | null;
|
|
3351
3261
|
};
|
|
3352
3262
|
commitToHistory: boolean;
|
|
3353
3263
|
};
|