@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
|
@@ -6,7 +6,7 @@ export declare const actionToggleMidpointSnapping: {
|
|
|
6
6
|
category: "canvas";
|
|
7
7
|
predicate: (appState: Readonly<import("../types").AppState>) => boolean;
|
|
8
8
|
};
|
|
9
|
-
perform(elements: readonly import("@
|
|
9
|
+
perform(elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<import("../types").AppState>): {
|
|
10
10
|
appState: {
|
|
11
11
|
isMidpointSnappingEnabled: boolean;
|
|
12
12
|
contextMenu: {
|
|
@@ -18,21 +18,21 @@ export declare const actionToggleMidpointSnapping: {
|
|
|
18
18
|
isLoading: boolean;
|
|
19
19
|
errorMessage: React.ReactNode;
|
|
20
20
|
activeEmbeddable: {
|
|
21
|
-
element: import("@
|
|
21
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
22
22
|
state: "hover" | "active";
|
|
23
23
|
} | null;
|
|
24
|
-
newElement: import("@
|
|
25
|
-
resizingElement: import("@
|
|
26
|
-
multiElement: import("@
|
|
27
|
-
selectionElement: import("@
|
|
24
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
25
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
26
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
27
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
28
28
|
isBindingEnabled: boolean;
|
|
29
29
|
bindingPreference: "enabled" | "disabled";
|
|
30
|
-
startBoundElement: import("@
|
|
30
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
31
31
|
suggestedBinding: {
|
|
32
|
-
element: import("@
|
|
33
|
-
midPoint?: import("@
|
|
32
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
33
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
34
34
|
} | null;
|
|
35
|
-
frameToHighlight: import("@
|
|
35
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
36
36
|
frameRendering: {
|
|
37
37
|
enabled: boolean;
|
|
38
38
|
name: boolean;
|
|
@@ -40,8 +40,8 @@ export declare const actionToggleMidpointSnapping: {
|
|
|
40
40
|
clip: boolean;
|
|
41
41
|
};
|
|
42
42
|
editingFrame: string | null;
|
|
43
|
-
elementsToHighlight: import("@
|
|
44
|
-
editingTextElement: import("@
|
|
43
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardElement>[] | null;
|
|
44
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
45
45
|
activeTool: {
|
|
46
46
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
47
47
|
locked: boolean;
|
|
@@ -59,18 +59,18 @@ export declare const actionToggleMidpointSnapping: {
|
|
|
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 actionToggleMidpointSnapping: {
|
|
|
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 actionToggleMidpointSnapping: {
|
|
|
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 actionToggleMidpointSnapping: {
|
|
|
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 actionToggleMidpointSnapping: {
|
|
|
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 actionToggleMidpointSnapping: {
|
|
|
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: "NEVER";
|
|
168
168
|
};
|
|
@@ -7,7 +7,7 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
7
7
|
category: "canvas";
|
|
8
8
|
predicate: (appState: Readonly<import("../types").AppState>) => boolean;
|
|
9
9
|
};
|
|
10
|
-
perform(elements: readonly import("@
|
|
10
|
+
perform(elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<import("../types").AppState>): {
|
|
11
11
|
appState: {
|
|
12
12
|
objectsSnapModeEnabled: boolean;
|
|
13
13
|
gridModeEnabled: false;
|
|
@@ -20,22 +20,22 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
20
20
|
isLoading: boolean;
|
|
21
21
|
errorMessage: React.ReactNode;
|
|
22
22
|
activeEmbeddable: {
|
|
23
|
-
element: import("@
|
|
23
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
24
24
|
state: "hover" | "active";
|
|
25
25
|
} | null;
|
|
26
|
-
newElement: import("@
|
|
27
|
-
resizingElement: import("@
|
|
28
|
-
multiElement: import("@
|
|
29
|
-
selectionElement: import("@
|
|
26
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
27
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
28
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
29
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
30
30
|
isBindingEnabled: boolean;
|
|
31
31
|
bindingPreference: "enabled" | "disabled";
|
|
32
32
|
isMidpointSnappingEnabled: boolean;
|
|
33
|
-
startBoundElement: import("@
|
|
33
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
34
34
|
suggestedBinding: {
|
|
35
|
-
element: import("@
|
|
36
|
-
midPoint?: import("@
|
|
35
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
36
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
37
37
|
} | null;
|
|
38
|
-
frameToHighlight: import("@
|
|
38
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
39
39
|
frameRendering: {
|
|
40
40
|
enabled: boolean;
|
|
41
41
|
name: boolean;
|
|
@@ -43,8 +43,8 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
43
43
|
clip: boolean;
|
|
44
44
|
};
|
|
45
45
|
editingFrame: string | null;
|
|
46
|
-
elementsToHighlight: import("@
|
|
47
|
-
editingTextElement: import("@
|
|
46
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardElement>[] | null;
|
|
47
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
48
48
|
activeTool: {
|
|
49
49
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
50
50
|
locked: boolean;
|
|
@@ -62,18 +62,18 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
62
62
|
exportScale: number;
|
|
63
63
|
currentItemStrokeColor: string;
|
|
64
64
|
currentItemBackgroundColor: string;
|
|
65
|
-
currentItemFillStyle: import("@
|
|
65
|
+
currentItemFillStyle: import("@hellixit/element/types").HellixitboardElement["fillStyle"];
|
|
66
66
|
currentItemStrokeWidth: number;
|
|
67
|
-
currentItemStrokeStyle: import("@
|
|
67
|
+
currentItemStrokeStyle: import("@hellixit/element/types").HellixitboardElement["strokeStyle"];
|
|
68
68
|
currentItemRoughness: number;
|
|
69
69
|
currentItemOpacity: number;
|
|
70
|
-
currentItemFontFamily: import("@
|
|
70
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
71
71
|
currentItemFontSize: number;
|
|
72
|
-
currentItemTextAlign: import("@
|
|
73
|
-
currentItemStartArrowhead: import("@
|
|
74
|
-
currentItemEndArrowhead: import("@
|
|
75
|
-
currentHoveredFontFamily: import("@
|
|
76
|
-
currentItemRoundness: import("@
|
|
72
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
73
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
74
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
75
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
76
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
77
77
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
78
78
|
viewBackgroundColor: string;
|
|
79
79
|
scrollX: number;
|
|
@@ -101,14 +101,14 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
101
101
|
name: "settings";
|
|
102
102
|
} | {
|
|
103
103
|
name: "elementLinkSelector";
|
|
104
|
-
sourceElementId: import("@
|
|
104
|
+
sourceElementId: import("@hellixit/element/types").HellixitboardElement["id"];
|
|
105
105
|
} | {
|
|
106
106
|
name: "charts";
|
|
107
107
|
data: import("../charts").Spreadsheet;
|
|
108
108
|
rawText: string;
|
|
109
109
|
};
|
|
110
110
|
defaultSidebarDockedPreference: boolean;
|
|
111
|
-
lastPointerDownWith: import("@
|
|
111
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
112
112
|
selectedElementIds: Readonly<{
|
|
113
113
|
[id: string]: true;
|
|
114
114
|
}>;
|
|
@@ -126,14 +126,14 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
126
126
|
duration?: number;
|
|
127
127
|
} | null;
|
|
128
128
|
zenModeEnabled: boolean;
|
|
129
|
-
theme: import("@
|
|
129
|
+
theme: import("@hellixit/element/types").Theme;
|
|
130
130
|
gridSize: number;
|
|
131
131
|
gridStep: number;
|
|
132
132
|
viewModeEnabled: boolean;
|
|
133
133
|
selectedGroupIds: {
|
|
134
134
|
[groupId: string]: boolean;
|
|
135
135
|
};
|
|
136
|
-
editingGroupId: import("@
|
|
136
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
137
137
|
width: number;
|
|
138
138
|
height: number;
|
|
139
139
|
offsetTop: number;
|
|
@@ -145,7 +145,7 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
145
145
|
panels: number;
|
|
146
146
|
};
|
|
147
147
|
showHyperlinkPopup: false | "info" | "editor";
|
|
148
|
-
selectedLinearElement: import("@
|
|
148
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
149
149
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
150
150
|
originSnapOffset: {
|
|
151
151
|
x: number;
|
|
@@ -154,21 +154,21 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
154
154
|
userToFollow: import("../types").UserToFollow | null;
|
|
155
155
|
followedBy: Set<import("../types").SocketId>;
|
|
156
156
|
isCropping: boolean;
|
|
157
|
-
croppingElementId: import("@
|
|
157
|
+
croppingElementId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
158
158
|
searchMatches: Readonly<{
|
|
159
|
-
focusedId: import("@
|
|
159
|
+
focusedId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
160
160
|
matches: readonly import("../types").SearchMatch[];
|
|
161
161
|
}> | null;
|
|
162
162
|
activeLockedId: string | null;
|
|
163
163
|
lockedMultiSelections: {
|
|
164
164
|
[groupId: string]: true;
|
|
165
165
|
};
|
|
166
|
-
bindMode: import("@
|
|
166
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
167
167
|
};
|
|
168
168
|
captureUpdate: "EVENTUALLY";
|
|
169
169
|
};
|
|
170
170
|
checked: (appState: Readonly<import("../types").AppState>) => boolean;
|
|
171
|
-
predicate: (elements: readonly import("@
|
|
171
|
+
predicate: (elements: readonly import("@hellixit/element/types").HellixitboardElement[], appState: import("../types").AppState, appProps: import("../types").HellixitboardProps) => boolean;
|
|
172
172
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
173
173
|
} & {
|
|
174
174
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -10,7 +10,7 @@ export declare const actionToggleSearchMenu: {
|
|
|
10
10
|
action: string;
|
|
11
11
|
predicate: (appState: Readonly<AppState>) => boolean;
|
|
12
12
|
};
|
|
13
|
-
perform(elements: readonly import("@
|
|
13
|
+
perform(elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties): false | {
|
|
14
14
|
appState: {
|
|
15
15
|
openSidebar: {
|
|
16
16
|
name: "default";
|
|
@@ -26,22 +26,22 @@ export declare const actionToggleSearchMenu: {
|
|
|
26
26
|
isLoading: boolean;
|
|
27
27
|
errorMessage: React.ReactNode;
|
|
28
28
|
activeEmbeddable: {
|
|
29
|
-
element: import("@
|
|
29
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
30
30
|
state: "hover" | "active";
|
|
31
31
|
} | null;
|
|
32
|
-
newElement: import("@
|
|
33
|
-
resizingElement: import("@
|
|
34
|
-
multiElement: import("@
|
|
35
|
-
selectionElement: import("@
|
|
32
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
33
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
34
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
35
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
36
36
|
isBindingEnabled: boolean;
|
|
37
37
|
bindingPreference: "enabled" | "disabled";
|
|
38
38
|
isMidpointSnappingEnabled: boolean;
|
|
39
|
-
startBoundElement: import("@
|
|
39
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
40
40
|
suggestedBinding: {
|
|
41
|
-
element: import("@
|
|
42
|
-
midPoint?: import("@
|
|
41
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
42
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
43
43
|
} | null;
|
|
44
|
-
frameToHighlight: import("@
|
|
44
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
45
45
|
frameRendering: {
|
|
46
46
|
enabled: boolean;
|
|
47
47
|
name: boolean;
|
|
@@ -49,8 +49,8 @@ export declare const actionToggleSearchMenu: {
|
|
|
49
49
|
clip: boolean;
|
|
50
50
|
};
|
|
51
51
|
editingFrame: string | null;
|
|
52
|
-
elementsToHighlight: import("@
|
|
53
|
-
editingTextElement: import("@
|
|
52
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardElement>[] | null;
|
|
53
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
54
54
|
activeTool: {
|
|
55
55
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
56
56
|
locked: boolean;
|
|
@@ -68,18 +68,18 @@ export declare const actionToggleSearchMenu: {
|
|
|
68
68
|
exportScale: number;
|
|
69
69
|
currentItemStrokeColor: string;
|
|
70
70
|
currentItemBackgroundColor: string;
|
|
71
|
-
currentItemFillStyle: import("@
|
|
71
|
+
currentItemFillStyle: import("@hellixit/element/types").HellixitboardElement["fillStyle"];
|
|
72
72
|
currentItemStrokeWidth: number;
|
|
73
|
-
currentItemStrokeStyle: import("@
|
|
73
|
+
currentItemStrokeStyle: import("@hellixit/element/types").HellixitboardElement["strokeStyle"];
|
|
74
74
|
currentItemRoughness: number;
|
|
75
75
|
currentItemOpacity: number;
|
|
76
|
-
currentItemFontFamily: import("@
|
|
76
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
77
77
|
currentItemFontSize: number;
|
|
78
|
-
currentItemTextAlign: import("@
|
|
79
|
-
currentItemStartArrowhead: import("@
|
|
80
|
-
currentItemEndArrowhead: import("@
|
|
81
|
-
currentHoveredFontFamily: import("@
|
|
82
|
-
currentItemRoundness: import("@
|
|
78
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
79
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
80
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
81
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
82
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
83
83
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
84
84
|
viewBackgroundColor: string;
|
|
85
85
|
scrollX: number;
|
|
@@ -93,7 +93,7 @@ export declare const actionToggleSearchMenu: {
|
|
|
93
93
|
openMenu: "canvas" | null;
|
|
94
94
|
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | "compactAnimationProperties" | null;
|
|
95
95
|
defaultSidebarDockedPreference: boolean;
|
|
96
|
-
lastPointerDownWith: import("@
|
|
96
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
97
97
|
selectedElementIds: Readonly<{
|
|
98
98
|
[id: string]: true;
|
|
99
99
|
}>;
|
|
@@ -111,7 +111,7 @@ export declare const actionToggleSearchMenu: {
|
|
|
111
111
|
duration?: number;
|
|
112
112
|
} | null;
|
|
113
113
|
zenModeEnabled: boolean;
|
|
114
|
-
theme: import("@
|
|
114
|
+
theme: import("@hellixit/element/types").Theme;
|
|
115
115
|
gridSize: number;
|
|
116
116
|
gridStep: number;
|
|
117
117
|
gridModeEnabled: boolean;
|
|
@@ -119,7 +119,7 @@ export declare const actionToggleSearchMenu: {
|
|
|
119
119
|
selectedGroupIds: {
|
|
120
120
|
[groupId: string]: boolean;
|
|
121
121
|
};
|
|
122
|
-
editingGroupId: import("@
|
|
122
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
123
123
|
width: number;
|
|
124
124
|
height: number;
|
|
125
125
|
offsetTop: number;
|
|
@@ -131,7 +131,7 @@ export declare const actionToggleSearchMenu: {
|
|
|
131
131
|
panels: number;
|
|
132
132
|
};
|
|
133
133
|
showHyperlinkPopup: false | "info" | "editor";
|
|
134
|
-
selectedLinearElement: import("@
|
|
134
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
135
135
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
136
136
|
originSnapOffset: {
|
|
137
137
|
x: number;
|
|
@@ -141,21 +141,21 @@ export declare const actionToggleSearchMenu: {
|
|
|
141
141
|
userToFollow: import("../types").UserToFollow | null;
|
|
142
142
|
followedBy: Set<import("../types").SocketId>;
|
|
143
143
|
isCropping: boolean;
|
|
144
|
-
croppingElementId: import("@
|
|
144
|
+
croppingElementId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
145
145
|
searchMatches: Readonly<{
|
|
146
|
-
focusedId: import("@
|
|
146
|
+
focusedId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
147
147
|
matches: readonly import("../types").SearchMatch[];
|
|
148
148
|
}> | null;
|
|
149
149
|
activeLockedId: string | null;
|
|
150
150
|
lockedMultiSelections: {
|
|
151
151
|
[groupId: string]: true;
|
|
152
152
|
};
|
|
153
|
-
bindMode: import("@
|
|
153
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
154
154
|
};
|
|
155
155
|
captureUpdate: "EVENTUALLY";
|
|
156
156
|
};
|
|
157
157
|
checked: (appState: AppState) => boolean;
|
|
158
|
-
predicate: (element: readonly import("@
|
|
158
|
+
predicate: (element: readonly import("@hellixit/element/types").HellixitboardElement[], appState: AppState, props: import("../types").HellixitboardProps) => boolean;
|
|
159
159
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
160
160
|
} & {
|
|
161
161
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HellixitboardElement } from "@
|
|
1
|
+
import type { HellixitboardElement } from "@hellixit/element/types";
|
|
2
2
|
export declare const actionToggleShapeSwitch: {
|
|
3
3
|
name: "toggleShapeSwitch";
|
|
4
4
|
label: string;
|
|
@@ -9,7 +9,7 @@ export declare const actionToggleShapeSwitch: {
|
|
|
9
9
|
action: string;
|
|
10
10
|
};
|
|
11
11
|
keywords: string[];
|
|
12
|
-
perform(elements: readonly import("@
|
|
12
|
+
perform(elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties): {
|
|
13
13
|
captureUpdate: "NEVER";
|
|
14
14
|
};
|
|
15
15
|
checked: (appState: Readonly<import("../types").AppState>) => boolean;
|
|
@@ -7,7 +7,7 @@ export declare const actionToggleStats: {
|
|
|
7
7
|
category: "menu";
|
|
8
8
|
};
|
|
9
9
|
keywords: string[];
|
|
10
|
-
perform(elements: readonly import("@
|
|
10
|
+
perform(elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<import("../types").AppState>): {
|
|
11
11
|
appState: {
|
|
12
12
|
stats: {
|
|
13
13
|
open: boolean;
|
|
@@ -22,22 +22,22 @@ export declare const actionToggleStats: {
|
|
|
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 actionToggleStats: {
|
|
|
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
|
activeTool: {
|
|
51
51
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
52
52
|
locked: boolean;
|
|
@@ -64,18 +64,18 @@ export declare const actionToggleStats: {
|
|
|
64
64
|
exportScale: number;
|
|
65
65
|
currentItemStrokeColor: string;
|
|
66
66
|
currentItemBackgroundColor: string;
|
|
67
|
-
currentItemFillStyle: import("@
|
|
67
|
+
currentItemFillStyle: import("@hellixit/element/types").HellixitboardElement["fillStyle"];
|
|
68
68
|
currentItemStrokeWidth: number;
|
|
69
|
-
currentItemStrokeStyle: import("@
|
|
69
|
+
currentItemStrokeStyle: import("@hellixit/element/types").HellixitboardElement["strokeStyle"];
|
|
70
70
|
currentItemRoughness: number;
|
|
71
71
|
currentItemOpacity: number;
|
|
72
|
-
currentItemFontFamily: import("@
|
|
72
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
73
73
|
currentItemFontSize: number;
|
|
74
|
-
currentItemTextAlign: import("@
|
|
75
|
-
currentItemStartArrowhead: import("@
|
|
76
|
-
currentItemEndArrowhead: import("@
|
|
77
|
-
currentHoveredFontFamily: import("@
|
|
78
|
-
currentItemRoundness: import("@
|
|
74
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
75
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
76
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
77
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
78
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
79
79
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
80
80
|
viewBackgroundColor: string;
|
|
81
81
|
scrollX: number;
|
|
@@ -103,14 +103,14 @@ export declare const actionToggleStats: {
|
|
|
103
103
|
name: "settings";
|
|
104
104
|
} | {
|
|
105
105
|
name: "elementLinkSelector";
|
|
106
|
-
sourceElementId: import("@
|
|
106
|
+
sourceElementId: import("@hellixit/element/types").HellixitboardElement["id"];
|
|
107
107
|
} | {
|
|
108
108
|
name: "charts";
|
|
109
109
|
data: import("../charts").Spreadsheet;
|
|
110
110
|
rawText: string;
|
|
111
111
|
};
|
|
112
112
|
defaultSidebarDockedPreference: boolean;
|
|
113
|
-
lastPointerDownWith: import("@
|
|
113
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
114
114
|
selectedElementIds: Readonly<{
|
|
115
115
|
[id: string]: true;
|
|
116
116
|
}>;
|
|
@@ -128,7 +128,7 @@ export declare const actionToggleStats: {
|
|
|
128
128
|
duration?: number;
|
|
129
129
|
} | null;
|
|
130
130
|
zenModeEnabled: boolean;
|
|
131
|
-
theme: import("@
|
|
131
|
+
theme: import("@hellixit/element/types").Theme;
|
|
132
132
|
gridSize: number;
|
|
133
133
|
gridStep: number;
|
|
134
134
|
gridModeEnabled: boolean;
|
|
@@ -136,7 +136,7 @@ export declare const actionToggleStats: {
|
|
|
136
136
|
selectedGroupIds: {
|
|
137
137
|
[groupId: string]: boolean;
|
|
138
138
|
};
|
|
139
|
-
editingGroupId: import("@
|
|
139
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
140
140
|
width: number;
|
|
141
141
|
height: number;
|
|
142
142
|
offsetTop: number;
|
|
@@ -144,7 +144,7 @@ export declare const actionToggleStats: {
|
|
|
144
144
|
fileHandle: FileSystemFileHandle | null;
|
|
145
145
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
146
146
|
showHyperlinkPopup: false | "info" | "editor";
|
|
147
|
-
selectedLinearElement: import("@
|
|
147
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
148
148
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
149
149
|
originSnapOffset: {
|
|
150
150
|
x: number;
|
|
@@ -154,16 +154,16 @@ export declare const actionToggleStats: {
|
|
|
154
154
|
userToFollow: import("../types").UserToFollow | null;
|
|
155
155
|
followedBy: Set<import("../types").SocketId>;
|
|
156
156
|
isCropping: boolean;
|
|
157
|
-
croppingElementId: import("@
|
|
157
|
+
croppingElementId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
158
158
|
searchMatches: Readonly<{
|
|
159
|
-
focusedId: import("@
|
|
159
|
+
focusedId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
160
160
|
matches: readonly import("../types").SearchMatch[];
|
|
161
161
|
}> | null;
|
|
162
162
|
activeLockedId: string | null;
|
|
163
163
|
lockedMultiSelections: {
|
|
164
164
|
[groupId: string]: true;
|
|
165
165
|
};
|
|
166
|
-
bindMode: import("@
|
|
166
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
167
167
|
};
|
|
168
168
|
captureUpdate: "EVENTUALLY";
|
|
169
169
|
};
|