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