@misenkashari/excalidraw-common 1.0.3 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev/index.js +5 -5
- package/dist/dev/index.js.map +1 -1
- package/dist/prod/index.js +3 -3
- package/dist/types/common/src/constants.d.ts +1 -1
- package/dist/types/common/src/font-metadata.d.ts +1 -1
- package/dist/types/common/src/points.d.ts +1 -1
- package/dist/types/common/src/utils.d.ts +1 -1
- package/dist/types/common/src/visualdebug.d.ts +3 -3
- package/dist/types/element/src/Scene.d.ts +4 -4
- package/dist/types/element/src/binding.d.ts +3 -3
- package/dist/types/element/src/bounds.d.ts +2 -2
- package/dist/types/element/src/collision.d.ts +1 -1
- package/dist/types/element/src/delta.d.ts +2 -2
- package/dist/types/element/src/distance.d.ts +1 -1
- package/dist/types/element/src/dragElements.d.ts +1 -1
- package/dist/types/element/src/duplicate.d.ts +1 -1
- package/dist/types/element/src/elbowArrow.d.ts +1 -1
- package/dist/types/element/src/embeddable.d.ts +1 -1
- package/dist/types/element/src/frame.d.ts +1 -1
- package/dist/types/element/src/groups.d.ts +1 -1
- package/dist/types/element/src/heading.d.ts +2 -2
- package/dist/types/element/src/image.d.ts +1 -1
- package/dist/types/element/src/linearElementEditor.d.ts +3 -3
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/newElement.d.ts +1 -1
- package/dist/types/element/src/renderElement.d.ts +2 -2
- package/dist/types/element/src/resizeElements.d.ts +1 -1
- package/dist/types/element/src/resizeTest.d.ts +3 -3
- package/dist/types/element/src/shape.d.ts +3 -3
- package/dist/types/element/src/store.d.ts +2 -2
- package/dist/types/element/src/textElement.d.ts +2 -2
- package/dist/types/element/src/transform.d.ts +1 -1
- package/dist/types/element/src/transformHandles.d.ts +3 -3
- package/dist/types/element/src/typeChecks.d.ts +1 -1
- package/dist/types/element/src/types.d.ts +3 -3
- package/dist/types/element/src/utils.d.ts +2 -2
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +82 -82
- package/dist/types/excalidraw/actions/actionAlign.d.ts +7 -7
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +50 -50
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +275 -275
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +63 -63
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +28 -28
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +69 -69
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +32 -32
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +49 -49
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +29 -29
- package/dist/types/excalidraw/actions/actionExport.d.ts +116 -116
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionFlip.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionFrame.d.ts +242 -242
- package/dist/types/excalidraw/actions/actionGroup.d.ts +43 -43
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +181 -181
- package/dist/types/excalidraw/actions/actionLink.d.ts +31 -31
- package/dist/types/excalidraw/actions/actionMenu.d.ts +27 -27
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionProperties.d.ts +39 -39
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +23 -23
- package/dist/types/excalidraw/actions/actionStyles.d.ts +31 -31
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +29 -29
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +29 -29
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +28 -28
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +28 -28
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +29 -29
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +29 -29
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/actions/manager.d.ts +1 -1
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +2 -2
- package/dist/types/excalidraw/appState.d.ts +10 -10
- package/dist/types/excalidraw/charts.d.ts +1 -1
- package/dist/types/excalidraw/clipboard.d.ts +4 -4
- package/dist/types/excalidraw/components/Actions.d.ts +1 -1
- package/dist/types/excalidraw/components/App.d.ts +9 -9
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
- package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
- package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
- package/dist/types/excalidraw/components/ElementCanvasButtons.d.ts +1 -1
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +2 -2
- package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +2 -2
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/excalidraw/components/HintViewer.d.ts +1 -1
- package/dist/types/excalidraw/components/ImageExportDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/InitializeApp.d.ts +1 -1
- package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/LoadingMessage.d.ts +1 -1
- package/dist/types/excalidraw/components/MobileMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Angle.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Dimension.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/FontSize.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/Position.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/index.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/utils.d.ts +2 -2
- package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
- package/dist/types/excalidraw/components/ToolButton.d.ts +1 -1
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -2
- package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -1
- package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +2 -2
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +3 -3
- package/dist/types/excalidraw/components/icons.d.ts +1 -1
- package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -1
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +2 -4
- package/dist/types/excalidraw/data/EditorLocalStorage.d.ts +1 -1
- package/dist/types/excalidraw/data/blob.d.ts +49 -49
- package/dist/types/excalidraw/data/filesystem.d.ts +1 -1
- package/dist/types/excalidraw/data/index.d.ts +1 -1
- package/dist/types/excalidraw/data/json.d.ts +24 -24
- package/dist/types/excalidraw/data/library.d.ts +2 -2
- package/dist/types/excalidraw/data/reconcile.d.ts +2 -2
- package/dist/types/excalidraw/data/resave.d.ts +1 -1
- package/dist/types/excalidraw/data/restore.d.ts +2 -2
- package/dist/types/excalidraw/data/types.d.ts +2 -2
- package/dist/types/excalidraw/fonts/Fonts.d.ts +3 -3
- package/dist/types/excalidraw/history.d.ts +4 -4
- package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
- package/dist/types/excalidraw/i18n.d.ts +1 -1
- package/dist/types/excalidraw/index.d.ts +12 -12
- package/dist/types/excalidraw/lasso/utils.d.ts +2 -2
- package/dist/types/excalidraw/renderer/staticScene.d.ts +1 -1
- package/dist/types/excalidraw/renderer/staticSvgScene.d.ts +1 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +2 -2
- package/dist/types/excalidraw/scene/export.d.ts +1 -1
- package/dist/types/excalidraw/scene/index.d.ts +2 -2
- package/dist/types/excalidraw/scene/scroll.d.ts +1 -1
- package/dist/types/excalidraw/scene/types.d.ts +3 -3
- package/dist/types/excalidraw/snapping.d.ts +5 -5
- package/dist/types/excalidraw/types.d.ts +6 -6
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +1 -1
- package/dist/types/utils/src/bbox.d.ts +2 -2
- package/dist/types/utils/src/export.d.ts +2 -2
- package/dist/types/utils/src/index.d.ts +1 -1
- package/dist/types/utils/src/shape.d.ts +4 -4
- package/dist/types/utils/src/withinBounds.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LinearElementEditor } from "@excalidraw
|
|
2
|
-
import type { ExcalidrawElement } from "@excalidraw
|
|
1
|
+
import { LinearElementEditor } from "@misenkashari/excalidraw-element";
|
|
2
|
+
import type { ExcalidrawElement } from "@misenkashari/excalidraw-element/types";
|
|
3
3
|
export declare const actionSelectAll: {
|
|
4
4
|
name: "selectAll";
|
|
5
5
|
label: string;
|
|
@@ -8,7 +8,7 @@ export declare const actionSelectAll: {
|
|
|
8
8
|
category: "canvas";
|
|
9
9
|
};
|
|
10
10
|
viewMode: false;
|
|
11
|
-
perform: (elements: readonly import("@excalidraw
|
|
11
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: unknown, app: import("../types").AppClassProperties) => false | {
|
|
12
12
|
appState: {
|
|
13
13
|
selectedLinearElement: LinearElementEditor | null;
|
|
14
14
|
editingGroupId: import("../types").AppState["editingGroupId"];
|
|
@@ -23,17 +23,17 @@ export declare const actionSelectAll: {
|
|
|
23
23
|
isLoading: boolean;
|
|
24
24
|
errorMessage: React.ReactNode;
|
|
25
25
|
activeEmbeddable: {
|
|
26
|
-
element: import("@excalidraw
|
|
26
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
27
27
|
state: "hover" | "active";
|
|
28
28
|
} | null;
|
|
29
|
-
newElement: import("@excalidraw
|
|
30
|
-
resizingElement: import("@excalidraw
|
|
31
|
-
multiElement: import("@excalidraw
|
|
32
|
-
selectionElement: import("@excalidraw
|
|
29
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
30
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
31
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
32
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
33
33
|
isBindingEnabled: boolean;
|
|
34
|
-
startBoundElement: import("@excalidraw
|
|
35
|
-
suggestedBinding: import("@excalidraw
|
|
36
|
-
frameToHighlight: import("@excalidraw
|
|
34
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
35
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
36
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
37
37
|
frameRendering: {
|
|
38
38
|
enabled: boolean;
|
|
39
39
|
name: boolean;
|
|
@@ -41,8 +41,8 @@ export declare const actionSelectAll: {
|
|
|
41
41
|
clip: boolean;
|
|
42
42
|
};
|
|
43
43
|
editingFrame: string | null;
|
|
44
|
-
elementsToHighlight: import("@excalidraw
|
|
45
|
-
editingTextElement: import("@excalidraw
|
|
44
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
45
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
46
46
|
activeTool: {
|
|
47
47
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
48
48
|
locked: boolean;
|
|
@@ -65,13 +65,13 @@ export declare const actionSelectAll: {
|
|
|
65
65
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
66
66
|
currentItemRoughness: number;
|
|
67
67
|
currentItemOpacity: number;
|
|
68
|
-
currentItemFontFamily: import("@excalidraw
|
|
68
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
69
69
|
currentItemFontSize: number;
|
|
70
|
-
currentItemTextAlign: import("@excalidraw
|
|
71
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
72
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
73
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
74
|
-
currentItemRoundness: import("@excalidraw
|
|
70
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
71
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
72
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
73
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
74
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
75
75
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
76
76
|
viewBackgroundColor: string;
|
|
77
77
|
scrollX: number;
|
|
@@ -102,7 +102,7 @@ export declare const actionSelectAll: {
|
|
|
102
102
|
sourceElementId: ExcalidrawElement["id"];
|
|
103
103
|
};
|
|
104
104
|
defaultSidebarDockedPreference: boolean;
|
|
105
|
-
lastPointerDownWith: import("@excalidraw
|
|
105
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
106
106
|
hoveredElementIds: Readonly<{
|
|
107
107
|
[id: string]: true;
|
|
108
108
|
}>;
|
|
@@ -117,7 +117,7 @@ export declare const actionSelectAll: {
|
|
|
117
117
|
duration?: number;
|
|
118
118
|
} | null;
|
|
119
119
|
zenModeEnabled: boolean;
|
|
120
|
-
theme: import("@excalidraw
|
|
120
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
121
121
|
gridSize: number;
|
|
122
122
|
gridStep: number;
|
|
123
123
|
gridModeEnabled: boolean;
|
|
@@ -132,7 +132,7 @@ export declare const actionSelectAll: {
|
|
|
132
132
|
open: boolean;
|
|
133
133
|
panels: number;
|
|
134
134
|
};
|
|
135
|
-
currentChartType: import("@excalidraw
|
|
135
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
136
136
|
pasteDialog: {
|
|
137
137
|
shown: false;
|
|
138
138
|
data: null;
|
|
@@ -159,7 +159,7 @@ export declare const actionSelectAll: {
|
|
|
159
159
|
lockedMultiSelections: {
|
|
160
160
|
[groupId: string]: true;
|
|
161
161
|
};
|
|
162
|
-
bindMode: import("@excalidraw
|
|
162
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
163
163
|
};
|
|
164
164
|
captureUpdate: "IMMEDIATELY";
|
|
165
165
|
};
|
|
@@ -6,7 +6,7 @@ export declare const actionCopyStyles: {
|
|
|
6
6
|
trackEvent: {
|
|
7
7
|
category: "element";
|
|
8
8
|
};
|
|
9
|
-
perform: (elements: readonly import("@excalidraw
|
|
9
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, formData: unknown, app: import("../types").AppClassProperties) => {
|
|
10
10
|
appState: {
|
|
11
11
|
toast: {
|
|
12
12
|
message: string;
|
|
@@ -20,17 +20,17 @@ export declare const actionCopyStyles: {
|
|
|
20
20
|
isLoading: boolean;
|
|
21
21
|
errorMessage: React.ReactNode;
|
|
22
22
|
activeEmbeddable: {
|
|
23
|
-
element: import("@excalidraw
|
|
23
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
24
24
|
state: "hover" | "active";
|
|
25
25
|
} | null;
|
|
26
|
-
newElement: import("@excalidraw
|
|
27
|
-
resizingElement: import("@excalidraw
|
|
28
|
-
multiElement: import("@excalidraw
|
|
29
|
-
selectionElement: import("@excalidraw
|
|
26
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
27
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
28
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
29
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
30
30
|
isBindingEnabled: boolean;
|
|
31
|
-
startBoundElement: import("@excalidraw
|
|
32
|
-
suggestedBinding: import("@excalidraw
|
|
33
|
-
frameToHighlight: import("@excalidraw
|
|
31
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
32
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
33
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
34
34
|
frameRendering: {
|
|
35
35
|
enabled: boolean;
|
|
36
36
|
name: boolean;
|
|
@@ -38,8 +38,8 @@ export declare const actionCopyStyles: {
|
|
|
38
38
|
clip: boolean;
|
|
39
39
|
};
|
|
40
40
|
editingFrame: string | null;
|
|
41
|
-
elementsToHighlight: import("@excalidraw
|
|
42
|
-
editingTextElement: import("@excalidraw
|
|
41
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
|
|
42
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
43
43
|
activeTool: {
|
|
44
44
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
45
45
|
locked: boolean;
|
|
@@ -57,18 +57,18 @@ export declare const actionCopyStyles: {
|
|
|
57
57
|
exportScale: number;
|
|
58
58
|
currentItemStrokeColor: string;
|
|
59
59
|
currentItemBackgroundColor: string;
|
|
60
|
-
currentItemFillStyle: import("@excalidraw
|
|
60
|
+
currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
|
|
61
61
|
currentItemStrokeWidth: number;
|
|
62
|
-
currentItemStrokeStyle: import("@excalidraw
|
|
62
|
+
currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
|
|
63
63
|
currentItemRoughness: number;
|
|
64
64
|
currentItemOpacity: number;
|
|
65
|
-
currentItemFontFamily: import("@excalidraw
|
|
65
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
66
66
|
currentItemFontSize: number;
|
|
67
|
-
currentItemTextAlign: import("@excalidraw
|
|
68
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
69
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
70
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
71
|
-
currentItemRoundness: import("@excalidraw
|
|
67
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
68
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
69
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
70
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
71
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
72
72
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
73
73
|
viewBackgroundColor: string;
|
|
74
74
|
scrollX: number;
|
|
@@ -96,10 +96,10 @@ export declare const actionCopyStyles: {
|
|
|
96
96
|
name: "settings";
|
|
97
97
|
} | {
|
|
98
98
|
name: "elementLinkSelector";
|
|
99
|
-
sourceElementId: import("@excalidraw
|
|
99
|
+
sourceElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"];
|
|
100
100
|
};
|
|
101
101
|
defaultSidebarDockedPreference: boolean;
|
|
102
|
-
lastPointerDownWith: import("@excalidraw
|
|
102
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
103
103
|
selectedElementIds: Readonly<{
|
|
104
104
|
[id: string]: true;
|
|
105
105
|
}>;
|
|
@@ -112,7 +112,7 @@ export declare const actionCopyStyles: {
|
|
|
112
112
|
selectedElementsAreBeingDragged: boolean;
|
|
113
113
|
shouldCacheIgnoreZoom: boolean;
|
|
114
114
|
zenModeEnabled: boolean;
|
|
115
|
-
theme: import("@excalidraw
|
|
115
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
116
116
|
gridSize: number;
|
|
117
117
|
gridStep: number;
|
|
118
118
|
gridModeEnabled: boolean;
|
|
@@ -120,7 +120,7 @@ export declare const actionCopyStyles: {
|
|
|
120
120
|
selectedGroupIds: {
|
|
121
121
|
[groupId: string]: boolean;
|
|
122
122
|
};
|
|
123
|
-
editingGroupId: import("@excalidraw
|
|
123
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
124
124
|
width: number;
|
|
125
125
|
height: number;
|
|
126
126
|
offsetTop: number;
|
|
@@ -131,7 +131,7 @@ export declare const actionCopyStyles: {
|
|
|
131
131
|
open: boolean;
|
|
132
132
|
panels: number;
|
|
133
133
|
};
|
|
134
|
-
currentChartType: import("@excalidraw
|
|
134
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
135
135
|
pasteDialog: {
|
|
136
136
|
shown: false;
|
|
137
137
|
data: null;
|
|
@@ -140,7 +140,7 @@ export declare const actionCopyStyles: {
|
|
|
140
140
|
data: import("../charts").Spreadsheet;
|
|
141
141
|
};
|
|
142
142
|
showHyperlinkPopup: false | "info" | "editor";
|
|
143
|
-
selectedLinearElement: import("@excalidraw
|
|
143
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
144
144
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
145
145
|
originSnapOffset: {
|
|
146
146
|
x: number;
|
|
@@ -150,16 +150,16 @@ export declare const actionCopyStyles: {
|
|
|
150
150
|
userToFollow: import("../types").UserToFollow | null;
|
|
151
151
|
followedBy: Set<import("../types").SocketId>;
|
|
152
152
|
isCropping: boolean;
|
|
153
|
-
croppingElementId: import("@excalidraw
|
|
153
|
+
croppingElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
|
|
154
154
|
searchMatches: Readonly<{
|
|
155
|
-
focusedId: import("@excalidraw
|
|
155
|
+
focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
|
|
156
156
|
matches: readonly import("../types").SearchMatch[];
|
|
157
157
|
}> | null;
|
|
158
158
|
activeLockedId: string | null;
|
|
159
159
|
lockedMultiSelections: {
|
|
160
160
|
[groupId: string]: true;
|
|
161
161
|
};
|
|
162
|
-
bindMode: import("@excalidraw
|
|
162
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
163
163
|
};
|
|
164
164
|
captureUpdate: "EVENTUALLY";
|
|
165
165
|
};
|
|
@@ -174,11 +174,11 @@ export declare const actionPasteStyles: {
|
|
|
174
174
|
trackEvent: {
|
|
175
175
|
category: "element";
|
|
176
176
|
};
|
|
177
|
-
perform: (elements: readonly import("@excalidraw
|
|
178
|
-
elements: readonly import("@excalidraw
|
|
177
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, formData: unknown, app: import("../types").AppClassProperties) => {
|
|
178
|
+
elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
|
|
179
179
|
captureUpdate: "EVENTUALLY";
|
|
180
180
|
} | {
|
|
181
|
-
elements: import("@excalidraw
|
|
181
|
+
elements: import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
|
|
182
182
|
captureUpdate: "IMMEDIATELY";
|
|
183
183
|
};
|
|
184
184
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
@@ -6,10 +6,10 @@ export declare const actionTextAutoResize: {
|
|
|
6
6
|
trackEvent: {
|
|
7
7
|
category: "element";
|
|
8
8
|
};
|
|
9
|
-
predicate: (elements: readonly import("@excalidraw
|
|
10
|
-
perform: (elements: readonly import("@excalidraw
|
|
9
|
+
predicate: (elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], appState: import("../types").AppState, _: unknown, app: AppClassProperties) => boolean;
|
|
10
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: AppClassProperties) => {
|
|
11
11
|
appState: Readonly<import("../types").AppState>;
|
|
12
|
-
elements: import("@excalidraw
|
|
12
|
+
elements: import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
|
|
13
13
|
captureUpdate: "IMMEDIATELY";
|
|
14
14
|
};
|
|
15
15
|
} & {
|
|
@@ -9,7 +9,7 @@ export declare const actionToggleGridMode: {
|
|
|
9
9
|
category: "canvas";
|
|
10
10
|
predicate: (appState: Readonly<AppState>) => boolean;
|
|
11
11
|
};
|
|
12
|
-
perform(elements: readonly import("@excalidraw
|
|
12
|
+
perform(elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>): {
|
|
13
13
|
appState: {
|
|
14
14
|
gridModeEnabled: boolean;
|
|
15
15
|
objectsSnapModeEnabled: false;
|
|
@@ -22,17 +22,17 @@ export declare const actionToggleGridMode: {
|
|
|
22
22
|
isLoading: boolean;
|
|
23
23
|
errorMessage: React.ReactNode;
|
|
24
24
|
activeEmbeddable: {
|
|
25
|
-
element: import("@excalidraw
|
|
25
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
26
26
|
state: "hover" | "active";
|
|
27
27
|
} | null;
|
|
28
|
-
newElement: import("@excalidraw
|
|
29
|
-
resizingElement: import("@excalidraw
|
|
30
|
-
multiElement: import("@excalidraw
|
|
31
|
-
selectionElement: import("@excalidraw
|
|
28
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
29
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
30
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
31
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
32
32
|
isBindingEnabled: boolean;
|
|
33
|
-
startBoundElement: import("@excalidraw
|
|
34
|
-
suggestedBinding: import("@excalidraw
|
|
35
|
-
frameToHighlight: import("@excalidraw
|
|
33
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
34
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
35
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
36
36
|
frameRendering: {
|
|
37
37
|
enabled: boolean;
|
|
38
38
|
name: boolean;
|
|
@@ -40,8 +40,8 @@ export declare const actionToggleGridMode: {
|
|
|
40
40
|
clip: boolean;
|
|
41
41
|
};
|
|
42
42
|
editingFrame: string | null;
|
|
43
|
-
elementsToHighlight: import("@excalidraw
|
|
44
|
-
editingTextElement: import("@excalidraw
|
|
43
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
|
|
44
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
45
45
|
activeTool: {
|
|
46
46
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
47
47
|
locked: boolean;
|
|
@@ -59,18 +59,18 @@ export declare const actionToggleGridMode: {
|
|
|
59
59
|
exportScale: number;
|
|
60
60
|
currentItemStrokeColor: string;
|
|
61
61
|
currentItemBackgroundColor: string;
|
|
62
|
-
currentItemFillStyle: import("@excalidraw
|
|
62
|
+
currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
|
|
63
63
|
currentItemStrokeWidth: number;
|
|
64
|
-
currentItemStrokeStyle: import("@excalidraw
|
|
64
|
+
currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
|
|
65
65
|
currentItemRoughness: number;
|
|
66
66
|
currentItemOpacity: number;
|
|
67
|
-
currentItemFontFamily: import("@excalidraw
|
|
67
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
68
68
|
currentItemFontSize: number;
|
|
69
|
-
currentItemTextAlign: import("@excalidraw
|
|
70
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
71
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
72
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
73
|
-
currentItemRoundness: import("@excalidraw
|
|
69
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
70
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
71
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
72
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
73
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
74
74
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
75
75
|
viewBackgroundColor: string;
|
|
76
76
|
scrollX: number;
|
|
@@ -98,10 +98,10 @@ export declare const actionToggleGridMode: {
|
|
|
98
98
|
name: "settings";
|
|
99
99
|
} | {
|
|
100
100
|
name: "elementLinkSelector";
|
|
101
|
-
sourceElementId: import("@excalidraw
|
|
101
|
+
sourceElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"];
|
|
102
102
|
};
|
|
103
103
|
defaultSidebarDockedPreference: boolean;
|
|
104
|
-
lastPointerDownWith: import("@excalidraw
|
|
104
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
105
105
|
selectedElementIds: Readonly<{
|
|
106
106
|
[id: string]: true;
|
|
107
107
|
}>;
|
|
@@ -119,14 +119,14 @@ export declare const actionToggleGridMode: {
|
|
|
119
119
|
duration?: number;
|
|
120
120
|
} | null;
|
|
121
121
|
zenModeEnabled: boolean;
|
|
122
|
-
theme: import("@excalidraw
|
|
122
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
123
123
|
gridSize: number;
|
|
124
124
|
gridStep: number;
|
|
125
125
|
viewModeEnabled: boolean;
|
|
126
126
|
selectedGroupIds: {
|
|
127
127
|
[groupId: string]: boolean;
|
|
128
128
|
};
|
|
129
|
-
editingGroupId: import("@excalidraw
|
|
129
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
130
130
|
width: number;
|
|
131
131
|
height: number;
|
|
132
132
|
offsetTop: number;
|
|
@@ -137,7 +137,7 @@ export declare const actionToggleGridMode: {
|
|
|
137
137
|
open: boolean;
|
|
138
138
|
panels: number;
|
|
139
139
|
};
|
|
140
|
-
currentChartType: import("@excalidraw
|
|
140
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
141
141
|
pasteDialog: {
|
|
142
142
|
shown: false;
|
|
143
143
|
data: null;
|
|
@@ -146,7 +146,7 @@ export declare const actionToggleGridMode: {
|
|
|
146
146
|
data: import("../charts").Spreadsheet;
|
|
147
147
|
};
|
|
148
148
|
showHyperlinkPopup: false | "info" | "editor";
|
|
149
|
-
selectedLinearElement: import("@excalidraw
|
|
149
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
150
150
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
151
151
|
originSnapOffset: {
|
|
152
152
|
x: number;
|
|
@@ -155,21 +155,21 @@ export declare const actionToggleGridMode: {
|
|
|
155
155
|
userToFollow: import("../types").UserToFollow | null;
|
|
156
156
|
followedBy: Set<import("../types").SocketId>;
|
|
157
157
|
isCropping: boolean;
|
|
158
|
-
croppingElementId: import("@excalidraw
|
|
158
|
+
croppingElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
|
|
159
159
|
searchMatches: Readonly<{
|
|
160
|
-
focusedId: import("@excalidraw
|
|
160
|
+
focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
|
|
161
161
|
matches: readonly import("../types").SearchMatch[];
|
|
162
162
|
}> | null;
|
|
163
163
|
activeLockedId: string | null;
|
|
164
164
|
lockedMultiSelections: {
|
|
165
165
|
[groupId: string]: true;
|
|
166
166
|
};
|
|
167
|
-
bindMode: import("@excalidraw
|
|
167
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
168
168
|
};
|
|
169
169
|
captureUpdate: "EVENTUALLY";
|
|
170
170
|
};
|
|
171
171
|
checked: (appState: AppState) => boolean;
|
|
172
|
-
predicate: (element: readonly import("@excalidraw
|
|
172
|
+
predicate: (element: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps) => boolean;
|
|
173
173
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
174
174
|
} & {
|
|
175
175
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -7,7 +7,7 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
7
7
|
category: "canvas";
|
|
8
8
|
predicate: (appState: Readonly<import("../types").AppState>) => boolean;
|
|
9
9
|
};
|
|
10
|
-
perform(elements: readonly import("@excalidraw
|
|
10
|
+
perform(elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>): {
|
|
11
11
|
appState: {
|
|
12
12
|
objectsSnapModeEnabled: boolean;
|
|
13
13
|
gridModeEnabled: false;
|
|
@@ -20,17 +20,17 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
20
20
|
isLoading: boolean;
|
|
21
21
|
errorMessage: React.ReactNode;
|
|
22
22
|
activeEmbeddable: {
|
|
23
|
-
element: import("@excalidraw
|
|
23
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
24
24
|
state: "hover" | "active";
|
|
25
25
|
} | null;
|
|
26
|
-
newElement: import("@excalidraw
|
|
27
|
-
resizingElement: import("@excalidraw
|
|
28
|
-
multiElement: import("@excalidraw
|
|
29
|
-
selectionElement: import("@excalidraw
|
|
26
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
27
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
28
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
29
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
30
30
|
isBindingEnabled: boolean;
|
|
31
|
-
startBoundElement: import("@excalidraw
|
|
32
|
-
suggestedBinding: import("@excalidraw
|
|
33
|
-
frameToHighlight: import("@excalidraw
|
|
31
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
32
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
33
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
34
34
|
frameRendering: {
|
|
35
35
|
enabled: boolean;
|
|
36
36
|
name: boolean;
|
|
@@ -38,8 +38,8 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
38
38
|
clip: boolean;
|
|
39
39
|
};
|
|
40
40
|
editingFrame: string | null;
|
|
41
|
-
elementsToHighlight: import("@excalidraw
|
|
42
|
-
editingTextElement: import("@excalidraw
|
|
41
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
|
|
42
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
43
43
|
activeTool: {
|
|
44
44
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
45
45
|
locked: boolean;
|
|
@@ -57,18 +57,18 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
57
57
|
exportScale: number;
|
|
58
58
|
currentItemStrokeColor: string;
|
|
59
59
|
currentItemBackgroundColor: string;
|
|
60
|
-
currentItemFillStyle: import("@excalidraw
|
|
60
|
+
currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
|
|
61
61
|
currentItemStrokeWidth: number;
|
|
62
|
-
currentItemStrokeStyle: import("@excalidraw
|
|
62
|
+
currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
|
|
63
63
|
currentItemRoughness: number;
|
|
64
64
|
currentItemOpacity: number;
|
|
65
|
-
currentItemFontFamily: import("@excalidraw
|
|
65
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
66
66
|
currentItemFontSize: number;
|
|
67
|
-
currentItemTextAlign: import("@excalidraw
|
|
68
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
69
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
70
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
71
|
-
currentItemRoundness: import("@excalidraw
|
|
67
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
68
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
69
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
70
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
71
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
72
72
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
73
73
|
viewBackgroundColor: string;
|
|
74
74
|
scrollX: number;
|
|
@@ -96,10 +96,10 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
96
96
|
name: "settings";
|
|
97
97
|
} | {
|
|
98
98
|
name: "elementLinkSelector";
|
|
99
|
-
sourceElementId: import("@excalidraw
|
|
99
|
+
sourceElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"];
|
|
100
100
|
};
|
|
101
101
|
defaultSidebarDockedPreference: boolean;
|
|
102
|
-
lastPointerDownWith: import("@excalidraw
|
|
102
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
103
103
|
selectedElementIds: Readonly<{
|
|
104
104
|
[id: string]: true;
|
|
105
105
|
}>;
|
|
@@ -117,14 +117,14 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
117
117
|
duration?: number;
|
|
118
118
|
} | null;
|
|
119
119
|
zenModeEnabled: boolean;
|
|
120
|
-
theme: import("@excalidraw
|
|
120
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
121
121
|
gridSize: number;
|
|
122
122
|
gridStep: number;
|
|
123
123
|
viewModeEnabled: boolean;
|
|
124
124
|
selectedGroupIds: {
|
|
125
125
|
[groupId: string]: boolean;
|
|
126
126
|
};
|
|
127
|
-
editingGroupId: import("@excalidraw
|
|
127
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
128
128
|
width: number;
|
|
129
129
|
height: number;
|
|
130
130
|
offsetTop: number;
|
|
@@ -135,7 +135,7 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
135
135
|
open: boolean;
|
|
136
136
|
panels: number;
|
|
137
137
|
};
|
|
138
|
-
currentChartType: import("@excalidraw
|
|
138
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
139
139
|
pasteDialog: {
|
|
140
140
|
shown: false;
|
|
141
141
|
data: null;
|
|
@@ -144,7 +144,7 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
144
144
|
data: import("../charts").Spreadsheet;
|
|
145
145
|
};
|
|
146
146
|
showHyperlinkPopup: false | "info" | "editor";
|
|
147
|
-
selectedLinearElement: import("@excalidraw
|
|
147
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
148
148
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
149
149
|
originSnapOffset: {
|
|
150
150
|
x: number;
|
|
@@ -153,21 +153,21 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
153
153
|
userToFollow: import("../types").UserToFollow | null;
|
|
154
154
|
followedBy: Set<import("../types").SocketId>;
|
|
155
155
|
isCropping: boolean;
|
|
156
|
-
croppingElementId: import("@excalidraw
|
|
156
|
+
croppingElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
|
|
157
157
|
searchMatches: Readonly<{
|
|
158
|
-
focusedId: import("@excalidraw
|
|
158
|
+
focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
|
|
159
159
|
matches: readonly import("../types").SearchMatch[];
|
|
160
160
|
}> | null;
|
|
161
161
|
activeLockedId: string | null;
|
|
162
162
|
lockedMultiSelections: {
|
|
163
163
|
[groupId: string]: true;
|
|
164
164
|
};
|
|
165
|
-
bindMode: import("@excalidraw
|
|
165
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
166
166
|
};
|
|
167
167
|
captureUpdate: "EVENTUALLY";
|
|
168
168
|
};
|
|
169
169
|
checked: (appState: Readonly<import("../types").AppState>) => boolean;
|
|
170
|
-
predicate: (elements: readonly import("@excalidraw
|
|
170
|
+
predicate: (elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], appState: import("../types").AppState, appProps: import("../types").ExcalidrawProps) => boolean;
|
|
171
171
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
172
172
|
} & {
|
|
173
173
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|