@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,42 +1,42 @@
|
|
|
1
|
-
import type { HellixitboardLinearElement } from "@
|
|
1
|
+
import type { HellixitboardLinearElement } from "@hellixit/element/types";
|
|
2
2
|
export declare const actionToggleLinearEditor: {
|
|
3
3
|
name: "toggleLinearEditor";
|
|
4
4
|
category: string;
|
|
5
|
-
label: (elements: readonly import("@
|
|
5
|
+
label: (elements: readonly import("@hellixit/element/types").HellixitboardElement[], appState: Readonly<import("../types").AppState>, app: import("../types").AppClassProperties) => "labels.lineEditor.editArrow" | "labels.lineEditor.edit";
|
|
6
6
|
keywords: string[];
|
|
7
7
|
trackEvent: {
|
|
8
8
|
category: "element";
|
|
9
9
|
};
|
|
10
|
-
predicate: (elements: readonly import("@
|
|
11
|
-
perform(elements: readonly import("@
|
|
10
|
+
predicate: (elements: readonly import("@hellixit/element/types").HellixitboardElement[], appState: import("../types").AppState, _: import("../types").HellixitboardProps, app: import("../types").AppClassProperties) => boolean;
|
|
11
|
+
perform(elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties): {
|
|
12
12
|
appState: {
|
|
13
13
|
selectedLinearElement: {
|
|
14
14
|
isEditing: boolean;
|
|
15
|
-
elementId: import("@
|
|
15
|
+
elementId: import("@hellixit/element/types").HellixitboardElement["id"] & {
|
|
16
16
|
_brand: "hellixitboardLinearElementId";
|
|
17
17
|
};
|
|
18
18
|
selectedPointsIndices: readonly number[] | null;
|
|
19
19
|
initialState: Readonly<{
|
|
20
20
|
prevSelectedPointsIndices: readonly number[] | null;
|
|
21
21
|
lastClickedPoint: number;
|
|
22
|
-
origin: Readonly<import("@
|
|
22
|
+
origin: Readonly<import("@hellixit/math").GlobalPoint> | null;
|
|
23
23
|
segmentMidpoint: {
|
|
24
|
-
value: import("@
|
|
24
|
+
value: import("@hellixit/math").GlobalPoint | null;
|
|
25
25
|
index: number | null;
|
|
26
26
|
added: boolean;
|
|
27
27
|
};
|
|
28
28
|
arrowStartIsInside: boolean;
|
|
29
|
-
altFocusPoint: Readonly<import("@
|
|
29
|
+
altFocusPoint: Readonly<import("@hellixit/math").GlobalPoint> | null;
|
|
30
30
|
}>;
|
|
31
31
|
isDragging: boolean;
|
|
32
|
-
lastUncommittedPoint: import("@
|
|
33
|
-
lastCommittedPoint: import("@
|
|
32
|
+
lastUncommittedPoint: import("@hellixit/math").LocalPoint | null;
|
|
33
|
+
lastCommittedPoint: import("@hellixit/math").LocalPoint | null;
|
|
34
34
|
pointerOffset: Readonly<{
|
|
35
35
|
x: number;
|
|
36
36
|
y: number;
|
|
37
37
|
}>;
|
|
38
38
|
hoverPointIndex: number;
|
|
39
|
-
segmentMidPointHoveredCoords: import("@
|
|
39
|
+
segmentMidPointHoveredCoords: import("@hellixit/math").GlobalPoint | null;
|
|
40
40
|
hoveredFocusPointBinding: "start" | "end" | null;
|
|
41
41
|
draggedFocusPointBinding: "start" | "end" | null;
|
|
42
42
|
elbowed: boolean;
|
|
@@ -52,22 +52,22 @@ export declare const actionToggleLinearEditor: {
|
|
|
52
52
|
isLoading: boolean;
|
|
53
53
|
errorMessage: React.ReactNode;
|
|
54
54
|
activeEmbeddable: {
|
|
55
|
-
element: import("@
|
|
55
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
56
56
|
state: "hover" | "active";
|
|
57
57
|
} | null;
|
|
58
|
-
newElement: import("@
|
|
59
|
-
resizingElement: import("@
|
|
60
|
-
multiElement: import("@
|
|
61
|
-
selectionElement: import("@
|
|
58
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
59
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
60
|
+
multiElement: import("@hellixit/element/types").NonDeleted<HellixitboardLinearElement> | null;
|
|
61
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
62
62
|
isBindingEnabled: boolean;
|
|
63
63
|
bindingPreference: "enabled" | "disabled";
|
|
64
64
|
isMidpointSnappingEnabled: boolean;
|
|
65
|
-
startBoundElement: import("@
|
|
65
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
66
66
|
suggestedBinding: {
|
|
67
|
-
element: import("@
|
|
68
|
-
midPoint?: import("@
|
|
67
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
68
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
69
69
|
} | null;
|
|
70
|
-
frameToHighlight: import("@
|
|
70
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
71
71
|
frameRendering: {
|
|
72
72
|
enabled: boolean;
|
|
73
73
|
name: boolean;
|
|
@@ -75,8 +75,8 @@ export declare const actionToggleLinearEditor: {
|
|
|
75
75
|
clip: boolean;
|
|
76
76
|
};
|
|
77
77
|
editingFrame: string | null;
|
|
78
|
-
elementsToHighlight: import("@
|
|
79
|
-
editingTextElement: import("@
|
|
78
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardElement>[] | null;
|
|
79
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
80
80
|
activeTool: {
|
|
81
81
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
82
82
|
locked: boolean;
|
|
@@ -94,18 +94,18 @@ export declare const actionToggleLinearEditor: {
|
|
|
94
94
|
exportScale: number;
|
|
95
95
|
currentItemStrokeColor: string;
|
|
96
96
|
currentItemBackgroundColor: string;
|
|
97
|
-
currentItemFillStyle: import("@
|
|
97
|
+
currentItemFillStyle: import("@hellixit/element/types").HellixitboardElement["fillStyle"];
|
|
98
98
|
currentItemStrokeWidth: number;
|
|
99
|
-
currentItemStrokeStyle: import("@
|
|
99
|
+
currentItemStrokeStyle: import("@hellixit/element/types").HellixitboardElement["strokeStyle"];
|
|
100
100
|
currentItemRoughness: number;
|
|
101
101
|
currentItemOpacity: number;
|
|
102
|
-
currentItemFontFamily: import("@
|
|
102
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
103
103
|
currentItemFontSize: number;
|
|
104
|
-
currentItemTextAlign: import("@
|
|
105
|
-
currentItemStartArrowhead: import("@
|
|
106
|
-
currentItemEndArrowhead: import("@
|
|
107
|
-
currentHoveredFontFamily: import("@
|
|
108
|
-
currentItemRoundness: import("@
|
|
104
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
105
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
106
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
107
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
108
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
109
109
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
110
110
|
viewBackgroundColor: string;
|
|
111
111
|
scrollX: number;
|
|
@@ -133,14 +133,14 @@ export declare const actionToggleLinearEditor: {
|
|
|
133
133
|
name: "settings";
|
|
134
134
|
} | {
|
|
135
135
|
name: "elementLinkSelector";
|
|
136
|
-
sourceElementId: import("@
|
|
136
|
+
sourceElementId: import("@hellixit/element/types").HellixitboardElement["id"];
|
|
137
137
|
} | {
|
|
138
138
|
name: "charts";
|
|
139
139
|
data: import("../charts").Spreadsheet;
|
|
140
140
|
rawText: string;
|
|
141
141
|
};
|
|
142
142
|
defaultSidebarDockedPreference: boolean;
|
|
143
|
-
lastPointerDownWith: import("@
|
|
143
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
144
144
|
selectedElementIds: Readonly<{
|
|
145
145
|
[id: string]: true;
|
|
146
146
|
}>;
|
|
@@ -158,7 +158,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
158
158
|
duration?: number;
|
|
159
159
|
} | null;
|
|
160
160
|
zenModeEnabled: boolean;
|
|
161
|
-
theme: import("@
|
|
161
|
+
theme: import("@hellixit/element/types").Theme;
|
|
162
162
|
gridSize: number;
|
|
163
163
|
gridStep: number;
|
|
164
164
|
gridModeEnabled: boolean;
|
|
@@ -166,7 +166,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
166
166
|
selectedGroupIds: {
|
|
167
167
|
[groupId: string]: boolean;
|
|
168
168
|
};
|
|
169
|
-
editingGroupId: import("@
|
|
169
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
170
170
|
width: number;
|
|
171
171
|
height: number;
|
|
172
172
|
offsetTop: number;
|
|
@@ -187,16 +187,16 @@ export declare const actionToggleLinearEditor: {
|
|
|
187
187
|
userToFollow: import("../types").UserToFollow | null;
|
|
188
188
|
followedBy: Set<import("../types").SocketId>;
|
|
189
189
|
isCropping: boolean;
|
|
190
|
-
croppingElementId: import("@
|
|
190
|
+
croppingElementId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
191
191
|
searchMatches: Readonly<{
|
|
192
|
-
focusedId: import("@
|
|
192
|
+
focusedId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
193
193
|
matches: readonly import("../types").SearchMatch[];
|
|
194
194
|
}> | null;
|
|
195
195
|
activeLockedId: string | null;
|
|
196
196
|
lockedMultiSelections: {
|
|
197
197
|
[groupId: string]: true;
|
|
198
198
|
};
|
|
199
|
-
bindMode: import("@
|
|
199
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
200
200
|
};
|
|
201
201
|
captureUpdate: "IMMEDIATELY";
|
|
202
202
|
};
|
|
@@ -209,38 +209,38 @@ export declare const actionTogglePolygon: {
|
|
|
209
209
|
category: string;
|
|
210
210
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
211
211
|
keywords: string[];
|
|
212
|
-
label: (elements: readonly import("@
|
|
212
|
+
label: (elements: readonly import("@hellixit/element/types").HellixitboardElement[], appState: Readonly<import("../types").AppState>, app: import("../types").AppClassProperties) => "labels.polygon.breakPolygon" | "labels.polygon.convertToPolygon";
|
|
213
213
|
trackEvent: {
|
|
214
214
|
category: "element";
|
|
215
215
|
};
|
|
216
|
-
predicate: (elements: readonly import("@
|
|
217
|
-
perform(elements: readonly import("@
|
|
216
|
+
predicate: (elements: readonly import("@hellixit/element/types").HellixitboardElement[], appState: import("../types").AppState, _: import("../types").HellixitboardProps, app: import("../types").AppClassProperties) => boolean;
|
|
217
|
+
perform(elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties): false | {
|
|
218
218
|
elements: ((Readonly<{
|
|
219
219
|
id: string;
|
|
220
220
|
x: number;
|
|
221
221
|
y: number;
|
|
222
222
|
strokeColor: string;
|
|
223
223
|
backgroundColor: string;
|
|
224
|
-
fillStyle: import("@
|
|
224
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
225
225
|
strokeWidth: number;
|
|
226
|
-
strokeStyle: import("@
|
|
226
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
227
227
|
roundness: null | {
|
|
228
|
-
type: import("@
|
|
228
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
229
229
|
value?: number;
|
|
230
230
|
};
|
|
231
231
|
roughness: number;
|
|
232
232
|
opacity: number;
|
|
233
233
|
width: number;
|
|
234
234
|
height: number;
|
|
235
|
-
angle: import("@
|
|
235
|
+
angle: import("@hellixit/math").Radians;
|
|
236
236
|
seed: number;
|
|
237
237
|
version: number;
|
|
238
238
|
versionNonce: number;
|
|
239
|
-
index: import("@
|
|
239
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
240
240
|
isDeleted: boolean;
|
|
241
|
-
groupIds: readonly import("@
|
|
241
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
242
242
|
frameId: string | null;
|
|
243
|
-
boundElements: readonly import("@
|
|
243
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
244
244
|
updated: number;
|
|
245
245
|
link: string | null;
|
|
246
246
|
locked: boolean;
|
|
@@ -250,39 +250,39 @@ export declare const actionTogglePolygon: {
|
|
|
250
250
|
animationSpeed?: number;
|
|
251
251
|
}> & Readonly<{
|
|
252
252
|
type: "line" | "arrow";
|
|
253
|
-
points: readonly import("@
|
|
254
|
-
startBinding: import("@
|
|
255
|
-
endBinding: import("@
|
|
256
|
-
startArrowhead: import("@
|
|
257
|
-
endArrowhead: import("@
|
|
253
|
+
points: readonly import("@hellixit/math").LocalPoint[];
|
|
254
|
+
startBinding: import("@hellixit/element/types").FixedPointBinding | null;
|
|
255
|
+
endBinding: import("@hellixit/element/types").FixedPointBinding | null;
|
|
256
|
+
startArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
257
|
+
endArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
258
258
|
}> & {
|
|
259
|
-
index: import("@
|
|
259
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
260
260
|
}) | (Readonly<{
|
|
261
261
|
id: string;
|
|
262
262
|
x: number;
|
|
263
263
|
y: number;
|
|
264
264
|
strokeColor: string;
|
|
265
265
|
backgroundColor: string;
|
|
266
|
-
fillStyle: import("@
|
|
266
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
267
267
|
strokeWidth: number;
|
|
268
|
-
strokeStyle: import("@
|
|
268
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
269
269
|
roundness: null | {
|
|
270
|
-
type: import("@
|
|
270
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
271
271
|
value?: number;
|
|
272
272
|
};
|
|
273
273
|
roughness: number;
|
|
274
274
|
opacity: number;
|
|
275
275
|
width: number;
|
|
276
276
|
height: number;
|
|
277
|
-
angle: import("@
|
|
277
|
+
angle: import("@hellixit/math").Radians;
|
|
278
278
|
seed: number;
|
|
279
279
|
version: number;
|
|
280
280
|
versionNonce: number;
|
|
281
|
-
index: import("@
|
|
281
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
282
282
|
isDeleted: boolean;
|
|
283
|
-
groupIds: readonly import("@
|
|
283
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
284
284
|
frameId: string | null;
|
|
285
|
-
boundElements: readonly import("@
|
|
285
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
286
286
|
updated: number;
|
|
287
287
|
link: string | null;
|
|
288
288
|
locked: boolean;
|
|
@@ -293,33 +293,33 @@ export declare const actionTogglePolygon: {
|
|
|
293
293
|
}> & {
|
|
294
294
|
type: "selection";
|
|
295
295
|
} & {
|
|
296
|
-
index: import("@
|
|
296
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
297
297
|
}) | (Readonly<{
|
|
298
298
|
id: string;
|
|
299
299
|
x: number;
|
|
300
300
|
y: number;
|
|
301
301
|
strokeColor: string;
|
|
302
302
|
backgroundColor: string;
|
|
303
|
-
fillStyle: import("@
|
|
303
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
304
304
|
strokeWidth: number;
|
|
305
|
-
strokeStyle: import("@
|
|
305
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
306
306
|
roundness: null | {
|
|
307
|
-
type: import("@
|
|
307
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
308
308
|
value?: number;
|
|
309
309
|
};
|
|
310
310
|
roughness: number;
|
|
311
311
|
opacity: number;
|
|
312
312
|
width: number;
|
|
313
313
|
height: number;
|
|
314
|
-
angle: import("@
|
|
314
|
+
angle: import("@hellixit/math").Radians;
|
|
315
315
|
seed: number;
|
|
316
316
|
version: number;
|
|
317
317
|
versionNonce: number;
|
|
318
|
-
index: import("@
|
|
318
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
319
319
|
isDeleted: boolean;
|
|
320
|
-
groupIds: readonly import("@
|
|
320
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
321
321
|
frameId: string | null;
|
|
322
|
-
boundElements: readonly import("@
|
|
322
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
323
323
|
updated: number;
|
|
324
324
|
link: string | null;
|
|
325
325
|
locked: boolean;
|
|
@@ -330,33 +330,33 @@ export declare const actionTogglePolygon: {
|
|
|
330
330
|
}> & {
|
|
331
331
|
type: "rectangle";
|
|
332
332
|
} & {
|
|
333
|
-
index: import("@
|
|
333
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
334
334
|
}) | (Readonly<{
|
|
335
335
|
id: string;
|
|
336
336
|
x: number;
|
|
337
337
|
y: number;
|
|
338
338
|
strokeColor: string;
|
|
339
339
|
backgroundColor: string;
|
|
340
|
-
fillStyle: import("@
|
|
340
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
341
341
|
strokeWidth: number;
|
|
342
|
-
strokeStyle: import("@
|
|
342
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
343
343
|
roundness: null | {
|
|
344
|
-
type: import("@
|
|
344
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
345
345
|
value?: number;
|
|
346
346
|
};
|
|
347
347
|
roughness: number;
|
|
348
348
|
opacity: number;
|
|
349
349
|
width: number;
|
|
350
350
|
height: number;
|
|
351
|
-
angle: import("@
|
|
351
|
+
angle: import("@hellixit/math").Radians;
|
|
352
352
|
seed: number;
|
|
353
353
|
version: number;
|
|
354
354
|
versionNonce: number;
|
|
355
|
-
index: import("@
|
|
355
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
356
356
|
isDeleted: boolean;
|
|
357
|
-
groupIds: readonly import("@
|
|
357
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
358
358
|
frameId: string | null;
|
|
359
|
-
boundElements: readonly import("@
|
|
359
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
360
360
|
updated: number;
|
|
361
361
|
link: string | null;
|
|
362
362
|
locked: boolean;
|
|
@@ -367,33 +367,33 @@ export declare const actionTogglePolygon: {
|
|
|
367
367
|
}> & {
|
|
368
368
|
type: "diamond";
|
|
369
369
|
} & {
|
|
370
|
-
index: import("@
|
|
370
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
371
371
|
}) | (Readonly<{
|
|
372
372
|
id: string;
|
|
373
373
|
x: number;
|
|
374
374
|
y: number;
|
|
375
375
|
strokeColor: string;
|
|
376
376
|
backgroundColor: string;
|
|
377
|
-
fillStyle: import("@
|
|
377
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
378
378
|
strokeWidth: number;
|
|
379
|
-
strokeStyle: import("@
|
|
379
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
380
380
|
roundness: null | {
|
|
381
|
-
type: import("@
|
|
381
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
382
382
|
value?: number;
|
|
383
383
|
};
|
|
384
384
|
roughness: number;
|
|
385
385
|
opacity: number;
|
|
386
386
|
width: number;
|
|
387
387
|
height: number;
|
|
388
|
-
angle: import("@
|
|
388
|
+
angle: import("@hellixit/math").Radians;
|
|
389
389
|
seed: number;
|
|
390
390
|
version: number;
|
|
391
391
|
versionNonce: number;
|
|
392
|
-
index: import("@
|
|
392
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
393
393
|
isDeleted: boolean;
|
|
394
|
-
groupIds: readonly import("@
|
|
394
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
395
395
|
frameId: string | null;
|
|
396
|
-
boundElements: readonly import("@
|
|
396
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
397
397
|
updated: number;
|
|
398
398
|
link: string | null;
|
|
399
399
|
locked: boolean;
|
|
@@ -404,33 +404,33 @@ export declare const actionTogglePolygon: {
|
|
|
404
404
|
}> & {
|
|
405
405
|
type: "ellipse";
|
|
406
406
|
} & {
|
|
407
|
-
index: import("@
|
|
407
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
408
408
|
}) | (Readonly<{
|
|
409
409
|
id: string;
|
|
410
410
|
x: number;
|
|
411
411
|
y: number;
|
|
412
412
|
strokeColor: string;
|
|
413
413
|
backgroundColor: string;
|
|
414
|
-
fillStyle: import("@
|
|
414
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
415
415
|
strokeWidth: number;
|
|
416
|
-
strokeStyle: import("@
|
|
416
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
417
417
|
roundness: null | {
|
|
418
|
-
type: import("@
|
|
418
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
419
419
|
value?: number;
|
|
420
420
|
};
|
|
421
421
|
roughness: number;
|
|
422
422
|
opacity: number;
|
|
423
423
|
width: number;
|
|
424
424
|
height: number;
|
|
425
|
-
angle: import("@
|
|
425
|
+
angle: import("@hellixit/math").Radians;
|
|
426
426
|
seed: number;
|
|
427
427
|
version: number;
|
|
428
428
|
versionNonce: number;
|
|
429
|
-
index: import("@
|
|
429
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
430
430
|
isDeleted: boolean;
|
|
431
|
-
groupIds: readonly import("@
|
|
431
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
432
432
|
frameId: string | null;
|
|
433
|
-
boundElements: readonly import("@
|
|
433
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
434
434
|
updated: number;
|
|
435
435
|
link: string | null;
|
|
436
436
|
locked: boolean;
|
|
@@ -441,33 +441,33 @@ export declare const actionTogglePolygon: {
|
|
|
441
441
|
}> & Readonly<{
|
|
442
442
|
type: "embeddable";
|
|
443
443
|
}> & {
|
|
444
|
-
index: import("@
|
|
444
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
445
445
|
}) | (Readonly<{
|
|
446
446
|
id: string;
|
|
447
447
|
x: number;
|
|
448
448
|
y: number;
|
|
449
449
|
strokeColor: string;
|
|
450
450
|
backgroundColor: string;
|
|
451
|
-
fillStyle: import("@
|
|
451
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
452
452
|
strokeWidth: number;
|
|
453
|
-
strokeStyle: import("@
|
|
453
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
454
454
|
roundness: null | {
|
|
455
|
-
type: import("@
|
|
455
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
456
456
|
value?: number;
|
|
457
457
|
};
|
|
458
458
|
roughness: number;
|
|
459
459
|
opacity: number;
|
|
460
460
|
width: number;
|
|
461
461
|
height: number;
|
|
462
|
-
angle: import("@
|
|
462
|
+
angle: import("@hellixit/math").Radians;
|
|
463
463
|
seed: number;
|
|
464
464
|
version: number;
|
|
465
465
|
versionNonce: number;
|
|
466
|
-
index: import("@
|
|
466
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
467
467
|
isDeleted: boolean;
|
|
468
|
-
groupIds: readonly import("@
|
|
468
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
469
469
|
frameId: string | null;
|
|
470
|
-
boundElements: readonly import("@
|
|
470
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
471
471
|
updated: number;
|
|
472
472
|
link: string | null;
|
|
473
473
|
locked: boolean;
|
|
@@ -478,36 +478,36 @@ export declare const actionTogglePolygon: {
|
|
|
478
478
|
}> & Readonly<{
|
|
479
479
|
type: "iframe";
|
|
480
480
|
customData?: {
|
|
481
|
-
generationData?: import("@
|
|
481
|
+
generationData?: import("@hellixit/element/types").MagicGenerationData;
|
|
482
482
|
};
|
|
483
483
|
}> & {
|
|
484
|
-
index: import("@
|
|
484
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
485
485
|
}) | (Readonly<{
|
|
486
486
|
id: string;
|
|
487
487
|
x: number;
|
|
488
488
|
y: number;
|
|
489
489
|
strokeColor: string;
|
|
490
490
|
backgroundColor: string;
|
|
491
|
-
fillStyle: import("@
|
|
491
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
492
492
|
strokeWidth: number;
|
|
493
|
-
strokeStyle: import("@
|
|
493
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
494
494
|
roundness: null | {
|
|
495
|
-
type: import("@
|
|
495
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
496
496
|
value?: number;
|
|
497
497
|
};
|
|
498
498
|
roughness: number;
|
|
499
499
|
opacity: number;
|
|
500
500
|
width: number;
|
|
501
501
|
height: number;
|
|
502
|
-
angle: import("@
|
|
502
|
+
angle: import("@hellixit/math").Radians;
|
|
503
503
|
seed: number;
|
|
504
504
|
version: number;
|
|
505
505
|
versionNonce: number;
|
|
506
|
-
index: import("@
|
|
506
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
507
507
|
isDeleted: boolean;
|
|
508
|
-
groupIds: readonly import("@
|
|
508
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
509
509
|
frameId: string | null;
|
|
510
|
-
boundElements: readonly import("@
|
|
510
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
511
511
|
updated: number;
|
|
512
512
|
link: string | null;
|
|
513
513
|
locked: boolean;
|
|
@@ -517,38 +517,38 @@ export declare const actionTogglePolygon: {
|
|
|
517
517
|
animationSpeed?: number;
|
|
518
518
|
}> & Readonly<{
|
|
519
519
|
type: "image";
|
|
520
|
-
fileId: import("@
|
|
520
|
+
fileId: import("@hellixit/element/types").FileId | null;
|
|
521
521
|
status: "pending" | "saved" | "error";
|
|
522
522
|
scale: [number, number];
|
|
523
|
-
crop: import("@
|
|
523
|
+
crop: import("@hellixit/element/types").ImageCrop | null;
|
|
524
524
|
}> & {
|
|
525
|
-
index: import("@
|
|
525
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
526
526
|
}) | (Readonly<{
|
|
527
527
|
id: string;
|
|
528
528
|
x: number;
|
|
529
529
|
y: number;
|
|
530
530
|
strokeColor: string;
|
|
531
531
|
backgroundColor: string;
|
|
532
|
-
fillStyle: import("@
|
|
532
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
533
533
|
strokeWidth: number;
|
|
534
|
-
strokeStyle: import("@
|
|
534
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
535
535
|
roundness: null | {
|
|
536
|
-
type: import("@
|
|
536
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
537
537
|
value?: number;
|
|
538
538
|
};
|
|
539
539
|
roughness: number;
|
|
540
540
|
opacity: number;
|
|
541
541
|
width: number;
|
|
542
542
|
height: number;
|
|
543
|
-
angle: import("@
|
|
543
|
+
angle: import("@hellixit/math").Radians;
|
|
544
544
|
seed: number;
|
|
545
545
|
version: number;
|
|
546
546
|
versionNonce: number;
|
|
547
|
-
index: import("@
|
|
547
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
548
548
|
isDeleted: boolean;
|
|
549
|
-
groupIds: readonly import("@
|
|
549
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
550
550
|
frameId: string | null;
|
|
551
|
-
boundElements: readonly import("@
|
|
551
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
552
552
|
updated: number;
|
|
553
553
|
link: string | null;
|
|
554
554
|
locked: boolean;
|
|
@@ -560,33 +560,33 @@ export declare const actionTogglePolygon: {
|
|
|
560
560
|
type: "frame";
|
|
561
561
|
name: string | null;
|
|
562
562
|
} & {
|
|
563
|
-
index: import("@
|
|
563
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
564
564
|
}) | (Readonly<{
|
|
565
565
|
id: string;
|
|
566
566
|
x: number;
|
|
567
567
|
y: number;
|
|
568
568
|
strokeColor: string;
|
|
569
569
|
backgroundColor: string;
|
|
570
|
-
fillStyle: import("@
|
|
570
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
571
571
|
strokeWidth: number;
|
|
572
|
-
strokeStyle: import("@
|
|
572
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
573
573
|
roundness: null | {
|
|
574
|
-
type: import("@
|
|
574
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
575
575
|
value?: number;
|
|
576
576
|
};
|
|
577
577
|
roughness: number;
|
|
578
578
|
opacity: number;
|
|
579
579
|
width: number;
|
|
580
580
|
height: number;
|
|
581
|
-
angle: import("@
|
|
581
|
+
angle: import("@hellixit/math").Radians;
|
|
582
582
|
seed: number;
|
|
583
583
|
version: number;
|
|
584
584
|
versionNonce: number;
|
|
585
|
-
index: import("@
|
|
585
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
586
586
|
isDeleted: boolean;
|
|
587
|
-
groupIds: readonly import("@
|
|
587
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
588
588
|
frameId: string | null;
|
|
589
|
-
boundElements: readonly import("@
|
|
589
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
590
590
|
updated: number;
|
|
591
591
|
link: string | null;
|
|
592
592
|
locked: boolean;
|
|
@@ -598,33 +598,33 @@ export declare const actionTogglePolygon: {
|
|
|
598
598
|
type: "magicframe";
|
|
599
599
|
name: string | null;
|
|
600
600
|
} & {
|
|
601
|
-
index: import("@
|
|
601
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
602
602
|
}) | (Readonly<{
|
|
603
603
|
id: string;
|
|
604
604
|
x: number;
|
|
605
605
|
y: number;
|
|
606
606
|
strokeColor: string;
|
|
607
607
|
backgroundColor: string;
|
|
608
|
-
fillStyle: import("@
|
|
608
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
609
609
|
strokeWidth: number;
|
|
610
|
-
strokeStyle: import("@
|
|
610
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
611
611
|
roundness: null | {
|
|
612
|
-
type: import("@
|
|
612
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
613
613
|
value?: number;
|
|
614
614
|
};
|
|
615
615
|
roughness: number;
|
|
616
616
|
opacity: number;
|
|
617
617
|
width: number;
|
|
618
618
|
height: number;
|
|
619
|
-
angle: import("@
|
|
619
|
+
angle: import("@hellixit/math").Radians;
|
|
620
620
|
seed: number;
|
|
621
621
|
version: number;
|
|
622
622
|
versionNonce: number;
|
|
623
|
-
index: import("@
|
|
623
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
624
624
|
isDeleted: boolean;
|
|
625
|
-
groupIds: readonly import("@
|
|
625
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
626
626
|
frameId: string | null;
|
|
627
|
-
boundElements: readonly import("@
|
|
627
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
628
628
|
updated: number;
|
|
629
629
|
link: string | null;
|
|
630
630
|
locked: boolean;
|
|
@@ -635,44 +635,44 @@ export declare const actionTogglePolygon: {
|
|
|
635
635
|
}> & Readonly<{
|
|
636
636
|
type: "text";
|
|
637
637
|
fontSize: number;
|
|
638
|
-
fontFamily: import("@
|
|
638
|
+
fontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
639
639
|
text: string;
|
|
640
|
-
textAlign: import("@
|
|
641
|
-
verticalAlign: import("@
|
|
642
|
-
containerId: import("@
|
|
640
|
+
textAlign: import("@hellixit/element/types").TextAlign;
|
|
641
|
+
verticalAlign: import("@hellixit/element/types").VerticalAlign;
|
|
642
|
+
containerId: import("@hellixit/element/types").HellixitboardGenericElement["id"] | null;
|
|
643
643
|
originalText: string;
|
|
644
644
|
autoResize: boolean;
|
|
645
645
|
lineHeight: number & {
|
|
646
646
|
_brand: "unitlessLineHeight";
|
|
647
647
|
};
|
|
648
648
|
}> & {
|
|
649
|
-
index: import("@
|
|
649
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
650
650
|
}) | (Readonly<{
|
|
651
651
|
id: string;
|
|
652
652
|
x: number;
|
|
653
653
|
y: number;
|
|
654
654
|
strokeColor: string;
|
|
655
655
|
backgroundColor: string;
|
|
656
|
-
fillStyle: import("@
|
|
656
|
+
fillStyle: import("@hellixit/element/types").FillStyle;
|
|
657
657
|
strokeWidth: number;
|
|
658
|
-
strokeStyle: import("@
|
|
658
|
+
strokeStyle: import("@hellixit/element/types").StrokeStyle;
|
|
659
659
|
roundness: null | {
|
|
660
|
-
type: import("@
|
|
660
|
+
type: import("@hellixit/element/types").RoundnessType;
|
|
661
661
|
value?: number;
|
|
662
662
|
};
|
|
663
663
|
roughness: number;
|
|
664
664
|
opacity: number;
|
|
665
665
|
width: number;
|
|
666
666
|
height: number;
|
|
667
|
-
angle: import("@
|
|
667
|
+
angle: import("@hellixit/math").Radians;
|
|
668
668
|
seed: number;
|
|
669
669
|
version: number;
|
|
670
670
|
versionNonce: number;
|
|
671
|
-
index: import("@
|
|
671
|
+
index: import("@hellixit/element/types").FractionalIndex | null;
|
|
672
672
|
isDeleted: boolean;
|
|
673
|
-
groupIds: readonly import("@
|
|
673
|
+
groupIds: readonly import("@hellixit/element/types").GroupId[];
|
|
674
674
|
frameId: string | null;
|
|
675
|
-
boundElements: readonly import("@
|
|
675
|
+
boundElements: readonly import("@hellixit/element/types").BoundElement[] | null;
|
|
676
676
|
updated: number;
|
|
677
677
|
link: string | null;
|
|
678
678
|
locked: boolean;
|
|
@@ -682,11 +682,11 @@ export declare const actionTogglePolygon: {
|
|
|
682
682
|
animationSpeed?: number;
|
|
683
683
|
}> & Readonly<{
|
|
684
684
|
type: "freedraw";
|
|
685
|
-
points: readonly import("@
|
|
685
|
+
points: readonly import("@hellixit/math").LocalPoint[];
|
|
686
686
|
pressures: readonly number[];
|
|
687
687
|
simulatePressure: boolean;
|
|
688
688
|
}> & {
|
|
689
|
-
index: import("@
|
|
689
|
+
index: import("@hellixit/element/types").FractionalIndex;
|
|
690
690
|
}))[];
|
|
691
691
|
appState: Readonly<import("../types").AppState>;
|
|
692
692
|
captureUpdate: "IMMEDIATELY";
|