@hellixit/hellixitboard 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/prod/chunk-IGUB3U7T.js +4 -0
- package/dist/prod/data/{image-2IKBHSIF.js → image-WXEFXRM6.js} +1 -1
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +16 -16
- package/dist/types/common/src/constants.d.ts +1 -1
- package/dist/types/common/src/font-metadata.d.ts +1 -1
- package/dist/types/common/src/points.d.ts +1 -1
- package/dist/types/common/src/utils.d.ts +2 -2
- package/dist/types/element/src/Scene.d.ts +4 -4
- package/dist/types/element/src/arrows/focus.d.ts +1 -1
- package/dist/types/element/src/binding.d.ts +3 -3
- package/dist/types/element/src/bounds.d.ts +2 -2
- package/dist/types/element/src/collision.d.ts +1 -1
- package/dist/types/element/src/delta.d.ts +2 -2
- package/dist/types/element/src/distance.d.ts +1 -1
- package/dist/types/element/src/dragElements.d.ts +1 -1
- package/dist/types/element/src/duplicate.d.ts +1 -1
- package/dist/types/element/src/elbowArrow.d.ts +1 -1
- package/dist/types/element/src/embeddable.d.ts +1 -1
- package/dist/types/element/src/frame.d.ts +1 -1
- package/dist/types/element/src/groups.d.ts +1 -1
- package/dist/types/element/src/heading.d.ts +2 -2
- package/dist/types/element/src/image.d.ts +1 -1
- package/dist/types/element/src/linearElementEditor.d.ts +3 -3
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/newElement.d.ts +1 -1
- package/dist/types/element/src/renderElement.d.ts +2 -2
- package/dist/types/element/src/resizeElements.d.ts +1 -1
- package/dist/types/element/src/resizeTest.d.ts +3 -3
- package/dist/types/element/src/shape.d.ts +3 -3
- package/dist/types/element/src/store.d.ts +2 -2
- package/dist/types/element/src/textElement.d.ts +2 -2
- package/dist/types/element/src/transform.d.ts +1 -1
- package/dist/types/element/src/transformHandles.d.ts +3 -3
- package/dist/types/element/src/typeChecks.d.ts +1 -1
- package/dist/types/element/src/types.d.ts +3 -3
- package/dist/types/element/src/utils.d.ts +2 -2
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/hellixitboard/actions/actionAddToLibrary.d.ts +82 -82
- package/dist/types/hellixitboard/actions/actionAlign.d.ts +7 -7
- package/dist/types/hellixitboard/actions/actionBoundText.d.ts +50 -50
- package/dist/types/hellixitboard/actions/actionCanvas.d.ts +275 -275
- package/dist/types/hellixitboard/actions/actionClipboard.d.ts +63 -63
- package/dist/types/hellixitboard/actions/actionCropEditor.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionDeleteSelected.d.ts +69 -69
- package/dist/types/hellixitboard/actions/actionDistribute.d.ts +3 -3
- package/dist/types/hellixitboard/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/hellixitboard/actions/actionElementLink.d.ts +32 -32
- package/dist/types/hellixitboard/actions/actionElementLock.d.ts +49 -49
- package/dist/types/hellixitboard/actions/actionEmbeddable.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionExport.d.ts +48 -48
- package/dist/types/hellixitboard/actions/actionFinalize.d.ts +1 -1
- package/dist/types/hellixitboard/actions/actionFlip.d.ts +3 -3
- package/dist/types/hellixitboard/actions/actionFrame.d.ts +210 -210
- package/dist/types/hellixitboard/actions/actionGroup.d.ts +43 -43
- package/dist/types/hellixitboard/actions/actionLinearEditor.d.ts +149 -149
- package/dist/types/hellixitboard/actions/actionLink.d.ts +31 -31
- package/dist/types/hellixitboard/actions/actionMenu.d.ts +27 -27
- package/dist/types/hellixitboard/actions/actionNavigate.d.ts +2 -2
- package/dist/types/hellixitboard/actions/actionProperties.d.ts +39 -39
- package/dist/types/hellixitboard/actions/actionSelectAll.d.ts +23 -23
- package/dist/types/hellixitboard/actions/actionStyles.d.ts +31 -31
- package/dist/types/hellixitboard/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/hellixitboard/actions/actionToggleArrowBinding.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionToggleGridMode.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionToggleMidpointSnapping.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionToggleObjectsSnapMode.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionToggleSearchMenu.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionToggleShapeSwitch.d.ts +2 -2
- package/dist/types/hellixitboard/actions/actionToggleStats.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionToggleViewMode.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionToggleZenMode.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionZindex.d.ts +8 -8
- package/dist/types/hellixitboard/actions/manager.d.ts +1 -1
- package/dist/types/hellixitboard/actions/shortcuts.d.ts +1 -1
- package/dist/types/hellixitboard/actions/types.d.ts +2 -2
- package/dist/types/hellixitboard/animated-trail.d.ts +2 -2
- package/dist/types/hellixitboard/appState.d.ts +9 -9
- package/dist/types/hellixitboard/charts/charts.constants.d.ts +1 -1
- package/dist/types/hellixitboard/charts/charts.helpers.d.ts +3 -3
- package/dist/types/hellixitboard/charts/charts.types.d.ts +1 -1
- package/dist/types/hellixitboard/charts/index.d.ts +1 -1
- package/dist/types/hellixitboard/clipboard.d.ts +4 -4
- package/dist/types/hellixitboard/components/Actions.d.ts +1 -1
- package/dist/types/hellixitboard/components/App.d.ts +9 -9
- package/dist/types/hellixitboard/components/ColorPicker/ColorPicker.d.ts +2 -2
- package/dist/types/hellixitboard/components/ColorPicker/Picker.d.ts +2 -2
- package/dist/types/hellixitboard/components/ColorPicker/PickerColorList.d.ts +1 -1
- package/dist/types/hellixitboard/components/ColorPicker/ShadeList.d.ts +1 -1
- package/dist/types/hellixitboard/components/ColorPicker/colorPickerUtils.d.ts +2 -2
- package/dist/types/hellixitboard/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/hellixitboard/components/ConvertElementTypePopup.d.ts +2 -2
- package/dist/types/hellixitboard/components/DarkModeToggle.d.ts +1 -1
- package/dist/types/hellixitboard/components/DefaultSidebar.d.ts +1 -1
- package/dist/types/hellixitboard/components/ElementCanvasButtons.d.ts +1 -1
- package/dist/types/hellixitboard/components/ElementLinkDialog.d.ts +2 -2
- package/dist/types/hellixitboard/components/EyeDropper.d.ts +1 -1
- package/dist/types/hellixitboard/components/FontPicker/FontPicker.d.ts +1 -1
- package/dist/types/hellixitboard/components/FontPicker/FontPickerList.d.ts +2 -2
- package/dist/types/hellixitboard/components/FontPicker/FontPickerTrigger.d.ts +1 -1
- package/dist/types/hellixitboard/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/hellixitboard/components/HintViewer.d.ts +1 -1
- package/dist/types/hellixitboard/components/ImageExportDialog.d.ts +1 -1
- package/dist/types/hellixitboard/components/InitializeApp.d.ts +1 -1
- package/dist/types/hellixitboard/components/JSONExportDialog.d.ts +1 -1
- package/dist/types/hellixitboard/components/LayerUI.d.ts +1 -1
- package/dist/types/hellixitboard/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/hellixitboard/components/LoadingMessage.d.ts +1 -1
- package/dist/types/hellixitboard/components/MobileMenu.d.ts +1 -1
- package/dist/types/hellixitboard/components/Stats/Angle.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/CanvasGrid.d.ts +1 -1
- package/dist/types/hellixitboard/components/Stats/Dimension.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/DragInput.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/FontSize.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/MultiAngle.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/MultiDimension.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/MultiFontSize.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/MultiPosition.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/Position.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/index.d.ts +1 -1
- package/dist/types/hellixitboard/components/Stats/utils.d.ts +2 -2
- package/dist/types/hellixitboard/components/TTDDialog/CodeMirrorEditor.d.ts +1 -1
- package/dist/types/hellixitboard/components/TTDDialog/common.d.ts +1 -1
- package/dist/types/hellixitboard/components/TTDDialog/hooks/useMermaidRenderer.d.ts +1 -1
- package/dist/types/hellixitboard/components/TTDDialog/types.d.ts +3 -3
- package/dist/types/hellixitboard/components/ToolButton.d.ts +1 -1
- package/dist/types/hellixitboard/components/canvases/InteractiveCanvas.d.ts +2 -2
- package/dist/types/hellixitboard/components/canvases/NewElementCanvas.d.ts +1 -1
- package/dist/types/hellixitboard/components/canvases/StaticCanvas.d.ts +1 -1
- package/dist/types/hellixitboard/components/dropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/types/hellixitboard/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/types/hellixitboard/components/hyperlink/Hyperlink.d.ts +2 -2
- package/dist/types/hellixitboard/components/hyperlink/helpers.d.ts +3 -3
- package/dist/types/hellixitboard/components/icons.d.ts +1 -1
- package/dist/types/hellixitboard/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
- package/dist/types/hellixitboard/components/main-menu/DefaultItems.d.ts +1 -1
- package/dist/types/hellixitboard/components/main-menu/MainMenu.d.ts +1 -1
- package/dist/types/hellixitboard/data/EditorLocalStorage.d.ts +1 -1
- package/dist/types/hellixitboard/data/blob.d.ts +49 -49
- package/dist/types/hellixitboard/data/filesystem.d.ts +1 -1
- package/dist/types/hellixitboard/data/index.d.ts +1 -1
- package/dist/types/hellixitboard/data/json.d.ts +24 -24
- package/dist/types/hellixitboard/data/library.d.ts +2 -2
- package/dist/types/hellixitboard/data/reconcile.d.ts +2 -2
- package/dist/types/hellixitboard/data/resave.d.ts +2 -2
- package/dist/types/hellixitboard/data/restore.d.ts +2 -2
- package/dist/types/hellixitboard/data/types.d.ts +2 -2
- package/dist/types/hellixitboard/fonts/Fonts.d.ts +3 -3
- package/dist/types/hellixitboard/history.d.ts +4 -4
- package/dist/types/hellixitboard/hooks/useEmitter.d.ts +1 -1
- package/dist/types/hellixitboard/i18n.d.ts +1 -1
- package/dist/types/hellixitboard/index.d.ts +12 -12
- package/dist/types/hellixitboard/lasso/utils.d.ts +2 -2
- package/dist/types/hellixitboard/renderer/staticScene.d.ts +1 -1
- package/dist/types/hellixitboard/renderer/staticSvgScene.d.ts +1 -1
- package/dist/types/hellixitboard/scene/Renderer.d.ts +2 -2
- package/dist/types/hellixitboard/scene/export.d.ts +1 -1
- package/dist/types/hellixitboard/scene/index.d.ts +2 -2
- package/dist/types/hellixitboard/scene/scroll.d.ts +1 -1
- package/dist/types/hellixitboard/scene/types.d.ts +3 -3
- package/dist/types/hellixitboard/snapping.d.ts +5 -5
- package/dist/types/hellixitboard/types.d.ts +7 -7
- package/dist/types/hellixitboard/wysiwyg/textWysiwyg.d.ts +1 -1
- package/dist/types/utils/src/bbox.d.ts +2 -2
- package/dist/types/utils/src/export.d.ts +2 -2
- package/dist/types/utils/src/index.d.ts +1 -1
- package/dist/types/utils/src/shape.d.ts +4 -4
- package/dist/types/utils/src/withinBounds.d.ts +2 -2
- package/package.json +7 -7
- package/dist/prod/chunk-6TQ3TBTF.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HellixitboardElement } from "@
|
|
1
|
+
import type { HellixitboardElement } from "@hellixit/element/types";
|
|
2
2
|
import type { AppClassProperties, AppState } from "../types";
|
|
3
3
|
export declare const actionSelectAllElementsInFrame: {
|
|
4
4
|
name: "selectAllElementsInFrame";
|
|
@@ -6,8 +6,8 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
6
6
|
trackEvent: {
|
|
7
7
|
category: "canvas";
|
|
8
8
|
};
|
|
9
|
-
perform: (elements: readonly import("@
|
|
10
|
-
elements: readonly import("@
|
|
9
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
10
|
+
elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[];
|
|
11
11
|
appState: {
|
|
12
12
|
selectedElementIds: Record<string, true>;
|
|
13
13
|
contextMenu: {
|
|
@@ -19,22 +19,22 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
19
19
|
isLoading: boolean;
|
|
20
20
|
errorMessage: React.ReactNode;
|
|
21
21
|
activeEmbeddable: {
|
|
22
|
-
element: import("@
|
|
22
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
23
23
|
state: "hover" | "active";
|
|
24
24
|
} | null;
|
|
25
|
-
newElement: import("@
|
|
26
|
-
resizingElement: import("@
|
|
27
|
-
multiElement: import("@
|
|
28
|
-
selectionElement: import("@
|
|
25
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
26
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
27
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
28
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
29
29
|
isBindingEnabled: boolean;
|
|
30
30
|
bindingPreference: "enabled" | "disabled";
|
|
31
31
|
isMidpointSnappingEnabled: boolean;
|
|
32
|
-
startBoundElement: import("@
|
|
32
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
33
33
|
suggestedBinding: {
|
|
34
|
-
element: import("@
|
|
35
|
-
midPoint?: import("@
|
|
34
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
35
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
36
36
|
} | null;
|
|
37
|
-
frameToHighlight: import("@
|
|
37
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
38
38
|
frameRendering: {
|
|
39
39
|
enabled: boolean;
|
|
40
40
|
name: boolean;
|
|
@@ -42,8 +42,8 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
42
42
|
clip: boolean;
|
|
43
43
|
};
|
|
44
44
|
editingFrame: string | null;
|
|
45
|
-
elementsToHighlight: import("@
|
|
46
|
-
editingTextElement: import("@
|
|
45
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
46
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
47
47
|
activeTool: {
|
|
48
48
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
49
49
|
locked: boolean;
|
|
@@ -66,13 +66,13 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
66
66
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
67
67
|
currentItemRoughness: number;
|
|
68
68
|
currentItemOpacity: number;
|
|
69
|
-
currentItemFontFamily: import("@
|
|
69
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
70
70
|
currentItemFontSize: number;
|
|
71
|
-
currentItemTextAlign: import("@
|
|
72
|
-
currentItemStartArrowhead: import("@
|
|
73
|
-
currentItemEndArrowhead: import("@
|
|
74
|
-
currentHoveredFontFamily: import("@
|
|
75
|
-
currentItemRoundness: import("@
|
|
71
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
72
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
73
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
74
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
75
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
76
76
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
77
77
|
viewBackgroundColor: string;
|
|
78
78
|
scrollX: number;
|
|
@@ -107,7 +107,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
107
107
|
rawText: string;
|
|
108
108
|
};
|
|
109
109
|
defaultSidebarDockedPreference: boolean;
|
|
110
|
-
lastPointerDownWith: import("@
|
|
110
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
111
111
|
hoveredElementIds: Readonly<{
|
|
112
112
|
[id: string]: true;
|
|
113
113
|
}>;
|
|
@@ -122,7 +122,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
122
122
|
duration?: number;
|
|
123
123
|
} | null;
|
|
124
124
|
zenModeEnabled: boolean;
|
|
125
|
-
theme: import("@
|
|
125
|
+
theme: import("@hellixit/element/types").Theme;
|
|
126
126
|
gridSize: number;
|
|
127
127
|
gridStep: number;
|
|
128
128
|
gridModeEnabled: boolean;
|
|
@@ -130,7 +130,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
130
130
|
selectedGroupIds: {
|
|
131
131
|
[groupId: string]: boolean;
|
|
132
132
|
};
|
|
133
|
-
editingGroupId: import("@
|
|
133
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
134
134
|
width: number;
|
|
135
135
|
height: number;
|
|
136
136
|
offsetTop: number;
|
|
@@ -142,7 +142,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
142
142
|
panels: number;
|
|
143
143
|
};
|
|
144
144
|
showHyperlinkPopup: false | "info" | "editor";
|
|
145
|
-
selectedLinearElement: import("@
|
|
145
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
146
146
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
147
147
|
originSnapOffset: {
|
|
148
148
|
x: number;
|
|
@@ -161,11 +161,11 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
161
161
|
lockedMultiSelections: {
|
|
162
162
|
[groupId: string]: true;
|
|
163
163
|
};
|
|
164
|
-
bindMode: import("@
|
|
164
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
165
165
|
};
|
|
166
166
|
captureUpdate: "IMMEDIATELY";
|
|
167
167
|
} | {
|
|
168
|
-
elements: readonly import("@
|
|
168
|
+
elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[];
|
|
169
169
|
appState: Readonly<AppState>;
|
|
170
170
|
captureUpdate: "EVENTUALLY";
|
|
171
171
|
};
|
|
@@ -179,8 +179,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
179
179
|
trackEvent: {
|
|
180
180
|
category: "history";
|
|
181
181
|
};
|
|
182
|
-
perform: (elements: readonly import("@
|
|
183
|
-
elements: readonly import("@
|
|
182
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
183
|
+
elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[];
|
|
184
184
|
appState: {
|
|
185
185
|
selectedElementIds: {
|
|
186
186
|
[x: string]: true;
|
|
@@ -194,22 +194,22 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
194
194
|
isLoading: boolean;
|
|
195
195
|
errorMessage: React.ReactNode;
|
|
196
196
|
activeEmbeddable: {
|
|
197
|
-
element: import("@
|
|
197
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
198
198
|
state: "hover" | "active";
|
|
199
199
|
} | null;
|
|
200
|
-
newElement: import("@
|
|
201
|
-
resizingElement: import("@
|
|
202
|
-
multiElement: import("@
|
|
203
|
-
selectionElement: import("@
|
|
200
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
201
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
202
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
203
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
204
204
|
isBindingEnabled: boolean;
|
|
205
205
|
bindingPreference: "enabled" | "disabled";
|
|
206
206
|
isMidpointSnappingEnabled: boolean;
|
|
207
|
-
startBoundElement: import("@
|
|
207
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
208
208
|
suggestedBinding: {
|
|
209
|
-
element: import("@
|
|
210
|
-
midPoint?: import("@
|
|
209
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
210
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
211
211
|
} | null;
|
|
212
|
-
frameToHighlight: import("@
|
|
212
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
213
213
|
frameRendering: {
|
|
214
214
|
enabled: boolean;
|
|
215
215
|
name: boolean;
|
|
@@ -217,8 +217,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
217
217
|
clip: boolean;
|
|
218
218
|
};
|
|
219
219
|
editingFrame: string | null;
|
|
220
|
-
elementsToHighlight: import("@
|
|
221
|
-
editingTextElement: import("@
|
|
220
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
221
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
222
222
|
activeTool: {
|
|
223
223
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
224
224
|
locked: boolean;
|
|
@@ -241,13 +241,13 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
241
241
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
242
242
|
currentItemRoughness: number;
|
|
243
243
|
currentItemOpacity: number;
|
|
244
|
-
currentItemFontFamily: import("@
|
|
244
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
245
245
|
currentItemFontSize: number;
|
|
246
|
-
currentItemTextAlign: import("@
|
|
247
|
-
currentItemStartArrowhead: import("@
|
|
248
|
-
currentItemEndArrowhead: import("@
|
|
249
|
-
currentHoveredFontFamily: import("@
|
|
250
|
-
currentItemRoundness: import("@
|
|
246
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
247
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
248
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
249
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
250
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
251
251
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
252
252
|
viewBackgroundColor: string;
|
|
253
253
|
scrollX: number;
|
|
@@ -282,7 +282,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
282
282
|
rawText: string;
|
|
283
283
|
};
|
|
284
284
|
defaultSidebarDockedPreference: boolean;
|
|
285
|
-
lastPointerDownWith: import("@
|
|
285
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
286
286
|
hoveredElementIds: Readonly<{
|
|
287
287
|
[id: string]: true;
|
|
288
288
|
}>;
|
|
@@ -297,7 +297,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
297
297
|
duration?: number;
|
|
298
298
|
} | null;
|
|
299
299
|
zenModeEnabled: boolean;
|
|
300
|
-
theme: import("@
|
|
300
|
+
theme: import("@hellixit/element/types").Theme;
|
|
301
301
|
gridSize: number;
|
|
302
302
|
gridStep: number;
|
|
303
303
|
gridModeEnabled: boolean;
|
|
@@ -305,7 +305,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
305
305
|
selectedGroupIds: {
|
|
306
306
|
[groupId: string]: boolean;
|
|
307
307
|
};
|
|
308
|
-
editingGroupId: import("@
|
|
308
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
309
309
|
width: number;
|
|
310
310
|
height: number;
|
|
311
311
|
offsetTop: number;
|
|
@@ -317,7 +317,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
317
317
|
panels: number;
|
|
318
318
|
};
|
|
319
319
|
showHyperlinkPopup: false | "info" | "editor";
|
|
320
|
-
selectedLinearElement: import("@
|
|
320
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
321
321
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
322
322
|
originSnapOffset: {
|
|
323
323
|
x: number;
|
|
@@ -336,11 +336,11 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
336
336
|
lockedMultiSelections: {
|
|
337
337
|
[groupId: string]: true;
|
|
338
338
|
};
|
|
339
|
-
bindMode: import("@
|
|
339
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
340
340
|
};
|
|
341
341
|
captureUpdate: "IMMEDIATELY";
|
|
342
342
|
} | {
|
|
343
|
-
elements: readonly import("@
|
|
343
|
+
elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[];
|
|
344
344
|
appState: Readonly<AppState>;
|
|
345
345
|
captureUpdate: "EVENTUALLY";
|
|
346
346
|
};
|
|
@@ -355,8 +355,8 @@ export declare const actionupdateFrameRendering: {
|
|
|
355
355
|
trackEvent: {
|
|
356
356
|
category: "canvas";
|
|
357
357
|
};
|
|
358
|
-
perform: (elements: readonly import("@
|
|
359
|
-
elements: readonly import("@
|
|
358
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>) => {
|
|
359
|
+
elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[];
|
|
360
360
|
appState: {
|
|
361
361
|
frameRendering: {
|
|
362
362
|
enabled: boolean;
|
|
@@ -373,25 +373,25 @@ export declare const actionupdateFrameRendering: {
|
|
|
373
373
|
isLoading: boolean;
|
|
374
374
|
errorMessage: React.ReactNode;
|
|
375
375
|
activeEmbeddable: {
|
|
376
|
-
element: import("@
|
|
376
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
377
377
|
state: "hover" | "active";
|
|
378
378
|
} | null;
|
|
379
|
-
newElement: import("@
|
|
380
|
-
resizingElement: import("@
|
|
381
|
-
multiElement: import("@
|
|
382
|
-
selectionElement: import("@
|
|
379
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
380
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
381
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
382
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
383
383
|
isBindingEnabled: boolean;
|
|
384
384
|
bindingPreference: "enabled" | "disabled";
|
|
385
385
|
isMidpointSnappingEnabled: boolean;
|
|
386
|
-
startBoundElement: import("@
|
|
386
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
387
387
|
suggestedBinding: {
|
|
388
|
-
element: import("@
|
|
389
|
-
midPoint?: import("@
|
|
388
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
389
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
390
390
|
} | null;
|
|
391
|
-
frameToHighlight: import("@
|
|
391
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
392
392
|
editingFrame: string | null;
|
|
393
|
-
elementsToHighlight: import("@
|
|
394
|
-
editingTextElement: import("@
|
|
393
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
394
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
395
395
|
activeTool: {
|
|
396
396
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
397
397
|
locked: boolean;
|
|
@@ -414,13 +414,13 @@ export declare const actionupdateFrameRendering: {
|
|
|
414
414
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
415
415
|
currentItemRoughness: number;
|
|
416
416
|
currentItemOpacity: number;
|
|
417
|
-
currentItemFontFamily: import("@
|
|
417
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
418
418
|
currentItemFontSize: number;
|
|
419
|
-
currentItemTextAlign: import("@
|
|
420
|
-
currentItemStartArrowhead: import("@
|
|
421
|
-
currentItemEndArrowhead: import("@
|
|
422
|
-
currentHoveredFontFamily: import("@
|
|
423
|
-
currentItemRoundness: import("@
|
|
419
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
420
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
421
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
422
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
423
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
424
424
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
425
425
|
viewBackgroundColor: string;
|
|
426
426
|
scrollX: number;
|
|
@@ -455,7 +455,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
455
455
|
rawText: string;
|
|
456
456
|
};
|
|
457
457
|
defaultSidebarDockedPreference: boolean;
|
|
458
|
-
lastPointerDownWith: import("@
|
|
458
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
459
459
|
selectedElementIds: Readonly<{
|
|
460
460
|
[id: string]: true;
|
|
461
461
|
}>;
|
|
@@ -473,7 +473,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
473
473
|
duration?: number;
|
|
474
474
|
} | null;
|
|
475
475
|
zenModeEnabled: boolean;
|
|
476
|
-
theme: import("@
|
|
476
|
+
theme: import("@hellixit/element/types").Theme;
|
|
477
477
|
gridSize: number;
|
|
478
478
|
gridStep: number;
|
|
479
479
|
gridModeEnabled: boolean;
|
|
@@ -481,7 +481,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
481
481
|
selectedGroupIds: {
|
|
482
482
|
[groupId: string]: boolean;
|
|
483
483
|
};
|
|
484
|
-
editingGroupId: import("@
|
|
484
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
485
485
|
width: number;
|
|
486
486
|
height: number;
|
|
487
487
|
offsetTop: number;
|
|
@@ -493,7 +493,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
493
493
|
panels: number;
|
|
494
494
|
};
|
|
495
495
|
showHyperlinkPopup: false | "info" | "editor";
|
|
496
|
-
selectedLinearElement: import("@
|
|
496
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
497
497
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
498
498
|
originSnapOffset: {
|
|
499
499
|
x: number;
|
|
@@ -512,7 +512,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
512
512
|
lockedMultiSelections: {
|
|
513
513
|
[groupId: string]: true;
|
|
514
514
|
};
|
|
515
|
-
bindMode: import("@
|
|
515
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
516
516
|
};
|
|
517
517
|
captureUpdate: "EVENTUALLY";
|
|
518
518
|
};
|
|
@@ -528,8 +528,8 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
528
528
|
};
|
|
529
529
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
530
530
|
viewMode: false;
|
|
531
|
-
perform: (elements: readonly import("@
|
|
532
|
-
elements: readonly import("@
|
|
531
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
532
|
+
elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[];
|
|
533
533
|
appState: {
|
|
534
534
|
activeTool: {
|
|
535
535
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -545,22 +545,22 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
545
545
|
isLoading: boolean;
|
|
546
546
|
errorMessage: React.ReactNode;
|
|
547
547
|
activeEmbeddable: {
|
|
548
|
-
element: import("@
|
|
548
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
549
549
|
state: "hover" | "active";
|
|
550
550
|
} | null;
|
|
551
|
-
newElement: import("@
|
|
552
|
-
resizingElement: import("@
|
|
553
|
-
multiElement: import("@
|
|
554
|
-
selectionElement: import("@
|
|
551
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
552
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
553
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
554
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
555
555
|
isBindingEnabled: boolean;
|
|
556
556
|
bindingPreference: "enabled" | "disabled";
|
|
557
557
|
isMidpointSnappingEnabled: boolean;
|
|
558
|
-
startBoundElement: import("@
|
|
558
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
559
559
|
suggestedBinding: {
|
|
560
|
-
element: import("@
|
|
561
|
-
midPoint?: import("@
|
|
560
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
561
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
562
562
|
} | null;
|
|
563
|
-
frameToHighlight: import("@
|
|
563
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
564
564
|
frameRendering: {
|
|
565
565
|
enabled: boolean;
|
|
566
566
|
name: boolean;
|
|
@@ -568,8 +568,8 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
568
568
|
clip: boolean;
|
|
569
569
|
};
|
|
570
570
|
editingFrame: string | null;
|
|
571
|
-
elementsToHighlight: import("@
|
|
572
|
-
editingTextElement: import("@
|
|
571
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
|
|
572
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
573
573
|
preferredSelectionTool: {
|
|
574
574
|
type: "selection" | "lasso";
|
|
575
575
|
initialized: boolean;
|
|
@@ -587,13 +587,13 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
587
587
|
currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
|
|
588
588
|
currentItemRoughness: number;
|
|
589
589
|
currentItemOpacity: number;
|
|
590
|
-
currentItemFontFamily: import("@
|
|
590
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
591
591
|
currentItemFontSize: number;
|
|
592
|
-
currentItemTextAlign: import("@
|
|
593
|
-
currentItemStartArrowhead: import("@
|
|
594
|
-
currentItemEndArrowhead: import("@
|
|
595
|
-
currentHoveredFontFamily: import("@
|
|
596
|
-
currentItemRoundness: import("@
|
|
592
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
593
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
594
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
595
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
596
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
597
597
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
598
598
|
viewBackgroundColor: string;
|
|
599
599
|
scrollX: number;
|
|
@@ -628,7 +628,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
628
628
|
rawText: string;
|
|
629
629
|
};
|
|
630
630
|
defaultSidebarDockedPreference: boolean;
|
|
631
|
-
lastPointerDownWith: import("@
|
|
631
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
632
632
|
selectedElementIds: Readonly<{
|
|
633
633
|
[id: string]: true;
|
|
634
634
|
}>;
|
|
@@ -646,7 +646,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
646
646
|
duration?: number;
|
|
647
647
|
} | null;
|
|
648
648
|
zenModeEnabled: boolean;
|
|
649
|
-
theme: import("@
|
|
649
|
+
theme: import("@hellixit/element/types").Theme;
|
|
650
650
|
gridSize: number;
|
|
651
651
|
gridStep: number;
|
|
652
652
|
gridModeEnabled: boolean;
|
|
@@ -654,7 +654,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
654
654
|
selectedGroupIds: {
|
|
655
655
|
[groupId: string]: boolean;
|
|
656
656
|
};
|
|
657
|
-
editingGroupId: import("@
|
|
657
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
658
658
|
width: number;
|
|
659
659
|
height: number;
|
|
660
660
|
offsetTop: number;
|
|
@@ -666,7 +666,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
666
666
|
panels: number;
|
|
667
667
|
};
|
|
668
668
|
showHyperlinkPopup: false | "info" | "editor";
|
|
669
|
-
selectedLinearElement: import("@
|
|
669
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
670
670
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
671
671
|
originSnapOffset: {
|
|
672
672
|
x: number;
|
|
@@ -685,7 +685,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
685
685
|
lockedMultiSelections: {
|
|
686
686
|
[groupId: string]: true;
|
|
687
687
|
};
|
|
688
|
-
bindMode: import("@
|
|
688
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
689
689
|
};
|
|
690
690
|
captureUpdate: "EVENTUALLY";
|
|
691
691
|
};
|
|
@@ -700,33 +700,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
700
700
|
category: "element";
|
|
701
701
|
};
|
|
702
702
|
predicate: (elements: readonly HellixitboardElement[], appState: AppState, _: import("../types").HellixitboardProps, app: AppClassProperties) => boolean;
|
|
703
|
-
perform: (elements: readonly import("@
|
|
703
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
704
704
|
elements: ((Readonly<{
|
|
705
705
|
id: string;
|
|
706
706
|
x: number;
|
|
707
707
|
y: number;
|
|
708
708
|
strokeColor: string;
|
|
709
709
|
backgroundColor: string;
|
|
710
|
-
fillStyle: import("@
|
|
710
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
711
711
|
strokeWidth: number;
|
|
712
|
-
strokeStyle: import("@
|
|
712
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
713
713
|
roundness: null | {
|
|
714
|
-
type: import("@
|
|
714
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
715
715
|
value?: number;
|
|
716
716
|
};
|
|
717
717
|
roughness: number;
|
|
718
718
|
opacity: number;
|
|
719
719
|
width: number;
|
|
720
720
|
height: number;
|
|
721
|
-
angle: import("@
|
|
721
|
+
angle: import("@hellixit/math").Radians;
|
|
722
722
|
seed: number;
|
|
723
723
|
version: number;
|
|
724
724
|
versionNonce: number;
|
|
725
|
-
index: import("@
|
|
725
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
726
726
|
isDeleted: boolean;
|
|
727
|
-
groupIds: readonly import("@
|
|
727
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
728
728
|
frameId: string | null;
|
|
729
|
-
boundElements: readonly import("@
|
|
729
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
730
730
|
updated: number;
|
|
731
731
|
link: string | null;
|
|
732
732
|
locked: boolean;
|
|
@@ -736,39 +736,39 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
736
736
|
animationSpeed?: number;
|
|
737
737
|
}> & Readonly<{
|
|
738
738
|
type: "line" | "arrow";
|
|
739
|
-
points: readonly import("@
|
|
740
|
-
startBinding: import("@
|
|
741
|
-
endBinding: import("@
|
|
742
|
-
startArrowhead: import("@
|
|
743
|
-
endArrowhead: import("@
|
|
739
|
+
points: readonly import("@hellixit/math").LocalPoint[];
|
|
740
|
+
startBinding: import("@hellixit/element/types").FixedPointBinding | null;
|
|
741
|
+
endBinding: import("@hellixit/element/types").FixedPointBinding | null;
|
|
742
|
+
startArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
743
|
+
endArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
744
744
|
}> & {
|
|
745
|
-
index: import("@
|
|
745
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
746
746
|
}) | (Readonly<{
|
|
747
747
|
id: string;
|
|
748
748
|
x: number;
|
|
749
749
|
y: number;
|
|
750
750
|
strokeColor: string;
|
|
751
751
|
backgroundColor: string;
|
|
752
|
-
fillStyle: import("@
|
|
752
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
753
753
|
strokeWidth: number;
|
|
754
|
-
strokeStyle: import("@
|
|
754
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
755
755
|
roundness: null | {
|
|
756
|
-
type: import("@
|
|
756
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
757
757
|
value?: number;
|
|
758
758
|
};
|
|
759
759
|
roughness: number;
|
|
760
760
|
opacity: number;
|
|
761
761
|
width: number;
|
|
762
762
|
height: number;
|
|
763
|
-
angle: import("@
|
|
763
|
+
angle: import("@hellixit/math").Radians;
|
|
764
764
|
seed: number;
|
|
765
765
|
version: number;
|
|
766
766
|
versionNonce: number;
|
|
767
|
-
index: import("@
|
|
767
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
768
768
|
isDeleted: boolean;
|
|
769
|
-
groupIds: readonly import("@
|
|
769
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
770
770
|
frameId: string | null;
|
|
771
|
-
boundElements: readonly import("@
|
|
771
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
772
772
|
updated: number;
|
|
773
773
|
link: string | null;
|
|
774
774
|
locked: boolean;
|
|
@@ -779,33 +779,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
779
779
|
}> & {
|
|
780
780
|
type: "selection";
|
|
781
781
|
} & {
|
|
782
|
-
index: import("@
|
|
782
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
783
783
|
}) | (Readonly<{
|
|
784
784
|
id: string;
|
|
785
785
|
x: number;
|
|
786
786
|
y: number;
|
|
787
787
|
strokeColor: string;
|
|
788
788
|
backgroundColor: string;
|
|
789
|
-
fillStyle: import("@
|
|
789
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
790
790
|
strokeWidth: number;
|
|
791
|
-
strokeStyle: import("@
|
|
791
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
792
792
|
roundness: null | {
|
|
793
|
-
type: import("@
|
|
793
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
794
794
|
value?: number;
|
|
795
795
|
};
|
|
796
796
|
roughness: number;
|
|
797
797
|
opacity: number;
|
|
798
798
|
width: number;
|
|
799
799
|
height: number;
|
|
800
|
-
angle: import("@
|
|
800
|
+
angle: import("@hellixit/math").Radians;
|
|
801
801
|
seed: number;
|
|
802
802
|
version: number;
|
|
803
803
|
versionNonce: number;
|
|
804
|
-
index: import("@
|
|
804
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
805
805
|
isDeleted: boolean;
|
|
806
|
-
groupIds: readonly import("@
|
|
806
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
807
807
|
frameId: string | null;
|
|
808
|
-
boundElements: readonly import("@
|
|
808
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
809
809
|
updated: number;
|
|
810
810
|
link: string | null;
|
|
811
811
|
locked: boolean;
|
|
@@ -816,33 +816,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
816
816
|
}> & {
|
|
817
817
|
type: "rectangle";
|
|
818
818
|
} & {
|
|
819
|
-
index: import("@
|
|
819
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
820
820
|
}) | (Readonly<{
|
|
821
821
|
id: string;
|
|
822
822
|
x: number;
|
|
823
823
|
y: number;
|
|
824
824
|
strokeColor: string;
|
|
825
825
|
backgroundColor: string;
|
|
826
|
-
fillStyle: import("@
|
|
826
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
827
827
|
strokeWidth: number;
|
|
828
|
-
strokeStyle: import("@
|
|
828
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
829
829
|
roundness: null | {
|
|
830
|
-
type: import("@
|
|
830
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
831
831
|
value?: number;
|
|
832
832
|
};
|
|
833
833
|
roughness: number;
|
|
834
834
|
opacity: number;
|
|
835
835
|
width: number;
|
|
836
836
|
height: number;
|
|
837
|
-
angle: import("@
|
|
837
|
+
angle: import("@hellixit/math").Radians;
|
|
838
838
|
seed: number;
|
|
839
839
|
version: number;
|
|
840
840
|
versionNonce: number;
|
|
841
|
-
index: import("@
|
|
841
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
842
842
|
isDeleted: boolean;
|
|
843
|
-
groupIds: readonly import("@
|
|
843
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
844
844
|
frameId: string | null;
|
|
845
|
-
boundElements: readonly import("@
|
|
845
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
846
846
|
updated: number;
|
|
847
847
|
link: string | null;
|
|
848
848
|
locked: boolean;
|
|
@@ -853,33 +853,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
853
853
|
}> & {
|
|
854
854
|
type: "diamond";
|
|
855
855
|
} & {
|
|
856
|
-
index: import("@
|
|
856
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
857
857
|
}) | (Readonly<{
|
|
858
858
|
id: string;
|
|
859
859
|
x: number;
|
|
860
860
|
y: number;
|
|
861
861
|
strokeColor: string;
|
|
862
862
|
backgroundColor: string;
|
|
863
|
-
fillStyle: import("@
|
|
863
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
864
864
|
strokeWidth: number;
|
|
865
|
-
strokeStyle: import("@
|
|
865
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
866
866
|
roundness: null | {
|
|
867
|
-
type: import("@
|
|
867
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
868
868
|
value?: number;
|
|
869
869
|
};
|
|
870
870
|
roughness: number;
|
|
871
871
|
opacity: number;
|
|
872
872
|
width: number;
|
|
873
873
|
height: number;
|
|
874
|
-
angle: import("@
|
|
874
|
+
angle: import("@hellixit/math").Radians;
|
|
875
875
|
seed: number;
|
|
876
876
|
version: number;
|
|
877
877
|
versionNonce: number;
|
|
878
|
-
index: import("@
|
|
878
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
879
879
|
isDeleted: boolean;
|
|
880
|
-
groupIds: readonly import("@
|
|
880
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
881
881
|
frameId: string | null;
|
|
882
|
-
boundElements: readonly import("@
|
|
882
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
883
883
|
updated: number;
|
|
884
884
|
link: string | null;
|
|
885
885
|
locked: boolean;
|
|
@@ -890,33 +890,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
890
890
|
}> & {
|
|
891
891
|
type: "ellipse";
|
|
892
892
|
} & {
|
|
893
|
-
index: import("@
|
|
893
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
894
894
|
}) | (Readonly<{
|
|
895
895
|
id: string;
|
|
896
896
|
x: number;
|
|
897
897
|
y: number;
|
|
898
898
|
strokeColor: string;
|
|
899
899
|
backgroundColor: string;
|
|
900
|
-
fillStyle: import("@
|
|
900
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
901
901
|
strokeWidth: number;
|
|
902
|
-
strokeStyle: import("@
|
|
902
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
903
903
|
roundness: null | {
|
|
904
|
-
type: import("@
|
|
904
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
905
905
|
value?: number;
|
|
906
906
|
};
|
|
907
907
|
roughness: number;
|
|
908
908
|
opacity: number;
|
|
909
909
|
width: number;
|
|
910
910
|
height: number;
|
|
911
|
-
angle: import("@
|
|
911
|
+
angle: import("@hellixit/math").Radians;
|
|
912
912
|
seed: number;
|
|
913
913
|
version: number;
|
|
914
914
|
versionNonce: number;
|
|
915
|
-
index: import("@
|
|
915
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
916
916
|
isDeleted: boolean;
|
|
917
|
-
groupIds: readonly import("@
|
|
917
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
918
918
|
frameId: string | null;
|
|
919
|
-
boundElements: readonly import("@
|
|
919
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
920
920
|
updated: number;
|
|
921
921
|
link: string | null;
|
|
922
922
|
locked: boolean;
|
|
@@ -927,33 +927,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
927
927
|
}> & Readonly<{
|
|
928
928
|
type: "embeddable";
|
|
929
929
|
}> & {
|
|
930
|
-
index: import("@
|
|
930
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
931
931
|
}) | (Readonly<{
|
|
932
932
|
id: string;
|
|
933
933
|
x: number;
|
|
934
934
|
y: number;
|
|
935
935
|
strokeColor: string;
|
|
936
936
|
backgroundColor: string;
|
|
937
|
-
fillStyle: import("@
|
|
937
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
938
938
|
strokeWidth: number;
|
|
939
|
-
strokeStyle: import("@
|
|
939
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
940
940
|
roundness: null | {
|
|
941
|
-
type: import("@
|
|
941
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
942
942
|
value?: number;
|
|
943
943
|
};
|
|
944
944
|
roughness: number;
|
|
945
945
|
opacity: number;
|
|
946
946
|
width: number;
|
|
947
947
|
height: number;
|
|
948
|
-
angle: import("@
|
|
948
|
+
angle: import("@hellixit/math").Radians;
|
|
949
949
|
seed: number;
|
|
950
950
|
version: number;
|
|
951
951
|
versionNonce: number;
|
|
952
|
-
index: import("@
|
|
952
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
953
953
|
isDeleted: boolean;
|
|
954
|
-
groupIds: readonly import("@
|
|
954
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
955
955
|
frameId: string | null;
|
|
956
|
-
boundElements: readonly import("@
|
|
956
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
957
957
|
updated: number;
|
|
958
958
|
link: string | null;
|
|
959
959
|
locked: boolean;
|
|
@@ -964,36 +964,36 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
964
964
|
}> & Readonly<{
|
|
965
965
|
type: "iframe";
|
|
966
966
|
customData?: {
|
|
967
|
-
generationData?: import("@
|
|
967
|
+
generationData?: import("@hellixit/element/types").MagicGenerationData;
|
|
968
968
|
};
|
|
969
969
|
}> & {
|
|
970
|
-
index: import("@
|
|
970
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
971
971
|
}) | (Readonly<{
|
|
972
972
|
id: string;
|
|
973
973
|
x: number;
|
|
974
974
|
y: number;
|
|
975
975
|
strokeColor: string;
|
|
976
976
|
backgroundColor: string;
|
|
977
|
-
fillStyle: import("@
|
|
977
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
978
978
|
strokeWidth: number;
|
|
979
|
-
strokeStyle: import("@
|
|
979
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
980
980
|
roundness: null | {
|
|
981
|
-
type: import("@
|
|
981
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
982
982
|
value?: number;
|
|
983
983
|
};
|
|
984
984
|
roughness: number;
|
|
985
985
|
opacity: number;
|
|
986
986
|
width: number;
|
|
987
987
|
height: number;
|
|
988
|
-
angle: import("@
|
|
988
|
+
angle: import("@hellixit/math").Radians;
|
|
989
989
|
seed: number;
|
|
990
990
|
version: number;
|
|
991
991
|
versionNonce: number;
|
|
992
|
-
index: import("@
|
|
992
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
993
993
|
isDeleted: boolean;
|
|
994
|
-
groupIds: readonly import("@
|
|
994
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
995
995
|
frameId: string | null;
|
|
996
|
-
boundElements: readonly import("@
|
|
996
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
997
997
|
updated: number;
|
|
998
998
|
link: string | null;
|
|
999
999
|
locked: boolean;
|
|
@@ -1003,38 +1003,38 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1003
1003
|
animationSpeed?: number;
|
|
1004
1004
|
}> & Readonly<{
|
|
1005
1005
|
type: "image";
|
|
1006
|
-
fileId: import("@
|
|
1006
|
+
fileId: import("@hellixit/element/types").FileId | null;
|
|
1007
1007
|
status: "pending" | "saved" | "error";
|
|
1008
1008
|
scale: [number, number];
|
|
1009
|
-
crop: import("@
|
|
1009
|
+
crop: import("@hellixit/element/types").ImageCrop | null;
|
|
1010
1010
|
}> & {
|
|
1011
|
-
index: import("@
|
|
1011
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
1012
1012
|
}) | (Readonly<{
|
|
1013
1013
|
id: string;
|
|
1014
1014
|
x: number;
|
|
1015
1015
|
y: number;
|
|
1016
1016
|
strokeColor: string;
|
|
1017
1017
|
backgroundColor: string;
|
|
1018
|
-
fillStyle: import("@
|
|
1018
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
1019
1019
|
strokeWidth: number;
|
|
1020
|
-
strokeStyle: import("@
|
|
1020
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
1021
1021
|
roundness: null | {
|
|
1022
|
-
type: import("@
|
|
1022
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
1023
1023
|
value?: number;
|
|
1024
1024
|
};
|
|
1025
1025
|
roughness: number;
|
|
1026
1026
|
opacity: number;
|
|
1027
1027
|
width: number;
|
|
1028
1028
|
height: number;
|
|
1029
|
-
angle: import("@
|
|
1029
|
+
angle: import("@hellixit/math").Radians;
|
|
1030
1030
|
seed: number;
|
|
1031
1031
|
version: number;
|
|
1032
1032
|
versionNonce: number;
|
|
1033
|
-
index: import("@
|
|
1033
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
1034
1034
|
isDeleted: boolean;
|
|
1035
|
-
groupIds: readonly import("@
|
|
1035
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
1036
1036
|
frameId: string | null;
|
|
1037
|
-
boundElements: readonly import("@
|
|
1037
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
1038
1038
|
updated: number;
|
|
1039
1039
|
link: string | null;
|
|
1040
1040
|
locked: boolean;
|
|
@@ -1046,33 +1046,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1046
1046
|
type: "frame";
|
|
1047
1047
|
name: string | null;
|
|
1048
1048
|
} & {
|
|
1049
|
-
index: import("@
|
|
1049
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
1050
1050
|
}) | (Readonly<{
|
|
1051
1051
|
id: string;
|
|
1052
1052
|
x: number;
|
|
1053
1053
|
y: number;
|
|
1054
1054
|
strokeColor: string;
|
|
1055
1055
|
backgroundColor: string;
|
|
1056
|
-
fillStyle: import("@
|
|
1056
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
1057
1057
|
strokeWidth: number;
|
|
1058
|
-
strokeStyle: import("@
|
|
1058
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
1059
1059
|
roundness: null | {
|
|
1060
|
-
type: import("@
|
|
1060
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
1061
1061
|
value?: number;
|
|
1062
1062
|
};
|
|
1063
1063
|
roughness: number;
|
|
1064
1064
|
opacity: number;
|
|
1065
1065
|
width: number;
|
|
1066
1066
|
height: number;
|
|
1067
|
-
angle: import("@
|
|
1067
|
+
angle: import("@hellixit/math").Radians;
|
|
1068
1068
|
seed: number;
|
|
1069
1069
|
version: number;
|
|
1070
1070
|
versionNonce: number;
|
|
1071
|
-
index: import("@
|
|
1071
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
1072
1072
|
isDeleted: boolean;
|
|
1073
|
-
groupIds: readonly import("@
|
|
1073
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
1074
1074
|
frameId: string | null;
|
|
1075
|
-
boundElements: readonly import("@
|
|
1075
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
1076
1076
|
updated: number;
|
|
1077
1077
|
link: string | null;
|
|
1078
1078
|
locked: boolean;
|
|
@@ -1084,33 +1084,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1084
1084
|
type: "magicframe";
|
|
1085
1085
|
name: string | null;
|
|
1086
1086
|
} & {
|
|
1087
|
-
index: import("@
|
|
1087
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
1088
1088
|
}) | (Readonly<{
|
|
1089
1089
|
id: string;
|
|
1090
1090
|
x: number;
|
|
1091
1091
|
y: number;
|
|
1092
1092
|
strokeColor: string;
|
|
1093
1093
|
backgroundColor: string;
|
|
1094
|
-
fillStyle: import("@
|
|
1094
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
1095
1095
|
strokeWidth: number;
|
|
1096
|
-
strokeStyle: import("@
|
|
1096
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
1097
1097
|
roundness: null | {
|
|
1098
|
-
type: import("@
|
|
1098
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
1099
1099
|
value?: number;
|
|
1100
1100
|
};
|
|
1101
1101
|
roughness: number;
|
|
1102
1102
|
opacity: number;
|
|
1103
1103
|
width: number;
|
|
1104
1104
|
height: number;
|
|
1105
|
-
angle: import("@
|
|
1105
|
+
angle: import("@hellixit/math").Radians;
|
|
1106
1106
|
seed: number;
|
|
1107
1107
|
version: number;
|
|
1108
1108
|
versionNonce: number;
|
|
1109
|
-
index: import("@
|
|
1109
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
1110
1110
|
isDeleted: boolean;
|
|
1111
|
-
groupIds: readonly import("@
|
|
1111
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
1112
1112
|
frameId: string | null;
|
|
1113
|
-
boundElements: readonly import("@
|
|
1113
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
1114
1114
|
updated: number;
|
|
1115
1115
|
link: string | null;
|
|
1116
1116
|
locked: boolean;
|
|
@@ -1121,44 +1121,44 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1121
1121
|
}> & Readonly<{
|
|
1122
1122
|
type: "text";
|
|
1123
1123
|
fontSize: number;
|
|
1124
|
-
fontFamily: import("@
|
|
1124
|
+
fontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
1125
1125
|
text: string;
|
|
1126
|
-
textAlign: import("@
|
|
1127
|
-
verticalAlign: import("@
|
|
1128
|
-
containerId: import("@
|
|
1126
|
+
textAlign: import("@hellixit/element/types").TextAlign;
|
|
1127
|
+
verticalAlign: import("@hellixit/element/types").VerticalAlign;
|
|
1128
|
+
containerId: import("@hellixit/element/types").HellixitboardGenericElement["id"] | null;
|
|
1129
1129
|
originalText: string;
|
|
1130
1130
|
autoResize: boolean;
|
|
1131
1131
|
lineHeight: number & {
|
|
1132
1132
|
_brand: "unitlessLineHeight";
|
|
1133
1133
|
};
|
|
1134
1134
|
}> & {
|
|
1135
|
-
index: import("@
|
|
1135
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
1136
1136
|
}) | (Readonly<{
|
|
1137
1137
|
id: string;
|
|
1138
1138
|
x: number;
|
|
1139
1139
|
y: number;
|
|
1140
1140
|
strokeColor: string;
|
|
1141
1141
|
backgroundColor: string;
|
|
1142
|
-
fillStyle: import("@
|
|
1142
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
1143
1143
|
strokeWidth: number;
|
|
1144
|
-
strokeStyle: import("@
|
|
1144
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
1145
1145
|
roundness: null | {
|
|
1146
|
-
type: import("@
|
|
1146
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
1147
1147
|
value?: number;
|
|
1148
1148
|
};
|
|
1149
1149
|
roughness: number;
|
|
1150
1150
|
opacity: number;
|
|
1151
1151
|
width: number;
|
|
1152
1152
|
height: number;
|
|
1153
|
-
angle: import("@
|
|
1153
|
+
angle: import("@hellixit/math").Radians;
|
|
1154
1154
|
seed: number;
|
|
1155
1155
|
version: number;
|
|
1156
1156
|
versionNonce: number;
|
|
1157
|
-
index: import("@
|
|
1157
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
1158
1158
|
isDeleted: boolean;
|
|
1159
|
-
groupIds: readonly import("@
|
|
1159
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
1160
1160
|
frameId: string | null;
|
|
1161
|
-
boundElements: readonly import("@
|
|
1161
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
1162
1162
|
updated: number;
|
|
1163
1163
|
link: string | null;
|
|
1164
1164
|
locked: boolean;
|
|
@@ -1168,12 +1168,12 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1168
1168
|
animationSpeed?: number;
|
|
1169
1169
|
}> & Readonly<{
|
|
1170
1170
|
type: "freedraw";
|
|
1171
|
-
points: readonly import("@
|
|
1171
|
+
points: readonly import("@hellixit/math").LocalPoint[];
|
|
1172
1172
|
pressures: readonly number[];
|
|
1173
1173
|
simulatePressure: boolean;
|
|
1174
1174
|
}> & {
|
|
1175
|
-
index: import("@
|
|
1176
|
-
}) | import("@
|
|
1175
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
1176
|
+
}) | import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameElement>)[];
|
|
1177
1177
|
appState: {
|
|
1178
1178
|
selectedElementIds: {
|
|
1179
1179
|
[x: string]: true;
|