@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
|
@@ -3,7 +3,7 @@ export declare const actionAddToLibrary: {
|
|
|
3
3
|
trackEvent: {
|
|
4
4
|
category: "element";
|
|
5
5
|
};
|
|
6
|
-
perform: (elements: readonly import("@
|
|
6
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => Promise<{
|
|
7
7
|
captureUpdate: "EVENTUALLY";
|
|
8
8
|
appState: {
|
|
9
9
|
toast: {
|
|
@@ -18,22 +18,22 @@ export declare const actionAddToLibrary: {
|
|
|
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
30
|
isMidpointSnappingEnabled: boolean;
|
|
31
|
-
startBoundElement: import("@
|
|
31
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
32
32
|
suggestedBinding: {
|
|
33
|
-
element: import("@
|
|
34
|
-
midPoint?: import("@
|
|
33
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
34
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
35
35
|
} | null;
|
|
36
|
-
frameToHighlight: import("@
|
|
36
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
37
37
|
frameRendering: {
|
|
38
38
|
enabled: boolean;
|
|
39
39
|
name: boolean;
|
|
@@ -41,8 +41,8 @@ export declare const actionAddToLibrary: {
|
|
|
41
41
|
clip: boolean;
|
|
42
42
|
};
|
|
43
43
|
editingFrame: string | null;
|
|
44
|
-
elementsToHighlight: import("@
|
|
45
|
-
editingTextElement: import("@
|
|
44
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardElement>[] | null;
|
|
45
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
46
46
|
activeTool: {
|
|
47
47
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
48
48
|
locked: boolean;
|
|
@@ -60,18 +60,18 @@ export declare const actionAddToLibrary: {
|
|
|
60
60
|
exportScale: number;
|
|
61
61
|
currentItemStrokeColor: string;
|
|
62
62
|
currentItemBackgroundColor: string;
|
|
63
|
-
currentItemFillStyle: import("@
|
|
63
|
+
currentItemFillStyle: import("@hellixit/element/types").HellixitboardElement["fillStyle"];
|
|
64
64
|
currentItemStrokeWidth: number;
|
|
65
|
-
currentItemStrokeStyle: import("@
|
|
65
|
+
currentItemStrokeStyle: import("@hellixit/element/types").HellixitboardElement["strokeStyle"];
|
|
66
66
|
currentItemRoughness: number;
|
|
67
67
|
currentItemOpacity: number;
|
|
68
|
-
currentItemFontFamily: import("@
|
|
68
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
69
69
|
currentItemFontSize: number;
|
|
70
|
-
currentItemTextAlign: import("@
|
|
71
|
-
currentItemStartArrowhead: import("@
|
|
72
|
-
currentItemEndArrowhead: import("@
|
|
73
|
-
currentHoveredFontFamily: import("@
|
|
74
|
-
currentItemRoundness: import("@
|
|
70
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
71
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
72
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
73
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
74
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
75
75
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
76
76
|
viewBackgroundColor: string;
|
|
77
77
|
scrollX: number;
|
|
@@ -99,14 +99,14 @@ export declare const actionAddToLibrary: {
|
|
|
99
99
|
name: "settings";
|
|
100
100
|
} | {
|
|
101
101
|
name: "elementLinkSelector";
|
|
102
|
-
sourceElementId: import("@
|
|
102
|
+
sourceElementId: import("@hellixit/element/types").HellixitboardElement["id"];
|
|
103
103
|
} | {
|
|
104
104
|
name: "charts";
|
|
105
105
|
data: import("../charts").Spreadsheet;
|
|
106
106
|
rawText: string;
|
|
107
107
|
};
|
|
108
108
|
defaultSidebarDockedPreference: boolean;
|
|
109
|
-
lastPointerDownWith: import("@
|
|
109
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
110
110
|
selectedElementIds: Readonly<{
|
|
111
111
|
[id: string]: true;
|
|
112
112
|
}>;
|
|
@@ -119,7 +119,7 @@ export declare const actionAddToLibrary: {
|
|
|
119
119
|
selectedElementsAreBeingDragged: boolean;
|
|
120
120
|
shouldCacheIgnoreZoom: boolean;
|
|
121
121
|
zenModeEnabled: boolean;
|
|
122
|
-
theme: import("@
|
|
122
|
+
theme: import("@hellixit/element/types").Theme;
|
|
123
123
|
gridSize: number;
|
|
124
124
|
gridStep: number;
|
|
125
125
|
gridModeEnabled: boolean;
|
|
@@ -127,7 +127,7 @@ export declare const actionAddToLibrary: {
|
|
|
127
127
|
selectedGroupIds: {
|
|
128
128
|
[groupId: string]: boolean;
|
|
129
129
|
};
|
|
130
|
-
editingGroupId: import("@
|
|
130
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
131
131
|
width: number;
|
|
132
132
|
height: number;
|
|
133
133
|
offsetTop: number;
|
|
@@ -139,7 +139,7 @@ export declare const actionAddToLibrary: {
|
|
|
139
139
|
panels: number;
|
|
140
140
|
};
|
|
141
141
|
showHyperlinkPopup: false | "info" | "editor";
|
|
142
|
-
selectedLinearElement: import("@
|
|
142
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
143
143
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
144
144
|
originSnapOffset: {
|
|
145
145
|
x: number;
|
|
@@ -149,16 +149,16 @@ export declare const actionAddToLibrary: {
|
|
|
149
149
|
userToFollow: import("../types").UserToFollow | null;
|
|
150
150
|
followedBy: Set<import("../types").SocketId>;
|
|
151
151
|
isCropping: boolean;
|
|
152
|
-
croppingElementId: import("@
|
|
152
|
+
croppingElementId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
153
153
|
searchMatches: Readonly<{
|
|
154
|
-
focusedId: import("@
|
|
154
|
+
focusedId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
155
155
|
matches: readonly import("../types").SearchMatch[];
|
|
156
156
|
}> | null;
|
|
157
157
|
activeLockedId: string | null;
|
|
158
158
|
lockedMultiSelections: {
|
|
159
159
|
[groupId: string]: true;
|
|
160
160
|
};
|
|
161
|
-
bindMode: import("@
|
|
161
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
162
162
|
};
|
|
163
163
|
} | {
|
|
164
164
|
captureUpdate: "EVENTUALLY";
|
|
@@ -172,22 +172,22 @@ export declare const actionAddToLibrary: {
|
|
|
172
172
|
showWelcomeScreen: boolean;
|
|
173
173
|
isLoading: boolean;
|
|
174
174
|
activeEmbeddable: {
|
|
175
|
-
element: import("@
|
|
175
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
176
176
|
state: "hover" | "active";
|
|
177
177
|
} | null;
|
|
178
|
-
newElement: import("@
|
|
179
|
-
resizingElement: import("@
|
|
180
|
-
multiElement: import("@
|
|
181
|
-
selectionElement: import("@
|
|
178
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
179
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
180
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
181
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
182
182
|
isBindingEnabled: boolean;
|
|
183
183
|
bindingPreference: "enabled" | "disabled";
|
|
184
184
|
isMidpointSnappingEnabled: boolean;
|
|
185
|
-
startBoundElement: import("@
|
|
185
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
186
186
|
suggestedBinding: {
|
|
187
|
-
element: import("@
|
|
188
|
-
midPoint?: import("@
|
|
187
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
188
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
189
189
|
} | null;
|
|
190
|
-
frameToHighlight: import("@
|
|
190
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
191
191
|
frameRendering: {
|
|
192
192
|
enabled: boolean;
|
|
193
193
|
name: boolean;
|
|
@@ -195,8 +195,8 @@ export declare const actionAddToLibrary: {
|
|
|
195
195
|
clip: boolean;
|
|
196
196
|
};
|
|
197
197
|
editingFrame: string | null;
|
|
198
|
-
elementsToHighlight: import("@
|
|
199
|
-
editingTextElement: import("@
|
|
198
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardElement>[] | null;
|
|
199
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
200
200
|
activeTool: {
|
|
201
201
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
202
202
|
locked: boolean;
|
|
@@ -214,18 +214,18 @@ export declare const actionAddToLibrary: {
|
|
|
214
214
|
exportScale: number;
|
|
215
215
|
currentItemStrokeColor: string;
|
|
216
216
|
currentItemBackgroundColor: string;
|
|
217
|
-
currentItemFillStyle: import("@
|
|
217
|
+
currentItemFillStyle: import("@hellixit/element/types").HellixitboardElement["fillStyle"];
|
|
218
218
|
currentItemStrokeWidth: number;
|
|
219
|
-
currentItemStrokeStyle: import("@
|
|
219
|
+
currentItemStrokeStyle: import("@hellixit/element/types").HellixitboardElement["strokeStyle"];
|
|
220
220
|
currentItemRoughness: number;
|
|
221
221
|
currentItemOpacity: number;
|
|
222
|
-
currentItemFontFamily: import("@
|
|
222
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
223
223
|
currentItemFontSize: number;
|
|
224
|
-
currentItemTextAlign: import("@
|
|
225
|
-
currentItemStartArrowhead: import("@
|
|
226
|
-
currentItemEndArrowhead: import("@
|
|
227
|
-
currentHoveredFontFamily: import("@
|
|
228
|
-
currentItemRoundness: import("@
|
|
224
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
225
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
226
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
227
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
228
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
229
229
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
230
230
|
viewBackgroundColor: string;
|
|
231
231
|
scrollX: number;
|
|
@@ -253,14 +253,14 @@ export declare const actionAddToLibrary: {
|
|
|
253
253
|
name: "settings";
|
|
254
254
|
} | {
|
|
255
255
|
name: "elementLinkSelector";
|
|
256
|
-
sourceElementId: import("@
|
|
256
|
+
sourceElementId: import("@hellixit/element/types").HellixitboardElement["id"];
|
|
257
257
|
} | {
|
|
258
258
|
name: "charts";
|
|
259
259
|
data: import("../charts").Spreadsheet;
|
|
260
260
|
rawText: string;
|
|
261
261
|
};
|
|
262
262
|
defaultSidebarDockedPreference: boolean;
|
|
263
|
-
lastPointerDownWith: import("@
|
|
263
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
264
264
|
selectedElementIds: Readonly<{
|
|
265
265
|
[id: string]: true;
|
|
266
266
|
}>;
|
|
@@ -278,7 +278,7 @@ export declare const actionAddToLibrary: {
|
|
|
278
278
|
duration?: number;
|
|
279
279
|
} | null;
|
|
280
280
|
zenModeEnabled: boolean;
|
|
281
|
-
theme: import("@
|
|
281
|
+
theme: import("@hellixit/element/types").Theme;
|
|
282
282
|
gridSize: number;
|
|
283
283
|
gridStep: number;
|
|
284
284
|
gridModeEnabled: boolean;
|
|
@@ -286,7 +286,7 @@ export declare const actionAddToLibrary: {
|
|
|
286
286
|
selectedGroupIds: {
|
|
287
287
|
[groupId: string]: boolean;
|
|
288
288
|
};
|
|
289
|
-
editingGroupId: import("@
|
|
289
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
290
290
|
width: number;
|
|
291
291
|
height: number;
|
|
292
292
|
offsetTop: number;
|
|
@@ -298,7 +298,7 @@ export declare const actionAddToLibrary: {
|
|
|
298
298
|
panels: number;
|
|
299
299
|
};
|
|
300
300
|
showHyperlinkPopup: false | "info" | "editor";
|
|
301
|
-
selectedLinearElement: import("@
|
|
301
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
302
302
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
303
303
|
originSnapOffset: {
|
|
304
304
|
x: number;
|
|
@@ -308,16 +308,16 @@ export declare const actionAddToLibrary: {
|
|
|
308
308
|
userToFollow: import("../types").UserToFollow | null;
|
|
309
309
|
followedBy: Set<import("../types").SocketId>;
|
|
310
310
|
isCropping: boolean;
|
|
311
|
-
croppingElementId: import("@
|
|
311
|
+
croppingElementId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
312
312
|
searchMatches: Readonly<{
|
|
313
|
-
focusedId: import("@
|
|
313
|
+
focusedId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
314
314
|
matches: readonly import("../types").SearchMatch[];
|
|
315
315
|
}> | null;
|
|
316
316
|
activeLockedId: string | null;
|
|
317
317
|
lockedMultiSelections: {
|
|
318
318
|
[groupId: string]: true;
|
|
319
319
|
};
|
|
320
|
-
bindMode: import("@
|
|
320
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
321
321
|
};
|
|
322
322
|
}> | {
|
|
323
323
|
captureUpdate: "EVENTUALLY";
|
|
@@ -331,22 +331,22 @@ export declare const actionAddToLibrary: {
|
|
|
331
331
|
showWelcomeScreen: boolean;
|
|
332
332
|
isLoading: boolean;
|
|
333
333
|
activeEmbeddable: {
|
|
334
|
-
element: import("@
|
|
334
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
335
335
|
state: "hover" | "active";
|
|
336
336
|
} | null;
|
|
337
|
-
newElement: import("@
|
|
338
|
-
resizingElement: import("@
|
|
339
|
-
multiElement: import("@
|
|
340
|
-
selectionElement: import("@
|
|
337
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
338
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
339
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
340
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
341
341
|
isBindingEnabled: boolean;
|
|
342
342
|
bindingPreference: "enabled" | "disabled";
|
|
343
343
|
isMidpointSnappingEnabled: boolean;
|
|
344
|
-
startBoundElement: import("@
|
|
344
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
345
345
|
suggestedBinding: {
|
|
346
|
-
element: import("@
|
|
347
|
-
midPoint?: import("@
|
|
346
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
347
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
348
348
|
} | null;
|
|
349
|
-
frameToHighlight: import("@
|
|
349
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
350
350
|
frameRendering: {
|
|
351
351
|
enabled: boolean;
|
|
352
352
|
name: boolean;
|
|
@@ -354,8 +354,8 @@ export declare const actionAddToLibrary: {
|
|
|
354
354
|
clip: boolean;
|
|
355
355
|
};
|
|
356
356
|
editingFrame: string | null;
|
|
357
|
-
elementsToHighlight: import("@
|
|
358
|
-
editingTextElement: import("@
|
|
357
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardElement>[] | null;
|
|
358
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
359
359
|
activeTool: {
|
|
360
360
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
361
361
|
locked: boolean;
|
|
@@ -373,18 +373,18 @@ export declare const actionAddToLibrary: {
|
|
|
373
373
|
exportScale: number;
|
|
374
374
|
currentItemStrokeColor: string;
|
|
375
375
|
currentItemBackgroundColor: string;
|
|
376
|
-
currentItemFillStyle: import("@
|
|
376
|
+
currentItemFillStyle: import("@hellixit/element/types").HellixitboardElement["fillStyle"];
|
|
377
377
|
currentItemStrokeWidth: number;
|
|
378
|
-
currentItemStrokeStyle: import("@
|
|
378
|
+
currentItemStrokeStyle: import("@hellixit/element/types").HellixitboardElement["strokeStyle"];
|
|
379
379
|
currentItemRoughness: number;
|
|
380
380
|
currentItemOpacity: number;
|
|
381
|
-
currentItemFontFamily: import("@
|
|
381
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
382
382
|
currentItemFontSize: number;
|
|
383
|
-
currentItemTextAlign: import("@
|
|
384
|
-
currentItemStartArrowhead: import("@
|
|
385
|
-
currentItemEndArrowhead: import("@
|
|
386
|
-
currentHoveredFontFamily: import("@
|
|
387
|
-
currentItemRoundness: import("@
|
|
383
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
384
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
385
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
386
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
387
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
388
388
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
389
389
|
viewBackgroundColor: string;
|
|
390
390
|
scrollX: number;
|
|
@@ -412,14 +412,14 @@ export declare const actionAddToLibrary: {
|
|
|
412
412
|
name: "settings";
|
|
413
413
|
} | {
|
|
414
414
|
name: "elementLinkSelector";
|
|
415
|
-
sourceElementId: import("@
|
|
415
|
+
sourceElementId: import("@hellixit/element/types").HellixitboardElement["id"];
|
|
416
416
|
} | {
|
|
417
417
|
name: "charts";
|
|
418
418
|
data: import("../charts").Spreadsheet;
|
|
419
419
|
rawText: string;
|
|
420
420
|
};
|
|
421
421
|
defaultSidebarDockedPreference: boolean;
|
|
422
|
-
lastPointerDownWith: import("@
|
|
422
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
423
423
|
selectedElementIds: Readonly<{
|
|
424
424
|
[id: string]: true;
|
|
425
425
|
}>;
|
|
@@ -437,7 +437,7 @@ export declare const actionAddToLibrary: {
|
|
|
437
437
|
duration?: number;
|
|
438
438
|
} | null;
|
|
439
439
|
zenModeEnabled: boolean;
|
|
440
|
-
theme: import("@
|
|
440
|
+
theme: import("@hellixit/element/types").Theme;
|
|
441
441
|
gridSize: number;
|
|
442
442
|
gridStep: number;
|
|
443
443
|
gridModeEnabled: boolean;
|
|
@@ -445,7 +445,7 @@ export declare const actionAddToLibrary: {
|
|
|
445
445
|
selectedGroupIds: {
|
|
446
446
|
[groupId: string]: boolean;
|
|
447
447
|
};
|
|
448
|
-
editingGroupId: import("@
|
|
448
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
449
449
|
width: number;
|
|
450
450
|
height: number;
|
|
451
451
|
offsetTop: number;
|
|
@@ -457,7 +457,7 @@ export declare const actionAddToLibrary: {
|
|
|
457
457
|
panels: number;
|
|
458
458
|
};
|
|
459
459
|
showHyperlinkPopup: false | "info" | "editor";
|
|
460
|
-
selectedLinearElement: import("@
|
|
460
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
461
461
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
462
462
|
originSnapOffset: {
|
|
463
463
|
x: number;
|
|
@@ -467,16 +467,16 @@ export declare const actionAddToLibrary: {
|
|
|
467
467
|
userToFollow: import("../types").UserToFollow | null;
|
|
468
468
|
followedBy: Set<import("../types").SocketId>;
|
|
469
469
|
isCropping: boolean;
|
|
470
|
-
croppingElementId: import("@
|
|
470
|
+
croppingElementId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
471
471
|
searchMatches: Readonly<{
|
|
472
|
-
focusedId: import("@
|
|
472
|
+
focusedId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
473
473
|
matches: readonly import("../types").SearchMatch[];
|
|
474
474
|
}> | null;
|
|
475
475
|
activeLockedId: string | null;
|
|
476
476
|
lockedMultiSelections: {
|
|
477
477
|
[groupId: string]: true;
|
|
478
478
|
};
|
|
479
|
-
bindMode: import("@
|
|
479
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
480
480
|
};
|
|
481
481
|
};
|
|
482
482
|
label: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HellixitboardElement } from "@
|
|
1
|
+
import type { HellixitboardElement } from "@hellixit/element/types";
|
|
2
2
|
import type { AppClassProperties, AppState, UIAppState } from "../types";
|
|
3
3
|
export declare const alignActionsPredicate: (appState: UIAppState, app: AppClassProperties) => boolean;
|
|
4
4
|
export declare const actionAlignTop: {
|
|
@@ -9,7 +9,7 @@ export declare const actionAlignTop: {
|
|
|
9
9
|
category: "element";
|
|
10
10
|
};
|
|
11
11
|
predicate: (elements: readonly HellixitboardElement[], appState: AppState, appProps: import("../types").HellixitboardProps, app: AppClassProperties) => boolean;
|
|
12
|
-
perform: (elements: readonly import("@
|
|
12
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
13
13
|
appState: Readonly<AppState>;
|
|
14
14
|
elements: HellixitboardElement[];
|
|
15
15
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -27,7 +27,7 @@ export declare const actionAlignBottom: {
|
|
|
27
27
|
category: "element";
|
|
28
28
|
};
|
|
29
29
|
predicate: (elements: readonly HellixitboardElement[], appState: AppState, appProps: import("../types").HellixitboardProps, app: AppClassProperties) => boolean;
|
|
30
|
-
perform: (elements: readonly import("@
|
|
30
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
31
31
|
appState: Readonly<AppState>;
|
|
32
32
|
elements: HellixitboardElement[];
|
|
33
33
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -45,7 +45,7 @@ export declare const actionAlignLeft: {
|
|
|
45
45
|
category: "element";
|
|
46
46
|
};
|
|
47
47
|
predicate: (elements: readonly HellixitboardElement[], appState: AppState, appProps: import("../types").HellixitboardProps, app: AppClassProperties) => boolean;
|
|
48
|
-
perform: (elements: readonly import("@
|
|
48
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
49
49
|
appState: Readonly<AppState>;
|
|
50
50
|
elements: HellixitboardElement[];
|
|
51
51
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -63,7 +63,7 @@ export declare const actionAlignRight: {
|
|
|
63
63
|
category: "element";
|
|
64
64
|
};
|
|
65
65
|
predicate: (elements: readonly HellixitboardElement[], appState: AppState, appProps: import("../types").HellixitboardProps, app: AppClassProperties) => boolean;
|
|
66
|
-
perform: (elements: readonly import("@
|
|
66
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
67
67
|
appState: Readonly<AppState>;
|
|
68
68
|
elements: HellixitboardElement[];
|
|
69
69
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -81,7 +81,7 @@ export declare const actionAlignVerticallyCentered: {
|
|
|
81
81
|
category: "element";
|
|
82
82
|
};
|
|
83
83
|
predicate: (elements: readonly HellixitboardElement[], appState: AppState, appProps: import("../types").HellixitboardProps, app: AppClassProperties) => boolean;
|
|
84
|
-
perform: (elements: readonly import("@
|
|
84
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
85
85
|
appState: Readonly<AppState>;
|
|
86
86
|
elements: HellixitboardElement[];
|
|
87
87
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -98,7 +98,7 @@ export declare const actionAlignHorizontallyCentered: {
|
|
|
98
98
|
category: "element";
|
|
99
99
|
};
|
|
100
100
|
predicate: (elements: readonly HellixitboardElement[], appState: AppState, appProps: import("../types").HellixitboardProps, app: AppClassProperties) => boolean;
|
|
101
|
-
perform: (elements: readonly import("@
|
|
101
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
102
102
|
appState: Readonly<AppState>;
|
|
103
103
|
elements: HellixitboardElement[];
|
|
104
104
|
captureUpdate: "IMMEDIATELY";
|