@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
1
|
export declare const actionCopy: import("./types").Action<ClipboardEvent | null> & {
|
|
2
|
-
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: import("../types").AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
2
|
+
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: import("../types").AppState, elements: readonly import("@nous-excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
3
3
|
};
|
|
4
4
|
export declare const actionPaste: {
|
|
5
5
|
name: "paste";
|
|
@@ -7,7 +7,7 @@ export declare const actionPaste: {
|
|
|
7
7
|
trackEvent: {
|
|
8
8
|
category: "element";
|
|
9
9
|
};
|
|
10
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, data: unknown, app: import("../types").AppClassProperties) => Promise<false | {
|
|
10
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, data: unknown, app: import("../types").AppClassProperties) => Promise<false | {
|
|
11
11
|
captureUpdate: "EVENTUALLY";
|
|
12
12
|
appState: {
|
|
13
13
|
errorMessage: string;
|
|
@@ -19,23 +19,23 @@ export declare const actionPaste: {
|
|
|
19
19
|
showWelcomeScreen: boolean;
|
|
20
20
|
isLoading: boolean;
|
|
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 actionPaste: {
|
|
|
43
43
|
clip: boolean;
|
|
44
44
|
};
|
|
45
45
|
editingFrame: string | null;
|
|
46
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
47
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
46
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").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;
|
|
@@ -62,18 +62,18 @@ export declare const actionPaste: {
|
|
|
62
62
|
exportScale: number;
|
|
63
63
|
currentItemStrokeColor: string;
|
|
64
64
|
currentItemBackgroundColor: string;
|
|
65
|
-
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
65
|
+
currentItemFillStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
66
66
|
currentItemStrokeWidth: number;
|
|
67
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
67
|
+
currentItemStrokeStyle: import("@nous-excalidraw/element/types").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;
|
|
@@ -101,14 +101,14 @@ export declare const actionPaste: {
|
|
|
101
101
|
name: "settings";
|
|
102
102
|
} | {
|
|
103
103
|
name: "elementLinkSelector";
|
|
104
|
-
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
104
|
+
sourceElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"];
|
|
105
105
|
} | {
|
|
106
106
|
name: "charts";
|
|
107
107
|
data: import("../charts").Spreadsheet;
|
|
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
|
selectedElementIds: Readonly<{
|
|
113
113
|
[id: string]: true;
|
|
114
114
|
}>;
|
|
@@ -126,7 +126,7 @@ export declare const actionPaste: {
|
|
|
126
126
|
duration?: number;
|
|
127
127
|
} | null;
|
|
128
128
|
zenModeEnabled: boolean;
|
|
129
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
129
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
130
130
|
gridSize: number;
|
|
131
131
|
gridStep: number;
|
|
132
132
|
gridModeEnabled: boolean;
|
|
@@ -134,7 +134,7 @@ export declare const actionPaste: {
|
|
|
134
134
|
selectedGroupIds: {
|
|
135
135
|
[groupId: string]: boolean;
|
|
136
136
|
};
|
|
137
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
137
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
138
138
|
width: number;
|
|
139
139
|
height: number;
|
|
140
140
|
offsetTop: number;
|
|
@@ -146,7 +146,7 @@ export declare const actionPaste: {
|
|
|
146
146
|
panels: number;
|
|
147
147
|
};
|
|
148
148
|
showHyperlinkPopup: false | "info" | "editor";
|
|
149
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
149
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
150
150
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
151
151
|
originSnapOffset: {
|
|
152
152
|
x: number;
|
|
@@ -156,16 +156,16 @@ export declare const actionPaste: {
|
|
|
156
156
|
userToFollow: import("../types").UserToFollow | null;
|
|
157
157
|
followedBy: Set<import("../types").SocketId>;
|
|
158
158
|
isCropping: boolean;
|
|
159
|
-
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
159
|
+
croppingElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
160
160
|
searchMatches: Readonly<{
|
|
161
|
-
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
161
|
+
focusedId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
162
162
|
matches: readonly import("../types").SearchMatch[];
|
|
163
163
|
}> | null;
|
|
164
164
|
activeLockedId: string | null;
|
|
165
165
|
lockedMultiSelections: {
|
|
166
166
|
[groupId: string]: true;
|
|
167
167
|
};
|
|
168
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
168
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
169
169
|
};
|
|
170
170
|
} | {
|
|
171
171
|
captureUpdate: "EVENTUALLY";
|
|
@@ -176,7 +176,7 @@ export declare const actionPaste: {
|
|
|
176
176
|
keyTest?: undefined;
|
|
177
177
|
};
|
|
178
178
|
export declare const actionCut: import("./types").Action<ClipboardEvent | null> & {
|
|
179
|
-
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: import("../types").AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
179
|
+
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: import("../types").AppState, elements: readonly import("@nous-excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
180
180
|
};
|
|
181
181
|
export declare const actionCopyAsSvg: {
|
|
182
182
|
name: "copyAsSvg";
|
|
@@ -185,7 +185,7 @@ export declare const actionCopyAsSvg: {
|
|
|
185
185
|
trackEvent: {
|
|
186
186
|
category: "element";
|
|
187
187
|
};
|
|
188
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _data: unknown, app: import("../types").AppClassProperties) => Promise<{
|
|
188
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _data: unknown, app: import("../types").AppClassProperties) => Promise<{
|
|
189
189
|
captureUpdate: "EVENTUALLY";
|
|
190
190
|
appState?: undefined;
|
|
191
191
|
} | {
|
|
@@ -203,7 +203,7 @@ export declare const actionCopyAsSvg: {
|
|
|
203
203
|
};
|
|
204
204
|
captureUpdate: "EVENTUALLY";
|
|
205
205
|
}>;
|
|
206
|
-
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[]) => boolean;
|
|
206
|
+
predicate: (elements: readonly import("@nous-excalidraw/element/types").ExcalidrawElement[]) => boolean;
|
|
207
207
|
keywords: string[];
|
|
208
208
|
} & {
|
|
209
209
|
keyTest?: undefined;
|
|
@@ -215,7 +215,7 @@ export declare const actionCopyAsPng: {
|
|
|
215
215
|
trackEvent: {
|
|
216
216
|
category: "element";
|
|
217
217
|
};
|
|
218
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _data: unknown, app: import("../types").AppClassProperties) => Promise<{
|
|
218
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _data: unknown, app: import("../types").AppClassProperties) => Promise<{
|
|
219
219
|
captureUpdate: "EVENTUALLY";
|
|
220
220
|
appState?: undefined;
|
|
221
221
|
} | {
|
|
@@ -229,23 +229,23 @@ export declare const actionCopyAsPng: {
|
|
|
229
229
|
showWelcomeScreen: boolean;
|
|
230
230
|
isLoading: boolean;
|
|
231
231
|
activeEmbeddable: {
|
|
232
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
232
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
233
233
|
state: "hover" | "active";
|
|
234
234
|
} | null;
|
|
235
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
236
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
237
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
238
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
235
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
236
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
237
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
238
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
239
239
|
isBindingEnabled: boolean;
|
|
240
240
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
241
241
|
bindingPreference: "enabled" | "disabled";
|
|
242
242
|
isMidpointSnappingEnabled: boolean;
|
|
243
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
243
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
244
244
|
suggestedBinding: {
|
|
245
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
246
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
245
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
246
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
247
247
|
} | null;
|
|
248
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
248
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
249
249
|
frameRendering: {
|
|
250
250
|
enabled: boolean;
|
|
251
251
|
name: boolean;
|
|
@@ -253,8 +253,8 @@ export declare const actionCopyAsPng: {
|
|
|
253
253
|
clip: boolean;
|
|
254
254
|
};
|
|
255
255
|
editingFrame: string | null;
|
|
256
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
257
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
256
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
257
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
258
258
|
activeTool: {
|
|
259
259
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
260
260
|
locked: boolean;
|
|
@@ -272,18 +272,18 @@ export declare const actionCopyAsPng: {
|
|
|
272
272
|
exportScale: number;
|
|
273
273
|
currentItemStrokeColor: string;
|
|
274
274
|
currentItemBackgroundColor: string;
|
|
275
|
-
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
275
|
+
currentItemFillStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
276
276
|
currentItemStrokeWidth: number;
|
|
277
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
277
|
+
currentItemStrokeStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
278
278
|
currentItemRoughness: number;
|
|
279
279
|
currentItemOpacity: number;
|
|
280
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
280
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
281
281
|
currentItemFontSize: number;
|
|
282
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
283
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
284
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
285
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
286
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
282
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
283
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
284
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
285
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
286
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
287
287
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
288
288
|
viewBackgroundColor: string;
|
|
289
289
|
scrollX: number;
|
|
@@ -311,14 +311,14 @@ export declare const actionCopyAsPng: {
|
|
|
311
311
|
name: "settings";
|
|
312
312
|
} | {
|
|
313
313
|
name: "elementLinkSelector";
|
|
314
|
-
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
314
|
+
sourceElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"];
|
|
315
315
|
} | {
|
|
316
316
|
name: "charts";
|
|
317
317
|
data: import("../charts").Spreadsheet;
|
|
318
318
|
rawText: string;
|
|
319
319
|
};
|
|
320
320
|
defaultSidebarDockedPreference: boolean;
|
|
321
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
321
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
322
322
|
selectedElementIds: Readonly<{
|
|
323
323
|
[id: string]: true;
|
|
324
324
|
}>;
|
|
@@ -336,7 +336,7 @@ export declare const actionCopyAsPng: {
|
|
|
336
336
|
duration?: number;
|
|
337
337
|
} | null;
|
|
338
338
|
zenModeEnabled: boolean;
|
|
339
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
339
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
340
340
|
gridSize: number;
|
|
341
341
|
gridStep: number;
|
|
342
342
|
gridModeEnabled: boolean;
|
|
@@ -344,7 +344,7 @@ export declare const actionCopyAsPng: {
|
|
|
344
344
|
selectedGroupIds: {
|
|
345
345
|
[groupId: string]: boolean;
|
|
346
346
|
};
|
|
347
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
347
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
348
348
|
width: number;
|
|
349
349
|
height: number;
|
|
350
350
|
offsetTop: number;
|
|
@@ -356,7 +356,7 @@ export declare const actionCopyAsPng: {
|
|
|
356
356
|
panels: number;
|
|
357
357
|
};
|
|
358
358
|
showHyperlinkPopup: false | "info" | "editor";
|
|
359
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
359
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
360
360
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
361
361
|
originSnapOffset: {
|
|
362
362
|
x: number;
|
|
@@ -366,20 +366,20 @@ export declare const actionCopyAsPng: {
|
|
|
366
366
|
userToFollow: import("../types").UserToFollow | null;
|
|
367
367
|
followedBy: Set<import("../types").SocketId>;
|
|
368
368
|
isCropping: boolean;
|
|
369
|
-
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
369
|
+
croppingElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
370
370
|
searchMatches: Readonly<{
|
|
371
|
-
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
371
|
+
focusedId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
372
372
|
matches: readonly import("../types").SearchMatch[];
|
|
373
373
|
}> | null;
|
|
374
374
|
activeLockedId: string | null;
|
|
375
375
|
lockedMultiSelections: {
|
|
376
376
|
[groupId: string]: true;
|
|
377
377
|
};
|
|
378
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
378
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
379
379
|
};
|
|
380
380
|
captureUpdate: "EVENTUALLY";
|
|
381
381
|
}>;
|
|
382
|
-
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[]) => boolean;
|
|
382
|
+
predicate: (elements: readonly import("@nous-excalidraw/element/types").ExcalidrawElement[]) => boolean;
|
|
383
383
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
384
384
|
keywords: string[];
|
|
385
385
|
} & {
|
|
@@ -391,10 +391,10 @@ export declare const copyText: {
|
|
|
391
391
|
trackEvent: {
|
|
392
392
|
category: "element";
|
|
393
393
|
};
|
|
394
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
394
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
395
395
|
captureUpdate: "EVENTUALLY";
|
|
396
396
|
};
|
|
397
|
-
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
397
|
+
predicate: (elements: readonly import("@nous-excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
398
398
|
keywords: string[];
|
|
399
399
|
} & {
|
|
400
400
|
keyTest?: undefined;
|
|
@@ -7,7 +7,7 @@ export declare const actionToggleCropEditor: {
|
|
|
7
7
|
category: "menu";
|
|
8
8
|
};
|
|
9
9
|
keywords: string[];
|
|
10
|
-
perform(elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties): {
|
|
10
|
+
perform(elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties): {
|
|
11
11
|
appState: {
|
|
12
12
|
isCropping: false;
|
|
13
13
|
croppingElementId: string;
|
|
@@ -20,23 +20,23 @@ export declare const actionToggleCropEditor: {
|
|
|
20
20
|
isLoading: boolean;
|
|
21
21
|
errorMessage: React.ReactNode;
|
|
22
22
|
activeEmbeddable: {
|
|
23
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
23
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
24
24
|
state: "hover" | "active";
|
|
25
25
|
} | null;
|
|
26
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
27
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
28
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
29
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
26
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
27
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
28
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
29
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
30
30
|
isBindingEnabled: boolean;
|
|
31
31
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
32
32
|
bindingPreference: "enabled" | "disabled";
|
|
33
33
|
isMidpointSnappingEnabled: boolean;
|
|
34
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
34
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
35
35
|
suggestedBinding: {
|
|
36
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
37
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
36
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
37
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
38
38
|
} | null;
|
|
39
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
39
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
40
40
|
frameRendering: {
|
|
41
41
|
enabled: boolean;
|
|
42
42
|
name: boolean;
|
|
@@ -44,8 +44,8 @@ export declare const actionToggleCropEditor: {
|
|
|
44
44
|
clip: boolean;
|
|
45
45
|
};
|
|
46
46
|
editingFrame: string | null;
|
|
47
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
48
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
47
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
48
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
49
49
|
activeTool: {
|
|
50
50
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
51
51
|
locked: boolean;
|
|
@@ -63,18 +63,18 @@ export declare const actionToggleCropEditor: {
|
|
|
63
63
|
exportScale: number;
|
|
64
64
|
currentItemStrokeColor: string;
|
|
65
65
|
currentItemBackgroundColor: string;
|
|
66
|
-
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
66
|
+
currentItemFillStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
67
67
|
currentItemStrokeWidth: number;
|
|
68
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
68
|
+
currentItemStrokeStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
69
69
|
currentItemRoughness: number;
|
|
70
70
|
currentItemOpacity: number;
|
|
71
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
71
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
72
72
|
currentItemFontSize: number;
|
|
73
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
74
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
75
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
76
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
77
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
73
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
74
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
75
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
76
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
77
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
78
78
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
79
79
|
viewBackgroundColor: string;
|
|
80
80
|
scrollX: number;
|
|
@@ -102,14 +102,14 @@ export declare const actionToggleCropEditor: {
|
|
|
102
102
|
name: "settings";
|
|
103
103
|
} | {
|
|
104
104
|
name: "elementLinkSelector";
|
|
105
|
-
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
105
|
+
sourceElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"];
|
|
106
106
|
} | {
|
|
107
107
|
name: "charts";
|
|
108
108
|
data: import("../charts").Spreadsheet;
|
|
109
109
|
rawText: string;
|
|
110
110
|
};
|
|
111
111
|
defaultSidebarDockedPreference: boolean;
|
|
112
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
112
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
113
113
|
selectedElementIds: Readonly<{
|
|
114
114
|
[id: string]: true;
|
|
115
115
|
}>;
|
|
@@ -127,7 +127,7 @@ export declare const actionToggleCropEditor: {
|
|
|
127
127
|
duration?: number;
|
|
128
128
|
} | null;
|
|
129
129
|
zenModeEnabled: boolean;
|
|
130
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
130
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
131
131
|
gridSize: number;
|
|
132
132
|
gridStep: number;
|
|
133
133
|
gridModeEnabled: boolean;
|
|
@@ -135,7 +135,7 @@ export declare const actionToggleCropEditor: {
|
|
|
135
135
|
selectedGroupIds: {
|
|
136
136
|
[groupId: string]: boolean;
|
|
137
137
|
};
|
|
138
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
138
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
139
139
|
width: number;
|
|
140
140
|
height: number;
|
|
141
141
|
offsetTop: number;
|
|
@@ -147,7 +147,7 @@ export declare const actionToggleCropEditor: {
|
|
|
147
147
|
panels: number;
|
|
148
148
|
};
|
|
149
149
|
showHyperlinkPopup: false | "info" | "editor";
|
|
150
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
150
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
151
151
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
152
152
|
originSnapOffset: {
|
|
153
153
|
x: number;
|
|
@@ -157,18 +157,18 @@ export declare const actionToggleCropEditor: {
|
|
|
157
157
|
userToFollow: import("../types").UserToFollow | null;
|
|
158
158
|
followedBy: Set<import("../types").SocketId>;
|
|
159
159
|
searchMatches: Readonly<{
|
|
160
|
-
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
160
|
+
focusedId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
161
161
|
matches: readonly import("../types").SearchMatch[];
|
|
162
162
|
}> | null;
|
|
163
163
|
activeLockedId: string | null;
|
|
164
164
|
lockedMultiSelections: {
|
|
165
165
|
[groupId: string]: true;
|
|
166
166
|
};
|
|
167
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
167
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
168
168
|
};
|
|
169
169
|
captureUpdate: "IMMEDIATELY";
|
|
170
170
|
};
|
|
171
|
-
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
171
|
+
predicate: (elements: readonly import("@nous-excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
172
172
|
PanelComponent: ({ appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
173
173
|
} & {
|
|
174
174
|
keyTest?: undefined;
|