@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
|
@@ -27,23 +27,28 @@ export declare const actionGoToCollaborator: {
|
|
|
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 actionGoToCollaborator: {
|
|
|
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 actionGoToCollaborator: {
|
|
|
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;
|
|
@@ -158,10 +164,8 @@ export declare const actionGoToCollaborator: {
|
|
|
158
164
|
shown: true;
|
|
159
165
|
data: import("../charts").Spreadsheet;
|
|
160
166
|
};
|
|
161
|
-
|
|
162
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
167
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
163
168
|
linkOpacity: number;
|
|
164
|
-
trayModeEnabled: boolean;
|
|
165
169
|
colorPalette?: {
|
|
166
170
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
167
171
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -174,6 +178,7 @@ export declare const actionGoToCollaborator: {
|
|
|
174
178
|
} | undefined;
|
|
175
179
|
allowWheelZoom?: boolean | undefined;
|
|
176
180
|
allowPinchZoom?: boolean | undefined;
|
|
181
|
+
disableContextMenu: boolean;
|
|
177
182
|
pinnedScripts?: string[] | undefined;
|
|
178
183
|
customPens?: any[] | undefined;
|
|
179
184
|
currentStrokeOptions?: any;
|
|
@@ -182,6 +187,10 @@ export declare const actionGoToCollaborator: {
|
|
|
182
187
|
Bold: string;
|
|
183
188
|
Regular: string;
|
|
184
189
|
};
|
|
190
|
+
gridDirection: {
|
|
191
|
+
horizontal: boolean;
|
|
192
|
+
vertical: boolean;
|
|
193
|
+
};
|
|
185
194
|
highlightSearchResult: boolean;
|
|
186
195
|
dynamicStyle: {
|
|
187
196
|
[x: string]: string;
|
|
@@ -192,7 +201,7 @@ export declare const actionGoToCollaborator: {
|
|
|
192
201
|
nameColor: string;
|
|
193
202
|
};
|
|
194
203
|
invertBindingBehaviour: boolean;
|
|
195
|
-
selectedLinearElement: import("@excalidraw/element
|
|
204
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
196
205
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
197
206
|
originSnapOffset: {
|
|
198
207
|
x: number;
|
|
@@ -202,16 +211,14 @@ export declare const actionGoToCollaborator: {
|
|
|
202
211
|
followedBy: Set<import("../types").SocketId>;
|
|
203
212
|
isCropping: boolean;
|
|
204
213
|
croppingElementId: string | null;
|
|
205
|
-
searchMatches:
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
}[];
|
|
214
|
-
}[];
|
|
214
|
+
searchMatches: Readonly<{
|
|
215
|
+
focusedId: string | null;
|
|
216
|
+
matches: readonly import("../types").SearchMatch[];
|
|
217
|
+
}> | null;
|
|
218
|
+
activeLockedId: string | null;
|
|
219
|
+
lockedMultiSelections: {
|
|
220
|
+
[groupId: string]: true;
|
|
221
|
+
};
|
|
215
222
|
};
|
|
216
223
|
captureUpdate: "EVENTUALLY";
|
|
217
224
|
} | {
|
|
@@ -239,23 +246,28 @@ export declare const actionGoToCollaborator: {
|
|
|
239
246
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
240
247
|
isBindingEnabled: boolean;
|
|
241
248
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
242
|
-
suggestedBindings: import("@excalidraw/element
|
|
249
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
243
250
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
244
251
|
frameRendering: {
|
|
245
252
|
enabled: boolean;
|
|
246
253
|
name: boolean;
|
|
247
254
|
outline: boolean;
|
|
248
255
|
clip: boolean;
|
|
256
|
+
markerName: boolean;
|
|
257
|
+
markerEnabled: boolean;
|
|
249
258
|
};
|
|
250
259
|
editingFrame: string | null;
|
|
251
260
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
252
261
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
253
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
254
262
|
activeTool: {
|
|
255
263
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
256
264
|
locked: boolean;
|
|
257
265
|
fromSelection: boolean;
|
|
258
266
|
} & import("../types").ActiveTool;
|
|
267
|
+
preferredSelectionTool: {
|
|
268
|
+
type: "selection" | "lasso";
|
|
269
|
+
initialized: boolean;
|
|
270
|
+
};
|
|
259
271
|
penMode: boolean;
|
|
260
272
|
penDetected: boolean;
|
|
261
273
|
exportBackground: boolean;
|
|
@@ -277,6 +289,7 @@ export declare const actionGoToCollaborator: {
|
|
|
277
289
|
currentHoveredFontFamily: number | null;
|
|
278
290
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
279
291
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
292
|
+
currentItemFrameRole: ("marker" | null) | undefined;
|
|
280
293
|
viewBackgroundColor: string;
|
|
281
294
|
scrollX: number;
|
|
282
295
|
scrollY: number;
|
|
@@ -288,7 +301,7 @@ export declare const actionGoToCollaborator: {
|
|
|
288
301
|
zoom: Readonly<{
|
|
289
302
|
value: import("../types").NormalizedZoomValue;
|
|
290
303
|
}>;
|
|
291
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
304
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
292
305
|
openSidebar: {
|
|
293
306
|
name: string;
|
|
294
307
|
tab?: string | undefined;
|
|
@@ -369,10 +382,8 @@ export declare const actionGoToCollaborator: {
|
|
|
369
382
|
shown: true;
|
|
370
383
|
data: import("../charts").Spreadsheet;
|
|
371
384
|
};
|
|
372
|
-
|
|
373
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
385
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
374
386
|
linkOpacity: number;
|
|
375
|
-
trayModeEnabled: boolean;
|
|
376
387
|
colorPalette?: {
|
|
377
388
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
378
389
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -385,6 +396,7 @@ export declare const actionGoToCollaborator: {
|
|
|
385
396
|
} | undefined;
|
|
386
397
|
allowWheelZoom?: boolean | undefined;
|
|
387
398
|
allowPinchZoom?: boolean | undefined;
|
|
399
|
+
disableContextMenu: boolean;
|
|
388
400
|
pinnedScripts?: string[] | undefined;
|
|
389
401
|
customPens?: any[] | undefined;
|
|
390
402
|
currentStrokeOptions?: any;
|
|
@@ -393,6 +405,10 @@ export declare const actionGoToCollaborator: {
|
|
|
393
405
|
Bold: string;
|
|
394
406
|
Regular: string;
|
|
395
407
|
};
|
|
408
|
+
gridDirection: {
|
|
409
|
+
horizontal: boolean;
|
|
410
|
+
vertical: boolean;
|
|
411
|
+
};
|
|
396
412
|
highlightSearchResult: boolean;
|
|
397
413
|
dynamicStyle: {
|
|
398
414
|
[x: string]: string;
|
|
@@ -403,7 +419,7 @@ export declare const actionGoToCollaborator: {
|
|
|
403
419
|
nameColor: string;
|
|
404
420
|
};
|
|
405
421
|
invertBindingBehaviour: boolean;
|
|
406
|
-
selectedLinearElement: import("@excalidraw/element
|
|
422
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
407
423
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
408
424
|
originSnapOffset: {
|
|
409
425
|
x: number;
|
|
@@ -413,16 +429,14 @@ export declare const actionGoToCollaborator: {
|
|
|
413
429
|
followedBy: Set<import("../types").SocketId>;
|
|
414
430
|
isCropping: boolean;
|
|
415
431
|
croppingElementId: string | null;
|
|
416
|
-
searchMatches:
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
}[];
|
|
425
|
-
}[];
|
|
432
|
+
searchMatches: Readonly<{
|
|
433
|
+
focusedId: string | null;
|
|
434
|
+
matches: readonly import("../types").SearchMatch[];
|
|
435
|
+
}> | null;
|
|
436
|
+
activeLockedId: string | null;
|
|
437
|
+
lockedMultiSelections: {
|
|
438
|
+
[groupId: string]: true;
|
|
439
|
+
};
|
|
426
440
|
};
|
|
427
441
|
captureUpdate: "EVENTUALLY";
|
|
428
442
|
};
|