@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 actionSelectAllElementsInFrame: {
|
|
4
4
|
name: "selectAllElementsInFrame";
|
|
@@ -6,8 +6,8 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
6
6
|
trackEvent: {
|
|
7
7
|
category: "canvas";
|
|
8
8
|
};
|
|
9
|
-
perform: (elements: readonly import("@excalidraw
|
|
10
|
-
elements: readonly import("@excalidraw
|
|
9
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
10
|
+
elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
|
|
11
11
|
appState: {
|
|
12
12
|
selectedElementIds: Record<string, true>;
|
|
13
13
|
contextMenu: {
|
|
@@ -19,17 +19,17 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
19
19
|
isLoading: boolean;
|
|
20
20
|
errorMessage: React.ReactNode;
|
|
21
21
|
activeEmbeddable: {
|
|
22
|
-
element: import("@excalidraw
|
|
22
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
23
23
|
state: "hover" | "active";
|
|
24
24
|
} | null;
|
|
25
|
-
newElement: import("@excalidraw
|
|
26
|
-
resizingElement: import("@excalidraw
|
|
27
|
-
multiElement: import("@excalidraw
|
|
28
|
-
selectionElement: import("@excalidraw
|
|
25
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
26
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
27
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
28
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
29
29
|
isBindingEnabled: boolean;
|
|
30
|
-
startBoundElement: import("@excalidraw
|
|
31
|
-
suggestedBinding: import("@excalidraw
|
|
32
|
-
frameToHighlight: import("@excalidraw
|
|
30
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
31
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
32
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
33
33
|
frameRendering: {
|
|
34
34
|
enabled: boolean;
|
|
35
35
|
name: boolean;
|
|
@@ -37,8 +37,8 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
37
37
|
clip: boolean;
|
|
38
38
|
};
|
|
39
39
|
editingFrame: string | null;
|
|
40
|
-
elementsToHighlight: import("@excalidraw
|
|
41
|
-
editingTextElement: import("@excalidraw
|
|
40
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
41
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
42
42
|
activeTool: {
|
|
43
43
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
44
44
|
locked: boolean;
|
|
@@ -61,13 +61,13 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
61
61
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
62
62
|
currentItemRoughness: number;
|
|
63
63
|
currentItemOpacity: number;
|
|
64
|
-
currentItemFontFamily: import("@excalidraw
|
|
64
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
65
65
|
currentItemFontSize: number;
|
|
66
|
-
currentItemTextAlign: import("@excalidraw
|
|
67
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
68
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
69
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
70
|
-
currentItemRoundness: import("@excalidraw
|
|
66
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
67
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
68
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
69
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
70
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
71
71
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
72
72
|
viewBackgroundColor: string;
|
|
73
73
|
scrollX: number;
|
|
@@ -98,7 +98,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
98
98
|
sourceElementId: ExcalidrawElement["id"];
|
|
99
99
|
};
|
|
100
100
|
defaultSidebarDockedPreference: boolean;
|
|
101
|
-
lastPointerDownWith: import("@excalidraw
|
|
101
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
102
102
|
hoveredElementIds: Readonly<{
|
|
103
103
|
[id: string]: true;
|
|
104
104
|
}>;
|
|
@@ -113,7 +113,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
113
113
|
duration?: number;
|
|
114
114
|
} | null;
|
|
115
115
|
zenModeEnabled: boolean;
|
|
116
|
-
theme: import("@excalidraw
|
|
116
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
117
117
|
gridSize: number;
|
|
118
118
|
gridStep: number;
|
|
119
119
|
gridModeEnabled: boolean;
|
|
@@ -121,7 +121,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
121
121
|
selectedGroupIds: {
|
|
122
122
|
[groupId: string]: boolean;
|
|
123
123
|
};
|
|
124
|
-
editingGroupId: import("@excalidraw
|
|
124
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
125
125
|
width: number;
|
|
126
126
|
height: number;
|
|
127
127
|
offsetTop: number;
|
|
@@ -132,7 +132,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
132
132
|
open: boolean;
|
|
133
133
|
panels: number;
|
|
134
134
|
};
|
|
135
|
-
currentChartType: import("@excalidraw
|
|
135
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
136
136
|
pasteDialog: {
|
|
137
137
|
shown: false;
|
|
138
138
|
data: null;
|
|
@@ -141,7 +141,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
141
141
|
data: import("../charts").Spreadsheet;
|
|
142
142
|
};
|
|
143
143
|
showHyperlinkPopup: false | "info" | "editor";
|
|
144
|
-
selectedLinearElement: import("@excalidraw
|
|
144
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
145
145
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
146
146
|
originSnapOffset: {
|
|
147
147
|
x: number;
|
|
@@ -160,11 +160,11 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
160
160
|
lockedMultiSelections: {
|
|
161
161
|
[groupId: string]: true;
|
|
162
162
|
};
|
|
163
|
-
bindMode: import("@excalidraw
|
|
163
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
164
164
|
};
|
|
165
165
|
captureUpdate: "IMMEDIATELY";
|
|
166
166
|
} | {
|
|
167
|
-
elements: readonly import("@excalidraw
|
|
167
|
+
elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
|
|
168
168
|
appState: Readonly<AppState>;
|
|
169
169
|
captureUpdate: "EVENTUALLY";
|
|
170
170
|
};
|
|
@@ -178,8 +178,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
178
178
|
trackEvent: {
|
|
179
179
|
category: "history";
|
|
180
180
|
};
|
|
181
|
-
perform: (elements: readonly import("@excalidraw
|
|
182
|
-
elements: readonly import("@excalidraw
|
|
181
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
182
|
+
elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
|
|
183
183
|
appState: {
|
|
184
184
|
selectedElementIds: {
|
|
185
185
|
[x: string]: true;
|
|
@@ -193,17 +193,17 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
193
193
|
isLoading: boolean;
|
|
194
194
|
errorMessage: React.ReactNode;
|
|
195
195
|
activeEmbeddable: {
|
|
196
|
-
element: import("@excalidraw
|
|
196
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
197
197
|
state: "hover" | "active";
|
|
198
198
|
} | null;
|
|
199
|
-
newElement: import("@excalidraw
|
|
200
|
-
resizingElement: import("@excalidraw
|
|
201
|
-
multiElement: import("@excalidraw
|
|
202
|
-
selectionElement: import("@excalidraw
|
|
199
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
200
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
201
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
202
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
203
203
|
isBindingEnabled: boolean;
|
|
204
|
-
startBoundElement: import("@excalidraw
|
|
205
|
-
suggestedBinding: import("@excalidraw
|
|
206
|
-
frameToHighlight: import("@excalidraw
|
|
204
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
205
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
206
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
207
207
|
frameRendering: {
|
|
208
208
|
enabled: boolean;
|
|
209
209
|
name: boolean;
|
|
@@ -211,8 +211,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
211
211
|
clip: boolean;
|
|
212
212
|
};
|
|
213
213
|
editingFrame: string | null;
|
|
214
|
-
elementsToHighlight: import("@excalidraw
|
|
215
|
-
editingTextElement: import("@excalidraw
|
|
214
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
215
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
216
216
|
activeTool: {
|
|
217
217
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
218
218
|
locked: boolean;
|
|
@@ -235,13 +235,13 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
235
235
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
236
236
|
currentItemRoughness: number;
|
|
237
237
|
currentItemOpacity: number;
|
|
238
|
-
currentItemFontFamily: import("@excalidraw
|
|
238
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
239
239
|
currentItemFontSize: number;
|
|
240
|
-
currentItemTextAlign: import("@excalidraw
|
|
241
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
242
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
243
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
244
|
-
currentItemRoundness: import("@excalidraw
|
|
240
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
241
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
242
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
243
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
244
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
245
245
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
246
246
|
viewBackgroundColor: string;
|
|
247
247
|
scrollX: number;
|
|
@@ -272,7 +272,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
272
272
|
sourceElementId: ExcalidrawElement["id"];
|
|
273
273
|
};
|
|
274
274
|
defaultSidebarDockedPreference: boolean;
|
|
275
|
-
lastPointerDownWith: import("@excalidraw
|
|
275
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
276
276
|
hoveredElementIds: Readonly<{
|
|
277
277
|
[id: string]: true;
|
|
278
278
|
}>;
|
|
@@ -287,7 +287,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
287
287
|
duration?: number;
|
|
288
288
|
} | null;
|
|
289
289
|
zenModeEnabled: boolean;
|
|
290
|
-
theme: import("@excalidraw
|
|
290
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
291
291
|
gridSize: number;
|
|
292
292
|
gridStep: number;
|
|
293
293
|
gridModeEnabled: boolean;
|
|
@@ -295,7 +295,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
295
295
|
selectedGroupIds: {
|
|
296
296
|
[groupId: string]: boolean;
|
|
297
297
|
};
|
|
298
|
-
editingGroupId: import("@excalidraw
|
|
298
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
299
299
|
width: number;
|
|
300
300
|
height: number;
|
|
301
301
|
offsetTop: number;
|
|
@@ -306,7 +306,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
306
306
|
open: boolean;
|
|
307
307
|
panels: number;
|
|
308
308
|
};
|
|
309
|
-
currentChartType: import("@excalidraw
|
|
309
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
310
310
|
pasteDialog: {
|
|
311
311
|
shown: false;
|
|
312
312
|
data: null;
|
|
@@ -315,7 +315,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
315
315
|
data: import("../charts").Spreadsheet;
|
|
316
316
|
};
|
|
317
317
|
showHyperlinkPopup: false | "info" | "editor";
|
|
318
|
-
selectedLinearElement: import("@excalidraw
|
|
318
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
319
319
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
320
320
|
originSnapOffset: {
|
|
321
321
|
x: number;
|
|
@@ -334,11 +334,11 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
334
334
|
lockedMultiSelections: {
|
|
335
335
|
[groupId: string]: true;
|
|
336
336
|
};
|
|
337
|
-
bindMode: import("@excalidraw
|
|
337
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
338
338
|
};
|
|
339
339
|
captureUpdate: "IMMEDIATELY";
|
|
340
340
|
} | {
|
|
341
|
-
elements: readonly import("@excalidraw
|
|
341
|
+
elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
|
|
342
342
|
appState: Readonly<AppState>;
|
|
343
343
|
captureUpdate: "EVENTUALLY";
|
|
344
344
|
};
|
|
@@ -353,8 +353,8 @@ export declare const actionupdateFrameRendering: {
|
|
|
353
353
|
trackEvent: {
|
|
354
354
|
category: "canvas";
|
|
355
355
|
};
|
|
356
|
-
perform: (elements: readonly import("@excalidraw
|
|
357
|
-
elements: readonly import("@excalidraw
|
|
356
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
|
|
357
|
+
elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
|
|
358
358
|
appState: {
|
|
359
359
|
frameRendering: {
|
|
360
360
|
enabled: boolean;
|
|
@@ -371,20 +371,20 @@ export declare const actionupdateFrameRendering: {
|
|
|
371
371
|
isLoading: boolean;
|
|
372
372
|
errorMessage: React.ReactNode;
|
|
373
373
|
activeEmbeddable: {
|
|
374
|
-
element: import("@excalidraw
|
|
374
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
375
375
|
state: "hover" | "active";
|
|
376
376
|
} | null;
|
|
377
|
-
newElement: import("@excalidraw
|
|
378
|
-
resizingElement: import("@excalidraw
|
|
379
|
-
multiElement: import("@excalidraw
|
|
380
|
-
selectionElement: import("@excalidraw
|
|
377
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
378
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
379
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
380
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
381
381
|
isBindingEnabled: boolean;
|
|
382
|
-
startBoundElement: import("@excalidraw
|
|
383
|
-
suggestedBinding: import("@excalidraw
|
|
384
|
-
frameToHighlight: import("@excalidraw
|
|
382
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
383
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
384
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
385
385
|
editingFrame: string | null;
|
|
386
|
-
elementsToHighlight: import("@excalidraw
|
|
387
|
-
editingTextElement: import("@excalidraw
|
|
386
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
387
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
388
388
|
activeTool: {
|
|
389
389
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
390
390
|
locked: boolean;
|
|
@@ -407,13 +407,13 @@ export declare const actionupdateFrameRendering: {
|
|
|
407
407
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
408
408
|
currentItemRoughness: number;
|
|
409
409
|
currentItemOpacity: number;
|
|
410
|
-
currentItemFontFamily: import("@excalidraw
|
|
410
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
411
411
|
currentItemFontSize: number;
|
|
412
|
-
currentItemTextAlign: import("@excalidraw
|
|
413
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
414
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
415
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
416
|
-
currentItemRoundness: import("@excalidraw
|
|
412
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
413
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
414
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
415
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
416
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
417
417
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
418
418
|
viewBackgroundColor: string;
|
|
419
419
|
scrollX: number;
|
|
@@ -444,7 +444,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
444
444
|
sourceElementId: ExcalidrawElement["id"];
|
|
445
445
|
};
|
|
446
446
|
defaultSidebarDockedPreference: boolean;
|
|
447
|
-
lastPointerDownWith: import("@excalidraw
|
|
447
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
448
448
|
selectedElementIds: Readonly<{
|
|
449
449
|
[id: string]: true;
|
|
450
450
|
}>;
|
|
@@ -462,7 +462,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
462
462
|
duration?: number;
|
|
463
463
|
} | null;
|
|
464
464
|
zenModeEnabled: boolean;
|
|
465
|
-
theme: import("@excalidraw
|
|
465
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
466
466
|
gridSize: number;
|
|
467
467
|
gridStep: number;
|
|
468
468
|
gridModeEnabled: boolean;
|
|
@@ -470,7 +470,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
470
470
|
selectedGroupIds: {
|
|
471
471
|
[groupId: string]: boolean;
|
|
472
472
|
};
|
|
473
|
-
editingGroupId: import("@excalidraw
|
|
473
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
474
474
|
width: number;
|
|
475
475
|
height: number;
|
|
476
476
|
offsetTop: number;
|
|
@@ -481,7 +481,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
481
481
|
open: boolean;
|
|
482
482
|
panels: number;
|
|
483
483
|
};
|
|
484
|
-
currentChartType: import("@excalidraw
|
|
484
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
485
485
|
pasteDialog: {
|
|
486
486
|
shown: false;
|
|
487
487
|
data: null;
|
|
@@ -490,7 +490,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
490
490
|
data: import("../charts").Spreadsheet;
|
|
491
491
|
};
|
|
492
492
|
showHyperlinkPopup: false | "info" | "editor";
|
|
493
|
-
selectedLinearElement: import("@excalidraw
|
|
493
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
494
494
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
495
495
|
originSnapOffset: {
|
|
496
496
|
x: number;
|
|
@@ -509,7 +509,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
509
509
|
lockedMultiSelections: {
|
|
510
510
|
[groupId: string]: true;
|
|
511
511
|
};
|
|
512
|
-
bindMode: import("@excalidraw
|
|
512
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
513
513
|
};
|
|
514
514
|
captureUpdate: "EVENTUALLY";
|
|
515
515
|
};
|
|
@@ -525,8 +525,8 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
525
525
|
};
|
|
526
526
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
527
527
|
viewMode: false;
|
|
528
|
-
perform: (elements: readonly import("@excalidraw
|
|
529
|
-
elements: readonly import("@excalidraw
|
|
528
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
529
|
+
elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
|
|
530
530
|
appState: {
|
|
531
531
|
activeTool: {
|
|
532
532
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -542,17 +542,17 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
542
542
|
isLoading: boolean;
|
|
543
543
|
errorMessage: React.ReactNode;
|
|
544
544
|
activeEmbeddable: {
|
|
545
|
-
element: import("@excalidraw
|
|
545
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
546
546
|
state: "hover" | "active";
|
|
547
547
|
} | null;
|
|
548
|
-
newElement: import("@excalidraw
|
|
549
|
-
resizingElement: import("@excalidraw
|
|
550
|
-
multiElement: import("@excalidraw
|
|
551
|
-
selectionElement: import("@excalidraw
|
|
548
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
549
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
550
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
551
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
552
552
|
isBindingEnabled: boolean;
|
|
553
|
-
startBoundElement: import("@excalidraw
|
|
554
|
-
suggestedBinding: import("@excalidraw
|
|
555
|
-
frameToHighlight: import("@excalidraw
|
|
553
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
554
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
555
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
556
556
|
frameRendering: {
|
|
557
557
|
enabled: boolean;
|
|
558
558
|
name: boolean;
|
|
@@ -560,8 +560,8 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
560
560
|
clip: boolean;
|
|
561
561
|
};
|
|
562
562
|
editingFrame: string | null;
|
|
563
|
-
elementsToHighlight: import("@excalidraw
|
|
564
|
-
editingTextElement: import("@excalidraw
|
|
563
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
564
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
565
565
|
preferredSelectionTool: {
|
|
566
566
|
type: "selection" | "lasso";
|
|
567
567
|
initialized: boolean;
|
|
@@ -579,13 +579,13 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
579
579
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
580
580
|
currentItemRoughness: number;
|
|
581
581
|
currentItemOpacity: number;
|
|
582
|
-
currentItemFontFamily: import("@excalidraw
|
|
582
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
583
583
|
currentItemFontSize: number;
|
|
584
|
-
currentItemTextAlign: import("@excalidraw
|
|
585
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
586
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
587
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
588
|
-
currentItemRoundness: import("@excalidraw
|
|
584
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
585
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
586
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
587
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
588
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
589
589
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
590
590
|
viewBackgroundColor: string;
|
|
591
591
|
scrollX: number;
|
|
@@ -616,7 +616,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
616
616
|
sourceElementId: ExcalidrawElement["id"];
|
|
617
617
|
};
|
|
618
618
|
defaultSidebarDockedPreference: boolean;
|
|
619
|
-
lastPointerDownWith: import("@excalidraw
|
|
619
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
620
620
|
selectedElementIds: Readonly<{
|
|
621
621
|
[id: string]: true;
|
|
622
622
|
}>;
|
|
@@ -634,7 +634,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
634
634
|
duration?: number;
|
|
635
635
|
} | null;
|
|
636
636
|
zenModeEnabled: boolean;
|
|
637
|
-
theme: import("@excalidraw
|
|
637
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
638
638
|
gridSize: number;
|
|
639
639
|
gridStep: number;
|
|
640
640
|
gridModeEnabled: boolean;
|
|
@@ -642,7 +642,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
642
642
|
selectedGroupIds: {
|
|
643
643
|
[groupId: string]: boolean;
|
|
644
644
|
};
|
|
645
|
-
editingGroupId: import("@excalidraw
|
|
645
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
646
646
|
width: number;
|
|
647
647
|
height: number;
|
|
648
648
|
offsetTop: number;
|
|
@@ -653,7 +653,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
653
653
|
open: boolean;
|
|
654
654
|
panels: number;
|
|
655
655
|
};
|
|
656
|
-
currentChartType: import("@excalidraw
|
|
656
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
657
657
|
pasteDialog: {
|
|
658
658
|
shown: false;
|
|
659
659
|
data: null;
|
|
@@ -662,7 +662,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
662
662
|
data: import("../charts").Spreadsheet;
|
|
663
663
|
};
|
|
664
664
|
showHyperlinkPopup: false | "info" | "editor";
|
|
665
|
-
selectedLinearElement: import("@excalidraw
|
|
665
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
666
666
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
667
667
|
originSnapOffset: {
|
|
668
668
|
x: number;
|
|
@@ -681,7 +681,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
681
681
|
lockedMultiSelections: {
|
|
682
682
|
[groupId: string]: true;
|
|
683
683
|
};
|
|
684
|
-
bindMode: import("@excalidraw
|
|
684
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
685
685
|
};
|
|
686
686
|
captureUpdate: "EVENTUALLY";
|
|
687
687
|
};
|
|
@@ -696,72 +696,72 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
696
696
|
category: "element";
|
|
697
697
|
};
|
|
698
698
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
699
|
-
perform: (elements: readonly import("@excalidraw
|
|
699
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
700
700
|
elements: ((Readonly<{
|
|
701
701
|
id: string;
|
|
702
702
|
x: number;
|
|
703
703
|
y: number;
|
|
704
704
|
strokeColor: string;
|
|
705
705
|
backgroundColor: string;
|
|
706
|
-
fillStyle: import("@excalidraw
|
|
706
|
+
fillStyle: import("@misenkashari/excalidraw-element/types").FillStyle;
|
|
707
707
|
strokeWidth: number;
|
|
708
|
-
strokeStyle: import("@excalidraw
|
|
708
|
+
strokeStyle: import("@misenkashari/excalidraw-element/types").StrokeStyle;
|
|
709
709
|
roundness: null | {
|
|
710
|
-
type: import("@excalidraw
|
|
710
|
+
type: import("@misenkashari/excalidraw-element/types").RoundnessType;
|
|
711
711
|
value?: number;
|
|
712
712
|
};
|
|
713
713
|
roughness: number;
|
|
714
714
|
opacity: number;
|
|
715
715
|
width: number;
|
|
716
716
|
height: number;
|
|
717
|
-
angle: import("@excalidraw
|
|
717
|
+
angle: import("@misenkashari/excalidraw-math").Radians;
|
|
718
718
|
seed: number;
|
|
719
719
|
version: number;
|
|
720
720
|
versionNonce: number;
|
|
721
|
-
index: import("@excalidraw
|
|
721
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex | null;
|
|
722
722
|
isDeleted: boolean;
|
|
723
|
-
groupIds: readonly import("@excalidraw
|
|
723
|
+
groupIds: readonly import("@misenkashari/excalidraw-element/types").GroupId[];
|
|
724
724
|
frameId: string | null;
|
|
725
|
-
boundElements: readonly import("@excalidraw
|
|
725
|
+
boundElements: readonly import("@misenkashari/excalidraw-element/types").BoundElement[] | null;
|
|
726
726
|
updated: number;
|
|
727
727
|
link: string | null;
|
|
728
728
|
locked: boolean;
|
|
729
729
|
customData?: Record<string, any>;
|
|
730
730
|
}> & Readonly<{
|
|
731
731
|
type: "line" | "arrow";
|
|
732
|
-
points: readonly import("@excalidraw
|
|
733
|
-
startBinding: import("@excalidraw
|
|
734
|
-
endBinding: import("@excalidraw
|
|
735
|
-
startArrowhead: import("@excalidraw
|
|
736
|
-
endArrowhead: import("@excalidraw
|
|
732
|
+
points: readonly import("@misenkashari/excalidraw-math").LocalPoint[];
|
|
733
|
+
startBinding: import("@misenkashari/excalidraw-element/types").FixedPointBinding | null;
|
|
734
|
+
endBinding: import("@misenkashari/excalidraw-element/types").FixedPointBinding | null;
|
|
735
|
+
startArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
736
|
+
endArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
737
737
|
}> & {
|
|
738
|
-
index: import("@excalidraw
|
|
738
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex;
|
|
739
739
|
}) | (Readonly<{
|
|
740
740
|
id: string;
|
|
741
741
|
x: number;
|
|
742
742
|
y: number;
|
|
743
743
|
strokeColor: string;
|
|
744
744
|
backgroundColor: string;
|
|
745
|
-
fillStyle: import("@excalidraw
|
|
745
|
+
fillStyle: import("@misenkashari/excalidraw-element/types").FillStyle;
|
|
746
746
|
strokeWidth: number;
|
|
747
|
-
strokeStyle: import("@excalidraw
|
|
747
|
+
strokeStyle: import("@misenkashari/excalidraw-element/types").StrokeStyle;
|
|
748
748
|
roundness: null | {
|
|
749
|
-
type: import("@excalidraw
|
|
749
|
+
type: import("@misenkashari/excalidraw-element/types").RoundnessType;
|
|
750
750
|
value?: number;
|
|
751
751
|
};
|
|
752
752
|
roughness: number;
|
|
753
753
|
opacity: number;
|
|
754
754
|
width: number;
|
|
755
755
|
height: number;
|
|
756
|
-
angle: import("@excalidraw
|
|
756
|
+
angle: import("@misenkashari/excalidraw-math").Radians;
|
|
757
757
|
seed: number;
|
|
758
758
|
version: number;
|
|
759
759
|
versionNonce: number;
|
|
760
|
-
index: import("@excalidraw
|
|
760
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex | null;
|
|
761
761
|
isDeleted: boolean;
|
|
762
|
-
groupIds: readonly import("@excalidraw
|
|
762
|
+
groupIds: readonly import("@misenkashari/excalidraw-element/types").GroupId[];
|
|
763
763
|
frameId: string | null;
|
|
764
|
-
boundElements: readonly import("@excalidraw
|
|
764
|
+
boundElements: readonly import("@misenkashari/excalidraw-element/types").BoundElement[] | null;
|
|
765
765
|
updated: number;
|
|
766
766
|
link: string | null;
|
|
767
767
|
locked: boolean;
|
|
@@ -769,33 +769,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
769
769
|
}> & {
|
|
770
770
|
type: "selection";
|
|
771
771
|
} & {
|
|
772
|
-
index: import("@excalidraw
|
|
772
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex;
|
|
773
773
|
}) | (Readonly<{
|
|
774
774
|
id: string;
|
|
775
775
|
x: number;
|
|
776
776
|
y: number;
|
|
777
777
|
strokeColor: string;
|
|
778
778
|
backgroundColor: string;
|
|
779
|
-
fillStyle: import("@excalidraw
|
|
779
|
+
fillStyle: import("@misenkashari/excalidraw-element/types").FillStyle;
|
|
780
780
|
strokeWidth: number;
|
|
781
|
-
strokeStyle: import("@excalidraw
|
|
781
|
+
strokeStyle: import("@misenkashari/excalidraw-element/types").StrokeStyle;
|
|
782
782
|
roundness: null | {
|
|
783
|
-
type: import("@excalidraw
|
|
783
|
+
type: import("@misenkashari/excalidraw-element/types").RoundnessType;
|
|
784
784
|
value?: number;
|
|
785
785
|
};
|
|
786
786
|
roughness: number;
|
|
787
787
|
opacity: number;
|
|
788
788
|
width: number;
|
|
789
789
|
height: number;
|
|
790
|
-
angle: import("@excalidraw
|
|
790
|
+
angle: import("@misenkashari/excalidraw-math").Radians;
|
|
791
791
|
seed: number;
|
|
792
792
|
version: number;
|
|
793
793
|
versionNonce: number;
|
|
794
|
-
index: import("@excalidraw
|
|
794
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex | null;
|
|
795
795
|
isDeleted: boolean;
|
|
796
|
-
groupIds: readonly import("@excalidraw
|
|
796
|
+
groupIds: readonly import("@misenkashari/excalidraw-element/types").GroupId[];
|
|
797
797
|
frameId: string | null;
|
|
798
|
-
boundElements: readonly import("@excalidraw
|
|
798
|
+
boundElements: readonly import("@misenkashari/excalidraw-element/types").BoundElement[] | null;
|
|
799
799
|
updated: number;
|
|
800
800
|
link: string | null;
|
|
801
801
|
locked: boolean;
|
|
@@ -803,33 +803,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
803
803
|
}> & {
|
|
804
804
|
type: "rectangle";
|
|
805
805
|
} & {
|
|
806
|
-
index: import("@excalidraw
|
|
806
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex;
|
|
807
807
|
}) | (Readonly<{
|
|
808
808
|
id: string;
|
|
809
809
|
x: number;
|
|
810
810
|
y: number;
|
|
811
811
|
strokeColor: string;
|
|
812
812
|
backgroundColor: string;
|
|
813
|
-
fillStyle: import("@excalidraw
|
|
813
|
+
fillStyle: import("@misenkashari/excalidraw-element/types").FillStyle;
|
|
814
814
|
strokeWidth: number;
|
|
815
|
-
strokeStyle: import("@excalidraw
|
|
815
|
+
strokeStyle: import("@misenkashari/excalidraw-element/types").StrokeStyle;
|
|
816
816
|
roundness: null | {
|
|
817
|
-
type: import("@excalidraw
|
|
817
|
+
type: import("@misenkashari/excalidraw-element/types").RoundnessType;
|
|
818
818
|
value?: number;
|
|
819
819
|
};
|
|
820
820
|
roughness: number;
|
|
821
821
|
opacity: number;
|
|
822
822
|
width: number;
|
|
823
823
|
height: number;
|
|
824
|
-
angle: import("@excalidraw
|
|
824
|
+
angle: import("@misenkashari/excalidraw-math").Radians;
|
|
825
825
|
seed: number;
|
|
826
826
|
version: number;
|
|
827
827
|
versionNonce: number;
|
|
828
|
-
index: import("@excalidraw
|
|
828
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex | null;
|
|
829
829
|
isDeleted: boolean;
|
|
830
|
-
groupIds: readonly import("@excalidraw
|
|
830
|
+
groupIds: readonly import("@misenkashari/excalidraw-element/types").GroupId[];
|
|
831
831
|
frameId: string | null;
|
|
832
|
-
boundElements: readonly import("@excalidraw
|
|
832
|
+
boundElements: readonly import("@misenkashari/excalidraw-element/types").BoundElement[] | null;
|
|
833
833
|
updated: number;
|
|
834
834
|
link: string | null;
|
|
835
835
|
locked: boolean;
|
|
@@ -837,33 +837,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
837
837
|
}> & {
|
|
838
838
|
type: "diamond";
|
|
839
839
|
} & {
|
|
840
|
-
index: import("@excalidraw
|
|
840
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex;
|
|
841
841
|
}) | (Readonly<{
|
|
842
842
|
id: string;
|
|
843
843
|
x: number;
|
|
844
844
|
y: number;
|
|
845
845
|
strokeColor: string;
|
|
846
846
|
backgroundColor: string;
|
|
847
|
-
fillStyle: import("@excalidraw
|
|
847
|
+
fillStyle: import("@misenkashari/excalidraw-element/types").FillStyle;
|
|
848
848
|
strokeWidth: number;
|
|
849
|
-
strokeStyle: import("@excalidraw
|
|
849
|
+
strokeStyle: import("@misenkashari/excalidraw-element/types").StrokeStyle;
|
|
850
850
|
roundness: null | {
|
|
851
|
-
type: import("@excalidraw
|
|
851
|
+
type: import("@misenkashari/excalidraw-element/types").RoundnessType;
|
|
852
852
|
value?: number;
|
|
853
853
|
};
|
|
854
854
|
roughness: number;
|
|
855
855
|
opacity: number;
|
|
856
856
|
width: number;
|
|
857
857
|
height: number;
|
|
858
|
-
angle: import("@excalidraw
|
|
858
|
+
angle: import("@misenkashari/excalidraw-math").Radians;
|
|
859
859
|
seed: number;
|
|
860
860
|
version: number;
|
|
861
861
|
versionNonce: number;
|
|
862
|
-
index: import("@excalidraw
|
|
862
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex | null;
|
|
863
863
|
isDeleted: boolean;
|
|
864
|
-
groupIds: readonly import("@excalidraw
|
|
864
|
+
groupIds: readonly import("@misenkashari/excalidraw-element/types").GroupId[];
|
|
865
865
|
frameId: string | null;
|
|
866
|
-
boundElements: readonly import("@excalidraw
|
|
866
|
+
boundElements: readonly import("@misenkashari/excalidraw-element/types").BoundElement[] | null;
|
|
867
867
|
updated: number;
|
|
868
868
|
link: string | null;
|
|
869
869
|
locked: boolean;
|
|
@@ -871,33 +871,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
871
871
|
}> & {
|
|
872
872
|
type: "ellipse";
|
|
873
873
|
} & {
|
|
874
|
-
index: import("@excalidraw
|
|
874
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex;
|
|
875
875
|
}) | (Readonly<{
|
|
876
876
|
id: string;
|
|
877
877
|
x: number;
|
|
878
878
|
y: number;
|
|
879
879
|
strokeColor: string;
|
|
880
880
|
backgroundColor: string;
|
|
881
|
-
fillStyle: import("@excalidraw
|
|
881
|
+
fillStyle: import("@misenkashari/excalidraw-element/types").FillStyle;
|
|
882
882
|
strokeWidth: number;
|
|
883
|
-
strokeStyle: import("@excalidraw
|
|
883
|
+
strokeStyle: import("@misenkashari/excalidraw-element/types").StrokeStyle;
|
|
884
884
|
roundness: null | {
|
|
885
|
-
type: import("@excalidraw
|
|
885
|
+
type: import("@misenkashari/excalidraw-element/types").RoundnessType;
|
|
886
886
|
value?: number;
|
|
887
887
|
};
|
|
888
888
|
roughness: number;
|
|
889
889
|
opacity: number;
|
|
890
890
|
width: number;
|
|
891
891
|
height: number;
|
|
892
|
-
angle: import("@excalidraw
|
|
892
|
+
angle: import("@misenkashari/excalidraw-math").Radians;
|
|
893
893
|
seed: number;
|
|
894
894
|
version: number;
|
|
895
895
|
versionNonce: number;
|
|
896
|
-
index: import("@excalidraw
|
|
896
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex | null;
|
|
897
897
|
isDeleted: boolean;
|
|
898
|
-
groupIds: readonly import("@excalidraw
|
|
898
|
+
groupIds: readonly import("@misenkashari/excalidraw-element/types").GroupId[];
|
|
899
899
|
frameId: string | null;
|
|
900
|
-
boundElements: readonly import("@excalidraw
|
|
900
|
+
boundElements: readonly import("@misenkashari/excalidraw-element/types").BoundElement[] | null;
|
|
901
901
|
updated: number;
|
|
902
902
|
link: string | null;
|
|
903
903
|
locked: boolean;
|
|
@@ -905,33 +905,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
905
905
|
}> & {
|
|
906
906
|
type: "triangle";
|
|
907
907
|
} & {
|
|
908
|
-
index: import("@excalidraw
|
|
908
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex;
|
|
909
909
|
}) | (Readonly<{
|
|
910
910
|
id: string;
|
|
911
911
|
x: number;
|
|
912
912
|
y: number;
|
|
913
913
|
strokeColor: string;
|
|
914
914
|
backgroundColor: string;
|
|
915
|
-
fillStyle: import("@excalidraw
|
|
915
|
+
fillStyle: import("@misenkashari/excalidraw-element/types").FillStyle;
|
|
916
916
|
strokeWidth: number;
|
|
917
|
-
strokeStyle: import("@excalidraw
|
|
917
|
+
strokeStyle: import("@misenkashari/excalidraw-element/types").StrokeStyle;
|
|
918
918
|
roundness: null | {
|
|
919
|
-
type: import("@excalidraw
|
|
919
|
+
type: import("@misenkashari/excalidraw-element/types").RoundnessType;
|
|
920
920
|
value?: number;
|
|
921
921
|
};
|
|
922
922
|
roughness: number;
|
|
923
923
|
opacity: number;
|
|
924
924
|
width: number;
|
|
925
925
|
height: number;
|
|
926
|
-
angle: import("@excalidraw
|
|
926
|
+
angle: import("@misenkashari/excalidraw-math").Radians;
|
|
927
927
|
seed: number;
|
|
928
928
|
version: number;
|
|
929
929
|
versionNonce: number;
|
|
930
|
-
index: import("@excalidraw
|
|
930
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex | null;
|
|
931
931
|
isDeleted: boolean;
|
|
932
|
-
groupIds: readonly import("@excalidraw
|
|
932
|
+
groupIds: readonly import("@misenkashari/excalidraw-element/types").GroupId[];
|
|
933
933
|
frameId: string | null;
|
|
934
|
-
boundElements: readonly import("@excalidraw
|
|
934
|
+
boundElements: readonly import("@misenkashari/excalidraw-element/types").BoundElement[] | null;
|
|
935
935
|
updated: number;
|
|
936
936
|
link: string | null;
|
|
937
937
|
locked: boolean;
|
|
@@ -939,33 +939,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
939
939
|
}> & {
|
|
940
940
|
type: "hexagon";
|
|
941
941
|
} & {
|
|
942
|
-
index: import("@excalidraw
|
|
942
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex;
|
|
943
943
|
}) | (Readonly<{
|
|
944
944
|
id: string;
|
|
945
945
|
x: number;
|
|
946
946
|
y: number;
|
|
947
947
|
strokeColor: string;
|
|
948
948
|
backgroundColor: string;
|
|
949
|
-
fillStyle: import("@excalidraw
|
|
949
|
+
fillStyle: import("@misenkashari/excalidraw-element/types").FillStyle;
|
|
950
950
|
strokeWidth: number;
|
|
951
|
-
strokeStyle: import("@excalidraw
|
|
951
|
+
strokeStyle: import("@misenkashari/excalidraw-element/types").StrokeStyle;
|
|
952
952
|
roundness: null | {
|
|
953
|
-
type: import("@excalidraw
|
|
953
|
+
type: import("@misenkashari/excalidraw-element/types").RoundnessType;
|
|
954
954
|
value?: number;
|
|
955
955
|
};
|
|
956
956
|
roughness: number;
|
|
957
957
|
opacity: number;
|
|
958
958
|
width: number;
|
|
959
959
|
height: number;
|
|
960
|
-
angle: import("@excalidraw
|
|
960
|
+
angle: import("@misenkashari/excalidraw-math").Radians;
|
|
961
961
|
seed: number;
|
|
962
962
|
version: number;
|
|
963
963
|
versionNonce: number;
|
|
964
|
-
index: import("@excalidraw
|
|
964
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex | null;
|
|
965
965
|
isDeleted: boolean;
|
|
966
|
-
groupIds: readonly import("@excalidraw
|
|
966
|
+
groupIds: readonly import("@misenkashari/excalidraw-element/types").GroupId[];
|
|
967
967
|
frameId: string | null;
|
|
968
|
-
boundElements: readonly import("@excalidraw
|
|
968
|
+
boundElements: readonly import("@misenkashari/excalidraw-element/types").BoundElement[] | null;
|
|
969
969
|
updated: number;
|
|
970
970
|
link: string | null;
|
|
971
971
|
locked: boolean;
|
|
@@ -973,33 +973,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
973
973
|
}> & {
|
|
974
974
|
type: "heart";
|
|
975
975
|
} & {
|
|
976
|
-
index: import("@excalidraw
|
|
976
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex;
|
|
977
977
|
}) | (Readonly<{
|
|
978
978
|
id: string;
|
|
979
979
|
x: number;
|
|
980
980
|
y: number;
|
|
981
981
|
strokeColor: string;
|
|
982
982
|
backgroundColor: string;
|
|
983
|
-
fillStyle: import("@excalidraw
|
|
983
|
+
fillStyle: import("@misenkashari/excalidraw-element/types").FillStyle;
|
|
984
984
|
strokeWidth: number;
|
|
985
|
-
strokeStyle: import("@excalidraw
|
|
985
|
+
strokeStyle: import("@misenkashari/excalidraw-element/types").StrokeStyle;
|
|
986
986
|
roundness: null | {
|
|
987
|
-
type: import("@excalidraw
|
|
987
|
+
type: import("@misenkashari/excalidraw-element/types").RoundnessType;
|
|
988
988
|
value?: number;
|
|
989
989
|
};
|
|
990
990
|
roughness: number;
|
|
991
991
|
opacity: number;
|
|
992
992
|
width: number;
|
|
993
993
|
height: number;
|
|
994
|
-
angle: import("@excalidraw
|
|
994
|
+
angle: import("@misenkashari/excalidraw-math").Radians;
|
|
995
995
|
seed: number;
|
|
996
996
|
version: number;
|
|
997
997
|
versionNonce: number;
|
|
998
|
-
index: import("@excalidraw
|
|
998
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex | null;
|
|
999
999
|
isDeleted: boolean;
|
|
1000
|
-
groupIds: readonly import("@excalidraw
|
|
1000
|
+
groupIds: readonly import("@misenkashari/excalidraw-element/types").GroupId[];
|
|
1001
1001
|
frameId: string | null;
|
|
1002
|
-
boundElements: readonly import("@excalidraw
|
|
1002
|
+
boundElements: readonly import("@misenkashari/excalidraw-element/types").BoundElement[] | null;
|
|
1003
1003
|
updated: number;
|
|
1004
1004
|
link: string | null;
|
|
1005
1005
|
locked: boolean;
|
|
@@ -1007,33 +1007,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1007
1007
|
}> & {
|
|
1008
1008
|
type: "star";
|
|
1009
1009
|
} & {
|
|
1010
|
-
index: import("@excalidraw
|
|
1010
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex;
|
|
1011
1011
|
}) | (Readonly<{
|
|
1012
1012
|
id: string;
|
|
1013
1013
|
x: number;
|
|
1014
1014
|
y: number;
|
|
1015
1015
|
strokeColor: string;
|
|
1016
1016
|
backgroundColor: string;
|
|
1017
|
-
fillStyle: import("@excalidraw
|
|
1017
|
+
fillStyle: import("@misenkashari/excalidraw-element/types").FillStyle;
|
|
1018
1018
|
strokeWidth: number;
|
|
1019
|
-
strokeStyle: import("@excalidraw
|
|
1019
|
+
strokeStyle: import("@misenkashari/excalidraw-element/types").StrokeStyle;
|
|
1020
1020
|
roundness: null | {
|
|
1021
|
-
type: import("@excalidraw
|
|
1021
|
+
type: import("@misenkashari/excalidraw-element/types").RoundnessType;
|
|
1022
1022
|
value?: number;
|
|
1023
1023
|
};
|
|
1024
1024
|
roughness: number;
|
|
1025
1025
|
opacity: number;
|
|
1026
1026
|
width: number;
|
|
1027
1027
|
height: number;
|
|
1028
|
-
angle: import("@excalidraw
|
|
1028
|
+
angle: import("@misenkashari/excalidraw-math").Radians;
|
|
1029
1029
|
seed: number;
|
|
1030
1030
|
version: number;
|
|
1031
1031
|
versionNonce: number;
|
|
1032
|
-
index: import("@excalidraw
|
|
1032
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex | null;
|
|
1033
1033
|
isDeleted: boolean;
|
|
1034
|
-
groupIds: readonly import("@excalidraw
|
|
1034
|
+
groupIds: readonly import("@misenkashari/excalidraw-element/types").GroupId[];
|
|
1035
1035
|
frameId: string | null;
|
|
1036
|
-
boundElements: readonly import("@excalidraw
|
|
1036
|
+
boundElements: readonly import("@misenkashari/excalidraw-element/types").BoundElement[] | null;
|
|
1037
1037
|
updated: number;
|
|
1038
1038
|
link: string | null;
|
|
1039
1039
|
locked: boolean;
|
|
@@ -1041,33 +1041,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1041
1041
|
}> & Readonly<{
|
|
1042
1042
|
type: "embeddable";
|
|
1043
1043
|
}> & {
|
|
1044
|
-
index: import("@excalidraw
|
|
1044
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex;
|
|
1045
1045
|
}) | (Readonly<{
|
|
1046
1046
|
id: string;
|
|
1047
1047
|
x: number;
|
|
1048
1048
|
y: number;
|
|
1049
1049
|
strokeColor: string;
|
|
1050
1050
|
backgroundColor: string;
|
|
1051
|
-
fillStyle: import("@excalidraw
|
|
1051
|
+
fillStyle: import("@misenkashari/excalidraw-element/types").FillStyle;
|
|
1052
1052
|
strokeWidth: number;
|
|
1053
|
-
strokeStyle: import("@excalidraw
|
|
1053
|
+
strokeStyle: import("@misenkashari/excalidraw-element/types").StrokeStyle;
|
|
1054
1054
|
roundness: null | {
|
|
1055
|
-
type: import("@excalidraw
|
|
1055
|
+
type: import("@misenkashari/excalidraw-element/types").RoundnessType;
|
|
1056
1056
|
value?: number;
|
|
1057
1057
|
};
|
|
1058
1058
|
roughness: number;
|
|
1059
1059
|
opacity: number;
|
|
1060
1060
|
width: number;
|
|
1061
1061
|
height: number;
|
|
1062
|
-
angle: import("@excalidraw
|
|
1062
|
+
angle: import("@misenkashari/excalidraw-math").Radians;
|
|
1063
1063
|
seed: number;
|
|
1064
1064
|
version: number;
|
|
1065
1065
|
versionNonce: number;
|
|
1066
|
-
index: import("@excalidraw
|
|
1066
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex | null;
|
|
1067
1067
|
isDeleted: boolean;
|
|
1068
|
-
groupIds: readonly import("@excalidraw
|
|
1068
|
+
groupIds: readonly import("@misenkashari/excalidraw-element/types").GroupId[];
|
|
1069
1069
|
frameId: string | null;
|
|
1070
|
-
boundElements: readonly import("@excalidraw
|
|
1070
|
+
boundElements: readonly import("@misenkashari/excalidraw-element/types").BoundElement[] | null;
|
|
1071
1071
|
updated: number;
|
|
1072
1072
|
link: string | null;
|
|
1073
1073
|
locked: boolean;
|
|
@@ -1075,74 +1075,74 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1075
1075
|
}> & Readonly<{
|
|
1076
1076
|
type: "iframe";
|
|
1077
1077
|
customData?: {
|
|
1078
|
-
generationData?: import("@excalidraw
|
|
1078
|
+
generationData?: import("@misenkashari/excalidraw-element/types").MagicGenerationData;
|
|
1079
1079
|
};
|
|
1080
1080
|
}> & {
|
|
1081
|
-
index: import("@excalidraw
|
|
1081
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex;
|
|
1082
1082
|
}) | (Readonly<{
|
|
1083
1083
|
id: string;
|
|
1084
1084
|
x: number;
|
|
1085
1085
|
y: number;
|
|
1086
1086
|
strokeColor: string;
|
|
1087
1087
|
backgroundColor: string;
|
|
1088
|
-
fillStyle: import("@excalidraw
|
|
1088
|
+
fillStyle: import("@misenkashari/excalidraw-element/types").FillStyle;
|
|
1089
1089
|
strokeWidth: number;
|
|
1090
|
-
strokeStyle: import("@excalidraw
|
|
1090
|
+
strokeStyle: import("@misenkashari/excalidraw-element/types").StrokeStyle;
|
|
1091
1091
|
roundness: null | {
|
|
1092
|
-
type: import("@excalidraw
|
|
1092
|
+
type: import("@misenkashari/excalidraw-element/types").RoundnessType;
|
|
1093
1093
|
value?: number;
|
|
1094
1094
|
};
|
|
1095
1095
|
roughness: number;
|
|
1096
1096
|
opacity: number;
|
|
1097
1097
|
width: number;
|
|
1098
1098
|
height: number;
|
|
1099
|
-
angle: import("@excalidraw
|
|
1099
|
+
angle: import("@misenkashari/excalidraw-math").Radians;
|
|
1100
1100
|
seed: number;
|
|
1101
1101
|
version: number;
|
|
1102
1102
|
versionNonce: number;
|
|
1103
|
-
index: import("@excalidraw
|
|
1103
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex | null;
|
|
1104
1104
|
isDeleted: boolean;
|
|
1105
|
-
groupIds: readonly import("@excalidraw
|
|
1105
|
+
groupIds: readonly import("@misenkashari/excalidraw-element/types").GroupId[];
|
|
1106
1106
|
frameId: string | null;
|
|
1107
|
-
boundElements: readonly import("@excalidraw
|
|
1107
|
+
boundElements: readonly import("@misenkashari/excalidraw-element/types").BoundElement[] | null;
|
|
1108
1108
|
updated: number;
|
|
1109
1109
|
link: string | null;
|
|
1110
1110
|
locked: boolean;
|
|
1111
1111
|
customData?: Record<string, any>;
|
|
1112
1112
|
}> & Readonly<{
|
|
1113
1113
|
type: "image";
|
|
1114
|
-
fileId: import("@excalidraw
|
|
1114
|
+
fileId: import("@misenkashari/excalidraw-element/types").FileId | null;
|
|
1115
1115
|
status: "pending" | "saved" | "error";
|
|
1116
1116
|
scale: [number, number];
|
|
1117
|
-
crop: import("@excalidraw
|
|
1117
|
+
crop: import("@misenkashari/excalidraw-element/types").ImageCrop | null;
|
|
1118
1118
|
}> & {
|
|
1119
|
-
index: import("@excalidraw
|
|
1119
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex;
|
|
1120
1120
|
}) | (Readonly<{
|
|
1121
1121
|
id: string;
|
|
1122
1122
|
x: number;
|
|
1123
1123
|
y: number;
|
|
1124
1124
|
strokeColor: string;
|
|
1125
1125
|
backgroundColor: string;
|
|
1126
|
-
fillStyle: import("@excalidraw
|
|
1126
|
+
fillStyle: import("@misenkashari/excalidraw-element/types").FillStyle;
|
|
1127
1127
|
strokeWidth: number;
|
|
1128
|
-
strokeStyle: import("@excalidraw
|
|
1128
|
+
strokeStyle: import("@misenkashari/excalidraw-element/types").StrokeStyle;
|
|
1129
1129
|
roundness: null | {
|
|
1130
|
-
type: import("@excalidraw
|
|
1130
|
+
type: import("@misenkashari/excalidraw-element/types").RoundnessType;
|
|
1131
1131
|
value?: number;
|
|
1132
1132
|
};
|
|
1133
1133
|
roughness: number;
|
|
1134
1134
|
opacity: number;
|
|
1135
1135
|
width: number;
|
|
1136
1136
|
height: number;
|
|
1137
|
-
angle: import("@excalidraw
|
|
1137
|
+
angle: import("@misenkashari/excalidraw-math").Radians;
|
|
1138
1138
|
seed: number;
|
|
1139
1139
|
version: number;
|
|
1140
1140
|
versionNonce: number;
|
|
1141
|
-
index: import("@excalidraw
|
|
1141
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex | null;
|
|
1142
1142
|
isDeleted: boolean;
|
|
1143
|
-
groupIds: readonly import("@excalidraw
|
|
1143
|
+
groupIds: readonly import("@misenkashari/excalidraw-element/types").GroupId[];
|
|
1144
1144
|
frameId: string | null;
|
|
1145
|
-
boundElements: readonly import("@excalidraw
|
|
1145
|
+
boundElements: readonly import("@misenkashari/excalidraw-element/types").BoundElement[] | null;
|
|
1146
1146
|
updated: number;
|
|
1147
1147
|
link: string | null;
|
|
1148
1148
|
locked: boolean;
|
|
@@ -1151,33 +1151,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1151
1151
|
type: "frame";
|
|
1152
1152
|
name: string | null;
|
|
1153
1153
|
} & {
|
|
1154
|
-
index: import("@excalidraw
|
|
1154
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex;
|
|
1155
1155
|
}) | (Readonly<{
|
|
1156
1156
|
id: string;
|
|
1157
1157
|
x: number;
|
|
1158
1158
|
y: number;
|
|
1159
1159
|
strokeColor: string;
|
|
1160
1160
|
backgroundColor: string;
|
|
1161
|
-
fillStyle: import("@excalidraw
|
|
1161
|
+
fillStyle: import("@misenkashari/excalidraw-element/types").FillStyle;
|
|
1162
1162
|
strokeWidth: number;
|
|
1163
|
-
strokeStyle: import("@excalidraw
|
|
1163
|
+
strokeStyle: import("@misenkashari/excalidraw-element/types").StrokeStyle;
|
|
1164
1164
|
roundness: null | {
|
|
1165
|
-
type: import("@excalidraw
|
|
1165
|
+
type: import("@misenkashari/excalidraw-element/types").RoundnessType;
|
|
1166
1166
|
value?: number;
|
|
1167
1167
|
};
|
|
1168
1168
|
roughness: number;
|
|
1169
1169
|
opacity: number;
|
|
1170
1170
|
width: number;
|
|
1171
1171
|
height: number;
|
|
1172
|
-
angle: import("@excalidraw
|
|
1172
|
+
angle: import("@misenkashari/excalidraw-math").Radians;
|
|
1173
1173
|
seed: number;
|
|
1174
1174
|
version: number;
|
|
1175
1175
|
versionNonce: number;
|
|
1176
|
-
index: import("@excalidraw
|
|
1176
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex | null;
|
|
1177
1177
|
isDeleted: boolean;
|
|
1178
|
-
groupIds: readonly import("@excalidraw
|
|
1178
|
+
groupIds: readonly import("@misenkashari/excalidraw-element/types").GroupId[];
|
|
1179
1179
|
frameId: string | null;
|
|
1180
|
-
boundElements: readonly import("@excalidraw
|
|
1180
|
+
boundElements: readonly import("@misenkashari/excalidraw-element/types").BoundElement[] | null;
|
|
1181
1181
|
updated: number;
|
|
1182
1182
|
link: string | null;
|
|
1183
1183
|
locked: boolean;
|
|
@@ -1186,33 +1186,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1186
1186
|
type: "magicframe";
|
|
1187
1187
|
name: string | null;
|
|
1188
1188
|
} & {
|
|
1189
|
-
index: import("@excalidraw
|
|
1189
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex;
|
|
1190
1190
|
}) | (Readonly<{
|
|
1191
1191
|
id: string;
|
|
1192
1192
|
x: number;
|
|
1193
1193
|
y: number;
|
|
1194
1194
|
strokeColor: string;
|
|
1195
1195
|
backgroundColor: string;
|
|
1196
|
-
fillStyle: import("@excalidraw
|
|
1196
|
+
fillStyle: import("@misenkashari/excalidraw-element/types").FillStyle;
|
|
1197
1197
|
strokeWidth: number;
|
|
1198
|
-
strokeStyle: import("@excalidraw
|
|
1198
|
+
strokeStyle: import("@misenkashari/excalidraw-element/types").StrokeStyle;
|
|
1199
1199
|
roundness: null | {
|
|
1200
|
-
type: import("@excalidraw
|
|
1200
|
+
type: import("@misenkashari/excalidraw-element/types").RoundnessType;
|
|
1201
1201
|
value?: number;
|
|
1202
1202
|
};
|
|
1203
1203
|
roughness: number;
|
|
1204
1204
|
opacity: number;
|
|
1205
1205
|
width: number;
|
|
1206
1206
|
height: number;
|
|
1207
|
-
angle: import("@excalidraw
|
|
1207
|
+
angle: import("@misenkashari/excalidraw-math").Radians;
|
|
1208
1208
|
seed: number;
|
|
1209
1209
|
version: number;
|
|
1210
1210
|
versionNonce: number;
|
|
1211
|
-
index: import("@excalidraw
|
|
1211
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex | null;
|
|
1212
1212
|
isDeleted: boolean;
|
|
1213
|
-
groupIds: readonly import("@excalidraw
|
|
1213
|
+
groupIds: readonly import("@misenkashari/excalidraw-element/types").GroupId[];
|
|
1214
1214
|
frameId: string | null;
|
|
1215
|
-
boundElements: readonly import("@excalidraw
|
|
1215
|
+
boundElements: readonly import("@misenkashari/excalidraw-element/types").BoundElement[] | null;
|
|
1216
1216
|
updated: number;
|
|
1217
1217
|
link: string | null;
|
|
1218
1218
|
locked: boolean;
|
|
@@ -1220,56 +1220,56 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1220
1220
|
}> & Readonly<{
|
|
1221
1221
|
type: "text";
|
|
1222
1222
|
fontSize: number;
|
|
1223
|
-
fontFamily: import("@excalidraw
|
|
1223
|
+
fontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
1224
1224
|
text: string;
|
|
1225
|
-
textAlign: import("@excalidraw
|
|
1226
|
-
verticalAlign: import("@excalidraw
|
|
1227
|
-
containerId: import("@excalidraw
|
|
1225
|
+
textAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
1226
|
+
verticalAlign: import("@misenkashari/excalidraw-element/types").VerticalAlign;
|
|
1227
|
+
containerId: import("@misenkashari/excalidraw-element/types").ExcalidrawGenericElement["id"] | null;
|
|
1228
1228
|
originalText: string;
|
|
1229
1229
|
autoResize: boolean;
|
|
1230
1230
|
lineHeight: number & {
|
|
1231
1231
|
_brand: "unitlessLineHeight";
|
|
1232
1232
|
};
|
|
1233
1233
|
}> & {
|
|
1234
|
-
index: import("@excalidraw
|
|
1234
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex;
|
|
1235
1235
|
}) | (Readonly<{
|
|
1236
1236
|
id: string;
|
|
1237
1237
|
x: number;
|
|
1238
1238
|
y: number;
|
|
1239
1239
|
strokeColor: string;
|
|
1240
1240
|
backgroundColor: string;
|
|
1241
|
-
fillStyle: import("@excalidraw
|
|
1241
|
+
fillStyle: import("@misenkashari/excalidraw-element/types").FillStyle;
|
|
1242
1242
|
strokeWidth: number;
|
|
1243
|
-
strokeStyle: import("@excalidraw
|
|
1243
|
+
strokeStyle: import("@misenkashari/excalidraw-element/types").StrokeStyle;
|
|
1244
1244
|
roundness: null | {
|
|
1245
|
-
type: import("@excalidraw
|
|
1245
|
+
type: import("@misenkashari/excalidraw-element/types").RoundnessType;
|
|
1246
1246
|
value?: number;
|
|
1247
1247
|
};
|
|
1248
1248
|
roughness: number;
|
|
1249
1249
|
opacity: number;
|
|
1250
1250
|
width: number;
|
|
1251
1251
|
height: number;
|
|
1252
|
-
angle: import("@excalidraw
|
|
1252
|
+
angle: import("@misenkashari/excalidraw-math").Radians;
|
|
1253
1253
|
seed: number;
|
|
1254
1254
|
version: number;
|
|
1255
1255
|
versionNonce: number;
|
|
1256
|
-
index: import("@excalidraw
|
|
1256
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex | null;
|
|
1257
1257
|
isDeleted: boolean;
|
|
1258
|
-
groupIds: readonly import("@excalidraw
|
|
1258
|
+
groupIds: readonly import("@misenkashari/excalidraw-element/types").GroupId[];
|
|
1259
1259
|
frameId: string | null;
|
|
1260
|
-
boundElements: readonly import("@excalidraw
|
|
1260
|
+
boundElements: readonly import("@misenkashari/excalidraw-element/types").BoundElement[] | null;
|
|
1261
1261
|
updated: number;
|
|
1262
1262
|
link: string | null;
|
|
1263
1263
|
locked: boolean;
|
|
1264
1264
|
customData?: Record<string, any>;
|
|
1265
1265
|
}> & Readonly<{
|
|
1266
1266
|
type: "freedraw";
|
|
1267
|
-
points: readonly import("@excalidraw
|
|
1267
|
+
points: readonly import("@misenkashari/excalidraw-math").LocalPoint[];
|
|
1268
1268
|
pressures: readonly number[];
|
|
1269
1269
|
simulatePressure: boolean;
|
|
1270
1270
|
}> & {
|
|
1271
|
-
index: import("@excalidraw
|
|
1272
|
-
}) | import("@excalidraw
|
|
1271
|
+
index: import("@misenkashari/excalidraw-element/types").FractionalIndex;
|
|
1272
|
+
}) | import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameElement>)[];
|
|
1273
1273
|
appState: {
|
|
1274
1274
|
selectedElementIds: {
|
|
1275
1275
|
[x: string]: true;
|