@misenkashari/excalidraw-common 1.0.3 → 1.10.0
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 +2 -2
- package/dist/prod/index.js +3 -3
- package/dist/types/common/src/constants.d.ts +2 -2
- package/dist/types/common/src/emitter.d.ts +1 -1
- package/dist/types/common/src/font-metadata.d.ts +1 -1
- package/dist/types/common/src/points.d.ts +2 -2
- package/dist/types/common/src/utils.d.ts +2 -2
- 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/align.d.ts +1 -1
- package/dist/types/element/src/binding.d.ts +4 -4
- package/dist/types/element/src/bounds.d.ts +3 -3
- package/dist/types/element/src/collision.d.ts +2 -2
- package/dist/types/element/src/comparisons.d.ts +1 -1
- package/dist/types/element/src/delta.d.ts +3 -3
- package/dist/types/element/src/distance.d.ts +1 -1
- package/dist/types/element/src/distribute.d.ts +1 -1
- package/dist/types/element/src/dragElements.d.ts +2 -2
- package/dist/types/element/src/duplicate.d.ts +2 -2
- package/dist/types/element/src/elbowArrow.d.ts +1 -1
- package/dist/types/element/src/elementLink.d.ts +1 -1
- package/dist/types/element/src/embeddable.d.ts +2 -2
- package/dist/types/element/src/flowchart.d.ts +1 -1
- package/dist/types/element/src/frame.d.ts +2 -2
- package/dist/types/element/src/groups.d.ts +2 -2
- package/dist/types/element/src/heading.d.ts +2 -2
- package/dist/types/element/src/image.d.ts +2 -2
- package/dist/types/element/src/linearElementEditor.d.ts +4 -4
- 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 +4 -4
- package/dist/types/element/src/resizeElements.d.ts +2 -2
- package/dist/types/element/src/resizeTest.d.ts +4 -4
- package/dist/types/element/src/selection.d.ts +1 -1
- package/dist/types/element/src/shape.d.ts +5 -5
- package/dist/types/element/src/showSelectedShapeActions.d.ts +1 -1
- package/dist/types/element/src/sizeHelpers.d.ts +1 -1
- package/dist/types/element/src/store.d.ts +4 -4
- package/dist/types/element/src/textElement.d.ts +3 -3
- package/dist/types/element/src/transform.d.ts +1 -1
- package/dist/types/element/src/transformHandles.d.ts +4 -4
- package/dist/types/element/src/typeChecks.d.ts +2 -2
- package/dist/types/element/src/types.d.ts +3 -3
- package/dist/types/element/src/utils.d.ts +3 -3
- package/dist/types/element/src/zindex.d.ts +2 -2
- 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 +10 -10
- 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 +3 -3
- 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 +3 -3
- 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,5 +1,5 @@
|
|
|
1
|
-
import { type SceneBounds } from "@excalidraw
|
|
2
|
-
import type { ExcalidrawElement } from "@excalidraw
|
|
1
|
+
import { type SceneBounds } from "@misenkashari/excalidraw-element";
|
|
2
|
+
import type { ExcalidrawElement } from "@misenkashari/excalidraw-element/types";
|
|
3
3
|
import type { AppState, Offsets } from "../types";
|
|
4
4
|
export declare const actionChangeViewBackgroundColor: import("./types").Action<Partial<AppState>> & {
|
|
5
5
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
@@ -12,11 +12,11 @@ export declare const actionClearCanvas: {
|
|
|
12
12
|
category: "canvas";
|
|
13
13
|
};
|
|
14
14
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
15
|
-
perform: (elements: readonly import("@excalidraw
|
|
16
|
-
elements: import("@excalidraw
|
|
15
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
16
|
+
elements: import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
|
|
17
17
|
appState: {
|
|
18
18
|
files: {};
|
|
19
|
-
theme: import("@excalidraw
|
|
19
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
20
20
|
penMode: boolean;
|
|
21
21
|
penDetected: boolean;
|
|
22
22
|
exportBackground: boolean;
|
|
@@ -65,30 +65,30 @@ export declare const actionClearCanvas: {
|
|
|
65
65
|
name: "elementLinkSelector";
|
|
66
66
|
sourceElementId: ExcalidrawElement["id"];
|
|
67
67
|
};
|
|
68
|
-
editingGroupId: import("@excalidraw
|
|
68
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
69
69
|
selectedElementIds: Readonly<{
|
|
70
70
|
[id: string]: true;
|
|
71
71
|
}>;
|
|
72
|
-
frameToHighlight: import("@excalidraw
|
|
72
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
73
73
|
activeEmbeddable: {
|
|
74
|
-
element: import("@excalidraw
|
|
74
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
75
75
|
state: "hover" | "active";
|
|
76
76
|
} | null;
|
|
77
|
-
selectionElement: import("@excalidraw
|
|
77
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
78
78
|
selectedGroupIds: {
|
|
79
79
|
[groupId: string]: boolean;
|
|
80
80
|
};
|
|
81
|
-
selectedLinearElement: import("@excalidraw
|
|
82
|
-
multiElement: import("@excalidraw
|
|
83
|
-
newElement: import("@excalidraw
|
|
81
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
82
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
83
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
84
84
|
isBindingEnabled: boolean;
|
|
85
|
-
suggestedBinding: import("@excalidraw
|
|
85
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
86
86
|
isRotating: boolean;
|
|
87
|
-
elementsToHighlight: import("@excalidraw
|
|
87
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
88
88
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
89
89
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
90
90
|
zenModeEnabled: boolean;
|
|
91
|
-
editingTextElement: import("@excalidraw
|
|
91
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
92
92
|
isCropping: boolean;
|
|
93
93
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
94
94
|
searchMatches: Readonly<{
|
|
@@ -101,7 +101,7 @@ export declare const actionClearCanvas: {
|
|
|
101
101
|
}>;
|
|
102
102
|
shouldCacheIgnoreZoom: boolean;
|
|
103
103
|
exportScale: number;
|
|
104
|
-
bindMode: import("@excalidraw
|
|
104
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
105
105
|
contextMenu: {
|
|
106
106
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
107
107
|
top: number;
|
|
@@ -110,8 +110,8 @@ export declare const actionClearCanvas: {
|
|
|
110
110
|
showWelcomeScreen: boolean;
|
|
111
111
|
isLoading: boolean;
|
|
112
112
|
errorMessage: React.ReactNode;
|
|
113
|
-
resizingElement: import("@excalidraw
|
|
114
|
-
startBoundElement: import("@excalidraw
|
|
113
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
114
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
115
115
|
editingFrame: string | null;
|
|
116
116
|
preferredSelectionTool: {
|
|
117
117
|
type: "selection" | "lasso";
|
|
@@ -125,13 +125,13 @@ export declare const actionClearCanvas: {
|
|
|
125
125
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
126
126
|
currentItemRoughness: number;
|
|
127
127
|
currentItemOpacity: number;
|
|
128
|
-
currentItemFontFamily: import("@excalidraw
|
|
128
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
129
129
|
currentItemFontSize: number;
|
|
130
|
-
currentItemTextAlign: import("@excalidraw
|
|
131
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
132
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
133
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
134
|
-
currentItemRoundness: import("@excalidraw
|
|
130
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
131
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
132
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
133
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
134
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
135
135
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
136
136
|
cursorButton: "up" | "down";
|
|
137
137
|
scrolledOutside: boolean;
|
|
@@ -143,7 +143,7 @@ export declare const actionClearCanvas: {
|
|
|
143
143
|
tab?: import("../types").SidebarTabName;
|
|
144
144
|
} | null;
|
|
145
145
|
defaultSidebarDockedPreference: boolean;
|
|
146
|
-
lastPointerDownWith: import("@excalidraw
|
|
146
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
147
147
|
previousSelectedElementIds: {
|
|
148
148
|
[id: string]: true;
|
|
149
149
|
};
|
|
@@ -154,7 +154,7 @@ export declare const actionClearCanvas: {
|
|
|
154
154
|
duration?: number;
|
|
155
155
|
} | null;
|
|
156
156
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
157
|
-
currentChartType: import("@excalidraw
|
|
157
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
158
158
|
showHyperlinkPopup: false | "info" | "editor";
|
|
159
159
|
originSnapOffset: {
|
|
160
160
|
x: number;
|
|
@@ -180,7 +180,7 @@ export declare const actionZoomIn: {
|
|
|
180
180
|
trackEvent: {
|
|
181
181
|
category: "canvas";
|
|
182
182
|
};
|
|
183
|
-
perform: (_elements: readonly import("@excalidraw
|
|
183
|
+
perform: (_elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
184
184
|
appState: {
|
|
185
185
|
userToFollow: null;
|
|
186
186
|
scrollX: number;
|
|
@@ -197,17 +197,17 @@ export declare const actionZoomIn: {
|
|
|
197
197
|
isLoading: boolean;
|
|
198
198
|
errorMessage: React.ReactNode;
|
|
199
199
|
activeEmbeddable: {
|
|
200
|
-
element: import("@excalidraw
|
|
200
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
201
201
|
state: "hover" | "active";
|
|
202
202
|
} | null;
|
|
203
|
-
newElement: import("@excalidraw
|
|
204
|
-
resizingElement: import("@excalidraw
|
|
205
|
-
multiElement: import("@excalidraw
|
|
206
|
-
selectionElement: import("@excalidraw
|
|
203
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
204
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
205
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
206
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
207
207
|
isBindingEnabled: boolean;
|
|
208
|
-
startBoundElement: import("@excalidraw
|
|
209
|
-
suggestedBinding: import("@excalidraw
|
|
210
|
-
frameToHighlight: import("@excalidraw
|
|
208
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
209
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
210
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
211
211
|
frameRendering: {
|
|
212
212
|
enabled: boolean;
|
|
213
213
|
name: boolean;
|
|
@@ -215,8 +215,8 @@ export declare const actionZoomIn: {
|
|
|
215
215
|
clip: boolean;
|
|
216
216
|
};
|
|
217
217
|
editingFrame: string | null;
|
|
218
|
-
elementsToHighlight: import("@excalidraw
|
|
219
|
-
editingTextElement: import("@excalidraw
|
|
218
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
219
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
220
220
|
activeTool: {
|
|
221
221
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
222
222
|
locked: boolean;
|
|
@@ -239,13 +239,13 @@ export declare const actionZoomIn: {
|
|
|
239
239
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
240
240
|
currentItemRoughness: number;
|
|
241
241
|
currentItemOpacity: number;
|
|
242
|
-
currentItemFontFamily: import("@excalidraw
|
|
242
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
243
243
|
currentItemFontSize: number;
|
|
244
|
-
currentItemTextAlign: import("@excalidraw
|
|
245
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
246
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
247
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
248
|
-
currentItemRoundness: import("@excalidraw
|
|
244
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
245
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
246
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
247
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
248
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
249
249
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
250
250
|
viewBackgroundColor: string;
|
|
251
251
|
cursorButton: "up" | "down";
|
|
@@ -273,7 +273,7 @@ export declare const actionZoomIn: {
|
|
|
273
273
|
sourceElementId: ExcalidrawElement["id"];
|
|
274
274
|
};
|
|
275
275
|
defaultSidebarDockedPreference: boolean;
|
|
276
|
-
lastPointerDownWith: import("@excalidraw
|
|
276
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
277
277
|
selectedElementIds: Readonly<{
|
|
278
278
|
[id: string]: true;
|
|
279
279
|
}>;
|
|
@@ -291,7 +291,7 @@ export declare const actionZoomIn: {
|
|
|
291
291
|
duration?: number;
|
|
292
292
|
} | null;
|
|
293
293
|
zenModeEnabled: boolean;
|
|
294
|
-
theme: import("@excalidraw
|
|
294
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
295
295
|
gridSize: number;
|
|
296
296
|
gridStep: number;
|
|
297
297
|
gridModeEnabled: boolean;
|
|
@@ -299,7 +299,7 @@ export declare const actionZoomIn: {
|
|
|
299
299
|
selectedGroupIds: {
|
|
300
300
|
[groupId: string]: boolean;
|
|
301
301
|
};
|
|
302
|
-
editingGroupId: import("@excalidraw
|
|
302
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
303
303
|
width: number;
|
|
304
304
|
height: number;
|
|
305
305
|
offsetTop: number;
|
|
@@ -310,7 +310,7 @@ export declare const actionZoomIn: {
|
|
|
310
310
|
open: boolean;
|
|
311
311
|
panels: number;
|
|
312
312
|
};
|
|
313
|
-
currentChartType: import("@excalidraw
|
|
313
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
314
314
|
pasteDialog: {
|
|
315
315
|
shown: false;
|
|
316
316
|
data: null;
|
|
@@ -319,7 +319,7 @@ export declare const actionZoomIn: {
|
|
|
319
319
|
data: import("../charts").Spreadsheet;
|
|
320
320
|
};
|
|
321
321
|
showHyperlinkPopup: false | "info" | "editor";
|
|
322
|
-
selectedLinearElement: import("@excalidraw
|
|
322
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
323
323
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
324
324
|
originSnapOffset: {
|
|
325
325
|
x: number;
|
|
@@ -337,7 +337,7 @@ export declare const actionZoomIn: {
|
|
|
337
337
|
lockedMultiSelections: {
|
|
338
338
|
[groupId: string]: true;
|
|
339
339
|
};
|
|
340
|
-
bindMode: import("@excalidraw
|
|
340
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
341
341
|
};
|
|
342
342
|
captureUpdate: "EVENTUALLY";
|
|
343
343
|
};
|
|
@@ -354,7 +354,7 @@ export declare const actionZoomOut: {
|
|
|
354
354
|
trackEvent: {
|
|
355
355
|
category: "canvas";
|
|
356
356
|
};
|
|
357
|
-
perform: (_elements: readonly import("@excalidraw
|
|
357
|
+
perform: (_elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
358
358
|
appState: {
|
|
359
359
|
userToFollow: null;
|
|
360
360
|
scrollX: number;
|
|
@@ -371,17 +371,17 @@ export declare const actionZoomOut: {
|
|
|
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
|
frameRendering: {
|
|
386
386
|
enabled: boolean;
|
|
387
387
|
name: boolean;
|
|
@@ -389,8 +389,8 @@ export declare const actionZoomOut: {
|
|
|
389
389
|
clip: boolean;
|
|
390
390
|
};
|
|
391
391
|
editingFrame: string | null;
|
|
392
|
-
elementsToHighlight: import("@excalidraw
|
|
393
|
-
editingTextElement: import("@excalidraw
|
|
392
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
393
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
394
394
|
activeTool: {
|
|
395
395
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
396
396
|
locked: boolean;
|
|
@@ -413,13 +413,13 @@ export declare const actionZoomOut: {
|
|
|
413
413
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
414
414
|
currentItemRoughness: number;
|
|
415
415
|
currentItemOpacity: number;
|
|
416
|
-
currentItemFontFamily: import("@excalidraw
|
|
416
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
417
417
|
currentItemFontSize: number;
|
|
418
|
-
currentItemTextAlign: import("@excalidraw
|
|
419
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
420
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
421
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
422
|
-
currentItemRoundness: import("@excalidraw
|
|
418
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
419
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
420
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
421
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
422
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
423
423
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
424
424
|
viewBackgroundColor: string;
|
|
425
425
|
cursorButton: "up" | "down";
|
|
@@ -447,7 +447,7 @@ export declare const actionZoomOut: {
|
|
|
447
447
|
sourceElementId: ExcalidrawElement["id"];
|
|
448
448
|
};
|
|
449
449
|
defaultSidebarDockedPreference: boolean;
|
|
450
|
-
lastPointerDownWith: import("@excalidraw
|
|
450
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
451
451
|
selectedElementIds: Readonly<{
|
|
452
452
|
[id: string]: true;
|
|
453
453
|
}>;
|
|
@@ -465,7 +465,7 @@ export declare const actionZoomOut: {
|
|
|
465
465
|
duration?: number;
|
|
466
466
|
} | null;
|
|
467
467
|
zenModeEnabled: boolean;
|
|
468
|
-
theme: import("@excalidraw
|
|
468
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
469
469
|
gridSize: number;
|
|
470
470
|
gridStep: number;
|
|
471
471
|
gridModeEnabled: boolean;
|
|
@@ -473,7 +473,7 @@ export declare const actionZoomOut: {
|
|
|
473
473
|
selectedGroupIds: {
|
|
474
474
|
[groupId: string]: boolean;
|
|
475
475
|
};
|
|
476
|
-
editingGroupId: import("@excalidraw
|
|
476
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
477
477
|
width: number;
|
|
478
478
|
height: number;
|
|
479
479
|
offsetTop: number;
|
|
@@ -484,7 +484,7 @@ export declare const actionZoomOut: {
|
|
|
484
484
|
open: boolean;
|
|
485
485
|
panels: number;
|
|
486
486
|
};
|
|
487
|
-
currentChartType: import("@excalidraw
|
|
487
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
488
488
|
pasteDialog: {
|
|
489
489
|
shown: false;
|
|
490
490
|
data: null;
|
|
@@ -493,7 +493,7 @@ export declare const actionZoomOut: {
|
|
|
493
493
|
data: import("../charts").Spreadsheet;
|
|
494
494
|
};
|
|
495
495
|
showHyperlinkPopup: false | "info" | "editor";
|
|
496
|
-
selectedLinearElement: import("@excalidraw
|
|
496
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
497
497
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
498
498
|
originSnapOffset: {
|
|
499
499
|
x: number;
|
|
@@ -511,7 +511,7 @@ export declare const actionZoomOut: {
|
|
|
511
511
|
lockedMultiSelections: {
|
|
512
512
|
[groupId: string]: true;
|
|
513
513
|
};
|
|
514
|
-
bindMode: import("@excalidraw
|
|
514
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
515
515
|
};
|
|
516
516
|
captureUpdate: "EVENTUALLY";
|
|
517
517
|
};
|
|
@@ -528,7 +528,7 @@ export declare const actionResetZoom: {
|
|
|
528
528
|
trackEvent: {
|
|
529
529
|
category: "canvas";
|
|
530
530
|
};
|
|
531
|
-
perform: (_elements: readonly import("@excalidraw
|
|
531
|
+
perform: (_elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
532
532
|
appState: {
|
|
533
533
|
userToFollow: null;
|
|
534
534
|
scrollX: number;
|
|
@@ -545,17 +545,17 @@ export declare const actionResetZoom: {
|
|
|
545
545
|
isLoading: boolean;
|
|
546
546
|
errorMessage: React.ReactNode;
|
|
547
547
|
activeEmbeddable: {
|
|
548
|
-
element: import("@excalidraw
|
|
548
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
549
549
|
state: "hover" | "active";
|
|
550
550
|
} | null;
|
|
551
|
-
newElement: import("@excalidraw
|
|
552
|
-
resizingElement: import("@excalidraw
|
|
553
|
-
multiElement: import("@excalidraw
|
|
554
|
-
selectionElement: import("@excalidraw
|
|
551
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
552
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
553
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
554
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
555
555
|
isBindingEnabled: boolean;
|
|
556
|
-
startBoundElement: import("@excalidraw
|
|
557
|
-
suggestedBinding: import("@excalidraw
|
|
558
|
-
frameToHighlight: import("@excalidraw
|
|
556
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
557
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
558
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
559
559
|
frameRendering: {
|
|
560
560
|
enabled: boolean;
|
|
561
561
|
name: boolean;
|
|
@@ -563,8 +563,8 @@ export declare const actionResetZoom: {
|
|
|
563
563
|
clip: boolean;
|
|
564
564
|
};
|
|
565
565
|
editingFrame: string | null;
|
|
566
|
-
elementsToHighlight: import("@excalidraw
|
|
567
|
-
editingTextElement: import("@excalidraw
|
|
566
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
567
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
568
568
|
activeTool: {
|
|
569
569
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
570
570
|
locked: boolean;
|
|
@@ -587,13 +587,13 @@ export declare const actionResetZoom: {
|
|
|
587
587
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
588
588
|
currentItemRoughness: number;
|
|
589
589
|
currentItemOpacity: number;
|
|
590
|
-
currentItemFontFamily: import("@excalidraw
|
|
590
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
591
591
|
currentItemFontSize: number;
|
|
592
|
-
currentItemTextAlign: import("@excalidraw
|
|
593
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
594
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
595
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
596
|
-
currentItemRoundness: import("@excalidraw
|
|
592
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
593
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
594
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
595
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
596
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
597
597
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
598
598
|
viewBackgroundColor: string;
|
|
599
599
|
cursorButton: "up" | "down";
|
|
@@ -621,7 +621,7 @@ export declare const actionResetZoom: {
|
|
|
621
621
|
sourceElementId: ExcalidrawElement["id"];
|
|
622
622
|
};
|
|
623
623
|
defaultSidebarDockedPreference: boolean;
|
|
624
|
-
lastPointerDownWith: import("@excalidraw
|
|
624
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
625
625
|
selectedElementIds: Readonly<{
|
|
626
626
|
[id: string]: true;
|
|
627
627
|
}>;
|
|
@@ -639,7 +639,7 @@ export declare const actionResetZoom: {
|
|
|
639
639
|
duration?: number;
|
|
640
640
|
} | null;
|
|
641
641
|
zenModeEnabled: boolean;
|
|
642
|
-
theme: import("@excalidraw
|
|
642
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
643
643
|
gridSize: number;
|
|
644
644
|
gridStep: number;
|
|
645
645
|
gridModeEnabled: boolean;
|
|
@@ -647,7 +647,7 @@ export declare const actionResetZoom: {
|
|
|
647
647
|
selectedGroupIds: {
|
|
648
648
|
[groupId: string]: boolean;
|
|
649
649
|
};
|
|
650
|
-
editingGroupId: import("@excalidraw
|
|
650
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
651
651
|
width: number;
|
|
652
652
|
height: number;
|
|
653
653
|
offsetTop: number;
|
|
@@ -658,7 +658,7 @@ export declare const actionResetZoom: {
|
|
|
658
658
|
open: boolean;
|
|
659
659
|
panels: number;
|
|
660
660
|
};
|
|
661
|
-
currentChartType: import("@excalidraw
|
|
661
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
662
662
|
pasteDialog: {
|
|
663
663
|
shown: false;
|
|
664
664
|
data: null;
|
|
@@ -667,7 +667,7 @@ export declare const actionResetZoom: {
|
|
|
667
667
|
data: import("../charts").Spreadsheet;
|
|
668
668
|
};
|
|
669
669
|
showHyperlinkPopup: false | "info" | "editor";
|
|
670
|
-
selectedLinearElement: import("@excalidraw
|
|
670
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
671
671
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
672
672
|
originSnapOffset: {
|
|
673
673
|
x: number;
|
|
@@ -685,7 +685,7 @@ export declare const actionResetZoom: {
|
|
|
685
685
|
lockedMultiSelections: {
|
|
686
686
|
[groupId: string]: true;
|
|
687
687
|
};
|
|
688
|
-
bindMode: import("@excalidraw
|
|
688
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
689
689
|
};
|
|
690
690
|
captureUpdate: "EVENTUALLY";
|
|
691
691
|
};
|
|
@@ -720,17 +720,17 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
720
720
|
isLoading: boolean;
|
|
721
721
|
errorMessage: React.ReactNode;
|
|
722
722
|
activeEmbeddable: {
|
|
723
|
-
element: import("@excalidraw
|
|
723
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
724
724
|
state: "hover" | "active";
|
|
725
725
|
} | null;
|
|
726
|
-
newElement: import("@excalidraw
|
|
727
|
-
resizingElement: import("@excalidraw
|
|
728
|
-
multiElement: import("@excalidraw
|
|
729
|
-
selectionElement: import("@excalidraw
|
|
726
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
727
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
728
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
729
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
730
730
|
isBindingEnabled: boolean;
|
|
731
|
-
startBoundElement: import("@excalidraw
|
|
732
|
-
suggestedBinding: import("@excalidraw
|
|
733
|
-
frameToHighlight: import("@excalidraw
|
|
731
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
732
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
733
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
734
734
|
frameRendering: {
|
|
735
735
|
enabled: boolean;
|
|
736
736
|
name: boolean;
|
|
@@ -738,8 +738,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
738
738
|
clip: boolean;
|
|
739
739
|
};
|
|
740
740
|
editingFrame: string | null;
|
|
741
|
-
elementsToHighlight: import("@excalidraw
|
|
742
|
-
editingTextElement: import("@excalidraw
|
|
741
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
742
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
743
743
|
activeTool: {
|
|
744
744
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
745
745
|
locked: boolean;
|
|
@@ -762,13 +762,13 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
762
762
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
763
763
|
currentItemRoughness: number;
|
|
764
764
|
currentItemOpacity: number;
|
|
765
|
-
currentItemFontFamily: import("@excalidraw
|
|
765
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
766
766
|
currentItemFontSize: number;
|
|
767
|
-
currentItemTextAlign: import("@excalidraw
|
|
768
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
769
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
770
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
771
|
-
currentItemRoundness: import("@excalidraw
|
|
767
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
768
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
769
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
770
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
771
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
772
772
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
773
773
|
viewBackgroundColor: string;
|
|
774
774
|
cursorButton: "up" | "down";
|
|
@@ -796,7 +796,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
796
796
|
sourceElementId: ExcalidrawElement["id"];
|
|
797
797
|
};
|
|
798
798
|
defaultSidebarDockedPreference: boolean;
|
|
799
|
-
lastPointerDownWith: import("@excalidraw
|
|
799
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
800
800
|
selectedElementIds: Readonly<{
|
|
801
801
|
[id: string]: true;
|
|
802
802
|
}>;
|
|
@@ -814,7 +814,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
814
814
|
duration?: number;
|
|
815
815
|
} | null;
|
|
816
816
|
zenModeEnabled: boolean;
|
|
817
|
-
theme: import("@excalidraw
|
|
817
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
818
818
|
gridSize: number;
|
|
819
819
|
gridStep: number;
|
|
820
820
|
gridModeEnabled: boolean;
|
|
@@ -822,7 +822,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
822
822
|
selectedGroupIds: {
|
|
823
823
|
[groupId: string]: boolean;
|
|
824
824
|
};
|
|
825
|
-
editingGroupId: import("@excalidraw
|
|
825
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
826
826
|
width: number;
|
|
827
827
|
height: number;
|
|
828
828
|
offsetTop: number;
|
|
@@ -833,7 +833,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
833
833
|
open: boolean;
|
|
834
834
|
panels: number;
|
|
835
835
|
};
|
|
836
|
-
currentChartType: import("@excalidraw
|
|
836
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
837
837
|
pasteDialog: {
|
|
838
838
|
shown: false;
|
|
839
839
|
data: null;
|
|
@@ -842,7 +842,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
842
842
|
data: import("../charts").Spreadsheet;
|
|
843
843
|
};
|
|
844
844
|
showHyperlinkPopup: false | "info" | "editor";
|
|
845
|
-
selectedLinearElement: import("@excalidraw
|
|
845
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
846
846
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
847
847
|
originSnapOffset: {
|
|
848
848
|
x: number;
|
|
@@ -861,7 +861,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
861
861
|
lockedMultiSelections: {
|
|
862
862
|
[groupId: string]: true;
|
|
863
863
|
};
|
|
864
|
-
bindMode: import("@excalidraw
|
|
864
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
865
865
|
};
|
|
866
866
|
captureUpdate: "EVENTUALLY";
|
|
867
867
|
};
|
|
@@ -891,17 +891,17 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
891
891
|
isLoading: boolean;
|
|
892
892
|
errorMessage: React.ReactNode;
|
|
893
893
|
activeEmbeddable: {
|
|
894
|
-
element: import("@excalidraw
|
|
894
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
895
895
|
state: "hover" | "active";
|
|
896
896
|
} | null;
|
|
897
|
-
newElement: import("@excalidraw
|
|
898
|
-
resizingElement: import("@excalidraw
|
|
899
|
-
multiElement: import("@excalidraw
|
|
900
|
-
selectionElement: import("@excalidraw
|
|
897
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
898
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
899
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
900
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
901
901
|
isBindingEnabled: boolean;
|
|
902
|
-
startBoundElement: import("@excalidraw
|
|
903
|
-
suggestedBinding: import("@excalidraw
|
|
904
|
-
frameToHighlight: import("@excalidraw
|
|
902
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
903
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
904
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
905
905
|
frameRendering: {
|
|
906
906
|
enabled: boolean;
|
|
907
907
|
name: boolean;
|
|
@@ -909,8 +909,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
909
909
|
clip: boolean;
|
|
910
910
|
};
|
|
911
911
|
editingFrame: string | null;
|
|
912
|
-
elementsToHighlight: import("@excalidraw
|
|
913
|
-
editingTextElement: import("@excalidraw
|
|
912
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
913
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
914
914
|
activeTool: {
|
|
915
915
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
916
916
|
locked: boolean;
|
|
@@ -933,13 +933,13 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
933
933
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
934
934
|
currentItemRoughness: number;
|
|
935
935
|
currentItemOpacity: number;
|
|
936
|
-
currentItemFontFamily: import("@excalidraw
|
|
936
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
937
937
|
currentItemFontSize: number;
|
|
938
|
-
currentItemTextAlign: import("@excalidraw
|
|
939
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
940
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
941
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
942
|
-
currentItemRoundness: import("@excalidraw
|
|
938
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
939
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
940
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
941
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
942
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
943
943
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
944
944
|
viewBackgroundColor: string;
|
|
945
945
|
cursorButton: "up" | "down";
|
|
@@ -967,7 +967,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
967
967
|
sourceElementId: ExcalidrawElement["id"];
|
|
968
968
|
};
|
|
969
969
|
defaultSidebarDockedPreference: boolean;
|
|
970
|
-
lastPointerDownWith: import("@excalidraw
|
|
970
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
971
971
|
selectedElementIds: Readonly<{
|
|
972
972
|
[id: string]: true;
|
|
973
973
|
}>;
|
|
@@ -985,7 +985,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
985
985
|
duration?: number;
|
|
986
986
|
} | null;
|
|
987
987
|
zenModeEnabled: boolean;
|
|
988
|
-
theme: import("@excalidraw
|
|
988
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
989
989
|
gridSize: number;
|
|
990
990
|
gridStep: number;
|
|
991
991
|
gridModeEnabled: boolean;
|
|
@@ -993,7 +993,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
993
993
|
selectedGroupIds: {
|
|
994
994
|
[groupId: string]: boolean;
|
|
995
995
|
};
|
|
996
|
-
editingGroupId: import("@excalidraw
|
|
996
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
997
997
|
width: number;
|
|
998
998
|
height: number;
|
|
999
999
|
offsetTop: number;
|
|
@@ -1004,7 +1004,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1004
1004
|
open: boolean;
|
|
1005
1005
|
panels: number;
|
|
1006
1006
|
};
|
|
1007
|
-
currentChartType: import("@excalidraw
|
|
1007
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
1008
1008
|
pasteDialog: {
|
|
1009
1009
|
shown: false;
|
|
1010
1010
|
data: null;
|
|
@@ -1013,7 +1013,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1013
1013
|
data: import("../charts").Spreadsheet;
|
|
1014
1014
|
};
|
|
1015
1015
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1016
|
-
selectedLinearElement: import("@excalidraw
|
|
1016
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
1017
1017
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1018
1018
|
originSnapOffset: {
|
|
1019
1019
|
x: number;
|
|
@@ -1032,7 +1032,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1032
1032
|
lockedMultiSelections: {
|
|
1033
1033
|
[groupId: string]: true;
|
|
1034
1034
|
};
|
|
1035
|
-
bindMode: import("@excalidraw
|
|
1035
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
1036
1036
|
};
|
|
1037
1037
|
captureUpdate: "EVENTUALLY";
|
|
1038
1038
|
};
|
|
@@ -1043,7 +1043,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1043
1043
|
trackEvent: {
|
|
1044
1044
|
category: "canvas";
|
|
1045
1045
|
};
|
|
1046
|
-
perform: (elements: readonly import("@excalidraw
|
|
1046
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1047
1047
|
appState: {
|
|
1048
1048
|
scrollX: number;
|
|
1049
1049
|
scrollY: number;
|
|
@@ -1059,17 +1059,17 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1059
1059
|
isLoading: boolean;
|
|
1060
1060
|
errorMessage: React.ReactNode;
|
|
1061
1061
|
activeEmbeddable: {
|
|
1062
|
-
element: import("@excalidraw
|
|
1062
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
1063
1063
|
state: "hover" | "active";
|
|
1064
1064
|
} | null;
|
|
1065
|
-
newElement: import("@excalidraw
|
|
1066
|
-
resizingElement: import("@excalidraw
|
|
1067
|
-
multiElement: import("@excalidraw
|
|
1068
|
-
selectionElement: import("@excalidraw
|
|
1065
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
1066
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1067
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
1068
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1069
1069
|
isBindingEnabled: boolean;
|
|
1070
|
-
startBoundElement: import("@excalidraw
|
|
1071
|
-
suggestedBinding: import("@excalidraw
|
|
1072
|
-
frameToHighlight: import("@excalidraw
|
|
1070
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
1071
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
1072
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
1073
1073
|
frameRendering: {
|
|
1074
1074
|
enabled: boolean;
|
|
1075
1075
|
name: boolean;
|
|
@@ -1077,8 +1077,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1077
1077
|
clip: boolean;
|
|
1078
1078
|
};
|
|
1079
1079
|
editingFrame: string | null;
|
|
1080
|
-
elementsToHighlight: import("@excalidraw
|
|
1081
|
-
editingTextElement: import("@excalidraw
|
|
1080
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1081
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1082
1082
|
activeTool: {
|
|
1083
1083
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1084
1084
|
locked: boolean;
|
|
@@ -1101,13 +1101,13 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1101
1101
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
1102
1102
|
currentItemRoughness: number;
|
|
1103
1103
|
currentItemOpacity: number;
|
|
1104
|
-
currentItemFontFamily: import("@excalidraw
|
|
1104
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
1105
1105
|
currentItemFontSize: number;
|
|
1106
|
-
currentItemTextAlign: import("@excalidraw
|
|
1107
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
1108
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
1109
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
1110
|
-
currentItemRoundness: import("@excalidraw
|
|
1106
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
1107
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
1108
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
1109
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
1110
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
1111
1111
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1112
1112
|
viewBackgroundColor: string;
|
|
1113
1113
|
cursorButton: "up" | "down";
|
|
@@ -1135,7 +1135,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1135
1135
|
sourceElementId: ExcalidrawElement["id"];
|
|
1136
1136
|
};
|
|
1137
1137
|
defaultSidebarDockedPreference: boolean;
|
|
1138
|
-
lastPointerDownWith: import("@excalidraw
|
|
1138
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
1139
1139
|
selectedElementIds: Readonly<{
|
|
1140
1140
|
[id: string]: true;
|
|
1141
1141
|
}>;
|
|
@@ -1153,7 +1153,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1153
1153
|
duration?: number;
|
|
1154
1154
|
} | null;
|
|
1155
1155
|
zenModeEnabled: boolean;
|
|
1156
|
-
theme: import("@excalidraw
|
|
1156
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
1157
1157
|
gridSize: number;
|
|
1158
1158
|
gridStep: number;
|
|
1159
1159
|
gridModeEnabled: boolean;
|
|
@@ -1161,7 +1161,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1161
1161
|
selectedGroupIds: {
|
|
1162
1162
|
[groupId: string]: boolean;
|
|
1163
1163
|
};
|
|
1164
|
-
editingGroupId: import("@excalidraw
|
|
1164
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
1165
1165
|
width: number;
|
|
1166
1166
|
height: number;
|
|
1167
1167
|
offsetTop: number;
|
|
@@ -1172,7 +1172,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1172
1172
|
open: boolean;
|
|
1173
1173
|
panels: number;
|
|
1174
1174
|
};
|
|
1175
|
-
currentChartType: import("@excalidraw
|
|
1175
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
1176
1176
|
pasteDialog: {
|
|
1177
1177
|
shown: false;
|
|
1178
1178
|
data: null;
|
|
@@ -1181,7 +1181,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1181
1181
|
data: import("../charts").Spreadsheet;
|
|
1182
1182
|
};
|
|
1183
1183
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1184
|
-
selectedLinearElement: import("@excalidraw
|
|
1184
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
1185
1185
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1186
1186
|
originSnapOffset: {
|
|
1187
1187
|
x: number;
|
|
@@ -1200,7 +1200,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1200
1200
|
lockedMultiSelections: {
|
|
1201
1201
|
[groupId: string]: true;
|
|
1202
1202
|
};
|
|
1203
|
-
bindMode: import("@excalidraw
|
|
1203
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
1204
1204
|
};
|
|
1205
1205
|
captureUpdate: "EVENTUALLY";
|
|
1206
1206
|
};
|
|
@@ -1215,7 +1215,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1215
1215
|
trackEvent: {
|
|
1216
1216
|
category: "canvas";
|
|
1217
1217
|
};
|
|
1218
|
-
perform: (elements: readonly import("@excalidraw
|
|
1218
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1219
1219
|
appState: {
|
|
1220
1220
|
scrollX: number;
|
|
1221
1221
|
scrollY: number;
|
|
@@ -1231,17 +1231,17 @@ export declare const actionZoomToFitSelection: {
|
|
|
1231
1231
|
isLoading: boolean;
|
|
1232
1232
|
errorMessage: React.ReactNode;
|
|
1233
1233
|
activeEmbeddable: {
|
|
1234
|
-
element: import("@excalidraw
|
|
1234
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
1235
1235
|
state: "hover" | "active";
|
|
1236
1236
|
} | null;
|
|
1237
|
-
newElement: import("@excalidraw
|
|
1238
|
-
resizingElement: import("@excalidraw
|
|
1239
|
-
multiElement: import("@excalidraw
|
|
1240
|
-
selectionElement: import("@excalidraw
|
|
1237
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
1238
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1239
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
1240
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1241
1241
|
isBindingEnabled: boolean;
|
|
1242
|
-
startBoundElement: import("@excalidraw
|
|
1243
|
-
suggestedBinding: import("@excalidraw
|
|
1244
|
-
frameToHighlight: import("@excalidraw
|
|
1242
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
1243
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
1244
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
1245
1245
|
frameRendering: {
|
|
1246
1246
|
enabled: boolean;
|
|
1247
1247
|
name: boolean;
|
|
@@ -1249,8 +1249,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
1249
1249
|
clip: boolean;
|
|
1250
1250
|
};
|
|
1251
1251
|
editingFrame: string | null;
|
|
1252
|
-
elementsToHighlight: import("@excalidraw
|
|
1253
|
-
editingTextElement: import("@excalidraw
|
|
1252
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1253
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1254
1254
|
activeTool: {
|
|
1255
1255
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1256
1256
|
locked: boolean;
|
|
@@ -1273,13 +1273,13 @@ export declare const actionZoomToFitSelection: {
|
|
|
1273
1273
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
1274
1274
|
currentItemRoughness: number;
|
|
1275
1275
|
currentItemOpacity: number;
|
|
1276
|
-
currentItemFontFamily: import("@excalidraw
|
|
1276
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
1277
1277
|
currentItemFontSize: number;
|
|
1278
|
-
currentItemTextAlign: import("@excalidraw
|
|
1279
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
1280
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
1281
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
1282
|
-
currentItemRoundness: import("@excalidraw
|
|
1278
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
1279
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
1280
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
1281
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
1282
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
1283
1283
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1284
1284
|
viewBackgroundColor: string;
|
|
1285
1285
|
cursorButton: "up" | "down";
|
|
@@ -1307,7 +1307,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1307
1307
|
sourceElementId: ExcalidrawElement["id"];
|
|
1308
1308
|
};
|
|
1309
1309
|
defaultSidebarDockedPreference: boolean;
|
|
1310
|
-
lastPointerDownWith: import("@excalidraw
|
|
1310
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
1311
1311
|
selectedElementIds: Readonly<{
|
|
1312
1312
|
[id: string]: true;
|
|
1313
1313
|
}>;
|
|
@@ -1325,7 +1325,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1325
1325
|
duration?: number;
|
|
1326
1326
|
} | null;
|
|
1327
1327
|
zenModeEnabled: boolean;
|
|
1328
|
-
theme: import("@excalidraw
|
|
1328
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
1329
1329
|
gridSize: number;
|
|
1330
1330
|
gridStep: number;
|
|
1331
1331
|
gridModeEnabled: boolean;
|
|
@@ -1333,7 +1333,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1333
1333
|
selectedGroupIds: {
|
|
1334
1334
|
[groupId: string]: boolean;
|
|
1335
1335
|
};
|
|
1336
|
-
editingGroupId: import("@excalidraw
|
|
1336
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
1337
1337
|
width: number;
|
|
1338
1338
|
height: number;
|
|
1339
1339
|
offsetTop: number;
|
|
@@ -1344,7 +1344,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1344
1344
|
open: boolean;
|
|
1345
1345
|
panels: number;
|
|
1346
1346
|
};
|
|
1347
|
-
currentChartType: import("@excalidraw
|
|
1347
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
1348
1348
|
pasteDialog: {
|
|
1349
1349
|
shown: false;
|
|
1350
1350
|
data: null;
|
|
@@ -1353,7 +1353,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1353
1353
|
data: import("../charts").Spreadsheet;
|
|
1354
1354
|
};
|
|
1355
1355
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1356
|
-
selectedLinearElement: import("@excalidraw
|
|
1356
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
1357
1357
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1358
1358
|
originSnapOffset: {
|
|
1359
1359
|
x: number;
|
|
@@ -1372,7 +1372,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1372
1372
|
lockedMultiSelections: {
|
|
1373
1373
|
[groupId: string]: true;
|
|
1374
1374
|
};
|
|
1375
|
-
bindMode: import("@excalidraw
|
|
1375
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
1376
1376
|
};
|
|
1377
1377
|
captureUpdate: "EVENTUALLY";
|
|
1378
1378
|
};
|
|
@@ -1388,7 +1388,7 @@ export declare const actionZoomToFit: {
|
|
|
1388
1388
|
trackEvent: {
|
|
1389
1389
|
category: "canvas";
|
|
1390
1390
|
};
|
|
1391
|
-
perform: (elements: readonly import("@excalidraw
|
|
1391
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1392
1392
|
appState: {
|
|
1393
1393
|
scrollX: number;
|
|
1394
1394
|
scrollY: number;
|
|
@@ -1404,17 +1404,17 @@ export declare const actionZoomToFit: {
|
|
|
1404
1404
|
isLoading: boolean;
|
|
1405
1405
|
errorMessage: React.ReactNode;
|
|
1406
1406
|
activeEmbeddable: {
|
|
1407
|
-
element: import("@excalidraw
|
|
1407
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
1408
1408
|
state: "hover" | "active";
|
|
1409
1409
|
} | null;
|
|
1410
|
-
newElement: import("@excalidraw
|
|
1411
|
-
resizingElement: import("@excalidraw
|
|
1412
|
-
multiElement: import("@excalidraw
|
|
1413
|
-
selectionElement: import("@excalidraw
|
|
1410
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
1411
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1412
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
1413
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1414
1414
|
isBindingEnabled: boolean;
|
|
1415
|
-
startBoundElement: import("@excalidraw
|
|
1416
|
-
suggestedBinding: import("@excalidraw
|
|
1417
|
-
frameToHighlight: import("@excalidraw
|
|
1415
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
1416
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
1417
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
1418
1418
|
frameRendering: {
|
|
1419
1419
|
enabled: boolean;
|
|
1420
1420
|
name: boolean;
|
|
@@ -1422,8 +1422,8 @@ export declare const actionZoomToFit: {
|
|
|
1422
1422
|
clip: boolean;
|
|
1423
1423
|
};
|
|
1424
1424
|
editingFrame: string | null;
|
|
1425
|
-
elementsToHighlight: import("@excalidraw
|
|
1426
|
-
editingTextElement: import("@excalidraw
|
|
1425
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1426
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1427
1427
|
activeTool: {
|
|
1428
1428
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1429
1429
|
locked: boolean;
|
|
@@ -1446,13 +1446,13 @@ export declare const actionZoomToFit: {
|
|
|
1446
1446
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
1447
1447
|
currentItemRoughness: number;
|
|
1448
1448
|
currentItemOpacity: number;
|
|
1449
|
-
currentItemFontFamily: import("@excalidraw
|
|
1449
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
1450
1450
|
currentItemFontSize: number;
|
|
1451
|
-
currentItemTextAlign: import("@excalidraw
|
|
1452
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
1453
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
1454
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
1455
|
-
currentItemRoundness: import("@excalidraw
|
|
1451
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
1452
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
1453
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
1454
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
1455
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
1456
1456
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1457
1457
|
viewBackgroundColor: string;
|
|
1458
1458
|
cursorButton: "up" | "down";
|
|
@@ -1480,7 +1480,7 @@ export declare const actionZoomToFit: {
|
|
|
1480
1480
|
sourceElementId: ExcalidrawElement["id"];
|
|
1481
1481
|
};
|
|
1482
1482
|
defaultSidebarDockedPreference: boolean;
|
|
1483
|
-
lastPointerDownWith: import("@excalidraw
|
|
1483
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
1484
1484
|
selectedElementIds: Readonly<{
|
|
1485
1485
|
[id: string]: true;
|
|
1486
1486
|
}>;
|
|
@@ -1498,7 +1498,7 @@ export declare const actionZoomToFit: {
|
|
|
1498
1498
|
duration?: number;
|
|
1499
1499
|
} | null;
|
|
1500
1500
|
zenModeEnabled: boolean;
|
|
1501
|
-
theme: import("@excalidraw
|
|
1501
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
1502
1502
|
gridSize: number;
|
|
1503
1503
|
gridStep: number;
|
|
1504
1504
|
gridModeEnabled: boolean;
|
|
@@ -1506,7 +1506,7 @@ export declare const actionZoomToFit: {
|
|
|
1506
1506
|
selectedGroupIds: {
|
|
1507
1507
|
[groupId: string]: boolean;
|
|
1508
1508
|
};
|
|
1509
|
-
editingGroupId: import("@excalidraw
|
|
1509
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
1510
1510
|
width: number;
|
|
1511
1511
|
height: number;
|
|
1512
1512
|
offsetTop: number;
|
|
@@ -1517,7 +1517,7 @@ export declare const actionZoomToFit: {
|
|
|
1517
1517
|
open: boolean;
|
|
1518
1518
|
panels: number;
|
|
1519
1519
|
};
|
|
1520
|
-
currentChartType: import("@excalidraw
|
|
1520
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
1521
1521
|
pasteDialog: {
|
|
1522
1522
|
shown: false;
|
|
1523
1523
|
data: null;
|
|
@@ -1526,7 +1526,7 @@ export declare const actionZoomToFit: {
|
|
|
1526
1526
|
data: import("../charts").Spreadsheet;
|
|
1527
1527
|
};
|
|
1528
1528
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1529
|
-
selectedLinearElement: import("@excalidraw
|
|
1529
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
1530
1530
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1531
1531
|
originSnapOffset: {
|
|
1532
1532
|
x: number;
|
|
@@ -1545,7 +1545,7 @@ export declare const actionZoomToFit: {
|
|
|
1545
1545
|
lockedMultiSelections: {
|
|
1546
1546
|
[groupId: string]: true;
|
|
1547
1547
|
};
|
|
1548
|
-
bindMode: import("@excalidraw
|
|
1548
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
1549
1549
|
};
|
|
1550
1550
|
captureUpdate: "EVENTUALLY";
|
|
1551
1551
|
};
|
|
@@ -1553,7 +1553,7 @@ export declare const actionZoomToFit: {
|
|
|
1553
1553
|
} & {
|
|
1554
1554
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1555
1555
|
};
|
|
1556
|
-
export declare const actionToggleTheme: import("./types").Action<import("@excalidraw
|
|
1556
|
+
export declare const actionToggleTheme: import("./types").Action<import("@misenkashari/excalidraw-element/types").Theme> & {
|
|
1557
1557
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
1558
1558
|
};
|
|
1559
1559
|
export declare const actionToggleEraserTool: {
|
|
@@ -1562,7 +1562,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1562
1562
|
trackEvent: {
|
|
1563
1563
|
category: "toolbar";
|
|
1564
1564
|
};
|
|
1565
|
-
perform: (elements: readonly import("@excalidraw
|
|
1565
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1566
1566
|
appState: {
|
|
1567
1567
|
selectedElementIds: {};
|
|
1568
1568
|
selectedGroupIds: {};
|
|
@@ -1580,14 +1580,14 @@ export declare const actionToggleEraserTool: {
|
|
|
1580
1580
|
showWelcomeScreen: boolean;
|
|
1581
1581
|
isLoading: boolean;
|
|
1582
1582
|
errorMessage: React.ReactNode;
|
|
1583
|
-
newElement: import("@excalidraw
|
|
1584
|
-
resizingElement: import("@excalidraw
|
|
1585
|
-
multiElement: import("@excalidraw
|
|
1586
|
-
selectionElement: import("@excalidraw
|
|
1583
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
1584
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1585
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
1586
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1587
1587
|
isBindingEnabled: boolean;
|
|
1588
|
-
startBoundElement: import("@excalidraw
|
|
1589
|
-
suggestedBinding: import("@excalidraw
|
|
1590
|
-
frameToHighlight: import("@excalidraw
|
|
1588
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
1589
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
1590
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
1591
1591
|
frameRendering: {
|
|
1592
1592
|
enabled: boolean;
|
|
1593
1593
|
name: boolean;
|
|
@@ -1595,8 +1595,8 @@ export declare const actionToggleEraserTool: {
|
|
|
1595
1595
|
clip: boolean;
|
|
1596
1596
|
};
|
|
1597
1597
|
editingFrame: string | null;
|
|
1598
|
-
elementsToHighlight: import("@excalidraw
|
|
1599
|
-
editingTextElement: import("@excalidraw
|
|
1598
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1599
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1600
1600
|
preferredSelectionTool: {
|
|
1601
1601
|
type: "selection" | "lasso";
|
|
1602
1602
|
initialized: boolean;
|
|
@@ -1614,13 +1614,13 @@ export declare const actionToggleEraserTool: {
|
|
|
1614
1614
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
1615
1615
|
currentItemRoughness: number;
|
|
1616
1616
|
currentItemOpacity: number;
|
|
1617
|
-
currentItemFontFamily: import("@excalidraw
|
|
1617
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
1618
1618
|
currentItemFontSize: number;
|
|
1619
|
-
currentItemTextAlign: import("@excalidraw
|
|
1620
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
1621
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
1622
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
1623
|
-
currentItemRoundness: import("@excalidraw
|
|
1619
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
1620
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
1621
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
1622
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
1623
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
1624
1624
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1625
1625
|
viewBackgroundColor: string;
|
|
1626
1626
|
scrollX: number;
|
|
@@ -1651,7 +1651,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1651
1651
|
sourceElementId: ExcalidrawElement["id"];
|
|
1652
1652
|
};
|
|
1653
1653
|
defaultSidebarDockedPreference: boolean;
|
|
1654
|
-
lastPointerDownWith: import("@excalidraw
|
|
1654
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
1655
1655
|
hoveredElementIds: Readonly<{
|
|
1656
1656
|
[id: string]: true;
|
|
1657
1657
|
}>;
|
|
@@ -1666,12 +1666,12 @@ export declare const actionToggleEraserTool: {
|
|
|
1666
1666
|
duration?: number;
|
|
1667
1667
|
} | null;
|
|
1668
1668
|
zenModeEnabled: boolean;
|
|
1669
|
-
theme: import("@excalidraw
|
|
1669
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
1670
1670
|
gridSize: number;
|
|
1671
1671
|
gridStep: number;
|
|
1672
1672
|
gridModeEnabled: boolean;
|
|
1673
1673
|
viewModeEnabled: boolean;
|
|
1674
|
-
editingGroupId: import("@excalidraw
|
|
1674
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
1675
1675
|
width: number;
|
|
1676
1676
|
height: number;
|
|
1677
1677
|
offsetTop: number;
|
|
@@ -1682,7 +1682,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1682
1682
|
open: boolean;
|
|
1683
1683
|
panels: number;
|
|
1684
1684
|
};
|
|
1685
|
-
currentChartType: import("@excalidraw
|
|
1685
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
1686
1686
|
pasteDialog: {
|
|
1687
1687
|
shown: false;
|
|
1688
1688
|
data: null;
|
|
@@ -1691,7 +1691,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1691
1691
|
data: import("../charts").Spreadsheet;
|
|
1692
1692
|
};
|
|
1693
1693
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1694
|
-
selectedLinearElement: import("@excalidraw
|
|
1694
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
1695
1695
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1696
1696
|
originSnapOffset: {
|
|
1697
1697
|
x: number;
|
|
@@ -1710,7 +1710,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1710
1710
|
lockedMultiSelections: {
|
|
1711
1711
|
[groupId: string]: true;
|
|
1712
1712
|
};
|
|
1713
|
-
bindMode: import("@excalidraw
|
|
1713
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
1714
1714
|
};
|
|
1715
1715
|
captureUpdate: "IMMEDIATELY";
|
|
1716
1716
|
};
|
|
@@ -1726,7 +1726,7 @@ export declare const actionToggleLassoTool: {
|
|
|
1726
1726
|
category: "toolbar";
|
|
1727
1727
|
};
|
|
1728
1728
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
1729
|
-
perform: (elements: readonly import("@excalidraw
|
|
1729
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1730
1730
|
appState: {
|
|
1731
1731
|
selectedElementIds: {};
|
|
1732
1732
|
selectedGroupIds: {};
|
|
@@ -1744,14 +1744,14 @@ export declare const actionToggleLassoTool: {
|
|
|
1744
1744
|
showWelcomeScreen: boolean;
|
|
1745
1745
|
isLoading: boolean;
|
|
1746
1746
|
errorMessage: React.ReactNode;
|
|
1747
|
-
newElement: import("@excalidraw
|
|
1748
|
-
resizingElement: import("@excalidraw
|
|
1749
|
-
multiElement: import("@excalidraw
|
|
1750
|
-
selectionElement: import("@excalidraw
|
|
1747
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
1748
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1749
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
1750
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1751
1751
|
isBindingEnabled: boolean;
|
|
1752
|
-
startBoundElement: import("@excalidraw
|
|
1753
|
-
suggestedBinding: import("@excalidraw
|
|
1754
|
-
frameToHighlight: import("@excalidraw
|
|
1752
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
1753
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
1754
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
1755
1755
|
frameRendering: {
|
|
1756
1756
|
enabled: boolean;
|
|
1757
1757
|
name: boolean;
|
|
@@ -1759,8 +1759,8 @@ export declare const actionToggleLassoTool: {
|
|
|
1759
1759
|
clip: boolean;
|
|
1760
1760
|
};
|
|
1761
1761
|
editingFrame: string | null;
|
|
1762
|
-
elementsToHighlight: import("@excalidraw
|
|
1763
|
-
editingTextElement: import("@excalidraw
|
|
1762
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1763
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1764
1764
|
preferredSelectionTool: {
|
|
1765
1765
|
type: "selection" | "lasso";
|
|
1766
1766
|
initialized: boolean;
|
|
@@ -1778,13 +1778,13 @@ export declare const actionToggleLassoTool: {
|
|
|
1778
1778
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
1779
1779
|
currentItemRoughness: number;
|
|
1780
1780
|
currentItemOpacity: number;
|
|
1781
|
-
currentItemFontFamily: import("@excalidraw
|
|
1781
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
1782
1782
|
currentItemFontSize: number;
|
|
1783
|
-
currentItemTextAlign: import("@excalidraw
|
|
1784
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
1785
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
1786
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
1787
|
-
currentItemRoundness: import("@excalidraw
|
|
1783
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
1784
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
1785
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
1786
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
1787
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
1788
1788
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1789
1789
|
viewBackgroundColor: string;
|
|
1790
1790
|
scrollX: number;
|
|
@@ -1815,7 +1815,7 @@ export declare const actionToggleLassoTool: {
|
|
|
1815
1815
|
sourceElementId: ExcalidrawElement["id"];
|
|
1816
1816
|
};
|
|
1817
1817
|
defaultSidebarDockedPreference: boolean;
|
|
1818
|
-
lastPointerDownWith: import("@excalidraw
|
|
1818
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
1819
1819
|
hoveredElementIds: Readonly<{
|
|
1820
1820
|
[id: string]: true;
|
|
1821
1821
|
}>;
|
|
@@ -1830,12 +1830,12 @@ export declare const actionToggleLassoTool: {
|
|
|
1830
1830
|
duration?: number;
|
|
1831
1831
|
} | null;
|
|
1832
1832
|
zenModeEnabled: boolean;
|
|
1833
|
-
theme: import("@excalidraw
|
|
1833
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
1834
1834
|
gridSize: number;
|
|
1835
1835
|
gridStep: number;
|
|
1836
1836
|
gridModeEnabled: boolean;
|
|
1837
1837
|
viewModeEnabled: boolean;
|
|
1838
|
-
editingGroupId: import("@excalidraw
|
|
1838
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
1839
1839
|
width: number;
|
|
1840
1840
|
height: number;
|
|
1841
1841
|
offsetTop: number;
|
|
@@ -1846,7 +1846,7 @@ export declare const actionToggleLassoTool: {
|
|
|
1846
1846
|
open: boolean;
|
|
1847
1847
|
panels: number;
|
|
1848
1848
|
};
|
|
1849
|
-
currentChartType: import("@excalidraw
|
|
1849
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
1850
1850
|
pasteDialog: {
|
|
1851
1851
|
shown: false;
|
|
1852
1852
|
data: null;
|
|
@@ -1855,7 +1855,7 @@ export declare const actionToggleLassoTool: {
|
|
|
1855
1855
|
data: import("../charts").Spreadsheet;
|
|
1856
1856
|
};
|
|
1857
1857
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1858
|
-
selectedLinearElement: import("@excalidraw
|
|
1858
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
1859
1859
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1860
1860
|
originSnapOffset: {
|
|
1861
1861
|
x: number;
|
|
@@ -1874,7 +1874,7 @@ export declare const actionToggleLassoTool: {
|
|
|
1874
1874
|
lockedMultiSelections: {
|
|
1875
1875
|
[groupId: string]: true;
|
|
1876
1876
|
};
|
|
1877
|
-
bindMode: import("@excalidraw
|
|
1877
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
1878
1878
|
};
|
|
1879
1879
|
captureUpdate: "NEVER";
|
|
1880
1880
|
};
|
|
@@ -1889,7 +1889,7 @@ export declare const actionToggleHandTool: {
|
|
|
1889
1889
|
};
|
|
1890
1890
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
1891
1891
|
viewMode: false;
|
|
1892
|
-
perform: (elements: readonly import("@excalidraw
|
|
1892
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1893
1893
|
appState: {
|
|
1894
1894
|
selectedElementIds: {};
|
|
1895
1895
|
selectedGroupIds: {};
|
|
@@ -1907,14 +1907,14 @@ export declare const actionToggleHandTool: {
|
|
|
1907
1907
|
showWelcomeScreen: boolean;
|
|
1908
1908
|
isLoading: boolean;
|
|
1909
1909
|
errorMessage: React.ReactNode;
|
|
1910
|
-
newElement: import("@excalidraw
|
|
1911
|
-
resizingElement: import("@excalidraw
|
|
1912
|
-
multiElement: import("@excalidraw
|
|
1913
|
-
selectionElement: import("@excalidraw
|
|
1910
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
1911
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1912
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
1913
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1914
1914
|
isBindingEnabled: boolean;
|
|
1915
|
-
startBoundElement: import("@excalidraw
|
|
1916
|
-
suggestedBinding: import("@excalidraw
|
|
1917
|
-
frameToHighlight: import("@excalidraw
|
|
1915
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
1916
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
1917
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
1918
1918
|
frameRendering: {
|
|
1919
1919
|
enabled: boolean;
|
|
1920
1920
|
name: boolean;
|
|
@@ -1922,8 +1922,8 @@ export declare const actionToggleHandTool: {
|
|
|
1922
1922
|
clip: boolean;
|
|
1923
1923
|
};
|
|
1924
1924
|
editingFrame: string | null;
|
|
1925
|
-
elementsToHighlight: import("@excalidraw
|
|
1926
|
-
editingTextElement: import("@excalidraw
|
|
1925
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1926
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
1927
1927
|
preferredSelectionTool: {
|
|
1928
1928
|
type: "selection" | "lasso";
|
|
1929
1929
|
initialized: boolean;
|
|
@@ -1941,13 +1941,13 @@ export declare const actionToggleHandTool: {
|
|
|
1941
1941
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
1942
1942
|
currentItemRoughness: number;
|
|
1943
1943
|
currentItemOpacity: number;
|
|
1944
|
-
currentItemFontFamily: import("@excalidraw
|
|
1944
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
1945
1945
|
currentItemFontSize: number;
|
|
1946
|
-
currentItemTextAlign: import("@excalidraw
|
|
1947
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
1948
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
1949
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
1950
|
-
currentItemRoundness: import("@excalidraw
|
|
1946
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
1947
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
1948
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
1949
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
1950
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
1951
1951
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1952
1952
|
viewBackgroundColor: string;
|
|
1953
1953
|
scrollX: number;
|
|
@@ -1978,7 +1978,7 @@ export declare const actionToggleHandTool: {
|
|
|
1978
1978
|
sourceElementId: ExcalidrawElement["id"];
|
|
1979
1979
|
};
|
|
1980
1980
|
defaultSidebarDockedPreference: boolean;
|
|
1981
|
-
lastPointerDownWith: import("@excalidraw
|
|
1981
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
1982
1982
|
hoveredElementIds: Readonly<{
|
|
1983
1983
|
[id: string]: true;
|
|
1984
1984
|
}>;
|
|
@@ -1993,12 +1993,12 @@ export declare const actionToggleHandTool: {
|
|
|
1993
1993
|
duration?: number;
|
|
1994
1994
|
} | null;
|
|
1995
1995
|
zenModeEnabled: boolean;
|
|
1996
|
-
theme: import("@excalidraw
|
|
1996
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
1997
1997
|
gridSize: number;
|
|
1998
1998
|
gridStep: number;
|
|
1999
1999
|
gridModeEnabled: boolean;
|
|
2000
2000
|
viewModeEnabled: boolean;
|
|
2001
|
-
editingGroupId: import("@excalidraw
|
|
2001
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
2002
2002
|
width: number;
|
|
2003
2003
|
height: number;
|
|
2004
2004
|
offsetTop: number;
|
|
@@ -2009,7 +2009,7 @@ export declare const actionToggleHandTool: {
|
|
|
2009
2009
|
open: boolean;
|
|
2010
2010
|
panels: number;
|
|
2011
2011
|
};
|
|
2012
|
-
currentChartType: import("@excalidraw
|
|
2012
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
2013
2013
|
pasteDialog: {
|
|
2014
2014
|
shown: false;
|
|
2015
2015
|
data: null;
|
|
@@ -2018,7 +2018,7 @@ export declare const actionToggleHandTool: {
|
|
|
2018
2018
|
data: import("../charts").Spreadsheet;
|
|
2019
2019
|
};
|
|
2020
2020
|
showHyperlinkPopup: false | "info" | "editor";
|
|
2021
|
-
selectedLinearElement: import("@excalidraw
|
|
2021
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
2022
2022
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2023
2023
|
originSnapOffset: {
|
|
2024
2024
|
x: number;
|
|
@@ -2037,7 +2037,7 @@ export declare const actionToggleHandTool: {
|
|
|
2037
2037
|
lockedMultiSelections: {
|
|
2038
2038
|
[groupId: string]: true;
|
|
2039
2039
|
};
|
|
2040
|
-
bindMode: import("@excalidraw
|
|
2040
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
2041
2041
|
};
|
|
2042
2042
|
captureUpdate: "IMMEDIATELY";
|
|
2043
2043
|
};
|