@nous-excalidraw/math 0.18.0-cy.1 → 0.18.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/README.md +4 -4
- package/dist/dev/index.js +1 -1
- package/dist/dev/index.js.map +1 -1
- package/dist/prod/index.js +1 -1
- package/dist/types/common/src/appEventBus.d.ts +1 -1
- package/dist/types/common/src/constants.d.ts +2 -4
- 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 +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/arrows/focus.d.ts +2 -2
- package/dist/types/element/src/arrows/helpers.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 +48 -48
- 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/actionDeselect.d.ts +24 -24
- 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 +48 -48
- 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 +210 -210
- package/dist/types/excalidraw/actions/actionGroup.d.ts +41 -41
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +149 -149
- 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 +37 -37
- 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/actionToggleArrowBinding.d.ts +28 -28
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +29 -29
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +28 -28
- 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 +9 -9
- package/dist/types/excalidraw/charts/charts.constants.d.ts +1 -1
- package/dist/types/excalidraw/charts/charts.helpers.d.ts +3 -3
- package/dist/types/excalidraw/charts/charts.types.d.ts +1 -1
- package/dist/types/excalidraw/charts/index.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/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/CodeMirrorEditor.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/hooks/useMermaidRenderer.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/types.d.ts +2 -2
- 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/main-menu/DefaultItems.d.ts +1 -1
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +1 -1
- 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/resave.d.ts +2 -2
- 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/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/textAutoResizeHandle.d.ts +4 -4
- package/dist/types/excalidraw/types.d.ts +7 -7
- 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 +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type SceneBounds } from "@excalidraw/element";
|
|
2
|
-
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
1
|
+
import { type SceneBounds } from "@nous-excalidraw/element";
|
|
2
|
+
import type { ExcalidrawElement } from "@nous-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/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
16
|
-
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
15
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
16
|
+
elements: import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
|
|
17
17
|
appState: {
|
|
18
18
|
files: {};
|
|
19
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
19
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
20
20
|
penMode: boolean;
|
|
21
21
|
penDetected: boolean;
|
|
22
22
|
exportBackground: boolean;
|
|
@@ -62,34 +62,34 @@ export declare const actionClearCanvas: {
|
|
|
62
62
|
data: import("../charts").Spreadsheet;
|
|
63
63
|
rawText: string;
|
|
64
64
|
};
|
|
65
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
65
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
66
66
|
selectedElementIds: Readonly<{
|
|
67
67
|
[id: string]: true;
|
|
68
68
|
}>;
|
|
69
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
69
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
70
70
|
activeEmbeddable: {
|
|
71
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
71
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
72
72
|
state: "hover" | "active";
|
|
73
73
|
} | null;
|
|
74
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
74
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
75
75
|
selectedGroupIds: {
|
|
76
76
|
[groupId: string]: boolean;
|
|
77
77
|
};
|
|
78
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
79
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
80
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
78
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
79
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
80
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
81
81
|
isBindingEnabled: boolean;
|
|
82
82
|
isMidpointSnappingEnabled: boolean;
|
|
83
83
|
suggestedBinding: {
|
|
84
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
85
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
84
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
85
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
86
86
|
} | null;
|
|
87
87
|
isRotating: boolean;
|
|
88
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
88
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
89
89
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
90
90
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
91
91
|
zenModeEnabled: boolean;
|
|
92
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
92
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
93
93
|
isCropping: boolean;
|
|
94
94
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
95
95
|
searchMatches: Readonly<{
|
|
@@ -103,7 +103,7 @@ export declare const actionClearCanvas: {
|
|
|
103
103
|
shouldCacheIgnoreZoom: boolean;
|
|
104
104
|
exportScale: number;
|
|
105
105
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
106
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
106
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
107
107
|
contextMenu: {
|
|
108
108
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
109
109
|
top: number;
|
|
@@ -112,10 +112,10 @@ export declare const actionClearCanvas: {
|
|
|
112
112
|
showWelcomeScreen: boolean;
|
|
113
113
|
isLoading: boolean;
|
|
114
114
|
errorMessage: React.ReactNode;
|
|
115
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
115
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
116
116
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
117
117
|
bindingPreference: "enabled" | "disabled";
|
|
118
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
118
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
119
119
|
editingFrame: string | null;
|
|
120
120
|
preferredSelectionTool: {
|
|
121
121
|
type: "selection" | "lasso";
|
|
@@ -129,13 +129,13 @@ export declare const actionClearCanvas: {
|
|
|
129
129
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
130
130
|
currentItemRoughness: number;
|
|
131
131
|
currentItemOpacity: number;
|
|
132
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
132
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
133
133
|
currentItemFontSize: number;
|
|
134
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
135
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
136
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
137
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
138
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
134
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
135
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
136
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
137
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
138
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
139
139
|
cursorButton: "up" | "down";
|
|
140
140
|
scrolledOutside: boolean;
|
|
141
141
|
isResizing: boolean;
|
|
@@ -146,7 +146,7 @@ export declare const actionClearCanvas: {
|
|
|
146
146
|
tab?: import("../types").SidebarTabName;
|
|
147
147
|
} | null;
|
|
148
148
|
defaultSidebarDockedPreference: boolean;
|
|
149
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
149
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
150
150
|
previousSelectedElementIds: {
|
|
151
151
|
[id: string]: true;
|
|
152
152
|
};
|
|
@@ -182,7 +182,7 @@ export declare const actionZoomIn: {
|
|
|
182
182
|
trackEvent: {
|
|
183
183
|
category: "canvas";
|
|
184
184
|
};
|
|
185
|
-
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
185
|
+
perform: (_elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
186
186
|
appState: {
|
|
187
187
|
userToFollow: null;
|
|
188
188
|
scrollX: number;
|
|
@@ -199,23 +199,23 @@ export declare const actionZoomIn: {
|
|
|
199
199
|
isLoading: boolean;
|
|
200
200
|
errorMessage: React.ReactNode;
|
|
201
201
|
activeEmbeddable: {
|
|
202
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
202
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
203
203
|
state: "hover" | "active";
|
|
204
204
|
} | null;
|
|
205
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
206
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
207
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
208
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
205
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
206
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
207
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
208
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
209
209
|
isBindingEnabled: boolean;
|
|
210
210
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
211
211
|
bindingPreference: "enabled" | "disabled";
|
|
212
212
|
isMidpointSnappingEnabled: boolean;
|
|
213
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
213
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
214
214
|
suggestedBinding: {
|
|
215
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
216
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
215
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
216
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
217
217
|
} | null;
|
|
218
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
218
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
219
219
|
frameRendering: {
|
|
220
220
|
enabled: boolean;
|
|
221
221
|
name: boolean;
|
|
@@ -223,8 +223,8 @@ export declare const actionZoomIn: {
|
|
|
223
223
|
clip: boolean;
|
|
224
224
|
};
|
|
225
225
|
editingFrame: string | null;
|
|
226
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
227
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
226
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
227
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
228
228
|
activeTool: {
|
|
229
229
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
230
230
|
locked: boolean;
|
|
@@ -247,13 +247,13 @@ export declare const actionZoomIn: {
|
|
|
247
247
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
248
248
|
currentItemRoughness: number;
|
|
249
249
|
currentItemOpacity: number;
|
|
250
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
250
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
251
251
|
currentItemFontSize: number;
|
|
252
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
253
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
254
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
255
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
256
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
252
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
253
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
254
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
255
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
256
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
257
257
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
258
258
|
viewBackgroundColor: string;
|
|
259
259
|
cursorButton: "up" | "down";
|
|
@@ -285,7 +285,7 @@ export declare const actionZoomIn: {
|
|
|
285
285
|
rawText: string;
|
|
286
286
|
};
|
|
287
287
|
defaultSidebarDockedPreference: boolean;
|
|
288
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
288
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
289
289
|
selectedElementIds: Readonly<{
|
|
290
290
|
[id: string]: true;
|
|
291
291
|
}>;
|
|
@@ -303,7 +303,7 @@ export declare const actionZoomIn: {
|
|
|
303
303
|
duration?: number;
|
|
304
304
|
} | null;
|
|
305
305
|
zenModeEnabled: boolean;
|
|
306
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
306
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
307
307
|
gridSize: number;
|
|
308
308
|
gridStep: number;
|
|
309
309
|
gridModeEnabled: boolean;
|
|
@@ -311,7 +311,7 @@ export declare const actionZoomIn: {
|
|
|
311
311
|
selectedGroupIds: {
|
|
312
312
|
[groupId: string]: boolean;
|
|
313
313
|
};
|
|
314
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
314
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
315
315
|
width: number;
|
|
316
316
|
height: number;
|
|
317
317
|
offsetTop: number;
|
|
@@ -323,7 +323,7 @@ export declare const actionZoomIn: {
|
|
|
323
323
|
panels: number;
|
|
324
324
|
};
|
|
325
325
|
showHyperlinkPopup: false | "info" | "editor";
|
|
326
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
326
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
327
327
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
328
328
|
originSnapOffset: {
|
|
329
329
|
x: number;
|
|
@@ -341,7 +341,7 @@ export declare const actionZoomIn: {
|
|
|
341
341
|
lockedMultiSelections: {
|
|
342
342
|
[groupId: string]: true;
|
|
343
343
|
};
|
|
344
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
344
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
345
345
|
};
|
|
346
346
|
captureUpdate: "EVENTUALLY";
|
|
347
347
|
};
|
|
@@ -358,7 +358,7 @@ export declare const actionZoomOut: {
|
|
|
358
358
|
trackEvent: {
|
|
359
359
|
category: "canvas";
|
|
360
360
|
};
|
|
361
|
-
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
361
|
+
perform: (_elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
362
362
|
appState: {
|
|
363
363
|
userToFollow: null;
|
|
364
364
|
scrollX: number;
|
|
@@ -375,23 +375,23 @@ export declare const actionZoomOut: {
|
|
|
375
375
|
isLoading: boolean;
|
|
376
376
|
errorMessage: React.ReactNode;
|
|
377
377
|
activeEmbeddable: {
|
|
378
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
378
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
379
379
|
state: "hover" | "active";
|
|
380
380
|
} | null;
|
|
381
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
382
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
383
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
384
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
381
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
382
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
383
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
384
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
385
385
|
isBindingEnabled: boolean;
|
|
386
386
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
387
387
|
bindingPreference: "enabled" | "disabled";
|
|
388
388
|
isMidpointSnappingEnabled: boolean;
|
|
389
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
389
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
390
390
|
suggestedBinding: {
|
|
391
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
392
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
391
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
392
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
393
393
|
} | null;
|
|
394
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
394
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
395
395
|
frameRendering: {
|
|
396
396
|
enabled: boolean;
|
|
397
397
|
name: boolean;
|
|
@@ -399,8 +399,8 @@ export declare const actionZoomOut: {
|
|
|
399
399
|
clip: boolean;
|
|
400
400
|
};
|
|
401
401
|
editingFrame: string | null;
|
|
402
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
403
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
402
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
403
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
404
404
|
activeTool: {
|
|
405
405
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
406
406
|
locked: boolean;
|
|
@@ -423,13 +423,13 @@ export declare const actionZoomOut: {
|
|
|
423
423
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
424
424
|
currentItemRoughness: number;
|
|
425
425
|
currentItemOpacity: number;
|
|
426
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
426
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
427
427
|
currentItemFontSize: number;
|
|
428
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
429
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
430
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
431
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
432
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
428
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
429
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
430
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
431
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
432
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
433
433
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
434
434
|
viewBackgroundColor: string;
|
|
435
435
|
cursorButton: "up" | "down";
|
|
@@ -461,7 +461,7 @@ export declare const actionZoomOut: {
|
|
|
461
461
|
rawText: string;
|
|
462
462
|
};
|
|
463
463
|
defaultSidebarDockedPreference: boolean;
|
|
464
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
464
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
465
465
|
selectedElementIds: Readonly<{
|
|
466
466
|
[id: string]: true;
|
|
467
467
|
}>;
|
|
@@ -479,7 +479,7 @@ export declare const actionZoomOut: {
|
|
|
479
479
|
duration?: number;
|
|
480
480
|
} | null;
|
|
481
481
|
zenModeEnabled: boolean;
|
|
482
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
482
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
483
483
|
gridSize: number;
|
|
484
484
|
gridStep: number;
|
|
485
485
|
gridModeEnabled: boolean;
|
|
@@ -487,7 +487,7 @@ export declare const actionZoomOut: {
|
|
|
487
487
|
selectedGroupIds: {
|
|
488
488
|
[groupId: string]: boolean;
|
|
489
489
|
};
|
|
490
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
490
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
491
491
|
width: number;
|
|
492
492
|
height: number;
|
|
493
493
|
offsetTop: number;
|
|
@@ -499,7 +499,7 @@ export declare const actionZoomOut: {
|
|
|
499
499
|
panels: number;
|
|
500
500
|
};
|
|
501
501
|
showHyperlinkPopup: false | "info" | "editor";
|
|
502
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
502
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
503
503
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
504
504
|
originSnapOffset: {
|
|
505
505
|
x: number;
|
|
@@ -517,7 +517,7 @@ export declare const actionZoomOut: {
|
|
|
517
517
|
lockedMultiSelections: {
|
|
518
518
|
[groupId: string]: true;
|
|
519
519
|
};
|
|
520
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
520
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
521
521
|
};
|
|
522
522
|
captureUpdate: "EVENTUALLY";
|
|
523
523
|
};
|
|
@@ -534,7 +534,7 @@ export declare const actionResetZoom: {
|
|
|
534
534
|
trackEvent: {
|
|
535
535
|
category: "canvas";
|
|
536
536
|
};
|
|
537
|
-
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
537
|
+
perform: (_elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
538
538
|
appState: {
|
|
539
539
|
userToFollow: null;
|
|
540
540
|
scrollX: number;
|
|
@@ -551,23 +551,23 @@ export declare const actionResetZoom: {
|
|
|
551
551
|
isLoading: boolean;
|
|
552
552
|
errorMessage: React.ReactNode;
|
|
553
553
|
activeEmbeddable: {
|
|
554
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
554
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
555
555
|
state: "hover" | "active";
|
|
556
556
|
} | null;
|
|
557
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
558
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
559
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
560
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
557
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
558
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
559
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
560
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
561
561
|
isBindingEnabled: boolean;
|
|
562
562
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
563
563
|
bindingPreference: "enabled" | "disabled";
|
|
564
564
|
isMidpointSnappingEnabled: boolean;
|
|
565
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
565
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
566
566
|
suggestedBinding: {
|
|
567
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
568
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
567
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
568
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
569
569
|
} | null;
|
|
570
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
570
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
571
571
|
frameRendering: {
|
|
572
572
|
enabled: boolean;
|
|
573
573
|
name: boolean;
|
|
@@ -575,8 +575,8 @@ export declare const actionResetZoom: {
|
|
|
575
575
|
clip: boolean;
|
|
576
576
|
};
|
|
577
577
|
editingFrame: string | null;
|
|
578
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
579
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
578
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
579
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
580
580
|
activeTool: {
|
|
581
581
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
582
582
|
locked: boolean;
|
|
@@ -599,13 +599,13 @@ export declare const actionResetZoom: {
|
|
|
599
599
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
600
600
|
currentItemRoughness: number;
|
|
601
601
|
currentItemOpacity: number;
|
|
602
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
602
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
603
603
|
currentItemFontSize: number;
|
|
604
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
605
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
606
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
607
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
608
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
604
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
605
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
606
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
607
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
608
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
609
609
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
610
610
|
viewBackgroundColor: string;
|
|
611
611
|
cursorButton: "up" | "down";
|
|
@@ -637,7 +637,7 @@ export declare const actionResetZoom: {
|
|
|
637
637
|
rawText: string;
|
|
638
638
|
};
|
|
639
639
|
defaultSidebarDockedPreference: boolean;
|
|
640
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
640
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
641
641
|
selectedElementIds: Readonly<{
|
|
642
642
|
[id: string]: true;
|
|
643
643
|
}>;
|
|
@@ -655,7 +655,7 @@ export declare const actionResetZoom: {
|
|
|
655
655
|
duration?: number;
|
|
656
656
|
} | null;
|
|
657
657
|
zenModeEnabled: boolean;
|
|
658
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
658
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
659
659
|
gridSize: number;
|
|
660
660
|
gridStep: number;
|
|
661
661
|
gridModeEnabled: boolean;
|
|
@@ -663,7 +663,7 @@ export declare const actionResetZoom: {
|
|
|
663
663
|
selectedGroupIds: {
|
|
664
664
|
[groupId: string]: boolean;
|
|
665
665
|
};
|
|
666
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
666
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
667
667
|
width: number;
|
|
668
668
|
height: number;
|
|
669
669
|
offsetTop: number;
|
|
@@ -675,7 +675,7 @@ export declare const actionResetZoom: {
|
|
|
675
675
|
panels: number;
|
|
676
676
|
};
|
|
677
677
|
showHyperlinkPopup: false | "info" | "editor";
|
|
678
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
678
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
679
679
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
680
680
|
originSnapOffset: {
|
|
681
681
|
x: number;
|
|
@@ -693,7 +693,7 @@ export declare const actionResetZoom: {
|
|
|
693
693
|
lockedMultiSelections: {
|
|
694
694
|
[groupId: string]: true;
|
|
695
695
|
};
|
|
696
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
696
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
697
697
|
};
|
|
698
698
|
captureUpdate: "EVENTUALLY";
|
|
699
699
|
};
|
|
@@ -728,23 +728,23 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
728
728
|
isLoading: boolean;
|
|
729
729
|
errorMessage: React.ReactNode;
|
|
730
730
|
activeEmbeddable: {
|
|
731
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
731
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
732
732
|
state: "hover" | "active";
|
|
733
733
|
} | null;
|
|
734
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
735
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
736
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
737
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
734
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
735
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
736
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
737
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
738
738
|
isBindingEnabled: boolean;
|
|
739
739
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
740
740
|
bindingPreference: "enabled" | "disabled";
|
|
741
741
|
isMidpointSnappingEnabled: boolean;
|
|
742
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
742
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
743
743
|
suggestedBinding: {
|
|
744
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
745
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
744
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
745
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
746
746
|
} | null;
|
|
747
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
747
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
748
748
|
frameRendering: {
|
|
749
749
|
enabled: boolean;
|
|
750
750
|
name: boolean;
|
|
@@ -752,8 +752,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
752
752
|
clip: boolean;
|
|
753
753
|
};
|
|
754
754
|
editingFrame: string | null;
|
|
755
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
756
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
755
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
756
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
757
757
|
activeTool: {
|
|
758
758
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
759
759
|
locked: boolean;
|
|
@@ -776,13 +776,13 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
776
776
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
777
777
|
currentItemRoughness: number;
|
|
778
778
|
currentItemOpacity: number;
|
|
779
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
779
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
780
780
|
currentItemFontSize: number;
|
|
781
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
782
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
783
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
784
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
785
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
781
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
782
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
783
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
784
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
785
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
786
786
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
787
787
|
viewBackgroundColor: string;
|
|
788
788
|
cursorButton: "up" | "down";
|
|
@@ -814,7 +814,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
814
814
|
rawText: string;
|
|
815
815
|
};
|
|
816
816
|
defaultSidebarDockedPreference: boolean;
|
|
817
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
817
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
818
818
|
selectedElementIds: Readonly<{
|
|
819
819
|
[id: string]: true;
|
|
820
820
|
}>;
|
|
@@ -832,7 +832,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
832
832
|
duration?: number;
|
|
833
833
|
} | null;
|
|
834
834
|
zenModeEnabled: boolean;
|
|
835
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
835
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
836
836
|
gridSize: number;
|
|
837
837
|
gridStep: number;
|
|
838
838
|
gridModeEnabled: boolean;
|
|
@@ -840,7 +840,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
840
840
|
selectedGroupIds: {
|
|
841
841
|
[groupId: string]: boolean;
|
|
842
842
|
};
|
|
843
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
843
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
844
844
|
width: number;
|
|
845
845
|
height: number;
|
|
846
846
|
offsetTop: number;
|
|
@@ -852,7 +852,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
852
852
|
panels: number;
|
|
853
853
|
};
|
|
854
854
|
showHyperlinkPopup: false | "info" | "editor";
|
|
855
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
855
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
856
856
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
857
857
|
originSnapOffset: {
|
|
858
858
|
x: number;
|
|
@@ -871,7 +871,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
871
871
|
lockedMultiSelections: {
|
|
872
872
|
[groupId: string]: true;
|
|
873
873
|
};
|
|
874
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
874
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
875
875
|
};
|
|
876
876
|
captureUpdate: "EVENTUALLY";
|
|
877
877
|
};
|
|
@@ -901,23 +901,23 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
901
901
|
isLoading: boolean;
|
|
902
902
|
errorMessage: React.ReactNode;
|
|
903
903
|
activeEmbeddable: {
|
|
904
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
904
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
905
905
|
state: "hover" | "active";
|
|
906
906
|
} | null;
|
|
907
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
908
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
909
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
910
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
907
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
908
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
909
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
910
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
911
911
|
isBindingEnabled: boolean;
|
|
912
912
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
913
913
|
bindingPreference: "enabled" | "disabled";
|
|
914
914
|
isMidpointSnappingEnabled: boolean;
|
|
915
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
915
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
916
916
|
suggestedBinding: {
|
|
917
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
918
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
917
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
918
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
919
919
|
} | null;
|
|
920
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
920
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
921
921
|
frameRendering: {
|
|
922
922
|
enabled: boolean;
|
|
923
923
|
name: boolean;
|
|
@@ -925,8 +925,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
925
925
|
clip: boolean;
|
|
926
926
|
};
|
|
927
927
|
editingFrame: string | null;
|
|
928
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
929
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
928
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
929
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
930
930
|
activeTool: {
|
|
931
931
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
932
932
|
locked: boolean;
|
|
@@ -949,13 +949,13 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
949
949
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
950
950
|
currentItemRoughness: number;
|
|
951
951
|
currentItemOpacity: number;
|
|
952
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
952
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
953
953
|
currentItemFontSize: number;
|
|
954
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
955
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
956
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
957
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
958
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
954
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
955
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
956
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
957
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
958
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
959
959
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
960
960
|
viewBackgroundColor: string;
|
|
961
961
|
cursorButton: "up" | "down";
|
|
@@ -987,7 +987,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
987
987
|
rawText: string;
|
|
988
988
|
};
|
|
989
989
|
defaultSidebarDockedPreference: boolean;
|
|
990
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
990
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
991
991
|
selectedElementIds: Readonly<{
|
|
992
992
|
[id: string]: true;
|
|
993
993
|
}>;
|
|
@@ -1005,7 +1005,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1005
1005
|
duration?: number;
|
|
1006
1006
|
} | null;
|
|
1007
1007
|
zenModeEnabled: boolean;
|
|
1008
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
1008
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
1009
1009
|
gridSize: number;
|
|
1010
1010
|
gridStep: number;
|
|
1011
1011
|
gridModeEnabled: boolean;
|
|
@@ -1013,7 +1013,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1013
1013
|
selectedGroupIds: {
|
|
1014
1014
|
[groupId: string]: boolean;
|
|
1015
1015
|
};
|
|
1016
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
1016
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
1017
1017
|
width: number;
|
|
1018
1018
|
height: number;
|
|
1019
1019
|
offsetTop: number;
|
|
@@ -1025,7 +1025,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1025
1025
|
panels: number;
|
|
1026
1026
|
};
|
|
1027
1027
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1028
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1028
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
1029
1029
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1030
1030
|
originSnapOffset: {
|
|
1031
1031
|
x: number;
|
|
@@ -1044,7 +1044,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1044
1044
|
lockedMultiSelections: {
|
|
1045
1045
|
[groupId: string]: true;
|
|
1046
1046
|
};
|
|
1047
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
1047
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
1048
1048
|
};
|
|
1049
1049
|
captureUpdate: "EVENTUALLY";
|
|
1050
1050
|
};
|
|
@@ -1055,7 +1055,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1055
1055
|
trackEvent: {
|
|
1056
1056
|
category: "canvas";
|
|
1057
1057
|
};
|
|
1058
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1058
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1059
1059
|
appState: {
|
|
1060
1060
|
scrollX: number;
|
|
1061
1061
|
scrollY: number;
|
|
@@ -1071,23 +1071,23 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1071
1071
|
isLoading: boolean;
|
|
1072
1072
|
errorMessage: React.ReactNode;
|
|
1073
1073
|
activeEmbeddable: {
|
|
1074
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1074
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1075
1075
|
state: "hover" | "active";
|
|
1076
1076
|
} | null;
|
|
1077
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1078
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1079
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1080
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1077
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1078
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1079
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1080
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1081
1081
|
isBindingEnabled: boolean;
|
|
1082
1082
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
1083
1083
|
bindingPreference: "enabled" | "disabled";
|
|
1084
1084
|
isMidpointSnappingEnabled: boolean;
|
|
1085
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1085
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1086
1086
|
suggestedBinding: {
|
|
1087
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1088
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1087
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1088
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
1089
1089
|
} | null;
|
|
1090
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1090
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1091
1091
|
frameRendering: {
|
|
1092
1092
|
enabled: boolean;
|
|
1093
1093
|
name: boolean;
|
|
@@ -1095,8 +1095,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1095
1095
|
clip: boolean;
|
|
1096
1096
|
};
|
|
1097
1097
|
editingFrame: string | null;
|
|
1098
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1099
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
1098
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1099
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
1100
1100
|
activeTool: {
|
|
1101
1101
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1102
1102
|
locked: boolean;
|
|
@@ -1119,13 +1119,13 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1119
1119
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
1120
1120
|
currentItemRoughness: number;
|
|
1121
1121
|
currentItemOpacity: number;
|
|
1122
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1122
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
1123
1123
|
currentItemFontSize: number;
|
|
1124
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
1125
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1126
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1127
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
1128
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1124
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
1125
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
1126
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
1127
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
1128
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
1129
1129
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1130
1130
|
viewBackgroundColor: string;
|
|
1131
1131
|
cursorButton: "up" | "down";
|
|
@@ -1157,7 +1157,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1157
1157
|
rawText: string;
|
|
1158
1158
|
};
|
|
1159
1159
|
defaultSidebarDockedPreference: boolean;
|
|
1160
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1160
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
1161
1161
|
selectedElementIds: Readonly<{
|
|
1162
1162
|
[id: string]: true;
|
|
1163
1163
|
}>;
|
|
@@ -1175,7 +1175,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1175
1175
|
duration?: number;
|
|
1176
1176
|
} | null;
|
|
1177
1177
|
zenModeEnabled: boolean;
|
|
1178
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
1178
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
1179
1179
|
gridSize: number;
|
|
1180
1180
|
gridStep: number;
|
|
1181
1181
|
gridModeEnabled: boolean;
|
|
@@ -1183,7 +1183,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1183
1183
|
selectedGroupIds: {
|
|
1184
1184
|
[groupId: string]: boolean;
|
|
1185
1185
|
};
|
|
1186
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
1186
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
1187
1187
|
width: number;
|
|
1188
1188
|
height: number;
|
|
1189
1189
|
offsetTop: number;
|
|
@@ -1195,7 +1195,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1195
1195
|
panels: number;
|
|
1196
1196
|
};
|
|
1197
1197
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1198
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1198
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
1199
1199
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1200
1200
|
originSnapOffset: {
|
|
1201
1201
|
x: number;
|
|
@@ -1214,7 +1214,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1214
1214
|
lockedMultiSelections: {
|
|
1215
1215
|
[groupId: string]: true;
|
|
1216
1216
|
};
|
|
1217
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
1217
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
1218
1218
|
};
|
|
1219
1219
|
captureUpdate: "EVENTUALLY";
|
|
1220
1220
|
};
|
|
@@ -1229,7 +1229,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1229
1229
|
trackEvent: {
|
|
1230
1230
|
category: "canvas";
|
|
1231
1231
|
};
|
|
1232
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1232
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1233
1233
|
appState: {
|
|
1234
1234
|
scrollX: number;
|
|
1235
1235
|
scrollY: number;
|
|
@@ -1245,23 +1245,23 @@ export declare const actionZoomToFitSelection: {
|
|
|
1245
1245
|
isLoading: boolean;
|
|
1246
1246
|
errorMessage: React.ReactNode;
|
|
1247
1247
|
activeEmbeddable: {
|
|
1248
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1248
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1249
1249
|
state: "hover" | "active";
|
|
1250
1250
|
} | null;
|
|
1251
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1252
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1253
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1254
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1251
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1252
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1253
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1254
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1255
1255
|
isBindingEnabled: boolean;
|
|
1256
1256
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
1257
1257
|
bindingPreference: "enabled" | "disabled";
|
|
1258
1258
|
isMidpointSnappingEnabled: boolean;
|
|
1259
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1259
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1260
1260
|
suggestedBinding: {
|
|
1261
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1262
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1261
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1262
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
1263
1263
|
} | null;
|
|
1264
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1264
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1265
1265
|
frameRendering: {
|
|
1266
1266
|
enabled: boolean;
|
|
1267
1267
|
name: boolean;
|
|
@@ -1269,8 +1269,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
1269
1269
|
clip: boolean;
|
|
1270
1270
|
};
|
|
1271
1271
|
editingFrame: string | null;
|
|
1272
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1273
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
1272
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1273
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
1274
1274
|
activeTool: {
|
|
1275
1275
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1276
1276
|
locked: boolean;
|
|
@@ -1293,13 +1293,13 @@ export declare const actionZoomToFitSelection: {
|
|
|
1293
1293
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
1294
1294
|
currentItemRoughness: number;
|
|
1295
1295
|
currentItemOpacity: number;
|
|
1296
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1296
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
1297
1297
|
currentItemFontSize: number;
|
|
1298
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
1299
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1300
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1301
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
1302
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1298
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
1299
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
1300
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
1301
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
1302
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
1303
1303
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1304
1304
|
viewBackgroundColor: string;
|
|
1305
1305
|
cursorButton: "up" | "down";
|
|
@@ -1331,7 +1331,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1331
1331
|
rawText: string;
|
|
1332
1332
|
};
|
|
1333
1333
|
defaultSidebarDockedPreference: boolean;
|
|
1334
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1334
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
1335
1335
|
selectedElementIds: Readonly<{
|
|
1336
1336
|
[id: string]: true;
|
|
1337
1337
|
}>;
|
|
@@ -1349,7 +1349,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1349
1349
|
duration?: number;
|
|
1350
1350
|
} | null;
|
|
1351
1351
|
zenModeEnabled: boolean;
|
|
1352
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
1352
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
1353
1353
|
gridSize: number;
|
|
1354
1354
|
gridStep: number;
|
|
1355
1355
|
gridModeEnabled: boolean;
|
|
@@ -1357,7 +1357,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1357
1357
|
selectedGroupIds: {
|
|
1358
1358
|
[groupId: string]: boolean;
|
|
1359
1359
|
};
|
|
1360
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
1360
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
1361
1361
|
width: number;
|
|
1362
1362
|
height: number;
|
|
1363
1363
|
offsetTop: number;
|
|
@@ -1369,7 +1369,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1369
1369
|
panels: number;
|
|
1370
1370
|
};
|
|
1371
1371
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1372
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1372
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
1373
1373
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1374
1374
|
originSnapOffset: {
|
|
1375
1375
|
x: number;
|
|
@@ -1388,7 +1388,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1388
1388
|
lockedMultiSelections: {
|
|
1389
1389
|
[groupId: string]: true;
|
|
1390
1390
|
};
|
|
1391
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
1391
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
1392
1392
|
};
|
|
1393
1393
|
captureUpdate: "EVENTUALLY";
|
|
1394
1394
|
};
|
|
@@ -1404,7 +1404,7 @@ export declare const actionZoomToFit: {
|
|
|
1404
1404
|
trackEvent: {
|
|
1405
1405
|
category: "canvas";
|
|
1406
1406
|
};
|
|
1407
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1407
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1408
1408
|
appState: {
|
|
1409
1409
|
scrollX: number;
|
|
1410
1410
|
scrollY: number;
|
|
@@ -1420,23 +1420,23 @@ export declare const actionZoomToFit: {
|
|
|
1420
1420
|
isLoading: boolean;
|
|
1421
1421
|
errorMessage: React.ReactNode;
|
|
1422
1422
|
activeEmbeddable: {
|
|
1423
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1423
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1424
1424
|
state: "hover" | "active";
|
|
1425
1425
|
} | null;
|
|
1426
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1427
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1428
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1429
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1426
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1427
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1428
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1429
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1430
1430
|
isBindingEnabled: boolean;
|
|
1431
1431
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
1432
1432
|
bindingPreference: "enabled" | "disabled";
|
|
1433
1433
|
isMidpointSnappingEnabled: boolean;
|
|
1434
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1434
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1435
1435
|
suggestedBinding: {
|
|
1436
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1437
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1436
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1437
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
1438
1438
|
} | null;
|
|
1439
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1439
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1440
1440
|
frameRendering: {
|
|
1441
1441
|
enabled: boolean;
|
|
1442
1442
|
name: boolean;
|
|
@@ -1444,8 +1444,8 @@ export declare const actionZoomToFit: {
|
|
|
1444
1444
|
clip: boolean;
|
|
1445
1445
|
};
|
|
1446
1446
|
editingFrame: string | null;
|
|
1447
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1448
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
1447
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1448
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
1449
1449
|
activeTool: {
|
|
1450
1450
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1451
1451
|
locked: boolean;
|
|
@@ -1468,13 +1468,13 @@ export declare const actionZoomToFit: {
|
|
|
1468
1468
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
1469
1469
|
currentItemRoughness: number;
|
|
1470
1470
|
currentItemOpacity: number;
|
|
1471
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1471
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
1472
1472
|
currentItemFontSize: number;
|
|
1473
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
1474
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1475
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1476
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
1477
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1473
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
1474
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
1475
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
1476
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
1477
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
1478
1478
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1479
1479
|
viewBackgroundColor: string;
|
|
1480
1480
|
cursorButton: "up" | "down";
|
|
@@ -1506,7 +1506,7 @@ export declare const actionZoomToFit: {
|
|
|
1506
1506
|
rawText: string;
|
|
1507
1507
|
};
|
|
1508
1508
|
defaultSidebarDockedPreference: boolean;
|
|
1509
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1509
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
1510
1510
|
selectedElementIds: Readonly<{
|
|
1511
1511
|
[id: string]: true;
|
|
1512
1512
|
}>;
|
|
@@ -1524,7 +1524,7 @@ export declare const actionZoomToFit: {
|
|
|
1524
1524
|
duration?: number;
|
|
1525
1525
|
} | null;
|
|
1526
1526
|
zenModeEnabled: boolean;
|
|
1527
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
1527
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
1528
1528
|
gridSize: number;
|
|
1529
1529
|
gridStep: number;
|
|
1530
1530
|
gridModeEnabled: boolean;
|
|
@@ -1532,7 +1532,7 @@ export declare const actionZoomToFit: {
|
|
|
1532
1532
|
selectedGroupIds: {
|
|
1533
1533
|
[groupId: string]: boolean;
|
|
1534
1534
|
};
|
|
1535
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
1535
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
1536
1536
|
width: number;
|
|
1537
1537
|
height: number;
|
|
1538
1538
|
offsetTop: number;
|
|
@@ -1544,7 +1544,7 @@ export declare const actionZoomToFit: {
|
|
|
1544
1544
|
panels: number;
|
|
1545
1545
|
};
|
|
1546
1546
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1547
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1547
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
1548
1548
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1549
1549
|
originSnapOffset: {
|
|
1550
1550
|
x: number;
|
|
@@ -1563,7 +1563,7 @@ export declare const actionZoomToFit: {
|
|
|
1563
1563
|
lockedMultiSelections: {
|
|
1564
1564
|
[groupId: string]: true;
|
|
1565
1565
|
};
|
|
1566
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
1566
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
1567
1567
|
};
|
|
1568
1568
|
captureUpdate: "EVENTUALLY";
|
|
1569
1569
|
};
|
|
@@ -1571,7 +1571,7 @@ export declare const actionZoomToFit: {
|
|
|
1571
1571
|
} & {
|
|
1572
1572
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1573
1573
|
};
|
|
1574
|
-
export declare const actionToggleTheme: import("./types").Action<import("@excalidraw/element/types").Theme> & {
|
|
1574
|
+
export declare const actionToggleTheme: import("./types").Action<import("@nous-excalidraw/element/types").Theme> & {
|
|
1575
1575
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
1576
1576
|
};
|
|
1577
1577
|
export declare const actionToggleEraserTool: {
|
|
@@ -1580,7 +1580,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1580
1580
|
trackEvent: {
|
|
1581
1581
|
category: "toolbar";
|
|
1582
1582
|
};
|
|
1583
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1583
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1584
1584
|
appState: {
|
|
1585
1585
|
selectedElementIds: {};
|
|
1586
1586
|
selectedGroupIds: {};
|
|
@@ -1598,20 +1598,20 @@ export declare const actionToggleEraserTool: {
|
|
|
1598
1598
|
showWelcomeScreen: boolean;
|
|
1599
1599
|
isLoading: boolean;
|
|
1600
1600
|
errorMessage: React.ReactNode;
|
|
1601
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1602
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1603
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1604
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1601
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1602
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1603
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1604
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1605
1605
|
isBindingEnabled: boolean;
|
|
1606
1606
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
1607
1607
|
bindingPreference: "enabled" | "disabled";
|
|
1608
1608
|
isMidpointSnappingEnabled: boolean;
|
|
1609
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1609
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1610
1610
|
suggestedBinding: {
|
|
1611
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1612
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1611
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1612
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
1613
1613
|
} | null;
|
|
1614
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1614
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1615
1615
|
frameRendering: {
|
|
1616
1616
|
enabled: boolean;
|
|
1617
1617
|
name: boolean;
|
|
@@ -1619,8 +1619,8 @@ export declare const actionToggleEraserTool: {
|
|
|
1619
1619
|
clip: boolean;
|
|
1620
1620
|
};
|
|
1621
1621
|
editingFrame: string | null;
|
|
1622
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1623
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
1622
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1623
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
1624
1624
|
preferredSelectionTool: {
|
|
1625
1625
|
type: "selection" | "lasso";
|
|
1626
1626
|
initialized: boolean;
|
|
@@ -1638,13 +1638,13 @@ export declare const actionToggleEraserTool: {
|
|
|
1638
1638
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
1639
1639
|
currentItemRoughness: number;
|
|
1640
1640
|
currentItemOpacity: number;
|
|
1641
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1641
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
1642
1642
|
currentItemFontSize: number;
|
|
1643
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
1644
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1645
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1646
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
1647
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1643
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
1644
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
1645
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
1646
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
1647
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
1648
1648
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1649
1649
|
viewBackgroundColor: string;
|
|
1650
1650
|
scrollX: number;
|
|
@@ -1679,7 +1679,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1679
1679
|
rawText: string;
|
|
1680
1680
|
};
|
|
1681
1681
|
defaultSidebarDockedPreference: boolean;
|
|
1682
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1682
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
1683
1683
|
hoveredElementIds: Readonly<{
|
|
1684
1684
|
[id: string]: true;
|
|
1685
1685
|
}>;
|
|
@@ -1694,12 +1694,12 @@ export declare const actionToggleEraserTool: {
|
|
|
1694
1694
|
duration?: number;
|
|
1695
1695
|
} | null;
|
|
1696
1696
|
zenModeEnabled: boolean;
|
|
1697
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
1697
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
1698
1698
|
gridSize: number;
|
|
1699
1699
|
gridStep: number;
|
|
1700
1700
|
gridModeEnabled: boolean;
|
|
1701
1701
|
viewModeEnabled: boolean;
|
|
1702
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
1702
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
1703
1703
|
width: number;
|
|
1704
1704
|
height: number;
|
|
1705
1705
|
offsetTop: number;
|
|
@@ -1711,7 +1711,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1711
1711
|
panels: number;
|
|
1712
1712
|
};
|
|
1713
1713
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1714
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1714
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
1715
1715
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1716
1716
|
originSnapOffset: {
|
|
1717
1717
|
x: number;
|
|
@@ -1730,7 +1730,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1730
1730
|
lockedMultiSelections: {
|
|
1731
1731
|
[groupId: string]: true;
|
|
1732
1732
|
};
|
|
1733
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
1733
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
1734
1734
|
};
|
|
1735
1735
|
captureUpdate: "IMMEDIATELY";
|
|
1736
1736
|
};
|
|
@@ -1746,7 +1746,7 @@ export declare const actionToggleLassoTool: {
|
|
|
1746
1746
|
category: "toolbar";
|
|
1747
1747
|
};
|
|
1748
1748
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
1749
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1749
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1750
1750
|
appState: {
|
|
1751
1751
|
selectedElementIds: {};
|
|
1752
1752
|
selectedGroupIds: {};
|
|
@@ -1764,20 +1764,20 @@ export declare const actionToggleLassoTool: {
|
|
|
1764
1764
|
showWelcomeScreen: boolean;
|
|
1765
1765
|
isLoading: boolean;
|
|
1766
1766
|
errorMessage: React.ReactNode;
|
|
1767
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1768
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1769
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1770
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1767
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1768
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1769
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1770
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1771
1771
|
isBindingEnabled: boolean;
|
|
1772
1772
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
1773
1773
|
bindingPreference: "enabled" | "disabled";
|
|
1774
1774
|
isMidpointSnappingEnabled: boolean;
|
|
1775
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1775
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1776
1776
|
suggestedBinding: {
|
|
1777
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1778
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1777
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1778
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
1779
1779
|
} | null;
|
|
1780
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1780
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1781
1781
|
frameRendering: {
|
|
1782
1782
|
enabled: boolean;
|
|
1783
1783
|
name: boolean;
|
|
@@ -1785,8 +1785,8 @@ export declare const actionToggleLassoTool: {
|
|
|
1785
1785
|
clip: boolean;
|
|
1786
1786
|
};
|
|
1787
1787
|
editingFrame: string | null;
|
|
1788
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1789
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
1788
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1789
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
1790
1790
|
preferredSelectionTool: {
|
|
1791
1791
|
type: "selection" | "lasso";
|
|
1792
1792
|
initialized: boolean;
|
|
@@ -1804,13 +1804,13 @@ export declare const actionToggleLassoTool: {
|
|
|
1804
1804
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
1805
1805
|
currentItemRoughness: number;
|
|
1806
1806
|
currentItemOpacity: number;
|
|
1807
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1807
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
1808
1808
|
currentItemFontSize: number;
|
|
1809
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
1810
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1811
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1812
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
1813
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1809
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
1810
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
1811
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
1812
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
1813
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
1814
1814
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1815
1815
|
viewBackgroundColor: string;
|
|
1816
1816
|
scrollX: number;
|
|
@@ -1845,7 +1845,7 @@ export declare const actionToggleLassoTool: {
|
|
|
1845
1845
|
rawText: string;
|
|
1846
1846
|
};
|
|
1847
1847
|
defaultSidebarDockedPreference: boolean;
|
|
1848
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1848
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
1849
1849
|
hoveredElementIds: Readonly<{
|
|
1850
1850
|
[id: string]: true;
|
|
1851
1851
|
}>;
|
|
@@ -1860,12 +1860,12 @@ export declare const actionToggleLassoTool: {
|
|
|
1860
1860
|
duration?: number;
|
|
1861
1861
|
} | null;
|
|
1862
1862
|
zenModeEnabled: boolean;
|
|
1863
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
1863
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
1864
1864
|
gridSize: number;
|
|
1865
1865
|
gridStep: number;
|
|
1866
1866
|
gridModeEnabled: boolean;
|
|
1867
1867
|
viewModeEnabled: boolean;
|
|
1868
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
1868
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
1869
1869
|
width: number;
|
|
1870
1870
|
height: number;
|
|
1871
1871
|
offsetTop: number;
|
|
@@ -1877,7 +1877,7 @@ export declare const actionToggleLassoTool: {
|
|
|
1877
1877
|
panels: number;
|
|
1878
1878
|
};
|
|
1879
1879
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1880
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1880
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
1881
1881
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1882
1882
|
originSnapOffset: {
|
|
1883
1883
|
x: number;
|
|
@@ -1896,7 +1896,7 @@ export declare const actionToggleLassoTool: {
|
|
|
1896
1896
|
lockedMultiSelections: {
|
|
1897
1897
|
[groupId: string]: true;
|
|
1898
1898
|
};
|
|
1899
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
1899
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
1900
1900
|
};
|
|
1901
1901
|
captureUpdate: "NEVER";
|
|
1902
1902
|
};
|
|
@@ -1911,7 +1911,7 @@ export declare const actionToggleHandTool: {
|
|
|
1911
1911
|
};
|
|
1912
1912
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
1913
1913
|
viewMode: false;
|
|
1914
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1914
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1915
1915
|
appState: {
|
|
1916
1916
|
selectedElementIds: {};
|
|
1917
1917
|
selectedGroupIds: {};
|
|
@@ -1929,20 +1929,20 @@ export declare const actionToggleHandTool: {
|
|
|
1929
1929
|
showWelcomeScreen: boolean;
|
|
1930
1930
|
isLoading: boolean;
|
|
1931
1931
|
errorMessage: React.ReactNode;
|
|
1932
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1933
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1934
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1935
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1932
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1933
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1934
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1935
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1936
1936
|
isBindingEnabled: boolean;
|
|
1937
1937
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
1938
1938
|
bindingPreference: "enabled" | "disabled";
|
|
1939
1939
|
isMidpointSnappingEnabled: boolean;
|
|
1940
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1940
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1941
1941
|
suggestedBinding: {
|
|
1942
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1943
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1942
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1943
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
1944
1944
|
} | null;
|
|
1945
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1945
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1946
1946
|
frameRendering: {
|
|
1947
1947
|
enabled: boolean;
|
|
1948
1948
|
name: boolean;
|
|
@@ -1950,8 +1950,8 @@ export declare const actionToggleHandTool: {
|
|
|
1950
1950
|
clip: boolean;
|
|
1951
1951
|
};
|
|
1952
1952
|
editingFrame: string | null;
|
|
1953
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1954
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
1953
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1954
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
1955
1955
|
preferredSelectionTool: {
|
|
1956
1956
|
type: "selection" | "lasso";
|
|
1957
1957
|
initialized: boolean;
|
|
@@ -1969,13 +1969,13 @@ export declare const actionToggleHandTool: {
|
|
|
1969
1969
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
1970
1970
|
currentItemRoughness: number;
|
|
1971
1971
|
currentItemOpacity: number;
|
|
1972
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1972
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
1973
1973
|
currentItemFontSize: number;
|
|
1974
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
1975
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1976
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1977
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
1978
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1974
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
1975
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
1976
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
1977
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
1978
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
1979
1979
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1980
1980
|
viewBackgroundColor: string;
|
|
1981
1981
|
scrollX: number;
|
|
@@ -2010,7 +2010,7 @@ export declare const actionToggleHandTool: {
|
|
|
2010
2010
|
rawText: string;
|
|
2011
2011
|
};
|
|
2012
2012
|
defaultSidebarDockedPreference: boolean;
|
|
2013
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
2013
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
2014
2014
|
hoveredElementIds: Readonly<{
|
|
2015
2015
|
[id: string]: true;
|
|
2016
2016
|
}>;
|
|
@@ -2025,12 +2025,12 @@ export declare const actionToggleHandTool: {
|
|
|
2025
2025
|
duration?: number;
|
|
2026
2026
|
} | null;
|
|
2027
2027
|
zenModeEnabled: boolean;
|
|
2028
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
2028
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
2029
2029
|
gridSize: number;
|
|
2030
2030
|
gridStep: number;
|
|
2031
2031
|
gridModeEnabled: boolean;
|
|
2032
2032
|
viewModeEnabled: boolean;
|
|
2033
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
2033
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
2034
2034
|
width: number;
|
|
2035
2035
|
height: number;
|
|
2036
2036
|
offsetTop: number;
|
|
@@ -2042,7 +2042,7 @@ export declare const actionToggleHandTool: {
|
|
|
2042
2042
|
panels: number;
|
|
2043
2043
|
};
|
|
2044
2044
|
showHyperlinkPopup: false | "info" | "editor";
|
|
2045
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2045
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
2046
2046
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2047
2047
|
originSnapOffset: {
|
|
2048
2048
|
x: number;
|
|
@@ -2061,7 +2061,7 @@ export declare const actionToggleHandTool: {
|
|
|
2061
2061
|
lockedMultiSelections: {
|
|
2062
2062
|
[groupId: string]: true;
|
|
2063
2063
|
};
|
|
2064
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
2064
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
2065
2065
|
};
|
|
2066
2066
|
captureUpdate: "IMMEDIATELY";
|
|
2067
2067
|
};
|