@myoc/math 0.19.521 → 0.19.522
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/dev/index.js +261 -92
- package/dist/dev/index.js.map +4 -4
- package/dist/prod/index.js +1 -1
- package/dist/types/common/src/colors.d.ts +14 -0
- package/dist/types/common/src/constants.d.ts +3 -0
- package/dist/types/common/src/keys.d.ts +2 -0
- package/dist/types/common/src/points.d.ts +1 -1
- package/dist/types/common/src/utils.d.ts +1 -1
- package/dist/types/element/src/Scene.d.ts +1 -1
- package/dist/types/element/src/align.d.ts +2 -2
- package/dist/types/element/src/arrowEndpointText.d.ts +49 -0
- package/dist/types/element/src/arrows/focus.d.ts +5 -2
- package/dist/types/element/src/binding.d.ts +17 -8
- package/dist/types/element/src/bounds.d.ts +5 -9
- package/dist/types/element/src/bucketFill.d.ts +110 -0
- package/dist/types/element/src/collision.d.ts +1 -1
- package/dist/types/element/src/comparisons.d.ts +4 -4
- package/dist/types/element/src/convertToShape.d.ts +23 -0
- package/dist/types/element/src/distribute.d.ts +2 -2
- package/dist/types/element/src/dragElements.d.ts +27 -0
- package/dist/types/element/src/duplicate.d.ts +3 -3
- package/dist/types/element/src/embeddable.d.ts +2 -2
- package/dist/types/element/src/flowchart.d.ts +7 -7
- package/dist/types/element/src/fractionalIndex.d.ts +2 -2
- package/dist/types/element/src/frame.d.ts +4 -4
- package/dist/types/element/src/groups.d.ts +9 -9
- package/dist/types/element/src/index.d.ts +4 -1
- package/dist/types/element/src/linearElementEditor.d.ts +17 -10
- package/dist/types/element/src/newElement.d.ts +13 -0
- package/dist/types/element/src/renderElement.d.ts +0 -3
- package/dist/types/element/src/resizeElements.d.ts +2 -2
- package/dist/types/element/src/selection.d.ts +5 -5
- package/dist/types/element/src/shape.d.ts +12 -0
- package/dist/types/element/src/sortElements.d.ts +10 -0
- package/dist/types/element/src/textElement.d.ts +12 -9
- package/dist/types/element/src/transform.d.ts +2 -2
- package/dist/types/element/src/typeChecks.d.ts +25 -25
- package/dist/types/element/src/types.d.ts +2 -1
- package/dist/types/element/src/zindex.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -6
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +24 -8
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +128 -961
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +24 -8
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +12 -4
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +38 -13
- package/dist/types/excalidraw/actions/actionDeselect.d.ts +9 -4
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +12 -4
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +25 -9
- package/dist/types/excalidraw/actions/actionExport.d.ts +26 -10
- package/dist/types/excalidraw/actions/actionFrame.d.ts +47 -205
- package/dist/types/excalidraw/actions/actionGroup.d.ts +39 -23
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +15 -6
- package/dist/types/excalidraw/actions/actionLink.d.ts +13 -5
- package/dist/types/excalidraw/actions/actionMenu.d.ts +12 -4
- package/dist/types/excalidraw/actions/actionProperties.d.ts +43 -24
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +17 -9
- package/dist/types/excalidraw/actions/actionStyles.d.ts +12 -4
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +14 -6
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +16 -9
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +13 -5
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +13 -5
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +16 -9
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +13 -5
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +14 -6
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +13 -5
- package/dist/types/excalidraw/actions/index.d.ts +1 -2
- package/dist/types/excalidraw/actions/manager.d.ts +1 -0
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +8 -4
- package/dist/types/excalidraw/appState.d.ts +10 -5
- package/dist/types/excalidraw/components/Actions.d.ts +17 -12
- package/dist/types/excalidraw/components/App.arrowText.d.ts +72 -0
- package/dist/types/excalidraw/components/App.bucketFill.d.ts +48 -0
- package/dist/types/excalidraw/components/App.cursor.d.ts +30 -0
- package/dist/types/excalidraw/components/App.d.ts +384 -60
- package/dist/types/excalidraw/components/App.drawshape.d.ts +55 -0
- package/dist/types/excalidraw/components/App.flowchart.d.ts +21 -0
- package/dist/types/excalidraw/components/App.viewport.d.ts +73 -0
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +9 -3
- package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +3 -1
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +3 -1
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +9 -2
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +4 -2
- package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +8 -1
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/topPicksDnD.d.ts +31 -0
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +1 -1
- package/dist/types/excalidraw/components/CursorHint.d.ts +46 -0
- package/dist/types/excalidraw/components/{ToolButton.d.ts → IconButton.d.ts} +16 -19
- package/dist/types/excalidraw/components/Island.d.ts +7 -0
- package/dist/types/excalidraw/components/LaserPointerButton.d.ts +2 -4
- package/dist/types/excalidraw/components/LayerUI.d.ts +5 -2
- package/dist/types/excalidraw/components/LockButton.d.ts +9 -0
- package/dist/types/excalidraw/components/MobileMenu.d.ts +4 -4
- package/dist/types/excalidraw/components/MobileToolbar.d.ts +9 -0
- package/dist/types/excalidraw/components/PenModeButton.d.ts +2 -5
- package/dist/types/excalidraw/components/Popover.d.ts +1 -3
- package/dist/types/excalidraw/components/{ButtonIcon.d.ts → RadioButton.d.ts} +2 -5
- package/dist/types/excalidraw/components/Stats/Angle.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/Dimension.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/Position.d.ts +3 -3
- package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
- package/dist/types/excalidraw/components/ToolPopover.d.ts +3 -6
- package/dist/types/excalidraw/components/Toolbar.d.ts +11 -0
- package/dist/types/excalidraw/components/Tools.d.ts +146 -0
- package/dist/types/excalidraw/components/UserList.d.ts +3 -2
- package/dist/types/excalidraw/components/ViewportStatusFrame/ViewportStatusFrame.d.ts +11 -0
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -0
- package/dist/types/excalidraw/components/footer/Footer.d.ts +3 -1
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -2
- package/dist/types/excalidraw/components/icons.d.ts +4 -1
- package/dist/types/excalidraw/components/positionElementBesideCursor.d.ts +26 -0
- package/dist/types/excalidraw/components/shapeActionPredicates.d.ts +39 -0
- package/dist/types/excalidraw/context/tunnels.d.ts +0 -1
- package/dist/types/excalidraw/data/blob.d.ts +14 -6
- package/dist/types/excalidraw/data/index.d.ts +4 -4
- package/dist/types/excalidraw/data/json.d.ts +20 -12
- package/dist/types/excalidraw/drawShapeTrail.d.ts +16 -0
- package/dist/types/excalidraw/hooks/useAppStateValue.d.ts +29 -0
- package/dist/types/excalidraw/lasso/utils.d.ts +2 -0
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +10 -3
- package/dist/types/excalidraw/scene/Renderer.d.ts +11 -11
- package/dist/types/excalidraw/scene/export.d.ts +3 -3
- package/dist/types/excalidraw/scene/index.d.ts +1 -1
- package/dist/types/excalidraw/scene/types.d.ts +4 -3
- package/dist/types/excalidraw/snapping.d.ts +7 -7
- package/dist/types/excalidraw/types.d.ts +423 -27
- package/dist/types/excalidraw/viewport.d.ts +283 -0
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +2 -3
- package/dist/types/laser-pointer/src/state.d.ts +1 -0
- package/dist/types/math/src/index.d.ts +1 -0
- package/dist/types/math/src/pca.d.ts +79 -0
- package/dist/types/math/src/polygon.d.ts +25 -1
- package/dist/types/utils/src/export.d.ts +3 -3
- package/package.json +2 -2
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +0 -180
- package/dist/types/excalidraw/actions/actionSmartZoom.d.ts +0 -16
- package/dist/types/excalidraw/components/DefaultSidebar.d.ts +0 -27
- package/dist/types/excalidraw/components/ElementCanvasButtons.d.ts +0 -7
- package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +0 -10
- package/dist/types/excalidraw/components/HandButton.d.ts +0 -10
- package/dist/types/excalidraw/components/MagicButton.d.ts +0 -10
- package/dist/types/excalidraw/components/MobileToolBar.d.ts +0 -12
- package/dist/types/excalidraw/cursor.d.ts +0 -5
- package/dist/types/excalidraw/scene/scroll.d.ts +0 -18
- package/dist/types/excalidraw/scene/zoom.d.ts +0 -12
- package/dist/types/excalidraw/scroll.d.ts +0 -46
|
@@ -46,6 +46,10 @@ export declare const actionPaste: {
|
|
|
46
46
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
47
47
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
48
48
|
} | null;
|
|
49
|
+
hoveredArrowTextAnchor: {
|
|
50
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
51
|
+
anchor: "start" | "end" | "label";
|
|
52
|
+
} | null;
|
|
49
53
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
50
54
|
frameRendering: {
|
|
51
55
|
enabled: boolean;
|
|
@@ -53,8 +57,8 @@ export declare const actionPaste: {
|
|
|
53
57
|
outline: boolean;
|
|
54
58
|
clip: boolean;
|
|
55
59
|
};
|
|
56
|
-
editingFrame:
|
|
57
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
60
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
61
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
58
62
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
59
63
|
activeTool: {
|
|
60
64
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -90,6 +94,7 @@ export declare const actionPaste: {
|
|
|
90
94
|
viewBackgroundColor: string;
|
|
91
95
|
scrollX: number;
|
|
92
96
|
scrollY: number;
|
|
97
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
93
98
|
cursorButton: "up" | "down";
|
|
94
99
|
scrolledOutside: boolean;
|
|
95
100
|
name: string | null;
|
|
@@ -161,8 +166,6 @@ export declare const actionPaste: {
|
|
|
161
166
|
y: number;
|
|
162
167
|
} | null;
|
|
163
168
|
objectsSnapModeEnabled: boolean;
|
|
164
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
165
|
-
followedBy: Set<import("../types").SocketId>;
|
|
166
169
|
isCropping: boolean;
|
|
167
170
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
168
171
|
searchMatches: Readonly<{
|
|
@@ -174,6 +177,11 @@ export declare const actionPaste: {
|
|
|
174
177
|
[groupId: string]: true;
|
|
175
178
|
};
|
|
176
179
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
180
|
+
colorTopPicks: {
|
|
181
|
+
elementStroke: readonly string[] | null;
|
|
182
|
+
elementBackground: readonly string[] | null;
|
|
183
|
+
bucketFill: readonly string[] | null;
|
|
184
|
+
};
|
|
177
185
|
};
|
|
178
186
|
} | {
|
|
179
187
|
captureUpdate: "EVENTUALLY";
|
|
@@ -264,6 +272,10 @@ export declare const actionCopyAsPng: {
|
|
|
264
272
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
265
273
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
266
274
|
} | null;
|
|
275
|
+
hoveredArrowTextAnchor: {
|
|
276
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
277
|
+
anchor: "start" | "end" | "label";
|
|
278
|
+
} | null;
|
|
267
279
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
268
280
|
frameRendering: {
|
|
269
281
|
enabled: boolean;
|
|
@@ -271,8 +283,8 @@ export declare const actionCopyAsPng: {
|
|
|
271
283
|
outline: boolean;
|
|
272
284
|
clip: boolean;
|
|
273
285
|
};
|
|
274
|
-
editingFrame:
|
|
275
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
286
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
287
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
276
288
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
277
289
|
activeTool: {
|
|
278
290
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -308,6 +320,7 @@ export declare const actionCopyAsPng: {
|
|
|
308
320
|
viewBackgroundColor: string;
|
|
309
321
|
scrollX: number;
|
|
310
322
|
scrollY: number;
|
|
323
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
311
324
|
cursorButton: "up" | "down";
|
|
312
325
|
scrolledOutside: boolean;
|
|
313
326
|
name: string | null;
|
|
@@ -379,8 +392,6 @@ export declare const actionCopyAsPng: {
|
|
|
379
392
|
y: number;
|
|
380
393
|
} | null;
|
|
381
394
|
objectsSnapModeEnabled: boolean;
|
|
382
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
383
|
-
followedBy: Set<import("../types").SocketId>;
|
|
384
395
|
isCropping: boolean;
|
|
385
396
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
386
397
|
searchMatches: Readonly<{
|
|
@@ -392,6 +403,11 @@ export declare const actionCopyAsPng: {
|
|
|
392
403
|
[groupId: string]: true;
|
|
393
404
|
};
|
|
394
405
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
406
|
+
colorTopPicks: {
|
|
407
|
+
elementStroke: readonly string[] | null;
|
|
408
|
+
elementBackground: readonly string[] | null;
|
|
409
|
+
bucketFill: readonly string[] | null;
|
|
410
|
+
};
|
|
395
411
|
};
|
|
396
412
|
captureUpdate: "EVENTUALLY";
|
|
397
413
|
}>;
|
|
@@ -47,6 +47,10 @@ export declare const actionToggleCropEditor: {
|
|
|
47
47
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
48
48
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
49
49
|
} | null;
|
|
50
|
+
hoveredArrowTextAnchor: {
|
|
51
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
52
|
+
anchor: "start" | "end" | "label";
|
|
53
|
+
} | null;
|
|
50
54
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
51
55
|
frameRendering: {
|
|
52
56
|
enabled: boolean;
|
|
@@ -54,8 +58,8 @@ export declare const actionToggleCropEditor: {
|
|
|
54
58
|
outline: boolean;
|
|
55
59
|
clip: boolean;
|
|
56
60
|
};
|
|
57
|
-
editingFrame:
|
|
58
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
61
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
62
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
59
63
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
60
64
|
activeTool: {
|
|
61
65
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -91,6 +95,7 @@ export declare const actionToggleCropEditor: {
|
|
|
91
95
|
viewBackgroundColor: string;
|
|
92
96
|
scrollX: number;
|
|
93
97
|
scrollY: number;
|
|
98
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
94
99
|
cursorButton: "up" | "down";
|
|
95
100
|
scrolledOutside: boolean;
|
|
96
101
|
name: string | null;
|
|
@@ -162,8 +167,6 @@ export declare const actionToggleCropEditor: {
|
|
|
162
167
|
y: number;
|
|
163
168
|
} | null;
|
|
164
169
|
objectsSnapModeEnabled: boolean;
|
|
165
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
166
|
-
followedBy: Set<import("../types").SocketId>;
|
|
167
170
|
searchMatches: Readonly<{
|
|
168
171
|
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
169
172
|
matches: readonly import("../types").SearchMatch[];
|
|
@@ -173,6 +176,11 @@ export declare const actionToggleCropEditor: {
|
|
|
173
176
|
[groupId: string]: true;
|
|
174
177
|
};
|
|
175
178
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
179
|
+
colorTopPicks: {
|
|
180
|
+
elementStroke: readonly string[] | null;
|
|
181
|
+
elementBackground: readonly string[] | null;
|
|
182
|
+
bucketFill: readonly string[] | null;
|
|
183
|
+
};
|
|
176
184
|
};
|
|
177
185
|
captureUpdate: "IMMEDIATELY";
|
|
178
186
|
};
|
|
@@ -48,6 +48,10 @@ export declare const actionDeleteSelected: {
|
|
|
48
48
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
49
49
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
50
50
|
} | null;
|
|
51
|
+
hoveredArrowTextAnchor: {
|
|
52
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
53
|
+
anchor: "start" | "end" | "label";
|
|
54
|
+
} | null;
|
|
51
55
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
52
56
|
frameRendering: {
|
|
53
57
|
enabled: boolean;
|
|
@@ -55,8 +59,8 @@ export declare const actionDeleteSelected: {
|
|
|
55
59
|
outline: boolean;
|
|
56
60
|
clip: boolean;
|
|
57
61
|
};
|
|
58
|
-
editingFrame:
|
|
59
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
62
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
63
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
60
64
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
61
65
|
activeTool: {
|
|
62
66
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -92,6 +96,7 @@ export declare const actionDeleteSelected: {
|
|
|
92
96
|
viewBackgroundColor: string;
|
|
93
97
|
scrollX: number;
|
|
94
98
|
scrollY: number;
|
|
99
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
95
100
|
cursorButton: "up" | "down";
|
|
96
101
|
scrolledOutside: boolean;
|
|
97
102
|
name: string | null;
|
|
@@ -162,8 +167,6 @@ export declare const actionDeleteSelected: {
|
|
|
162
167
|
y: number;
|
|
163
168
|
} | null;
|
|
164
169
|
objectsSnapModeEnabled: boolean;
|
|
165
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
166
|
-
followedBy: Set<import("../types").SocketId>;
|
|
167
170
|
isCropping: boolean;
|
|
168
171
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
169
172
|
searchMatches: Readonly<{
|
|
@@ -175,6 +178,11 @@ export declare const actionDeleteSelected: {
|
|
|
175
178
|
[groupId: string]: true;
|
|
176
179
|
};
|
|
177
180
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
181
|
+
colorTopPicks: {
|
|
182
|
+
elementStroke: readonly string[] | null;
|
|
183
|
+
elementBackground: readonly string[] | null;
|
|
184
|
+
bucketFill: readonly string[] | null;
|
|
185
|
+
};
|
|
178
186
|
};
|
|
179
187
|
captureUpdate: "IMMEDIATELY";
|
|
180
188
|
} | {
|
|
@@ -196,6 +204,7 @@ export declare const actionDeleteSelected: {
|
|
|
196
204
|
};
|
|
197
205
|
arrowStartIsInside: boolean;
|
|
198
206
|
altFocusPoint: Readonly<import("@excalidraw/math").GlobalPoint> | null;
|
|
207
|
+
arrowOtherEndpointInitialBinding: import("@excalidraw/element/types").FixedPointBinding | null;
|
|
199
208
|
}>;
|
|
200
209
|
isDragging: boolean;
|
|
201
210
|
lastUncommittedPoint: import("@excalidraw/math").LocalPoint | null;
|
|
@@ -249,6 +258,10 @@ export declare const actionDeleteSelected: {
|
|
|
249
258
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
250
259
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
251
260
|
} | null;
|
|
261
|
+
hoveredArrowTextAnchor: {
|
|
262
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
263
|
+
anchor: "start" | "end" | "label";
|
|
264
|
+
} | null;
|
|
252
265
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
253
266
|
frameRendering: {
|
|
254
267
|
enabled: boolean;
|
|
@@ -256,8 +269,8 @@ export declare const actionDeleteSelected: {
|
|
|
256
269
|
outline: boolean;
|
|
257
270
|
clip: boolean;
|
|
258
271
|
};
|
|
259
|
-
editingFrame:
|
|
260
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
272
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
273
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
261
274
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
262
275
|
activeTool: {
|
|
263
276
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -293,6 +306,7 @@ export declare const actionDeleteSelected: {
|
|
|
293
306
|
viewBackgroundColor: string;
|
|
294
307
|
scrollX: number;
|
|
295
308
|
scrollY: number;
|
|
309
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
296
310
|
cursorButton: "up" | "down";
|
|
297
311
|
scrolledOutside: boolean;
|
|
298
312
|
name: string | null;
|
|
@@ -363,8 +377,6 @@ export declare const actionDeleteSelected: {
|
|
|
363
377
|
y: number;
|
|
364
378
|
} | null;
|
|
365
379
|
objectsSnapModeEnabled: boolean;
|
|
366
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
367
|
-
followedBy: Set<import("../types").SocketId>;
|
|
368
380
|
isCropping: boolean;
|
|
369
381
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
370
382
|
searchMatches: Readonly<{
|
|
@@ -376,10 +388,15 @@ export declare const actionDeleteSelected: {
|
|
|
376
388
|
[groupId: string]: true;
|
|
377
389
|
};
|
|
378
390
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
391
|
+
colorTopPicks: {
|
|
392
|
+
elementStroke: readonly string[] | null;
|
|
393
|
+
elementBackground: readonly string[] | null;
|
|
394
|
+
bucketFill: readonly string[] | null;
|
|
395
|
+
};
|
|
379
396
|
};
|
|
380
397
|
captureUpdate: "IMMEDIATELY";
|
|
381
398
|
} | {
|
|
382
|
-
elements:
|
|
399
|
+
elements: (import("@excalidraw/element/types").ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | import("@excalidraw/element/types").ExcalidrawTextElement | import("@excalidraw/element/types").ExcalidrawFreeDrawElement)[];
|
|
383
400
|
appState: {
|
|
384
401
|
activeTool: {
|
|
385
402
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -423,6 +440,10 @@ export declare const actionDeleteSelected: {
|
|
|
423
440
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
424
441
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
425
442
|
} | null;
|
|
443
|
+
hoveredArrowTextAnchor: {
|
|
444
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
445
|
+
anchor: "start" | "end" | "label";
|
|
446
|
+
} | null;
|
|
426
447
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
427
448
|
frameRendering: {
|
|
428
449
|
enabled: boolean;
|
|
@@ -430,8 +451,8 @@ export declare const actionDeleteSelected: {
|
|
|
430
451
|
outline: boolean;
|
|
431
452
|
clip: boolean;
|
|
432
453
|
};
|
|
433
|
-
editingFrame:
|
|
434
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
454
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
455
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
435
456
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
436
457
|
preferredSelectionTool: {
|
|
437
458
|
type: "selection" | "lasso";
|
|
@@ -462,6 +483,7 @@ export declare const actionDeleteSelected: {
|
|
|
462
483
|
viewBackgroundColor: string;
|
|
463
484
|
scrollX: number;
|
|
464
485
|
scrollY: number;
|
|
486
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
465
487
|
cursorButton: "up" | "down";
|
|
466
488
|
scrolledOutside: boolean;
|
|
467
489
|
name: string | null;
|
|
@@ -525,8 +547,6 @@ export declare const actionDeleteSelected: {
|
|
|
525
547
|
y: number;
|
|
526
548
|
} | null;
|
|
527
549
|
objectsSnapModeEnabled: boolean;
|
|
528
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
529
|
-
followedBy: Set<import("../types").SocketId>;
|
|
530
550
|
isCropping: boolean;
|
|
531
551
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
532
552
|
searchMatches: Readonly<{
|
|
@@ -538,6 +558,11 @@ export declare const actionDeleteSelected: {
|
|
|
538
558
|
[groupId: string]: true;
|
|
539
559
|
};
|
|
540
560
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
561
|
+
colorTopPicks: {
|
|
562
|
+
elementStroke: readonly string[] | null;
|
|
563
|
+
elementBackground: readonly string[] | null;
|
|
564
|
+
bucketFill: readonly string[] | null;
|
|
565
|
+
};
|
|
541
566
|
};
|
|
542
567
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
543
568
|
};
|
|
@@ -15,6 +15,7 @@ export declare const actionDeselect: {
|
|
|
15
15
|
selectionElement: null;
|
|
16
16
|
showHyperlinkPopup: false;
|
|
17
17
|
suggestedBinding: null;
|
|
18
|
+
hoveredArrowTextAnchor: null;
|
|
18
19
|
frameToHighlight: null;
|
|
19
20
|
editingGroupId: AppState["editingGroupId"];
|
|
20
21
|
selectedElementIds: AppState["selectedElementIds"];
|
|
@@ -52,8 +53,8 @@ export declare const actionDeselect: {
|
|
|
52
53
|
outline: boolean;
|
|
53
54
|
clip: boolean;
|
|
54
55
|
};
|
|
55
|
-
editingFrame:
|
|
56
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
56
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
57
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
57
58
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
58
59
|
preferredSelectionTool: {
|
|
59
60
|
type: "selection" | "lasso";
|
|
@@ -84,6 +85,7 @@ export declare const actionDeselect: {
|
|
|
84
85
|
viewBackgroundColor: string;
|
|
85
86
|
scrollX: number;
|
|
86
87
|
scrollY: number;
|
|
88
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
87
89
|
cursorButton: "up" | "down";
|
|
88
90
|
scrolledOutside: boolean;
|
|
89
91
|
name: string | null;
|
|
@@ -146,8 +148,6 @@ export declare const actionDeselect: {
|
|
|
146
148
|
y: number;
|
|
147
149
|
} | null;
|
|
148
150
|
objectsSnapModeEnabled: boolean;
|
|
149
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
150
|
-
followedBy: Set<import("../types").SocketId>;
|
|
151
151
|
isCropping: boolean;
|
|
152
152
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
153
153
|
searchMatches: Readonly<{
|
|
@@ -159,6 +159,11 @@ export declare const actionDeselect: {
|
|
|
159
159
|
[groupId: string]: true;
|
|
160
160
|
};
|
|
161
161
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
162
|
+
colorTopPicks: {
|
|
163
|
+
elementStroke: readonly string[] | null;
|
|
164
|
+
elementBackground: readonly string[] | null;
|
|
165
|
+
bucketFill: readonly string[] | null;
|
|
166
|
+
};
|
|
162
167
|
};
|
|
163
168
|
captureUpdate: "IMMEDIATELY";
|
|
164
169
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
2
1
|
import type { AppClassProperties, AppState } from "../types";
|
|
3
2
|
export declare const distributeHorizontally: {
|
|
4
3
|
name: "distributeHorizontally";
|
|
@@ -8,7 +7,7 @@ export declare const distributeHorizontally: {
|
|
|
8
7
|
};
|
|
9
8
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
10
9
|
appState: Readonly<AppState>;
|
|
11
|
-
elements:
|
|
10
|
+
elements: (import("@excalidraw/element/types").ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | import("@excalidraw/element/types").ExcalidrawTextElement | import("@excalidraw/element/types").ExcalidrawFreeDrawElement)[];
|
|
12
11
|
captureUpdate: "IMMEDIATELY";
|
|
13
12
|
};
|
|
14
13
|
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
@@ -24,7 +23,7 @@ export declare const distributeVertically: {
|
|
|
24
23
|
};
|
|
25
24
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
26
25
|
appState: Readonly<AppState>;
|
|
27
|
-
elements:
|
|
26
|
+
elements: (import("@excalidraw/element/types").ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | import("@excalidraw/element/types").ExcalidrawTextElement | import("@excalidraw/element/types").ExcalidrawFreeDrawElement)[];
|
|
28
27
|
captureUpdate: "IMMEDIATELY";
|
|
29
28
|
};
|
|
30
29
|
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
@@ -76,6 +76,10 @@ export declare const actionLinkToElement: {
|
|
|
76
76
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
77
77
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
78
78
|
} | null;
|
|
79
|
+
hoveredArrowTextAnchor: {
|
|
80
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
81
|
+
anchor: "start" | "end" | "label";
|
|
82
|
+
} | null;
|
|
79
83
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
80
84
|
frameRendering: {
|
|
81
85
|
enabled: boolean;
|
|
@@ -83,8 +87,8 @@ export declare const actionLinkToElement: {
|
|
|
83
87
|
outline: boolean;
|
|
84
88
|
clip: boolean;
|
|
85
89
|
};
|
|
86
|
-
editingFrame:
|
|
87
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
90
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
91
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
88
92
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
89
93
|
activeTool: {
|
|
90
94
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -120,6 +124,7 @@ export declare const actionLinkToElement: {
|
|
|
120
124
|
viewBackgroundColor: string;
|
|
121
125
|
scrollX: number;
|
|
122
126
|
scrollY: number;
|
|
127
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
123
128
|
cursorButton: "up" | "down";
|
|
124
129
|
scrolledOutside: boolean;
|
|
125
130
|
name: string | null;
|
|
@@ -179,8 +184,6 @@ export declare const actionLinkToElement: {
|
|
|
179
184
|
y: number;
|
|
180
185
|
} | null;
|
|
181
186
|
objectsSnapModeEnabled: boolean;
|
|
182
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
183
|
-
followedBy: Set<import("../types").SocketId>;
|
|
184
187
|
isCropping: boolean;
|
|
185
188
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
186
189
|
searchMatches: Readonly<{
|
|
@@ -192,6 +195,11 @@ export declare const actionLinkToElement: {
|
|
|
192
195
|
[groupId: string]: true;
|
|
193
196
|
};
|
|
194
197
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
198
|
+
colorTopPicks: {
|
|
199
|
+
elementStroke: readonly string[] | null;
|
|
200
|
+
elementBackground: readonly string[] | null;
|
|
201
|
+
bucketFill: readonly string[] | null;
|
|
202
|
+
};
|
|
195
203
|
};
|
|
196
204
|
captureUpdate: "IMMEDIATELY";
|
|
197
205
|
elements?: undefined;
|
|
@@ -2,7 +2,7 @@ import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
|
2
2
|
import type { AppState } from "../types";
|
|
3
3
|
export declare const actionToggleElementLock: {
|
|
4
4
|
name: "toggleElementLock";
|
|
5
|
-
label: (elements: readonly ExcalidrawElement[], appState: Readonly<
|
|
5
|
+
label: (elements: readonly ExcalidrawElement[], appState: Readonly<import("../types").UIAppState>, app: import("../types").AppClassProperties) => "labels.elementLock.lock" | "labels.elementLock.unlock";
|
|
6
6
|
icon: (appState: import("../types").UIAppState, elements: readonly ExcalidrawElement[]) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
trackEvent: {
|
|
8
8
|
category: "element";
|
|
@@ -58,6 +58,10 @@ export declare const actionToggleElementLock: {
|
|
|
58
58
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
59
59
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
60
60
|
} | null;
|
|
61
|
+
hoveredArrowTextAnchor: {
|
|
62
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
63
|
+
anchor: "start" | "end" | "label";
|
|
64
|
+
} | null;
|
|
61
65
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
62
66
|
frameRendering: {
|
|
63
67
|
enabled: boolean;
|
|
@@ -65,8 +69,8 @@ export declare const actionToggleElementLock: {
|
|
|
65
69
|
outline: boolean;
|
|
66
70
|
clip: boolean;
|
|
67
71
|
};
|
|
68
|
-
editingFrame:
|
|
69
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
72
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
73
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
70
74
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
71
75
|
activeTool: {
|
|
72
76
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -102,6 +106,7 @@ export declare const actionToggleElementLock: {
|
|
|
102
106
|
viewBackgroundColor: string;
|
|
103
107
|
scrollX: number;
|
|
104
108
|
scrollY: number;
|
|
109
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
105
110
|
cursorButton: "up" | "down";
|
|
106
111
|
scrolledOutside: boolean;
|
|
107
112
|
name: string | null;
|
|
@@ -166,8 +171,6 @@ export declare const actionToggleElementLock: {
|
|
|
166
171
|
y: number;
|
|
167
172
|
} | null;
|
|
168
173
|
objectsSnapModeEnabled: boolean;
|
|
169
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
170
|
-
followedBy: Set<import("../types").SocketId>;
|
|
171
174
|
isCropping: boolean;
|
|
172
175
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
173
176
|
searchMatches: Readonly<{
|
|
@@ -175,6 +178,11 @@ export declare const actionToggleElementLock: {
|
|
|
175
178
|
matches: readonly import("../types").SearchMatch[];
|
|
176
179
|
}> | null;
|
|
177
180
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
181
|
+
colorTopPicks: {
|
|
182
|
+
elementStroke: readonly string[] | null;
|
|
183
|
+
elementBackground: readonly string[] | null;
|
|
184
|
+
bucketFill: readonly string[] | null;
|
|
185
|
+
};
|
|
178
186
|
};
|
|
179
187
|
captureUpdate: "IMMEDIATELY";
|
|
180
188
|
};
|
|
@@ -237,6 +245,10 @@ export declare const actionUnlockAllElements: {
|
|
|
237
245
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
238
246
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
239
247
|
} | null;
|
|
248
|
+
hoveredArrowTextAnchor: {
|
|
249
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
250
|
+
anchor: "start" | "end" | "label";
|
|
251
|
+
} | null;
|
|
240
252
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
241
253
|
frameRendering: {
|
|
242
254
|
enabled: boolean;
|
|
@@ -244,8 +256,8 @@ export declare const actionUnlockAllElements: {
|
|
|
244
256
|
outline: boolean;
|
|
245
257
|
clip: boolean;
|
|
246
258
|
};
|
|
247
|
-
editingFrame:
|
|
248
|
-
elementsToHighlight: import("@excalidraw/element/types").
|
|
259
|
+
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
260
|
+
elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
|
|
249
261
|
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
250
262
|
activeTool: {
|
|
251
263
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -281,6 +293,7 @@ export declare const actionUnlockAllElements: {
|
|
|
281
293
|
viewBackgroundColor: string;
|
|
282
294
|
scrollX: number;
|
|
283
295
|
scrollY: number;
|
|
296
|
+
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
284
297
|
cursorButton: "up" | "down";
|
|
285
298
|
scrolledOutside: boolean;
|
|
286
299
|
name: string | null;
|
|
@@ -346,8 +359,6 @@ export declare const actionUnlockAllElements: {
|
|
|
346
359
|
y: number;
|
|
347
360
|
} | null;
|
|
348
361
|
objectsSnapModeEnabled: boolean;
|
|
349
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
350
|
-
followedBy: Set<import("../types").SocketId>;
|
|
351
362
|
isCropping: boolean;
|
|
352
363
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
353
364
|
searchMatches: Readonly<{
|
|
@@ -355,6 +366,11 @@ export declare const actionUnlockAllElements: {
|
|
|
355
366
|
matches: readonly import("../types").SearchMatch[];
|
|
356
367
|
}> | null;
|
|
357
368
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
369
|
+
colorTopPicks: {
|
|
370
|
+
elementStroke: readonly string[] | null;
|
|
371
|
+
elementBackground: readonly string[] | null;
|
|
372
|
+
bucketFill: readonly string[] | null;
|
|
373
|
+
};
|
|
358
374
|
};
|
|
359
375
|
captureUpdate: "IMMEDIATELY";
|
|
360
376
|
};
|