@zsviczian/excalidraw 0.18.0-5 → 0.18.0-50
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 +745 -503
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +0 -2
- package/dist/styles.development.css +1062 -429
- package/dist/styles.production.css +26 -22
- package/package.json +14 -3
- package/types/common/src/commonObsidianUtils.d.ts +13 -0
- package/types/common/src/constants.d.ts +42 -18
- package/types/common/src/editorInterface.d.ts +35 -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 +2 -0
- package/types/common/src/utility-types.d.ts +5 -0
- package/types/common/src/utils.d.ts +20 -5
- package/types/{excalidraw/scene → element/src}/Scene.d.ts +16 -15
- package/types/element/src/align.d.ts +4 -3
- package/types/element/src/binding.d.ts +27 -17
- package/types/element/src/bounds.d.ts +14 -6
- package/types/element/src/collision.d.ts +18 -12
- package/types/element/src/cropElement.d.ts +1 -1
- package/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +77 -40
- package/types/element/src/distance.d.ts +2 -2
- package/types/element/src/distribute.d.ts +2 -1
- package/types/element/src/dragElements.d.ts +3 -2
- package/types/element/src/duplicate.d.ts +10 -13
- package/types/element/src/elbowArrow.d.ts +1 -1
- package/types/element/src/flowchart.d.ts +3 -2
- package/types/element/src/fractionalIndex.d.ts +9 -3
- package/types/element/src/frame.d.ts +5 -4
- package/types/element/src/groups.d.ts +1 -0
- package/types/element/src/index.d.ts +44 -2
- package/types/element/src/linearElementEditor.d.ts +23 -36
- package/types/element/src/mutateElement.d.ts +11 -3
- package/types/element/src/newElement.d.ts +6 -4
- package/types/element/src/positionElementsOnGrid.d.ts +2 -0
- package/types/element/src/renderElement.d.ts +4 -1
- package/types/element/src/resizeElements.d.ts +6 -5
- package/types/element/src/resizeTest.d.ts +5 -4
- package/types/element/src/selection.d.ts +11 -5
- package/types/element/src/shape.d.ts +42 -0
- package/types/element/src/sizeHelpers.d.ts +2 -2
- package/types/element/src/store.d.ts +237 -0
- package/types/element/src/textElement.d.ts +5 -3
- package/types/element/src/transformHandles.d.ts +5 -4
- package/types/element/src/typeChecks.d.ts +19 -1
- package/types/element/src/types.d.ts +25 -2
- package/types/element/src/utils.d.ts +16 -6
- package/types/element/src/zindex.d.ts +1 -1
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +75 -54
- package/types/excalidraw/actions/actionBoundText.d.ts +50 -36
- package/types/excalidraw/actions/actionCanvas.d.ts +388 -282
- package/types/excalidraw/actions/actionClipboard.d.ts +151 -107
- package/types/excalidraw/actions/actionCropEditor.d.ts +25 -18
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +77 -55
- package/types/excalidraw/actions/actionDuplicateSelection.d.ts +1 -1
- package/types/excalidraw/actions/actionElementLink.d.ts +25 -18
- package/types/excalidraw/actions/actionElementLock.d.ts +65 -52
- package/types/excalidraw/actions/actionEmbeddable.d.ts +25 -18
- package/types/excalidraw/actions/actionExport.d.ts +237 -174
- package/types/excalidraw/actions/actionFinalize.d.ts +307 -43
- package/types/excalidraw/actions/actionFrame.d.ts +157 -120
- package/types/excalidraw/actions/actionGroup.d.ts +50 -36
- package/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/types/excalidraw/actions/actionLinearEditor.d.ts +563 -20
- package/types/excalidraw/actions/actionLink.d.ts +23 -16
- package/types/excalidraw/actions/actionMenu.d.ts +25 -456
- package/types/excalidraw/actions/actionNavigate.d.ts +49 -35
- package/types/excalidraw/actions/actionProperties.d.ts +629 -273
- package/types/excalidraw/actions/actionSelectAll.d.ts +25 -18
- package/types/excalidraw/actions/actionStyles.d.ts +25 -18
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +25 -18
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +25 -18
- package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +25 -223
- package/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/types/excalidraw/actions/actionToggleStats.d.ts +25 -18
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +25 -18
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +26 -19
- package/types/excalidraw/actions/actionTrayMenu.d.ts +226 -0
- package/types/excalidraw/actions/index.d.ts +4 -2
- package/types/excalidraw/actions/types.d.ts +4 -3
- package/types/excalidraw/appState.d.ts +24 -10
- package/types/excalidraw/clipboard.d.ts +68 -5
- package/types/excalidraw/components/Actions.d.ts +20 -7
- package/types/excalidraw/components/App.d.ts +63 -38
- package/types/excalidraw/components/ButtonIcon.d.ts +1 -0
- 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 +4 -3
- package/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +3 -3
- package/types/excalidraw/components/ColorPicker/ShadeList.d.ts +3 -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/CommandPalette/CommandPalette.d.ts +1 -0
- package/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
- package/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
- package/types/excalidraw/components/Ellipsify.d.ts +3 -0
- package/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
- package/types/excalidraw/components/FixedSideContainer.d.ts +2 -1
- package/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
- package/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +3 -1
- package/types/excalidraw/components/HintViewer.d.ts +4 -3
- package/types/excalidraw/components/InlineIcon.d.ts +3 -1
- package/types/excalidraw/components/LayerUI.d.ts +2 -1
- package/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/types/excalidraw/components/MobileMenu.d.ts +4 -5
- package/types/excalidraw/components/MobileToolBar.d.ts +10 -0
- package/types/excalidraw/components/Popover.d.ts +2 -1
- package/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
- package/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
- package/types/excalidraw/components/Range.d.ts +3 -3
- package/types/excalidraw/components/Section.d.ts +1 -0
- 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 +12 -2
- 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 +4 -11
- package/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -2
- package/types/excalidraw/components/TextField.d.ts +1 -0
- package/types/excalidraw/components/ToolPopover.d.ts +25 -0
- package/types/excalidraw/components/TrayMenu.d.ts +26 -0
- package/types/excalidraw/components/UnlockPopup.d.ts +8 -0
- package/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +4 -2
- package/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +4 -2
- package/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +2 -1
- package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
- package/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
- package/types/excalidraw/components/icons.d.ts +13 -0
- package/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +14 -1
- package/types/excalidraw/components/main-menu/MainMenu.d.ts +0 -3
- package/types/excalidraw/components/shapes.d.ts +115 -5
- package/types/excalidraw/data/blob.d.ts +3 -7
- package/types/excalidraw/data/reconcile.d.ts +1 -0
- package/types/excalidraw/data/restore.d.ts +6 -1
- package/types/excalidraw/data/transform.d.ts +1 -1
- package/types/excalidraw/data/types.d.ts +4 -1
- package/types/excalidraw/editor-jotai.d.ts +6 -6
- package/types/excalidraw/eraser/index.d.ts +12 -0
- package/types/excalidraw/fonts/Fonts.d.ts +1 -1
- package/types/excalidraw/history.d.ts +30 -22
- package/types/excalidraw/hooks/useEmitter.d.ts +1 -1
- package/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
- package/types/excalidraw/index.d.ts +15 -14
- package/types/excalidraw/lasso/index.d.ts +1 -0
- package/types/excalidraw/lasso/utils.d.ts +3 -3
- package/types/excalidraw/obsidianUtils.d.ts +22 -4
- package/types/excalidraw/renderer/helpers.d.ts +7 -2
- package/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
- package/types/excalidraw/renderer/staticScene.d.ts +4 -1
- package/types/excalidraw/scene/Renderer.d.ts +1 -2
- package/types/excalidraw/scene/index.d.ts +2 -2
- package/types/excalidraw/scene/scrollbars.d.ts +2 -3
- package/types/excalidraw/scene/types.d.ts +5 -3
- package/types/excalidraw/shortcut.d.ts +1 -0
- package/types/excalidraw/snapping.d.ts +2 -2
- package/types/excalidraw/types.d.ts +68 -30
- package/types/excalidraw/webpack.dev.config.d.ts +2 -0
- package/types/excalidraw/webpack.prod.config.d.ts +2 -0
- package/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
- package/types/math/src/angle.d.ts +2 -0
- package/types/math/src/constants.d.ts +3 -0
- package/types/math/src/curve.d.ts +34 -0
- package/types/math/src/index.d.ts +1 -0
- package/types/math/src/point.d.ts +1 -1
- package/types/math/src/rectangle.d.ts +2 -0
- package/types/math/src/segment.d.ts +1 -0
- package/types/math/src/types.d.ts +1 -0
- package/types/math/src/vector.d.ts +8 -2
- 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/element/src/Shape.d.ts +0 -17
- package/types/element/src/ShapeCache.d.ts +0 -25
- package/types/element/src/shapes.d.ts +0 -23
- package/types/excalidraw/components/ButtonSelect.d.ts +0 -9
- package/types/excalidraw/store.d.ts +0 -129
- package/types/excalidraw/visualdebug.d.ts +0 -41
- package/types/utils/src/collision.d.ts +0 -8
|
@@ -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: {
|
|
@@ -10,7 +10,7 @@ export declare const actionChangeViewBackgroundColor: {
|
|
|
10
10
|
appState: any;
|
|
11
11
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
12
12
|
};
|
|
13
|
-
PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
PanelComponent: ({ elements, appState, updateData, appProps, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
} & {
|
|
15
15
|
keyTest?: undefined;
|
|
16
16
|
};
|
|
@@ -60,9 +60,9 @@ export declare const actionClearCanvas: {
|
|
|
60
60
|
elementBackground: [string, string, string, string, string];
|
|
61
61
|
};
|
|
62
62
|
} | undefined;
|
|
63
|
-
trayModeEnabled: boolean;
|
|
64
63
|
allowPinchZoom: boolean | undefined;
|
|
65
64
|
allowWheelZoom: boolean | undefined;
|
|
65
|
+
disableContextMenu: boolean;
|
|
66
66
|
pinnedScripts: string[] | undefined;
|
|
67
67
|
customPens: any[] | undefined;
|
|
68
68
|
viewBackgroundColor: string;
|
|
@@ -71,6 +71,8 @@ export declare const actionClearCanvas: {
|
|
|
71
71
|
name: boolean;
|
|
72
72
|
outline: boolean;
|
|
73
73
|
clip: boolean;
|
|
74
|
+
markerName: boolean;
|
|
75
|
+
markerEnabled: boolean;
|
|
74
76
|
};
|
|
75
77
|
frameColor: {
|
|
76
78
|
stroke: string;
|
|
@@ -100,20 +102,18 @@ export declare const actionClearCanvas: {
|
|
|
100
102
|
[id: string]: true;
|
|
101
103
|
}>;
|
|
102
104
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
103
|
-
pendingImageElementId: string | null;
|
|
104
105
|
activeEmbeddable: {
|
|
105
106
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
106
107
|
state: "active" | "hover";
|
|
107
108
|
} | null;
|
|
108
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
109
109
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
110
110
|
selectedGroupIds: {
|
|
111
111
|
[groupId: string]: boolean;
|
|
112
112
|
};
|
|
113
|
-
selectedLinearElement: import("@excalidraw/element
|
|
113
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
114
114
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
115
115
|
isBindingEnabled: boolean;
|
|
116
|
-
suggestedBindings: import("@excalidraw/element
|
|
116
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
117
117
|
isRotating: boolean;
|
|
118
118
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
119
119
|
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
@@ -143,28 +143,18 @@ export declare const actionClearCanvas: {
|
|
|
143
143
|
Bold: string;
|
|
144
144
|
Regular: string;
|
|
145
145
|
};
|
|
146
|
+
gridDirection: {
|
|
147
|
+
horizontal: boolean;
|
|
148
|
+
vertical: boolean;
|
|
149
|
+
};
|
|
146
150
|
highlightSearchResult: boolean;
|
|
147
151
|
isCropping: boolean;
|
|
148
152
|
croppingElementId: string | null;
|
|
149
|
-
searchMatches:
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
offsetY: number;
|
|
155
|
-
width: number;
|
|
156
|
-
height: number;
|
|
157
|
-
}[];
|
|
158
|
-
}[];
|
|
159
|
-
objectsSnapModeEnabled: boolean;
|
|
160
|
-
shouldCacheIgnoreZoom: boolean;
|
|
161
|
-
exportScale: number;
|
|
162
|
-
selectedElementsAreBeingDragged: boolean;
|
|
163
|
-
linkOpacity: number;
|
|
164
|
-
currentHoveredFontFamily: number | null;
|
|
165
|
-
hoveredElementIds: Readonly<{
|
|
166
|
-
[id: string]: true;
|
|
167
|
-
}>;
|
|
153
|
+
searchMatches: Readonly<{
|
|
154
|
+
focusedId: string | null;
|
|
155
|
+
matches: readonly import("../types").SearchMatch[];
|
|
156
|
+
}> | null;
|
|
157
|
+
activeLockedId: string | null;
|
|
168
158
|
contextMenu: {
|
|
169
159
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
170
160
|
top: number;
|
|
@@ -177,7 +167,12 @@ export declare const actionClearCanvas: {
|
|
|
177
167
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
178
168
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
179
169
|
editingFrame: string | null;
|
|
170
|
+
preferredSelectionTool: {
|
|
171
|
+
type: "selection" | "lasso";
|
|
172
|
+
initialized: boolean;
|
|
173
|
+
};
|
|
180
174
|
exportWithDarkMode: boolean;
|
|
175
|
+
exportScale: number;
|
|
181
176
|
currentItemStrokeColor: string;
|
|
182
177
|
currentItemBackgroundColor: string;
|
|
183
178
|
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
@@ -190,22 +185,29 @@ export declare const actionClearCanvas: {
|
|
|
190
185
|
currentItemTextAlign: string;
|
|
191
186
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
192
187
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
188
|
+
currentHoveredFontFamily: number | null;
|
|
193
189
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
194
190
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
191
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
195
192
|
cursorButton: "up" | "down";
|
|
196
193
|
scrolledOutside: boolean;
|
|
197
194
|
isResizing: boolean;
|
|
198
|
-
openMenu: "
|
|
199
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
195
|
+
openMenu: "canvas" | "shape" | null;
|
|
196
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
200
197
|
openSidebar: {
|
|
201
198
|
name: string;
|
|
202
199
|
tab?: string | undefined;
|
|
203
200
|
} | null;
|
|
204
201
|
defaultSidebarDockedPreference: boolean;
|
|
205
202
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
203
|
+
hoveredElementIds: Readonly<{
|
|
204
|
+
[id: string]: true;
|
|
205
|
+
}>;
|
|
206
206
|
previousSelectedElementIds: {
|
|
207
207
|
[id: string]: true;
|
|
208
208
|
};
|
|
209
|
+
selectedElementsAreBeingDragged: boolean;
|
|
210
|
+
shouldCacheIgnoreZoom: boolean;
|
|
209
211
|
toast: {
|
|
210
212
|
message: string;
|
|
211
213
|
closable?: boolean | undefined;
|
|
@@ -213,7 +215,8 @@ export declare const actionClearCanvas: {
|
|
|
213
215
|
} | null;
|
|
214
216
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
215
217
|
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
216
|
-
showHyperlinkPopup: false | "
|
|
218
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
219
|
+
linkOpacity: number;
|
|
217
220
|
currentStrokeOptions?: any;
|
|
218
221
|
resetCustomPen?: any;
|
|
219
222
|
dynamicStyle: {
|
|
@@ -224,8 +227,12 @@ export declare const actionClearCanvas: {
|
|
|
224
227
|
x: number;
|
|
225
228
|
y: number;
|
|
226
229
|
} | null;
|
|
230
|
+
objectsSnapModeEnabled: boolean;
|
|
227
231
|
userToFollow: import("../types").UserToFollow | null;
|
|
228
232
|
followedBy: Set<import("../types").SocketId>;
|
|
233
|
+
lockedMultiSelections: {
|
|
234
|
+
[groupId: string]: true;
|
|
235
|
+
};
|
|
229
236
|
};
|
|
230
237
|
captureUpdate: "IMMEDIATELY";
|
|
231
238
|
};
|
|
@@ -266,23 +273,28 @@ export declare const actionZoomIn: {
|
|
|
266
273
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
267
274
|
isBindingEnabled: boolean;
|
|
268
275
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
269
|
-
suggestedBindings: import("@excalidraw/element
|
|
276
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
270
277
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
271
278
|
frameRendering: {
|
|
272
279
|
enabled: boolean;
|
|
273
280
|
name: boolean;
|
|
274
281
|
outline: boolean;
|
|
275
282
|
clip: boolean;
|
|
283
|
+
markerName: boolean;
|
|
284
|
+
markerEnabled: boolean;
|
|
276
285
|
};
|
|
277
286
|
editingFrame: string | null;
|
|
278
287
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
279
288
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
280
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
281
289
|
activeTool: {
|
|
282
290
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
283
291
|
locked: boolean;
|
|
284
292
|
fromSelection: boolean;
|
|
285
293
|
} & import("../types").ActiveTool;
|
|
294
|
+
preferredSelectionTool: {
|
|
295
|
+
type: "selection" | "lasso";
|
|
296
|
+
initialized: boolean;
|
|
297
|
+
};
|
|
286
298
|
penMode: boolean;
|
|
287
299
|
penDetected: boolean;
|
|
288
300
|
exportBackground: boolean;
|
|
@@ -304,14 +316,15 @@ export declare const actionZoomIn: {
|
|
|
304
316
|
currentHoveredFontFamily: number | null;
|
|
305
317
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
306
318
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
319
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
307
320
|
viewBackgroundColor: string;
|
|
308
321
|
cursorButton: "up" | "down";
|
|
309
322
|
scrolledOutside: boolean;
|
|
310
323
|
name: string | null;
|
|
311
324
|
isResizing: boolean;
|
|
312
325
|
isRotating: boolean;
|
|
313
|
-
openMenu: "
|
|
314
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
326
|
+
openMenu: "canvas" | "shape" | null;
|
|
327
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
315
328
|
openSidebar: {
|
|
316
329
|
name: string;
|
|
317
330
|
tab?: string | undefined;
|
|
@@ -392,10 +405,8 @@ export declare const actionZoomIn: {
|
|
|
392
405
|
shown: true;
|
|
393
406
|
data: import("../charts").Spreadsheet;
|
|
394
407
|
};
|
|
395
|
-
|
|
396
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
408
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
397
409
|
linkOpacity: number;
|
|
398
|
-
trayModeEnabled: boolean;
|
|
399
410
|
colorPalette?: {
|
|
400
411
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
401
412
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -408,6 +419,7 @@ export declare const actionZoomIn: {
|
|
|
408
419
|
} | undefined;
|
|
409
420
|
allowWheelZoom?: boolean | undefined;
|
|
410
421
|
allowPinchZoom?: boolean | undefined;
|
|
422
|
+
disableContextMenu: boolean;
|
|
411
423
|
pinnedScripts?: string[] | undefined;
|
|
412
424
|
customPens?: any[] | undefined;
|
|
413
425
|
currentStrokeOptions?: any;
|
|
@@ -416,6 +428,10 @@ export declare const actionZoomIn: {
|
|
|
416
428
|
Bold: string;
|
|
417
429
|
Regular: string;
|
|
418
430
|
};
|
|
431
|
+
gridDirection: {
|
|
432
|
+
horizontal: boolean;
|
|
433
|
+
vertical: boolean;
|
|
434
|
+
};
|
|
419
435
|
highlightSearchResult: boolean;
|
|
420
436
|
dynamicStyle: {
|
|
421
437
|
[x: string]: string;
|
|
@@ -426,7 +442,7 @@ export declare const actionZoomIn: {
|
|
|
426
442
|
nameColor: string;
|
|
427
443
|
};
|
|
428
444
|
invertBindingBehaviour: boolean;
|
|
429
|
-
selectedLinearElement: import("@excalidraw/element
|
|
445
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
430
446
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
431
447
|
originSnapOffset: {
|
|
432
448
|
x: number;
|
|
@@ -436,16 +452,14 @@ export declare const actionZoomIn: {
|
|
|
436
452
|
followedBy: Set<import("../types").SocketId>;
|
|
437
453
|
isCropping: boolean;
|
|
438
454
|
croppingElementId: string | null;
|
|
439
|
-
searchMatches:
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
}[];
|
|
448
|
-
}[];
|
|
455
|
+
searchMatches: Readonly<{
|
|
456
|
+
focusedId: string | null;
|
|
457
|
+
matches: readonly import("../types").SearchMatch[];
|
|
458
|
+
}> | null;
|
|
459
|
+
activeLockedId: string | null;
|
|
460
|
+
lockedMultiSelections: {
|
|
461
|
+
[groupId: string]: true;
|
|
462
|
+
};
|
|
449
463
|
};
|
|
450
464
|
captureUpdate: "EVENTUALLY";
|
|
451
465
|
};
|
|
@@ -488,23 +502,28 @@ export declare const actionZoomOut: {
|
|
|
488
502
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
489
503
|
isBindingEnabled: boolean;
|
|
490
504
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
491
|
-
suggestedBindings: import("@excalidraw/element
|
|
505
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
492
506
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
493
507
|
frameRendering: {
|
|
494
508
|
enabled: boolean;
|
|
495
509
|
name: boolean;
|
|
496
510
|
outline: boolean;
|
|
497
511
|
clip: boolean;
|
|
512
|
+
markerName: boolean;
|
|
513
|
+
markerEnabled: boolean;
|
|
498
514
|
};
|
|
499
515
|
editingFrame: string | null;
|
|
500
516
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
501
517
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
502
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
503
518
|
activeTool: {
|
|
504
519
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
505
520
|
locked: boolean;
|
|
506
521
|
fromSelection: boolean;
|
|
507
522
|
} & import("../types").ActiveTool;
|
|
523
|
+
preferredSelectionTool: {
|
|
524
|
+
type: "selection" | "lasso";
|
|
525
|
+
initialized: boolean;
|
|
526
|
+
};
|
|
508
527
|
penMode: boolean;
|
|
509
528
|
penDetected: boolean;
|
|
510
529
|
exportBackground: boolean;
|
|
@@ -526,14 +545,15 @@ export declare const actionZoomOut: {
|
|
|
526
545
|
currentHoveredFontFamily: number | null;
|
|
527
546
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
528
547
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
548
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
529
549
|
viewBackgroundColor: string;
|
|
530
550
|
cursorButton: "up" | "down";
|
|
531
551
|
scrolledOutside: boolean;
|
|
532
552
|
name: string | null;
|
|
533
553
|
isResizing: boolean;
|
|
534
554
|
isRotating: boolean;
|
|
535
|
-
openMenu: "
|
|
536
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
555
|
+
openMenu: "canvas" | "shape" | null;
|
|
556
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
537
557
|
openSidebar: {
|
|
538
558
|
name: string;
|
|
539
559
|
tab?: string | undefined;
|
|
@@ -614,10 +634,8 @@ export declare const actionZoomOut: {
|
|
|
614
634
|
shown: true;
|
|
615
635
|
data: import("../charts").Spreadsheet;
|
|
616
636
|
};
|
|
617
|
-
|
|
618
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
637
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
619
638
|
linkOpacity: number;
|
|
620
|
-
trayModeEnabled: boolean;
|
|
621
639
|
colorPalette?: {
|
|
622
640
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
623
641
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -630,6 +648,7 @@ export declare const actionZoomOut: {
|
|
|
630
648
|
} | undefined;
|
|
631
649
|
allowWheelZoom?: boolean | undefined;
|
|
632
650
|
allowPinchZoom?: boolean | undefined;
|
|
651
|
+
disableContextMenu: boolean;
|
|
633
652
|
pinnedScripts?: string[] | undefined;
|
|
634
653
|
customPens?: any[] | undefined;
|
|
635
654
|
currentStrokeOptions?: any;
|
|
@@ -638,6 +657,10 @@ export declare const actionZoomOut: {
|
|
|
638
657
|
Bold: string;
|
|
639
658
|
Regular: string;
|
|
640
659
|
};
|
|
660
|
+
gridDirection: {
|
|
661
|
+
horizontal: boolean;
|
|
662
|
+
vertical: boolean;
|
|
663
|
+
};
|
|
641
664
|
highlightSearchResult: boolean;
|
|
642
665
|
dynamicStyle: {
|
|
643
666
|
[x: string]: string;
|
|
@@ -648,7 +671,7 @@ export declare const actionZoomOut: {
|
|
|
648
671
|
nameColor: string;
|
|
649
672
|
};
|
|
650
673
|
invertBindingBehaviour: boolean;
|
|
651
|
-
selectedLinearElement: import("@excalidraw/element
|
|
674
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
652
675
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
653
676
|
originSnapOffset: {
|
|
654
677
|
x: number;
|
|
@@ -658,16 +681,14 @@ export declare const actionZoomOut: {
|
|
|
658
681
|
followedBy: Set<import("../types").SocketId>;
|
|
659
682
|
isCropping: boolean;
|
|
660
683
|
croppingElementId: string | null;
|
|
661
|
-
searchMatches:
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
}[];
|
|
670
|
-
}[];
|
|
684
|
+
searchMatches: Readonly<{
|
|
685
|
+
focusedId: string | null;
|
|
686
|
+
matches: readonly import("../types").SearchMatch[];
|
|
687
|
+
}> | null;
|
|
688
|
+
activeLockedId: string | null;
|
|
689
|
+
lockedMultiSelections: {
|
|
690
|
+
[groupId: string]: true;
|
|
691
|
+
};
|
|
671
692
|
};
|
|
672
693
|
captureUpdate: "EVENTUALLY";
|
|
673
694
|
};
|
|
@@ -710,23 +731,28 @@ export declare const actionResetZoom: {
|
|
|
710
731
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
711
732
|
isBindingEnabled: boolean;
|
|
712
733
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
713
|
-
suggestedBindings: import("@excalidraw/element
|
|
734
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
714
735
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
715
736
|
frameRendering: {
|
|
716
737
|
enabled: boolean;
|
|
717
738
|
name: boolean;
|
|
718
739
|
outline: boolean;
|
|
719
740
|
clip: boolean;
|
|
741
|
+
markerName: boolean;
|
|
742
|
+
markerEnabled: boolean;
|
|
720
743
|
};
|
|
721
744
|
editingFrame: string | null;
|
|
722
745
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
723
746
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
724
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
725
747
|
activeTool: {
|
|
726
748
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
727
749
|
locked: boolean;
|
|
728
750
|
fromSelection: boolean;
|
|
729
751
|
} & import("../types").ActiveTool;
|
|
752
|
+
preferredSelectionTool: {
|
|
753
|
+
type: "selection" | "lasso";
|
|
754
|
+
initialized: boolean;
|
|
755
|
+
};
|
|
730
756
|
penMode: boolean;
|
|
731
757
|
penDetected: boolean;
|
|
732
758
|
exportBackground: boolean;
|
|
@@ -748,14 +774,15 @@ export declare const actionResetZoom: {
|
|
|
748
774
|
currentHoveredFontFamily: number | null;
|
|
749
775
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
750
776
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
777
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
751
778
|
viewBackgroundColor: string;
|
|
752
779
|
cursorButton: "up" | "down";
|
|
753
780
|
scrolledOutside: boolean;
|
|
754
781
|
name: string | null;
|
|
755
782
|
isResizing: boolean;
|
|
756
783
|
isRotating: boolean;
|
|
757
|
-
openMenu: "
|
|
758
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
784
|
+
openMenu: "canvas" | "shape" | null;
|
|
785
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
759
786
|
openSidebar: {
|
|
760
787
|
name: string;
|
|
761
788
|
tab?: string | undefined;
|
|
@@ -836,10 +863,8 @@ export declare const actionResetZoom: {
|
|
|
836
863
|
shown: true;
|
|
837
864
|
data: import("../charts").Spreadsheet;
|
|
838
865
|
};
|
|
839
|
-
|
|
840
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
866
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
841
867
|
linkOpacity: number;
|
|
842
|
-
trayModeEnabled: boolean;
|
|
843
868
|
colorPalette?: {
|
|
844
869
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
845
870
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -852,6 +877,7 @@ export declare const actionResetZoom: {
|
|
|
852
877
|
} | undefined;
|
|
853
878
|
allowWheelZoom?: boolean | undefined;
|
|
854
879
|
allowPinchZoom?: boolean | undefined;
|
|
880
|
+
disableContextMenu: boolean;
|
|
855
881
|
pinnedScripts?: string[] | undefined;
|
|
856
882
|
customPens?: any[] | undefined;
|
|
857
883
|
currentStrokeOptions?: any;
|
|
@@ -860,6 +886,10 @@ export declare const actionResetZoom: {
|
|
|
860
886
|
Bold: string;
|
|
861
887
|
Regular: string;
|
|
862
888
|
};
|
|
889
|
+
gridDirection: {
|
|
890
|
+
horizontal: boolean;
|
|
891
|
+
vertical: boolean;
|
|
892
|
+
};
|
|
863
893
|
highlightSearchResult: boolean;
|
|
864
894
|
dynamicStyle: {
|
|
865
895
|
[x: string]: string;
|
|
@@ -870,7 +900,7 @@ export declare const actionResetZoom: {
|
|
|
870
900
|
nameColor: string;
|
|
871
901
|
};
|
|
872
902
|
invertBindingBehaviour: boolean;
|
|
873
|
-
selectedLinearElement: import("@excalidraw/element
|
|
903
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
874
904
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
875
905
|
originSnapOffset: {
|
|
876
906
|
x: number;
|
|
@@ -880,16 +910,14 @@ export declare const actionResetZoom: {
|
|
|
880
910
|
followedBy: Set<import("../types").SocketId>;
|
|
881
911
|
isCropping: boolean;
|
|
882
912
|
croppingElementId: string | null;
|
|
883
|
-
searchMatches:
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
}[];
|
|
892
|
-
}[];
|
|
913
|
+
searchMatches: Readonly<{
|
|
914
|
+
focusedId: string | null;
|
|
915
|
+
matches: readonly import("../types").SearchMatch[];
|
|
916
|
+
}> | null;
|
|
917
|
+
activeLockedId: string | null;
|
|
918
|
+
lockedMultiSelections: {
|
|
919
|
+
[groupId: string]: true;
|
|
920
|
+
};
|
|
893
921
|
};
|
|
894
922
|
captureUpdate: "EVENTUALLY";
|
|
895
923
|
};
|
|
@@ -938,23 +966,28 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
938
966
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
939
967
|
isBindingEnabled: boolean;
|
|
940
968
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
941
|
-
suggestedBindings: import("@excalidraw/element
|
|
969
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
942
970
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
943
971
|
frameRendering: {
|
|
944
972
|
enabled: boolean;
|
|
945
973
|
name: boolean;
|
|
946
974
|
outline: boolean;
|
|
947
975
|
clip: boolean;
|
|
976
|
+
markerName: boolean;
|
|
977
|
+
markerEnabled: boolean;
|
|
948
978
|
};
|
|
949
979
|
editingFrame: string | null;
|
|
950
980
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
951
981
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
952
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
953
982
|
activeTool: {
|
|
954
983
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
955
984
|
locked: boolean;
|
|
956
985
|
fromSelection: boolean;
|
|
957
986
|
} & import("../types").ActiveTool;
|
|
987
|
+
preferredSelectionTool: {
|
|
988
|
+
type: "selection" | "lasso";
|
|
989
|
+
initialized: boolean;
|
|
990
|
+
};
|
|
958
991
|
penMode: boolean;
|
|
959
992
|
penDetected: boolean;
|
|
960
993
|
exportBackground: boolean;
|
|
@@ -976,14 +1009,15 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
976
1009
|
currentHoveredFontFamily: number | null;
|
|
977
1010
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
978
1011
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1012
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
979
1013
|
viewBackgroundColor: string;
|
|
980
1014
|
cursorButton: "up" | "down";
|
|
981
1015
|
scrolledOutside: boolean;
|
|
982
1016
|
name: string | null;
|
|
983
1017
|
isResizing: boolean;
|
|
984
1018
|
isRotating: boolean;
|
|
985
|
-
openMenu: "
|
|
986
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1019
|
+
openMenu: "canvas" | "shape" | null;
|
|
1020
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
987
1021
|
openSidebar: {
|
|
988
1022
|
name: string;
|
|
989
1023
|
tab?: string | undefined;
|
|
@@ -1064,10 +1098,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
1064
1098
|
shown: true;
|
|
1065
1099
|
data: import("../charts").Spreadsheet;
|
|
1066
1100
|
};
|
|
1067
|
-
|
|
1068
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
1101
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1069
1102
|
linkOpacity: number;
|
|
1070
|
-
trayModeEnabled: boolean;
|
|
1071
1103
|
colorPalette?: {
|
|
1072
1104
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
1073
1105
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -1080,6 +1112,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
1080
1112
|
} | undefined;
|
|
1081
1113
|
allowWheelZoom?: boolean | undefined;
|
|
1082
1114
|
allowPinchZoom?: boolean | undefined;
|
|
1115
|
+
disableContextMenu: boolean;
|
|
1083
1116
|
pinnedScripts?: string[] | undefined;
|
|
1084
1117
|
customPens?: any[] | undefined;
|
|
1085
1118
|
currentStrokeOptions?: any;
|
|
@@ -1088,6 +1121,10 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
1088
1121
|
Bold: string;
|
|
1089
1122
|
Regular: string;
|
|
1090
1123
|
};
|
|
1124
|
+
gridDirection: {
|
|
1125
|
+
horizontal: boolean;
|
|
1126
|
+
vertical: boolean;
|
|
1127
|
+
};
|
|
1091
1128
|
highlightSearchResult: boolean;
|
|
1092
1129
|
dynamicStyle: {
|
|
1093
1130
|
[x: string]: string;
|
|
@@ -1098,7 +1135,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
1098
1135
|
nameColor: string;
|
|
1099
1136
|
};
|
|
1100
1137
|
invertBindingBehaviour: boolean;
|
|
1101
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1138
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1102
1139
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1103
1140
|
originSnapOffset: {
|
|
1104
1141
|
x: number;
|
|
@@ -1109,16 +1146,14 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
1109
1146
|
followedBy: Set<import("../types").SocketId>;
|
|
1110
1147
|
isCropping: boolean;
|
|
1111
1148
|
croppingElementId: string | null;
|
|
1112
|
-
searchMatches:
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
}[];
|
|
1121
|
-
}[];
|
|
1149
|
+
searchMatches: Readonly<{
|
|
1150
|
+
focusedId: string | null;
|
|
1151
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1152
|
+
}> | null;
|
|
1153
|
+
activeLockedId: string | null;
|
|
1154
|
+
lockedMultiSelections: {
|
|
1155
|
+
[groupId: string]: true;
|
|
1156
|
+
};
|
|
1122
1157
|
};
|
|
1123
1158
|
captureUpdate: "EVENTUALLY";
|
|
1124
1159
|
};
|
|
@@ -1162,23 +1197,28 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1162
1197
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1163
1198
|
isBindingEnabled: boolean;
|
|
1164
1199
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1165
|
-
suggestedBindings: import("@excalidraw/element
|
|
1200
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1166
1201
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1167
1202
|
frameRendering: {
|
|
1168
1203
|
enabled: boolean;
|
|
1169
1204
|
name: boolean;
|
|
1170
1205
|
outline: boolean;
|
|
1171
1206
|
clip: boolean;
|
|
1207
|
+
markerName: boolean;
|
|
1208
|
+
markerEnabled: boolean;
|
|
1172
1209
|
};
|
|
1173
1210
|
editingFrame: string | null;
|
|
1174
1211
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1175
1212
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1176
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1177
1213
|
activeTool: {
|
|
1178
1214
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1179
1215
|
locked: boolean;
|
|
1180
1216
|
fromSelection: boolean;
|
|
1181
1217
|
} & import("../types").ActiveTool;
|
|
1218
|
+
preferredSelectionTool: {
|
|
1219
|
+
type: "selection" | "lasso";
|
|
1220
|
+
initialized: boolean;
|
|
1221
|
+
};
|
|
1182
1222
|
penMode: boolean;
|
|
1183
1223
|
penDetected: boolean;
|
|
1184
1224
|
exportBackground: boolean;
|
|
@@ -1200,14 +1240,15 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1200
1240
|
currentHoveredFontFamily: number | null;
|
|
1201
1241
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1202
1242
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1243
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
1203
1244
|
viewBackgroundColor: string;
|
|
1204
1245
|
cursorButton: "up" | "down";
|
|
1205
1246
|
scrolledOutside: boolean;
|
|
1206
1247
|
name: string | null;
|
|
1207
1248
|
isResizing: boolean;
|
|
1208
1249
|
isRotating: boolean;
|
|
1209
|
-
openMenu: "
|
|
1210
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1250
|
+
openMenu: "canvas" | "shape" | null;
|
|
1251
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1211
1252
|
openSidebar: {
|
|
1212
1253
|
name: string;
|
|
1213
1254
|
tab?: string | undefined;
|
|
@@ -1288,10 +1329,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1288
1329
|
shown: true;
|
|
1289
1330
|
data: import("../charts").Spreadsheet;
|
|
1290
1331
|
};
|
|
1291
|
-
|
|
1292
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
1332
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1293
1333
|
linkOpacity: number;
|
|
1294
|
-
trayModeEnabled: boolean;
|
|
1295
1334
|
colorPalette?: {
|
|
1296
1335
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
1297
1336
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -1304,6 +1343,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1304
1343
|
} | undefined;
|
|
1305
1344
|
allowWheelZoom?: boolean | undefined;
|
|
1306
1345
|
allowPinchZoom?: boolean | undefined;
|
|
1346
|
+
disableContextMenu: boolean;
|
|
1307
1347
|
pinnedScripts?: string[] | undefined;
|
|
1308
1348
|
customPens?: any[] | undefined;
|
|
1309
1349
|
currentStrokeOptions?: any;
|
|
@@ -1312,6 +1352,10 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1312
1352
|
Bold: string;
|
|
1313
1353
|
Regular: string;
|
|
1314
1354
|
};
|
|
1355
|
+
gridDirection: {
|
|
1356
|
+
horizontal: boolean;
|
|
1357
|
+
vertical: boolean;
|
|
1358
|
+
};
|
|
1315
1359
|
highlightSearchResult: boolean;
|
|
1316
1360
|
dynamicStyle: {
|
|
1317
1361
|
[x: string]: string;
|
|
@@ -1322,7 +1366,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1322
1366
|
nameColor: string;
|
|
1323
1367
|
};
|
|
1324
1368
|
invertBindingBehaviour: boolean;
|
|
1325
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1369
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1326
1370
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1327
1371
|
originSnapOffset: {
|
|
1328
1372
|
x: number;
|
|
@@ -1333,16 +1377,14 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1333
1377
|
followedBy: Set<import("../types").SocketId>;
|
|
1334
1378
|
isCropping: boolean;
|
|
1335
1379
|
croppingElementId: string | null;
|
|
1336
|
-
searchMatches:
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
}[];
|
|
1345
|
-
}[];
|
|
1380
|
+
searchMatches: Readonly<{
|
|
1381
|
+
focusedId: string | null;
|
|
1382
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1383
|
+
}> | null;
|
|
1384
|
+
activeLockedId: string | null;
|
|
1385
|
+
lockedMultiSelections: {
|
|
1386
|
+
[groupId: string]: true;
|
|
1387
|
+
};
|
|
1346
1388
|
};
|
|
1347
1389
|
captureUpdate: "EVENTUALLY";
|
|
1348
1390
|
};
|
|
@@ -1378,23 +1420,28 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1378
1420
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1379
1421
|
isBindingEnabled: boolean;
|
|
1380
1422
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1381
|
-
suggestedBindings: import("@excalidraw/element
|
|
1423
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1382
1424
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1383
1425
|
frameRendering: {
|
|
1384
1426
|
enabled: boolean;
|
|
1385
1427
|
name: boolean;
|
|
1386
1428
|
outline: boolean;
|
|
1387
1429
|
clip: boolean;
|
|
1430
|
+
markerName: boolean;
|
|
1431
|
+
markerEnabled: boolean;
|
|
1388
1432
|
};
|
|
1389
1433
|
editingFrame: string | null;
|
|
1390
1434
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1391
1435
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1392
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1393
1436
|
activeTool: {
|
|
1394
1437
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1395
1438
|
locked: boolean;
|
|
1396
1439
|
fromSelection: boolean;
|
|
1397
1440
|
} & import("../types").ActiveTool;
|
|
1441
|
+
preferredSelectionTool: {
|
|
1442
|
+
type: "selection" | "lasso";
|
|
1443
|
+
initialized: boolean;
|
|
1444
|
+
};
|
|
1398
1445
|
penMode: boolean;
|
|
1399
1446
|
penDetected: boolean;
|
|
1400
1447
|
exportBackground: boolean;
|
|
@@ -1416,14 +1463,15 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1416
1463
|
currentHoveredFontFamily: number | null;
|
|
1417
1464
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1418
1465
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1466
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
1419
1467
|
viewBackgroundColor: string;
|
|
1420
1468
|
cursorButton: "up" | "down";
|
|
1421
1469
|
scrolledOutside: boolean;
|
|
1422
1470
|
name: string | null;
|
|
1423
1471
|
isResizing: boolean;
|
|
1424
1472
|
isRotating: boolean;
|
|
1425
|
-
openMenu: "
|
|
1426
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1473
|
+
openMenu: "canvas" | "shape" | null;
|
|
1474
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1427
1475
|
openSidebar: {
|
|
1428
1476
|
name: string;
|
|
1429
1477
|
tab?: string | undefined;
|
|
@@ -1504,10 +1552,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1504
1552
|
shown: true;
|
|
1505
1553
|
data: import("../charts").Spreadsheet;
|
|
1506
1554
|
};
|
|
1507
|
-
|
|
1508
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
1555
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1509
1556
|
linkOpacity: number;
|
|
1510
|
-
trayModeEnabled: boolean;
|
|
1511
1557
|
colorPalette?: {
|
|
1512
1558
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
1513
1559
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -1520,6 +1566,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1520
1566
|
} | undefined;
|
|
1521
1567
|
allowWheelZoom?: boolean | undefined;
|
|
1522
1568
|
allowPinchZoom?: boolean | undefined;
|
|
1569
|
+
disableContextMenu: boolean;
|
|
1523
1570
|
pinnedScripts?: string[] | undefined;
|
|
1524
1571
|
customPens?: any[] | undefined;
|
|
1525
1572
|
currentStrokeOptions?: any;
|
|
@@ -1528,6 +1575,10 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1528
1575
|
Bold: string;
|
|
1529
1576
|
Regular: string;
|
|
1530
1577
|
};
|
|
1578
|
+
gridDirection: {
|
|
1579
|
+
horizontal: boolean;
|
|
1580
|
+
vertical: boolean;
|
|
1581
|
+
};
|
|
1531
1582
|
highlightSearchResult: boolean;
|
|
1532
1583
|
dynamicStyle: {
|
|
1533
1584
|
[x: string]: string;
|
|
@@ -1538,7 +1589,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1538
1589
|
nameColor: string;
|
|
1539
1590
|
};
|
|
1540
1591
|
invertBindingBehaviour: boolean;
|
|
1541
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1592
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1542
1593
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1543
1594
|
originSnapOffset: {
|
|
1544
1595
|
x: number;
|
|
@@ -1549,16 +1600,14 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1549
1600
|
followedBy: Set<import("../types").SocketId>;
|
|
1550
1601
|
isCropping: boolean;
|
|
1551
1602
|
croppingElementId: string | null;
|
|
1552
|
-
searchMatches:
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
}[];
|
|
1561
|
-
}[];
|
|
1603
|
+
searchMatches: Readonly<{
|
|
1604
|
+
focusedId: string | null;
|
|
1605
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1606
|
+
}> | null;
|
|
1607
|
+
activeLockedId: string | null;
|
|
1608
|
+
lockedMultiSelections: {
|
|
1609
|
+
[groupId: string]: true;
|
|
1610
|
+
};
|
|
1562
1611
|
};
|
|
1563
1612
|
captureUpdate: "EVENTUALLY";
|
|
1564
1613
|
};
|
|
@@ -1598,23 +1647,28 @@ export declare const actionZoomToFitSelection: {
|
|
|
1598
1647
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1599
1648
|
isBindingEnabled: boolean;
|
|
1600
1649
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1601
|
-
suggestedBindings: import("@excalidraw/element
|
|
1650
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1602
1651
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1603
1652
|
frameRendering: {
|
|
1604
1653
|
enabled: boolean;
|
|
1605
1654
|
name: boolean;
|
|
1606
1655
|
outline: boolean;
|
|
1607
1656
|
clip: boolean;
|
|
1657
|
+
markerName: boolean;
|
|
1658
|
+
markerEnabled: boolean;
|
|
1608
1659
|
};
|
|
1609
1660
|
editingFrame: string | null;
|
|
1610
1661
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1611
1662
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1612
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1613
1663
|
activeTool: {
|
|
1614
1664
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1615
1665
|
locked: boolean;
|
|
1616
1666
|
fromSelection: boolean;
|
|
1617
1667
|
} & import("../types").ActiveTool;
|
|
1668
|
+
preferredSelectionTool: {
|
|
1669
|
+
type: "selection" | "lasso";
|
|
1670
|
+
initialized: boolean;
|
|
1671
|
+
};
|
|
1618
1672
|
penMode: boolean;
|
|
1619
1673
|
penDetected: boolean;
|
|
1620
1674
|
exportBackground: boolean;
|
|
@@ -1636,14 +1690,15 @@ export declare const actionZoomToFitSelection: {
|
|
|
1636
1690
|
currentHoveredFontFamily: number | null;
|
|
1637
1691
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1638
1692
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1693
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
1639
1694
|
viewBackgroundColor: string;
|
|
1640
1695
|
cursorButton: "up" | "down";
|
|
1641
1696
|
scrolledOutside: boolean;
|
|
1642
1697
|
name: string | null;
|
|
1643
1698
|
isResizing: boolean;
|
|
1644
1699
|
isRotating: boolean;
|
|
1645
|
-
openMenu: "
|
|
1646
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1700
|
+
openMenu: "canvas" | "shape" | null;
|
|
1701
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1647
1702
|
openSidebar: {
|
|
1648
1703
|
name: string;
|
|
1649
1704
|
tab?: string | undefined;
|
|
@@ -1724,10 +1779,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
1724
1779
|
shown: true;
|
|
1725
1780
|
data: import("../charts").Spreadsheet;
|
|
1726
1781
|
};
|
|
1727
|
-
|
|
1728
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
1782
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1729
1783
|
linkOpacity: number;
|
|
1730
|
-
trayModeEnabled: boolean;
|
|
1731
1784
|
colorPalette?: {
|
|
1732
1785
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
1733
1786
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -1740,6 +1793,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1740
1793
|
} | undefined;
|
|
1741
1794
|
allowWheelZoom?: boolean | undefined;
|
|
1742
1795
|
allowPinchZoom?: boolean | undefined;
|
|
1796
|
+
disableContextMenu: boolean;
|
|
1743
1797
|
pinnedScripts?: string[] | undefined;
|
|
1744
1798
|
customPens?: any[] | undefined;
|
|
1745
1799
|
currentStrokeOptions?: any;
|
|
@@ -1748,6 +1802,10 @@ export declare const actionZoomToFitSelection: {
|
|
|
1748
1802
|
Bold: string;
|
|
1749
1803
|
Regular: string;
|
|
1750
1804
|
};
|
|
1805
|
+
gridDirection: {
|
|
1806
|
+
horizontal: boolean;
|
|
1807
|
+
vertical: boolean;
|
|
1808
|
+
};
|
|
1751
1809
|
highlightSearchResult: boolean;
|
|
1752
1810
|
dynamicStyle: {
|
|
1753
1811
|
[x: string]: string;
|
|
@@ -1758,7 +1816,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1758
1816
|
nameColor: string;
|
|
1759
1817
|
};
|
|
1760
1818
|
invertBindingBehaviour: boolean;
|
|
1761
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1819
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1762
1820
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1763
1821
|
originSnapOffset: {
|
|
1764
1822
|
x: number;
|
|
@@ -1769,16 +1827,14 @@ export declare const actionZoomToFitSelection: {
|
|
|
1769
1827
|
followedBy: Set<import("../types").SocketId>;
|
|
1770
1828
|
isCropping: boolean;
|
|
1771
1829
|
croppingElementId: string | null;
|
|
1772
|
-
searchMatches:
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
}[];
|
|
1781
|
-
}[];
|
|
1830
|
+
searchMatches: Readonly<{
|
|
1831
|
+
focusedId: string | null;
|
|
1832
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1833
|
+
}> | null;
|
|
1834
|
+
activeLockedId: string | null;
|
|
1835
|
+
lockedMultiSelections: {
|
|
1836
|
+
[groupId: string]: true;
|
|
1837
|
+
};
|
|
1782
1838
|
};
|
|
1783
1839
|
captureUpdate: "EVENTUALLY";
|
|
1784
1840
|
};
|
|
@@ -1819,23 +1875,28 @@ export declare const actionZoomToFit: {
|
|
|
1819
1875
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1820
1876
|
isBindingEnabled: boolean;
|
|
1821
1877
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1822
|
-
suggestedBindings: import("@excalidraw/element
|
|
1878
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1823
1879
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1824
1880
|
frameRendering: {
|
|
1825
1881
|
enabled: boolean;
|
|
1826
1882
|
name: boolean;
|
|
1827
1883
|
outline: boolean;
|
|
1828
1884
|
clip: boolean;
|
|
1885
|
+
markerName: boolean;
|
|
1886
|
+
markerEnabled: boolean;
|
|
1829
1887
|
};
|
|
1830
1888
|
editingFrame: string | null;
|
|
1831
1889
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1832
1890
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1833
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1834
1891
|
activeTool: {
|
|
1835
1892
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1836
1893
|
locked: boolean;
|
|
1837
1894
|
fromSelection: boolean;
|
|
1838
1895
|
} & import("../types").ActiveTool;
|
|
1896
|
+
preferredSelectionTool: {
|
|
1897
|
+
type: "selection" | "lasso";
|
|
1898
|
+
initialized: boolean;
|
|
1899
|
+
};
|
|
1839
1900
|
penMode: boolean;
|
|
1840
1901
|
penDetected: boolean;
|
|
1841
1902
|
exportBackground: boolean;
|
|
@@ -1857,14 +1918,15 @@ export declare const actionZoomToFit: {
|
|
|
1857
1918
|
currentHoveredFontFamily: number | null;
|
|
1858
1919
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1859
1920
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1921
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
1860
1922
|
viewBackgroundColor: string;
|
|
1861
1923
|
cursorButton: "up" | "down";
|
|
1862
1924
|
scrolledOutside: boolean;
|
|
1863
1925
|
name: string | null;
|
|
1864
1926
|
isResizing: boolean;
|
|
1865
1927
|
isRotating: boolean;
|
|
1866
|
-
openMenu: "
|
|
1867
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1928
|
+
openMenu: "canvas" | "shape" | null;
|
|
1929
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1868
1930
|
openSidebar: {
|
|
1869
1931
|
name: string;
|
|
1870
1932
|
tab?: string | undefined;
|
|
@@ -1945,10 +2007,8 @@ export declare const actionZoomToFit: {
|
|
|
1945
2007
|
shown: true;
|
|
1946
2008
|
data: import("../charts").Spreadsheet;
|
|
1947
2009
|
};
|
|
1948
|
-
|
|
1949
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
2010
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1950
2011
|
linkOpacity: number;
|
|
1951
|
-
trayModeEnabled: boolean;
|
|
1952
2012
|
colorPalette?: {
|
|
1953
2013
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
1954
2014
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -1961,6 +2021,7 @@ export declare const actionZoomToFit: {
|
|
|
1961
2021
|
} | undefined;
|
|
1962
2022
|
allowWheelZoom?: boolean | undefined;
|
|
1963
2023
|
allowPinchZoom?: boolean | undefined;
|
|
2024
|
+
disableContextMenu: boolean;
|
|
1964
2025
|
pinnedScripts?: string[] | undefined;
|
|
1965
2026
|
customPens?: any[] | undefined;
|
|
1966
2027
|
currentStrokeOptions?: any;
|
|
@@ -1969,6 +2030,10 @@ export declare const actionZoomToFit: {
|
|
|
1969
2030
|
Bold: string;
|
|
1970
2031
|
Regular: string;
|
|
1971
2032
|
};
|
|
2033
|
+
gridDirection: {
|
|
2034
|
+
horizontal: boolean;
|
|
2035
|
+
vertical: boolean;
|
|
2036
|
+
};
|
|
1972
2037
|
highlightSearchResult: boolean;
|
|
1973
2038
|
dynamicStyle: {
|
|
1974
2039
|
[x: string]: string;
|
|
@@ -1979,7 +2044,7 @@ export declare const actionZoomToFit: {
|
|
|
1979
2044
|
nameColor: string;
|
|
1980
2045
|
};
|
|
1981
2046
|
invertBindingBehaviour: boolean;
|
|
1982
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2047
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1983
2048
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1984
2049
|
originSnapOffset: {
|
|
1985
2050
|
x: number;
|
|
@@ -1990,16 +2055,14 @@ export declare const actionZoomToFit: {
|
|
|
1990
2055
|
followedBy: Set<import("../types").SocketId>;
|
|
1991
2056
|
isCropping: boolean;
|
|
1992
2057
|
croppingElementId: string | null;
|
|
1993
|
-
searchMatches:
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
}[];
|
|
2002
|
-
}[];
|
|
2058
|
+
searchMatches: Readonly<{
|
|
2059
|
+
focusedId: string | null;
|
|
2060
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2061
|
+
}> | null;
|
|
2062
|
+
activeLockedId: string | null;
|
|
2063
|
+
lockedMultiSelections: {
|
|
2064
|
+
[groupId: string]: true;
|
|
2065
|
+
};
|
|
2003
2066
|
};
|
|
2004
2067
|
captureUpdate: "EVENTUALLY";
|
|
2005
2068
|
};
|
|
@@ -2037,23 +2100,28 @@ export declare const actionToggleTheme: {
|
|
|
2037
2100
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2038
2101
|
isBindingEnabled: boolean;
|
|
2039
2102
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2040
|
-
suggestedBindings: import("@excalidraw/element
|
|
2103
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2041
2104
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2042
2105
|
frameRendering: {
|
|
2043
2106
|
enabled: boolean;
|
|
2044
2107
|
name: boolean;
|
|
2045
2108
|
outline: boolean;
|
|
2046
2109
|
clip: boolean;
|
|
2110
|
+
markerName: boolean;
|
|
2111
|
+
markerEnabled: boolean;
|
|
2047
2112
|
};
|
|
2048
2113
|
editingFrame: string | null;
|
|
2049
2114
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2050
2115
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2051
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
2052
2116
|
activeTool: {
|
|
2053
2117
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2054
2118
|
locked: boolean;
|
|
2055
2119
|
fromSelection: boolean;
|
|
2056
2120
|
} & import("../types").ActiveTool;
|
|
2121
|
+
preferredSelectionTool: {
|
|
2122
|
+
type: "selection" | "lasso";
|
|
2123
|
+
initialized: boolean;
|
|
2124
|
+
};
|
|
2057
2125
|
penMode: boolean;
|
|
2058
2126
|
penDetected: boolean;
|
|
2059
2127
|
exportBackground: boolean;
|
|
@@ -2075,6 +2143,7 @@ export declare const actionToggleTheme: {
|
|
|
2075
2143
|
currentHoveredFontFamily: number | null;
|
|
2076
2144
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
2077
2145
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
2146
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
2078
2147
|
viewBackgroundColor: string;
|
|
2079
2148
|
scrollX: number;
|
|
2080
2149
|
scrollY: number;
|
|
@@ -2086,8 +2155,8 @@ export declare const actionToggleTheme: {
|
|
|
2086
2155
|
zoom: Readonly<{
|
|
2087
2156
|
value: import("../types").NormalizedZoomValue;
|
|
2088
2157
|
}>;
|
|
2089
|
-
openMenu: "
|
|
2090
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2158
|
+
openMenu: "canvas" | "shape" | null;
|
|
2159
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2091
2160
|
openSidebar: {
|
|
2092
2161
|
name: string;
|
|
2093
2162
|
tab?: string | undefined;
|
|
@@ -2167,10 +2236,8 @@ export declare const actionToggleTheme: {
|
|
|
2167
2236
|
shown: true;
|
|
2168
2237
|
data: import("../charts").Spreadsheet;
|
|
2169
2238
|
};
|
|
2170
|
-
|
|
2171
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
2239
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2172
2240
|
linkOpacity: number;
|
|
2173
|
-
trayModeEnabled: boolean;
|
|
2174
2241
|
colorPalette?: {
|
|
2175
2242
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
2176
2243
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -2183,6 +2250,7 @@ export declare const actionToggleTheme: {
|
|
|
2183
2250
|
} | undefined;
|
|
2184
2251
|
allowWheelZoom?: boolean | undefined;
|
|
2185
2252
|
allowPinchZoom?: boolean | undefined;
|
|
2253
|
+
disableContextMenu: boolean;
|
|
2186
2254
|
pinnedScripts?: string[] | undefined;
|
|
2187
2255
|
customPens?: any[] | undefined;
|
|
2188
2256
|
currentStrokeOptions?: any;
|
|
@@ -2191,6 +2259,10 @@ export declare const actionToggleTheme: {
|
|
|
2191
2259
|
Bold: string;
|
|
2192
2260
|
Regular: string;
|
|
2193
2261
|
};
|
|
2262
|
+
gridDirection: {
|
|
2263
|
+
horizontal: boolean;
|
|
2264
|
+
vertical: boolean;
|
|
2265
|
+
};
|
|
2194
2266
|
highlightSearchResult: boolean;
|
|
2195
2267
|
dynamicStyle: {
|
|
2196
2268
|
[x: string]: string;
|
|
@@ -2201,7 +2273,7 @@ export declare const actionToggleTheme: {
|
|
|
2201
2273
|
nameColor: string;
|
|
2202
2274
|
};
|
|
2203
2275
|
invertBindingBehaviour: boolean;
|
|
2204
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2276
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2205
2277
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2206
2278
|
originSnapOffset: {
|
|
2207
2279
|
x: number;
|
|
@@ -2212,16 +2284,14 @@ export declare const actionToggleTheme: {
|
|
|
2212
2284
|
followedBy: Set<import("../types").SocketId>;
|
|
2213
2285
|
isCropping: boolean;
|
|
2214
2286
|
croppingElementId: string | null;
|
|
2215
|
-
searchMatches:
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
}[];
|
|
2224
|
-
}[];
|
|
2287
|
+
searchMatches: Readonly<{
|
|
2288
|
+
focusedId: string | null;
|
|
2289
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2290
|
+
}> | null;
|
|
2291
|
+
activeLockedId: string | null;
|
|
2292
|
+
lockedMultiSelections: {
|
|
2293
|
+
[groupId: string]: true;
|
|
2294
|
+
};
|
|
2225
2295
|
};
|
|
2226
2296
|
captureUpdate: "EVENTUALLY";
|
|
2227
2297
|
};
|
|
@@ -2236,7 +2306,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2236
2306
|
trackEvent: {
|
|
2237
2307
|
category: "toolbar";
|
|
2238
2308
|
};
|
|
2239
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState
|
|
2309
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
2240
2310
|
appState: {
|
|
2241
2311
|
selectedElementIds: {};
|
|
2242
2312
|
selectedGroupIds: {};
|
|
@@ -2260,18 +2330,23 @@ export declare const actionToggleEraserTool: {
|
|
|
2260
2330
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2261
2331
|
isBindingEnabled: boolean;
|
|
2262
2332
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2263
|
-
suggestedBindings: import("@excalidraw/element
|
|
2333
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2264
2334
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2265
2335
|
frameRendering: {
|
|
2266
2336
|
enabled: boolean;
|
|
2267
2337
|
name: boolean;
|
|
2268
2338
|
outline: boolean;
|
|
2269
2339
|
clip: boolean;
|
|
2340
|
+
markerName: boolean;
|
|
2341
|
+
markerEnabled: boolean;
|
|
2270
2342
|
};
|
|
2271
2343
|
editingFrame: string | null;
|
|
2272
2344
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2273
2345
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2274
|
-
|
|
2346
|
+
preferredSelectionTool: {
|
|
2347
|
+
type: "selection" | "lasso";
|
|
2348
|
+
initialized: boolean;
|
|
2349
|
+
};
|
|
2275
2350
|
penMode: boolean;
|
|
2276
2351
|
penDetected: boolean;
|
|
2277
2352
|
exportBackground: boolean;
|
|
@@ -2293,6 +2368,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2293
2368
|
currentHoveredFontFamily: number | null;
|
|
2294
2369
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
2295
2370
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
2371
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
2296
2372
|
viewBackgroundColor: string;
|
|
2297
2373
|
scrollX: number;
|
|
2298
2374
|
scrollY: number;
|
|
@@ -2304,8 +2380,8 @@ export declare const actionToggleEraserTool: {
|
|
|
2304
2380
|
zoom: Readonly<{
|
|
2305
2381
|
value: import("../types").NormalizedZoomValue;
|
|
2306
2382
|
}>;
|
|
2307
|
-
openMenu: "
|
|
2308
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2383
|
+
openMenu: "canvas" | "shape" | null;
|
|
2384
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2309
2385
|
openSidebar: {
|
|
2310
2386
|
name: string;
|
|
2311
2387
|
tab?: string | undefined;
|
|
@@ -2380,10 +2456,8 @@ export declare const actionToggleEraserTool: {
|
|
|
2380
2456
|
shown: true;
|
|
2381
2457
|
data: import("../charts").Spreadsheet;
|
|
2382
2458
|
};
|
|
2383
|
-
|
|
2384
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
2459
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2385
2460
|
linkOpacity: number;
|
|
2386
|
-
trayModeEnabled: boolean;
|
|
2387
2461
|
colorPalette?: {
|
|
2388
2462
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
2389
2463
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -2396,6 +2470,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2396
2470
|
} | undefined;
|
|
2397
2471
|
allowWheelZoom?: boolean | undefined;
|
|
2398
2472
|
allowPinchZoom?: boolean | undefined;
|
|
2473
|
+
disableContextMenu: boolean;
|
|
2399
2474
|
pinnedScripts?: string[] | undefined;
|
|
2400
2475
|
customPens?: any[] | undefined;
|
|
2401
2476
|
currentStrokeOptions?: any;
|
|
@@ -2404,6 +2479,10 @@ export declare const actionToggleEraserTool: {
|
|
|
2404
2479
|
Bold: string;
|
|
2405
2480
|
Regular: string;
|
|
2406
2481
|
};
|
|
2482
|
+
gridDirection: {
|
|
2483
|
+
horizontal: boolean;
|
|
2484
|
+
vertical: boolean;
|
|
2485
|
+
};
|
|
2407
2486
|
highlightSearchResult: boolean;
|
|
2408
2487
|
dynamicStyle: {
|
|
2409
2488
|
[x: string]: string;
|
|
@@ -2414,7 +2493,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2414
2493
|
nameColor: string;
|
|
2415
2494
|
};
|
|
2416
2495
|
invertBindingBehaviour: boolean;
|
|
2417
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2496
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2418
2497
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2419
2498
|
originSnapOffset: {
|
|
2420
2499
|
x: number;
|
|
@@ -2425,16 +2504,14 @@ export declare const actionToggleEraserTool: {
|
|
|
2425
2504
|
followedBy: Set<import("../types").SocketId>;
|
|
2426
2505
|
isCropping: boolean;
|
|
2427
2506
|
croppingElementId: string | null;
|
|
2428
|
-
searchMatches:
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
}[];
|
|
2437
|
-
}[];
|
|
2507
|
+
searchMatches: Readonly<{
|
|
2508
|
+
focusedId: string | null;
|
|
2509
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2510
|
+
}> | null;
|
|
2511
|
+
activeLockedId: string | null;
|
|
2512
|
+
lockedMultiSelections: {
|
|
2513
|
+
[groupId: string]: true;
|
|
2514
|
+
};
|
|
2438
2515
|
};
|
|
2439
2516
|
captureUpdate: "IMMEDIATELY";
|
|
2440
2517
|
};
|
|
@@ -2449,6 +2526,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2449
2526
|
trackEvent: {
|
|
2450
2527
|
category: "toolbar";
|
|
2451
2528
|
};
|
|
2529
|
+
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
2452
2530
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
2453
2531
|
appState: {
|
|
2454
2532
|
selectedElementIds: {};
|
|
@@ -2473,18 +2551,23 @@ export declare const actionToggleLassoTool: {
|
|
|
2473
2551
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2474
2552
|
isBindingEnabled: boolean;
|
|
2475
2553
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2476
|
-
suggestedBindings: import("@excalidraw/element
|
|
2554
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2477
2555
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2478
2556
|
frameRendering: {
|
|
2479
2557
|
enabled: boolean;
|
|
2480
2558
|
name: boolean;
|
|
2481
2559
|
outline: boolean;
|
|
2482
2560
|
clip: boolean;
|
|
2561
|
+
markerName: boolean;
|
|
2562
|
+
markerEnabled: boolean;
|
|
2483
2563
|
};
|
|
2484
2564
|
editingFrame: string | null;
|
|
2485
2565
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2486
2566
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2487
|
-
|
|
2567
|
+
preferredSelectionTool: {
|
|
2568
|
+
type: "selection" | "lasso";
|
|
2569
|
+
initialized: boolean;
|
|
2570
|
+
};
|
|
2488
2571
|
penMode: boolean;
|
|
2489
2572
|
penDetected: boolean;
|
|
2490
2573
|
exportBackground: boolean;
|
|
@@ -2506,6 +2589,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2506
2589
|
currentHoveredFontFamily: number | null;
|
|
2507
2590
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
2508
2591
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
2592
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
2509
2593
|
viewBackgroundColor: string;
|
|
2510
2594
|
scrollX: number;
|
|
2511
2595
|
scrollY: number;
|
|
@@ -2517,8 +2601,8 @@ export declare const actionToggleLassoTool: {
|
|
|
2517
2601
|
zoom: Readonly<{
|
|
2518
2602
|
value: import("../types").NormalizedZoomValue;
|
|
2519
2603
|
}>;
|
|
2520
|
-
openMenu: "
|
|
2521
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2604
|
+
openMenu: "canvas" | "shape" | null;
|
|
2605
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2522
2606
|
openSidebar: {
|
|
2523
2607
|
name: string;
|
|
2524
2608
|
tab?: string | undefined;
|
|
@@ -2593,10 +2677,8 @@ export declare const actionToggleLassoTool: {
|
|
|
2593
2677
|
shown: true;
|
|
2594
2678
|
data: import("../charts").Spreadsheet;
|
|
2595
2679
|
};
|
|
2596
|
-
|
|
2597
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
2680
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2598
2681
|
linkOpacity: number;
|
|
2599
|
-
trayModeEnabled: boolean;
|
|
2600
2682
|
colorPalette?: {
|
|
2601
2683
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
2602
2684
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -2609,6 +2691,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2609
2691
|
} | undefined;
|
|
2610
2692
|
allowWheelZoom?: boolean | undefined;
|
|
2611
2693
|
allowPinchZoom?: boolean | undefined;
|
|
2694
|
+
disableContextMenu: boolean;
|
|
2612
2695
|
pinnedScripts?: string[] | undefined;
|
|
2613
2696
|
customPens?: any[] | undefined;
|
|
2614
2697
|
currentStrokeOptions?: any;
|
|
@@ -2617,6 +2700,10 @@ export declare const actionToggleLassoTool: {
|
|
|
2617
2700
|
Bold: string;
|
|
2618
2701
|
Regular: string;
|
|
2619
2702
|
};
|
|
2703
|
+
gridDirection: {
|
|
2704
|
+
horizontal: boolean;
|
|
2705
|
+
vertical: boolean;
|
|
2706
|
+
};
|
|
2620
2707
|
highlightSearchResult: boolean;
|
|
2621
2708
|
dynamicStyle: {
|
|
2622
2709
|
[x: string]: string;
|
|
@@ -2627,7 +2714,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2627
2714
|
nameColor: string;
|
|
2628
2715
|
};
|
|
2629
2716
|
invertBindingBehaviour: boolean;
|
|
2630
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2717
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2631
2718
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2632
2719
|
originSnapOffset: {
|
|
2633
2720
|
x: number;
|
|
@@ -2638,16 +2725,14 @@ export declare const actionToggleLassoTool: {
|
|
|
2638
2725
|
followedBy: Set<import("../types").SocketId>;
|
|
2639
2726
|
isCropping: boolean;
|
|
2640
2727
|
croppingElementId: string | null;
|
|
2641
|
-
searchMatches:
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
}[];
|
|
2650
|
-
}[];
|
|
2728
|
+
searchMatches: Readonly<{
|
|
2729
|
+
focusedId: string | null;
|
|
2730
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2731
|
+
}> | null;
|
|
2732
|
+
activeLockedId: string | null;
|
|
2733
|
+
lockedMultiSelections: {
|
|
2734
|
+
[groupId: string]: true;
|
|
2735
|
+
};
|
|
2651
2736
|
};
|
|
2652
2737
|
captureUpdate: "NEVER";
|
|
2653
2738
|
};
|
|
@@ -2686,18 +2771,23 @@ export declare const actionToggleHandTool: {
|
|
|
2686
2771
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2687
2772
|
isBindingEnabled: boolean;
|
|
2688
2773
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2689
|
-
suggestedBindings: import("@excalidraw/element
|
|
2774
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2690
2775
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2691
2776
|
frameRendering: {
|
|
2692
2777
|
enabled: boolean;
|
|
2693
2778
|
name: boolean;
|
|
2694
2779
|
outline: boolean;
|
|
2695
2780
|
clip: boolean;
|
|
2781
|
+
markerName: boolean;
|
|
2782
|
+
markerEnabled: boolean;
|
|
2696
2783
|
};
|
|
2697
2784
|
editingFrame: string | null;
|
|
2698
2785
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2699
2786
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2700
|
-
|
|
2787
|
+
preferredSelectionTool: {
|
|
2788
|
+
type: "selection" | "lasso";
|
|
2789
|
+
initialized: boolean;
|
|
2790
|
+
};
|
|
2701
2791
|
penMode: boolean;
|
|
2702
2792
|
penDetected: boolean;
|
|
2703
2793
|
exportBackground: boolean;
|
|
@@ -2719,6 +2809,7 @@ export declare const actionToggleHandTool: {
|
|
|
2719
2809
|
currentHoveredFontFamily: number | null;
|
|
2720
2810
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
2721
2811
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
2812
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
2722
2813
|
viewBackgroundColor: string;
|
|
2723
2814
|
scrollX: number;
|
|
2724
2815
|
scrollY: number;
|
|
@@ -2730,8 +2821,8 @@ export declare const actionToggleHandTool: {
|
|
|
2730
2821
|
zoom: Readonly<{
|
|
2731
2822
|
value: import("../types").NormalizedZoomValue;
|
|
2732
2823
|
}>;
|
|
2733
|
-
openMenu: "
|
|
2734
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2824
|
+
openMenu: "canvas" | "shape" | null;
|
|
2825
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2735
2826
|
openSidebar: {
|
|
2736
2827
|
name: string;
|
|
2737
2828
|
tab?: string | undefined;
|
|
@@ -2806,10 +2897,8 @@ export declare const actionToggleHandTool: {
|
|
|
2806
2897
|
shown: true;
|
|
2807
2898
|
data: import("../charts").Spreadsheet;
|
|
2808
2899
|
};
|
|
2809
|
-
|
|
2810
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
2900
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2811
2901
|
linkOpacity: number;
|
|
2812
|
-
trayModeEnabled: boolean;
|
|
2813
2902
|
colorPalette?: {
|
|
2814
2903
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
2815
2904
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -2822,6 +2911,7 @@ export declare const actionToggleHandTool: {
|
|
|
2822
2911
|
} | undefined;
|
|
2823
2912
|
allowWheelZoom?: boolean | undefined;
|
|
2824
2913
|
allowPinchZoom?: boolean | undefined;
|
|
2914
|
+
disableContextMenu: boolean;
|
|
2825
2915
|
pinnedScripts?: string[] | undefined;
|
|
2826
2916
|
customPens?: any[] | undefined;
|
|
2827
2917
|
currentStrokeOptions?: any;
|
|
@@ -2830,6 +2920,10 @@ export declare const actionToggleHandTool: {
|
|
|
2830
2920
|
Bold: string;
|
|
2831
2921
|
Regular: string;
|
|
2832
2922
|
};
|
|
2923
|
+
gridDirection: {
|
|
2924
|
+
horizontal: boolean;
|
|
2925
|
+
vertical: boolean;
|
|
2926
|
+
};
|
|
2833
2927
|
highlightSearchResult: boolean;
|
|
2834
2928
|
dynamicStyle: {
|
|
2835
2929
|
[x: string]: string;
|
|
@@ -2840,7 +2934,7 @@ export declare const actionToggleHandTool: {
|
|
|
2840
2934
|
nameColor: string;
|
|
2841
2935
|
};
|
|
2842
2936
|
invertBindingBehaviour: boolean;
|
|
2843
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2937
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2844
2938
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2845
2939
|
originSnapOffset: {
|
|
2846
2940
|
x: number;
|
|
@@ -2851,16 +2945,14 @@ export declare const actionToggleHandTool: {
|
|
|
2851
2945
|
followedBy: Set<import("../types").SocketId>;
|
|
2852
2946
|
isCropping: boolean;
|
|
2853
2947
|
croppingElementId: string | null;
|
|
2854
|
-
searchMatches:
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
}[];
|
|
2863
|
-
}[];
|
|
2948
|
+
searchMatches: Readonly<{
|
|
2949
|
+
focusedId: string | null;
|
|
2950
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2951
|
+
}> | null;
|
|
2952
|
+
activeLockedId: string | null;
|
|
2953
|
+
lockedMultiSelections: {
|
|
2954
|
+
[groupId: string]: true;
|
|
2955
|
+
};
|
|
2864
2956
|
};
|
|
2865
2957
|
captureUpdate: "IMMEDIATELY";
|
|
2866
2958
|
};
|
|
@@ -2898,18 +2990,23 @@ export declare const actionToggleLaserPointer: {
|
|
|
2898
2990
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2899
2991
|
isBindingEnabled: boolean;
|
|
2900
2992
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2901
|
-
suggestedBindings: import("@excalidraw/element
|
|
2993
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2902
2994
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2903
2995
|
frameRendering: {
|
|
2904
2996
|
enabled: boolean;
|
|
2905
2997
|
name: boolean;
|
|
2906
2998
|
outline: boolean;
|
|
2907
2999
|
clip: boolean;
|
|
3000
|
+
markerName: boolean;
|
|
3001
|
+
markerEnabled: boolean;
|
|
2908
3002
|
};
|
|
2909
3003
|
editingFrame: string | null;
|
|
2910
3004
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2911
3005
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2912
|
-
|
|
3006
|
+
preferredSelectionTool: {
|
|
3007
|
+
type: "selection" | "lasso";
|
|
3008
|
+
initialized: boolean;
|
|
3009
|
+
};
|
|
2913
3010
|
penMode: boolean;
|
|
2914
3011
|
penDetected: boolean;
|
|
2915
3012
|
exportBackground: boolean;
|
|
@@ -2931,6 +3028,7 @@ export declare const actionToggleLaserPointer: {
|
|
|
2931
3028
|
currentHoveredFontFamily: number | null;
|
|
2932
3029
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
2933
3030
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
3031
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
2934
3032
|
viewBackgroundColor: string;
|
|
2935
3033
|
scrollX: number;
|
|
2936
3034
|
scrollY: number;
|
|
@@ -2942,8 +3040,8 @@ export declare const actionToggleLaserPointer: {
|
|
|
2942
3040
|
zoom: Readonly<{
|
|
2943
3041
|
value: import("../types").NormalizedZoomValue;
|
|
2944
3042
|
}>;
|
|
2945
|
-
openMenu: "
|
|
2946
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
3043
|
+
openMenu: "canvas" | "shape" | null;
|
|
3044
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2947
3045
|
openSidebar: {
|
|
2948
3046
|
name: string;
|
|
2949
3047
|
tab?: string | undefined;
|
|
@@ -3018,10 +3116,8 @@ export declare const actionToggleLaserPointer: {
|
|
|
3018
3116
|
shown: true;
|
|
3019
3117
|
data: import("../charts").Spreadsheet;
|
|
3020
3118
|
};
|
|
3021
|
-
|
|
3022
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
3119
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
3023
3120
|
linkOpacity: number;
|
|
3024
|
-
trayModeEnabled: boolean;
|
|
3025
3121
|
colorPalette?: {
|
|
3026
3122
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
3027
3123
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -3034,6 +3130,7 @@ export declare const actionToggleLaserPointer: {
|
|
|
3034
3130
|
} | undefined;
|
|
3035
3131
|
allowWheelZoom?: boolean | undefined;
|
|
3036
3132
|
allowPinchZoom?: boolean | undefined;
|
|
3133
|
+
disableContextMenu: boolean;
|
|
3037
3134
|
pinnedScripts?: string[] | undefined;
|
|
3038
3135
|
customPens?: any[] | undefined;
|
|
3039
3136
|
currentStrokeOptions?: any;
|
|
@@ -3042,6 +3139,10 @@ export declare const actionToggleLaserPointer: {
|
|
|
3042
3139
|
Bold: string;
|
|
3043
3140
|
Regular: string;
|
|
3044
3141
|
};
|
|
3142
|
+
gridDirection: {
|
|
3143
|
+
horizontal: boolean;
|
|
3144
|
+
vertical: boolean;
|
|
3145
|
+
};
|
|
3045
3146
|
highlightSearchResult: boolean;
|
|
3046
3147
|
dynamicStyle: {
|
|
3047
3148
|
[x: string]: string;
|
|
@@ -3052,7 +3153,7 @@ export declare const actionToggleLaserPointer: {
|
|
|
3052
3153
|
nameColor: string;
|
|
3053
3154
|
};
|
|
3054
3155
|
invertBindingBehaviour: boolean;
|
|
3055
|
-
selectedLinearElement: import("@excalidraw/element
|
|
3156
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
3056
3157
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
3057
3158
|
originSnapOffset: {
|
|
3058
3159
|
x: number;
|
|
@@ -3063,16 +3164,14 @@ export declare const actionToggleLaserPointer: {
|
|
|
3063
3164
|
followedBy: Set<import("../types").SocketId>;
|
|
3064
3165
|
isCropping: boolean;
|
|
3065
3166
|
croppingElementId: string | null;
|
|
3066
|
-
searchMatches:
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
}[];
|
|
3075
|
-
}[];
|
|
3167
|
+
searchMatches: Readonly<{
|
|
3168
|
+
focusedId: string | null;
|
|
3169
|
+
matches: readonly import("../types").SearchMatch[];
|
|
3170
|
+
}> | null;
|
|
3171
|
+
activeLockedId: string | null;
|
|
3172
|
+
lockedMultiSelections: {
|
|
3173
|
+
[groupId: string]: true;
|
|
3174
|
+
};
|
|
3076
3175
|
};
|
|
3077
3176
|
captureUpdate: "NEVER";
|
|
3078
3177
|
};
|
|
@@ -3107,23 +3206,28 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
3107
3206
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
3108
3207
|
isBindingEnabled: boolean;
|
|
3109
3208
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
3110
|
-
suggestedBindings: import("@excalidraw/element
|
|
3209
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
3111
3210
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
3112
3211
|
frameRendering: {
|
|
3113
3212
|
enabled: boolean;
|
|
3114
3213
|
name: boolean;
|
|
3115
3214
|
outline: boolean;
|
|
3116
3215
|
clip: boolean;
|
|
3216
|
+
markerName: boolean;
|
|
3217
|
+
markerEnabled: boolean;
|
|
3117
3218
|
};
|
|
3118
3219
|
editingFrame: string | null;
|
|
3119
3220
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
3120
3221
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
3121
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
3122
3222
|
activeTool: {
|
|
3123
3223
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
3124
3224
|
locked: boolean;
|
|
3125
3225
|
fromSelection: boolean;
|
|
3126
3226
|
} & import("../types").ActiveTool;
|
|
3227
|
+
preferredSelectionTool: {
|
|
3228
|
+
type: "selection" | "lasso";
|
|
3229
|
+
initialized: boolean;
|
|
3230
|
+
};
|
|
3127
3231
|
penMode: boolean;
|
|
3128
3232
|
penDetected: boolean;
|
|
3129
3233
|
exportBackground: boolean;
|
|
@@ -3145,14 +3249,15 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
3145
3249
|
currentHoveredFontFamily: number | null;
|
|
3146
3250
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
3147
3251
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
3252
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
3148
3253
|
viewBackgroundColor: string;
|
|
3149
3254
|
cursorButton: "up" | "down";
|
|
3150
3255
|
scrolledOutside: boolean;
|
|
3151
3256
|
name: string | null;
|
|
3152
3257
|
isResizing: boolean;
|
|
3153
3258
|
isRotating: boolean;
|
|
3154
|
-
openMenu: "
|
|
3155
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
3259
|
+
openMenu: "canvas" | "shape" | null;
|
|
3260
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
3156
3261
|
openSidebar: {
|
|
3157
3262
|
name: string;
|
|
3158
3263
|
tab?: string | undefined;
|
|
@@ -3233,10 +3338,8 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
3233
3338
|
shown: true;
|
|
3234
3339
|
data: import("../charts").Spreadsheet;
|
|
3235
3340
|
};
|
|
3236
|
-
|
|
3237
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
3341
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
3238
3342
|
linkOpacity: number;
|
|
3239
|
-
trayModeEnabled: boolean;
|
|
3240
3343
|
colorPalette?: {
|
|
3241
3344
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
3242
3345
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -3249,6 +3352,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
3249
3352
|
} | undefined;
|
|
3250
3353
|
allowWheelZoom?: boolean | undefined;
|
|
3251
3354
|
allowPinchZoom?: boolean | undefined;
|
|
3355
|
+
disableContextMenu: boolean;
|
|
3252
3356
|
pinnedScripts?: string[] | undefined;
|
|
3253
3357
|
customPens?: any[] | undefined;
|
|
3254
3358
|
currentStrokeOptions?: any;
|
|
@@ -3257,6 +3361,10 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
3257
3361
|
Bold: string;
|
|
3258
3362
|
Regular: string;
|
|
3259
3363
|
};
|
|
3364
|
+
gridDirection: {
|
|
3365
|
+
horizontal: boolean;
|
|
3366
|
+
vertical: boolean;
|
|
3367
|
+
};
|
|
3260
3368
|
highlightSearchResult: boolean;
|
|
3261
3369
|
dynamicStyle: {
|
|
3262
3370
|
[x: string]: string;
|
|
@@ -3267,7 +3375,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
3267
3375
|
nameColor: string;
|
|
3268
3376
|
};
|
|
3269
3377
|
invertBindingBehaviour: boolean;
|
|
3270
|
-
selectedLinearElement: import("@excalidraw/element
|
|
3378
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
3271
3379
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
3272
3380
|
originSnapOffset: {
|
|
3273
3381
|
x: number;
|
|
@@ -3278,16 +3386,14 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
3278
3386
|
followedBy: Set<import("../types").SocketId>;
|
|
3279
3387
|
isCropping: boolean;
|
|
3280
3388
|
croppingElementId: string | null;
|
|
3281
|
-
searchMatches:
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
}[];
|
|
3290
|
-
}[];
|
|
3389
|
+
searchMatches: Readonly<{
|
|
3390
|
+
focusedId: string | null;
|
|
3391
|
+
matches: readonly import("../types").SearchMatch[];
|
|
3392
|
+
}> | null;
|
|
3393
|
+
activeLockedId: string | null;
|
|
3394
|
+
lockedMultiSelections: {
|
|
3395
|
+
[groupId: string]: true;
|
|
3396
|
+
};
|
|
3291
3397
|
};
|
|
3292
3398
|
commitToHistory: boolean;
|
|
3293
3399
|
};
|