@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,5 +1,5 @@
|
|
|
1
|
-
import type { ExcalidrawElement, ExcalidrawLinearElement, ExcalidrawTextElement } from "@excalidraw/element/types";
|
|
2
|
-
import type { Mutable } from "@excalidraw/common/utility-types";
|
|
1
|
+
import type { ExcalidrawElement, ExcalidrawLinearElement, ExcalidrawTextElement } from "@nous-excalidraw/element/types";
|
|
2
|
+
import type { Mutable } from "@nous-excalidraw/common/utility-types";
|
|
3
3
|
import type { AppState } from "../types";
|
|
4
4
|
export declare const actionUnbindText: {
|
|
5
5
|
name: "unbindText";
|
|
@@ -8,8 +8,8 @@ export declare const actionUnbindText: {
|
|
|
8
8
|
category: "element";
|
|
9
9
|
};
|
|
10
10
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
11
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
12
|
-
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
11
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
12
|
+
elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
|
|
13
13
|
appState: Readonly<AppState>;
|
|
14
14
|
captureUpdate: "IMMEDIATELY";
|
|
15
15
|
};
|
|
@@ -23,7 +23,7 @@ export declare const actionBindText: {
|
|
|
23
23
|
category: "element";
|
|
24
24
|
};
|
|
25
25
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
26
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
26
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
27
27
|
elements: ExcalidrawElement[];
|
|
28
28
|
appState: {
|
|
29
29
|
selectedElementIds: {
|
|
@@ -38,23 +38,23 @@ export declare const actionBindText: {
|
|
|
38
38
|
isLoading: boolean;
|
|
39
39
|
errorMessage: React.ReactNode;
|
|
40
40
|
activeEmbeddable: {
|
|
41
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
41
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
42
42
|
state: "hover" | "active";
|
|
43
43
|
} | null;
|
|
44
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
45
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
46
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
47
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
44
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
45
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
46
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
47
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
48
48
|
isBindingEnabled: boolean;
|
|
49
49
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
50
50
|
bindingPreference: "enabled" | "disabled";
|
|
51
51
|
isMidpointSnappingEnabled: boolean;
|
|
52
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
52
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
53
53
|
suggestedBinding: {
|
|
54
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
55
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
54
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
55
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
56
56
|
} | null;
|
|
57
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
57
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
58
58
|
frameRendering: {
|
|
59
59
|
enabled: boolean;
|
|
60
60
|
name: boolean;
|
|
@@ -62,7 +62,7 @@ export declare const actionBindText: {
|
|
|
62
62
|
clip: boolean;
|
|
63
63
|
};
|
|
64
64
|
editingFrame: string | null;
|
|
65
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
65
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
66
66
|
editingTextElement: ExcalidrawTextElement | null;
|
|
67
67
|
activeTool: {
|
|
68
68
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -86,13 +86,13 @@ export declare const actionBindText: {
|
|
|
86
86
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
87
87
|
currentItemRoughness: number;
|
|
88
88
|
currentItemOpacity: number;
|
|
89
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
89
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
90
90
|
currentItemFontSize: number;
|
|
91
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
92
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
93
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
94
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
95
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
91
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
92
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
93
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
94
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
95
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
96
96
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
97
97
|
viewBackgroundColor: string;
|
|
98
98
|
scrollX: number;
|
|
@@ -127,7 +127,7 @@ export declare const actionBindText: {
|
|
|
127
127
|
rawText: string;
|
|
128
128
|
};
|
|
129
129
|
defaultSidebarDockedPreference: boolean;
|
|
130
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
130
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
131
131
|
hoveredElementIds: Readonly<{
|
|
132
132
|
[id: string]: true;
|
|
133
133
|
}>;
|
|
@@ -142,7 +142,7 @@ export declare const actionBindText: {
|
|
|
142
142
|
duration?: number;
|
|
143
143
|
} | null;
|
|
144
144
|
zenModeEnabled: boolean;
|
|
145
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
145
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
146
146
|
gridSize: number;
|
|
147
147
|
gridStep: number;
|
|
148
148
|
gridModeEnabled: boolean;
|
|
@@ -150,7 +150,7 @@ export declare const actionBindText: {
|
|
|
150
150
|
selectedGroupIds: {
|
|
151
151
|
[groupId: string]: boolean;
|
|
152
152
|
};
|
|
153
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
153
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
154
154
|
width: number;
|
|
155
155
|
height: number;
|
|
156
156
|
offsetTop: number;
|
|
@@ -162,7 +162,7 @@ export declare const actionBindText: {
|
|
|
162
162
|
panels: number;
|
|
163
163
|
};
|
|
164
164
|
showHyperlinkPopup: false | "info" | "editor";
|
|
165
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
165
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
166
166
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
167
167
|
originSnapOffset: {
|
|
168
168
|
x: number;
|
|
@@ -181,7 +181,7 @@ export declare const actionBindText: {
|
|
|
181
181
|
lockedMultiSelections: {
|
|
182
182
|
[groupId: string]: true;
|
|
183
183
|
};
|
|
184
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
184
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
185
185
|
};
|
|
186
186
|
captureUpdate: "IMMEDIATELY";
|
|
187
187
|
};
|
|
@@ -195,7 +195,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
195
195
|
category: "element";
|
|
196
196
|
};
|
|
197
197
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
198
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
198
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
199
199
|
elements: readonly ExcalidrawElement[];
|
|
200
200
|
appState: {
|
|
201
201
|
selectedElementIds: Mutable<Readonly<{
|
|
@@ -210,23 +210,23 @@ export declare const actionWrapTextInContainer: {
|
|
|
210
210
|
isLoading: boolean;
|
|
211
211
|
errorMessage: React.ReactNode;
|
|
212
212
|
activeEmbeddable: {
|
|
213
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
213
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
214
214
|
state: "hover" | "active";
|
|
215
215
|
} | null;
|
|
216
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
217
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
218
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
219
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
216
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
217
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
218
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
219
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
220
220
|
isBindingEnabled: boolean;
|
|
221
221
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
222
222
|
bindingPreference: "enabled" | "disabled";
|
|
223
223
|
isMidpointSnappingEnabled: boolean;
|
|
224
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
224
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
225
225
|
suggestedBinding: {
|
|
226
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
227
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
226
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
227
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
228
228
|
} | null;
|
|
229
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
229
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
230
230
|
frameRendering: {
|
|
231
231
|
enabled: boolean;
|
|
232
232
|
name: boolean;
|
|
@@ -234,7 +234,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
234
234
|
clip: boolean;
|
|
235
235
|
};
|
|
236
236
|
editingFrame: string | null;
|
|
237
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
237
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
238
238
|
editingTextElement: ExcalidrawTextElement | null;
|
|
239
239
|
activeTool: {
|
|
240
240
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -258,13 +258,13 @@ export declare const actionWrapTextInContainer: {
|
|
|
258
258
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
259
259
|
currentItemRoughness: number;
|
|
260
260
|
currentItemOpacity: number;
|
|
261
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
261
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
262
262
|
currentItemFontSize: number;
|
|
263
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
264
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
265
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
266
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
267
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
263
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
264
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
265
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
266
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
267
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
268
268
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
269
269
|
viewBackgroundColor: string;
|
|
270
270
|
scrollX: number;
|
|
@@ -299,7 +299,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
299
299
|
rawText: string;
|
|
300
300
|
};
|
|
301
301
|
defaultSidebarDockedPreference: boolean;
|
|
302
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
302
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
303
303
|
hoveredElementIds: Readonly<{
|
|
304
304
|
[id: string]: true;
|
|
305
305
|
}>;
|
|
@@ -314,7 +314,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
314
314
|
duration?: number;
|
|
315
315
|
} | null;
|
|
316
316
|
zenModeEnabled: boolean;
|
|
317
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
317
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
318
318
|
gridSize: number;
|
|
319
319
|
gridStep: number;
|
|
320
320
|
gridModeEnabled: boolean;
|
|
@@ -322,7 +322,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
322
322
|
selectedGroupIds: {
|
|
323
323
|
[groupId: string]: boolean;
|
|
324
324
|
};
|
|
325
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
325
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
326
326
|
width: number;
|
|
327
327
|
height: number;
|
|
328
328
|
offsetTop: number;
|
|
@@ -334,7 +334,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
334
334
|
panels: number;
|
|
335
335
|
};
|
|
336
336
|
showHyperlinkPopup: false | "info" | "editor";
|
|
337
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
337
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
338
338
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
339
339
|
originSnapOffset: {
|
|
340
340
|
x: number;
|
|
@@ -353,7 +353,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
353
353
|
lockedMultiSelections: {
|
|
354
354
|
[groupId: string]: true;
|
|
355
355
|
};
|
|
356
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
356
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
357
357
|
};
|
|
358
358
|
captureUpdate: "IMMEDIATELY";
|
|
359
359
|
};
|