@misenkashari/excalidraw-common 1.0.3 → 1.0.6
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 +5 -5
- package/dist/dev/index.js.map +1 -1
- package/dist/prod/index.js +3 -3
- package/dist/types/common/src/constants.d.ts +1 -1
- package/dist/types/common/src/font-metadata.d.ts +1 -1
- package/dist/types/common/src/points.d.ts +1 -1
- package/dist/types/common/src/utils.d.ts +1 -1
- package/dist/types/common/src/visualdebug.d.ts +3 -3
- package/dist/types/element/src/Scene.d.ts +4 -4
- package/dist/types/element/src/binding.d.ts +3 -3
- package/dist/types/element/src/bounds.d.ts +2 -2
- package/dist/types/element/src/collision.d.ts +1 -1
- package/dist/types/element/src/delta.d.ts +2 -2
- package/dist/types/element/src/distance.d.ts +1 -1
- package/dist/types/element/src/dragElements.d.ts +1 -1
- package/dist/types/element/src/duplicate.d.ts +1 -1
- package/dist/types/element/src/elbowArrow.d.ts +1 -1
- package/dist/types/element/src/embeddable.d.ts +1 -1
- package/dist/types/element/src/frame.d.ts +1 -1
- package/dist/types/element/src/groups.d.ts +1 -1
- package/dist/types/element/src/heading.d.ts +2 -2
- package/dist/types/element/src/image.d.ts +1 -1
- package/dist/types/element/src/linearElementEditor.d.ts +3 -3
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/newElement.d.ts +1 -1
- package/dist/types/element/src/renderElement.d.ts +2 -2
- package/dist/types/element/src/resizeElements.d.ts +1 -1
- package/dist/types/element/src/resizeTest.d.ts +3 -3
- package/dist/types/element/src/shape.d.ts +3 -3
- package/dist/types/element/src/store.d.ts +2 -2
- package/dist/types/element/src/textElement.d.ts +2 -2
- package/dist/types/element/src/transform.d.ts +1 -1
- package/dist/types/element/src/transformHandles.d.ts +3 -3
- package/dist/types/element/src/typeChecks.d.ts +1 -1
- package/dist/types/element/src/types.d.ts +3 -3
- package/dist/types/element/src/utils.d.ts +2 -2
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +82 -82
- package/dist/types/excalidraw/actions/actionAlign.d.ts +7 -7
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +50 -50
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +275 -275
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +63 -63
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +28 -28
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +69 -69
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +32 -32
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +49 -49
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +29 -29
- package/dist/types/excalidraw/actions/actionExport.d.ts +116 -116
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionFlip.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionFrame.d.ts +242 -242
- package/dist/types/excalidraw/actions/actionGroup.d.ts +43 -43
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +181 -181
- package/dist/types/excalidraw/actions/actionLink.d.ts +31 -31
- package/dist/types/excalidraw/actions/actionMenu.d.ts +27 -27
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionProperties.d.ts +39 -39
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +23 -23
- package/dist/types/excalidraw/actions/actionStyles.d.ts +31 -31
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +29 -29
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +29 -29
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +28 -28
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +28 -28
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +29 -29
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +29 -29
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/actions/manager.d.ts +1 -1
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +2 -2
- package/dist/types/excalidraw/appState.d.ts +10 -10
- package/dist/types/excalidraw/charts.d.ts +1 -1
- package/dist/types/excalidraw/clipboard.d.ts +4 -4
- package/dist/types/excalidraw/components/Actions.d.ts +1 -1
- package/dist/types/excalidraw/components/App.d.ts +9 -9
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
- package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
- package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
- package/dist/types/excalidraw/components/ElementCanvasButtons.d.ts +1 -1
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +2 -2
- package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +2 -2
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/excalidraw/components/HintViewer.d.ts +1 -1
- package/dist/types/excalidraw/components/ImageExportDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/InitializeApp.d.ts +1 -1
- package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/LoadingMessage.d.ts +1 -1
- package/dist/types/excalidraw/components/MobileMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Angle.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
- 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/FontSize.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/MultiFontSize.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/Position.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/index.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/utils.d.ts +2 -2
- package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
- package/dist/types/excalidraw/components/ToolButton.d.ts +1 -1
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -2
- package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -1
- package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +2 -2
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +3 -3
- package/dist/types/excalidraw/components/icons.d.ts +1 -1
- package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -1
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +2 -4
- package/dist/types/excalidraw/data/EditorLocalStorage.d.ts +1 -1
- package/dist/types/excalidraw/data/blob.d.ts +49 -49
- package/dist/types/excalidraw/data/filesystem.d.ts +1 -1
- package/dist/types/excalidraw/data/index.d.ts +1 -1
- package/dist/types/excalidraw/data/json.d.ts +24 -24
- package/dist/types/excalidraw/data/library.d.ts +2 -2
- package/dist/types/excalidraw/data/reconcile.d.ts +2 -2
- package/dist/types/excalidraw/data/resave.d.ts +1 -1
- package/dist/types/excalidraw/data/restore.d.ts +2 -2
- package/dist/types/excalidraw/data/types.d.ts +2 -2
- package/dist/types/excalidraw/fonts/Fonts.d.ts +3 -3
- package/dist/types/excalidraw/history.d.ts +4 -4
- package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
- package/dist/types/excalidraw/i18n.d.ts +1 -1
- package/dist/types/excalidraw/index.d.ts +12 -12
- package/dist/types/excalidraw/lasso/utils.d.ts +2 -2
- package/dist/types/excalidraw/renderer/staticScene.d.ts +1 -1
- package/dist/types/excalidraw/renderer/staticSvgScene.d.ts +1 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +2 -2
- package/dist/types/excalidraw/scene/export.d.ts +1 -1
- package/dist/types/excalidraw/scene/index.d.ts +2 -2
- package/dist/types/excalidraw/scene/scroll.d.ts +1 -1
- package/dist/types/excalidraw/scene/types.d.ts +3 -3
- package/dist/types/excalidraw/snapping.d.ts +5 -5
- package/dist/types/excalidraw/types.d.ts +6 -6
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +1 -1
- package/dist/types/utils/src/bbox.d.ts +2 -2
- package/dist/types/utils/src/export.d.ts +2 -2
- package/dist/types/utils/src/index.d.ts +1 -1
- package/dist/types/utils/src/shape.d.ts +4 -4
- package/dist/types/utils/src/withinBounds.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExcalidrawElement } from "@excalidraw
|
|
1
|
+
import type { ExcalidrawElement } from "@misenkashari/excalidraw-element/types";
|
|
2
2
|
import type { AppClassProperties, AppState } from "../types";
|
|
3
3
|
export declare const actionDeleteSelected: {
|
|
4
4
|
name: "deleteSelectedElements";
|
|
@@ -8,8 +8,8 @@ export declare const actionDeleteSelected: {
|
|
|
8
8
|
category: "element";
|
|
9
9
|
action: string;
|
|
10
10
|
};
|
|
11
|
-
perform: (elements: readonly import("@excalidraw
|
|
12
|
-
elements: import("@excalidraw
|
|
11
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, formData: unknown, app: AppClassProperties) => false | {
|
|
12
|
+
elements: import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
|
|
13
13
|
appState: {
|
|
14
14
|
selectedLinearElement: null;
|
|
15
15
|
contextMenu: {
|
|
@@ -21,17 +21,17 @@ export declare const actionDeleteSelected: {
|
|
|
21
21
|
isLoading: boolean;
|
|
22
22
|
errorMessage: React.ReactNode;
|
|
23
23
|
activeEmbeddable: {
|
|
24
|
-
element: import("@excalidraw
|
|
24
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
25
25
|
state: "hover" | "active";
|
|
26
26
|
} | null;
|
|
27
|
-
newElement: import("@excalidraw
|
|
28
|
-
resizingElement: import("@excalidraw
|
|
29
|
-
multiElement: import("@excalidraw
|
|
30
|
-
selectionElement: import("@excalidraw
|
|
27
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
28
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
29
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
30
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
31
31
|
isBindingEnabled: boolean;
|
|
32
|
-
startBoundElement: import("@excalidraw
|
|
33
|
-
suggestedBinding: import("@excalidraw
|
|
34
|
-
frameToHighlight: import("@excalidraw
|
|
32
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
33
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
34
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
35
35
|
frameRendering: {
|
|
36
36
|
enabled: boolean;
|
|
37
37
|
name: boolean;
|
|
@@ -39,8 +39,8 @@ export declare const actionDeleteSelected: {
|
|
|
39
39
|
clip: boolean;
|
|
40
40
|
};
|
|
41
41
|
editingFrame: string | null;
|
|
42
|
-
elementsToHighlight: import("@excalidraw
|
|
43
|
-
editingTextElement: import("@excalidraw
|
|
42
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
43
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
44
44
|
activeTool: {
|
|
45
45
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
46
46
|
locked: boolean;
|
|
@@ -63,13 +63,13 @@ export declare const actionDeleteSelected: {
|
|
|
63
63
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
64
64
|
currentItemRoughness: number;
|
|
65
65
|
currentItemOpacity: number;
|
|
66
|
-
currentItemFontFamily: import("@excalidraw
|
|
66
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
67
67
|
currentItemFontSize: number;
|
|
68
|
-
currentItemTextAlign: import("@excalidraw
|
|
69
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
70
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
71
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
72
|
-
currentItemRoundness: import("@excalidraw
|
|
68
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
69
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
70
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
71
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
72
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
73
73
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
74
74
|
viewBackgroundColor: string;
|
|
75
75
|
scrollX: number;
|
|
@@ -100,7 +100,7 @@ export declare const actionDeleteSelected: {
|
|
|
100
100
|
sourceElementId: ExcalidrawElement["id"];
|
|
101
101
|
};
|
|
102
102
|
defaultSidebarDockedPreference: boolean;
|
|
103
|
-
lastPointerDownWith: import("@excalidraw
|
|
103
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
104
104
|
selectedElementIds: Readonly<{
|
|
105
105
|
[id: string]: true;
|
|
106
106
|
}>;
|
|
@@ -118,7 +118,7 @@ export declare const actionDeleteSelected: {
|
|
|
118
118
|
duration?: number;
|
|
119
119
|
} | null;
|
|
120
120
|
zenModeEnabled: boolean;
|
|
121
|
-
theme: import("@excalidraw
|
|
121
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
122
122
|
gridSize: number;
|
|
123
123
|
gridStep: number;
|
|
124
124
|
gridModeEnabled: boolean;
|
|
@@ -126,7 +126,7 @@ export declare const actionDeleteSelected: {
|
|
|
126
126
|
selectedGroupIds: {
|
|
127
127
|
[groupId: string]: boolean;
|
|
128
128
|
};
|
|
129
|
-
editingGroupId: import("@excalidraw
|
|
129
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
130
130
|
width: number;
|
|
131
131
|
height: number;
|
|
132
132
|
offsetTop: number;
|
|
@@ -137,7 +137,7 @@ export declare const actionDeleteSelected: {
|
|
|
137
137
|
open: boolean;
|
|
138
138
|
panels: number;
|
|
139
139
|
};
|
|
140
|
-
currentChartType: import("@excalidraw
|
|
140
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
141
141
|
pasteDialog: {
|
|
142
142
|
shown: false;
|
|
143
143
|
data: null;
|
|
@@ -164,11 +164,11 @@ export declare const actionDeleteSelected: {
|
|
|
164
164
|
lockedMultiSelections: {
|
|
165
165
|
[groupId: string]: true;
|
|
166
166
|
};
|
|
167
|
-
bindMode: import("@excalidraw
|
|
167
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
168
168
|
};
|
|
169
169
|
captureUpdate: "IMMEDIATELY";
|
|
170
170
|
} | {
|
|
171
|
-
elements: readonly import("@excalidraw
|
|
171
|
+
elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
|
|
172
172
|
appState: {
|
|
173
173
|
selectedLinearElement: {
|
|
174
174
|
selectedPointsIndices: number[];
|
|
@@ -178,24 +178,24 @@ export declare const actionDeleteSelected: {
|
|
|
178
178
|
initialState: Readonly<{
|
|
179
179
|
prevSelectedPointsIndices: readonly number[] | null;
|
|
180
180
|
lastClickedPoint: number;
|
|
181
|
-
origin: Readonly<import("@excalidraw
|
|
181
|
+
origin: Readonly<import("@misenkashari/excalidraw-math").GlobalPoint> | null;
|
|
182
182
|
segmentMidpoint: {
|
|
183
|
-
value: import("@excalidraw
|
|
183
|
+
value: import("@misenkashari/excalidraw-math").GlobalPoint | null;
|
|
184
184
|
index: number | null;
|
|
185
185
|
added: boolean;
|
|
186
186
|
};
|
|
187
187
|
arrowStartIsInside: boolean;
|
|
188
|
-
altFocusPoint: Readonly<import("@excalidraw
|
|
188
|
+
altFocusPoint: Readonly<import("@misenkashari/excalidraw-math").GlobalPoint> | null;
|
|
189
189
|
}>;
|
|
190
190
|
isDragging: boolean;
|
|
191
|
-
lastUncommittedPoint: import("@excalidraw
|
|
192
|
-
lastCommittedPoint: import("@excalidraw
|
|
191
|
+
lastUncommittedPoint: import("@misenkashari/excalidraw-math").LocalPoint | null;
|
|
192
|
+
lastCommittedPoint: import("@misenkashari/excalidraw-math").LocalPoint | null;
|
|
193
193
|
pointerOffset: Readonly<{
|
|
194
194
|
x: number;
|
|
195
195
|
y: number;
|
|
196
196
|
}>;
|
|
197
197
|
hoverPointIndex: number;
|
|
198
|
-
segmentMidPointHoveredCoords: import("@excalidraw
|
|
198
|
+
segmentMidPointHoveredCoords: import("@misenkashari/excalidraw-math").GlobalPoint | null;
|
|
199
199
|
elbowed: boolean;
|
|
200
200
|
customLineAngle: number | null;
|
|
201
201
|
isEditing: boolean;
|
|
@@ -210,17 +210,17 @@ export declare const actionDeleteSelected: {
|
|
|
210
210
|
isLoading: boolean;
|
|
211
211
|
errorMessage: React.ReactNode;
|
|
212
212
|
activeEmbeddable: {
|
|
213
|
-
element: import("@excalidraw
|
|
213
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
214
214
|
state: "hover" | "active";
|
|
215
215
|
} | null;
|
|
216
|
-
newElement: import("@excalidraw
|
|
217
|
-
resizingElement: import("@excalidraw
|
|
218
|
-
multiElement: import("@excalidraw
|
|
219
|
-
selectionElement: import("@excalidraw
|
|
216
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
217
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
218
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
219
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
220
220
|
isBindingEnabled: boolean;
|
|
221
|
-
startBoundElement: import("@excalidraw
|
|
222
|
-
suggestedBinding: import("@excalidraw
|
|
223
|
-
frameToHighlight: import("@excalidraw
|
|
221
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
222
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
223
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
224
224
|
frameRendering: {
|
|
225
225
|
enabled: boolean;
|
|
226
226
|
name: boolean;
|
|
@@ -228,8 +228,8 @@ export declare const actionDeleteSelected: {
|
|
|
228
228
|
clip: boolean;
|
|
229
229
|
};
|
|
230
230
|
editingFrame: string | null;
|
|
231
|
-
elementsToHighlight: import("@excalidraw
|
|
232
|
-
editingTextElement: import("@excalidraw
|
|
231
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
232
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
233
233
|
activeTool: {
|
|
234
234
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
235
235
|
locked: boolean;
|
|
@@ -252,13 +252,13 @@ export declare const actionDeleteSelected: {
|
|
|
252
252
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
253
253
|
currentItemRoughness: number;
|
|
254
254
|
currentItemOpacity: number;
|
|
255
|
-
currentItemFontFamily: import("@excalidraw
|
|
255
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
256
256
|
currentItemFontSize: number;
|
|
257
|
-
currentItemTextAlign: import("@excalidraw
|
|
258
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
259
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
260
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
261
|
-
currentItemRoundness: import("@excalidraw
|
|
257
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
258
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
259
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
260
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
261
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
262
262
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
263
263
|
viewBackgroundColor: string;
|
|
264
264
|
scrollX: number;
|
|
@@ -289,7 +289,7 @@ export declare const actionDeleteSelected: {
|
|
|
289
289
|
sourceElementId: ExcalidrawElement["id"];
|
|
290
290
|
};
|
|
291
291
|
defaultSidebarDockedPreference: boolean;
|
|
292
|
-
lastPointerDownWith: import("@excalidraw
|
|
292
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
293
293
|
selectedElementIds: Readonly<{
|
|
294
294
|
[id: string]: true;
|
|
295
295
|
}>;
|
|
@@ -307,7 +307,7 @@ export declare const actionDeleteSelected: {
|
|
|
307
307
|
duration?: number;
|
|
308
308
|
} | null;
|
|
309
309
|
zenModeEnabled: boolean;
|
|
310
|
-
theme: import("@excalidraw
|
|
310
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
311
311
|
gridSize: number;
|
|
312
312
|
gridStep: number;
|
|
313
313
|
gridModeEnabled: boolean;
|
|
@@ -315,7 +315,7 @@ export declare const actionDeleteSelected: {
|
|
|
315
315
|
selectedGroupIds: {
|
|
316
316
|
[groupId: string]: boolean;
|
|
317
317
|
};
|
|
318
|
-
editingGroupId: import("@excalidraw
|
|
318
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
319
319
|
width: number;
|
|
320
320
|
height: number;
|
|
321
321
|
offsetTop: number;
|
|
@@ -326,7 +326,7 @@ export declare const actionDeleteSelected: {
|
|
|
326
326
|
open: boolean;
|
|
327
327
|
panels: number;
|
|
328
328
|
};
|
|
329
|
-
currentChartType: import("@excalidraw
|
|
329
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
330
330
|
pasteDialog: {
|
|
331
331
|
shown: false;
|
|
332
332
|
data: null;
|
|
@@ -353,7 +353,7 @@ export declare const actionDeleteSelected: {
|
|
|
353
353
|
lockedMultiSelections: {
|
|
354
354
|
[groupId: string]: true;
|
|
355
355
|
};
|
|
356
|
-
bindMode: import("@excalidraw
|
|
356
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
357
357
|
};
|
|
358
358
|
captureUpdate: "IMMEDIATELY";
|
|
359
359
|
} | {
|
|
@@ -379,12 +379,12 @@ export declare const actionDeleteSelected: {
|
|
|
379
379
|
showWelcomeScreen: boolean;
|
|
380
380
|
isLoading: boolean;
|
|
381
381
|
errorMessage: React.ReactNode;
|
|
382
|
-
resizingElement: import("@excalidraw
|
|
383
|
-
selectionElement: import("@excalidraw
|
|
382
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
383
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
384
384
|
isBindingEnabled: boolean;
|
|
385
|
-
startBoundElement: import("@excalidraw
|
|
386
|
-
suggestedBinding: import("@excalidraw
|
|
387
|
-
frameToHighlight: import("@excalidraw
|
|
385
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
386
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
387
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
388
388
|
frameRendering: {
|
|
389
389
|
enabled: boolean;
|
|
390
390
|
name: boolean;
|
|
@@ -392,8 +392,8 @@ export declare const actionDeleteSelected: {
|
|
|
392
392
|
clip: boolean;
|
|
393
393
|
};
|
|
394
394
|
editingFrame: string | null;
|
|
395
|
-
elementsToHighlight: import("@excalidraw
|
|
396
|
-
editingTextElement: import("@excalidraw
|
|
395
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
396
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
397
397
|
preferredSelectionTool: {
|
|
398
398
|
type: "selection" | "lasso";
|
|
399
399
|
initialized: boolean;
|
|
@@ -411,13 +411,13 @@ export declare const actionDeleteSelected: {
|
|
|
411
411
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
412
412
|
currentItemRoughness: number;
|
|
413
413
|
currentItemOpacity: number;
|
|
414
|
-
currentItemFontFamily: import("@excalidraw
|
|
414
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
415
415
|
currentItemFontSize: number;
|
|
416
|
-
currentItemTextAlign: import("@excalidraw
|
|
417
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
418
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
419
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
420
|
-
currentItemRoundness: import("@excalidraw
|
|
416
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
417
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
418
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
419
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
420
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
421
421
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
422
422
|
viewBackgroundColor: string;
|
|
423
423
|
scrollX: number;
|
|
@@ -448,7 +448,7 @@ export declare const actionDeleteSelected: {
|
|
|
448
448
|
sourceElementId: ExcalidrawElement["id"];
|
|
449
449
|
};
|
|
450
450
|
defaultSidebarDockedPreference: boolean;
|
|
451
|
-
lastPointerDownWith: import("@excalidraw
|
|
451
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
452
452
|
hoveredElementIds: Readonly<{
|
|
453
453
|
[id: string]: true;
|
|
454
454
|
}>;
|
|
@@ -463,7 +463,7 @@ export declare const actionDeleteSelected: {
|
|
|
463
463
|
duration?: number;
|
|
464
464
|
} | null;
|
|
465
465
|
zenModeEnabled: boolean;
|
|
466
|
-
theme: import("@excalidraw
|
|
466
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
467
467
|
gridSize: number;
|
|
468
468
|
gridStep: number;
|
|
469
469
|
gridModeEnabled: boolean;
|
|
@@ -478,7 +478,7 @@ export declare const actionDeleteSelected: {
|
|
|
478
478
|
open: boolean;
|
|
479
479
|
panels: number;
|
|
480
480
|
};
|
|
481
|
-
currentChartType: import("@excalidraw
|
|
481
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
482
482
|
pasteDialog: {
|
|
483
483
|
shown: false;
|
|
484
484
|
data: null;
|
|
@@ -505,7 +505,7 @@ export declare const actionDeleteSelected: {
|
|
|
505
505
|
lockedMultiSelections: {
|
|
506
506
|
[groupId: string]: true;
|
|
507
507
|
};
|
|
508
|
-
bindMode: import("@excalidraw
|
|
508
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
509
509
|
};
|
|
510
510
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
511
511
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExcalidrawElement } from "@excalidraw
|
|
1
|
+
import type { ExcalidrawElement } from "@misenkashari/excalidraw-element/types";
|
|
2
2
|
import type { AppClassProperties, AppState } from "../types";
|
|
3
3
|
export declare const distributeHorizontally: {
|
|
4
4
|
name: "distributeHorizontally";
|
|
@@ -6,7 +6,7 @@ export declare const distributeHorizontally: {
|
|
|
6
6
|
trackEvent: {
|
|
7
7
|
category: "element";
|
|
8
8
|
};
|
|
9
|
-
perform: (elements: readonly import("@excalidraw
|
|
9
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
10
10
|
appState: Readonly<AppState>;
|
|
11
11
|
elements: ExcalidrawElement[];
|
|
12
12
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -22,7 +22,7 @@ export declare const distributeVertically: {
|
|
|
22
22
|
trackEvent: {
|
|
23
23
|
category: "element";
|
|
24
24
|
};
|
|
25
|
-
perform: (elements: readonly import("@excalidraw
|
|
25
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
26
26
|
appState: Readonly<AppState>;
|
|
27
27
|
elements: ExcalidrawElement[];
|
|
28
28
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -5,8 +5,8 @@ export declare const actionDuplicateSelection: {
|
|
|
5
5
|
trackEvent: {
|
|
6
6
|
category: "element";
|
|
7
7
|
};
|
|
8
|
-
perform: (elements: readonly import("@excalidraw
|
|
9
|
-
elements: readonly import("@excalidraw
|
|
8
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, formData: unknown, app: import("../types").AppClassProperties) => false | {
|
|
9
|
+
elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
|
|
10
10
|
appState: import("../types").AppState;
|
|
11
11
|
captureUpdate: "IMMEDIATELY";
|
|
12
12
|
};
|
|
@@ -5,7 +5,7 @@ export declare const actionCopyElementLink: {
|
|
|
5
5
|
trackEvent: {
|
|
6
6
|
category: "element";
|
|
7
7
|
};
|
|
8
|
-
perform: (elements: readonly import("@excalidraw
|
|
8
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => Promise<{
|
|
9
9
|
appState: {
|
|
10
10
|
toast: {
|
|
11
11
|
message: string;
|
|
@@ -17,11 +17,11 @@ export declare const actionCopyElementLink: {
|
|
|
17
17
|
app?: undefined;
|
|
18
18
|
} | {
|
|
19
19
|
appState: Readonly<import("../types").AppState>;
|
|
20
|
-
elements: readonly import("@excalidraw
|
|
20
|
+
elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
|
|
21
21
|
app: import("../types").AppClassProperties;
|
|
22
22
|
captureUpdate: "EVENTUALLY";
|
|
23
23
|
}>;
|
|
24
|
-
predicate: (elements: readonly import("@excalidraw
|
|
24
|
+
predicate: (elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], appState: import("../types").AppState) => boolean;
|
|
25
25
|
} & {
|
|
26
26
|
keyTest?: undefined;
|
|
27
27
|
};
|
|
@@ -29,8 +29,8 @@ export declare const actionLinkToElement: {
|
|
|
29
29
|
name: "linkToElement";
|
|
30
30
|
label: string;
|
|
31
31
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
perform: (elements: readonly import("@excalidraw
|
|
33
|
-
elements: readonly import("@excalidraw
|
|
32
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
33
|
+
elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
|
|
34
34
|
appState: Readonly<import("../types").AppState>;
|
|
35
35
|
app: import("../types").AppClassProperties;
|
|
36
36
|
captureUpdate: "EVENTUALLY";
|
|
@@ -49,17 +49,17 @@ export declare const actionLinkToElement: {
|
|
|
49
49
|
isLoading: boolean;
|
|
50
50
|
errorMessage: React.ReactNode;
|
|
51
51
|
activeEmbeddable: {
|
|
52
|
-
element: import("@excalidraw
|
|
52
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
53
53
|
state: "hover" | "active";
|
|
54
54
|
} | null;
|
|
55
|
-
newElement: import("@excalidraw
|
|
56
|
-
resizingElement: import("@excalidraw
|
|
57
|
-
multiElement: import("@excalidraw
|
|
58
|
-
selectionElement: import("@excalidraw
|
|
55
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
56
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
57
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
58
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
59
59
|
isBindingEnabled: boolean;
|
|
60
|
-
startBoundElement: import("@excalidraw
|
|
61
|
-
suggestedBinding: import("@excalidraw
|
|
62
|
-
frameToHighlight: import("@excalidraw
|
|
60
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
61
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
62
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
63
63
|
frameRendering: {
|
|
64
64
|
enabled: boolean;
|
|
65
65
|
name: boolean;
|
|
@@ -67,8 +67,8 @@ export declare const actionLinkToElement: {
|
|
|
67
67
|
clip: boolean;
|
|
68
68
|
};
|
|
69
69
|
editingFrame: string | null;
|
|
70
|
-
elementsToHighlight: import("@excalidraw
|
|
71
|
-
editingTextElement: import("@excalidraw
|
|
70
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
|
|
71
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
72
72
|
activeTool: {
|
|
73
73
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
74
74
|
locked: boolean;
|
|
@@ -86,18 +86,18 @@ export declare const actionLinkToElement: {
|
|
|
86
86
|
exportScale: number;
|
|
87
87
|
currentItemStrokeColor: string;
|
|
88
88
|
currentItemBackgroundColor: string;
|
|
89
|
-
currentItemFillStyle: import("@excalidraw
|
|
89
|
+
currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
|
|
90
90
|
currentItemStrokeWidth: number;
|
|
91
|
-
currentItemStrokeStyle: import("@excalidraw
|
|
91
|
+
currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
|
|
92
92
|
currentItemRoughness: number;
|
|
93
93
|
currentItemOpacity: number;
|
|
94
|
-
currentItemFontFamily: import("@excalidraw
|
|
94
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
95
95
|
currentItemFontSize: number;
|
|
96
|
-
currentItemTextAlign: import("@excalidraw
|
|
97
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
98
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
99
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
100
|
-
currentItemRoundness: import("@excalidraw
|
|
96
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
97
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
98
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
99
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
100
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
101
101
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
102
102
|
viewBackgroundColor: string;
|
|
103
103
|
scrollX: number;
|
|
@@ -115,7 +115,7 @@ export declare const actionLinkToElement: {
|
|
|
115
115
|
tab?: import("../types").SidebarTabName;
|
|
116
116
|
} | null;
|
|
117
117
|
defaultSidebarDockedPreference: boolean;
|
|
118
|
-
lastPointerDownWith: import("@excalidraw
|
|
118
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
119
119
|
selectedElementIds: Readonly<{
|
|
120
120
|
[id: string]: true;
|
|
121
121
|
}>;
|
|
@@ -133,7 +133,7 @@ export declare const actionLinkToElement: {
|
|
|
133
133
|
duration?: number;
|
|
134
134
|
} | null;
|
|
135
135
|
zenModeEnabled: boolean;
|
|
136
|
-
theme: import("@excalidraw
|
|
136
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
137
137
|
gridSize: number;
|
|
138
138
|
gridStep: number;
|
|
139
139
|
gridModeEnabled: boolean;
|
|
@@ -141,7 +141,7 @@ export declare const actionLinkToElement: {
|
|
|
141
141
|
selectedGroupIds: {
|
|
142
142
|
[groupId: string]: boolean;
|
|
143
143
|
};
|
|
144
|
-
editingGroupId: import("@excalidraw
|
|
144
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
145
145
|
width: number;
|
|
146
146
|
height: number;
|
|
147
147
|
offsetTop: number;
|
|
@@ -152,7 +152,7 @@ export declare const actionLinkToElement: {
|
|
|
152
152
|
open: boolean;
|
|
153
153
|
panels: number;
|
|
154
154
|
};
|
|
155
|
-
currentChartType: import("@excalidraw
|
|
155
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
156
156
|
pasteDialog: {
|
|
157
157
|
shown: false;
|
|
158
158
|
data: null;
|
|
@@ -161,7 +161,7 @@ export declare const actionLinkToElement: {
|
|
|
161
161
|
data: import("../charts").Spreadsheet;
|
|
162
162
|
};
|
|
163
163
|
showHyperlinkPopup: false | "info" | "editor";
|
|
164
|
-
selectedLinearElement: import("@excalidraw
|
|
164
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
165
165
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
166
166
|
originSnapOffset: {
|
|
167
167
|
x: number;
|
|
@@ -171,22 +171,22 @@ export declare const actionLinkToElement: {
|
|
|
171
171
|
userToFollow: import("../types").UserToFollow | null;
|
|
172
172
|
followedBy: Set<import("../types").SocketId>;
|
|
173
173
|
isCropping: boolean;
|
|
174
|
-
croppingElementId: import("@excalidraw
|
|
174
|
+
croppingElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
|
|
175
175
|
searchMatches: Readonly<{
|
|
176
|
-
focusedId: import("@excalidraw
|
|
176
|
+
focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
|
|
177
177
|
matches: readonly import("../types").SearchMatch[];
|
|
178
178
|
}> | null;
|
|
179
179
|
activeLockedId: string | null;
|
|
180
180
|
lockedMultiSelections: {
|
|
181
181
|
[groupId: string]: true;
|
|
182
182
|
};
|
|
183
|
-
bindMode: import("@excalidraw
|
|
183
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
184
184
|
};
|
|
185
185
|
captureUpdate: "IMMEDIATELY";
|
|
186
186
|
elements?: undefined;
|
|
187
187
|
app?: undefined;
|
|
188
188
|
};
|
|
189
|
-
predicate: (elements: readonly import("@excalidraw
|
|
189
|
+
predicate: (elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], appState: import("../types").AppState, appProps: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
190
190
|
trackEvent: false;
|
|
191
191
|
} & {
|
|
192
192
|
keyTest?: undefined;
|