@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
|
@@ -3,7 +3,7 @@ export declare const actionAddToLibrary: {
|
|
|
3
3
|
trackEvent: {
|
|
4
4
|
category: "element";
|
|
5
5
|
};
|
|
6
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => Promise<{
|
|
6
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => Promise<{
|
|
7
7
|
captureUpdate: "EVENTUALLY";
|
|
8
8
|
appState: {
|
|
9
9
|
toast: {
|
|
@@ -18,23 +18,23 @@ export declare const actionAddToLibrary: {
|
|
|
18
18
|
isLoading: boolean;
|
|
19
19
|
errorMessage: React.ReactNode;
|
|
20
20
|
activeEmbeddable: {
|
|
21
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
21
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
22
22
|
state: "hover" | "active";
|
|
23
23
|
} | null;
|
|
24
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
25
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
26
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
27
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
24
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
25
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
26
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
27
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
28
28
|
isBindingEnabled: boolean;
|
|
29
29
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
30
30
|
bindingPreference: "enabled" | "disabled";
|
|
31
31
|
isMidpointSnappingEnabled: boolean;
|
|
32
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
32
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
33
33
|
suggestedBinding: {
|
|
34
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
35
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
34
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
35
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
36
36
|
} | null;
|
|
37
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
37
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
38
38
|
frameRendering: {
|
|
39
39
|
enabled: boolean;
|
|
40
40
|
name: boolean;
|
|
@@ -42,8 +42,8 @@ export declare const actionAddToLibrary: {
|
|
|
42
42
|
clip: boolean;
|
|
43
43
|
};
|
|
44
44
|
editingFrame: string | null;
|
|
45
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
46
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
45
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
46
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
47
47
|
activeTool: {
|
|
48
48
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
49
49
|
locked: boolean;
|
|
@@ -61,18 +61,18 @@ export declare const actionAddToLibrary: {
|
|
|
61
61
|
exportScale: number;
|
|
62
62
|
currentItemStrokeColor: string;
|
|
63
63
|
currentItemBackgroundColor: string;
|
|
64
|
-
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
64
|
+
currentItemFillStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
65
65
|
currentItemStrokeWidth: number;
|
|
66
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
66
|
+
currentItemStrokeStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
67
67
|
currentItemRoughness: number;
|
|
68
68
|
currentItemOpacity: number;
|
|
69
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
69
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
70
70
|
currentItemFontSize: number;
|
|
71
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
72
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
73
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
74
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
75
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
71
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
72
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
73
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
74
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
75
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
76
76
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
77
77
|
viewBackgroundColor: string;
|
|
78
78
|
scrollX: number;
|
|
@@ -100,14 +100,14 @@ export declare const actionAddToLibrary: {
|
|
|
100
100
|
name: "settings";
|
|
101
101
|
} | {
|
|
102
102
|
name: "elementLinkSelector";
|
|
103
|
-
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
103
|
+
sourceElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"];
|
|
104
104
|
} | {
|
|
105
105
|
name: "charts";
|
|
106
106
|
data: import("../charts").Spreadsheet;
|
|
107
107
|
rawText: string;
|
|
108
108
|
};
|
|
109
109
|
defaultSidebarDockedPreference: boolean;
|
|
110
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
110
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
111
111
|
selectedElementIds: Readonly<{
|
|
112
112
|
[id: string]: true;
|
|
113
113
|
}>;
|
|
@@ -120,7 +120,7 @@ export declare const actionAddToLibrary: {
|
|
|
120
120
|
selectedElementsAreBeingDragged: boolean;
|
|
121
121
|
shouldCacheIgnoreZoom: boolean;
|
|
122
122
|
zenModeEnabled: boolean;
|
|
123
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
123
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
124
124
|
gridSize: number;
|
|
125
125
|
gridStep: number;
|
|
126
126
|
gridModeEnabled: boolean;
|
|
@@ -128,7 +128,7 @@ export declare const actionAddToLibrary: {
|
|
|
128
128
|
selectedGroupIds: {
|
|
129
129
|
[groupId: string]: boolean;
|
|
130
130
|
};
|
|
131
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
131
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
132
132
|
width: number;
|
|
133
133
|
height: number;
|
|
134
134
|
offsetTop: number;
|
|
@@ -140,7 +140,7 @@ export declare const actionAddToLibrary: {
|
|
|
140
140
|
panels: number;
|
|
141
141
|
};
|
|
142
142
|
showHyperlinkPopup: false | "info" | "editor";
|
|
143
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
143
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
144
144
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
145
145
|
originSnapOffset: {
|
|
146
146
|
x: number;
|
|
@@ -150,16 +150,16 @@ export declare const actionAddToLibrary: {
|
|
|
150
150
|
userToFollow: import("../types").UserToFollow | null;
|
|
151
151
|
followedBy: Set<import("../types").SocketId>;
|
|
152
152
|
isCropping: boolean;
|
|
153
|
-
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
153
|
+
croppingElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
154
154
|
searchMatches: Readonly<{
|
|
155
|
-
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
155
|
+
focusedId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
156
156
|
matches: readonly import("../types").SearchMatch[];
|
|
157
157
|
}> | null;
|
|
158
158
|
activeLockedId: string | null;
|
|
159
159
|
lockedMultiSelections: {
|
|
160
160
|
[groupId: string]: true;
|
|
161
161
|
};
|
|
162
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
162
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
163
163
|
};
|
|
164
164
|
} | {
|
|
165
165
|
captureUpdate: "EVENTUALLY";
|
|
@@ -173,23 +173,23 @@ export declare const actionAddToLibrary: {
|
|
|
173
173
|
showWelcomeScreen: boolean;
|
|
174
174
|
isLoading: boolean;
|
|
175
175
|
activeEmbeddable: {
|
|
176
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
176
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
177
177
|
state: "hover" | "active";
|
|
178
178
|
} | null;
|
|
179
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
180
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
181
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
182
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
179
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
180
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
181
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
182
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
183
183
|
isBindingEnabled: boolean;
|
|
184
184
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
185
185
|
bindingPreference: "enabled" | "disabled";
|
|
186
186
|
isMidpointSnappingEnabled: boolean;
|
|
187
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
187
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
188
188
|
suggestedBinding: {
|
|
189
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
190
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
189
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
190
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
191
191
|
} | null;
|
|
192
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
192
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
193
193
|
frameRendering: {
|
|
194
194
|
enabled: boolean;
|
|
195
195
|
name: boolean;
|
|
@@ -197,8 +197,8 @@ export declare const actionAddToLibrary: {
|
|
|
197
197
|
clip: boolean;
|
|
198
198
|
};
|
|
199
199
|
editingFrame: string | null;
|
|
200
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
201
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
200
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
201
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
202
202
|
activeTool: {
|
|
203
203
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
204
204
|
locked: boolean;
|
|
@@ -216,18 +216,18 @@ export declare const actionAddToLibrary: {
|
|
|
216
216
|
exportScale: number;
|
|
217
217
|
currentItemStrokeColor: string;
|
|
218
218
|
currentItemBackgroundColor: string;
|
|
219
|
-
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
219
|
+
currentItemFillStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
220
220
|
currentItemStrokeWidth: number;
|
|
221
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
221
|
+
currentItemStrokeStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
222
222
|
currentItemRoughness: number;
|
|
223
223
|
currentItemOpacity: number;
|
|
224
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
224
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
225
225
|
currentItemFontSize: number;
|
|
226
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
227
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
228
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
229
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
230
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
226
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
227
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
228
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
229
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
230
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
231
231
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
232
232
|
viewBackgroundColor: string;
|
|
233
233
|
scrollX: number;
|
|
@@ -255,14 +255,14 @@ export declare const actionAddToLibrary: {
|
|
|
255
255
|
name: "settings";
|
|
256
256
|
} | {
|
|
257
257
|
name: "elementLinkSelector";
|
|
258
|
-
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
258
|
+
sourceElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"];
|
|
259
259
|
} | {
|
|
260
260
|
name: "charts";
|
|
261
261
|
data: import("../charts").Spreadsheet;
|
|
262
262
|
rawText: string;
|
|
263
263
|
};
|
|
264
264
|
defaultSidebarDockedPreference: boolean;
|
|
265
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
265
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
266
266
|
selectedElementIds: Readonly<{
|
|
267
267
|
[id: string]: true;
|
|
268
268
|
}>;
|
|
@@ -280,7 +280,7 @@ export declare const actionAddToLibrary: {
|
|
|
280
280
|
duration?: number;
|
|
281
281
|
} | null;
|
|
282
282
|
zenModeEnabled: boolean;
|
|
283
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
283
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
284
284
|
gridSize: number;
|
|
285
285
|
gridStep: number;
|
|
286
286
|
gridModeEnabled: boolean;
|
|
@@ -288,7 +288,7 @@ export declare const actionAddToLibrary: {
|
|
|
288
288
|
selectedGroupIds: {
|
|
289
289
|
[groupId: string]: boolean;
|
|
290
290
|
};
|
|
291
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
291
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
292
292
|
width: number;
|
|
293
293
|
height: number;
|
|
294
294
|
offsetTop: number;
|
|
@@ -300,7 +300,7 @@ export declare const actionAddToLibrary: {
|
|
|
300
300
|
panels: number;
|
|
301
301
|
};
|
|
302
302
|
showHyperlinkPopup: false | "info" | "editor";
|
|
303
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
303
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
304
304
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
305
305
|
originSnapOffset: {
|
|
306
306
|
x: number;
|
|
@@ -310,16 +310,16 @@ export declare const actionAddToLibrary: {
|
|
|
310
310
|
userToFollow: import("../types").UserToFollow | null;
|
|
311
311
|
followedBy: Set<import("../types").SocketId>;
|
|
312
312
|
isCropping: boolean;
|
|
313
|
-
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
313
|
+
croppingElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
314
314
|
searchMatches: Readonly<{
|
|
315
|
-
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
315
|
+
focusedId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
316
316
|
matches: readonly import("../types").SearchMatch[];
|
|
317
317
|
}> | null;
|
|
318
318
|
activeLockedId: string | null;
|
|
319
319
|
lockedMultiSelections: {
|
|
320
320
|
[groupId: string]: true;
|
|
321
321
|
};
|
|
322
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
322
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
323
323
|
};
|
|
324
324
|
}> | {
|
|
325
325
|
captureUpdate: "EVENTUALLY";
|
|
@@ -333,23 +333,23 @@ export declare const actionAddToLibrary: {
|
|
|
333
333
|
showWelcomeScreen: boolean;
|
|
334
334
|
isLoading: boolean;
|
|
335
335
|
activeEmbeddable: {
|
|
336
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
336
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
337
337
|
state: "hover" | "active";
|
|
338
338
|
} | null;
|
|
339
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
340
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
341
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
342
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
339
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
340
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
341
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
342
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
343
343
|
isBindingEnabled: boolean;
|
|
344
344
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
345
345
|
bindingPreference: "enabled" | "disabled";
|
|
346
346
|
isMidpointSnappingEnabled: boolean;
|
|
347
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
347
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
348
348
|
suggestedBinding: {
|
|
349
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
350
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
349
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
350
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
351
351
|
} | null;
|
|
352
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
352
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
353
353
|
frameRendering: {
|
|
354
354
|
enabled: boolean;
|
|
355
355
|
name: boolean;
|
|
@@ -357,8 +357,8 @@ export declare const actionAddToLibrary: {
|
|
|
357
357
|
clip: boolean;
|
|
358
358
|
};
|
|
359
359
|
editingFrame: string | null;
|
|
360
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
361
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
360
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
361
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
362
362
|
activeTool: {
|
|
363
363
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
364
364
|
locked: boolean;
|
|
@@ -376,18 +376,18 @@ export declare const actionAddToLibrary: {
|
|
|
376
376
|
exportScale: number;
|
|
377
377
|
currentItemStrokeColor: string;
|
|
378
378
|
currentItemBackgroundColor: string;
|
|
379
|
-
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
379
|
+
currentItemFillStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
380
380
|
currentItemStrokeWidth: number;
|
|
381
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
381
|
+
currentItemStrokeStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
382
382
|
currentItemRoughness: number;
|
|
383
383
|
currentItemOpacity: number;
|
|
384
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
384
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
385
385
|
currentItemFontSize: number;
|
|
386
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
387
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
388
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
389
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
390
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
386
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
387
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
388
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
389
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
390
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
391
391
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
392
392
|
viewBackgroundColor: string;
|
|
393
393
|
scrollX: number;
|
|
@@ -415,14 +415,14 @@ export declare const actionAddToLibrary: {
|
|
|
415
415
|
name: "settings";
|
|
416
416
|
} | {
|
|
417
417
|
name: "elementLinkSelector";
|
|
418
|
-
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
418
|
+
sourceElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"];
|
|
419
419
|
} | {
|
|
420
420
|
name: "charts";
|
|
421
421
|
data: import("../charts").Spreadsheet;
|
|
422
422
|
rawText: string;
|
|
423
423
|
};
|
|
424
424
|
defaultSidebarDockedPreference: boolean;
|
|
425
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
425
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
426
426
|
selectedElementIds: Readonly<{
|
|
427
427
|
[id: string]: true;
|
|
428
428
|
}>;
|
|
@@ -440,7 +440,7 @@ export declare const actionAddToLibrary: {
|
|
|
440
440
|
duration?: number;
|
|
441
441
|
} | null;
|
|
442
442
|
zenModeEnabled: boolean;
|
|
443
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
443
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
444
444
|
gridSize: number;
|
|
445
445
|
gridStep: number;
|
|
446
446
|
gridModeEnabled: boolean;
|
|
@@ -448,7 +448,7 @@ export declare const actionAddToLibrary: {
|
|
|
448
448
|
selectedGroupIds: {
|
|
449
449
|
[groupId: string]: boolean;
|
|
450
450
|
};
|
|
451
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
451
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
452
452
|
width: number;
|
|
453
453
|
height: number;
|
|
454
454
|
offsetTop: number;
|
|
@@ -460,7 +460,7 @@ export declare const actionAddToLibrary: {
|
|
|
460
460
|
panels: number;
|
|
461
461
|
};
|
|
462
462
|
showHyperlinkPopup: false | "info" | "editor";
|
|
463
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
463
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
464
464
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
465
465
|
originSnapOffset: {
|
|
466
466
|
x: number;
|
|
@@ -470,16 +470,16 @@ export declare const actionAddToLibrary: {
|
|
|
470
470
|
userToFollow: import("../types").UserToFollow | null;
|
|
471
471
|
followedBy: Set<import("../types").SocketId>;
|
|
472
472
|
isCropping: boolean;
|
|
473
|
-
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
473
|
+
croppingElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
474
474
|
searchMatches: Readonly<{
|
|
475
|
-
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
475
|
+
focusedId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
476
476
|
matches: readonly import("../types").SearchMatch[];
|
|
477
477
|
}> | null;
|
|
478
478
|
activeLockedId: string | null;
|
|
479
479
|
lockedMultiSelections: {
|
|
480
480
|
[groupId: string]: true;
|
|
481
481
|
};
|
|
482
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
482
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
483
483
|
};
|
|
484
484
|
};
|
|
485
485
|
label: string;
|
|
@@ -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, UIAppState } from "../types";
|
|
3
3
|
export declare const alignActionsPredicate: (appState: UIAppState, app: AppClassProperties) => boolean;
|
|
4
4
|
export declare const actionAlignTop: {
|
|
@@ -9,7 +9,7 @@ export declare const actionAlignTop: {
|
|
|
9
9
|
category: "element";
|
|
10
10
|
};
|
|
11
11
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
12
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
12
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
13
13
|
appState: Readonly<AppState>;
|
|
14
14
|
elements: ExcalidrawElement[];
|
|
15
15
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -27,7 +27,7 @@ export declare const actionAlignBottom: {
|
|
|
27
27
|
category: "element";
|
|
28
28
|
};
|
|
29
29
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
30
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
30
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
31
31
|
appState: Readonly<AppState>;
|
|
32
32
|
elements: ExcalidrawElement[];
|
|
33
33
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -45,7 +45,7 @@ export declare const actionAlignLeft: {
|
|
|
45
45
|
category: "element";
|
|
46
46
|
};
|
|
47
47
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
48
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
48
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
49
49
|
appState: Readonly<AppState>;
|
|
50
50
|
elements: ExcalidrawElement[];
|
|
51
51
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -63,7 +63,7 @@ export declare const actionAlignRight: {
|
|
|
63
63
|
category: "element";
|
|
64
64
|
};
|
|
65
65
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
66
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
66
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
67
67
|
appState: Readonly<AppState>;
|
|
68
68
|
elements: ExcalidrawElement[];
|
|
69
69
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -81,7 +81,7 @@ export declare const actionAlignVerticallyCentered: {
|
|
|
81
81
|
category: "element";
|
|
82
82
|
};
|
|
83
83
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
84
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
84
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
85
85
|
appState: Readonly<AppState>;
|
|
86
86
|
elements: ExcalidrawElement[];
|
|
87
87
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -98,7 +98,7 @@ export declare const actionAlignHorizontallyCentered: {
|
|
|
98
98
|
category: "element";
|
|
99
99
|
};
|
|
100
100
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
101
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
101
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
102
102
|
appState: Readonly<AppState>;
|
|
103
103
|
elements: ExcalidrawElement[];
|
|
104
104
|
captureUpdate: "IMMEDIATELY";
|