@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
|
@@ -29,23 +29,28 @@ export declare const actionToggleCropEditor: {
|
|
|
29
29
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
30
30
|
isBindingEnabled: boolean;
|
|
31
31
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
32
|
-
suggestedBindings: import("@excalidraw/element
|
|
32
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
33
33
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
34
34
|
frameRendering: {
|
|
35
35
|
enabled: boolean;
|
|
36
36
|
name: boolean;
|
|
37
37
|
outline: boolean;
|
|
38
38
|
clip: boolean;
|
|
39
|
+
markerName: boolean;
|
|
40
|
+
markerEnabled: boolean;
|
|
39
41
|
};
|
|
40
42
|
editingFrame: string | null;
|
|
41
43
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
42
44
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
43
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
44
45
|
activeTool: {
|
|
45
46
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
46
47
|
locked: boolean;
|
|
47
48
|
fromSelection: boolean;
|
|
48
49
|
} & import("../types").ActiveTool;
|
|
50
|
+
preferredSelectionTool: {
|
|
51
|
+
type: "selection" | "lasso";
|
|
52
|
+
initialized: boolean;
|
|
53
|
+
};
|
|
49
54
|
penMode: boolean;
|
|
50
55
|
penDetected: boolean;
|
|
51
56
|
exportBackground: boolean;
|
|
@@ -67,6 +72,7 @@ export declare const actionToggleCropEditor: {
|
|
|
67
72
|
currentHoveredFontFamily: number | null;
|
|
68
73
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
69
74
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
75
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
70
76
|
viewBackgroundColor: string;
|
|
71
77
|
scrollX: number;
|
|
72
78
|
scrollY: number;
|
|
@@ -78,8 +84,8 @@ export declare const actionToggleCropEditor: {
|
|
|
78
84
|
zoom: Readonly<{
|
|
79
85
|
value: import("../types").NormalizedZoomValue;
|
|
80
86
|
}>;
|
|
81
|
-
openMenu: "
|
|
82
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
87
|
+
openMenu: "canvas" | "shape" | null;
|
|
88
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
83
89
|
openSidebar: {
|
|
84
90
|
name: string;
|
|
85
91
|
tab?: string | undefined;
|
|
@@ -160,10 +166,8 @@ export declare const actionToggleCropEditor: {
|
|
|
160
166
|
shown: true;
|
|
161
167
|
data: import("../charts").Spreadsheet;
|
|
162
168
|
};
|
|
163
|
-
|
|
164
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
169
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
165
170
|
linkOpacity: number;
|
|
166
|
-
trayModeEnabled: boolean;
|
|
167
171
|
colorPalette?: {
|
|
168
172
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
169
173
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -176,6 +180,7 @@ export declare const actionToggleCropEditor: {
|
|
|
176
180
|
} | undefined;
|
|
177
181
|
allowWheelZoom?: boolean | undefined;
|
|
178
182
|
allowPinchZoom?: boolean | undefined;
|
|
183
|
+
disableContextMenu: boolean;
|
|
179
184
|
pinnedScripts?: string[] | undefined;
|
|
180
185
|
customPens?: any[] | undefined;
|
|
181
186
|
currentStrokeOptions?: any;
|
|
@@ -184,6 +189,10 @@ export declare const actionToggleCropEditor: {
|
|
|
184
189
|
Bold: string;
|
|
185
190
|
Regular: string;
|
|
186
191
|
};
|
|
192
|
+
gridDirection: {
|
|
193
|
+
horizontal: boolean;
|
|
194
|
+
vertical: boolean;
|
|
195
|
+
};
|
|
187
196
|
highlightSearchResult: boolean;
|
|
188
197
|
dynamicStyle: {
|
|
189
198
|
[x: string]: string;
|
|
@@ -194,7 +203,7 @@ export declare const actionToggleCropEditor: {
|
|
|
194
203
|
nameColor: string;
|
|
195
204
|
};
|
|
196
205
|
invertBindingBehaviour: boolean;
|
|
197
|
-
selectedLinearElement: import("@excalidraw/element
|
|
206
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
198
207
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
199
208
|
originSnapOffset: {
|
|
200
209
|
x: number;
|
|
@@ -203,16 +212,14 @@ export declare const actionToggleCropEditor: {
|
|
|
203
212
|
objectsSnapModeEnabled: boolean;
|
|
204
213
|
userToFollow: import("../types").UserToFollow | null;
|
|
205
214
|
followedBy: Set<import("../types").SocketId>;
|
|
206
|
-
searchMatches:
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
}[];
|
|
215
|
-
}[];
|
|
215
|
+
searchMatches: Readonly<{
|
|
216
|
+
focusedId: string | null;
|
|
217
|
+
matches: readonly import("../types").SearchMatch[];
|
|
218
|
+
}> | null;
|
|
219
|
+
activeLockedId: string | null;
|
|
220
|
+
lockedMultiSelections: {
|
|
221
|
+
[groupId: string]: true;
|
|
222
|
+
};
|
|
216
223
|
};
|
|
217
224
|
captureUpdate: "IMMEDIATELY";
|
|
218
225
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { LinearElementEditor } from "@excalidraw/element/linearElementEditor";
|
|
2
1
|
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
3
2
|
import type { AppClassProperties, AppState } from "../types";
|
|
4
3
|
export declare const actionDeleteSelected: {
|
|
@@ -12,7 +11,7 @@ export declare const actionDeleteSelected: {
|
|
|
12
11
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, formData: any, app: AppClassProperties) => false | {
|
|
13
12
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
14
13
|
appState: {
|
|
15
|
-
|
|
14
|
+
selectedLinearElement: null;
|
|
16
15
|
contextMenu: {
|
|
17
16
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
18
17
|
top: number;
|
|
@@ -31,13 +30,15 @@ export declare const actionDeleteSelected: {
|
|
|
31
30
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
32
31
|
isBindingEnabled: boolean;
|
|
33
32
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
34
|
-
suggestedBindings: import("@excalidraw/element
|
|
33
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
35
34
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
36
35
|
frameRendering: {
|
|
37
36
|
enabled: boolean;
|
|
38
37
|
name: boolean;
|
|
39
38
|
outline: boolean;
|
|
40
39
|
clip: boolean;
|
|
40
|
+
markerName: boolean;
|
|
41
|
+
markerEnabled: boolean;
|
|
41
42
|
};
|
|
42
43
|
editingFrame: string | null;
|
|
43
44
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -47,6 +48,10 @@ export declare const actionDeleteSelected: {
|
|
|
47
48
|
locked: boolean;
|
|
48
49
|
fromSelection: boolean;
|
|
49
50
|
} & import("../types").ActiveTool;
|
|
51
|
+
preferredSelectionTool: {
|
|
52
|
+
type: "selection" | "lasso";
|
|
53
|
+
initialized: boolean;
|
|
54
|
+
};
|
|
50
55
|
penMode: boolean;
|
|
51
56
|
penDetected: boolean;
|
|
52
57
|
exportBackground: boolean;
|
|
@@ -68,6 +73,7 @@ export declare const actionDeleteSelected: {
|
|
|
68
73
|
currentHoveredFontFamily: number | null;
|
|
69
74
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
70
75
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
76
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
71
77
|
viewBackgroundColor: string;
|
|
72
78
|
scrollX: number;
|
|
73
79
|
scrollY: number;
|
|
@@ -79,8 +85,8 @@ export declare const actionDeleteSelected: {
|
|
|
79
85
|
zoom: Readonly<{
|
|
80
86
|
value: import("../types").NormalizedZoomValue;
|
|
81
87
|
}>;
|
|
82
|
-
openMenu: "
|
|
83
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
88
|
+
openMenu: "canvas" | "shape" | null;
|
|
89
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
84
90
|
openSidebar: {
|
|
85
91
|
name: string;
|
|
86
92
|
tab?: string | undefined;
|
|
@@ -161,10 +167,8 @@ export declare const actionDeleteSelected: {
|
|
|
161
167
|
shown: true;
|
|
162
168
|
data: import("../charts").Spreadsheet;
|
|
163
169
|
};
|
|
164
|
-
|
|
165
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
170
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
166
171
|
linkOpacity: number;
|
|
167
|
-
trayModeEnabled: boolean;
|
|
168
172
|
colorPalette?: {
|
|
169
173
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
170
174
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -177,6 +181,7 @@ export declare const actionDeleteSelected: {
|
|
|
177
181
|
} | undefined;
|
|
178
182
|
allowWheelZoom?: boolean | undefined;
|
|
179
183
|
allowPinchZoom?: boolean | undefined;
|
|
184
|
+
disableContextMenu: boolean;
|
|
180
185
|
pinnedScripts?: string[] | undefined;
|
|
181
186
|
customPens?: any[] | undefined;
|
|
182
187
|
currentStrokeOptions?: any;
|
|
@@ -185,6 +190,10 @@ export declare const actionDeleteSelected: {
|
|
|
185
190
|
Bold: string;
|
|
186
191
|
Regular: string;
|
|
187
192
|
};
|
|
193
|
+
gridDirection: {
|
|
194
|
+
horizontal: boolean;
|
|
195
|
+
vertical: boolean;
|
|
196
|
+
};
|
|
188
197
|
highlightSearchResult: boolean;
|
|
189
198
|
dynamicStyle: {
|
|
190
199
|
[x: string]: string;
|
|
@@ -195,7 +204,6 @@ export declare const actionDeleteSelected: {
|
|
|
195
204
|
nameColor: string;
|
|
196
205
|
};
|
|
197
206
|
invertBindingBehaviour: boolean;
|
|
198
|
-
selectedLinearElement: LinearElementEditor | null;
|
|
199
207
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
200
208
|
originSnapOffset: {
|
|
201
209
|
x: number;
|
|
@@ -206,22 +214,20 @@ export declare const actionDeleteSelected: {
|
|
|
206
214
|
followedBy: Set<import("../types").SocketId>;
|
|
207
215
|
isCropping: boolean;
|
|
208
216
|
croppingElementId: string | null;
|
|
209
|
-
searchMatches:
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
}[];
|
|
218
|
-
}[];
|
|
217
|
+
searchMatches: Readonly<{
|
|
218
|
+
focusedId: string | null;
|
|
219
|
+
matches: readonly import("../types").SearchMatch[];
|
|
220
|
+
}> | null;
|
|
221
|
+
activeLockedId: string | null;
|
|
222
|
+
lockedMultiSelections: {
|
|
223
|
+
[groupId: string]: true;
|
|
224
|
+
};
|
|
219
225
|
};
|
|
220
226
|
captureUpdate: "IMMEDIATELY";
|
|
221
227
|
} | {
|
|
222
228
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
223
229
|
appState: {
|
|
224
|
-
|
|
230
|
+
selectedLinearElement: {
|
|
225
231
|
selectedPointsIndices: number[];
|
|
226
232
|
startBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
|
|
227
233
|
endBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
|
|
@@ -251,6 +257,8 @@ export declare const actionDeleteSelected: {
|
|
|
251
257
|
hoverPointIndex: number;
|
|
252
258
|
segmentMidPointHoveredCoords: import("@excalidraw/math").GlobalPoint | null;
|
|
253
259
|
elbowed: boolean;
|
|
260
|
+
customLineAngle: number | null;
|
|
261
|
+
isEditing: boolean;
|
|
254
262
|
};
|
|
255
263
|
contextMenu: {
|
|
256
264
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -270,13 +278,15 @@ export declare const actionDeleteSelected: {
|
|
|
270
278
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
271
279
|
isBindingEnabled: boolean;
|
|
272
280
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
273
|
-
suggestedBindings: import("@excalidraw/element
|
|
281
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
274
282
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
275
283
|
frameRendering: {
|
|
276
284
|
enabled: boolean;
|
|
277
285
|
name: boolean;
|
|
278
286
|
outline: boolean;
|
|
279
287
|
clip: boolean;
|
|
288
|
+
markerName: boolean;
|
|
289
|
+
markerEnabled: boolean;
|
|
280
290
|
};
|
|
281
291
|
editingFrame: string | null;
|
|
282
292
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
@@ -286,6 +296,10 @@ export declare const actionDeleteSelected: {
|
|
|
286
296
|
locked: boolean;
|
|
287
297
|
fromSelection: boolean;
|
|
288
298
|
} & import("../types").ActiveTool;
|
|
299
|
+
preferredSelectionTool: {
|
|
300
|
+
type: "selection" | "lasso";
|
|
301
|
+
initialized: boolean;
|
|
302
|
+
};
|
|
289
303
|
penMode: boolean;
|
|
290
304
|
penDetected: boolean;
|
|
291
305
|
exportBackground: boolean;
|
|
@@ -307,6 +321,7 @@ export declare const actionDeleteSelected: {
|
|
|
307
321
|
currentHoveredFontFamily: number | null;
|
|
308
322
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
309
323
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
324
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
310
325
|
viewBackgroundColor: string;
|
|
311
326
|
scrollX: number;
|
|
312
327
|
scrollY: number;
|
|
@@ -318,8 +333,8 @@ export declare const actionDeleteSelected: {
|
|
|
318
333
|
zoom: Readonly<{
|
|
319
334
|
value: import("../types").NormalizedZoomValue;
|
|
320
335
|
}>;
|
|
321
|
-
openMenu: "
|
|
322
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
336
|
+
openMenu: "canvas" | "shape" | null;
|
|
337
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
323
338
|
openSidebar: {
|
|
324
339
|
name: string;
|
|
325
340
|
tab?: string | undefined;
|
|
@@ -400,10 +415,8 @@ export declare const actionDeleteSelected: {
|
|
|
400
415
|
shown: true;
|
|
401
416
|
data: import("../charts").Spreadsheet;
|
|
402
417
|
};
|
|
403
|
-
|
|
404
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
418
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
405
419
|
linkOpacity: number;
|
|
406
|
-
trayModeEnabled: boolean;
|
|
407
420
|
colorPalette?: {
|
|
408
421
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
409
422
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -416,6 +429,7 @@ export declare const actionDeleteSelected: {
|
|
|
416
429
|
} | undefined;
|
|
417
430
|
allowWheelZoom?: boolean | undefined;
|
|
418
431
|
allowPinchZoom?: boolean | undefined;
|
|
432
|
+
disableContextMenu: boolean;
|
|
419
433
|
pinnedScripts?: string[] | undefined;
|
|
420
434
|
customPens?: any[] | undefined;
|
|
421
435
|
currentStrokeOptions?: any;
|
|
@@ -424,6 +438,10 @@ export declare const actionDeleteSelected: {
|
|
|
424
438
|
Bold: string;
|
|
425
439
|
Regular: string;
|
|
426
440
|
};
|
|
441
|
+
gridDirection: {
|
|
442
|
+
horizontal: boolean;
|
|
443
|
+
vertical: boolean;
|
|
444
|
+
};
|
|
427
445
|
highlightSearchResult: boolean;
|
|
428
446
|
dynamicStyle: {
|
|
429
447
|
[x: string]: string;
|
|
@@ -434,7 +452,6 @@ export declare const actionDeleteSelected: {
|
|
|
434
452
|
nameColor: string;
|
|
435
453
|
};
|
|
436
454
|
invertBindingBehaviour: boolean;
|
|
437
|
-
selectedLinearElement: LinearElementEditor | null;
|
|
438
455
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
439
456
|
originSnapOffset: {
|
|
440
457
|
x: number;
|
|
@@ -445,16 +462,14 @@ export declare const actionDeleteSelected: {
|
|
|
445
462
|
followedBy: Set<import("../types").SocketId>;
|
|
446
463
|
isCropping: boolean;
|
|
447
464
|
croppingElementId: string | null;
|
|
448
|
-
searchMatches:
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
}[];
|
|
457
|
-
}[];
|
|
465
|
+
searchMatches: Readonly<{
|
|
466
|
+
focusedId: string | null;
|
|
467
|
+
matches: readonly import("../types").SearchMatch[];
|
|
468
|
+
}> | null;
|
|
469
|
+
activeLockedId: string | null;
|
|
470
|
+
lockedMultiSelections: {
|
|
471
|
+
[groupId: string]: true;
|
|
472
|
+
};
|
|
458
473
|
};
|
|
459
474
|
captureUpdate: "IMMEDIATELY";
|
|
460
475
|
} | {
|
|
@@ -488,18 +503,23 @@ export declare const actionDeleteSelected: {
|
|
|
488
503
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
489
504
|
isBindingEnabled: boolean;
|
|
490
505
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
491
|
-
suggestedBindings: import("@excalidraw/element
|
|
506
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
492
507
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
493
508
|
frameRendering: {
|
|
494
509
|
enabled: boolean;
|
|
495
510
|
name: boolean;
|
|
496
511
|
outline: boolean;
|
|
497
512
|
clip: boolean;
|
|
513
|
+
markerName: boolean;
|
|
514
|
+
markerEnabled: boolean;
|
|
498
515
|
};
|
|
499
516
|
editingFrame: string | null;
|
|
500
517
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
501
518
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
502
|
-
|
|
519
|
+
preferredSelectionTool: {
|
|
520
|
+
type: "selection" | "lasso";
|
|
521
|
+
initialized: boolean;
|
|
522
|
+
};
|
|
503
523
|
penMode: boolean;
|
|
504
524
|
penDetected: boolean;
|
|
505
525
|
exportBackground: boolean;
|
|
@@ -521,6 +541,7 @@ export declare const actionDeleteSelected: {
|
|
|
521
541
|
currentHoveredFontFamily: number | null;
|
|
522
542
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
523
543
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
544
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
524
545
|
viewBackgroundColor: string;
|
|
525
546
|
scrollX: number;
|
|
526
547
|
scrollY: number;
|
|
@@ -532,8 +553,8 @@ export declare const actionDeleteSelected: {
|
|
|
532
553
|
zoom: Readonly<{
|
|
533
554
|
value: import("../types").NormalizedZoomValue;
|
|
534
555
|
}>;
|
|
535
|
-
openMenu: "
|
|
536
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
556
|
+
openMenu: "canvas" | "shape" | null;
|
|
557
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
537
558
|
openSidebar: {
|
|
538
559
|
name: string;
|
|
539
560
|
tab?: string | undefined;
|
|
@@ -607,10 +628,8 @@ export declare const actionDeleteSelected: {
|
|
|
607
628
|
shown: true;
|
|
608
629
|
data: import("../charts").Spreadsheet;
|
|
609
630
|
};
|
|
610
|
-
|
|
611
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
631
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
612
632
|
linkOpacity: number;
|
|
613
|
-
trayModeEnabled: boolean;
|
|
614
633
|
colorPalette?: {
|
|
615
634
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
616
635
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -623,6 +642,7 @@ export declare const actionDeleteSelected: {
|
|
|
623
642
|
} | undefined;
|
|
624
643
|
allowWheelZoom?: boolean | undefined;
|
|
625
644
|
allowPinchZoom?: boolean | undefined;
|
|
645
|
+
disableContextMenu: boolean;
|
|
626
646
|
pinnedScripts?: string[] | undefined;
|
|
627
647
|
customPens?: any[] | undefined;
|
|
628
648
|
currentStrokeOptions?: any;
|
|
@@ -631,6 +651,10 @@ export declare const actionDeleteSelected: {
|
|
|
631
651
|
Bold: string;
|
|
632
652
|
Regular: string;
|
|
633
653
|
};
|
|
654
|
+
gridDirection: {
|
|
655
|
+
horizontal: boolean;
|
|
656
|
+
vertical: boolean;
|
|
657
|
+
};
|
|
634
658
|
highlightSearchResult: boolean;
|
|
635
659
|
dynamicStyle: {
|
|
636
660
|
[x: string]: string;
|
|
@@ -651,21 +675,19 @@ export declare const actionDeleteSelected: {
|
|
|
651
675
|
followedBy: Set<import("../types").SocketId>;
|
|
652
676
|
isCropping: boolean;
|
|
653
677
|
croppingElementId: string | null;
|
|
654
|
-
searchMatches:
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
}[];
|
|
663
|
-
}[];
|
|
678
|
+
searchMatches: Readonly<{
|
|
679
|
+
focusedId: string | null;
|
|
680
|
+
matches: readonly import("../types").SearchMatch[];
|
|
681
|
+
}> | null;
|
|
682
|
+
activeLockedId: string | null;
|
|
683
|
+
lockedMultiSelections: {
|
|
684
|
+
[groupId: string]: true;
|
|
685
|
+
};
|
|
664
686
|
};
|
|
665
687
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
666
688
|
};
|
|
667
689
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean;
|
|
668
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
690
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
669
691
|
} & {
|
|
670
692
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean) | undefined;
|
|
671
693
|
};
|
|
@@ -11,7 +11,7 @@ export declare const actionDuplicateSelection: {
|
|
|
11
11
|
captureUpdate: "IMMEDIATELY";
|
|
12
12
|
};
|
|
13
13
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
14
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
} & {
|
|
16
16
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
17
17
|
};
|
|
@@ -58,23 +58,28 @@ export declare const actionLinkToElement: {
|
|
|
58
58
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
59
59
|
isBindingEnabled: boolean;
|
|
60
60
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
61
|
-
suggestedBindings: import("@excalidraw/element
|
|
61
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
62
62
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
63
63
|
frameRendering: {
|
|
64
64
|
enabled: boolean;
|
|
65
65
|
name: boolean;
|
|
66
66
|
outline: boolean;
|
|
67
67
|
clip: boolean;
|
|
68
|
+
markerName: boolean;
|
|
69
|
+
markerEnabled: boolean;
|
|
68
70
|
};
|
|
69
71
|
editingFrame: string | null;
|
|
70
72
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
71
73
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
72
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
73
74
|
activeTool: {
|
|
74
75
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
75
76
|
locked: boolean;
|
|
76
77
|
fromSelection: boolean;
|
|
77
78
|
} & import("../types").ActiveTool;
|
|
79
|
+
preferredSelectionTool: {
|
|
80
|
+
type: "selection" | "lasso";
|
|
81
|
+
initialized: boolean;
|
|
82
|
+
};
|
|
78
83
|
penMode: boolean;
|
|
79
84
|
penDetected: boolean;
|
|
80
85
|
exportBackground: boolean;
|
|
@@ -96,6 +101,7 @@ export declare const actionLinkToElement: {
|
|
|
96
101
|
currentHoveredFontFamily: number | null;
|
|
97
102
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
98
103
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
104
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
99
105
|
viewBackgroundColor: string;
|
|
100
106
|
scrollX: number;
|
|
101
107
|
scrollY: number;
|
|
@@ -107,8 +113,8 @@ export declare const actionLinkToElement: {
|
|
|
107
113
|
zoom: Readonly<{
|
|
108
114
|
value: import("../types").NormalizedZoomValue;
|
|
109
115
|
}>;
|
|
110
|
-
openMenu: "
|
|
111
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
116
|
+
openMenu: "canvas" | "shape" | null;
|
|
117
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
112
118
|
openSidebar: {
|
|
113
119
|
name: string;
|
|
114
120
|
tab?: string | undefined;
|
|
@@ -178,10 +184,8 @@ export declare const actionLinkToElement: {
|
|
|
178
184
|
shown: true;
|
|
179
185
|
data: import("../charts").Spreadsheet;
|
|
180
186
|
};
|
|
181
|
-
|
|
182
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
187
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
183
188
|
linkOpacity: number;
|
|
184
|
-
trayModeEnabled: boolean;
|
|
185
189
|
colorPalette?: {
|
|
186
190
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
187
191
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -194,6 +198,7 @@ export declare const actionLinkToElement: {
|
|
|
194
198
|
} | undefined;
|
|
195
199
|
allowWheelZoom?: boolean | undefined;
|
|
196
200
|
allowPinchZoom?: boolean | undefined;
|
|
201
|
+
disableContextMenu: boolean;
|
|
197
202
|
pinnedScripts?: string[] | undefined;
|
|
198
203
|
customPens?: any[] | undefined;
|
|
199
204
|
currentStrokeOptions?: any;
|
|
@@ -202,6 +207,10 @@ export declare const actionLinkToElement: {
|
|
|
202
207
|
Bold: string;
|
|
203
208
|
Regular: string;
|
|
204
209
|
};
|
|
210
|
+
gridDirection: {
|
|
211
|
+
horizontal: boolean;
|
|
212
|
+
vertical: boolean;
|
|
213
|
+
};
|
|
205
214
|
highlightSearchResult: boolean;
|
|
206
215
|
dynamicStyle: {
|
|
207
216
|
[x: string]: string;
|
|
@@ -212,7 +221,7 @@ export declare const actionLinkToElement: {
|
|
|
212
221
|
nameColor: string;
|
|
213
222
|
};
|
|
214
223
|
invertBindingBehaviour: boolean;
|
|
215
|
-
selectedLinearElement: import("@excalidraw/element
|
|
224
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
216
225
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
217
226
|
originSnapOffset: {
|
|
218
227
|
x: number;
|
|
@@ -223,16 +232,14 @@ export declare const actionLinkToElement: {
|
|
|
223
232
|
followedBy: Set<import("../types").SocketId>;
|
|
224
233
|
isCropping: boolean;
|
|
225
234
|
croppingElementId: string | null;
|
|
226
|
-
searchMatches:
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
}[];
|
|
235
|
-
}[];
|
|
235
|
+
searchMatches: Readonly<{
|
|
236
|
+
focusedId: string | null;
|
|
237
|
+
matches: readonly import("../types").SearchMatch[];
|
|
238
|
+
}> | null;
|
|
239
|
+
activeLockedId: string | null;
|
|
240
|
+
lockedMultiSelections: {
|
|
241
|
+
[groupId: string]: true;
|
|
242
|
+
};
|
|
236
243
|
};
|
|
237
244
|
captureUpdate: "IMMEDIATELY";
|
|
238
245
|
elements?: undefined;
|