@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,9 +1,9 @@
|
|
|
1
1
|
export declare const actionLink: {
|
|
2
2
|
name: "hyperlink";
|
|
3
|
-
label: (elements: readonly import("@excalidraw
|
|
3
|
+
label: (elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => "labels.link.editEmbed" | "labels.link.edit" | "labels.link.create";
|
|
4
4
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
perform: (elements: readonly import("@excalidraw
|
|
6
|
-
elements: readonly import("@excalidraw
|
|
5
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>) => false | {
|
|
6
|
+
elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
|
|
7
7
|
appState: {
|
|
8
8
|
showHyperlinkPopup: "editor";
|
|
9
9
|
openMenu: null;
|
|
@@ -16,17 +16,17 @@ export declare const actionLink: {
|
|
|
16
16
|
isLoading: boolean;
|
|
17
17
|
errorMessage: React.ReactNode;
|
|
18
18
|
activeEmbeddable: {
|
|
19
|
-
element: import("@excalidraw
|
|
19
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
20
20
|
state: "hover" | "active";
|
|
21
21
|
} | null;
|
|
22
|
-
newElement: import("@excalidraw
|
|
23
|
-
resizingElement: import("@excalidraw
|
|
24
|
-
multiElement: import("@excalidraw
|
|
25
|
-
selectionElement: import("@excalidraw
|
|
22
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
23
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
24
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
|
|
25
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
26
26
|
isBindingEnabled: boolean;
|
|
27
|
-
startBoundElement: import("@excalidraw
|
|
28
|
-
suggestedBinding: import("@excalidraw
|
|
29
|
-
frameToHighlight: import("@excalidraw
|
|
27
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
28
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
|
|
29
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
30
30
|
frameRendering: {
|
|
31
31
|
enabled: boolean;
|
|
32
32
|
name: boolean;
|
|
@@ -34,8 +34,8 @@ export declare const actionLink: {
|
|
|
34
34
|
clip: boolean;
|
|
35
35
|
};
|
|
36
36
|
editingFrame: string | null;
|
|
37
|
-
elementsToHighlight: import("@excalidraw
|
|
38
|
-
editingTextElement: import("@excalidraw
|
|
37
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
|
|
38
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
39
39
|
activeTool: {
|
|
40
40
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
41
41
|
locked: boolean;
|
|
@@ -53,18 +53,18 @@ export declare const actionLink: {
|
|
|
53
53
|
exportScale: number;
|
|
54
54
|
currentItemStrokeColor: string;
|
|
55
55
|
currentItemBackgroundColor: string;
|
|
56
|
-
currentItemFillStyle: import("@excalidraw
|
|
56
|
+
currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
|
|
57
57
|
currentItemStrokeWidth: number;
|
|
58
|
-
currentItemStrokeStyle: import("@excalidraw
|
|
58
|
+
currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
|
|
59
59
|
currentItemRoughness: number;
|
|
60
60
|
currentItemOpacity: number;
|
|
61
|
-
currentItemFontFamily: import("@excalidraw
|
|
61
|
+
currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
|
|
62
62
|
currentItemFontSize: number;
|
|
63
|
-
currentItemTextAlign: import("@excalidraw
|
|
64
|
-
currentItemStartArrowhead: import("@excalidraw
|
|
65
|
-
currentItemEndArrowhead: import("@excalidraw
|
|
66
|
-
currentHoveredFontFamily: import("@excalidraw
|
|
67
|
-
currentItemRoundness: import("@excalidraw
|
|
63
|
+
currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
|
|
64
|
+
currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
65
|
+
currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
|
|
66
|
+
currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
|
|
67
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
68
68
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
69
69
|
viewBackgroundColor: string;
|
|
70
70
|
scrollX: number;
|
|
@@ -91,10 +91,10 @@ export declare const actionLink: {
|
|
|
91
91
|
name: "settings";
|
|
92
92
|
} | {
|
|
93
93
|
name: "elementLinkSelector";
|
|
94
|
-
sourceElementId: import("@excalidraw
|
|
94
|
+
sourceElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"];
|
|
95
95
|
};
|
|
96
96
|
defaultSidebarDockedPreference: boolean;
|
|
97
|
-
lastPointerDownWith: import("@excalidraw
|
|
97
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
98
98
|
selectedElementIds: Readonly<{
|
|
99
99
|
[id: string]: true;
|
|
100
100
|
}>;
|
|
@@ -112,7 +112,7 @@ export declare const actionLink: {
|
|
|
112
112
|
duration?: number;
|
|
113
113
|
} | null;
|
|
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 actionLink: {
|
|
|
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 actionLink: {
|
|
|
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;
|
|
@@ -139,7 +139,7 @@ export declare const actionLink: {
|
|
|
139
139
|
shown: true;
|
|
140
140
|
data: import("../charts").Spreadsheet;
|
|
141
141
|
};
|
|
142
|
-
selectedLinearElement: import("@excalidraw
|
|
142
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
143
143
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
144
144
|
originSnapOffset: {
|
|
145
145
|
x: number;
|
|
@@ -149,16 +149,16 @@ export declare const actionLink: {
|
|
|
149
149
|
userToFollow: import("../types").UserToFollow | null;
|
|
150
150
|
followedBy: Set<import("../types").SocketId>;
|
|
151
151
|
isCropping: boolean;
|
|
152
|
-
croppingElementId: import("@excalidraw
|
|
152
|
+
croppingElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
|
|
153
153
|
searchMatches: Readonly<{
|
|
154
|
-
focusedId: import("@excalidraw
|
|
154
|
+
focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
|
|
155
155
|
matches: readonly import("../types").SearchMatch[];
|
|
156
156
|
}> | null;
|
|
157
157
|
activeLockedId: string | null;
|
|
158
158
|
lockedMultiSelections: {
|
|
159
159
|
[groupId: string]: true;
|
|
160
160
|
};
|
|
161
|
-
bindMode: import("@excalidraw
|
|
161
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
162
162
|
};
|
|
163
163
|
captureUpdate: "IMMEDIATELY";
|
|
164
164
|
};
|
|
@@ -167,7 +167,7 @@ export declare const actionLink: {
|
|
|
167
167
|
action: string;
|
|
168
168
|
};
|
|
169
169
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
170
|
-
predicate: (elements: readonly import("@excalidraw
|
|
170
|
+
predicate: (elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], appState: import("../types").AppState) => boolean;
|
|
171
171
|
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
172
172
|
} & {
|
|
173
173
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -7,7 +7,7 @@ export declare const actionShortcuts: {
|
|
|
7
7
|
category: "menu";
|
|
8
8
|
action: string;
|
|
9
9
|
};
|
|
10
|
-
perform: (_elements: readonly import("@excalidraw
|
|
10
|
+
perform: (_elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, { focusContainer }: import("../types").AppClassProperties) => {
|
|
11
11
|
appState: {
|
|
12
12
|
openDialog: {
|
|
13
13
|
name: "help";
|
|
@@ -23,17 +23,17 @@ export declare const actionShortcuts: {
|
|
|
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 actionShortcuts: {
|
|
|
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<import("@misenkashari/excalidraw-element/types").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;
|
|
@@ -60,18 +60,18 @@ export declare const actionShortcuts: {
|
|
|
60
60
|
exportScale: number;
|
|
61
61
|
currentItemStrokeColor: string;
|
|
62
62
|
currentItemBackgroundColor: string;
|
|
63
|
-
currentItemFillStyle: import("@excalidraw
|
|
63
|
+
currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
|
|
64
64
|
currentItemStrokeWidth: number;
|
|
65
|
-
currentItemStrokeStyle: import("@excalidraw
|
|
65
|
+
currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").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;
|
|
@@ -87,7 +87,7 @@ export declare const actionShortcuts: {
|
|
|
87
87
|
tab?: import("../types").SidebarTabName;
|
|
88
88
|
} | null;
|
|
89
89
|
defaultSidebarDockedPreference: boolean;
|
|
90
|
-
lastPointerDownWith: import("@excalidraw
|
|
90
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
91
91
|
selectedElementIds: Readonly<{
|
|
92
92
|
[id: string]: true;
|
|
93
93
|
}>;
|
|
@@ -105,7 +105,7 @@ export declare const actionShortcuts: {
|
|
|
105
105
|
duration?: number;
|
|
106
106
|
} | null;
|
|
107
107
|
zenModeEnabled: boolean;
|
|
108
|
-
theme: import("@excalidraw
|
|
108
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
109
109
|
gridSize: number;
|
|
110
110
|
gridStep: number;
|
|
111
111
|
gridModeEnabled: boolean;
|
|
@@ -113,7 +113,7 @@ export declare const actionShortcuts: {
|
|
|
113
113
|
selectedGroupIds: {
|
|
114
114
|
[groupId: string]: boolean;
|
|
115
115
|
};
|
|
116
|
-
editingGroupId: import("@excalidraw
|
|
116
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
117
117
|
width: number;
|
|
118
118
|
height: number;
|
|
119
119
|
offsetTop: number;
|
|
@@ -124,7 +124,7 @@ export declare const actionShortcuts: {
|
|
|
124
124
|
open: boolean;
|
|
125
125
|
panels: number;
|
|
126
126
|
};
|
|
127
|
-
currentChartType: import("@excalidraw
|
|
127
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
128
128
|
pasteDialog: {
|
|
129
129
|
shown: false;
|
|
130
130
|
data: null;
|
|
@@ -133,7 +133,7 @@ export declare const actionShortcuts: {
|
|
|
133
133
|
data: import("../charts").Spreadsheet;
|
|
134
134
|
};
|
|
135
135
|
showHyperlinkPopup: false | "info" | "editor";
|
|
136
|
-
selectedLinearElement: import("@excalidraw
|
|
136
|
+
selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
|
|
137
137
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
138
138
|
originSnapOffset: {
|
|
139
139
|
x: number;
|
|
@@ -143,16 +143,16 @@ export declare const actionShortcuts: {
|
|
|
143
143
|
userToFollow: import("../types").UserToFollow | null;
|
|
144
144
|
followedBy: Set<import("../types").SocketId>;
|
|
145
145
|
isCropping: boolean;
|
|
146
|
-
croppingElementId: import("@excalidraw
|
|
146
|
+
croppingElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
|
|
147
147
|
searchMatches: Readonly<{
|
|
148
|
-
focusedId: import("@excalidraw
|
|
148
|
+
focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
|
|
149
149
|
matches: readonly import("../types").SearchMatch[];
|
|
150
150
|
}> | null;
|
|
151
151
|
activeLockedId: string | null;
|
|
152
152
|
lockedMultiSelections: {
|
|
153
153
|
[groupId: string]: true;
|
|
154
154
|
};
|
|
155
|
-
bindMode: import("@excalidraw
|
|
155
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
156
156
|
};
|
|
157
157
|
captureUpdate: "EVENTUALLY";
|
|
158
158
|
};
|
|
@@ -3,7 +3,7 @@ export declare const actionGoToCollaborator: import("./types").Action<Readonly<{
|
|
|
3
3
|
button?: "up" | "down";
|
|
4
4
|
selectedElementIds?: import("../types").AppState["selectedElementIds"];
|
|
5
5
|
username?: string | null;
|
|
6
|
-
userState?: import("@excalidraw
|
|
6
|
+
userState?: import("@misenkashari/excalidraw-common").UserIdleState;
|
|
7
7
|
color?: {
|
|
8
8
|
background: string;
|
|
9
9
|
stroke: string;
|
|
@@ -16,5 +16,5 @@ export declare const actionGoToCollaborator: import("./types").Action<Readonly<{
|
|
|
16
16
|
isSpeaking?: boolean;
|
|
17
17
|
isMuted?: boolean;
|
|
18
18
|
}>> & {
|
|
19
|
-
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: import("../types").AppState, elements: readonly import("@excalidraw
|
|
19
|
+
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: import("../types").AppState, elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
20
20
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LinearElementEditor } from "@excalidraw
|
|
2
|
-
import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement, FontFamilyValues, TextAlign } from "@excalidraw
|
|
1
|
+
import { LinearElementEditor } from "@misenkashari/excalidraw-element";
|
|
2
|
+
import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement, FontFamilyValues, TextAlign } from "@misenkashari/excalidraw-element/types";
|
|
3
3
|
import type { AppClassProperties, AppState, Primitive } from "../types";
|
|
4
4
|
export declare const changeProperty: (elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: ExcalidrawElement) => ExcalidrawElement, includeBoundText?: boolean) => ExcalidrawElement[];
|
|
5
5
|
export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], app: AppClassProperties, getAttribute: (element: ExcalidrawElement) => T, isRelevantElement: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
|
|
@@ -9,7 +9,7 @@ export declare const actionChangeStrokeColor: import("./types").Action<Pick<AppS
|
|
|
9
9
|
export declare const actionChangeBackgroundColor: import("./types").Action<Pick<AppState, "viewBackgroundColor" | "currentItemBackgroundColor">> & {
|
|
10
10
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
|
|
11
11
|
};
|
|
12
|
-
export declare const actionChangeFillStyle: import("./types").Action<import("@excalidraw
|
|
12
|
+
export declare const actionChangeFillStyle: import("./types").Action<import("@misenkashari/excalidraw-element/types").FillStyle> & {
|
|
13
13
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
|
|
14
14
|
};
|
|
15
15
|
export declare const actionChangeStrokeWidth: import("./types").Action<number> & {
|
|
@@ -18,7 +18,7 @@ export declare const actionChangeStrokeWidth: import("./types").Action<number> &
|
|
|
18
18
|
export declare const actionChangeSloppiness: import("./types").Action<number> & {
|
|
19
19
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
|
|
20
20
|
};
|
|
21
|
-
export declare const actionChangeStrokeStyle: import("./types").Action<import("@excalidraw
|
|
21
|
+
export declare const actionChangeStrokeStyle: import("./types").Action<import("@misenkashari/excalidraw-element/types").StrokeStyle> & {
|
|
22
22
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
|
|
23
23
|
};
|
|
24
24
|
export declare const actionChangeOpacity: import("./types").Action<number> & {
|
|
@@ -32,7 +32,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
32
32
|
label: string;
|
|
33
33
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
34
34
|
trackEvent: false;
|
|
35
|
-
perform: (elements: readonly import("@excalidraw
|
|
35
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => {
|
|
36
36
|
elements: ExcalidrawElement[];
|
|
37
37
|
appState: {
|
|
38
38
|
currentItemFontSize: number;
|
|
@@ -45,17 +45,17 @@ export declare const actionDecreaseFontSize: {
|
|
|
45
45
|
isLoading: boolean;
|
|
46
46
|
errorMessage: React.ReactNode;
|
|
47
47
|
activeEmbeddable: {
|
|
48
|
-
element: import("@excalidraw
|
|
48
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
49
49
|
state: "hover" | "active";
|
|
50
50
|
} | null;
|
|
51
|
-
newElement: import("@excalidraw
|
|
52
|
-
resizingElement: import("@excalidraw
|
|
53
|
-
multiElement: import("@excalidraw
|
|
54
|
-
selectionElement: import("@excalidraw
|
|
51
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
52
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
53
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
54
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
55
55
|
isBindingEnabled: boolean;
|
|
56
|
-
startBoundElement: import("@excalidraw
|
|
57
|
-
suggestedBinding: import("@excalidraw
|
|
58
|
-
frameToHighlight: import("@excalidraw
|
|
56
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
57
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
58
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
59
59
|
frameRendering: {
|
|
60
60
|
enabled: boolean;
|
|
61
61
|
name: boolean;
|
|
@@ -63,8 +63,8 @@ export declare const actionDecreaseFontSize: {
|
|
|
63
63
|
clip: boolean;
|
|
64
64
|
};
|
|
65
65
|
editingFrame: string | null;
|
|
66
|
-
elementsToHighlight: import("@excalidraw
|
|
67
|
-
editingTextElement: import("@excalidraw
|
|
66
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
67
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
68
68
|
activeTool: {
|
|
69
69
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
70
70
|
locked: boolean;
|
|
@@ -92,7 +92,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
92
92
|
currentItemStartArrowhead: Arrowhead | null;
|
|
93
93
|
currentItemEndArrowhead: Arrowhead | null;
|
|
94
94
|
currentHoveredFontFamily: FontFamilyValues | null;
|
|
95
|
-
currentItemRoundness: import("@excalidraw
|
|
95
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
96
96
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
97
97
|
viewBackgroundColor: string;
|
|
98
98
|
scrollX: number;
|
|
@@ -123,7 +123,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
123
123
|
sourceElementId: ExcalidrawElement["id"];
|
|
124
124
|
};
|
|
125
125
|
defaultSidebarDockedPreference: boolean;
|
|
126
|
-
lastPointerDownWith: import("@excalidraw
|
|
126
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
127
127
|
selectedElementIds: Readonly<{
|
|
128
128
|
[id: string]: true;
|
|
129
129
|
}>;
|
|
@@ -141,7 +141,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
141
141
|
duration?: number;
|
|
142
142
|
} | null;
|
|
143
143
|
zenModeEnabled: boolean;
|
|
144
|
-
theme: import("@excalidraw
|
|
144
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
145
145
|
gridSize: number;
|
|
146
146
|
gridStep: number;
|
|
147
147
|
gridModeEnabled: boolean;
|
|
@@ -149,7 +149,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
149
149
|
selectedGroupIds: {
|
|
150
150
|
[groupId: string]: boolean;
|
|
151
151
|
};
|
|
152
|
-
editingGroupId: import("@excalidraw
|
|
152
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
153
153
|
width: number;
|
|
154
154
|
height: number;
|
|
155
155
|
offsetTop: number;
|
|
@@ -160,7 +160,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
160
160
|
open: boolean;
|
|
161
161
|
panels: number;
|
|
162
162
|
};
|
|
163
|
-
currentChartType: import("@excalidraw
|
|
163
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
164
164
|
pasteDialog: {
|
|
165
165
|
shown: false;
|
|
166
166
|
data: null;
|
|
@@ -188,7 +188,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
188
188
|
lockedMultiSelections: {
|
|
189
189
|
[groupId: string]: true;
|
|
190
190
|
};
|
|
191
|
-
bindMode: import("@excalidraw
|
|
191
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
192
192
|
};
|
|
193
193
|
captureUpdate: "IMMEDIATELY";
|
|
194
194
|
};
|
|
@@ -201,7 +201,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
201
201
|
label: string;
|
|
202
202
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
203
203
|
trackEvent: false;
|
|
204
|
-
perform: (elements: readonly import("@excalidraw
|
|
204
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => {
|
|
205
205
|
elements: ExcalidrawElement[];
|
|
206
206
|
appState: {
|
|
207
207
|
currentItemFontSize: number;
|
|
@@ -214,17 +214,17 @@ export declare const actionIncreaseFontSize: {
|
|
|
214
214
|
isLoading: boolean;
|
|
215
215
|
errorMessage: React.ReactNode;
|
|
216
216
|
activeEmbeddable: {
|
|
217
|
-
element: import("@excalidraw
|
|
217
|
+
element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
|
|
218
218
|
state: "hover" | "active";
|
|
219
219
|
} | null;
|
|
220
|
-
newElement: import("@excalidraw
|
|
221
|
-
resizingElement: import("@excalidraw
|
|
222
|
-
multiElement: import("@excalidraw
|
|
223
|
-
selectionElement: import("@excalidraw
|
|
220
|
+
newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
|
|
221
|
+
resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
222
|
+
multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
223
|
+
selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
224
224
|
isBindingEnabled: boolean;
|
|
225
|
-
startBoundElement: import("@excalidraw
|
|
226
|
-
suggestedBinding: import("@excalidraw
|
|
227
|
-
frameToHighlight: import("@excalidraw
|
|
225
|
+
startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
226
|
+
suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
227
|
+
frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
|
|
228
228
|
frameRendering: {
|
|
229
229
|
enabled: boolean;
|
|
230
230
|
name: boolean;
|
|
@@ -232,8 +232,8 @@ export declare const actionIncreaseFontSize: {
|
|
|
232
232
|
clip: boolean;
|
|
233
233
|
};
|
|
234
234
|
editingFrame: string | null;
|
|
235
|
-
elementsToHighlight: import("@excalidraw
|
|
236
|
-
editingTextElement: import("@excalidraw
|
|
235
|
+
elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
236
|
+
editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
|
|
237
237
|
activeTool: {
|
|
238
238
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
239
239
|
locked: boolean;
|
|
@@ -261,7 +261,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
261
261
|
currentItemStartArrowhead: Arrowhead | null;
|
|
262
262
|
currentItemEndArrowhead: Arrowhead | null;
|
|
263
263
|
currentHoveredFontFamily: FontFamilyValues | null;
|
|
264
|
-
currentItemRoundness: import("@excalidraw
|
|
264
|
+
currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
|
|
265
265
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
266
266
|
viewBackgroundColor: string;
|
|
267
267
|
scrollX: number;
|
|
@@ -292,7 +292,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
292
292
|
sourceElementId: ExcalidrawElement["id"];
|
|
293
293
|
};
|
|
294
294
|
defaultSidebarDockedPreference: boolean;
|
|
295
|
-
lastPointerDownWith: import("@excalidraw
|
|
295
|
+
lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
|
|
296
296
|
selectedElementIds: Readonly<{
|
|
297
297
|
[id: string]: true;
|
|
298
298
|
}>;
|
|
@@ -310,7 +310,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
310
310
|
duration?: number;
|
|
311
311
|
} | null;
|
|
312
312
|
zenModeEnabled: boolean;
|
|
313
|
-
theme: import("@excalidraw
|
|
313
|
+
theme: import("@misenkashari/excalidraw-element/types").Theme;
|
|
314
314
|
gridSize: number;
|
|
315
315
|
gridStep: number;
|
|
316
316
|
gridModeEnabled: boolean;
|
|
@@ -318,7 +318,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
318
318
|
selectedGroupIds: {
|
|
319
319
|
[groupId: string]: boolean;
|
|
320
320
|
};
|
|
321
|
-
editingGroupId: import("@excalidraw
|
|
321
|
+
editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
|
|
322
322
|
width: number;
|
|
323
323
|
height: number;
|
|
324
324
|
offsetTop: number;
|
|
@@ -329,7 +329,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
329
329
|
open: boolean;
|
|
330
330
|
panels: number;
|
|
331
331
|
};
|
|
332
|
-
currentChartType: import("@excalidraw
|
|
332
|
+
currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
|
|
333
333
|
pasteDialog: {
|
|
334
334
|
shown: false;
|
|
335
335
|
data: null;
|
|
@@ -357,7 +357,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
357
357
|
lockedMultiSelections: {
|
|
358
358
|
[groupId: string]: true;
|
|
359
359
|
};
|
|
360
|
-
bindMode: import("@excalidraw
|
|
360
|
+
bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
|
|
361
361
|
};
|
|
362
362
|
captureUpdate: "IMMEDIATELY";
|
|
363
363
|
};
|
|
@@ -390,7 +390,7 @@ export declare const actionChangeArrowProperties: {
|
|
|
390
390
|
name: "changeArrowProperties";
|
|
391
391
|
label: string;
|
|
392
392
|
trackEvent: false;
|
|
393
|
-
perform: (elements: readonly import("@excalidraw
|
|
393
|
+
perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => false;
|
|
394
394
|
PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
395
395
|
} & {
|
|
396
396
|
keyTest?: undefined;
|