@nous-excalidraw/math 0.18.0-cy.1 → 0.18.1
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,4 +1,4 @@
|
|
|
1
|
-
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
1
|
+
import type { ExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
2
2
|
import type { AppClassProperties, AppState } from "../types";
|
|
3
3
|
export declare const actionSelectAllElementsInFrame: {
|
|
4
4
|
name: "selectAllElementsInFrame";
|
|
@@ -6,8 +6,8 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
6
6
|
trackEvent: {
|
|
7
7
|
category: "canvas";
|
|
8
8
|
};
|
|
9
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
10
|
-
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
9
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
10
|
+
elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
|
|
11
11
|
appState: {
|
|
12
12
|
selectedElementIds: Record<string, true>;
|
|
13
13
|
contextMenu: {
|
|
@@ -19,23 +19,23 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
19
19
|
isLoading: boolean;
|
|
20
20
|
errorMessage: React.ReactNode;
|
|
21
21
|
activeEmbeddable: {
|
|
22
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
22
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
23
23
|
state: "hover" | "active";
|
|
24
24
|
} | null;
|
|
25
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
26
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
27
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
28
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
25
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
26
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
27
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
28
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
29
29
|
isBindingEnabled: boolean;
|
|
30
30
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
31
31
|
bindingPreference: "enabled" | "disabled";
|
|
32
32
|
isMidpointSnappingEnabled: boolean;
|
|
33
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
33
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
34
34
|
suggestedBinding: {
|
|
35
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
36
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
35
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
36
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
37
37
|
} | null;
|
|
38
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
38
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
39
39
|
frameRendering: {
|
|
40
40
|
enabled: boolean;
|
|
41
41
|
name: boolean;
|
|
@@ -43,8 +43,8 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
43
43
|
clip: boolean;
|
|
44
44
|
};
|
|
45
45
|
editingFrame: string | null;
|
|
46
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
47
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
46
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
47
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
48
48
|
activeTool: {
|
|
49
49
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
50
50
|
locked: boolean;
|
|
@@ -67,13 +67,13 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
67
67
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
68
68
|
currentItemRoughness: number;
|
|
69
69
|
currentItemOpacity: number;
|
|
70
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
70
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
71
71
|
currentItemFontSize: number;
|
|
72
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
73
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
74
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
75
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
76
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
72
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
73
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
74
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
75
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
76
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
77
77
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
78
78
|
viewBackgroundColor: string;
|
|
79
79
|
scrollX: number;
|
|
@@ -108,7 +108,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
108
108
|
rawText: string;
|
|
109
109
|
};
|
|
110
110
|
defaultSidebarDockedPreference: boolean;
|
|
111
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
111
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
112
112
|
hoveredElementIds: Readonly<{
|
|
113
113
|
[id: string]: true;
|
|
114
114
|
}>;
|
|
@@ -123,7 +123,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
123
123
|
duration?: number;
|
|
124
124
|
} | null;
|
|
125
125
|
zenModeEnabled: boolean;
|
|
126
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
126
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
127
127
|
gridSize: number;
|
|
128
128
|
gridStep: number;
|
|
129
129
|
gridModeEnabled: boolean;
|
|
@@ -131,7 +131,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
131
131
|
selectedGroupIds: {
|
|
132
132
|
[groupId: string]: boolean;
|
|
133
133
|
};
|
|
134
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
134
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
135
135
|
width: number;
|
|
136
136
|
height: number;
|
|
137
137
|
offsetTop: number;
|
|
@@ -143,7 +143,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
143
143
|
panels: number;
|
|
144
144
|
};
|
|
145
145
|
showHyperlinkPopup: false | "info" | "editor";
|
|
146
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
146
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
147
147
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
148
148
|
originSnapOffset: {
|
|
149
149
|
x: number;
|
|
@@ -162,11 +162,11 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
162
162
|
lockedMultiSelections: {
|
|
163
163
|
[groupId: string]: true;
|
|
164
164
|
};
|
|
165
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
165
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
166
166
|
};
|
|
167
167
|
captureUpdate: "IMMEDIATELY";
|
|
168
168
|
} | {
|
|
169
|
-
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
169
|
+
elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
|
|
170
170
|
appState: Readonly<AppState>;
|
|
171
171
|
captureUpdate: "EVENTUALLY";
|
|
172
172
|
};
|
|
@@ -180,8 +180,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
180
180
|
trackEvent: {
|
|
181
181
|
category: "history";
|
|
182
182
|
};
|
|
183
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
184
|
-
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
183
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
184
|
+
elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
|
|
185
185
|
appState: {
|
|
186
186
|
selectedElementIds: {
|
|
187
187
|
[x: string]: true;
|
|
@@ -195,23 +195,23 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
195
195
|
isLoading: boolean;
|
|
196
196
|
errorMessage: React.ReactNode;
|
|
197
197
|
activeEmbeddable: {
|
|
198
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
198
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
199
199
|
state: "hover" | "active";
|
|
200
200
|
} | null;
|
|
201
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
202
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
203
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
204
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
201
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
202
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
203
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
204
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
205
205
|
isBindingEnabled: boolean;
|
|
206
206
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
207
207
|
bindingPreference: "enabled" | "disabled";
|
|
208
208
|
isMidpointSnappingEnabled: boolean;
|
|
209
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
209
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
210
210
|
suggestedBinding: {
|
|
211
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
212
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
211
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
212
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
213
213
|
} | null;
|
|
214
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
214
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
215
215
|
frameRendering: {
|
|
216
216
|
enabled: boolean;
|
|
217
217
|
name: boolean;
|
|
@@ -219,8 +219,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
219
219
|
clip: boolean;
|
|
220
220
|
};
|
|
221
221
|
editingFrame: string | null;
|
|
222
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
223
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
222
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
223
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
224
224
|
activeTool: {
|
|
225
225
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
226
226
|
locked: boolean;
|
|
@@ -243,13 +243,13 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
243
243
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
244
244
|
currentItemRoughness: number;
|
|
245
245
|
currentItemOpacity: number;
|
|
246
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
246
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
247
247
|
currentItemFontSize: number;
|
|
248
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
249
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
250
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
251
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
252
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
248
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
249
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
250
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
251
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
252
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
253
253
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
254
254
|
viewBackgroundColor: string;
|
|
255
255
|
scrollX: number;
|
|
@@ -284,7 +284,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
284
284
|
rawText: string;
|
|
285
285
|
};
|
|
286
286
|
defaultSidebarDockedPreference: boolean;
|
|
287
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
287
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
288
288
|
hoveredElementIds: Readonly<{
|
|
289
289
|
[id: string]: true;
|
|
290
290
|
}>;
|
|
@@ -299,7 +299,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
299
299
|
duration?: number;
|
|
300
300
|
} | null;
|
|
301
301
|
zenModeEnabled: boolean;
|
|
302
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
302
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
303
303
|
gridSize: number;
|
|
304
304
|
gridStep: number;
|
|
305
305
|
gridModeEnabled: boolean;
|
|
@@ -307,7 +307,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
307
307
|
selectedGroupIds: {
|
|
308
308
|
[groupId: string]: boolean;
|
|
309
309
|
};
|
|
310
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
310
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
311
311
|
width: number;
|
|
312
312
|
height: number;
|
|
313
313
|
offsetTop: number;
|
|
@@ -319,7 +319,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
319
319
|
panels: number;
|
|
320
320
|
};
|
|
321
321
|
showHyperlinkPopup: false | "info" | "editor";
|
|
322
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
322
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
323
323
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
324
324
|
originSnapOffset: {
|
|
325
325
|
x: number;
|
|
@@ -338,11 +338,11 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
338
338
|
lockedMultiSelections: {
|
|
339
339
|
[groupId: string]: true;
|
|
340
340
|
};
|
|
341
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
341
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
342
342
|
};
|
|
343
343
|
captureUpdate: "IMMEDIATELY";
|
|
344
344
|
} | {
|
|
345
|
-
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
345
|
+
elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
|
|
346
346
|
appState: Readonly<AppState>;
|
|
347
347
|
captureUpdate: "EVENTUALLY";
|
|
348
348
|
};
|
|
@@ -357,8 +357,8 @@ export declare const actionupdateFrameRendering: {
|
|
|
357
357
|
trackEvent: {
|
|
358
358
|
category: "canvas";
|
|
359
359
|
};
|
|
360
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
|
|
361
|
-
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
360
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
|
|
361
|
+
elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
|
|
362
362
|
appState: {
|
|
363
363
|
frameRendering: {
|
|
364
364
|
enabled: boolean;
|
|
@@ -375,26 +375,26 @@ export declare const actionupdateFrameRendering: {
|
|
|
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
|
editingFrame: string | null;
|
|
396
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
397
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
396
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
397
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
398
398
|
activeTool: {
|
|
399
399
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
400
400
|
locked: boolean;
|
|
@@ -417,13 +417,13 @@ export declare const actionupdateFrameRendering: {
|
|
|
417
417
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
418
418
|
currentItemRoughness: number;
|
|
419
419
|
currentItemOpacity: number;
|
|
420
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
420
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
421
421
|
currentItemFontSize: number;
|
|
422
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
423
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
424
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
425
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
426
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
422
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
423
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
424
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
425
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
426
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
427
427
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
428
428
|
viewBackgroundColor: string;
|
|
429
429
|
scrollX: number;
|
|
@@ -458,7 +458,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
458
458
|
rawText: string;
|
|
459
459
|
};
|
|
460
460
|
defaultSidebarDockedPreference: boolean;
|
|
461
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
461
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
462
462
|
selectedElementIds: Readonly<{
|
|
463
463
|
[id: string]: true;
|
|
464
464
|
}>;
|
|
@@ -476,7 +476,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
476
476
|
duration?: number;
|
|
477
477
|
} | null;
|
|
478
478
|
zenModeEnabled: boolean;
|
|
479
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
479
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
480
480
|
gridSize: number;
|
|
481
481
|
gridStep: number;
|
|
482
482
|
gridModeEnabled: boolean;
|
|
@@ -484,7 +484,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
484
484
|
selectedGroupIds: {
|
|
485
485
|
[groupId: string]: boolean;
|
|
486
486
|
};
|
|
487
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
487
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
488
488
|
width: number;
|
|
489
489
|
height: number;
|
|
490
490
|
offsetTop: number;
|
|
@@ -496,7 +496,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
496
496
|
panels: number;
|
|
497
497
|
};
|
|
498
498
|
showHyperlinkPopup: false | "info" | "editor";
|
|
499
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
499
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
500
500
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
501
501
|
originSnapOffset: {
|
|
502
502
|
x: number;
|
|
@@ -515,7 +515,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
515
515
|
lockedMultiSelections: {
|
|
516
516
|
[groupId: string]: true;
|
|
517
517
|
};
|
|
518
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
518
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
519
519
|
};
|
|
520
520
|
captureUpdate: "EVENTUALLY";
|
|
521
521
|
};
|
|
@@ -531,8 +531,8 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
531
531
|
};
|
|
532
532
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
533
533
|
viewMode: false;
|
|
534
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
535
|
-
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
534
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
535
|
+
elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
|
|
536
536
|
appState: {
|
|
537
537
|
activeTool: {
|
|
538
538
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -548,23 +548,23 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
548
548
|
isLoading: boolean;
|
|
549
549
|
errorMessage: React.ReactNode;
|
|
550
550
|
activeEmbeddable: {
|
|
551
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
551
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
552
552
|
state: "hover" | "active";
|
|
553
553
|
} | null;
|
|
554
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
555
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
556
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
557
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
554
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
555
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
556
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
557
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
558
558
|
isBindingEnabled: boolean;
|
|
559
559
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
560
560
|
bindingPreference: "enabled" | "disabled";
|
|
561
561
|
isMidpointSnappingEnabled: boolean;
|
|
562
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
562
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
563
563
|
suggestedBinding: {
|
|
564
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
565
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
564
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
565
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
566
566
|
} | null;
|
|
567
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
567
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
568
568
|
frameRendering: {
|
|
569
569
|
enabled: boolean;
|
|
570
570
|
name: boolean;
|
|
@@ -572,8 +572,8 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
572
572
|
clip: boolean;
|
|
573
573
|
};
|
|
574
574
|
editingFrame: string | null;
|
|
575
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
576
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
575
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
576
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
577
577
|
preferredSelectionTool: {
|
|
578
578
|
type: "selection" | "lasso";
|
|
579
579
|
initialized: boolean;
|
|
@@ -591,13 +591,13 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
591
591
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
592
592
|
currentItemRoughness: number;
|
|
593
593
|
currentItemOpacity: number;
|
|
594
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
594
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
595
595
|
currentItemFontSize: number;
|
|
596
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
597
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
598
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
599
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
600
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
596
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
597
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
598
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
599
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
600
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
601
601
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
602
602
|
viewBackgroundColor: string;
|
|
603
603
|
scrollX: number;
|
|
@@ -632,7 +632,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
632
632
|
rawText: string;
|
|
633
633
|
};
|
|
634
634
|
defaultSidebarDockedPreference: boolean;
|
|
635
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
635
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
636
636
|
selectedElementIds: Readonly<{
|
|
637
637
|
[id: string]: true;
|
|
638
638
|
}>;
|
|
@@ -650,7 +650,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
650
650
|
duration?: number;
|
|
651
651
|
} | null;
|
|
652
652
|
zenModeEnabled: boolean;
|
|
653
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
653
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
654
654
|
gridSize: number;
|
|
655
655
|
gridStep: number;
|
|
656
656
|
gridModeEnabled: boolean;
|
|
@@ -658,7 +658,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
658
658
|
selectedGroupIds: {
|
|
659
659
|
[groupId: string]: boolean;
|
|
660
660
|
};
|
|
661
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
661
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
662
662
|
width: number;
|
|
663
663
|
height: number;
|
|
664
664
|
offsetTop: number;
|
|
@@ -670,7 +670,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
670
670
|
panels: number;
|
|
671
671
|
};
|
|
672
672
|
showHyperlinkPopup: false | "info" | "editor";
|
|
673
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
673
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
674
674
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
675
675
|
originSnapOffset: {
|
|
676
676
|
x: number;
|
|
@@ -689,7 +689,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
689
689
|
lockedMultiSelections: {
|
|
690
690
|
[groupId: string]: true;
|
|
691
691
|
};
|
|
692
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
692
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
693
693
|
};
|
|
694
694
|
captureUpdate: "EVENTUALLY";
|
|
695
695
|
};
|
|
@@ -704,72 +704,72 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
704
704
|
category: "element";
|
|
705
705
|
};
|
|
706
706
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
707
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
707
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
708
708
|
elements: ((Readonly<{
|
|
709
709
|
id: string;
|
|
710
710
|
x: number;
|
|
711
711
|
y: number;
|
|
712
712
|
strokeColor: string;
|
|
713
713
|
backgroundColor: string;
|
|
714
|
-
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
714
|
+
fillStyle: import("@nous-excalidraw/element/types").FillStyle;
|
|
715
715
|
strokeWidth: number;
|
|
716
|
-
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
716
|
+
strokeStyle: import("@nous-excalidraw/element/types").StrokeStyle;
|
|
717
717
|
roundness: null | {
|
|
718
|
-
type: import("@excalidraw/element/types").RoundnessType;
|
|
718
|
+
type: import("@nous-excalidraw/element/types").RoundnessType;
|
|
719
719
|
value?: number;
|
|
720
720
|
};
|
|
721
721
|
roughness: number;
|
|
722
722
|
opacity: number;
|
|
723
723
|
width: number;
|
|
724
724
|
height: number;
|
|
725
|
-
angle: import("@excalidraw/math").Radians;
|
|
725
|
+
angle: import("@nous-excalidraw/math").Radians;
|
|
726
726
|
seed: number;
|
|
727
727
|
version: number;
|
|
728
728
|
versionNonce: number;
|
|
729
|
-
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
729
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex | null;
|
|
730
730
|
isDeleted: boolean;
|
|
731
|
-
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
731
|
+
groupIds: readonly import("@nous-excalidraw/element/types").GroupId[];
|
|
732
732
|
frameId: string | null;
|
|
733
|
-
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
733
|
+
boundElements: readonly import("@nous-excalidraw/element/types").BoundElement[] | null;
|
|
734
734
|
updated: number;
|
|
735
735
|
link: string | null;
|
|
736
736
|
locked: boolean;
|
|
737
737
|
customData?: Record<string, any>;
|
|
738
738
|
}> & Readonly<{
|
|
739
739
|
type: "line" | "arrow";
|
|
740
|
-
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
741
|
-
startBinding: import("@excalidraw/element/types").FixedPointBinding | null;
|
|
742
|
-
endBinding: import("@excalidraw/element/types").FixedPointBinding | null;
|
|
743
|
-
startArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
744
|
-
endArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
740
|
+
points: readonly import("@nous-excalidraw/math").LocalPoint[];
|
|
741
|
+
startBinding: import("@nous-excalidraw/element/types").FixedPointBinding | null;
|
|
742
|
+
endBinding: import("@nous-excalidraw/element/types").FixedPointBinding | null;
|
|
743
|
+
startArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
744
|
+
endArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
745
745
|
}> & {
|
|
746
|
-
index: import("@excalidraw/element/types").FractionalIndex;
|
|
746
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex;
|
|
747
747
|
}) | (Readonly<{
|
|
748
748
|
id: string;
|
|
749
749
|
x: number;
|
|
750
750
|
y: number;
|
|
751
751
|
strokeColor: string;
|
|
752
752
|
backgroundColor: string;
|
|
753
|
-
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
753
|
+
fillStyle: import("@nous-excalidraw/element/types").FillStyle;
|
|
754
754
|
strokeWidth: number;
|
|
755
|
-
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
755
|
+
strokeStyle: import("@nous-excalidraw/element/types").StrokeStyle;
|
|
756
756
|
roundness: null | {
|
|
757
|
-
type: import("@excalidraw/element/types").RoundnessType;
|
|
757
|
+
type: import("@nous-excalidraw/element/types").RoundnessType;
|
|
758
758
|
value?: number;
|
|
759
759
|
};
|
|
760
760
|
roughness: number;
|
|
761
761
|
opacity: number;
|
|
762
762
|
width: number;
|
|
763
763
|
height: number;
|
|
764
|
-
angle: import("@excalidraw/math").Radians;
|
|
764
|
+
angle: import("@nous-excalidraw/math").Radians;
|
|
765
765
|
seed: number;
|
|
766
766
|
version: number;
|
|
767
767
|
versionNonce: number;
|
|
768
|
-
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
768
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex | null;
|
|
769
769
|
isDeleted: boolean;
|
|
770
|
-
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
770
|
+
groupIds: readonly import("@nous-excalidraw/element/types").GroupId[];
|
|
771
771
|
frameId: string | null;
|
|
772
|
-
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
772
|
+
boundElements: readonly import("@nous-excalidraw/element/types").BoundElement[] | null;
|
|
773
773
|
updated: number;
|
|
774
774
|
link: string | null;
|
|
775
775
|
locked: boolean;
|
|
@@ -777,33 +777,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
777
777
|
}> & {
|
|
778
778
|
type: "selection";
|
|
779
779
|
} & {
|
|
780
|
-
index: import("@excalidraw/element/types").FractionalIndex;
|
|
780
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex;
|
|
781
781
|
}) | (Readonly<{
|
|
782
782
|
id: string;
|
|
783
783
|
x: number;
|
|
784
784
|
y: number;
|
|
785
785
|
strokeColor: string;
|
|
786
786
|
backgroundColor: string;
|
|
787
|
-
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
787
|
+
fillStyle: import("@nous-excalidraw/element/types").FillStyle;
|
|
788
788
|
strokeWidth: number;
|
|
789
|
-
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
789
|
+
strokeStyle: import("@nous-excalidraw/element/types").StrokeStyle;
|
|
790
790
|
roundness: null | {
|
|
791
|
-
type: import("@excalidraw/element/types").RoundnessType;
|
|
791
|
+
type: import("@nous-excalidraw/element/types").RoundnessType;
|
|
792
792
|
value?: number;
|
|
793
793
|
};
|
|
794
794
|
roughness: number;
|
|
795
795
|
opacity: number;
|
|
796
796
|
width: number;
|
|
797
797
|
height: number;
|
|
798
|
-
angle: import("@excalidraw/math").Radians;
|
|
798
|
+
angle: import("@nous-excalidraw/math").Radians;
|
|
799
799
|
seed: number;
|
|
800
800
|
version: number;
|
|
801
801
|
versionNonce: number;
|
|
802
|
-
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
802
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex | null;
|
|
803
803
|
isDeleted: boolean;
|
|
804
|
-
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
804
|
+
groupIds: readonly import("@nous-excalidraw/element/types").GroupId[];
|
|
805
805
|
frameId: string | null;
|
|
806
|
-
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
806
|
+
boundElements: readonly import("@nous-excalidraw/element/types").BoundElement[] | null;
|
|
807
807
|
updated: number;
|
|
808
808
|
link: string | null;
|
|
809
809
|
locked: boolean;
|
|
@@ -811,33 +811,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
811
811
|
}> & {
|
|
812
812
|
type: "rectangle";
|
|
813
813
|
} & {
|
|
814
|
-
index: import("@excalidraw/element/types").FractionalIndex;
|
|
814
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex;
|
|
815
815
|
}) | (Readonly<{
|
|
816
816
|
id: string;
|
|
817
817
|
x: number;
|
|
818
818
|
y: number;
|
|
819
819
|
strokeColor: string;
|
|
820
820
|
backgroundColor: string;
|
|
821
|
-
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
821
|
+
fillStyle: import("@nous-excalidraw/element/types").FillStyle;
|
|
822
822
|
strokeWidth: number;
|
|
823
|
-
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
823
|
+
strokeStyle: import("@nous-excalidraw/element/types").StrokeStyle;
|
|
824
824
|
roundness: null | {
|
|
825
|
-
type: import("@excalidraw/element/types").RoundnessType;
|
|
825
|
+
type: import("@nous-excalidraw/element/types").RoundnessType;
|
|
826
826
|
value?: number;
|
|
827
827
|
};
|
|
828
828
|
roughness: number;
|
|
829
829
|
opacity: number;
|
|
830
830
|
width: number;
|
|
831
831
|
height: number;
|
|
832
|
-
angle: import("@excalidraw/math").Radians;
|
|
832
|
+
angle: import("@nous-excalidraw/math").Radians;
|
|
833
833
|
seed: number;
|
|
834
834
|
version: number;
|
|
835
835
|
versionNonce: number;
|
|
836
|
-
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
836
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex | null;
|
|
837
837
|
isDeleted: boolean;
|
|
838
|
-
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
838
|
+
groupIds: readonly import("@nous-excalidraw/element/types").GroupId[];
|
|
839
839
|
frameId: string | null;
|
|
840
|
-
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
840
|
+
boundElements: readonly import("@nous-excalidraw/element/types").BoundElement[] | null;
|
|
841
841
|
updated: number;
|
|
842
842
|
link: string | null;
|
|
843
843
|
locked: boolean;
|
|
@@ -845,33 +845,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
845
845
|
}> & {
|
|
846
846
|
type: "diamond";
|
|
847
847
|
} & {
|
|
848
|
-
index: import("@excalidraw/element/types").FractionalIndex;
|
|
848
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex;
|
|
849
849
|
}) | (Readonly<{
|
|
850
850
|
id: string;
|
|
851
851
|
x: number;
|
|
852
852
|
y: number;
|
|
853
853
|
strokeColor: string;
|
|
854
854
|
backgroundColor: string;
|
|
855
|
-
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
855
|
+
fillStyle: import("@nous-excalidraw/element/types").FillStyle;
|
|
856
856
|
strokeWidth: number;
|
|
857
|
-
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
857
|
+
strokeStyle: import("@nous-excalidraw/element/types").StrokeStyle;
|
|
858
858
|
roundness: null | {
|
|
859
|
-
type: import("@excalidraw/element/types").RoundnessType;
|
|
859
|
+
type: import("@nous-excalidraw/element/types").RoundnessType;
|
|
860
860
|
value?: number;
|
|
861
861
|
};
|
|
862
862
|
roughness: number;
|
|
863
863
|
opacity: number;
|
|
864
864
|
width: number;
|
|
865
865
|
height: number;
|
|
866
|
-
angle: import("@excalidraw/math").Radians;
|
|
866
|
+
angle: import("@nous-excalidraw/math").Radians;
|
|
867
867
|
seed: number;
|
|
868
868
|
version: number;
|
|
869
869
|
versionNonce: number;
|
|
870
|
-
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
870
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex | null;
|
|
871
871
|
isDeleted: boolean;
|
|
872
|
-
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
872
|
+
groupIds: readonly import("@nous-excalidraw/element/types").GroupId[];
|
|
873
873
|
frameId: string | null;
|
|
874
|
-
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
874
|
+
boundElements: readonly import("@nous-excalidraw/element/types").BoundElement[] | null;
|
|
875
875
|
updated: number;
|
|
876
876
|
link: string | null;
|
|
877
877
|
locked: boolean;
|
|
@@ -879,33 +879,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
879
879
|
}> & {
|
|
880
880
|
type: "ellipse";
|
|
881
881
|
} & {
|
|
882
|
-
index: import("@excalidraw/element/types").FractionalIndex;
|
|
882
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex;
|
|
883
883
|
}) | (Readonly<{
|
|
884
884
|
id: string;
|
|
885
885
|
x: number;
|
|
886
886
|
y: number;
|
|
887
887
|
strokeColor: string;
|
|
888
888
|
backgroundColor: string;
|
|
889
|
-
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
889
|
+
fillStyle: import("@nous-excalidraw/element/types").FillStyle;
|
|
890
890
|
strokeWidth: number;
|
|
891
|
-
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
891
|
+
strokeStyle: import("@nous-excalidraw/element/types").StrokeStyle;
|
|
892
892
|
roundness: null | {
|
|
893
|
-
type: import("@excalidraw/element/types").RoundnessType;
|
|
893
|
+
type: import("@nous-excalidraw/element/types").RoundnessType;
|
|
894
894
|
value?: number;
|
|
895
895
|
};
|
|
896
896
|
roughness: number;
|
|
897
897
|
opacity: number;
|
|
898
898
|
width: number;
|
|
899
899
|
height: number;
|
|
900
|
-
angle: import("@excalidraw/math").Radians;
|
|
900
|
+
angle: import("@nous-excalidraw/math").Radians;
|
|
901
901
|
seed: number;
|
|
902
902
|
version: number;
|
|
903
903
|
versionNonce: number;
|
|
904
|
-
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
904
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex | null;
|
|
905
905
|
isDeleted: boolean;
|
|
906
|
-
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
906
|
+
groupIds: readonly import("@nous-excalidraw/element/types").GroupId[];
|
|
907
907
|
frameId: string | null;
|
|
908
|
-
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
908
|
+
boundElements: readonly import("@nous-excalidraw/element/types").BoundElement[] | null;
|
|
909
909
|
updated: number;
|
|
910
910
|
link: string | null;
|
|
911
911
|
locked: boolean;
|
|
@@ -913,33 +913,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
913
913
|
}> & Readonly<{
|
|
914
914
|
type: "embeddable";
|
|
915
915
|
}> & {
|
|
916
|
-
index: import("@excalidraw/element/types").FractionalIndex;
|
|
916
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex;
|
|
917
917
|
}) | (Readonly<{
|
|
918
918
|
id: string;
|
|
919
919
|
x: number;
|
|
920
920
|
y: number;
|
|
921
921
|
strokeColor: string;
|
|
922
922
|
backgroundColor: string;
|
|
923
|
-
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
923
|
+
fillStyle: import("@nous-excalidraw/element/types").FillStyle;
|
|
924
924
|
strokeWidth: number;
|
|
925
|
-
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
925
|
+
strokeStyle: import("@nous-excalidraw/element/types").StrokeStyle;
|
|
926
926
|
roundness: null | {
|
|
927
|
-
type: import("@excalidraw/element/types").RoundnessType;
|
|
927
|
+
type: import("@nous-excalidraw/element/types").RoundnessType;
|
|
928
928
|
value?: number;
|
|
929
929
|
};
|
|
930
930
|
roughness: number;
|
|
931
931
|
opacity: number;
|
|
932
932
|
width: number;
|
|
933
933
|
height: number;
|
|
934
|
-
angle: import("@excalidraw/math").Radians;
|
|
934
|
+
angle: import("@nous-excalidraw/math").Radians;
|
|
935
935
|
seed: number;
|
|
936
936
|
version: number;
|
|
937
937
|
versionNonce: number;
|
|
938
|
-
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
938
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex | null;
|
|
939
939
|
isDeleted: boolean;
|
|
940
|
-
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
940
|
+
groupIds: readonly import("@nous-excalidraw/element/types").GroupId[];
|
|
941
941
|
frameId: string | null;
|
|
942
|
-
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
942
|
+
boundElements: readonly import("@nous-excalidraw/element/types").BoundElement[] | null;
|
|
943
943
|
updated: number;
|
|
944
944
|
link: string | null;
|
|
945
945
|
locked: boolean;
|
|
@@ -947,74 +947,74 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
947
947
|
}> & Readonly<{
|
|
948
948
|
type: "iframe";
|
|
949
949
|
customData?: {
|
|
950
|
-
generationData?: import("@excalidraw/element/types").MagicGenerationData;
|
|
950
|
+
generationData?: import("@nous-excalidraw/element/types").MagicGenerationData;
|
|
951
951
|
};
|
|
952
952
|
}> & {
|
|
953
|
-
index: import("@excalidraw/element/types").FractionalIndex;
|
|
953
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex;
|
|
954
954
|
}) | (Readonly<{
|
|
955
955
|
id: string;
|
|
956
956
|
x: number;
|
|
957
957
|
y: number;
|
|
958
958
|
strokeColor: string;
|
|
959
959
|
backgroundColor: string;
|
|
960
|
-
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
960
|
+
fillStyle: import("@nous-excalidraw/element/types").FillStyle;
|
|
961
961
|
strokeWidth: number;
|
|
962
|
-
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
962
|
+
strokeStyle: import("@nous-excalidraw/element/types").StrokeStyle;
|
|
963
963
|
roundness: null | {
|
|
964
|
-
type: import("@excalidraw/element/types").RoundnessType;
|
|
964
|
+
type: import("@nous-excalidraw/element/types").RoundnessType;
|
|
965
965
|
value?: number;
|
|
966
966
|
};
|
|
967
967
|
roughness: number;
|
|
968
968
|
opacity: number;
|
|
969
969
|
width: number;
|
|
970
970
|
height: number;
|
|
971
|
-
angle: import("@excalidraw/math").Radians;
|
|
971
|
+
angle: import("@nous-excalidraw/math").Radians;
|
|
972
972
|
seed: number;
|
|
973
973
|
version: number;
|
|
974
974
|
versionNonce: number;
|
|
975
|
-
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
975
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex | null;
|
|
976
976
|
isDeleted: boolean;
|
|
977
|
-
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
977
|
+
groupIds: readonly import("@nous-excalidraw/element/types").GroupId[];
|
|
978
978
|
frameId: string | null;
|
|
979
|
-
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
979
|
+
boundElements: readonly import("@nous-excalidraw/element/types").BoundElement[] | null;
|
|
980
980
|
updated: number;
|
|
981
981
|
link: string | null;
|
|
982
982
|
locked: boolean;
|
|
983
983
|
customData?: Record<string, any>;
|
|
984
984
|
}> & Readonly<{
|
|
985
985
|
type: "image";
|
|
986
|
-
fileId: import("@excalidraw/element/types").FileId | null;
|
|
986
|
+
fileId: import("@nous-excalidraw/element/types").FileId | null;
|
|
987
987
|
status: "pending" | "saved" | "error";
|
|
988
988
|
scale: [number, number];
|
|
989
|
-
crop: import("@excalidraw/element/types").ImageCrop | null;
|
|
989
|
+
crop: import("@nous-excalidraw/element/types").ImageCrop | null;
|
|
990
990
|
}> & {
|
|
991
|
-
index: import("@excalidraw/element/types").FractionalIndex;
|
|
991
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex;
|
|
992
992
|
}) | (Readonly<{
|
|
993
993
|
id: string;
|
|
994
994
|
x: number;
|
|
995
995
|
y: number;
|
|
996
996
|
strokeColor: string;
|
|
997
997
|
backgroundColor: string;
|
|
998
|
-
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
998
|
+
fillStyle: import("@nous-excalidraw/element/types").FillStyle;
|
|
999
999
|
strokeWidth: number;
|
|
1000
|
-
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1000
|
+
strokeStyle: import("@nous-excalidraw/element/types").StrokeStyle;
|
|
1001
1001
|
roundness: null | {
|
|
1002
|
-
type: import("@excalidraw/element/types").RoundnessType;
|
|
1002
|
+
type: import("@nous-excalidraw/element/types").RoundnessType;
|
|
1003
1003
|
value?: number;
|
|
1004
1004
|
};
|
|
1005
1005
|
roughness: number;
|
|
1006
1006
|
opacity: number;
|
|
1007
1007
|
width: number;
|
|
1008
1008
|
height: number;
|
|
1009
|
-
angle: import("@excalidraw/math").Radians;
|
|
1009
|
+
angle: import("@nous-excalidraw/math").Radians;
|
|
1010
1010
|
seed: number;
|
|
1011
1011
|
version: number;
|
|
1012
1012
|
versionNonce: number;
|
|
1013
|
-
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1013
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex | null;
|
|
1014
1014
|
isDeleted: boolean;
|
|
1015
|
-
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1015
|
+
groupIds: readonly import("@nous-excalidraw/element/types").GroupId[];
|
|
1016
1016
|
frameId: string | null;
|
|
1017
|
-
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1017
|
+
boundElements: readonly import("@nous-excalidraw/element/types").BoundElement[] | null;
|
|
1018
1018
|
updated: number;
|
|
1019
1019
|
link: string | null;
|
|
1020
1020
|
locked: boolean;
|
|
@@ -1023,33 +1023,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1023
1023
|
type: "frame";
|
|
1024
1024
|
name: string | null;
|
|
1025
1025
|
} & {
|
|
1026
|
-
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1026
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex;
|
|
1027
1027
|
}) | (Readonly<{
|
|
1028
1028
|
id: string;
|
|
1029
1029
|
x: number;
|
|
1030
1030
|
y: number;
|
|
1031
1031
|
strokeColor: string;
|
|
1032
1032
|
backgroundColor: string;
|
|
1033
|
-
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1033
|
+
fillStyle: import("@nous-excalidraw/element/types").FillStyle;
|
|
1034
1034
|
strokeWidth: number;
|
|
1035
|
-
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1035
|
+
strokeStyle: import("@nous-excalidraw/element/types").StrokeStyle;
|
|
1036
1036
|
roundness: null | {
|
|
1037
|
-
type: import("@excalidraw/element/types").RoundnessType;
|
|
1037
|
+
type: import("@nous-excalidraw/element/types").RoundnessType;
|
|
1038
1038
|
value?: number;
|
|
1039
1039
|
};
|
|
1040
1040
|
roughness: number;
|
|
1041
1041
|
opacity: number;
|
|
1042
1042
|
width: number;
|
|
1043
1043
|
height: number;
|
|
1044
|
-
angle: import("@excalidraw/math").Radians;
|
|
1044
|
+
angle: import("@nous-excalidraw/math").Radians;
|
|
1045
1045
|
seed: number;
|
|
1046
1046
|
version: number;
|
|
1047
1047
|
versionNonce: number;
|
|
1048
|
-
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1048
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex | null;
|
|
1049
1049
|
isDeleted: boolean;
|
|
1050
|
-
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1050
|
+
groupIds: readonly import("@nous-excalidraw/element/types").GroupId[];
|
|
1051
1051
|
frameId: string | null;
|
|
1052
|
-
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1052
|
+
boundElements: readonly import("@nous-excalidraw/element/types").BoundElement[] | null;
|
|
1053
1053
|
updated: number;
|
|
1054
1054
|
link: string | null;
|
|
1055
1055
|
locked: boolean;
|
|
@@ -1058,33 +1058,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1058
1058
|
type: "magicframe";
|
|
1059
1059
|
name: string | null;
|
|
1060
1060
|
} & {
|
|
1061
|
-
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1061
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex;
|
|
1062
1062
|
}) | (Readonly<{
|
|
1063
1063
|
id: string;
|
|
1064
1064
|
x: number;
|
|
1065
1065
|
y: number;
|
|
1066
1066
|
strokeColor: string;
|
|
1067
1067
|
backgroundColor: string;
|
|
1068
|
-
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1068
|
+
fillStyle: import("@nous-excalidraw/element/types").FillStyle;
|
|
1069
1069
|
strokeWidth: number;
|
|
1070
|
-
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1070
|
+
strokeStyle: import("@nous-excalidraw/element/types").StrokeStyle;
|
|
1071
1071
|
roundness: null | {
|
|
1072
|
-
type: import("@excalidraw/element/types").RoundnessType;
|
|
1072
|
+
type: import("@nous-excalidraw/element/types").RoundnessType;
|
|
1073
1073
|
value?: number;
|
|
1074
1074
|
};
|
|
1075
1075
|
roughness: number;
|
|
1076
1076
|
opacity: number;
|
|
1077
1077
|
width: number;
|
|
1078
1078
|
height: number;
|
|
1079
|
-
angle: import("@excalidraw/math").Radians;
|
|
1079
|
+
angle: import("@nous-excalidraw/math").Radians;
|
|
1080
1080
|
seed: number;
|
|
1081
1081
|
version: number;
|
|
1082
1082
|
versionNonce: number;
|
|
1083
|
-
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1083
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex | null;
|
|
1084
1084
|
isDeleted: boolean;
|
|
1085
|
-
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1085
|
+
groupIds: readonly import("@nous-excalidraw/element/types").GroupId[];
|
|
1086
1086
|
frameId: string | null;
|
|
1087
|
-
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1087
|
+
boundElements: readonly import("@nous-excalidraw/element/types").BoundElement[] | null;
|
|
1088
1088
|
updated: number;
|
|
1089
1089
|
link: string | null;
|
|
1090
1090
|
locked: boolean;
|
|
@@ -1092,56 +1092,56 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1092
1092
|
}> & Readonly<{
|
|
1093
1093
|
type: "text";
|
|
1094
1094
|
fontSize: number;
|
|
1095
|
-
fontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1095
|
+
fontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
1096
1096
|
text: string;
|
|
1097
|
-
textAlign: import("@excalidraw/element/types").TextAlign;
|
|
1098
|
-
verticalAlign: import("@excalidraw/element/types").VerticalAlign;
|
|
1099
|
-
containerId: import("@excalidraw/element/types").ExcalidrawGenericElement["id"] | null;
|
|
1097
|
+
textAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
1098
|
+
verticalAlign: import("@nous-excalidraw/element/types").VerticalAlign;
|
|
1099
|
+
containerId: import("@nous-excalidraw/element/types").ExcalidrawGenericElement["id"] | null;
|
|
1100
1100
|
originalText: string;
|
|
1101
1101
|
autoResize: boolean;
|
|
1102
1102
|
lineHeight: number & {
|
|
1103
1103
|
_brand: "unitlessLineHeight";
|
|
1104
1104
|
};
|
|
1105
1105
|
}> & {
|
|
1106
|
-
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1106
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex;
|
|
1107
1107
|
}) | (Readonly<{
|
|
1108
1108
|
id: string;
|
|
1109
1109
|
x: number;
|
|
1110
1110
|
y: number;
|
|
1111
1111
|
strokeColor: string;
|
|
1112
1112
|
backgroundColor: string;
|
|
1113
|
-
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1113
|
+
fillStyle: import("@nous-excalidraw/element/types").FillStyle;
|
|
1114
1114
|
strokeWidth: number;
|
|
1115
|
-
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1115
|
+
strokeStyle: import("@nous-excalidraw/element/types").StrokeStyle;
|
|
1116
1116
|
roundness: null | {
|
|
1117
|
-
type: import("@excalidraw/element/types").RoundnessType;
|
|
1117
|
+
type: import("@nous-excalidraw/element/types").RoundnessType;
|
|
1118
1118
|
value?: number;
|
|
1119
1119
|
};
|
|
1120
1120
|
roughness: number;
|
|
1121
1121
|
opacity: number;
|
|
1122
1122
|
width: number;
|
|
1123
1123
|
height: number;
|
|
1124
|
-
angle: import("@excalidraw/math").Radians;
|
|
1124
|
+
angle: import("@nous-excalidraw/math").Radians;
|
|
1125
1125
|
seed: number;
|
|
1126
1126
|
version: number;
|
|
1127
1127
|
versionNonce: number;
|
|
1128
|
-
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1128
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex | null;
|
|
1129
1129
|
isDeleted: boolean;
|
|
1130
|
-
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1130
|
+
groupIds: readonly import("@nous-excalidraw/element/types").GroupId[];
|
|
1131
1131
|
frameId: string | null;
|
|
1132
|
-
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1132
|
+
boundElements: readonly import("@nous-excalidraw/element/types").BoundElement[] | null;
|
|
1133
1133
|
updated: number;
|
|
1134
1134
|
link: string | null;
|
|
1135
1135
|
locked: boolean;
|
|
1136
1136
|
customData?: Record<string, any>;
|
|
1137
1137
|
}> & Readonly<{
|
|
1138
1138
|
type: "freedraw";
|
|
1139
|
-
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
1139
|
+
points: readonly import("@nous-excalidraw/math").LocalPoint[];
|
|
1140
1140
|
pressures: readonly number[];
|
|
1141
1141
|
simulatePressure: boolean;
|
|
1142
1142
|
}> & {
|
|
1143
|
-
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1144
|
-
}) | import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameElement>)[];
|
|
1143
|
+
index: import("@nous-excalidraw/element/types").FractionalIndex;
|
|
1144
|
+
}) | import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameElement>)[];
|
|
1145
1145
|
appState: {
|
|
1146
1146
|
selectedElementIds: {
|
|
1147
1147
|
[x: string]: true;
|