@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,21 +1,31 @@
|
|
|
1
1
|
import { type GlobalPoint } from "@excalidraw/math";
|
|
2
2
|
import type { Curve, LineSegment } from "@excalidraw/math";
|
|
3
|
-
import type {
|
|
3
|
+
import type { Zoom } from "@excalidraw/excalidraw/types";
|
|
4
|
+
import type { ExcalidrawDiamondElement, ExcalidrawElement, ExcalidrawFreeDrawElement, ExcalidrawLinearElement, ExcalidrawRectanguloidElement } from "./types";
|
|
5
|
+
/**
|
|
6
|
+
* Returns the **rotated** components of freedraw, line or arrow elements.
|
|
7
|
+
*
|
|
8
|
+
* @param element The linear element to deconstruct
|
|
9
|
+
* @returns The rotated in components.
|
|
10
|
+
*/
|
|
11
|
+
export declare function deconstructLinearOrFreeDrawElement(element: ExcalidrawLinearElement | ExcalidrawFreeDrawElement): [LineSegment<GlobalPoint>[], Curve<GlobalPoint>[]];
|
|
4
12
|
/**
|
|
5
13
|
* Get the building components of a rectanguloid element in the form of
|
|
6
|
-
* line segments and curves
|
|
14
|
+
* line segments and curves **unrotated**.
|
|
7
15
|
*
|
|
8
16
|
* @param element Target rectanguloid element
|
|
9
17
|
* @param offset Optional offset to expand the rectanguloid shape
|
|
10
|
-
* @returns Tuple of line segments (0) and curves (1)
|
|
18
|
+
* @returns Tuple of **unrotated** line segments (0) and curves (1)
|
|
11
19
|
*/
|
|
12
20
|
export declare function deconstructRectanguloidElement(element: ExcalidrawRectanguloidElement, offset?: number): [LineSegment<GlobalPoint>[], Curve<GlobalPoint>[]];
|
|
13
21
|
/**
|
|
14
|
-
* Get the building components of a diamond element
|
|
15
|
-
* line segments and curves as a tuple, in this order.
|
|
22
|
+
* Get the **unrotated** building components of a diamond element
|
|
23
|
+
* in the form of line segments and curves as a tuple, in this order.
|
|
16
24
|
*
|
|
17
25
|
* @param element The element to deconstruct
|
|
18
26
|
* @param offset An optional offset
|
|
19
|
-
* @returns Tuple of line segments (0) and curves (1)
|
|
27
|
+
* @returns Tuple of line **unrotated** segments (0) and curves (1)
|
|
20
28
|
*/
|
|
21
29
|
export declare function deconstructDiamondElement(element: ExcalidrawDiamondElement, offset?: number): [LineSegment<GlobalPoint>[], Curve<GlobalPoint>[]];
|
|
30
|
+
export declare const isPathALoop: (points: ExcalidrawLinearElement["points"], zoomValue?: Zoom["value"]) => boolean;
|
|
31
|
+
export declare const getCornerRadius: (x: number, element: ExcalidrawElement) => number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AppState } from "@excalidraw/excalidraw/types";
|
|
2
|
-
import type Scene from "
|
|
2
|
+
import type { Scene } from "./Scene";
|
|
3
3
|
import type { ExcalidrawElement } from "./types";
|
|
4
4
|
export declare const moveOneLeft: (allElements: readonly ExcalidrawElement[], appState: AppState, scene: Scene) => readonly ExcalidrawElement[];
|
|
5
5
|
export declare const moveOneRight: (allElements: readonly ExcalidrawElement[], appState: AppState, scene: Scene) => readonly ExcalidrawElement[];
|
|
@@ -27,23 +27,28 @@ export declare const actionAddToLibrary: {
|
|
|
27
27
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
28
28
|
isBindingEnabled: boolean;
|
|
29
29
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
30
|
-
suggestedBindings: import("@excalidraw/element
|
|
30
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
31
31
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
32
32
|
frameRendering: {
|
|
33
33
|
enabled: boolean;
|
|
34
34
|
name: boolean;
|
|
35
35
|
outline: boolean;
|
|
36
36
|
clip: boolean;
|
|
37
|
+
markerName: boolean;
|
|
38
|
+
markerEnabled: boolean;
|
|
37
39
|
};
|
|
38
40
|
editingFrame: string | null;
|
|
39
41
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
40
42
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
41
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
42
43
|
activeTool: {
|
|
43
44
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
44
45
|
locked: boolean;
|
|
45
46
|
fromSelection: boolean;
|
|
46
47
|
} & import("../types").ActiveTool;
|
|
48
|
+
preferredSelectionTool: {
|
|
49
|
+
type: "selection" | "lasso";
|
|
50
|
+
initialized: boolean;
|
|
51
|
+
};
|
|
47
52
|
penMode: boolean;
|
|
48
53
|
penDetected: boolean;
|
|
49
54
|
exportBackground: boolean;
|
|
@@ -65,6 +70,7 @@ export declare const actionAddToLibrary: {
|
|
|
65
70
|
currentHoveredFontFamily: number | null;
|
|
66
71
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
67
72
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
73
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
68
74
|
viewBackgroundColor: string;
|
|
69
75
|
scrollX: number;
|
|
70
76
|
scrollY: number;
|
|
@@ -76,8 +82,8 @@ export declare const actionAddToLibrary: {
|
|
|
76
82
|
zoom: Readonly<{
|
|
77
83
|
value: import("../types").NormalizedZoomValue;
|
|
78
84
|
}>;
|
|
79
|
-
openMenu: "
|
|
80
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
85
|
+
openMenu: "canvas" | "shape" | null;
|
|
86
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
81
87
|
openSidebar: {
|
|
82
88
|
name: string;
|
|
83
89
|
tab?: string | undefined;
|
|
@@ -153,10 +159,8 @@ export declare const actionAddToLibrary: {
|
|
|
153
159
|
shown: true;
|
|
154
160
|
data: import("../charts").Spreadsheet;
|
|
155
161
|
};
|
|
156
|
-
|
|
157
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
162
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
158
163
|
linkOpacity: number;
|
|
159
|
-
trayModeEnabled: boolean;
|
|
160
164
|
colorPalette?: {
|
|
161
165
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
162
166
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -169,6 +173,7 @@ export declare const actionAddToLibrary: {
|
|
|
169
173
|
} | undefined;
|
|
170
174
|
allowWheelZoom?: boolean | undefined;
|
|
171
175
|
allowPinchZoom?: boolean | undefined;
|
|
176
|
+
disableContextMenu: boolean;
|
|
172
177
|
pinnedScripts?: string[] | undefined;
|
|
173
178
|
customPens?: any[] | undefined;
|
|
174
179
|
currentStrokeOptions?: any;
|
|
@@ -177,6 +182,10 @@ export declare const actionAddToLibrary: {
|
|
|
177
182
|
Bold: string;
|
|
178
183
|
Regular: string;
|
|
179
184
|
};
|
|
185
|
+
gridDirection: {
|
|
186
|
+
horizontal: boolean;
|
|
187
|
+
vertical: boolean;
|
|
188
|
+
};
|
|
180
189
|
highlightSearchResult: boolean;
|
|
181
190
|
dynamicStyle: {
|
|
182
191
|
[x: string]: string;
|
|
@@ -187,7 +196,7 @@ export declare const actionAddToLibrary: {
|
|
|
187
196
|
nameColor: string;
|
|
188
197
|
};
|
|
189
198
|
invertBindingBehaviour: boolean;
|
|
190
|
-
selectedLinearElement: import("@excalidraw/element
|
|
199
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
191
200
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
192
201
|
originSnapOffset: {
|
|
193
202
|
x: number;
|
|
@@ -198,16 +207,14 @@ export declare const actionAddToLibrary: {
|
|
|
198
207
|
followedBy: Set<import("../types").SocketId>;
|
|
199
208
|
isCropping: boolean;
|
|
200
209
|
croppingElementId: string | null;
|
|
201
|
-
searchMatches:
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
}[];
|
|
210
|
-
}[];
|
|
210
|
+
searchMatches: Readonly<{
|
|
211
|
+
focusedId: string | null;
|
|
212
|
+
matches: readonly import("../types").SearchMatch[];
|
|
213
|
+
}> | null;
|
|
214
|
+
activeLockedId: string | null;
|
|
215
|
+
lockedMultiSelections: {
|
|
216
|
+
[groupId: string]: true;
|
|
217
|
+
};
|
|
211
218
|
};
|
|
212
219
|
} | {
|
|
213
220
|
captureUpdate: "EVENTUALLY";
|
|
@@ -230,23 +237,28 @@ export declare const actionAddToLibrary: {
|
|
|
230
237
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
231
238
|
isBindingEnabled: boolean;
|
|
232
239
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
233
|
-
suggestedBindings: import("@excalidraw/element
|
|
240
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
234
241
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
235
242
|
frameRendering: {
|
|
236
243
|
enabled: boolean;
|
|
237
244
|
name: boolean;
|
|
238
245
|
outline: boolean;
|
|
239
246
|
clip: boolean;
|
|
247
|
+
markerName: boolean;
|
|
248
|
+
markerEnabled: boolean;
|
|
240
249
|
};
|
|
241
250
|
editingFrame: string | null;
|
|
242
251
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
243
252
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
244
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
245
253
|
activeTool: {
|
|
246
254
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
247
255
|
locked: boolean;
|
|
248
256
|
fromSelection: boolean;
|
|
249
257
|
} & import("../types").ActiveTool;
|
|
258
|
+
preferredSelectionTool: {
|
|
259
|
+
type: "selection" | "lasso";
|
|
260
|
+
initialized: boolean;
|
|
261
|
+
};
|
|
250
262
|
penMode: boolean;
|
|
251
263
|
penDetected: boolean;
|
|
252
264
|
exportBackground: boolean;
|
|
@@ -268,6 +280,7 @@ export declare const actionAddToLibrary: {
|
|
|
268
280
|
currentHoveredFontFamily: number | null;
|
|
269
281
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
270
282
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
283
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
271
284
|
viewBackgroundColor: string;
|
|
272
285
|
scrollX: number;
|
|
273
286
|
scrollY: number;
|
|
@@ -279,8 +292,8 @@ export declare const actionAddToLibrary: {
|
|
|
279
292
|
zoom: Readonly<{
|
|
280
293
|
value: import("../types").NormalizedZoomValue;
|
|
281
294
|
}>;
|
|
282
|
-
openMenu: "
|
|
283
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
295
|
+
openMenu: "canvas" | "shape" | null;
|
|
296
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
284
297
|
openSidebar: {
|
|
285
298
|
name: string;
|
|
286
299
|
tab?: string | undefined;
|
|
@@ -361,10 +374,8 @@ export declare const actionAddToLibrary: {
|
|
|
361
374
|
shown: true;
|
|
362
375
|
data: import("../charts").Spreadsheet;
|
|
363
376
|
};
|
|
364
|
-
|
|
365
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
377
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
366
378
|
linkOpacity: number;
|
|
367
|
-
trayModeEnabled: boolean;
|
|
368
379
|
colorPalette?: {
|
|
369
380
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
370
381
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -377,6 +388,7 @@ export declare const actionAddToLibrary: {
|
|
|
377
388
|
} | undefined;
|
|
378
389
|
allowWheelZoom?: boolean | undefined;
|
|
379
390
|
allowPinchZoom?: boolean | undefined;
|
|
391
|
+
disableContextMenu: boolean;
|
|
380
392
|
pinnedScripts?: string[] | undefined;
|
|
381
393
|
customPens?: any[] | undefined;
|
|
382
394
|
currentStrokeOptions?: any;
|
|
@@ -385,6 +397,10 @@ export declare const actionAddToLibrary: {
|
|
|
385
397
|
Bold: string;
|
|
386
398
|
Regular: string;
|
|
387
399
|
};
|
|
400
|
+
gridDirection: {
|
|
401
|
+
horizontal: boolean;
|
|
402
|
+
vertical: boolean;
|
|
403
|
+
};
|
|
388
404
|
highlightSearchResult: boolean;
|
|
389
405
|
dynamicStyle: {
|
|
390
406
|
[x: string]: string;
|
|
@@ -395,7 +411,7 @@ export declare const actionAddToLibrary: {
|
|
|
395
411
|
nameColor: string;
|
|
396
412
|
};
|
|
397
413
|
invertBindingBehaviour: boolean;
|
|
398
|
-
selectedLinearElement: import("@excalidraw/element
|
|
414
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
399
415
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
400
416
|
originSnapOffset: {
|
|
401
417
|
x: number;
|
|
@@ -406,16 +422,14 @@ export declare const actionAddToLibrary: {
|
|
|
406
422
|
followedBy: Set<import("../types").SocketId>;
|
|
407
423
|
isCropping: boolean;
|
|
408
424
|
croppingElementId: string | null;
|
|
409
|
-
searchMatches:
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
}[];
|
|
418
|
-
}[];
|
|
425
|
+
searchMatches: Readonly<{
|
|
426
|
+
focusedId: string | null;
|
|
427
|
+
matches: readonly import("../types").SearchMatch[];
|
|
428
|
+
}> | null;
|
|
429
|
+
activeLockedId: string | null;
|
|
430
|
+
lockedMultiSelections: {
|
|
431
|
+
[groupId: string]: true;
|
|
432
|
+
};
|
|
419
433
|
};
|
|
420
434
|
}> | {
|
|
421
435
|
captureUpdate: "EVENTUALLY";
|
|
@@ -438,23 +452,28 @@ export declare const actionAddToLibrary: {
|
|
|
438
452
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
439
453
|
isBindingEnabled: boolean;
|
|
440
454
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
441
|
-
suggestedBindings: import("@excalidraw/element
|
|
455
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
442
456
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
443
457
|
frameRendering: {
|
|
444
458
|
enabled: boolean;
|
|
445
459
|
name: boolean;
|
|
446
460
|
outline: boolean;
|
|
447
461
|
clip: boolean;
|
|
462
|
+
markerName: boolean;
|
|
463
|
+
markerEnabled: boolean;
|
|
448
464
|
};
|
|
449
465
|
editingFrame: string | null;
|
|
450
466
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
451
467
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
452
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
453
468
|
activeTool: {
|
|
454
469
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
455
470
|
locked: boolean;
|
|
456
471
|
fromSelection: boolean;
|
|
457
472
|
} & import("../types").ActiveTool;
|
|
473
|
+
preferredSelectionTool: {
|
|
474
|
+
type: "selection" | "lasso";
|
|
475
|
+
initialized: boolean;
|
|
476
|
+
};
|
|
458
477
|
penMode: boolean;
|
|
459
478
|
penDetected: boolean;
|
|
460
479
|
exportBackground: boolean;
|
|
@@ -476,6 +495,7 @@ export declare const actionAddToLibrary: {
|
|
|
476
495
|
currentHoveredFontFamily: number | null;
|
|
477
496
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
478
497
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
498
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
479
499
|
viewBackgroundColor: string;
|
|
480
500
|
scrollX: number;
|
|
481
501
|
scrollY: number;
|
|
@@ -487,8 +507,8 @@ export declare const actionAddToLibrary: {
|
|
|
487
507
|
zoom: Readonly<{
|
|
488
508
|
value: import("../types").NormalizedZoomValue;
|
|
489
509
|
}>;
|
|
490
|
-
openMenu: "
|
|
491
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
510
|
+
openMenu: "canvas" | "shape" | null;
|
|
511
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
492
512
|
openSidebar: {
|
|
493
513
|
name: string;
|
|
494
514
|
tab?: string | undefined;
|
|
@@ -569,10 +589,8 @@ export declare const actionAddToLibrary: {
|
|
|
569
589
|
shown: true;
|
|
570
590
|
data: import("../charts").Spreadsheet;
|
|
571
591
|
};
|
|
572
|
-
|
|
573
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
592
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
574
593
|
linkOpacity: number;
|
|
575
|
-
trayModeEnabled: boolean;
|
|
576
594
|
colorPalette?: {
|
|
577
595
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
578
596
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -585,6 +603,7 @@ export declare const actionAddToLibrary: {
|
|
|
585
603
|
} | undefined;
|
|
586
604
|
allowWheelZoom?: boolean | undefined;
|
|
587
605
|
allowPinchZoom?: boolean | undefined;
|
|
606
|
+
disableContextMenu: boolean;
|
|
588
607
|
pinnedScripts?: string[] | undefined;
|
|
589
608
|
customPens?: any[] | undefined;
|
|
590
609
|
currentStrokeOptions?: any;
|
|
@@ -593,6 +612,10 @@ export declare const actionAddToLibrary: {
|
|
|
593
612
|
Bold: string;
|
|
594
613
|
Regular: string;
|
|
595
614
|
};
|
|
615
|
+
gridDirection: {
|
|
616
|
+
horizontal: boolean;
|
|
617
|
+
vertical: boolean;
|
|
618
|
+
};
|
|
596
619
|
highlightSearchResult: boolean;
|
|
597
620
|
dynamicStyle: {
|
|
598
621
|
[x: string]: string;
|
|
@@ -603,7 +626,7 @@ export declare const actionAddToLibrary: {
|
|
|
603
626
|
nameColor: string;
|
|
604
627
|
};
|
|
605
628
|
invertBindingBehaviour: boolean;
|
|
606
|
-
selectedLinearElement: import("@excalidraw/element
|
|
629
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
607
630
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
608
631
|
originSnapOffset: {
|
|
609
632
|
x: number;
|
|
@@ -614,16 +637,14 @@ export declare const actionAddToLibrary: {
|
|
|
614
637
|
followedBy: Set<import("../types").SocketId>;
|
|
615
638
|
isCropping: boolean;
|
|
616
639
|
croppingElementId: string | null;
|
|
617
|
-
searchMatches:
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
}[];
|
|
626
|
-
}[];
|
|
640
|
+
searchMatches: Readonly<{
|
|
641
|
+
focusedId: string | null;
|
|
642
|
+
matches: readonly import("../types").SearchMatch[];
|
|
643
|
+
}> | null;
|
|
644
|
+
activeLockedId: string | null;
|
|
645
|
+
lockedMultiSelections: {
|
|
646
|
+
[groupId: string]: true;
|
|
647
|
+
};
|
|
627
648
|
};
|
|
628
649
|
};
|
|
629
650
|
label: string;
|
|
@@ -47,23 +47,28 @@ export declare const actionBindText: {
|
|
|
47
47
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
48
48
|
isBindingEnabled: boolean;
|
|
49
49
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
50
|
-
suggestedBindings: import("@excalidraw/element
|
|
50
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
51
51
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
52
52
|
frameRendering: {
|
|
53
53
|
enabled: boolean;
|
|
54
54
|
name: boolean;
|
|
55
55
|
outline: boolean;
|
|
56
56
|
clip: boolean;
|
|
57
|
+
markerName: boolean;
|
|
58
|
+
markerEnabled: boolean;
|
|
57
59
|
};
|
|
58
60
|
editingFrame: string | null;
|
|
59
61
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
60
62
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
61
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
62
63
|
activeTool: {
|
|
63
64
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
64
65
|
locked: boolean;
|
|
65
66
|
fromSelection: boolean;
|
|
66
67
|
} & import("../types").ActiveTool;
|
|
68
|
+
preferredSelectionTool: {
|
|
69
|
+
type: "selection" | "lasso";
|
|
70
|
+
initialized: boolean;
|
|
71
|
+
};
|
|
67
72
|
penMode: boolean;
|
|
68
73
|
penDetected: boolean;
|
|
69
74
|
exportBackground: boolean;
|
|
@@ -85,6 +90,7 @@ export declare const actionBindText: {
|
|
|
85
90
|
currentHoveredFontFamily: number | null;
|
|
86
91
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
87
92
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
93
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
88
94
|
viewBackgroundColor: string;
|
|
89
95
|
scrollX: number;
|
|
90
96
|
scrollY: number;
|
|
@@ -96,8 +102,8 @@ export declare const actionBindText: {
|
|
|
96
102
|
zoom: Readonly<{
|
|
97
103
|
value: import("../types").NormalizedZoomValue;
|
|
98
104
|
}>;
|
|
99
|
-
openMenu: "
|
|
100
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
105
|
+
openMenu: "canvas" | "shape" | null;
|
|
106
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
101
107
|
openSidebar: {
|
|
102
108
|
name: string;
|
|
103
109
|
tab?: string | undefined;
|
|
@@ -175,10 +181,8 @@ export declare const actionBindText: {
|
|
|
175
181
|
shown: true;
|
|
176
182
|
data: import("../charts").Spreadsheet;
|
|
177
183
|
};
|
|
178
|
-
|
|
179
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
184
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
180
185
|
linkOpacity: number;
|
|
181
|
-
trayModeEnabled: boolean;
|
|
182
186
|
colorPalette?: {
|
|
183
187
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
184
188
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -191,6 +195,7 @@ export declare const actionBindText: {
|
|
|
191
195
|
} | undefined;
|
|
192
196
|
allowWheelZoom?: boolean | undefined;
|
|
193
197
|
allowPinchZoom?: boolean | undefined;
|
|
198
|
+
disableContextMenu: boolean;
|
|
194
199
|
pinnedScripts?: string[] | undefined;
|
|
195
200
|
customPens?: any[] | undefined;
|
|
196
201
|
currentStrokeOptions?: any;
|
|
@@ -199,6 +204,10 @@ export declare const actionBindText: {
|
|
|
199
204
|
Bold: string;
|
|
200
205
|
Regular: string;
|
|
201
206
|
};
|
|
207
|
+
gridDirection: {
|
|
208
|
+
horizontal: boolean;
|
|
209
|
+
vertical: boolean;
|
|
210
|
+
};
|
|
202
211
|
highlightSearchResult: boolean;
|
|
203
212
|
dynamicStyle: {
|
|
204
213
|
[x: string]: string;
|
|
@@ -209,7 +218,7 @@ export declare const actionBindText: {
|
|
|
209
218
|
nameColor: string;
|
|
210
219
|
};
|
|
211
220
|
invertBindingBehaviour: boolean;
|
|
212
|
-
selectedLinearElement: import("@excalidraw/element
|
|
221
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
213
222
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
214
223
|
originSnapOffset: {
|
|
215
224
|
x: number;
|
|
@@ -220,16 +229,14 @@ export declare const actionBindText: {
|
|
|
220
229
|
followedBy: Set<import("../types").SocketId>;
|
|
221
230
|
isCropping: boolean;
|
|
222
231
|
croppingElementId: string | null;
|
|
223
|
-
searchMatches:
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
}[];
|
|
232
|
-
}[];
|
|
232
|
+
searchMatches: Readonly<{
|
|
233
|
+
focusedId: string | null;
|
|
234
|
+
matches: readonly import("../types").SearchMatch[];
|
|
235
|
+
}> | null;
|
|
236
|
+
activeLockedId: string | null;
|
|
237
|
+
lockedMultiSelections: {
|
|
238
|
+
[groupId: string]: true;
|
|
239
|
+
};
|
|
233
240
|
};
|
|
234
241
|
captureUpdate: "IMMEDIATELY";
|
|
235
242
|
};
|
|
@@ -267,23 +274,28 @@ export declare const actionWrapTextInContainer: {
|
|
|
267
274
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
268
275
|
isBindingEnabled: boolean;
|
|
269
276
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
270
|
-
suggestedBindings: import("@excalidraw/element
|
|
277
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
271
278
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
272
279
|
frameRendering: {
|
|
273
280
|
enabled: boolean;
|
|
274
281
|
name: boolean;
|
|
275
282
|
outline: boolean;
|
|
276
283
|
clip: boolean;
|
|
284
|
+
markerName: boolean;
|
|
285
|
+
markerEnabled: boolean;
|
|
277
286
|
};
|
|
278
287
|
editingFrame: string | null;
|
|
279
288
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
280
289
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
281
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
282
290
|
activeTool: {
|
|
283
291
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
284
292
|
locked: boolean;
|
|
285
293
|
fromSelection: boolean;
|
|
286
294
|
} & import("../types").ActiveTool;
|
|
295
|
+
preferredSelectionTool: {
|
|
296
|
+
type: "selection" | "lasso";
|
|
297
|
+
initialized: boolean;
|
|
298
|
+
};
|
|
287
299
|
penMode: boolean;
|
|
288
300
|
penDetected: boolean;
|
|
289
301
|
exportBackground: boolean;
|
|
@@ -305,6 +317,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
305
317
|
currentHoveredFontFamily: number | null;
|
|
306
318
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
307
319
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
320
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
308
321
|
viewBackgroundColor: string;
|
|
309
322
|
scrollX: number;
|
|
310
323
|
scrollY: number;
|
|
@@ -316,8 +329,8 @@ export declare const actionWrapTextInContainer: {
|
|
|
316
329
|
zoom: Readonly<{
|
|
317
330
|
value: import("../types").NormalizedZoomValue;
|
|
318
331
|
}>;
|
|
319
|
-
openMenu: "
|
|
320
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
332
|
+
openMenu: "canvas" | "shape" | null;
|
|
333
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
321
334
|
openSidebar: {
|
|
322
335
|
name: string;
|
|
323
336
|
tab?: string | undefined;
|
|
@@ -395,10 +408,8 @@ export declare const actionWrapTextInContainer: {
|
|
|
395
408
|
shown: true;
|
|
396
409
|
data: import("../charts").Spreadsheet;
|
|
397
410
|
};
|
|
398
|
-
|
|
399
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
411
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
400
412
|
linkOpacity: number;
|
|
401
|
-
trayModeEnabled: boolean;
|
|
402
413
|
colorPalette?: {
|
|
403
414
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
404
415
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -411,6 +422,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
411
422
|
} | undefined;
|
|
412
423
|
allowWheelZoom?: boolean | undefined;
|
|
413
424
|
allowPinchZoom?: boolean | undefined;
|
|
425
|
+
disableContextMenu: boolean;
|
|
414
426
|
pinnedScripts?: string[] | undefined;
|
|
415
427
|
customPens?: any[] | undefined;
|
|
416
428
|
currentStrokeOptions?: any;
|
|
@@ -419,6 +431,10 @@ export declare const actionWrapTextInContainer: {
|
|
|
419
431
|
Bold: string;
|
|
420
432
|
Regular: string;
|
|
421
433
|
};
|
|
434
|
+
gridDirection: {
|
|
435
|
+
horizontal: boolean;
|
|
436
|
+
vertical: boolean;
|
|
437
|
+
};
|
|
422
438
|
highlightSearchResult: boolean;
|
|
423
439
|
dynamicStyle: {
|
|
424
440
|
[x: string]: string;
|
|
@@ -429,7 +445,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
429
445
|
nameColor: string;
|
|
430
446
|
};
|
|
431
447
|
invertBindingBehaviour: boolean;
|
|
432
|
-
selectedLinearElement: import("@excalidraw/element
|
|
448
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
433
449
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
434
450
|
originSnapOffset: {
|
|
435
451
|
x: number;
|
|
@@ -440,16 +456,14 @@ export declare const actionWrapTextInContainer: {
|
|
|
440
456
|
followedBy: Set<import("../types").SocketId>;
|
|
441
457
|
isCropping: boolean;
|
|
442
458
|
croppingElementId: string | null;
|
|
443
|
-
searchMatches:
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
}[];
|
|
452
|
-
}[];
|
|
459
|
+
searchMatches: Readonly<{
|
|
460
|
+
focusedId: string | null;
|
|
461
|
+
matches: readonly import("../types").SearchMatch[];
|
|
462
|
+
}> | null;
|
|
463
|
+
activeLockedId: string | null;
|
|
464
|
+
lockedMultiSelections: {
|
|
465
|
+
[groupId: string]: true;
|
|
466
|
+
};
|
|
453
467
|
};
|
|
454
468
|
captureUpdate: "IMMEDIATELY";
|
|
455
469
|
};
|