@hellixit/hellixitboard 0.1.0 → 0.1.2
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 +11 -53
- package/dist/prod/chunk-IGUB3U7T.js +4 -0
- package/dist/prod/data/{image-2IKBHSIF.js → image-WXEFXRM6.js} +1 -1
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +16 -16
- package/dist/types/common/src/constants.d.ts +1 -1
- package/dist/types/common/src/font-metadata.d.ts +1 -1
- package/dist/types/common/src/points.d.ts +1 -1
- package/dist/types/common/src/utils.d.ts +2 -2
- package/dist/types/element/src/Scene.d.ts +4 -4
- package/dist/types/element/src/arrows/focus.d.ts +1 -1
- package/dist/types/element/src/binding.d.ts +3 -3
- package/dist/types/element/src/bounds.d.ts +2 -2
- package/dist/types/element/src/collision.d.ts +1 -1
- package/dist/types/element/src/delta.d.ts +2 -2
- package/dist/types/element/src/distance.d.ts +1 -1
- package/dist/types/element/src/dragElements.d.ts +1 -1
- package/dist/types/element/src/duplicate.d.ts +1 -1
- package/dist/types/element/src/elbowArrow.d.ts +1 -1
- package/dist/types/element/src/embeddable.d.ts +1 -1
- package/dist/types/element/src/frame.d.ts +1 -1
- package/dist/types/element/src/groups.d.ts +1 -1
- package/dist/types/element/src/heading.d.ts +2 -2
- package/dist/types/element/src/image.d.ts +1 -1
- package/dist/types/element/src/linearElementEditor.d.ts +3 -3
- 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 +2 -2
- package/dist/types/element/src/resizeElements.d.ts +1 -1
- package/dist/types/element/src/resizeTest.d.ts +3 -3
- package/dist/types/element/src/shape.d.ts +3 -3
- package/dist/types/element/src/store.d.ts +2 -2
- package/dist/types/element/src/textElement.d.ts +2 -2
- package/dist/types/element/src/transform.d.ts +1 -1
- package/dist/types/element/src/transformHandles.d.ts +3 -3
- package/dist/types/element/src/typeChecks.d.ts +1 -1
- package/dist/types/element/src/types.d.ts +3 -3
- package/dist/types/element/src/utils.d.ts +2 -2
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/hellixitboard/actions/actionAddToLibrary.d.ts +82 -82
- package/dist/types/hellixitboard/actions/actionAlign.d.ts +7 -7
- package/dist/types/hellixitboard/actions/actionBoundText.d.ts +50 -50
- package/dist/types/hellixitboard/actions/actionCanvas.d.ts +275 -275
- package/dist/types/hellixitboard/actions/actionClipboard.d.ts +63 -63
- package/dist/types/hellixitboard/actions/actionCropEditor.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionDeleteSelected.d.ts +69 -69
- package/dist/types/hellixitboard/actions/actionDistribute.d.ts +3 -3
- package/dist/types/hellixitboard/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/hellixitboard/actions/actionElementLink.d.ts +32 -32
- package/dist/types/hellixitboard/actions/actionElementLock.d.ts +49 -49
- package/dist/types/hellixitboard/actions/actionEmbeddable.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionExport.d.ts +48 -48
- package/dist/types/hellixitboard/actions/actionFinalize.d.ts +1 -1
- package/dist/types/hellixitboard/actions/actionFlip.d.ts +3 -3
- package/dist/types/hellixitboard/actions/actionFrame.d.ts +210 -210
- package/dist/types/hellixitboard/actions/actionGroup.d.ts +43 -43
- package/dist/types/hellixitboard/actions/actionLinearEditor.d.ts +149 -149
- package/dist/types/hellixitboard/actions/actionLink.d.ts +31 -31
- package/dist/types/hellixitboard/actions/actionMenu.d.ts +27 -27
- package/dist/types/hellixitboard/actions/actionNavigate.d.ts +2 -2
- package/dist/types/hellixitboard/actions/actionProperties.d.ts +39 -39
- package/dist/types/hellixitboard/actions/actionSelectAll.d.ts +23 -23
- package/dist/types/hellixitboard/actions/actionStyles.d.ts +31 -31
- package/dist/types/hellixitboard/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/hellixitboard/actions/actionToggleArrowBinding.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionToggleGridMode.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionToggleMidpointSnapping.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionToggleObjectsSnapMode.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionToggleSearchMenu.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionToggleShapeSwitch.d.ts +2 -2
- package/dist/types/hellixitboard/actions/actionToggleStats.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionToggleViewMode.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionToggleZenMode.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionZindex.d.ts +8 -8
- package/dist/types/hellixitboard/actions/manager.d.ts +1 -1
- package/dist/types/hellixitboard/actions/shortcuts.d.ts +1 -1
- package/dist/types/hellixitboard/actions/types.d.ts +2 -2
- package/dist/types/hellixitboard/animated-trail.d.ts +2 -2
- package/dist/types/hellixitboard/appState.d.ts +9 -9
- package/dist/types/hellixitboard/charts/charts.constants.d.ts +1 -1
- package/dist/types/hellixitboard/charts/charts.helpers.d.ts +3 -3
- package/dist/types/hellixitboard/charts/charts.types.d.ts +1 -1
- package/dist/types/hellixitboard/charts/index.d.ts +1 -1
- package/dist/types/hellixitboard/clipboard.d.ts +4 -4
- package/dist/types/hellixitboard/components/Actions.d.ts +1 -1
- package/dist/types/hellixitboard/components/App.d.ts +9 -9
- package/dist/types/hellixitboard/components/ColorPicker/ColorPicker.d.ts +2 -2
- package/dist/types/hellixitboard/components/ColorPicker/Picker.d.ts +2 -2
- package/dist/types/hellixitboard/components/ColorPicker/PickerColorList.d.ts +1 -1
- package/dist/types/hellixitboard/components/ColorPicker/ShadeList.d.ts +1 -1
- package/dist/types/hellixitboard/components/ColorPicker/colorPickerUtils.d.ts +2 -2
- package/dist/types/hellixitboard/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/hellixitboard/components/ConvertElementTypePopup.d.ts +2 -2
- package/dist/types/hellixitboard/components/DarkModeToggle.d.ts +1 -1
- package/dist/types/hellixitboard/components/DefaultSidebar.d.ts +1 -1
- package/dist/types/hellixitboard/components/ElementCanvasButtons.d.ts +1 -1
- package/dist/types/hellixitboard/components/ElementLinkDialog.d.ts +2 -2
- package/dist/types/hellixitboard/components/EyeDropper.d.ts +1 -1
- package/dist/types/hellixitboard/components/FontPicker/FontPicker.d.ts +1 -1
- package/dist/types/hellixitboard/components/FontPicker/FontPickerList.d.ts +2 -2
- package/dist/types/hellixitboard/components/FontPicker/FontPickerTrigger.d.ts +1 -1
- package/dist/types/hellixitboard/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/hellixitboard/components/HintViewer.d.ts +1 -1
- package/dist/types/hellixitboard/components/ImageExportDialog.d.ts +1 -1
- package/dist/types/hellixitboard/components/InitializeApp.d.ts +1 -1
- package/dist/types/hellixitboard/components/JSONExportDialog.d.ts +1 -1
- package/dist/types/hellixitboard/components/LayerUI.d.ts +1 -1
- package/dist/types/hellixitboard/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/hellixitboard/components/LoadingMessage.d.ts +1 -1
- package/dist/types/hellixitboard/components/MobileMenu.d.ts +1 -1
- package/dist/types/hellixitboard/components/Stats/Angle.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/CanvasGrid.d.ts +1 -1
- package/dist/types/hellixitboard/components/Stats/Dimension.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/DragInput.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/FontSize.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/MultiAngle.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/MultiDimension.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/MultiFontSize.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/MultiPosition.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/Position.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/index.d.ts +1 -1
- package/dist/types/hellixitboard/components/Stats/utils.d.ts +2 -2
- package/dist/types/hellixitboard/components/TTDDialog/CodeMirrorEditor.d.ts +1 -1
- package/dist/types/hellixitboard/components/TTDDialog/common.d.ts +1 -1
- package/dist/types/hellixitboard/components/TTDDialog/hooks/useMermaidRenderer.d.ts +1 -1
- package/dist/types/hellixitboard/components/TTDDialog/types.d.ts +3 -3
- package/dist/types/hellixitboard/components/ToolButton.d.ts +1 -1
- package/dist/types/hellixitboard/components/canvases/InteractiveCanvas.d.ts +2 -2
- package/dist/types/hellixitboard/components/canvases/NewElementCanvas.d.ts +1 -1
- package/dist/types/hellixitboard/components/canvases/StaticCanvas.d.ts +1 -1
- package/dist/types/hellixitboard/components/dropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/types/hellixitboard/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/types/hellixitboard/components/hyperlink/Hyperlink.d.ts +2 -2
- package/dist/types/hellixitboard/components/hyperlink/helpers.d.ts +3 -3
- package/dist/types/hellixitboard/components/icons.d.ts +1 -1
- package/dist/types/hellixitboard/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
- package/dist/types/hellixitboard/components/main-menu/DefaultItems.d.ts +1 -1
- package/dist/types/hellixitboard/components/main-menu/MainMenu.d.ts +1 -1
- package/dist/types/hellixitboard/data/EditorLocalStorage.d.ts +1 -1
- package/dist/types/hellixitboard/data/blob.d.ts +49 -49
- package/dist/types/hellixitboard/data/filesystem.d.ts +1 -1
- package/dist/types/hellixitboard/data/index.d.ts +1 -1
- package/dist/types/hellixitboard/data/json.d.ts +24 -24
- package/dist/types/hellixitboard/data/library.d.ts +2 -2
- package/dist/types/hellixitboard/data/reconcile.d.ts +2 -2
- package/dist/types/hellixitboard/data/resave.d.ts +2 -2
- package/dist/types/hellixitboard/data/restore.d.ts +2 -2
- package/dist/types/hellixitboard/data/types.d.ts +2 -2
- package/dist/types/hellixitboard/fonts/Fonts.d.ts +3 -3
- package/dist/types/hellixitboard/history.d.ts +4 -4
- package/dist/types/hellixitboard/hooks/useEmitter.d.ts +1 -1
- package/dist/types/hellixitboard/i18n.d.ts +1 -1
- package/dist/types/hellixitboard/index.d.ts +12 -12
- package/dist/types/hellixitboard/lasso/utils.d.ts +2 -2
- package/dist/types/hellixitboard/renderer/staticScene.d.ts +1 -1
- package/dist/types/hellixitboard/renderer/staticSvgScene.d.ts +1 -1
- package/dist/types/hellixitboard/scene/Renderer.d.ts +2 -2
- package/dist/types/hellixitboard/scene/export.d.ts +1 -1
- package/dist/types/hellixitboard/scene/index.d.ts +2 -2
- package/dist/types/hellixitboard/scene/scroll.d.ts +1 -1
- package/dist/types/hellixitboard/scene/types.d.ts +3 -3
- package/dist/types/hellixitboard/snapping.d.ts +5 -5
- package/dist/types/hellixitboard/types.d.ts +7 -7
- package/dist/types/hellixitboard/wysiwyg/textWysiwyg.d.ts +1 -1
- package/dist/types/utils/src/bbox.d.ts +2 -2
- package/dist/types/utils/src/export.d.ts +2 -2
- 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 +7 -7
- package/dist/prod/chunk-6TQ3TBTF.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type SceneBounds } from "@
|
|
2
|
-
import type { HellixitboardElement } from "@
|
|
1
|
+
import { type SceneBounds } from "@hellixit/element";
|
|
2
|
+
import type { HellixitboardElement } from "@hellixit/element/types";
|
|
3
3
|
import type { AppState, Offsets } from "../types";
|
|
4
4
|
export declare const actionChangeViewBackgroundColor: import("./types").Action<Partial<AppState>> & {
|
|
5
5
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly HellixitboardElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
@@ -12,11 +12,11 @@ export declare const actionClearCanvas: {
|
|
|
12
12
|
category: "canvas";
|
|
13
13
|
};
|
|
14
14
|
predicate: (elements: readonly HellixitboardElement[], appState: AppState, props: import("../types").HellixitboardProps, app: import("../types").AppClassProperties) => boolean;
|
|
15
|
-
perform: (elements: readonly import("@
|
|
16
|
-
elements: import("@
|
|
15
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
16
|
+
elements: import("@hellixit/element/types").OrderedHellixitboardElement[];
|
|
17
17
|
appState: {
|
|
18
18
|
files: {};
|
|
19
|
-
theme: import("@
|
|
19
|
+
theme: import("@hellixit/element/types").Theme;
|
|
20
20
|
penMode: boolean;
|
|
21
21
|
penDetected: boolean;
|
|
22
22
|
exportBackground: boolean;
|
|
@@ -62,34 +62,34 @@ export declare const actionClearCanvas: {
|
|
|
62
62
|
data: import("../charts").Spreadsheet;
|
|
63
63
|
rawText: string;
|
|
64
64
|
};
|
|
65
|
-
editingGroupId: import("@
|
|
65
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
66
66
|
selectedElementIds: Readonly<{
|
|
67
67
|
[id: string]: true;
|
|
68
68
|
}>;
|
|
69
|
-
frameToHighlight: import("@
|
|
69
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
70
70
|
activeEmbeddable: {
|
|
71
|
-
element: import("@
|
|
71
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
72
72
|
state: "hover" | "active";
|
|
73
73
|
} | null;
|
|
74
|
-
selectionElement: import("@
|
|
74
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
75
75
|
selectedGroupIds: {
|
|
76
76
|
[groupId: string]: boolean;
|
|
77
77
|
};
|
|
78
|
-
selectedLinearElement: import("@
|
|
79
|
-
multiElement: import("@
|
|
80
|
-
newElement: import("@
|
|
78
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
79
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
80
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
81
81
|
isBindingEnabled: boolean;
|
|
82
82
|
isMidpointSnappingEnabled: boolean;
|
|
83
83
|
suggestedBinding: {
|
|
84
|
-
element: import("@
|
|
85
|
-
midPoint?: import("@
|
|
84
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
85
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
86
86
|
} | null;
|
|
87
87
|
isRotating: boolean;
|
|
88
|
-
elementsToHighlight: import("@
|
|
88
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
89
89
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
90
90
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
91
91
|
zenModeEnabled: boolean;
|
|
92
|
-
editingTextElement: import("@
|
|
92
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
93
93
|
isCropping: boolean;
|
|
94
94
|
croppingElementId: HellixitboardElement["id"] | null;
|
|
95
95
|
searchMatches: Readonly<{
|
|
@@ -103,7 +103,7 @@ export declare const actionClearCanvas: {
|
|
|
103
103
|
shouldCacheIgnoreZoom: boolean;
|
|
104
104
|
exportScale: number;
|
|
105
105
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
106
|
-
bindMode: import("@
|
|
106
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
107
107
|
contextMenu: {
|
|
108
108
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
109
109
|
top: number;
|
|
@@ -112,9 +112,9 @@ export declare const actionClearCanvas: {
|
|
|
112
112
|
showWelcomeScreen: boolean;
|
|
113
113
|
isLoading: boolean;
|
|
114
114
|
errorMessage: React.ReactNode;
|
|
115
|
-
resizingElement: import("@
|
|
115
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
116
116
|
bindingPreference: "enabled" | "disabled";
|
|
117
|
-
startBoundElement: import("@
|
|
117
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
118
118
|
editingFrame: string | null;
|
|
119
119
|
preferredSelectionTool: {
|
|
120
120
|
type: "selection" | "lasso";
|
|
@@ -128,13 +128,13 @@ export declare const actionClearCanvas: {
|
|
|
128
128
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
129
129
|
currentItemRoughness: number;
|
|
130
130
|
currentItemOpacity: number;
|
|
131
|
-
currentItemFontFamily: import("@
|
|
131
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
132
132
|
currentItemFontSize: number;
|
|
133
|
-
currentItemTextAlign: import("@
|
|
134
|
-
currentItemStartArrowhead: import("@
|
|
135
|
-
currentItemEndArrowhead: import("@
|
|
136
|
-
currentHoveredFontFamily: import("@
|
|
137
|
-
currentItemRoundness: import("@
|
|
133
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
134
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
135
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
136
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
137
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
138
138
|
cursorButton: "up" | "down";
|
|
139
139
|
scrolledOutside: boolean;
|
|
140
140
|
isResizing: boolean;
|
|
@@ -145,7 +145,7 @@ export declare const actionClearCanvas: {
|
|
|
145
145
|
tab?: import("../types").SidebarTabName;
|
|
146
146
|
} | null;
|
|
147
147
|
defaultSidebarDockedPreference: boolean;
|
|
148
|
-
lastPointerDownWith: import("@
|
|
148
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
149
149
|
previousSelectedElementIds: {
|
|
150
150
|
[id: string]: true;
|
|
151
151
|
};
|
|
@@ -181,7 +181,7 @@ export declare const actionZoomIn: {
|
|
|
181
181
|
trackEvent: {
|
|
182
182
|
category: "canvas";
|
|
183
183
|
};
|
|
184
|
-
perform: (_elements: readonly import("@
|
|
184
|
+
perform: (_elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
185
185
|
appState: {
|
|
186
186
|
userToFollow: null;
|
|
187
187
|
scrollX: number;
|
|
@@ -198,22 +198,22 @@ export declare const actionZoomIn: {
|
|
|
198
198
|
isLoading: boolean;
|
|
199
199
|
errorMessage: React.ReactNode;
|
|
200
200
|
activeEmbeddable: {
|
|
201
|
-
element: import("@
|
|
201
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
202
202
|
state: "hover" | "active";
|
|
203
203
|
} | null;
|
|
204
|
-
newElement: import("@
|
|
205
|
-
resizingElement: import("@
|
|
206
|
-
multiElement: import("@
|
|
207
|
-
selectionElement: import("@
|
|
204
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
205
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
206
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
207
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
208
208
|
isBindingEnabled: boolean;
|
|
209
209
|
bindingPreference: "enabled" | "disabled";
|
|
210
210
|
isMidpointSnappingEnabled: boolean;
|
|
211
|
-
startBoundElement: import("@
|
|
211
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
212
212
|
suggestedBinding: {
|
|
213
|
-
element: import("@
|
|
214
|
-
midPoint?: import("@
|
|
213
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
214
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
215
215
|
} | null;
|
|
216
|
-
frameToHighlight: import("@
|
|
216
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
217
217
|
frameRendering: {
|
|
218
218
|
enabled: boolean;
|
|
219
219
|
name: boolean;
|
|
@@ -221,8 +221,8 @@ export declare const actionZoomIn: {
|
|
|
221
221
|
clip: boolean;
|
|
222
222
|
};
|
|
223
223
|
editingFrame: string | null;
|
|
224
|
-
elementsToHighlight: import("@
|
|
225
|
-
editingTextElement: import("@
|
|
224
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
225
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
226
226
|
activeTool: {
|
|
227
227
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
228
228
|
locked: boolean;
|
|
@@ -245,13 +245,13 @@ export declare const actionZoomIn: {
|
|
|
245
245
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
246
246
|
currentItemRoughness: number;
|
|
247
247
|
currentItemOpacity: number;
|
|
248
|
-
currentItemFontFamily: import("@
|
|
248
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
249
249
|
currentItemFontSize: number;
|
|
250
|
-
currentItemTextAlign: import("@
|
|
251
|
-
currentItemStartArrowhead: import("@
|
|
252
|
-
currentItemEndArrowhead: import("@
|
|
253
|
-
currentHoveredFontFamily: import("@
|
|
254
|
-
currentItemRoundness: import("@
|
|
250
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
251
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
252
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
253
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
254
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
255
255
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
256
256
|
viewBackgroundColor: string;
|
|
257
257
|
cursorButton: "up" | "down";
|
|
@@ -283,7 +283,7 @@ export declare const actionZoomIn: {
|
|
|
283
283
|
rawText: string;
|
|
284
284
|
};
|
|
285
285
|
defaultSidebarDockedPreference: boolean;
|
|
286
|
-
lastPointerDownWith: import("@
|
|
286
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
287
287
|
selectedElementIds: Readonly<{
|
|
288
288
|
[id: string]: true;
|
|
289
289
|
}>;
|
|
@@ -301,7 +301,7 @@ export declare const actionZoomIn: {
|
|
|
301
301
|
duration?: number;
|
|
302
302
|
} | null;
|
|
303
303
|
zenModeEnabled: boolean;
|
|
304
|
-
theme: import("@
|
|
304
|
+
theme: import("@hellixit/element/types").Theme;
|
|
305
305
|
gridSize: number;
|
|
306
306
|
gridStep: number;
|
|
307
307
|
gridModeEnabled: boolean;
|
|
@@ -309,7 +309,7 @@ export declare const actionZoomIn: {
|
|
|
309
309
|
selectedGroupIds: {
|
|
310
310
|
[groupId: string]: boolean;
|
|
311
311
|
};
|
|
312
|
-
editingGroupId: import("@
|
|
312
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
313
313
|
width: number;
|
|
314
314
|
height: number;
|
|
315
315
|
offsetTop: number;
|
|
@@ -321,7 +321,7 @@ export declare const actionZoomIn: {
|
|
|
321
321
|
panels: number;
|
|
322
322
|
};
|
|
323
323
|
showHyperlinkPopup: false | "info" | "editor";
|
|
324
|
-
selectedLinearElement: import("@
|
|
324
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
325
325
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
326
326
|
originSnapOffset: {
|
|
327
327
|
x: number;
|
|
@@ -339,7 +339,7 @@ export declare const actionZoomIn: {
|
|
|
339
339
|
lockedMultiSelections: {
|
|
340
340
|
[groupId: string]: true;
|
|
341
341
|
};
|
|
342
|
-
bindMode: import("@
|
|
342
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
343
343
|
};
|
|
344
344
|
captureUpdate: "EVENTUALLY";
|
|
345
345
|
};
|
|
@@ -356,7 +356,7 @@ export declare const actionZoomOut: {
|
|
|
356
356
|
trackEvent: {
|
|
357
357
|
category: "canvas";
|
|
358
358
|
};
|
|
359
|
-
perform: (_elements: readonly import("@
|
|
359
|
+
perform: (_elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
360
360
|
appState: {
|
|
361
361
|
userToFollow: null;
|
|
362
362
|
scrollX: number;
|
|
@@ -373,22 +373,22 @@ export declare const actionZoomOut: {
|
|
|
373
373
|
isLoading: boolean;
|
|
374
374
|
errorMessage: React.ReactNode;
|
|
375
375
|
activeEmbeddable: {
|
|
376
|
-
element: import("@
|
|
376
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
377
377
|
state: "hover" | "active";
|
|
378
378
|
} | null;
|
|
379
|
-
newElement: import("@
|
|
380
|
-
resizingElement: import("@
|
|
381
|
-
multiElement: import("@
|
|
382
|
-
selectionElement: import("@
|
|
379
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
380
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
381
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
382
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
383
383
|
isBindingEnabled: boolean;
|
|
384
384
|
bindingPreference: "enabled" | "disabled";
|
|
385
385
|
isMidpointSnappingEnabled: boolean;
|
|
386
|
-
startBoundElement: import("@
|
|
386
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
387
387
|
suggestedBinding: {
|
|
388
|
-
element: import("@
|
|
389
|
-
midPoint?: import("@
|
|
388
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
389
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
390
390
|
} | null;
|
|
391
|
-
frameToHighlight: import("@
|
|
391
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
392
392
|
frameRendering: {
|
|
393
393
|
enabled: boolean;
|
|
394
394
|
name: boolean;
|
|
@@ -396,8 +396,8 @@ export declare const actionZoomOut: {
|
|
|
396
396
|
clip: boolean;
|
|
397
397
|
};
|
|
398
398
|
editingFrame: string | null;
|
|
399
|
-
elementsToHighlight: import("@
|
|
400
|
-
editingTextElement: import("@
|
|
399
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
400
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
401
401
|
activeTool: {
|
|
402
402
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
403
403
|
locked: boolean;
|
|
@@ -420,13 +420,13 @@ export declare const actionZoomOut: {
|
|
|
420
420
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
421
421
|
currentItemRoughness: number;
|
|
422
422
|
currentItemOpacity: number;
|
|
423
|
-
currentItemFontFamily: import("@
|
|
423
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
424
424
|
currentItemFontSize: number;
|
|
425
|
-
currentItemTextAlign: import("@
|
|
426
|
-
currentItemStartArrowhead: import("@
|
|
427
|
-
currentItemEndArrowhead: import("@
|
|
428
|
-
currentHoveredFontFamily: import("@
|
|
429
|
-
currentItemRoundness: import("@
|
|
425
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
426
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
427
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
428
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
429
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
430
430
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
431
431
|
viewBackgroundColor: string;
|
|
432
432
|
cursorButton: "up" | "down";
|
|
@@ -458,7 +458,7 @@ export declare const actionZoomOut: {
|
|
|
458
458
|
rawText: string;
|
|
459
459
|
};
|
|
460
460
|
defaultSidebarDockedPreference: boolean;
|
|
461
|
-
lastPointerDownWith: import("@
|
|
461
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
462
462
|
selectedElementIds: Readonly<{
|
|
463
463
|
[id: string]: true;
|
|
464
464
|
}>;
|
|
@@ -476,7 +476,7 @@ export declare const actionZoomOut: {
|
|
|
476
476
|
duration?: number;
|
|
477
477
|
} | null;
|
|
478
478
|
zenModeEnabled: boolean;
|
|
479
|
-
theme: import("@
|
|
479
|
+
theme: import("@hellixit/element/types").Theme;
|
|
480
480
|
gridSize: number;
|
|
481
481
|
gridStep: number;
|
|
482
482
|
gridModeEnabled: boolean;
|
|
@@ -484,7 +484,7 @@ export declare const actionZoomOut: {
|
|
|
484
484
|
selectedGroupIds: {
|
|
485
485
|
[groupId: string]: boolean;
|
|
486
486
|
};
|
|
487
|
-
editingGroupId: import("@
|
|
487
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
488
488
|
width: number;
|
|
489
489
|
height: number;
|
|
490
490
|
offsetTop: number;
|
|
@@ -496,7 +496,7 @@ export declare const actionZoomOut: {
|
|
|
496
496
|
panels: number;
|
|
497
497
|
};
|
|
498
498
|
showHyperlinkPopup: false | "info" | "editor";
|
|
499
|
-
selectedLinearElement: import("@
|
|
499
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
500
500
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
501
501
|
originSnapOffset: {
|
|
502
502
|
x: number;
|
|
@@ -514,7 +514,7 @@ export declare const actionZoomOut: {
|
|
|
514
514
|
lockedMultiSelections: {
|
|
515
515
|
[groupId: string]: true;
|
|
516
516
|
};
|
|
517
|
-
bindMode: import("@
|
|
517
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
518
518
|
};
|
|
519
519
|
captureUpdate: "EVENTUALLY";
|
|
520
520
|
};
|
|
@@ -531,7 +531,7 @@ export declare const actionResetZoom: {
|
|
|
531
531
|
trackEvent: {
|
|
532
532
|
category: "canvas";
|
|
533
533
|
};
|
|
534
|
-
perform: (_elements: readonly import("@
|
|
534
|
+
perform: (_elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
535
535
|
appState: {
|
|
536
536
|
userToFollow: null;
|
|
537
537
|
scrollX: number;
|
|
@@ -548,22 +548,22 @@ export declare const actionResetZoom: {
|
|
|
548
548
|
isLoading: boolean;
|
|
549
549
|
errorMessage: React.ReactNode;
|
|
550
550
|
activeEmbeddable: {
|
|
551
|
-
element: import("@
|
|
551
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
552
552
|
state: "hover" | "active";
|
|
553
553
|
} | null;
|
|
554
|
-
newElement: import("@
|
|
555
|
-
resizingElement: import("@
|
|
556
|
-
multiElement: import("@
|
|
557
|
-
selectionElement: import("@
|
|
554
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
555
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
556
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
557
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
558
558
|
isBindingEnabled: boolean;
|
|
559
559
|
bindingPreference: "enabled" | "disabled";
|
|
560
560
|
isMidpointSnappingEnabled: boolean;
|
|
561
|
-
startBoundElement: import("@
|
|
561
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
562
562
|
suggestedBinding: {
|
|
563
|
-
element: import("@
|
|
564
|
-
midPoint?: import("@
|
|
563
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
564
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
565
565
|
} | null;
|
|
566
|
-
frameToHighlight: import("@
|
|
566
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
567
567
|
frameRendering: {
|
|
568
568
|
enabled: boolean;
|
|
569
569
|
name: boolean;
|
|
@@ -571,8 +571,8 @@ export declare const actionResetZoom: {
|
|
|
571
571
|
clip: boolean;
|
|
572
572
|
};
|
|
573
573
|
editingFrame: string | null;
|
|
574
|
-
elementsToHighlight: import("@
|
|
575
|
-
editingTextElement: import("@
|
|
574
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
575
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
576
576
|
activeTool: {
|
|
577
577
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
578
578
|
locked: boolean;
|
|
@@ -595,13 +595,13 @@ export declare const actionResetZoom: {
|
|
|
595
595
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
596
596
|
currentItemRoughness: number;
|
|
597
597
|
currentItemOpacity: number;
|
|
598
|
-
currentItemFontFamily: import("@
|
|
598
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
599
599
|
currentItemFontSize: number;
|
|
600
|
-
currentItemTextAlign: import("@
|
|
601
|
-
currentItemStartArrowhead: import("@
|
|
602
|
-
currentItemEndArrowhead: import("@
|
|
603
|
-
currentHoveredFontFamily: import("@
|
|
604
|
-
currentItemRoundness: import("@
|
|
600
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
601
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
602
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
603
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
604
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
605
605
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
606
606
|
viewBackgroundColor: string;
|
|
607
607
|
cursorButton: "up" | "down";
|
|
@@ -633,7 +633,7 @@ export declare const actionResetZoom: {
|
|
|
633
633
|
rawText: string;
|
|
634
634
|
};
|
|
635
635
|
defaultSidebarDockedPreference: boolean;
|
|
636
|
-
lastPointerDownWith: import("@
|
|
636
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
637
637
|
selectedElementIds: Readonly<{
|
|
638
638
|
[id: string]: true;
|
|
639
639
|
}>;
|
|
@@ -651,7 +651,7 @@ export declare const actionResetZoom: {
|
|
|
651
651
|
duration?: number;
|
|
652
652
|
} | null;
|
|
653
653
|
zenModeEnabled: boolean;
|
|
654
|
-
theme: import("@
|
|
654
|
+
theme: import("@hellixit/element/types").Theme;
|
|
655
655
|
gridSize: number;
|
|
656
656
|
gridStep: number;
|
|
657
657
|
gridModeEnabled: boolean;
|
|
@@ -659,7 +659,7 @@ export declare const actionResetZoom: {
|
|
|
659
659
|
selectedGroupIds: {
|
|
660
660
|
[groupId: string]: boolean;
|
|
661
661
|
};
|
|
662
|
-
editingGroupId: import("@
|
|
662
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
663
663
|
width: number;
|
|
664
664
|
height: number;
|
|
665
665
|
offsetTop: number;
|
|
@@ -671,7 +671,7 @@ export declare const actionResetZoom: {
|
|
|
671
671
|
panels: number;
|
|
672
672
|
};
|
|
673
673
|
showHyperlinkPopup: false | "info" | "editor";
|
|
674
|
-
selectedLinearElement: import("@
|
|
674
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
675
675
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
676
676
|
originSnapOffset: {
|
|
677
677
|
x: number;
|
|
@@ -689,7 +689,7 @@ export declare const actionResetZoom: {
|
|
|
689
689
|
lockedMultiSelections: {
|
|
690
690
|
[groupId: string]: true;
|
|
691
691
|
};
|
|
692
|
-
bindMode: import("@
|
|
692
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
693
693
|
};
|
|
694
694
|
captureUpdate: "EVENTUALLY";
|
|
695
695
|
};
|
|
@@ -724,22 +724,22 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
724
724
|
isLoading: boolean;
|
|
725
725
|
errorMessage: React.ReactNode;
|
|
726
726
|
activeEmbeddable: {
|
|
727
|
-
element: import("@
|
|
727
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
728
728
|
state: "hover" | "active";
|
|
729
729
|
} | null;
|
|
730
|
-
newElement: import("@
|
|
731
|
-
resizingElement: import("@
|
|
732
|
-
multiElement: import("@
|
|
733
|
-
selectionElement: import("@
|
|
730
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
731
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
732
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
733
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
734
734
|
isBindingEnabled: boolean;
|
|
735
735
|
bindingPreference: "enabled" | "disabled";
|
|
736
736
|
isMidpointSnappingEnabled: boolean;
|
|
737
|
-
startBoundElement: import("@
|
|
737
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
738
738
|
suggestedBinding: {
|
|
739
|
-
element: import("@
|
|
740
|
-
midPoint?: import("@
|
|
739
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
740
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
741
741
|
} | null;
|
|
742
|
-
frameToHighlight: import("@
|
|
742
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
743
743
|
frameRendering: {
|
|
744
744
|
enabled: boolean;
|
|
745
745
|
name: boolean;
|
|
@@ -747,8 +747,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
747
747
|
clip: boolean;
|
|
748
748
|
};
|
|
749
749
|
editingFrame: string | null;
|
|
750
|
-
elementsToHighlight: import("@
|
|
751
|
-
editingTextElement: import("@
|
|
750
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
751
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
752
752
|
activeTool: {
|
|
753
753
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
754
754
|
locked: boolean;
|
|
@@ -771,13 +771,13 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
771
771
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
772
772
|
currentItemRoughness: number;
|
|
773
773
|
currentItemOpacity: number;
|
|
774
|
-
currentItemFontFamily: import("@
|
|
774
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
775
775
|
currentItemFontSize: number;
|
|
776
|
-
currentItemTextAlign: import("@
|
|
777
|
-
currentItemStartArrowhead: import("@
|
|
778
|
-
currentItemEndArrowhead: import("@
|
|
779
|
-
currentHoveredFontFamily: import("@
|
|
780
|
-
currentItemRoundness: import("@
|
|
776
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
777
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
778
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
779
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
780
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
781
781
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
782
782
|
viewBackgroundColor: string;
|
|
783
783
|
cursorButton: "up" | "down";
|
|
@@ -809,7 +809,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
809
809
|
rawText: string;
|
|
810
810
|
};
|
|
811
811
|
defaultSidebarDockedPreference: boolean;
|
|
812
|
-
lastPointerDownWith: import("@
|
|
812
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
813
813
|
selectedElementIds: Readonly<{
|
|
814
814
|
[id: string]: true;
|
|
815
815
|
}>;
|
|
@@ -827,7 +827,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
827
827
|
duration?: number;
|
|
828
828
|
} | null;
|
|
829
829
|
zenModeEnabled: boolean;
|
|
830
|
-
theme: import("@
|
|
830
|
+
theme: import("@hellixit/element/types").Theme;
|
|
831
831
|
gridSize: number;
|
|
832
832
|
gridStep: number;
|
|
833
833
|
gridModeEnabled: boolean;
|
|
@@ -835,7 +835,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
835
835
|
selectedGroupIds: {
|
|
836
836
|
[groupId: string]: boolean;
|
|
837
837
|
};
|
|
838
|
-
editingGroupId: import("@
|
|
838
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
839
839
|
width: number;
|
|
840
840
|
height: number;
|
|
841
841
|
offsetTop: number;
|
|
@@ -847,7 +847,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
847
847
|
panels: number;
|
|
848
848
|
};
|
|
849
849
|
showHyperlinkPopup: false | "info" | "editor";
|
|
850
|
-
selectedLinearElement: import("@
|
|
850
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
851
851
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
852
852
|
originSnapOffset: {
|
|
853
853
|
x: number;
|
|
@@ -866,7 +866,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
866
866
|
lockedMultiSelections: {
|
|
867
867
|
[groupId: string]: true;
|
|
868
868
|
};
|
|
869
|
-
bindMode: import("@
|
|
869
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
870
870
|
};
|
|
871
871
|
captureUpdate: "EVENTUALLY";
|
|
872
872
|
};
|
|
@@ -896,22 +896,22 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
896
896
|
isLoading: boolean;
|
|
897
897
|
errorMessage: React.ReactNode;
|
|
898
898
|
activeEmbeddable: {
|
|
899
|
-
element: import("@
|
|
899
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
900
900
|
state: "hover" | "active";
|
|
901
901
|
} | null;
|
|
902
|
-
newElement: import("@
|
|
903
|
-
resizingElement: import("@
|
|
904
|
-
multiElement: import("@
|
|
905
|
-
selectionElement: import("@
|
|
902
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
903
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
904
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
905
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
906
906
|
isBindingEnabled: boolean;
|
|
907
907
|
bindingPreference: "enabled" | "disabled";
|
|
908
908
|
isMidpointSnappingEnabled: boolean;
|
|
909
|
-
startBoundElement: import("@
|
|
909
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
910
910
|
suggestedBinding: {
|
|
911
|
-
element: import("@
|
|
912
|
-
midPoint?: import("@
|
|
911
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
912
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
913
913
|
} | null;
|
|
914
|
-
frameToHighlight: import("@
|
|
914
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
915
915
|
frameRendering: {
|
|
916
916
|
enabled: boolean;
|
|
917
917
|
name: boolean;
|
|
@@ -919,8 +919,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
919
919
|
clip: boolean;
|
|
920
920
|
};
|
|
921
921
|
editingFrame: string | null;
|
|
922
|
-
elementsToHighlight: import("@
|
|
923
|
-
editingTextElement: import("@
|
|
922
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
923
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
924
924
|
activeTool: {
|
|
925
925
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
926
926
|
locked: boolean;
|
|
@@ -943,13 +943,13 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
943
943
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
944
944
|
currentItemRoughness: number;
|
|
945
945
|
currentItemOpacity: number;
|
|
946
|
-
currentItemFontFamily: import("@
|
|
946
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
947
947
|
currentItemFontSize: number;
|
|
948
|
-
currentItemTextAlign: import("@
|
|
949
|
-
currentItemStartArrowhead: import("@
|
|
950
|
-
currentItemEndArrowhead: import("@
|
|
951
|
-
currentHoveredFontFamily: import("@
|
|
952
|
-
currentItemRoundness: import("@
|
|
948
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
949
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
950
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
951
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
952
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
953
953
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
954
954
|
viewBackgroundColor: string;
|
|
955
955
|
cursorButton: "up" | "down";
|
|
@@ -981,7 +981,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
981
981
|
rawText: string;
|
|
982
982
|
};
|
|
983
983
|
defaultSidebarDockedPreference: boolean;
|
|
984
|
-
lastPointerDownWith: import("@
|
|
984
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
985
985
|
selectedElementIds: Readonly<{
|
|
986
986
|
[id: string]: true;
|
|
987
987
|
}>;
|
|
@@ -999,7 +999,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
999
999
|
duration?: number;
|
|
1000
1000
|
} | null;
|
|
1001
1001
|
zenModeEnabled: boolean;
|
|
1002
|
-
theme: import("@
|
|
1002
|
+
theme: import("@hellixit/element/types").Theme;
|
|
1003
1003
|
gridSize: number;
|
|
1004
1004
|
gridStep: number;
|
|
1005
1005
|
gridModeEnabled: boolean;
|
|
@@ -1007,7 +1007,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1007
1007
|
selectedGroupIds: {
|
|
1008
1008
|
[groupId: string]: boolean;
|
|
1009
1009
|
};
|
|
1010
|
-
editingGroupId: import("@
|
|
1010
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
1011
1011
|
width: number;
|
|
1012
1012
|
height: number;
|
|
1013
1013
|
offsetTop: number;
|
|
@@ -1019,7 +1019,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1019
1019
|
panels: number;
|
|
1020
1020
|
};
|
|
1021
1021
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1022
|
-
selectedLinearElement: import("@
|
|
1022
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
1023
1023
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1024
1024
|
originSnapOffset: {
|
|
1025
1025
|
x: number;
|
|
@@ -1038,7 +1038,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1038
1038
|
lockedMultiSelections: {
|
|
1039
1039
|
[groupId: string]: true;
|
|
1040
1040
|
};
|
|
1041
|
-
bindMode: import("@
|
|
1041
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
1042
1042
|
};
|
|
1043
1043
|
captureUpdate: "EVENTUALLY";
|
|
1044
1044
|
};
|
|
@@ -1049,7 +1049,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1049
1049
|
trackEvent: {
|
|
1050
1050
|
category: "canvas";
|
|
1051
1051
|
};
|
|
1052
|
-
perform: (elements: readonly import("@
|
|
1052
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1053
1053
|
appState: {
|
|
1054
1054
|
scrollX: number;
|
|
1055
1055
|
scrollY: number;
|
|
@@ -1065,22 +1065,22 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1065
1065
|
isLoading: boolean;
|
|
1066
1066
|
errorMessage: React.ReactNode;
|
|
1067
1067
|
activeEmbeddable: {
|
|
1068
|
-
element: import("@
|
|
1068
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
1069
1069
|
state: "hover" | "active";
|
|
1070
1070
|
} | null;
|
|
1071
|
-
newElement: import("@
|
|
1072
|
-
resizingElement: import("@
|
|
1073
|
-
multiElement: import("@
|
|
1074
|
-
selectionElement: import("@
|
|
1071
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
1072
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1073
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
1074
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1075
1075
|
isBindingEnabled: boolean;
|
|
1076
1076
|
bindingPreference: "enabled" | "disabled";
|
|
1077
1077
|
isMidpointSnappingEnabled: boolean;
|
|
1078
|
-
startBoundElement: import("@
|
|
1078
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
1079
1079
|
suggestedBinding: {
|
|
1080
|
-
element: import("@
|
|
1081
|
-
midPoint?: import("@
|
|
1080
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
1081
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
1082
1082
|
} | null;
|
|
1083
|
-
frameToHighlight: import("@
|
|
1083
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
1084
1084
|
frameRendering: {
|
|
1085
1085
|
enabled: boolean;
|
|
1086
1086
|
name: boolean;
|
|
@@ -1088,8 +1088,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1088
1088
|
clip: boolean;
|
|
1089
1089
|
};
|
|
1090
1090
|
editingFrame: string | null;
|
|
1091
|
-
elementsToHighlight: import("@
|
|
1092
|
-
editingTextElement: import("@
|
|
1091
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
1092
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1093
1093
|
activeTool: {
|
|
1094
1094
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1095
1095
|
locked: boolean;
|
|
@@ -1112,13 +1112,13 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1112
1112
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
1113
1113
|
currentItemRoughness: number;
|
|
1114
1114
|
currentItemOpacity: number;
|
|
1115
|
-
currentItemFontFamily: import("@
|
|
1115
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
1116
1116
|
currentItemFontSize: number;
|
|
1117
|
-
currentItemTextAlign: import("@
|
|
1118
|
-
currentItemStartArrowhead: import("@
|
|
1119
|
-
currentItemEndArrowhead: import("@
|
|
1120
|
-
currentHoveredFontFamily: import("@
|
|
1121
|
-
currentItemRoundness: import("@
|
|
1117
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
1118
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
1119
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
1120
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
1121
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
1122
1122
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1123
1123
|
viewBackgroundColor: string;
|
|
1124
1124
|
cursorButton: "up" | "down";
|
|
@@ -1150,7 +1150,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1150
1150
|
rawText: string;
|
|
1151
1151
|
};
|
|
1152
1152
|
defaultSidebarDockedPreference: boolean;
|
|
1153
|
-
lastPointerDownWith: import("@
|
|
1153
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
1154
1154
|
selectedElementIds: Readonly<{
|
|
1155
1155
|
[id: string]: true;
|
|
1156
1156
|
}>;
|
|
@@ -1168,7 +1168,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1168
1168
|
duration?: number;
|
|
1169
1169
|
} | null;
|
|
1170
1170
|
zenModeEnabled: boolean;
|
|
1171
|
-
theme: import("@
|
|
1171
|
+
theme: import("@hellixit/element/types").Theme;
|
|
1172
1172
|
gridSize: number;
|
|
1173
1173
|
gridStep: number;
|
|
1174
1174
|
gridModeEnabled: boolean;
|
|
@@ -1176,7 +1176,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1176
1176
|
selectedGroupIds: {
|
|
1177
1177
|
[groupId: string]: boolean;
|
|
1178
1178
|
};
|
|
1179
|
-
editingGroupId: import("@
|
|
1179
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
1180
1180
|
width: number;
|
|
1181
1181
|
height: number;
|
|
1182
1182
|
offsetTop: number;
|
|
@@ -1188,7 +1188,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1188
1188
|
panels: number;
|
|
1189
1189
|
};
|
|
1190
1190
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1191
|
-
selectedLinearElement: import("@
|
|
1191
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
1192
1192
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1193
1193
|
originSnapOffset: {
|
|
1194
1194
|
x: number;
|
|
@@ -1207,7 +1207,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1207
1207
|
lockedMultiSelections: {
|
|
1208
1208
|
[groupId: string]: true;
|
|
1209
1209
|
};
|
|
1210
|
-
bindMode: import("@
|
|
1210
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
1211
1211
|
};
|
|
1212
1212
|
captureUpdate: "EVENTUALLY";
|
|
1213
1213
|
};
|
|
@@ -1222,7 +1222,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1222
1222
|
trackEvent: {
|
|
1223
1223
|
category: "canvas";
|
|
1224
1224
|
};
|
|
1225
|
-
perform: (elements: readonly import("@
|
|
1225
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1226
1226
|
appState: {
|
|
1227
1227
|
scrollX: number;
|
|
1228
1228
|
scrollY: number;
|
|
@@ -1238,22 +1238,22 @@ export declare const actionZoomToFitSelection: {
|
|
|
1238
1238
|
isLoading: boolean;
|
|
1239
1239
|
errorMessage: React.ReactNode;
|
|
1240
1240
|
activeEmbeddable: {
|
|
1241
|
-
element: import("@
|
|
1241
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
1242
1242
|
state: "hover" | "active";
|
|
1243
1243
|
} | null;
|
|
1244
|
-
newElement: import("@
|
|
1245
|
-
resizingElement: import("@
|
|
1246
|
-
multiElement: import("@
|
|
1247
|
-
selectionElement: import("@
|
|
1244
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
1245
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1246
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
1247
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1248
1248
|
isBindingEnabled: boolean;
|
|
1249
1249
|
bindingPreference: "enabled" | "disabled";
|
|
1250
1250
|
isMidpointSnappingEnabled: boolean;
|
|
1251
|
-
startBoundElement: import("@
|
|
1251
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
1252
1252
|
suggestedBinding: {
|
|
1253
|
-
element: import("@
|
|
1254
|
-
midPoint?: import("@
|
|
1253
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
1254
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
1255
1255
|
} | null;
|
|
1256
|
-
frameToHighlight: import("@
|
|
1256
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
1257
1257
|
frameRendering: {
|
|
1258
1258
|
enabled: boolean;
|
|
1259
1259
|
name: boolean;
|
|
@@ -1261,8 +1261,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
1261
1261
|
clip: boolean;
|
|
1262
1262
|
};
|
|
1263
1263
|
editingFrame: string | null;
|
|
1264
|
-
elementsToHighlight: import("@
|
|
1265
|
-
editingTextElement: import("@
|
|
1264
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
1265
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1266
1266
|
activeTool: {
|
|
1267
1267
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1268
1268
|
locked: boolean;
|
|
@@ -1285,13 +1285,13 @@ export declare const actionZoomToFitSelection: {
|
|
|
1285
1285
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
1286
1286
|
currentItemRoughness: number;
|
|
1287
1287
|
currentItemOpacity: number;
|
|
1288
|
-
currentItemFontFamily: import("@
|
|
1288
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
1289
1289
|
currentItemFontSize: number;
|
|
1290
|
-
currentItemTextAlign: import("@
|
|
1291
|
-
currentItemStartArrowhead: import("@
|
|
1292
|
-
currentItemEndArrowhead: import("@
|
|
1293
|
-
currentHoveredFontFamily: import("@
|
|
1294
|
-
currentItemRoundness: import("@
|
|
1290
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
1291
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
1292
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
1293
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
1294
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
1295
1295
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1296
1296
|
viewBackgroundColor: string;
|
|
1297
1297
|
cursorButton: "up" | "down";
|
|
@@ -1323,7 +1323,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1323
1323
|
rawText: string;
|
|
1324
1324
|
};
|
|
1325
1325
|
defaultSidebarDockedPreference: boolean;
|
|
1326
|
-
lastPointerDownWith: import("@
|
|
1326
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
1327
1327
|
selectedElementIds: Readonly<{
|
|
1328
1328
|
[id: string]: true;
|
|
1329
1329
|
}>;
|
|
@@ -1341,7 +1341,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1341
1341
|
duration?: number;
|
|
1342
1342
|
} | null;
|
|
1343
1343
|
zenModeEnabled: boolean;
|
|
1344
|
-
theme: import("@
|
|
1344
|
+
theme: import("@hellixit/element/types").Theme;
|
|
1345
1345
|
gridSize: number;
|
|
1346
1346
|
gridStep: number;
|
|
1347
1347
|
gridModeEnabled: boolean;
|
|
@@ -1349,7 +1349,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1349
1349
|
selectedGroupIds: {
|
|
1350
1350
|
[groupId: string]: boolean;
|
|
1351
1351
|
};
|
|
1352
|
-
editingGroupId: import("@
|
|
1352
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
1353
1353
|
width: number;
|
|
1354
1354
|
height: number;
|
|
1355
1355
|
offsetTop: number;
|
|
@@ -1361,7 +1361,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1361
1361
|
panels: number;
|
|
1362
1362
|
};
|
|
1363
1363
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1364
|
-
selectedLinearElement: import("@
|
|
1364
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
1365
1365
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1366
1366
|
originSnapOffset: {
|
|
1367
1367
|
x: number;
|
|
@@ -1380,7 +1380,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1380
1380
|
lockedMultiSelections: {
|
|
1381
1381
|
[groupId: string]: true;
|
|
1382
1382
|
};
|
|
1383
|
-
bindMode: import("@
|
|
1383
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
1384
1384
|
};
|
|
1385
1385
|
captureUpdate: "EVENTUALLY";
|
|
1386
1386
|
};
|
|
@@ -1396,7 +1396,7 @@ export declare const actionZoomToFit: {
|
|
|
1396
1396
|
trackEvent: {
|
|
1397
1397
|
category: "canvas";
|
|
1398
1398
|
};
|
|
1399
|
-
perform: (elements: readonly import("@
|
|
1399
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1400
1400
|
appState: {
|
|
1401
1401
|
scrollX: number;
|
|
1402
1402
|
scrollY: number;
|
|
@@ -1412,22 +1412,22 @@ export declare const actionZoomToFit: {
|
|
|
1412
1412
|
isLoading: boolean;
|
|
1413
1413
|
errorMessage: React.ReactNode;
|
|
1414
1414
|
activeEmbeddable: {
|
|
1415
|
-
element: import("@
|
|
1415
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
1416
1416
|
state: "hover" | "active";
|
|
1417
1417
|
} | null;
|
|
1418
|
-
newElement: import("@
|
|
1419
|
-
resizingElement: import("@
|
|
1420
|
-
multiElement: import("@
|
|
1421
|
-
selectionElement: import("@
|
|
1418
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
1419
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1420
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
1421
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1422
1422
|
isBindingEnabled: boolean;
|
|
1423
1423
|
bindingPreference: "enabled" | "disabled";
|
|
1424
1424
|
isMidpointSnappingEnabled: boolean;
|
|
1425
|
-
startBoundElement: import("@
|
|
1425
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
1426
1426
|
suggestedBinding: {
|
|
1427
|
-
element: import("@
|
|
1428
|
-
midPoint?: import("@
|
|
1427
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
1428
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
1429
1429
|
} | null;
|
|
1430
|
-
frameToHighlight: import("@
|
|
1430
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
1431
1431
|
frameRendering: {
|
|
1432
1432
|
enabled: boolean;
|
|
1433
1433
|
name: boolean;
|
|
@@ -1435,8 +1435,8 @@ export declare const actionZoomToFit: {
|
|
|
1435
1435
|
clip: boolean;
|
|
1436
1436
|
};
|
|
1437
1437
|
editingFrame: string | null;
|
|
1438
|
-
elementsToHighlight: import("@
|
|
1439
|
-
editingTextElement: import("@
|
|
1438
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
1439
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1440
1440
|
activeTool: {
|
|
1441
1441
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1442
1442
|
locked: boolean;
|
|
@@ -1459,13 +1459,13 @@ export declare const actionZoomToFit: {
|
|
|
1459
1459
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
1460
1460
|
currentItemRoughness: number;
|
|
1461
1461
|
currentItemOpacity: number;
|
|
1462
|
-
currentItemFontFamily: import("@
|
|
1462
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
1463
1463
|
currentItemFontSize: number;
|
|
1464
|
-
currentItemTextAlign: import("@
|
|
1465
|
-
currentItemStartArrowhead: import("@
|
|
1466
|
-
currentItemEndArrowhead: import("@
|
|
1467
|
-
currentHoveredFontFamily: import("@
|
|
1468
|
-
currentItemRoundness: import("@
|
|
1464
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
1465
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
1466
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
1467
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
1468
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
1469
1469
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1470
1470
|
viewBackgroundColor: string;
|
|
1471
1471
|
cursorButton: "up" | "down";
|
|
@@ -1497,7 +1497,7 @@ export declare const actionZoomToFit: {
|
|
|
1497
1497
|
rawText: string;
|
|
1498
1498
|
};
|
|
1499
1499
|
defaultSidebarDockedPreference: boolean;
|
|
1500
|
-
lastPointerDownWith: import("@
|
|
1500
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
1501
1501
|
selectedElementIds: Readonly<{
|
|
1502
1502
|
[id: string]: true;
|
|
1503
1503
|
}>;
|
|
@@ -1515,7 +1515,7 @@ export declare const actionZoomToFit: {
|
|
|
1515
1515
|
duration?: number;
|
|
1516
1516
|
} | null;
|
|
1517
1517
|
zenModeEnabled: boolean;
|
|
1518
|
-
theme: import("@
|
|
1518
|
+
theme: import("@hellixit/element/types").Theme;
|
|
1519
1519
|
gridSize: number;
|
|
1520
1520
|
gridStep: number;
|
|
1521
1521
|
gridModeEnabled: boolean;
|
|
@@ -1523,7 +1523,7 @@ export declare const actionZoomToFit: {
|
|
|
1523
1523
|
selectedGroupIds: {
|
|
1524
1524
|
[groupId: string]: boolean;
|
|
1525
1525
|
};
|
|
1526
|
-
editingGroupId: import("@
|
|
1526
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
1527
1527
|
width: number;
|
|
1528
1528
|
height: number;
|
|
1529
1529
|
offsetTop: number;
|
|
@@ -1535,7 +1535,7 @@ export declare const actionZoomToFit: {
|
|
|
1535
1535
|
panels: number;
|
|
1536
1536
|
};
|
|
1537
1537
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1538
|
-
selectedLinearElement: import("@
|
|
1538
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
1539
1539
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1540
1540
|
originSnapOffset: {
|
|
1541
1541
|
x: number;
|
|
@@ -1554,7 +1554,7 @@ export declare const actionZoomToFit: {
|
|
|
1554
1554
|
lockedMultiSelections: {
|
|
1555
1555
|
[groupId: string]: true;
|
|
1556
1556
|
};
|
|
1557
|
-
bindMode: import("@
|
|
1557
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
1558
1558
|
};
|
|
1559
1559
|
captureUpdate: "EVENTUALLY";
|
|
1560
1560
|
};
|
|
@@ -1562,7 +1562,7 @@ export declare const actionZoomToFit: {
|
|
|
1562
1562
|
} & {
|
|
1563
1563
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1564
1564
|
};
|
|
1565
|
-
export declare const actionToggleTheme: import("./types").Action<import("@
|
|
1565
|
+
export declare const actionToggleTheme: import("./types").Action<import("@hellixit/element/types").Theme> & {
|
|
1566
1566
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly HellixitboardElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
1567
1567
|
};
|
|
1568
1568
|
export declare const actionToggleEraserTool: {
|
|
@@ -1571,7 +1571,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1571
1571
|
trackEvent: {
|
|
1572
1572
|
category: "toolbar";
|
|
1573
1573
|
};
|
|
1574
|
-
perform: (elements: readonly import("@
|
|
1574
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1575
1575
|
appState: {
|
|
1576
1576
|
selectedElementIds: {};
|
|
1577
1577
|
selectedGroupIds: {};
|
|
@@ -1589,19 +1589,19 @@ export declare const actionToggleEraserTool: {
|
|
|
1589
1589
|
showWelcomeScreen: boolean;
|
|
1590
1590
|
isLoading: boolean;
|
|
1591
1591
|
errorMessage: React.ReactNode;
|
|
1592
|
-
newElement: import("@
|
|
1593
|
-
resizingElement: import("@
|
|
1594
|
-
multiElement: import("@
|
|
1595
|
-
selectionElement: import("@
|
|
1592
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
1593
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1594
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
1595
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1596
1596
|
isBindingEnabled: boolean;
|
|
1597
1597
|
bindingPreference: "enabled" | "disabled";
|
|
1598
1598
|
isMidpointSnappingEnabled: boolean;
|
|
1599
|
-
startBoundElement: import("@
|
|
1599
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
1600
1600
|
suggestedBinding: {
|
|
1601
|
-
element: import("@
|
|
1602
|
-
midPoint?: import("@
|
|
1601
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
1602
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
1603
1603
|
} | null;
|
|
1604
|
-
frameToHighlight: import("@
|
|
1604
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
1605
1605
|
frameRendering: {
|
|
1606
1606
|
enabled: boolean;
|
|
1607
1607
|
name: boolean;
|
|
@@ -1609,8 +1609,8 @@ export declare const actionToggleEraserTool: {
|
|
|
1609
1609
|
clip: boolean;
|
|
1610
1610
|
};
|
|
1611
1611
|
editingFrame: string | null;
|
|
1612
|
-
elementsToHighlight: import("@
|
|
1613
|
-
editingTextElement: import("@
|
|
1612
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
1613
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1614
1614
|
preferredSelectionTool: {
|
|
1615
1615
|
type: "selection" | "lasso";
|
|
1616
1616
|
initialized: boolean;
|
|
@@ -1628,13 +1628,13 @@ export declare const actionToggleEraserTool: {
|
|
|
1628
1628
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
1629
1629
|
currentItemRoughness: number;
|
|
1630
1630
|
currentItemOpacity: number;
|
|
1631
|
-
currentItemFontFamily: import("@
|
|
1631
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
1632
1632
|
currentItemFontSize: number;
|
|
1633
|
-
currentItemTextAlign: import("@
|
|
1634
|
-
currentItemStartArrowhead: import("@
|
|
1635
|
-
currentItemEndArrowhead: import("@
|
|
1636
|
-
currentHoveredFontFamily: import("@
|
|
1637
|
-
currentItemRoundness: import("@
|
|
1633
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
1634
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
1635
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
1636
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
1637
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
1638
1638
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1639
1639
|
viewBackgroundColor: string;
|
|
1640
1640
|
scrollX: number;
|
|
@@ -1669,7 +1669,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1669
1669
|
rawText: string;
|
|
1670
1670
|
};
|
|
1671
1671
|
defaultSidebarDockedPreference: boolean;
|
|
1672
|
-
lastPointerDownWith: import("@
|
|
1672
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
1673
1673
|
hoveredElementIds: Readonly<{
|
|
1674
1674
|
[id: string]: true;
|
|
1675
1675
|
}>;
|
|
@@ -1684,12 +1684,12 @@ export declare const actionToggleEraserTool: {
|
|
|
1684
1684
|
duration?: number;
|
|
1685
1685
|
} | null;
|
|
1686
1686
|
zenModeEnabled: boolean;
|
|
1687
|
-
theme: import("@
|
|
1687
|
+
theme: import("@hellixit/element/types").Theme;
|
|
1688
1688
|
gridSize: number;
|
|
1689
1689
|
gridStep: number;
|
|
1690
1690
|
gridModeEnabled: boolean;
|
|
1691
1691
|
viewModeEnabled: boolean;
|
|
1692
|
-
editingGroupId: import("@
|
|
1692
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
1693
1693
|
width: number;
|
|
1694
1694
|
height: number;
|
|
1695
1695
|
offsetTop: number;
|
|
@@ -1701,7 +1701,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1701
1701
|
panels: number;
|
|
1702
1702
|
};
|
|
1703
1703
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1704
|
-
selectedLinearElement: import("@
|
|
1704
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
1705
1705
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1706
1706
|
originSnapOffset: {
|
|
1707
1707
|
x: number;
|
|
@@ -1720,7 +1720,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1720
1720
|
lockedMultiSelections: {
|
|
1721
1721
|
[groupId: string]: true;
|
|
1722
1722
|
};
|
|
1723
|
-
bindMode: import("@
|
|
1723
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
1724
1724
|
};
|
|
1725
1725
|
captureUpdate: "IMMEDIATELY";
|
|
1726
1726
|
};
|
|
@@ -1736,7 +1736,7 @@ export declare const actionToggleLassoTool: {
|
|
|
1736
1736
|
category: "toolbar";
|
|
1737
1737
|
};
|
|
1738
1738
|
predicate: (elements: readonly HellixitboardElement[], appState: AppState, props: import("../types").HellixitboardProps, app: import("../types").AppClassProperties) => boolean;
|
|
1739
|
-
perform: (elements: readonly import("@
|
|
1739
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1740
1740
|
appState: {
|
|
1741
1741
|
selectedElementIds: {};
|
|
1742
1742
|
selectedGroupIds: {};
|
|
@@ -1754,19 +1754,19 @@ export declare const actionToggleLassoTool: {
|
|
|
1754
1754
|
showWelcomeScreen: boolean;
|
|
1755
1755
|
isLoading: boolean;
|
|
1756
1756
|
errorMessage: React.ReactNode;
|
|
1757
|
-
newElement: import("@
|
|
1758
|
-
resizingElement: import("@
|
|
1759
|
-
multiElement: import("@
|
|
1760
|
-
selectionElement: import("@
|
|
1757
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
1758
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1759
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
1760
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1761
1761
|
isBindingEnabled: boolean;
|
|
1762
1762
|
bindingPreference: "enabled" | "disabled";
|
|
1763
1763
|
isMidpointSnappingEnabled: boolean;
|
|
1764
|
-
startBoundElement: import("@
|
|
1764
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
1765
1765
|
suggestedBinding: {
|
|
1766
|
-
element: import("@
|
|
1767
|
-
midPoint?: import("@
|
|
1766
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
1767
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
1768
1768
|
} | null;
|
|
1769
|
-
frameToHighlight: import("@
|
|
1769
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
1770
1770
|
frameRendering: {
|
|
1771
1771
|
enabled: boolean;
|
|
1772
1772
|
name: boolean;
|
|
@@ -1774,8 +1774,8 @@ export declare const actionToggleLassoTool: {
|
|
|
1774
1774
|
clip: boolean;
|
|
1775
1775
|
};
|
|
1776
1776
|
editingFrame: string | null;
|
|
1777
|
-
elementsToHighlight: import("@
|
|
1778
|
-
editingTextElement: import("@
|
|
1777
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
1778
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1779
1779
|
preferredSelectionTool: {
|
|
1780
1780
|
type: "selection" | "lasso";
|
|
1781
1781
|
initialized: boolean;
|
|
@@ -1793,13 +1793,13 @@ export declare const actionToggleLassoTool: {
|
|
|
1793
1793
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
1794
1794
|
currentItemRoughness: number;
|
|
1795
1795
|
currentItemOpacity: number;
|
|
1796
|
-
currentItemFontFamily: import("@
|
|
1796
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
1797
1797
|
currentItemFontSize: number;
|
|
1798
|
-
currentItemTextAlign: import("@
|
|
1799
|
-
currentItemStartArrowhead: import("@
|
|
1800
|
-
currentItemEndArrowhead: import("@
|
|
1801
|
-
currentHoveredFontFamily: import("@
|
|
1802
|
-
currentItemRoundness: import("@
|
|
1798
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
1799
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
1800
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
1801
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
1802
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
1803
1803
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1804
1804
|
viewBackgroundColor: string;
|
|
1805
1805
|
scrollX: number;
|
|
@@ -1834,7 +1834,7 @@ export declare const actionToggleLassoTool: {
|
|
|
1834
1834
|
rawText: string;
|
|
1835
1835
|
};
|
|
1836
1836
|
defaultSidebarDockedPreference: boolean;
|
|
1837
|
-
lastPointerDownWith: import("@
|
|
1837
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
1838
1838
|
hoveredElementIds: Readonly<{
|
|
1839
1839
|
[id: string]: true;
|
|
1840
1840
|
}>;
|
|
@@ -1849,12 +1849,12 @@ export declare const actionToggleLassoTool: {
|
|
|
1849
1849
|
duration?: number;
|
|
1850
1850
|
} | null;
|
|
1851
1851
|
zenModeEnabled: boolean;
|
|
1852
|
-
theme: import("@
|
|
1852
|
+
theme: import("@hellixit/element/types").Theme;
|
|
1853
1853
|
gridSize: number;
|
|
1854
1854
|
gridStep: number;
|
|
1855
1855
|
gridModeEnabled: boolean;
|
|
1856
1856
|
viewModeEnabled: boolean;
|
|
1857
|
-
editingGroupId: import("@
|
|
1857
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
1858
1858
|
width: number;
|
|
1859
1859
|
height: number;
|
|
1860
1860
|
offsetTop: number;
|
|
@@ -1866,7 +1866,7 @@ export declare const actionToggleLassoTool: {
|
|
|
1866
1866
|
panels: number;
|
|
1867
1867
|
};
|
|
1868
1868
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1869
|
-
selectedLinearElement: import("@
|
|
1869
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
1870
1870
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1871
1871
|
originSnapOffset: {
|
|
1872
1872
|
x: number;
|
|
@@ -1885,7 +1885,7 @@ export declare const actionToggleLassoTool: {
|
|
|
1885
1885
|
lockedMultiSelections: {
|
|
1886
1886
|
[groupId: string]: true;
|
|
1887
1887
|
};
|
|
1888
|
-
bindMode: import("@
|
|
1888
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
1889
1889
|
};
|
|
1890
1890
|
captureUpdate: "NEVER";
|
|
1891
1891
|
};
|
|
@@ -1900,7 +1900,7 @@ export declare const actionToggleHandTool: {
|
|
|
1900
1900
|
};
|
|
1901
1901
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
1902
1902
|
viewMode: false;
|
|
1903
|
-
perform: (elements: readonly import("@
|
|
1903
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
1904
1904
|
appState: {
|
|
1905
1905
|
selectedElementIds: {};
|
|
1906
1906
|
selectedGroupIds: {};
|
|
@@ -1918,19 +1918,19 @@ export declare const actionToggleHandTool: {
|
|
|
1918
1918
|
showWelcomeScreen: boolean;
|
|
1919
1919
|
isLoading: boolean;
|
|
1920
1920
|
errorMessage: React.ReactNode;
|
|
1921
|
-
newElement: import("@
|
|
1922
|
-
resizingElement: import("@
|
|
1923
|
-
multiElement: import("@
|
|
1924
|
-
selectionElement: import("@
|
|
1921
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
1922
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1923
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
1924
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1925
1925
|
isBindingEnabled: boolean;
|
|
1926
1926
|
bindingPreference: "enabled" | "disabled";
|
|
1927
1927
|
isMidpointSnappingEnabled: boolean;
|
|
1928
|
-
startBoundElement: import("@
|
|
1928
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
1929
1929
|
suggestedBinding: {
|
|
1930
|
-
element: import("@
|
|
1931
|
-
midPoint?: import("@
|
|
1930
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
1931
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
1932
1932
|
} | null;
|
|
1933
|
-
frameToHighlight: import("@
|
|
1933
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
1934
1934
|
frameRendering: {
|
|
1935
1935
|
enabled: boolean;
|
|
1936
1936
|
name: boolean;
|
|
@@ -1938,8 +1938,8 @@ export declare const actionToggleHandTool: {
|
|
|
1938
1938
|
clip: boolean;
|
|
1939
1939
|
};
|
|
1940
1940
|
editingFrame: string | null;
|
|
1941
|
-
elementsToHighlight: import("@
|
|
1942
|
-
editingTextElement: import("@
|
|
1941
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
1942
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
1943
1943
|
preferredSelectionTool: {
|
|
1944
1944
|
type: "selection" | "lasso";
|
|
1945
1945
|
initialized: boolean;
|
|
@@ -1957,13 +1957,13 @@ export declare const actionToggleHandTool: {
|
|
|
1957
1957
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
1958
1958
|
currentItemRoughness: number;
|
|
1959
1959
|
currentItemOpacity: number;
|
|
1960
|
-
currentItemFontFamily: import("@
|
|
1960
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
1961
1961
|
currentItemFontSize: number;
|
|
1962
|
-
currentItemTextAlign: import("@
|
|
1963
|
-
currentItemStartArrowhead: import("@
|
|
1964
|
-
currentItemEndArrowhead: import("@
|
|
1965
|
-
currentHoveredFontFamily: import("@
|
|
1966
|
-
currentItemRoundness: import("@
|
|
1962
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
1963
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
1964
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
1965
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
1966
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
1967
1967
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
1968
1968
|
viewBackgroundColor: string;
|
|
1969
1969
|
scrollX: number;
|
|
@@ -1998,7 +1998,7 @@ export declare const actionToggleHandTool: {
|
|
|
1998
1998
|
rawText: string;
|
|
1999
1999
|
};
|
|
2000
2000
|
defaultSidebarDockedPreference: boolean;
|
|
2001
|
-
lastPointerDownWith: import("@
|
|
2001
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
2002
2002
|
hoveredElementIds: Readonly<{
|
|
2003
2003
|
[id: string]: true;
|
|
2004
2004
|
}>;
|
|
@@ -2013,12 +2013,12 @@ export declare const actionToggleHandTool: {
|
|
|
2013
2013
|
duration?: number;
|
|
2014
2014
|
} | null;
|
|
2015
2015
|
zenModeEnabled: boolean;
|
|
2016
|
-
theme: import("@
|
|
2016
|
+
theme: import("@hellixit/element/types").Theme;
|
|
2017
2017
|
gridSize: number;
|
|
2018
2018
|
gridStep: number;
|
|
2019
2019
|
gridModeEnabled: boolean;
|
|
2020
2020
|
viewModeEnabled: boolean;
|
|
2021
|
-
editingGroupId: import("@
|
|
2021
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
2022
2022
|
width: number;
|
|
2023
2023
|
height: number;
|
|
2024
2024
|
offsetTop: number;
|
|
@@ -2030,7 +2030,7 @@ export declare const actionToggleHandTool: {
|
|
|
2030
2030
|
panels: number;
|
|
2031
2031
|
};
|
|
2032
2032
|
showHyperlinkPopup: false | "info" | "editor";
|
|
2033
|
-
selectedLinearElement: import("@
|
|
2033
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
2034
2034
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2035
2035
|
originSnapOffset: {
|
|
2036
2036
|
x: number;
|
|
@@ -2049,7 +2049,7 @@ export declare const actionToggleHandTool: {
|
|
|
2049
2049
|
lockedMultiSelections: {
|
|
2050
2050
|
[groupId: string]: true;
|
|
2051
2051
|
};
|
|
2052
|
-
bindMode: import("@
|
|
2052
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
2053
2053
|
};
|
|
2054
2054
|
captureUpdate: "IMMEDIATELY";
|
|
2055
2055
|
};
|