@nous-excalidraw/math 0.18.0-cy.1 → 0.18.0
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,9 +1,9 @@
|
|
|
1
1
|
export declare const actionLink: {
|
|
2
2
|
name: "hyperlink";
|
|
3
|
-
label: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => "labels.link.editEmbed" | "labels.link.edit" | "labels.link.create";
|
|
3
|
+
label: (elements: readonly import("@nous-excalidraw/element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => "labels.link.editEmbed" | "labels.link.edit" | "labels.link.create";
|
|
4
4
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>) => false | {
|
|
6
|
-
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
5
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>) => false | {
|
|
6
|
+
elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
|
|
7
7
|
appState: {
|
|
8
8
|
showHyperlinkPopup: "editor";
|
|
9
9
|
openMenu: null;
|
|
@@ -16,23 +16,23 @@ export declare const actionLink: {
|
|
|
16
16
|
isLoading: boolean;
|
|
17
17
|
errorMessage: React.ReactNode;
|
|
18
18
|
activeEmbeddable: {
|
|
19
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
19
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
20
20
|
state: "hover" | "active";
|
|
21
21
|
} | null;
|
|
22
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
23
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
24
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
25
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
22
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
23
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
24
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
25
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
26
26
|
isBindingEnabled: boolean;
|
|
27
27
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
28
28
|
bindingPreference: "enabled" | "disabled";
|
|
29
29
|
isMidpointSnappingEnabled: boolean;
|
|
30
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
30
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
31
31
|
suggestedBinding: {
|
|
32
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
33
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
32
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
33
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
34
34
|
} | null;
|
|
35
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
35
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
36
36
|
frameRendering: {
|
|
37
37
|
enabled: boolean;
|
|
38
38
|
name: boolean;
|
|
@@ -40,8 +40,8 @@ export declare const actionLink: {
|
|
|
40
40
|
clip: boolean;
|
|
41
41
|
};
|
|
42
42
|
editingFrame: string | null;
|
|
43
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
44
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
43
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
44
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
45
45
|
activeTool: {
|
|
46
46
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
47
47
|
locked: boolean;
|
|
@@ -59,18 +59,18 @@ export declare const actionLink: {
|
|
|
59
59
|
exportScale: number;
|
|
60
60
|
currentItemStrokeColor: string;
|
|
61
61
|
currentItemBackgroundColor: string;
|
|
62
|
-
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
62
|
+
currentItemFillStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
63
63
|
currentItemStrokeWidth: number;
|
|
64
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
64
|
+
currentItemStrokeStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
65
65
|
currentItemRoughness: number;
|
|
66
66
|
currentItemOpacity: number;
|
|
67
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
67
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
68
68
|
currentItemFontSize: number;
|
|
69
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
70
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
71
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
72
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
73
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
69
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
70
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
71
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
72
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
73
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
74
74
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
75
75
|
viewBackgroundColor: string;
|
|
76
76
|
scrollX: number;
|
|
@@ -97,14 +97,14 @@ export declare const actionLink: {
|
|
|
97
97
|
name: "settings";
|
|
98
98
|
} | {
|
|
99
99
|
name: "elementLinkSelector";
|
|
100
|
-
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
100
|
+
sourceElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"];
|
|
101
101
|
} | {
|
|
102
102
|
name: "charts";
|
|
103
103
|
data: import("../charts").Spreadsheet;
|
|
104
104
|
rawText: string;
|
|
105
105
|
};
|
|
106
106
|
defaultSidebarDockedPreference: boolean;
|
|
107
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
107
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
108
108
|
selectedElementIds: Readonly<{
|
|
109
109
|
[id: string]: true;
|
|
110
110
|
}>;
|
|
@@ -122,7 +122,7 @@ export declare const actionLink: {
|
|
|
122
122
|
duration?: number;
|
|
123
123
|
} | null;
|
|
124
124
|
zenModeEnabled: boolean;
|
|
125
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
125
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
126
126
|
gridSize: number;
|
|
127
127
|
gridStep: number;
|
|
128
128
|
gridModeEnabled: boolean;
|
|
@@ -130,7 +130,7 @@ export declare const actionLink: {
|
|
|
130
130
|
selectedGroupIds: {
|
|
131
131
|
[groupId: string]: boolean;
|
|
132
132
|
};
|
|
133
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
133
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
134
134
|
width: number;
|
|
135
135
|
height: number;
|
|
136
136
|
offsetTop: number;
|
|
@@ -141,7 +141,7 @@ export declare const actionLink: {
|
|
|
141
141
|
open: boolean;
|
|
142
142
|
panels: number;
|
|
143
143
|
};
|
|
144
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
144
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
145
145
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
146
146
|
originSnapOffset: {
|
|
147
147
|
x: number;
|
|
@@ -151,16 +151,16 @@ export declare const actionLink: {
|
|
|
151
151
|
userToFollow: import("../types").UserToFollow | null;
|
|
152
152
|
followedBy: Set<import("../types").SocketId>;
|
|
153
153
|
isCropping: boolean;
|
|
154
|
-
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
154
|
+
croppingElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
155
155
|
searchMatches: Readonly<{
|
|
156
|
-
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
156
|
+
focusedId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
157
157
|
matches: readonly import("../types").SearchMatch[];
|
|
158
158
|
}> | null;
|
|
159
159
|
activeLockedId: string | null;
|
|
160
160
|
lockedMultiSelections: {
|
|
161
161
|
[groupId: string]: true;
|
|
162
162
|
};
|
|
163
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
163
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
164
164
|
};
|
|
165
165
|
captureUpdate: "IMMEDIATELY";
|
|
166
166
|
};
|
|
@@ -169,7 +169,7 @@ export declare const actionLink: {
|
|
|
169
169
|
action: string;
|
|
170
170
|
};
|
|
171
171
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
172
|
-
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState) => boolean;
|
|
172
|
+
predicate: (elements: readonly import("@nous-excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState) => boolean;
|
|
173
173
|
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
174
174
|
} & {
|
|
175
175
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -7,7 +7,7 @@ export declare const actionShortcuts: {
|
|
|
7
7
|
category: "menu";
|
|
8
8
|
action: string;
|
|
9
9
|
};
|
|
10
|
-
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, { focusContainer }: import("../types").AppClassProperties) => {
|
|
10
|
+
perform: (_elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, { focusContainer }: import("../types").AppClassProperties) => {
|
|
11
11
|
appState: {
|
|
12
12
|
openDialog: {
|
|
13
13
|
name: "help";
|
|
@@ -23,23 +23,23 @@ export declare const actionShortcuts: {
|
|
|
23
23
|
isLoading: boolean;
|
|
24
24
|
errorMessage: React.ReactNode;
|
|
25
25
|
activeEmbeddable: {
|
|
26
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
26
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
27
27
|
state: "hover" | "active";
|
|
28
28
|
} | null;
|
|
29
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
30
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
31
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
32
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
29
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
30
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
31
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
32
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
33
33
|
isBindingEnabled: boolean;
|
|
34
34
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
35
35
|
bindingPreference: "enabled" | "disabled";
|
|
36
36
|
isMidpointSnappingEnabled: boolean;
|
|
37
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
37
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
38
38
|
suggestedBinding: {
|
|
39
|
-
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
40
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
39
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
|
|
40
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
41
41
|
} | null;
|
|
42
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
42
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
43
43
|
frameRendering: {
|
|
44
44
|
enabled: boolean;
|
|
45
45
|
name: boolean;
|
|
@@ -47,8 +47,8 @@ export declare const actionShortcuts: {
|
|
|
47
47
|
clip: boolean;
|
|
48
48
|
};
|
|
49
49
|
editingFrame: string | null;
|
|
50
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
51
|
-
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
50
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
51
|
+
editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
|
|
52
52
|
activeTool: {
|
|
53
53
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
54
54
|
locked: boolean;
|
|
@@ -66,18 +66,18 @@ export declare const actionShortcuts: {
|
|
|
66
66
|
exportScale: number;
|
|
67
67
|
currentItemStrokeColor: string;
|
|
68
68
|
currentItemBackgroundColor: string;
|
|
69
|
-
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
69
|
+
currentItemFillStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
70
70
|
currentItemStrokeWidth: number;
|
|
71
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
71
|
+
currentItemStrokeStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
72
72
|
currentItemRoughness: number;
|
|
73
73
|
currentItemOpacity: number;
|
|
74
|
-
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
74
|
+
currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
|
|
75
75
|
currentItemFontSize: number;
|
|
76
|
-
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
77
|
-
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
78
|
-
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
79
|
-
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
80
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
76
|
+
currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
|
|
77
|
+
currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
78
|
+
currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
|
|
79
|
+
currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
|
|
80
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
81
81
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
82
82
|
viewBackgroundColor: string;
|
|
83
83
|
scrollX: number;
|
|
@@ -93,7 +93,7 @@ export declare const actionShortcuts: {
|
|
|
93
93
|
tab?: import("../types").SidebarTabName;
|
|
94
94
|
} | null;
|
|
95
95
|
defaultSidebarDockedPreference: boolean;
|
|
96
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
96
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
97
97
|
selectedElementIds: Readonly<{
|
|
98
98
|
[id: string]: true;
|
|
99
99
|
}>;
|
|
@@ -111,7 +111,7 @@ export declare const actionShortcuts: {
|
|
|
111
111
|
duration?: number;
|
|
112
112
|
} | null;
|
|
113
113
|
zenModeEnabled: boolean;
|
|
114
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
114
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
115
115
|
gridSize: number;
|
|
116
116
|
gridStep: number;
|
|
117
117
|
gridModeEnabled: boolean;
|
|
@@ -119,7 +119,7 @@ export declare const actionShortcuts: {
|
|
|
119
119
|
selectedGroupIds: {
|
|
120
120
|
[groupId: string]: boolean;
|
|
121
121
|
};
|
|
122
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
122
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
123
123
|
width: number;
|
|
124
124
|
height: number;
|
|
125
125
|
offsetTop: number;
|
|
@@ -131,7 +131,7 @@ export declare const actionShortcuts: {
|
|
|
131
131
|
panels: number;
|
|
132
132
|
};
|
|
133
133
|
showHyperlinkPopup: false | "info" | "editor";
|
|
134
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
134
|
+
selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
|
|
135
135
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
136
136
|
originSnapOffset: {
|
|
137
137
|
x: number;
|
|
@@ -141,16 +141,16 @@ export declare const actionShortcuts: {
|
|
|
141
141
|
userToFollow: import("../types").UserToFollow | null;
|
|
142
142
|
followedBy: Set<import("../types").SocketId>;
|
|
143
143
|
isCropping: boolean;
|
|
144
|
-
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
144
|
+
croppingElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
145
145
|
searchMatches: Readonly<{
|
|
146
|
-
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
146
|
+
focusedId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
147
147
|
matches: readonly import("../types").SearchMatch[];
|
|
148
148
|
}> | null;
|
|
149
149
|
activeLockedId: string | null;
|
|
150
150
|
lockedMultiSelections: {
|
|
151
151
|
[groupId: string]: true;
|
|
152
152
|
};
|
|
153
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
153
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
154
154
|
};
|
|
155
155
|
captureUpdate: "EVENTUALLY";
|
|
156
156
|
};
|
|
@@ -3,7 +3,7 @@ export declare const actionGoToCollaborator: import("./types").Action<Readonly<{
|
|
|
3
3
|
button?: "up" | "down";
|
|
4
4
|
selectedElementIds?: import("../types").AppState["selectedElementIds"];
|
|
5
5
|
username?: string | null;
|
|
6
|
-
userState?: import("@excalidraw/common").UserIdleState;
|
|
6
|
+
userState?: import("@nous-excalidraw/common").UserIdleState;
|
|
7
7
|
color?: {
|
|
8
8
|
background: string;
|
|
9
9
|
stroke: string;
|
|
@@ -16,5 +16,5 @@ export declare const actionGoToCollaborator: import("./types").Action<Readonly<{
|
|
|
16
16
|
isSpeaking?: boolean;
|
|
17
17
|
isMuted?: boolean;
|
|
18
18
|
}>> & {
|
|
19
|
-
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: import("../types").AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
19
|
+
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: import("../types").AppState, elements: readonly import("@nous-excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
20
20
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LinearElementEditor } from "@excalidraw/element";
|
|
2
|
-
import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement, ExcalidrawTextElement, FontFamilyValues, TextAlign } from "@excalidraw/element/types";
|
|
1
|
+
import { LinearElementEditor } from "@nous-excalidraw/element";
|
|
2
|
+
import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement, ExcalidrawTextElement, FontFamilyValues, TextAlign } from "@nous-excalidraw/element/types";
|
|
3
3
|
import type { AppClassProperties, AppState, Primitive } from "../types";
|
|
4
4
|
export declare const changeProperty: (elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: ExcalidrawElement) => ExcalidrawElement, includeBoundText?: boolean) => ExcalidrawElement[];
|
|
5
5
|
export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], app: AppClassProperties, getAttribute: (element: ExcalidrawElement) => T, elementPredicate: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
|
|
@@ -9,7 +9,7 @@ export declare const actionChangeStrokeColor: import("./types").Action<Pick<AppS
|
|
|
9
9
|
export declare const actionChangeBackgroundColor: import("./types").Action<Pick<AppState, "viewBackgroundColor" | "currentItemBackgroundColor">> & {
|
|
10
10
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
|
|
11
11
|
};
|
|
12
|
-
export declare const actionChangeFillStyle: import("./types").Action<import("@excalidraw/element/types").FillStyle> & {
|
|
12
|
+
export declare const actionChangeFillStyle: import("./types").Action<import("@nous-excalidraw/element/types").FillStyle> & {
|
|
13
13
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
|
|
14
14
|
};
|
|
15
15
|
export declare const actionChangeStrokeWidth: import("./types").Action<number> & {
|
|
@@ -18,7 +18,7 @@ export declare const actionChangeStrokeWidth: import("./types").Action<number> &
|
|
|
18
18
|
export declare const actionChangeSloppiness: import("./types").Action<number> & {
|
|
19
19
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
|
|
20
20
|
};
|
|
21
|
-
export declare const actionChangeStrokeStyle: import("./types").Action<import("@excalidraw/element/types").StrokeStyle> & {
|
|
21
|
+
export declare const actionChangeStrokeStyle: import("./types").Action<import("@nous-excalidraw/element/types").StrokeStyle> & {
|
|
22
22
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
|
|
23
23
|
};
|
|
24
24
|
export declare const actionChangeOpacity: import("./types").Action<number> & {
|
|
@@ -32,7 +32,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
32
32
|
label: string;
|
|
33
33
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
34
34
|
trackEvent: false;
|
|
35
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => {
|
|
35
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => {
|
|
36
36
|
elements: ExcalidrawElement[];
|
|
37
37
|
appState: {
|
|
38
38
|
currentItemFontSize: number;
|
|
@@ -45,23 +45,23 @@ export declare const actionDecreaseFontSize: {
|
|
|
45
45
|
isLoading: boolean;
|
|
46
46
|
errorMessage: React.ReactNode;
|
|
47
47
|
activeEmbeddable: {
|
|
48
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
48
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
49
49
|
state: "hover" | "active";
|
|
50
50
|
} | null;
|
|
51
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
52
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
53
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
54
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
51
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
52
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
53
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
54
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
55
55
|
isBindingEnabled: boolean;
|
|
56
56
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
57
57
|
bindingPreference: "enabled" | "disabled";
|
|
58
58
|
isMidpointSnappingEnabled: boolean;
|
|
59
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
59
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
60
60
|
suggestedBinding: {
|
|
61
|
-
element: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement>;
|
|
62
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
61
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawBindableElement>;
|
|
62
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
63
63
|
} | null;
|
|
64
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
64
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
65
65
|
frameRendering: {
|
|
66
66
|
enabled: boolean;
|
|
67
67
|
name: boolean;
|
|
@@ -69,7 +69,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
69
69
|
clip: boolean;
|
|
70
70
|
};
|
|
71
71
|
editingFrame: string | null;
|
|
72
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
72
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
73
73
|
editingTextElement: ExcalidrawTextElement | null;
|
|
74
74
|
activeTool: {
|
|
75
75
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -98,7 +98,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
98
98
|
currentItemStartArrowhead: Arrowhead | null;
|
|
99
99
|
currentItemEndArrowhead: Arrowhead | null;
|
|
100
100
|
currentHoveredFontFamily: FontFamilyValues | null;
|
|
101
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
101
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
102
102
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
103
103
|
viewBackgroundColor: string;
|
|
104
104
|
scrollX: number;
|
|
@@ -133,7 +133,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
133
133
|
rawText: string;
|
|
134
134
|
};
|
|
135
135
|
defaultSidebarDockedPreference: boolean;
|
|
136
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
136
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
137
137
|
selectedElementIds: Readonly<{
|
|
138
138
|
[id: string]: true;
|
|
139
139
|
}>;
|
|
@@ -151,7 +151,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
151
151
|
duration?: number;
|
|
152
152
|
} | null;
|
|
153
153
|
zenModeEnabled: boolean;
|
|
154
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
154
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
155
155
|
gridSize: number;
|
|
156
156
|
gridStep: number;
|
|
157
157
|
gridModeEnabled: boolean;
|
|
@@ -159,7 +159,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
159
159
|
selectedGroupIds: {
|
|
160
160
|
[groupId: string]: boolean;
|
|
161
161
|
};
|
|
162
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
162
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
163
163
|
width: number;
|
|
164
164
|
height: number;
|
|
165
165
|
offsetTop: number;
|
|
@@ -190,7 +190,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
190
190
|
lockedMultiSelections: {
|
|
191
191
|
[groupId: string]: true;
|
|
192
192
|
};
|
|
193
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
193
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
194
194
|
};
|
|
195
195
|
captureUpdate: "IMMEDIATELY";
|
|
196
196
|
};
|
|
@@ -203,7 +203,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
203
203
|
label: string;
|
|
204
204
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
205
205
|
trackEvent: false;
|
|
206
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => {
|
|
206
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => {
|
|
207
207
|
elements: ExcalidrawElement[];
|
|
208
208
|
appState: {
|
|
209
209
|
currentItemFontSize: number;
|
|
@@ -216,23 +216,23 @@ export declare const actionIncreaseFontSize: {
|
|
|
216
216
|
isLoading: boolean;
|
|
217
217
|
errorMessage: React.ReactNode;
|
|
218
218
|
activeEmbeddable: {
|
|
219
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
219
|
+
element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
220
220
|
state: "hover" | "active";
|
|
221
221
|
} | null;
|
|
222
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
223
|
-
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
224
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
225
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
222
|
+
newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
223
|
+
resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
224
|
+
multiElement: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
225
|
+
selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
226
226
|
isBindingEnabled: boolean;
|
|
227
227
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
228
228
|
bindingPreference: "enabled" | "disabled";
|
|
229
229
|
isMidpointSnappingEnabled: boolean;
|
|
230
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
230
|
+
startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
231
231
|
suggestedBinding: {
|
|
232
|
-
element: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement>;
|
|
233
|
-
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
232
|
+
element: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawBindableElement>;
|
|
233
|
+
midPoint?: import("@nous-excalidraw/math").GlobalPoint;
|
|
234
234
|
} | null;
|
|
235
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
235
|
+
frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
236
236
|
frameRendering: {
|
|
237
237
|
enabled: boolean;
|
|
238
238
|
name: boolean;
|
|
@@ -240,7 +240,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
240
240
|
clip: boolean;
|
|
241
241
|
};
|
|
242
242
|
editingFrame: string | null;
|
|
243
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
243
|
+
elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
244
244
|
editingTextElement: ExcalidrawTextElement | null;
|
|
245
245
|
activeTool: {
|
|
246
246
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -269,7 +269,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
269
269
|
currentItemStartArrowhead: Arrowhead | null;
|
|
270
270
|
currentItemEndArrowhead: Arrowhead | null;
|
|
271
271
|
currentHoveredFontFamily: FontFamilyValues | null;
|
|
272
|
-
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
272
|
+
currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
|
|
273
273
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
274
274
|
viewBackgroundColor: string;
|
|
275
275
|
scrollX: number;
|
|
@@ -304,7 +304,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
304
304
|
rawText: string;
|
|
305
305
|
};
|
|
306
306
|
defaultSidebarDockedPreference: boolean;
|
|
307
|
-
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
307
|
+
lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
|
|
308
308
|
selectedElementIds: Readonly<{
|
|
309
309
|
[id: string]: true;
|
|
310
310
|
}>;
|
|
@@ -322,7 +322,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
322
322
|
duration?: number;
|
|
323
323
|
} | null;
|
|
324
324
|
zenModeEnabled: boolean;
|
|
325
|
-
theme: import("@excalidraw/element/types").Theme;
|
|
325
|
+
theme: import("@nous-excalidraw/element/types").Theme;
|
|
326
326
|
gridSize: number;
|
|
327
327
|
gridStep: number;
|
|
328
328
|
gridModeEnabled: boolean;
|
|
@@ -330,7 +330,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
330
330
|
selectedGroupIds: {
|
|
331
331
|
[groupId: string]: boolean;
|
|
332
332
|
};
|
|
333
|
-
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
333
|
+
editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
|
|
334
334
|
width: number;
|
|
335
335
|
height: number;
|
|
336
336
|
offsetTop: number;
|
|
@@ -361,7 +361,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
361
361
|
lockedMultiSelections: {
|
|
362
362
|
[groupId: string]: true;
|
|
363
363
|
};
|
|
364
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
364
|
+
bindMode: import("@nous-excalidraw/element/types").BindMode;
|
|
365
365
|
};
|
|
366
366
|
captureUpdate: "IMMEDIATELY";
|
|
367
367
|
};
|
|
@@ -394,7 +394,7 @@ export declare const actionChangeArrowProperties: {
|
|
|
394
394
|
name: "changeArrowProperties";
|
|
395
395
|
label: string;
|
|
396
396
|
trackEvent: false;
|
|
397
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => false;
|
|
397
|
+
perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => false;
|
|
398
398
|
PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
399
399
|
} & {
|
|
400
400
|
keyTest?: undefined;
|