@hellixit/hellixitboard 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -53
- package/dist/prod/chunk-IGUB3U7T.js +4 -0
- package/dist/prod/data/{image-2IKBHSIF.js → image-WXEFXRM6.js} +1 -1
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +16 -16
- package/dist/types/common/src/constants.d.ts +1 -1
- package/dist/types/common/src/font-metadata.d.ts +1 -1
- package/dist/types/common/src/points.d.ts +1 -1
- package/dist/types/common/src/utils.d.ts +2 -2
- package/dist/types/element/src/Scene.d.ts +4 -4
- package/dist/types/element/src/arrows/focus.d.ts +1 -1
- package/dist/types/element/src/binding.d.ts +3 -3
- package/dist/types/element/src/bounds.d.ts +2 -2
- package/dist/types/element/src/collision.d.ts +1 -1
- package/dist/types/element/src/delta.d.ts +2 -2
- package/dist/types/element/src/distance.d.ts +1 -1
- package/dist/types/element/src/dragElements.d.ts +1 -1
- package/dist/types/element/src/duplicate.d.ts +1 -1
- package/dist/types/element/src/elbowArrow.d.ts +1 -1
- package/dist/types/element/src/embeddable.d.ts +1 -1
- package/dist/types/element/src/frame.d.ts +1 -1
- package/dist/types/element/src/groups.d.ts +1 -1
- package/dist/types/element/src/heading.d.ts +2 -2
- package/dist/types/element/src/image.d.ts +1 -1
- package/dist/types/element/src/linearElementEditor.d.ts +3 -3
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/newElement.d.ts +1 -1
- package/dist/types/element/src/renderElement.d.ts +2 -2
- package/dist/types/element/src/resizeElements.d.ts +1 -1
- package/dist/types/element/src/resizeTest.d.ts +3 -3
- package/dist/types/element/src/shape.d.ts +3 -3
- package/dist/types/element/src/store.d.ts +2 -2
- package/dist/types/element/src/textElement.d.ts +2 -2
- package/dist/types/element/src/transform.d.ts +1 -1
- package/dist/types/element/src/transformHandles.d.ts +3 -3
- package/dist/types/element/src/typeChecks.d.ts +1 -1
- package/dist/types/element/src/types.d.ts +3 -3
- package/dist/types/element/src/utils.d.ts +2 -2
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/hellixitboard/actions/actionAddToLibrary.d.ts +82 -82
- package/dist/types/hellixitboard/actions/actionAlign.d.ts +7 -7
- package/dist/types/hellixitboard/actions/actionBoundText.d.ts +50 -50
- package/dist/types/hellixitboard/actions/actionCanvas.d.ts +275 -275
- package/dist/types/hellixitboard/actions/actionClipboard.d.ts +63 -63
- package/dist/types/hellixitboard/actions/actionCropEditor.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionDeleteSelected.d.ts +69 -69
- package/dist/types/hellixitboard/actions/actionDistribute.d.ts +3 -3
- package/dist/types/hellixitboard/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/hellixitboard/actions/actionElementLink.d.ts +32 -32
- package/dist/types/hellixitboard/actions/actionElementLock.d.ts +49 -49
- package/dist/types/hellixitboard/actions/actionEmbeddable.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionExport.d.ts +48 -48
- package/dist/types/hellixitboard/actions/actionFinalize.d.ts +1 -1
- package/dist/types/hellixitboard/actions/actionFlip.d.ts +3 -3
- package/dist/types/hellixitboard/actions/actionFrame.d.ts +210 -210
- package/dist/types/hellixitboard/actions/actionGroup.d.ts +43 -43
- package/dist/types/hellixitboard/actions/actionLinearEditor.d.ts +149 -149
- package/dist/types/hellixitboard/actions/actionLink.d.ts +31 -31
- package/dist/types/hellixitboard/actions/actionMenu.d.ts +27 -27
- package/dist/types/hellixitboard/actions/actionNavigate.d.ts +2 -2
- package/dist/types/hellixitboard/actions/actionProperties.d.ts +39 -39
- package/dist/types/hellixitboard/actions/actionSelectAll.d.ts +23 -23
- package/dist/types/hellixitboard/actions/actionStyles.d.ts +31 -31
- package/dist/types/hellixitboard/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/hellixitboard/actions/actionToggleArrowBinding.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionToggleGridMode.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionToggleMidpointSnapping.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionToggleObjectsSnapMode.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionToggleSearchMenu.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionToggleShapeSwitch.d.ts +2 -2
- package/dist/types/hellixitboard/actions/actionToggleStats.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionToggleViewMode.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionToggleZenMode.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionZindex.d.ts +8 -8
- package/dist/types/hellixitboard/actions/manager.d.ts +1 -1
- package/dist/types/hellixitboard/actions/shortcuts.d.ts +1 -1
- package/dist/types/hellixitboard/actions/types.d.ts +2 -2
- package/dist/types/hellixitboard/animated-trail.d.ts +2 -2
- package/dist/types/hellixitboard/appState.d.ts +9 -9
- package/dist/types/hellixitboard/charts/charts.constants.d.ts +1 -1
- package/dist/types/hellixitboard/charts/charts.helpers.d.ts +3 -3
- package/dist/types/hellixitboard/charts/charts.types.d.ts +1 -1
- package/dist/types/hellixitboard/charts/index.d.ts +1 -1
- package/dist/types/hellixitboard/clipboard.d.ts +4 -4
- package/dist/types/hellixitboard/components/Actions.d.ts +1 -1
- package/dist/types/hellixitboard/components/App.d.ts +9 -9
- package/dist/types/hellixitboard/components/ColorPicker/ColorPicker.d.ts +2 -2
- package/dist/types/hellixitboard/components/ColorPicker/Picker.d.ts +2 -2
- package/dist/types/hellixitboard/components/ColorPicker/PickerColorList.d.ts +1 -1
- package/dist/types/hellixitboard/components/ColorPicker/ShadeList.d.ts +1 -1
- package/dist/types/hellixitboard/components/ColorPicker/colorPickerUtils.d.ts +2 -2
- package/dist/types/hellixitboard/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/hellixitboard/components/ConvertElementTypePopup.d.ts +2 -2
- package/dist/types/hellixitboard/components/DarkModeToggle.d.ts +1 -1
- package/dist/types/hellixitboard/components/DefaultSidebar.d.ts +1 -1
- package/dist/types/hellixitboard/components/ElementCanvasButtons.d.ts +1 -1
- package/dist/types/hellixitboard/components/ElementLinkDialog.d.ts +2 -2
- package/dist/types/hellixitboard/components/EyeDropper.d.ts +1 -1
- package/dist/types/hellixitboard/components/FontPicker/FontPicker.d.ts +1 -1
- package/dist/types/hellixitboard/components/FontPicker/FontPickerList.d.ts +2 -2
- package/dist/types/hellixitboard/components/FontPicker/FontPickerTrigger.d.ts +1 -1
- package/dist/types/hellixitboard/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/hellixitboard/components/HintViewer.d.ts +1 -1
- package/dist/types/hellixitboard/components/ImageExportDialog.d.ts +1 -1
- package/dist/types/hellixitboard/components/InitializeApp.d.ts +1 -1
- package/dist/types/hellixitboard/components/JSONExportDialog.d.ts +1 -1
- package/dist/types/hellixitboard/components/LayerUI.d.ts +1 -1
- package/dist/types/hellixitboard/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/hellixitboard/components/LoadingMessage.d.ts +1 -1
- package/dist/types/hellixitboard/components/MobileMenu.d.ts +1 -1
- package/dist/types/hellixitboard/components/Stats/Angle.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/CanvasGrid.d.ts +1 -1
- package/dist/types/hellixitboard/components/Stats/Dimension.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/DragInput.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/FontSize.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/MultiAngle.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/MultiDimension.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/MultiFontSize.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/MultiPosition.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/Position.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/index.d.ts +1 -1
- package/dist/types/hellixitboard/components/Stats/utils.d.ts +2 -2
- package/dist/types/hellixitboard/components/TTDDialog/CodeMirrorEditor.d.ts +1 -1
- package/dist/types/hellixitboard/components/TTDDialog/common.d.ts +1 -1
- package/dist/types/hellixitboard/components/TTDDialog/hooks/useMermaidRenderer.d.ts +1 -1
- package/dist/types/hellixitboard/components/TTDDialog/types.d.ts +3 -3
- package/dist/types/hellixitboard/components/ToolButton.d.ts +1 -1
- package/dist/types/hellixitboard/components/canvases/InteractiveCanvas.d.ts +2 -2
- package/dist/types/hellixitboard/components/canvases/NewElementCanvas.d.ts +1 -1
- package/dist/types/hellixitboard/components/canvases/StaticCanvas.d.ts +1 -1
- package/dist/types/hellixitboard/components/dropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/types/hellixitboard/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/types/hellixitboard/components/hyperlink/Hyperlink.d.ts +2 -2
- package/dist/types/hellixitboard/components/hyperlink/helpers.d.ts +3 -3
- package/dist/types/hellixitboard/components/icons.d.ts +1 -1
- package/dist/types/hellixitboard/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
- package/dist/types/hellixitboard/components/main-menu/DefaultItems.d.ts +1 -1
- package/dist/types/hellixitboard/components/main-menu/MainMenu.d.ts +1 -1
- package/dist/types/hellixitboard/data/EditorLocalStorage.d.ts +1 -1
- package/dist/types/hellixitboard/data/blob.d.ts +49 -49
- package/dist/types/hellixitboard/data/filesystem.d.ts +1 -1
- package/dist/types/hellixitboard/data/index.d.ts +1 -1
- package/dist/types/hellixitboard/data/json.d.ts +24 -24
- package/dist/types/hellixitboard/data/library.d.ts +2 -2
- package/dist/types/hellixitboard/data/reconcile.d.ts +2 -2
- package/dist/types/hellixitboard/data/resave.d.ts +2 -2
- package/dist/types/hellixitboard/data/restore.d.ts +2 -2
- package/dist/types/hellixitboard/data/types.d.ts +2 -2
- package/dist/types/hellixitboard/fonts/Fonts.d.ts +3 -3
- package/dist/types/hellixitboard/history.d.ts +4 -4
- package/dist/types/hellixitboard/hooks/useEmitter.d.ts +1 -1
- package/dist/types/hellixitboard/i18n.d.ts +1 -1
- package/dist/types/hellixitboard/index.d.ts +12 -12
- package/dist/types/hellixitboard/lasso/utils.d.ts +2 -2
- package/dist/types/hellixitboard/renderer/staticScene.d.ts +1 -1
- package/dist/types/hellixitboard/renderer/staticSvgScene.d.ts +1 -1
- package/dist/types/hellixitboard/scene/Renderer.d.ts +2 -2
- package/dist/types/hellixitboard/scene/export.d.ts +1 -1
- package/dist/types/hellixitboard/scene/index.d.ts +2 -2
- package/dist/types/hellixitboard/scene/scroll.d.ts +1 -1
- package/dist/types/hellixitboard/scene/types.d.ts +3 -3
- package/dist/types/hellixitboard/snapping.d.ts +5 -5
- package/dist/types/hellixitboard/types.d.ts +7 -7
- package/dist/types/hellixitboard/wysiwyg/textWysiwyg.d.ts +1 -1
- package/dist/types/utils/src/bbox.d.ts +2 -2
- package/dist/types/utils/src/export.d.ts +2 -2
- package/dist/types/utils/src/index.d.ts +1 -1
- package/dist/types/utils/src/shape.d.ts +4 -4
- package/dist/types/utils/src/withinBounds.d.ts +2 -2
- package/package.json +7 -7
- package/dist/prod/chunk-6TQ3TBTF.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HellixitboardElement, HellixitboardLinearElement } from "@
|
|
2
|
-
import type { Mutable } from "@
|
|
1
|
+
import type { HellixitboardElement, HellixitboardLinearElement } from "@hellixit/element/types";
|
|
2
|
+
import type { Mutable } from "@hellixit/common/utility-types";
|
|
3
3
|
import type { AppState } from "../types";
|
|
4
4
|
export declare const actionUnbindText: {
|
|
5
5
|
name: "unbindText";
|
|
@@ -8,8 +8,8 @@ export declare const actionUnbindText: {
|
|
|
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: readonly import("@
|
|
11
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
12
|
+
elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[];
|
|
13
13
|
appState: Readonly<AppState>;
|
|
14
14
|
captureUpdate: "IMMEDIATELY";
|
|
15
15
|
};
|
|
@@ -23,7 +23,7 @@ export declare const actionBindText: {
|
|
|
23
23
|
category: "element";
|
|
24
24
|
};
|
|
25
25
|
predicate: (elements: readonly HellixitboardElement[], appState: AppState, _: import("../types").HellixitboardProps, app: import("../types").AppClassProperties) => boolean;
|
|
26
|
-
perform: (elements: readonly import("@
|
|
26
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
27
27
|
elements: HellixitboardElement[];
|
|
28
28
|
appState: {
|
|
29
29
|
selectedElementIds: {
|
|
@@ -38,22 +38,22 @@ export declare const actionBindText: {
|
|
|
38
38
|
isLoading: boolean;
|
|
39
39
|
errorMessage: React.ReactNode;
|
|
40
40
|
activeEmbeddable: {
|
|
41
|
-
element: import("@
|
|
41
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
42
42
|
state: "hover" | "active";
|
|
43
43
|
} | null;
|
|
44
|
-
newElement: import("@
|
|
45
|
-
resizingElement: import("@
|
|
46
|
-
multiElement: import("@
|
|
47
|
-
selectionElement: import("@
|
|
44
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
45
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
46
|
+
multiElement: import("@hellixit/element/types").NonDeleted<HellixitboardLinearElement> | null;
|
|
47
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
48
48
|
isBindingEnabled: boolean;
|
|
49
49
|
bindingPreference: "enabled" | "disabled";
|
|
50
50
|
isMidpointSnappingEnabled: boolean;
|
|
51
|
-
startBoundElement: import("@
|
|
51
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
52
52
|
suggestedBinding: {
|
|
53
|
-
element: import("@
|
|
54
|
-
midPoint?: import("@
|
|
53
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
54
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
55
55
|
} | null;
|
|
56
|
-
frameToHighlight: import("@
|
|
56
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
57
57
|
frameRendering: {
|
|
58
58
|
enabled: boolean;
|
|
59
59
|
name: boolean;
|
|
@@ -61,8 +61,8 @@ export declare const actionBindText: {
|
|
|
61
61
|
clip: boolean;
|
|
62
62
|
};
|
|
63
63
|
editingFrame: string | null;
|
|
64
|
-
elementsToHighlight: import("@
|
|
65
|
-
editingTextElement: import("@
|
|
64
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
65
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
66
66
|
activeTool: {
|
|
67
67
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
68
68
|
locked: boolean;
|
|
@@ -85,13 +85,13 @@ export declare const actionBindText: {
|
|
|
85
85
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
86
86
|
currentItemRoughness: number;
|
|
87
87
|
currentItemOpacity: number;
|
|
88
|
-
currentItemFontFamily: import("@
|
|
88
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
89
89
|
currentItemFontSize: number;
|
|
90
|
-
currentItemTextAlign: import("@
|
|
91
|
-
currentItemStartArrowhead: import("@
|
|
92
|
-
currentItemEndArrowhead: import("@
|
|
93
|
-
currentHoveredFontFamily: import("@
|
|
94
|
-
currentItemRoundness: import("@
|
|
90
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
91
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
92
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
93
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
94
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
95
95
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
96
96
|
viewBackgroundColor: string;
|
|
97
97
|
scrollX: number;
|
|
@@ -126,7 +126,7 @@ export declare const actionBindText: {
|
|
|
126
126
|
rawText: string;
|
|
127
127
|
};
|
|
128
128
|
defaultSidebarDockedPreference: boolean;
|
|
129
|
-
lastPointerDownWith: import("@
|
|
129
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
130
130
|
hoveredElementIds: Readonly<{
|
|
131
131
|
[id: string]: true;
|
|
132
132
|
}>;
|
|
@@ -141,7 +141,7 @@ export declare const actionBindText: {
|
|
|
141
141
|
duration?: number;
|
|
142
142
|
} | null;
|
|
143
143
|
zenModeEnabled: boolean;
|
|
144
|
-
theme: import("@
|
|
144
|
+
theme: import("@hellixit/element/types").Theme;
|
|
145
145
|
gridSize: number;
|
|
146
146
|
gridStep: number;
|
|
147
147
|
gridModeEnabled: boolean;
|
|
@@ -149,7 +149,7 @@ export declare const actionBindText: {
|
|
|
149
149
|
selectedGroupIds: {
|
|
150
150
|
[groupId: string]: boolean;
|
|
151
151
|
};
|
|
152
|
-
editingGroupId: import("@
|
|
152
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
153
153
|
width: number;
|
|
154
154
|
height: number;
|
|
155
155
|
offsetTop: number;
|
|
@@ -161,7 +161,7 @@ export declare const actionBindText: {
|
|
|
161
161
|
panels: number;
|
|
162
162
|
};
|
|
163
163
|
showHyperlinkPopup: false | "info" | "editor";
|
|
164
|
-
selectedLinearElement: import("@
|
|
164
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
165
165
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
166
166
|
originSnapOffset: {
|
|
167
167
|
x: number;
|
|
@@ -180,7 +180,7 @@ export declare const actionBindText: {
|
|
|
180
180
|
lockedMultiSelections: {
|
|
181
181
|
[groupId: string]: true;
|
|
182
182
|
};
|
|
183
|
-
bindMode: import("@
|
|
183
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
184
184
|
};
|
|
185
185
|
captureUpdate: "IMMEDIATELY";
|
|
186
186
|
};
|
|
@@ -194,7 +194,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
194
194
|
category: "element";
|
|
195
195
|
};
|
|
196
196
|
predicate: (elements: readonly HellixitboardElement[], appState: AppState, _: import("../types").HellixitboardProps, app: import("../types").AppClassProperties) => boolean;
|
|
197
|
-
perform: (elements: readonly import("@
|
|
197
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
198
198
|
elements: readonly HellixitboardElement[];
|
|
199
199
|
appState: {
|
|
200
200
|
selectedElementIds: Mutable<Readonly<{
|
|
@@ -209,22 +209,22 @@ export declare const actionWrapTextInContainer: {
|
|
|
209
209
|
isLoading: boolean;
|
|
210
210
|
errorMessage: React.ReactNode;
|
|
211
211
|
activeEmbeddable: {
|
|
212
|
-
element: import("@
|
|
212
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
213
213
|
state: "hover" | "active";
|
|
214
214
|
} | null;
|
|
215
|
-
newElement: import("@
|
|
216
|
-
resizingElement: import("@
|
|
217
|
-
multiElement: import("@
|
|
218
|
-
selectionElement: import("@
|
|
215
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
216
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
217
|
+
multiElement: import("@hellixit/element/types").NonDeleted<HellixitboardLinearElement> | null;
|
|
218
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
219
219
|
isBindingEnabled: boolean;
|
|
220
220
|
bindingPreference: "enabled" | "disabled";
|
|
221
221
|
isMidpointSnappingEnabled: boolean;
|
|
222
|
-
startBoundElement: import("@
|
|
222
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
223
223
|
suggestedBinding: {
|
|
224
|
-
element: import("@
|
|
225
|
-
midPoint?: import("@
|
|
224
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
225
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
226
226
|
} | null;
|
|
227
|
-
frameToHighlight: import("@
|
|
227
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
228
228
|
frameRendering: {
|
|
229
229
|
enabled: boolean;
|
|
230
230
|
name: boolean;
|
|
@@ -232,8 +232,8 @@ export declare const actionWrapTextInContainer: {
|
|
|
232
232
|
clip: boolean;
|
|
233
233
|
};
|
|
234
234
|
editingFrame: string | null;
|
|
235
|
-
elementsToHighlight: import("@
|
|
236
|
-
editingTextElement: import("@
|
|
235
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
236
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
237
237
|
activeTool: {
|
|
238
238
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
239
239
|
locked: boolean;
|
|
@@ -256,13 +256,13 @@ export declare const actionWrapTextInContainer: {
|
|
|
256
256
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
257
257
|
currentItemRoughness: number;
|
|
258
258
|
currentItemOpacity: number;
|
|
259
|
-
currentItemFontFamily: import("@
|
|
259
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
260
260
|
currentItemFontSize: number;
|
|
261
|
-
currentItemTextAlign: import("@
|
|
262
|
-
currentItemStartArrowhead: import("@
|
|
263
|
-
currentItemEndArrowhead: import("@
|
|
264
|
-
currentHoveredFontFamily: import("@
|
|
265
|
-
currentItemRoundness: import("@
|
|
261
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
262
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
263
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
264
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
265
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
266
266
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
267
267
|
viewBackgroundColor: string;
|
|
268
268
|
scrollX: number;
|
|
@@ -297,7 +297,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
297
297
|
rawText: string;
|
|
298
298
|
};
|
|
299
299
|
defaultSidebarDockedPreference: boolean;
|
|
300
|
-
lastPointerDownWith: import("@
|
|
300
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
301
301
|
hoveredElementIds: Readonly<{
|
|
302
302
|
[id: string]: true;
|
|
303
303
|
}>;
|
|
@@ -312,7 +312,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
312
312
|
duration?: number;
|
|
313
313
|
} | null;
|
|
314
314
|
zenModeEnabled: boolean;
|
|
315
|
-
theme: import("@
|
|
315
|
+
theme: import("@hellixit/element/types").Theme;
|
|
316
316
|
gridSize: number;
|
|
317
317
|
gridStep: number;
|
|
318
318
|
gridModeEnabled: boolean;
|
|
@@ -320,7 +320,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
320
320
|
selectedGroupIds: {
|
|
321
321
|
[groupId: string]: boolean;
|
|
322
322
|
};
|
|
323
|
-
editingGroupId: import("@
|
|
323
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
324
324
|
width: number;
|
|
325
325
|
height: number;
|
|
326
326
|
offsetTop: number;
|
|
@@ -332,7 +332,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
332
332
|
panels: number;
|
|
333
333
|
};
|
|
334
334
|
showHyperlinkPopup: false | "info" | "editor";
|
|
335
|
-
selectedLinearElement: import("@
|
|
335
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
336
336
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
337
337
|
originSnapOffset: {
|
|
338
338
|
x: number;
|
|
@@ -351,7 +351,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
351
351
|
lockedMultiSelections: {
|
|
352
352
|
[groupId: string]: true;
|
|
353
353
|
};
|
|
354
|
-
bindMode: import("@
|
|
354
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
355
355
|
};
|
|
356
356
|
captureUpdate: "IMMEDIATELY";
|
|
357
357
|
};
|