@hellixit/hellixitboard 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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,4 +1,4 @@
|
|
|
1
|
-
import type { HellixitboardElement } from "@
|
|
1
|
+
import type { HellixitboardElement } from "@hellixit/element/types";
|
|
2
2
|
import type { AppState } from "../types";
|
|
3
3
|
export declare const actionToggleElementLock: {
|
|
4
4
|
name: "toggleElementLock";
|
|
@@ -8,8 +8,8 @@ export declare const actionToggleElementLock: {
|
|
|
8
8
|
category: "element";
|
|
9
9
|
};
|
|
10
10
|
predicate: (elements: readonly HellixitboardElement[], appState: AppState, _: import("../types").HellixitboardProps, app: import("../types").AppClassProperties) => boolean;
|
|
11
|
-
perform: (elements: readonly import("@
|
|
12
|
-
elements: import("@
|
|
11
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => false | {
|
|
12
|
+
elements: import("@hellixit/element/types").OrderedHellixitboardElement[];
|
|
13
13
|
appState: {
|
|
14
14
|
selectedElementIds: Readonly<{
|
|
15
15
|
[id: string]: true;
|
|
@@ -17,7 +17,7 @@ export declare const actionToggleElementLock: {
|
|
|
17
17
|
selectedGroupIds: {
|
|
18
18
|
[groupId: string]: boolean;
|
|
19
19
|
};
|
|
20
|
-
selectedLinearElement: import("@
|
|
20
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
21
21
|
lockedMultiSelections: {
|
|
22
22
|
[groupId: string]: true;
|
|
23
23
|
};
|
|
@@ -31,22 +31,22 @@ export declare const actionToggleElementLock: {
|
|
|
31
31
|
isLoading: boolean;
|
|
32
32
|
errorMessage: React.ReactNode;
|
|
33
33
|
activeEmbeddable: {
|
|
34
|
-
element: import("@
|
|
34
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
35
35
|
state: "hover" | "active";
|
|
36
36
|
} | null;
|
|
37
|
-
newElement: import("@
|
|
38
|
-
resizingElement: import("@
|
|
39
|
-
multiElement: import("@
|
|
40
|
-
selectionElement: import("@
|
|
37
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
38
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
39
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
40
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
41
41
|
isBindingEnabled: boolean;
|
|
42
42
|
bindingPreference: "enabled" | "disabled";
|
|
43
43
|
isMidpointSnappingEnabled: boolean;
|
|
44
|
-
startBoundElement: import("@
|
|
44
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
45
45
|
suggestedBinding: {
|
|
46
|
-
element: import("@
|
|
47
|
-
midPoint?: import("@
|
|
46
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
47
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
48
48
|
} | null;
|
|
49
|
-
frameToHighlight: import("@
|
|
49
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
50
50
|
frameRendering: {
|
|
51
51
|
enabled: boolean;
|
|
52
52
|
name: boolean;
|
|
@@ -54,8 +54,8 @@ export declare const actionToggleElementLock: {
|
|
|
54
54
|
clip: boolean;
|
|
55
55
|
};
|
|
56
56
|
editingFrame: string | null;
|
|
57
|
-
elementsToHighlight: import("@
|
|
58
|
-
editingTextElement: import("@
|
|
57
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
58
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
59
59
|
activeTool: {
|
|
60
60
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
61
61
|
locked: boolean;
|
|
@@ -78,13 +78,13 @@ export declare const actionToggleElementLock: {
|
|
|
78
78
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
79
79
|
currentItemRoughness: number;
|
|
80
80
|
currentItemOpacity: number;
|
|
81
|
-
currentItemFontFamily: import("@
|
|
81
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
82
82
|
currentItemFontSize: number;
|
|
83
|
-
currentItemTextAlign: import("@
|
|
84
|
-
currentItemStartArrowhead: import("@
|
|
85
|
-
currentItemEndArrowhead: import("@
|
|
86
|
-
currentHoveredFontFamily: import("@
|
|
87
|
-
currentItemRoundness: import("@
|
|
83
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
84
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
85
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
86
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
87
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
88
88
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
89
89
|
viewBackgroundColor: string;
|
|
90
90
|
scrollX: number;
|
|
@@ -119,7 +119,7 @@ export declare const actionToggleElementLock: {
|
|
|
119
119
|
rawText: string;
|
|
120
120
|
};
|
|
121
121
|
defaultSidebarDockedPreference: boolean;
|
|
122
|
-
lastPointerDownWith: import("@
|
|
122
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
123
123
|
hoveredElementIds: Readonly<{
|
|
124
124
|
[id: string]: true;
|
|
125
125
|
}>;
|
|
@@ -134,12 +134,12 @@ export declare const actionToggleElementLock: {
|
|
|
134
134
|
duration?: number;
|
|
135
135
|
} | null;
|
|
136
136
|
zenModeEnabled: boolean;
|
|
137
|
-
theme: import("@
|
|
137
|
+
theme: import("@hellixit/element/types").Theme;
|
|
138
138
|
gridSize: number;
|
|
139
139
|
gridStep: number;
|
|
140
140
|
gridModeEnabled: boolean;
|
|
141
141
|
viewModeEnabled: boolean;
|
|
142
|
-
editingGroupId: import("@
|
|
142
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
143
143
|
width: number;
|
|
144
144
|
height: number;
|
|
145
145
|
offsetTop: number;
|
|
@@ -165,7 +165,7 @@ export declare const actionToggleElementLock: {
|
|
|
165
165
|
focusedId: HellixitboardElement["id"] | null;
|
|
166
166
|
matches: readonly import("../types").SearchMatch[];
|
|
167
167
|
}> | null;
|
|
168
|
-
bindMode: import("@
|
|
168
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
169
169
|
};
|
|
170
170
|
captureUpdate: "IMMEDIATELY";
|
|
171
171
|
};
|
|
@@ -181,8 +181,8 @@ export declare const actionUnlockAllElements: {
|
|
|
181
181
|
viewMode: false;
|
|
182
182
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
183
183
|
predicate: (elements: readonly HellixitboardElement[], appState: AppState) => boolean;
|
|
184
|
-
perform: (elements: readonly import("@
|
|
185
|
-
elements: import("@
|
|
184
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>) => {
|
|
185
|
+
elements: import("@hellixit/element/types").OrderedHellixitboardElement[];
|
|
186
186
|
appState: {
|
|
187
187
|
selectedElementIds: {
|
|
188
188
|
[k: string]: true;
|
|
@@ -201,22 +201,22 @@ export declare const actionUnlockAllElements: {
|
|
|
201
201
|
isLoading: boolean;
|
|
202
202
|
errorMessage: React.ReactNode;
|
|
203
203
|
activeEmbeddable: {
|
|
204
|
-
element: import("@
|
|
204
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
205
205
|
state: "hover" | "active";
|
|
206
206
|
} | null;
|
|
207
|
-
newElement: import("@
|
|
208
|
-
resizingElement: import("@
|
|
209
|
-
multiElement: import("@
|
|
210
|
-
selectionElement: import("@
|
|
207
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
208
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
209
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
210
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
211
211
|
isBindingEnabled: boolean;
|
|
212
212
|
bindingPreference: "enabled" | "disabled";
|
|
213
213
|
isMidpointSnappingEnabled: boolean;
|
|
214
|
-
startBoundElement: import("@
|
|
214
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
215
215
|
suggestedBinding: {
|
|
216
|
-
element: import("@
|
|
217
|
-
midPoint?: import("@
|
|
216
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
217
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
218
218
|
} | null;
|
|
219
|
-
frameToHighlight: import("@
|
|
219
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
220
220
|
frameRendering: {
|
|
221
221
|
enabled: boolean;
|
|
222
222
|
name: boolean;
|
|
@@ -224,8 +224,8 @@ export declare const actionUnlockAllElements: {
|
|
|
224
224
|
clip: boolean;
|
|
225
225
|
};
|
|
226
226
|
editingFrame: string | null;
|
|
227
|
-
elementsToHighlight: import("@
|
|
228
|
-
editingTextElement: import("@
|
|
227
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
228
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
229
229
|
activeTool: {
|
|
230
230
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
231
231
|
locked: boolean;
|
|
@@ -248,13 +248,13 @@ export declare const actionUnlockAllElements: {
|
|
|
248
248
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
249
249
|
currentItemRoughness: number;
|
|
250
250
|
currentItemOpacity: number;
|
|
251
|
-
currentItemFontFamily: import("@
|
|
251
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
252
252
|
currentItemFontSize: number;
|
|
253
|
-
currentItemTextAlign: import("@
|
|
254
|
-
currentItemStartArrowhead: import("@
|
|
255
|
-
currentItemEndArrowhead: import("@
|
|
256
|
-
currentHoveredFontFamily: import("@
|
|
257
|
-
currentItemRoundness: import("@
|
|
253
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
254
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
255
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
256
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
257
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
258
258
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
259
259
|
viewBackgroundColor: string;
|
|
260
260
|
scrollX: number;
|
|
@@ -289,7 +289,7 @@ export declare const actionUnlockAllElements: {
|
|
|
289
289
|
rawText: string;
|
|
290
290
|
};
|
|
291
291
|
defaultSidebarDockedPreference: boolean;
|
|
292
|
-
lastPointerDownWith: import("@
|
|
292
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
293
293
|
hoveredElementIds: Readonly<{
|
|
294
294
|
[id: string]: true;
|
|
295
295
|
}>;
|
|
@@ -304,12 +304,12 @@ export declare const actionUnlockAllElements: {
|
|
|
304
304
|
duration?: number;
|
|
305
305
|
} | null;
|
|
306
306
|
zenModeEnabled: boolean;
|
|
307
|
-
theme: import("@
|
|
307
|
+
theme: import("@hellixit/element/types").Theme;
|
|
308
308
|
gridSize: number;
|
|
309
309
|
gridStep: number;
|
|
310
310
|
gridModeEnabled: boolean;
|
|
311
311
|
viewModeEnabled: boolean;
|
|
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 actionUnlockAllElements: {
|
|
|
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;
|
|
@@ -336,7 +336,7 @@ export declare const actionUnlockAllElements: {
|
|
|
336
336
|
focusedId: HellixitboardElement["id"] | null;
|
|
337
337
|
matches: readonly import("../types").SearchMatch[];
|
|
338
338
|
}> | null;
|
|
339
|
-
bindMode: import("@
|
|
339
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
340
340
|
};
|
|
341
341
|
captureUpdate: "IMMEDIATELY";
|
|
342
342
|
};
|
|
@@ -5,8 +5,8 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
5
5
|
};
|
|
6
6
|
target: string;
|
|
7
7
|
label: string;
|
|
8
|
-
perform: (elements: readonly import("@
|
|
9
|
-
elements: readonly import("@
|
|
8
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
9
|
+
elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[];
|
|
10
10
|
appState: {
|
|
11
11
|
activeTool: {
|
|
12
12
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -22,22 +22,22 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
22
22
|
isLoading: boolean;
|
|
23
23
|
errorMessage: React.ReactNode;
|
|
24
24
|
activeEmbeddable: {
|
|
25
|
-
element: import("@
|
|
25
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
26
26
|
state: "hover" | "active";
|
|
27
27
|
} | null;
|
|
28
|
-
newElement: import("@
|
|
29
|
-
resizingElement: import("@
|
|
30
|
-
multiElement: import("@
|
|
31
|
-
selectionElement: import("@
|
|
28
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
29
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
30
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
31
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
32
32
|
isBindingEnabled: boolean;
|
|
33
33
|
bindingPreference: "enabled" | "disabled";
|
|
34
34
|
isMidpointSnappingEnabled: boolean;
|
|
35
|
-
startBoundElement: import("@
|
|
35
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
36
36
|
suggestedBinding: {
|
|
37
|
-
element: import("@
|
|
38
|
-
midPoint?: import("@
|
|
37
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
38
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
39
39
|
} | null;
|
|
40
|
-
frameToHighlight: import("@
|
|
40
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
41
41
|
frameRendering: {
|
|
42
42
|
enabled: boolean;
|
|
43
43
|
name: boolean;
|
|
@@ -45,8 +45,8 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
45
45
|
clip: boolean;
|
|
46
46
|
};
|
|
47
47
|
editingFrame: string | null;
|
|
48
|
-
elementsToHighlight: import("@
|
|
49
|
-
editingTextElement: import("@
|
|
48
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardElement>[] | null;
|
|
49
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
50
50
|
preferredSelectionTool: {
|
|
51
51
|
type: "selection" | "lasso";
|
|
52
52
|
initialized: boolean;
|
|
@@ -59,18 +59,18 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
59
59
|
exportScale: number;
|
|
60
60
|
currentItemStrokeColor: string;
|
|
61
61
|
currentItemBackgroundColor: string;
|
|
62
|
-
currentItemFillStyle: import("@
|
|
62
|
+
currentItemFillStyle: import("@hellixit/element/types").HellixitboardElement["fillStyle"];
|
|
63
63
|
currentItemStrokeWidth: number;
|
|
64
|
-
currentItemStrokeStyle: import("@
|
|
64
|
+
currentItemStrokeStyle: import("@hellixit/element/types").HellixitboardElement["strokeStyle"];
|
|
65
65
|
currentItemRoughness: number;
|
|
66
66
|
currentItemOpacity: number;
|
|
67
|
-
currentItemFontFamily: import("@
|
|
67
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
68
68
|
currentItemFontSize: number;
|
|
69
|
-
currentItemTextAlign: import("@
|
|
70
|
-
currentItemStartArrowhead: import("@
|
|
71
|
-
currentItemEndArrowhead: import("@
|
|
72
|
-
currentHoveredFontFamily: import("@
|
|
73
|
-
currentItemRoundness: import("@
|
|
69
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
70
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
71
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
72
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
73
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
74
74
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
75
75
|
viewBackgroundColor: string;
|
|
76
76
|
scrollX: number;
|
|
@@ -98,14 +98,14 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
98
98
|
name: "settings";
|
|
99
99
|
} | {
|
|
100
100
|
name: "elementLinkSelector";
|
|
101
|
-
sourceElementId: import("@
|
|
101
|
+
sourceElementId: import("@hellixit/element/types").HellixitboardElement["id"];
|
|
102
102
|
} | {
|
|
103
103
|
name: "charts";
|
|
104
104
|
data: import("../charts").Spreadsheet;
|
|
105
105
|
rawText: string;
|
|
106
106
|
};
|
|
107
107
|
defaultSidebarDockedPreference: boolean;
|
|
108
|
-
lastPointerDownWith: import("@
|
|
108
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
109
109
|
selectedElementIds: Readonly<{
|
|
110
110
|
[id: string]: true;
|
|
111
111
|
}>;
|
|
@@ -123,7 +123,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
123
123
|
duration?: number;
|
|
124
124
|
} | null;
|
|
125
125
|
zenModeEnabled: boolean;
|
|
126
|
-
theme: import("@
|
|
126
|
+
theme: import("@hellixit/element/types").Theme;
|
|
127
127
|
gridSize: number;
|
|
128
128
|
gridStep: number;
|
|
129
129
|
gridModeEnabled: boolean;
|
|
@@ -131,7 +131,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
131
131
|
selectedGroupIds: {
|
|
132
132
|
[groupId: string]: boolean;
|
|
133
133
|
};
|
|
134
|
-
editingGroupId: import("@
|
|
134
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
135
135
|
width: number;
|
|
136
136
|
height: number;
|
|
137
137
|
offsetTop: number;
|
|
@@ -143,7 +143,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
143
143
|
panels: number;
|
|
144
144
|
};
|
|
145
145
|
showHyperlinkPopup: false | "info" | "editor";
|
|
146
|
-
selectedLinearElement: import("@
|
|
146
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
147
147
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
148
148
|
originSnapOffset: {
|
|
149
149
|
x: number;
|
|
@@ -153,16 +153,16 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
153
153
|
userToFollow: import("../types").UserToFollow | null;
|
|
154
154
|
followedBy: Set<import("../types").SocketId>;
|
|
155
155
|
isCropping: boolean;
|
|
156
|
-
croppingElementId: import("@
|
|
156
|
+
croppingElementId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
157
157
|
searchMatches: Readonly<{
|
|
158
|
-
focusedId: import("@
|
|
158
|
+
focusedId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
159
159
|
matches: readonly import("../types").SearchMatch[];
|
|
160
160
|
}> | null;
|
|
161
161
|
activeLockedId: string | null;
|
|
162
162
|
lockedMultiSelections: {
|
|
163
163
|
[groupId: string]: true;
|
|
164
164
|
};
|
|
165
|
-
bindMode: import("@
|
|
165
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
166
166
|
};
|
|
167
167
|
captureUpdate: "EVENTUALLY";
|
|
168
168
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HellixitboardElement, Theme } from "@
|
|
1
|
+
import type { HellixitboardElement, Theme } from "@hellixit/element/types";
|
|
2
2
|
import "../components/ToolIcon.scss";
|
|
3
3
|
import type { AppClassProperties, AppState, BinaryFiles, HellixitboardProps } from "../types";
|
|
4
4
|
export declare const actionChangeProjectName: import("./types").Action<string | null> & {
|
|
@@ -21,7 +21,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
21
21
|
category: "export";
|
|
22
22
|
};
|
|
23
23
|
predicate: (elements: readonly HellixitboardElement[], appState: AppState, props: HellixitboardProps, app: AppClassProperties) => boolean;
|
|
24
|
-
perform: (elements: readonly import("@
|
|
24
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => Promise<false | {
|
|
25
25
|
captureUpdate: "NEVER";
|
|
26
26
|
appState: {
|
|
27
27
|
fileHandle: FileSystemFileHandle | null;
|
|
@@ -49,7 +49,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
49
49
|
trackEvent: {
|
|
50
50
|
category: "export";
|
|
51
51
|
};
|
|
52
|
-
perform: (elements: readonly import("@
|
|
52
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => Promise<false | {
|
|
53
53
|
captureUpdate: "NEVER";
|
|
54
54
|
appState: {
|
|
55
55
|
openDialog: null;
|
|
@@ -79,8 +79,8 @@ export declare const actionLoadScene: {
|
|
|
79
79
|
category: "export";
|
|
80
80
|
};
|
|
81
81
|
predicate: (elements: readonly HellixitboardElement[], appState: AppState, props: HellixitboardProps, app: AppClassProperties) => boolean;
|
|
82
|
-
perform: (elements: readonly import("@
|
|
83
|
-
elements: import("@
|
|
82
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => Promise<false | {
|
|
83
|
+
elements: import("@hellixit/element/types").OrderedHellixitboardElement[];
|
|
84
84
|
appState: {
|
|
85
85
|
viewBackgroundColor: string;
|
|
86
86
|
theme: Theme;
|
|
@@ -112,39 +112,39 @@ export declare const actionLoadScene: {
|
|
|
112
112
|
data: import("../charts").Spreadsheet;
|
|
113
113
|
rawText: string;
|
|
114
114
|
};
|
|
115
|
-
editingGroupId: import("@
|
|
115
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
116
116
|
selectedElementIds: Readonly<{
|
|
117
117
|
[id: string]: true;
|
|
118
118
|
}>;
|
|
119
|
-
frameToHighlight: import("@
|
|
119
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
120
120
|
activeTool: {
|
|
121
121
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
122
122
|
locked: boolean;
|
|
123
123
|
fromSelection: boolean;
|
|
124
124
|
} & import("../types").ActiveTool;
|
|
125
125
|
activeEmbeddable: {
|
|
126
|
-
element: import("@
|
|
126
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
127
127
|
state: "hover" | "active";
|
|
128
128
|
} | null;
|
|
129
|
-
selectionElement: import("@
|
|
129
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
130
130
|
selectedGroupIds: {
|
|
131
131
|
[groupId: string]: boolean;
|
|
132
132
|
};
|
|
133
|
-
selectedLinearElement: import("@
|
|
134
|
-
multiElement: import("@
|
|
135
|
-
newElement: import("@
|
|
133
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
134
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
135
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
136
136
|
isBindingEnabled: boolean;
|
|
137
137
|
isMidpointSnappingEnabled: boolean;
|
|
138
138
|
suggestedBinding: {
|
|
139
|
-
element: import("@
|
|
140
|
-
midPoint?: import("@
|
|
139
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
140
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
141
141
|
} | null;
|
|
142
142
|
isRotating: boolean;
|
|
143
|
-
elementsToHighlight: import("@
|
|
143
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
144
144
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
145
145
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
146
146
|
zenModeEnabled: boolean;
|
|
147
|
-
editingTextElement: import("@
|
|
147
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
148
148
|
isCropping: boolean;
|
|
149
149
|
croppingElementId: HellixitboardElement["id"] | null;
|
|
150
150
|
searchMatches: Readonly<{
|
|
@@ -158,7 +158,7 @@ export declare const actionLoadScene: {
|
|
|
158
158
|
shouldCacheIgnoreZoom: boolean;
|
|
159
159
|
exportScale: number;
|
|
160
160
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
161
|
-
bindMode: import("@
|
|
161
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
162
162
|
gridSize: number;
|
|
163
163
|
contextMenu: {
|
|
164
164
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -168,9 +168,9 @@ export declare const actionLoadScene: {
|
|
|
168
168
|
showWelcomeScreen: boolean;
|
|
169
169
|
isLoading: boolean;
|
|
170
170
|
errorMessage: React.ReactNode;
|
|
171
|
-
resizingElement: import("@
|
|
171
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
172
172
|
bindingPreference: "enabled" | "disabled";
|
|
173
|
-
startBoundElement: import("@
|
|
173
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
174
174
|
editingFrame: string | null;
|
|
175
175
|
preferredSelectionTool: {
|
|
176
176
|
type: "selection" | "lasso";
|
|
@@ -188,13 +188,13 @@ export declare const actionLoadScene: {
|
|
|
188
188
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
189
189
|
currentItemRoughness: number;
|
|
190
190
|
currentItemOpacity: number;
|
|
191
|
-
currentItemFontFamily: import("@
|
|
191
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
192
192
|
currentItemFontSize: number;
|
|
193
|
-
currentItemTextAlign: import("@
|
|
194
|
-
currentItemStartArrowhead: import("@
|
|
195
|
-
currentItemEndArrowhead: import("@
|
|
196
|
-
currentHoveredFontFamily: import("@
|
|
197
|
-
currentItemRoundness: import("@
|
|
193
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
194
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
195
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
196
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
197
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
198
198
|
cursorButton: "up" | "down";
|
|
199
199
|
scrolledOutside: boolean;
|
|
200
200
|
isResizing: boolean;
|
|
@@ -205,7 +205,7 @@ export declare const actionLoadScene: {
|
|
|
205
205
|
tab?: import("../types").SidebarTabName;
|
|
206
206
|
} | null;
|
|
207
207
|
defaultSidebarDockedPreference: boolean;
|
|
208
|
-
lastPointerDownWith: import("@
|
|
208
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
209
209
|
previousSelectedElementIds: {
|
|
210
210
|
[id: string]: true;
|
|
211
211
|
};
|
|
@@ -237,7 +237,7 @@ export declare const actionLoadScene: {
|
|
|
237
237
|
files: BinaryFiles;
|
|
238
238
|
captureUpdate: "IMMEDIATELY";
|
|
239
239
|
} | {
|
|
240
|
-
elements: readonly import("@
|
|
240
|
+
elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[];
|
|
241
241
|
appState: {
|
|
242
242
|
errorMessage: any;
|
|
243
243
|
contextMenu: {
|
|
@@ -248,22 +248,22 @@ export declare const actionLoadScene: {
|
|
|
248
248
|
showWelcomeScreen: boolean;
|
|
249
249
|
isLoading: boolean;
|
|
250
250
|
activeEmbeddable: {
|
|
251
|
-
element: import("@
|
|
251
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
252
252
|
state: "hover" | "active";
|
|
253
253
|
} | null;
|
|
254
|
-
newElement: import("@
|
|
255
|
-
resizingElement: import("@
|
|
256
|
-
multiElement: import("@
|
|
257
|
-
selectionElement: import("@
|
|
254
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
255
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
256
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
257
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
258
258
|
isBindingEnabled: boolean;
|
|
259
259
|
bindingPreference: "enabled" | "disabled";
|
|
260
260
|
isMidpointSnappingEnabled: boolean;
|
|
261
|
-
startBoundElement: import("@
|
|
261
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
262
262
|
suggestedBinding: {
|
|
263
|
-
element: import("@
|
|
264
|
-
midPoint?: import("@
|
|
263
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
264
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
265
265
|
} | null;
|
|
266
|
-
frameToHighlight: import("@
|
|
266
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
267
267
|
frameRendering: {
|
|
268
268
|
enabled: boolean;
|
|
269
269
|
name: boolean;
|
|
@@ -271,8 +271,8 @@ export declare const actionLoadScene: {
|
|
|
271
271
|
clip: boolean;
|
|
272
272
|
};
|
|
273
273
|
editingFrame: string | null;
|
|
274
|
-
elementsToHighlight: import("@
|
|
275
|
-
editingTextElement: import("@
|
|
274
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
275
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
276
276
|
activeTool: {
|
|
277
277
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
278
278
|
locked: boolean;
|
|
@@ -295,13 +295,13 @@ export declare const actionLoadScene: {
|
|
|
295
295
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
296
296
|
currentItemRoughness: number;
|
|
297
297
|
currentItemOpacity: number;
|
|
298
|
-
currentItemFontFamily: import("@
|
|
298
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
299
299
|
currentItemFontSize: number;
|
|
300
|
-
currentItemTextAlign: import("@
|
|
301
|
-
currentItemStartArrowhead: import("@
|
|
302
|
-
currentItemEndArrowhead: import("@
|
|
303
|
-
currentHoveredFontFamily: import("@
|
|
304
|
-
currentItemRoundness: import("@
|
|
300
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
301
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
302
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
303
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
304
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
305
305
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
306
306
|
viewBackgroundColor: string;
|
|
307
307
|
scrollX: number;
|
|
@@ -336,7 +336,7 @@ export declare const actionLoadScene: {
|
|
|
336
336
|
rawText: string;
|
|
337
337
|
};
|
|
338
338
|
defaultSidebarDockedPreference: boolean;
|
|
339
|
-
lastPointerDownWith: import("@
|
|
339
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
340
340
|
selectedElementIds: Readonly<{
|
|
341
341
|
[id: string]: true;
|
|
342
342
|
}>;
|
|
@@ -362,7 +362,7 @@ export declare const actionLoadScene: {
|
|
|
362
362
|
selectedGroupIds: {
|
|
363
363
|
[groupId: string]: boolean;
|
|
364
364
|
};
|
|
365
|
-
editingGroupId: import("@
|
|
365
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
366
366
|
width: number;
|
|
367
367
|
height: number;
|
|
368
368
|
offsetTop: number;
|
|
@@ -374,7 +374,7 @@ export declare const actionLoadScene: {
|
|
|
374
374
|
panels: number;
|
|
375
375
|
};
|
|
376
376
|
showHyperlinkPopup: false | "info" | "editor";
|
|
377
|
-
selectedLinearElement: import("@
|
|
377
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
378
378
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
379
379
|
originSnapOffset: {
|
|
380
380
|
x: number;
|
|
@@ -393,7 +393,7 @@ export declare const actionLoadScene: {
|
|
|
393
393
|
lockedMultiSelections: {
|
|
394
394
|
[groupId: string]: true;
|
|
395
395
|
};
|
|
396
|
-
bindMode: import("@
|
|
396
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
397
397
|
};
|
|
398
398
|
files: BinaryFiles;
|
|
399
399
|
captureUpdate: "EVENTUALLY";
|