@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
|
@@ -5,7 +5,7 @@ export declare const actionCopyElementLink: {
|
|
|
5
5
|
trackEvent: {
|
|
6
6
|
category: "element";
|
|
7
7
|
};
|
|
8
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => Promise<{
|
|
8
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => Promise<{
|
|
9
9
|
appState: {
|
|
10
10
|
toast: {
|
|
11
11
|
message: string;
|
|
@@ -17,11 +17,11 @@ export declare const actionCopyElementLink: {
|
|
|
17
17
|
app?: undefined;
|
|
18
18
|
} | {
|
|
19
19
|
appState: Readonly<import("../types").AppState>;
|
|
20
|
-
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
20
|
+
elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
|
|
21
21
|
app: import("../types").AppClassProperties;
|
|
22
22
|
captureUpdate: "EVENTUALLY";
|
|
23
23
|
}>;
|
|
24
|
-
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState) => boolean;
|
|
24
|
+
predicate: (elements: readonly import("@nous-excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState) => boolean;
|
|
25
25
|
} & {
|
|
26
26
|
keyTest?: undefined;
|
|
27
27
|
};
|
|
@@ -29,8 +29,8 @@ export declare const actionLinkToElement: {
|
|
|
29
29
|
name: "linkToElement";
|
|
30
30
|
label: string;
|
|
31
31
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
33
|
-
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
32
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
33
|
+
elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
|
|
34
34
|
appState: Readonly<import("../types").AppState>;
|
|
35
35
|
app: import("../types").AppClassProperties;
|
|
36
36
|
captureUpdate: "EVENTUALLY";
|
|
@@ -49,23 +49,23 @@ export declare const actionLinkToElement: {
|
|
|
49
49
|
isLoading: boolean;
|
|
50
50
|
errorMessage: React.ReactNode;
|
|
51
51
|
activeEmbeddable: {
|
|
52
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
52
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
53
53
|
state: "hover" | "active";
|
|
54
54
|
} | null;
|
|
55
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
56
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
57
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
58
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
55
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
56
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
57
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
58
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
59
59
|
isBindingEnabled: boolean;
|
|
60
60
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
61
61
|
bindingPreference: "enabled" | "disabled";
|
|
62
62
|
isMidpointSnappingEnabled: boolean;
|
|
63
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
63
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
64
64
|
suggestedBinding: {
|
|
65
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
66
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
65
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
66
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
67
67
|
} | null;
|
|
68
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
68
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
69
69
|
frameRendering: {
|
|
70
70
|
enabled: boolean;
|
|
71
71
|
name: boolean;
|
|
@@ -73,8 +73,8 @@ export declare const actionLinkToElement: {
|
|
|
73
73
|
clip: boolean;
|
|
74
74
|
};
|
|
75
75
|
editingFrame: string | null;
|
|
76
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
77
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
76
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
77
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
78
78
|
activeTool: {
|
|
79
79
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
80
80
|
locked: boolean;
|
|
@@ -92,18 +92,18 @@ export declare const actionLinkToElement: {
|
|
|
92
92
|
exportScale: number;
|
|
93
93
|
currentItemStrokeColor: string;
|
|
94
94
|
currentItemBackgroundColor: string;
|
|
95
|
-
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
95
|
+
currentItemFillStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
96
96
|
currentItemStrokeWidth: number;
|
|
97
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
97
|
+
currentItemStrokeStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
98
98
|
currentItemRoughness: number;
|
|
99
99
|
currentItemOpacity: number;
|
|
100
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
100
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
101
101
|
currentItemFontSize: number;
|
|
102
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
103
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
104
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
105
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
106
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
102
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
103
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
104
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
105
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
106
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
107
107
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
108
108
|
viewBackgroundColor: string;
|
|
109
109
|
scrollX: number;
|
|
@@ -121,7 +121,7 @@ export declare const actionLinkToElement: {
|
|
|
121
121
|
tab?: import("../types").SidebarTabName;
|
|
122
122
|
} | null;
|
|
123
123
|
defaultSidebarDockedPreference: boolean;
|
|
124
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
124
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
125
125
|
selectedElementIds: Readonly<{
|
|
126
126
|
[id: string]: true;
|
|
127
127
|
}>;
|
|
@@ -139,7 +139,7 @@ export declare const actionLinkToElement: {
|
|
|
139
139
|
duration?: number;
|
|
140
140
|
} | null;
|
|
141
141
|
zenModeEnabled: boolean;
|
|
142
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
142
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
143
143
|
gridSize: number;
|
|
144
144
|
gridStep: number;
|
|
145
145
|
gridModeEnabled: boolean;
|
|
@@ -147,7 +147,7 @@ export declare const actionLinkToElement: {
|
|
|
147
147
|
selectedGroupIds: {
|
|
148
148
|
[groupId: string]: boolean;
|
|
149
149
|
};
|
|
150
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
150
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
151
151
|
width: number;
|
|
152
152
|
height: number;
|
|
153
153
|
offsetTop: number;
|
|
@@ -159,7 +159,7 @@ export declare const actionLinkToElement: {
|
|
|
159
159
|
panels: number;
|
|
160
160
|
};
|
|
161
161
|
showHyperlinkPopup: false | "info" | "editor";
|
|
162
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
162
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
163
163
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
164
164
|
originSnapOffset: {
|
|
165
165
|
x: number;
|
|
@@ -169,22 +169,22 @@ export declare const actionLinkToElement: {
|
|
|
169
169
|
userToFollow: import("../types").UserToFollow | null;
|
|
170
170
|
followedBy: Set<import("../types").SocketId>;
|
|
171
171
|
isCropping: boolean;
|
|
172
|
-
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
172
|
+
croppingElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
173
173
|
searchMatches: Readonly<{
|
|
174
|
-
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
174
|
+
focusedId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
175
175
|
matches: readonly import("../types").SearchMatch[];
|
|
176
176
|
}> | null;
|
|
177
177
|
activeLockedId: string | null;
|
|
178
178
|
lockedMultiSelections: {
|
|
179
179
|
[groupId: string]: true;
|
|
180
180
|
};
|
|
181
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
181
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
182
182
|
};
|
|
183
183
|
captureUpdate: "IMMEDIATELY";
|
|
184
184
|
elements?: undefined;
|
|
185
185
|
app?: undefined;
|
|
186
186
|
};
|
|
187
|
-
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, appProps: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
187
|
+
predicate: (elements: readonly import("@nous-excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, appProps: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
188
188
|
trackEvent: false;
|
|
189
189
|
} & {
|
|
190
190
|
keyTest?: undefined;
|
|
@@ -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 { AppState } from "../types";
|
|
3
3
|
export declare const actionToggleElementLock: {
|
|
4
4
|
name: "toggleElementLock";
|
|
@@ -8,8 +8,8 @@ export declare const actionToggleElementLock: {
|
|
|
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) => false | {
|
|
12
|
-
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
11
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => false | {
|
|
12
|
+
elements: import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
|
|
13
13
|
appState: {
|
|
14
14
|
selectedElementIds: Readonly<{
|
|
15
15
|
[id: string]: true;
|
|
@@ -17,7 +17,7 @@ export declare const actionToggleElementLock: {
|
|
|
17
17
|
selectedGroupIds: {
|
|
18
18
|
[groupId: string]: boolean;
|
|
19
19
|
};
|
|
20
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
20
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
21
21
|
lockedMultiSelections: {
|
|
22
22
|
[groupId: string]: true;
|
|
23
23
|
};
|
|
@@ -31,23 +31,23 @@ export declare const actionToggleElementLock: {
|
|
|
31
31
|
isLoading: boolean;
|
|
32
32
|
errorMessage: React.ReactNode;
|
|
33
33
|
activeEmbeddable: {
|
|
34
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
34
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
35
35
|
state: "hover" | "active";
|
|
36
36
|
} | null;
|
|
37
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
38
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
39
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
40
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
37
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
38
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
39
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
40
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
41
41
|
isBindingEnabled: boolean;
|
|
42
42
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
43
43
|
bindingPreference: "enabled" | "disabled";
|
|
44
44
|
isMidpointSnappingEnabled: boolean;
|
|
45
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
45
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
46
46
|
suggestedBinding: {
|
|
47
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
48
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
47
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
48
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
49
49
|
} | null;
|
|
50
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
50
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
51
51
|
frameRendering: {
|
|
52
52
|
enabled: boolean;
|
|
53
53
|
name: boolean;
|
|
@@ -55,8 +55,8 @@ export declare const actionToggleElementLock: {
|
|
|
55
55
|
clip: boolean;
|
|
56
56
|
};
|
|
57
57
|
editingFrame: string | null;
|
|
58
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
59
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
58
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
59
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
60
60
|
activeTool: {
|
|
61
61
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
62
62
|
locked: boolean;
|
|
@@ -79,13 +79,13 @@ export declare const actionToggleElementLock: {
|
|
|
79
79
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
80
80
|
currentItemRoughness: number;
|
|
81
81
|
currentItemOpacity: number;
|
|
82
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
82
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
83
83
|
currentItemFontSize: number;
|
|
84
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
85
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
86
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
87
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
88
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
84
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
85
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
86
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
87
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
88
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
89
89
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
90
90
|
viewBackgroundColor: string;
|
|
91
91
|
scrollX: number;
|
|
@@ -120,7 +120,7 @@ export declare const actionToggleElementLock: {
|
|
|
120
120
|
rawText: string;
|
|
121
121
|
};
|
|
122
122
|
defaultSidebarDockedPreference: boolean;
|
|
123
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
123
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
124
124
|
hoveredElementIds: Readonly<{
|
|
125
125
|
[id: string]: true;
|
|
126
126
|
}>;
|
|
@@ -135,12 +135,12 @@ export declare const actionToggleElementLock: {
|
|
|
135
135
|
duration?: number;
|
|
136
136
|
} | null;
|
|
137
137
|
zenModeEnabled: boolean;
|
|
138
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
138
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
139
139
|
gridSize: number;
|
|
140
140
|
gridStep: number;
|
|
141
141
|
gridModeEnabled: boolean;
|
|
142
142
|
viewModeEnabled: boolean;
|
|
143
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
143
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
144
144
|
width: number;
|
|
145
145
|
height: number;
|
|
146
146
|
offsetTop: number;
|
|
@@ -166,7 +166,7 @@ export declare const actionToggleElementLock: {
|
|
|
166
166
|
focusedId: ExcalidrawElement["id"] | null;
|
|
167
167
|
matches: readonly import("../types").SearchMatch[];
|
|
168
168
|
}> | null;
|
|
169
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
169
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
170
170
|
};
|
|
171
171
|
captureUpdate: "IMMEDIATELY";
|
|
172
172
|
};
|
|
@@ -182,8 +182,8 @@ export declare const actionUnlockAllElements: {
|
|
|
182
182
|
viewMode: false;
|
|
183
183
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
184
184
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState) => boolean;
|
|
185
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
|
|
186
|
-
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
185
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
|
|
186
|
+
elements: import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
|
|
187
187
|
appState: {
|
|
188
188
|
selectedElementIds: {
|
|
189
189
|
[k: string]: true;
|
|
@@ -202,23 +202,23 @@ export declare const actionUnlockAllElements: {
|
|
|
202
202
|
isLoading: boolean;
|
|
203
203
|
errorMessage: React.ReactNode;
|
|
204
204
|
activeEmbeddable: {
|
|
205
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
205
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
206
206
|
state: "hover" | "active";
|
|
207
207
|
} | null;
|
|
208
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
209
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
210
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
211
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
208
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
209
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
210
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
211
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
212
212
|
isBindingEnabled: boolean;
|
|
213
213
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
214
214
|
bindingPreference: "enabled" | "disabled";
|
|
215
215
|
isMidpointSnappingEnabled: boolean;
|
|
216
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
216
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
217
217
|
suggestedBinding: {
|
|
218
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
219
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
218
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
219
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
220
220
|
} | null;
|
|
221
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
221
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
222
222
|
frameRendering: {
|
|
223
223
|
enabled: boolean;
|
|
224
224
|
name: boolean;
|
|
@@ -226,8 +226,8 @@ export declare const actionUnlockAllElements: {
|
|
|
226
226
|
clip: boolean;
|
|
227
227
|
};
|
|
228
228
|
editingFrame: string | null;
|
|
229
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
230
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
229
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
230
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
231
231
|
activeTool: {
|
|
232
232
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
233
233
|
locked: boolean;
|
|
@@ -250,13 +250,13 @@ export declare const actionUnlockAllElements: {
|
|
|
250
250
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
251
251
|
currentItemRoughness: number;
|
|
252
252
|
currentItemOpacity: number;
|
|
253
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
253
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
254
254
|
currentItemFontSize: number;
|
|
255
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
256
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
257
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
258
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
259
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
255
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
256
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
257
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
258
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
259
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
260
260
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
261
261
|
viewBackgroundColor: string;
|
|
262
262
|
scrollX: number;
|
|
@@ -291,7 +291,7 @@ export declare const actionUnlockAllElements: {
|
|
|
291
291
|
rawText: string;
|
|
292
292
|
};
|
|
293
293
|
defaultSidebarDockedPreference: boolean;
|
|
294
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
294
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
295
295
|
hoveredElementIds: Readonly<{
|
|
296
296
|
[id: string]: true;
|
|
297
297
|
}>;
|
|
@@ -306,12 +306,12 @@ export declare const actionUnlockAllElements: {
|
|
|
306
306
|
duration?: number;
|
|
307
307
|
} | null;
|
|
308
308
|
zenModeEnabled: boolean;
|
|
309
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
309
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
310
310
|
gridSize: number;
|
|
311
311
|
gridStep: number;
|
|
312
312
|
gridModeEnabled: boolean;
|
|
313
313
|
viewModeEnabled: boolean;
|
|
314
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
314
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
315
315
|
width: number;
|
|
316
316
|
height: number;
|
|
317
317
|
offsetTop: number;
|
|
@@ -323,7 +323,7 @@ export declare const actionUnlockAllElements: {
|
|
|
323
323
|
panels: number;
|
|
324
324
|
};
|
|
325
325
|
showHyperlinkPopup: false | "info" | "editor";
|
|
326
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
326
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
327
327
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
328
328
|
originSnapOffset: {
|
|
329
329
|
x: number;
|
|
@@ -338,7 +338,7 @@ export declare const actionUnlockAllElements: {
|
|
|
338
338
|
focusedId: ExcalidrawElement["id"] | null;
|
|
339
339
|
matches: readonly import("../types").SearchMatch[];
|
|
340
340
|
}> | null;
|
|
341
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
341
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
342
342
|
};
|
|
343
343
|
captureUpdate: "IMMEDIATELY";
|
|
344
344
|
};
|
|
@@ -5,8 +5,8 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
5
5
|
};
|
|
6
6
|
target: string;
|
|
7
7
|
label: string;
|
|
8
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
9
|
-
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
8
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
9
|
+
elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
|
|
10
10
|
appState: {
|
|
11
11
|
activeTool: {
|
|
12
12
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -22,23 +22,23 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
22
22
|
isLoading: boolean;
|
|
23
23
|
errorMessage: React.ReactNode;
|
|
24
24
|
activeEmbeddable: {
|
|
25
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
25
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
26
26
|
state: "hover" | "active";
|
|
27
27
|
} | null;
|
|
28
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
29
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
30
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
31
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
28
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
29
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
30
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
31
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
32
32
|
isBindingEnabled: boolean;
|
|
33
33
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
34
34
|
bindingPreference: "enabled" | "disabled";
|
|
35
35
|
isMidpointSnappingEnabled: boolean;
|
|
36
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
36
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
37
37
|
suggestedBinding: {
|
|
38
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
39
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
38
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
39
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
40
40
|
} | null;
|
|
41
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
41
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
42
42
|
frameRendering: {
|
|
43
43
|
enabled: boolean;
|
|
44
44
|
name: boolean;
|
|
@@ -46,8 +46,8 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
46
46
|
clip: boolean;
|
|
47
47
|
};
|
|
48
48
|
editingFrame: string | null;
|
|
49
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
50
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
49
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
50
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
51
51
|
preferredSelectionTool: {
|
|
52
52
|
type: "selection" | "lasso";
|
|
53
53
|
initialized: boolean;
|
|
@@ -60,18 +60,18 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
60
60
|
exportScale: number;
|
|
61
61
|
currentItemStrokeColor: string;
|
|
62
62
|
currentItemBackgroundColor: string;
|
|
63
|
-
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
63
|
+
currentItemFillStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
64
64
|
currentItemStrokeWidth: number;
|
|
65
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
65
|
+
currentItemStrokeStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
66
66
|
currentItemRoughness: number;
|
|
67
67
|
currentItemOpacity: number;
|
|
68
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
68
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
69
69
|
currentItemFontSize: number;
|
|
70
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
71
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
72
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
73
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
74
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
70
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
71
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
72
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
73
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
74
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
75
75
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
76
76
|
viewBackgroundColor: string;
|
|
77
77
|
scrollX: number;
|
|
@@ -99,14 +99,14 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
99
99
|
name: "settings";
|
|
100
100
|
} | {
|
|
101
101
|
name: "elementLinkSelector";
|
|
102
|
-
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
102
|
+
sourceElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"];
|
|
103
103
|
} | {
|
|
104
104
|
name: "charts";
|
|
105
105
|
data: import("../charts").Spreadsheet;
|
|
106
106
|
rawText: string;
|
|
107
107
|
};
|
|
108
108
|
defaultSidebarDockedPreference: boolean;
|
|
109
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
109
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
110
110
|
selectedElementIds: Readonly<{
|
|
111
111
|
[id: string]: true;
|
|
112
112
|
}>;
|
|
@@ -124,7 +124,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
124
124
|
duration?: number;
|
|
125
125
|
} | null;
|
|
126
126
|
zenModeEnabled: boolean;
|
|
127
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
127
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
128
128
|
gridSize: number;
|
|
129
129
|
gridStep: number;
|
|
130
130
|
gridModeEnabled: boolean;
|
|
@@ -132,7 +132,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
132
132
|
selectedGroupIds: {
|
|
133
133
|
[groupId: string]: boolean;
|
|
134
134
|
};
|
|
135
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
135
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
136
136
|
width: number;
|
|
137
137
|
height: number;
|
|
138
138
|
offsetTop: number;
|
|
@@ -144,7 +144,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
144
144
|
panels: number;
|
|
145
145
|
};
|
|
146
146
|
showHyperlinkPopup: false | "info" | "editor";
|
|
147
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
147
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
148
148
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
149
149
|
originSnapOffset: {
|
|
150
150
|
x: number;
|
|
@@ -154,16 +154,16 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
154
154
|
userToFollow: import("../types").UserToFollow | null;
|
|
155
155
|
followedBy: Set<import("../types").SocketId>;
|
|
156
156
|
isCropping: boolean;
|
|
157
|
-
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
157
|
+
croppingElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
158
158
|
searchMatches: Readonly<{
|
|
159
|
-
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
159
|
+
focusedId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
160
160
|
matches: readonly import("../types").SearchMatch[];
|
|
161
161
|
}> | null;
|
|
162
162
|
activeLockedId: string | null;
|
|
163
163
|
lockedMultiSelections: {
|
|
164
164
|
[groupId: string]: true;
|
|
165
165
|
};
|
|
166
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
166
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
167
167
|
};
|
|
168
168
|
captureUpdate: "EVENTUALLY";
|
|
169
169
|
};
|