@hellixit/hellixitboard 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -53
- package/dist/prod/chunk-IGUB3U7T.js +4 -0
- package/dist/prod/data/{image-2IKBHSIF.js → image-WXEFXRM6.js} +1 -1
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +16 -16
- package/dist/types/common/src/constants.d.ts +1 -1
- package/dist/types/common/src/font-metadata.d.ts +1 -1
- package/dist/types/common/src/points.d.ts +1 -1
- package/dist/types/common/src/utils.d.ts +2 -2
- package/dist/types/element/src/Scene.d.ts +4 -4
- package/dist/types/element/src/arrows/focus.d.ts +1 -1
- package/dist/types/element/src/binding.d.ts +3 -3
- package/dist/types/element/src/bounds.d.ts +2 -2
- package/dist/types/element/src/collision.d.ts +1 -1
- package/dist/types/element/src/delta.d.ts +2 -2
- package/dist/types/element/src/distance.d.ts +1 -1
- package/dist/types/element/src/dragElements.d.ts +1 -1
- package/dist/types/element/src/duplicate.d.ts +1 -1
- package/dist/types/element/src/elbowArrow.d.ts +1 -1
- package/dist/types/element/src/embeddable.d.ts +1 -1
- package/dist/types/element/src/frame.d.ts +1 -1
- package/dist/types/element/src/groups.d.ts +1 -1
- package/dist/types/element/src/heading.d.ts +2 -2
- package/dist/types/element/src/image.d.ts +1 -1
- package/dist/types/element/src/linearElementEditor.d.ts +3 -3
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/newElement.d.ts +1 -1
- package/dist/types/element/src/renderElement.d.ts +2 -2
- package/dist/types/element/src/resizeElements.d.ts +1 -1
- package/dist/types/element/src/resizeTest.d.ts +3 -3
- package/dist/types/element/src/shape.d.ts +3 -3
- package/dist/types/element/src/store.d.ts +2 -2
- package/dist/types/element/src/textElement.d.ts +2 -2
- package/dist/types/element/src/transform.d.ts +1 -1
- package/dist/types/element/src/transformHandles.d.ts +3 -3
- package/dist/types/element/src/typeChecks.d.ts +1 -1
- package/dist/types/element/src/types.d.ts +3 -3
- package/dist/types/element/src/utils.d.ts +2 -2
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/hellixitboard/actions/actionAddToLibrary.d.ts +82 -82
- package/dist/types/hellixitboard/actions/actionAlign.d.ts +7 -7
- package/dist/types/hellixitboard/actions/actionBoundText.d.ts +50 -50
- package/dist/types/hellixitboard/actions/actionCanvas.d.ts +275 -275
- package/dist/types/hellixitboard/actions/actionClipboard.d.ts +63 -63
- package/dist/types/hellixitboard/actions/actionCropEditor.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionDeleteSelected.d.ts +69 -69
- package/dist/types/hellixitboard/actions/actionDistribute.d.ts +3 -3
- package/dist/types/hellixitboard/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/hellixitboard/actions/actionElementLink.d.ts +32 -32
- package/dist/types/hellixitboard/actions/actionElementLock.d.ts +49 -49
- package/dist/types/hellixitboard/actions/actionEmbeddable.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionExport.d.ts +48 -48
- package/dist/types/hellixitboard/actions/actionFinalize.d.ts +1 -1
- package/dist/types/hellixitboard/actions/actionFlip.d.ts +3 -3
- package/dist/types/hellixitboard/actions/actionFrame.d.ts +210 -210
- package/dist/types/hellixitboard/actions/actionGroup.d.ts +43 -43
- package/dist/types/hellixitboard/actions/actionLinearEditor.d.ts +149 -149
- package/dist/types/hellixitboard/actions/actionLink.d.ts +31 -31
- package/dist/types/hellixitboard/actions/actionMenu.d.ts +27 -27
- package/dist/types/hellixitboard/actions/actionNavigate.d.ts +2 -2
- package/dist/types/hellixitboard/actions/actionProperties.d.ts +39 -39
- package/dist/types/hellixitboard/actions/actionSelectAll.d.ts +23 -23
- package/dist/types/hellixitboard/actions/actionStyles.d.ts +31 -31
- package/dist/types/hellixitboard/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/hellixitboard/actions/actionToggleArrowBinding.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionToggleGridMode.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionToggleMidpointSnapping.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionToggleObjectsSnapMode.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionToggleSearchMenu.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionToggleShapeSwitch.d.ts +2 -2
- package/dist/types/hellixitboard/actions/actionToggleStats.d.ts +28 -28
- package/dist/types/hellixitboard/actions/actionToggleViewMode.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionToggleZenMode.d.ts +29 -29
- package/dist/types/hellixitboard/actions/actionZindex.d.ts +8 -8
- package/dist/types/hellixitboard/actions/manager.d.ts +1 -1
- package/dist/types/hellixitboard/actions/shortcuts.d.ts +1 -1
- package/dist/types/hellixitboard/actions/types.d.ts +2 -2
- package/dist/types/hellixitboard/animated-trail.d.ts +2 -2
- package/dist/types/hellixitboard/appState.d.ts +9 -9
- package/dist/types/hellixitboard/charts/charts.constants.d.ts +1 -1
- package/dist/types/hellixitboard/charts/charts.helpers.d.ts +3 -3
- package/dist/types/hellixitboard/charts/charts.types.d.ts +1 -1
- package/dist/types/hellixitboard/charts/index.d.ts +1 -1
- package/dist/types/hellixitboard/clipboard.d.ts +4 -4
- package/dist/types/hellixitboard/components/Actions.d.ts +1 -1
- package/dist/types/hellixitboard/components/App.d.ts +9 -9
- package/dist/types/hellixitboard/components/ColorPicker/ColorPicker.d.ts +2 -2
- package/dist/types/hellixitboard/components/ColorPicker/Picker.d.ts +2 -2
- package/dist/types/hellixitboard/components/ColorPicker/PickerColorList.d.ts +1 -1
- package/dist/types/hellixitboard/components/ColorPicker/ShadeList.d.ts +1 -1
- package/dist/types/hellixitboard/components/ColorPicker/colorPickerUtils.d.ts +2 -2
- package/dist/types/hellixitboard/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/hellixitboard/components/ConvertElementTypePopup.d.ts +2 -2
- package/dist/types/hellixitboard/components/DarkModeToggle.d.ts +1 -1
- package/dist/types/hellixitboard/components/DefaultSidebar.d.ts +1 -1
- package/dist/types/hellixitboard/components/ElementCanvasButtons.d.ts +1 -1
- package/dist/types/hellixitboard/components/ElementLinkDialog.d.ts +2 -2
- package/dist/types/hellixitboard/components/EyeDropper.d.ts +1 -1
- package/dist/types/hellixitboard/components/FontPicker/FontPicker.d.ts +1 -1
- package/dist/types/hellixitboard/components/FontPicker/FontPickerList.d.ts +2 -2
- package/dist/types/hellixitboard/components/FontPicker/FontPickerTrigger.d.ts +1 -1
- package/dist/types/hellixitboard/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/hellixitboard/components/HintViewer.d.ts +1 -1
- package/dist/types/hellixitboard/components/ImageExportDialog.d.ts +1 -1
- package/dist/types/hellixitboard/components/InitializeApp.d.ts +1 -1
- package/dist/types/hellixitboard/components/JSONExportDialog.d.ts +1 -1
- package/dist/types/hellixitboard/components/LayerUI.d.ts +1 -1
- package/dist/types/hellixitboard/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/hellixitboard/components/LoadingMessage.d.ts +1 -1
- package/dist/types/hellixitboard/components/MobileMenu.d.ts +1 -1
- package/dist/types/hellixitboard/components/Stats/Angle.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/CanvasGrid.d.ts +1 -1
- package/dist/types/hellixitboard/components/Stats/Dimension.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/DragInput.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/FontSize.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/MultiAngle.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/MultiDimension.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/MultiFontSize.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/MultiPosition.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/Position.d.ts +2 -2
- package/dist/types/hellixitboard/components/Stats/index.d.ts +1 -1
- package/dist/types/hellixitboard/components/Stats/utils.d.ts +2 -2
- package/dist/types/hellixitboard/components/TTDDialog/CodeMirrorEditor.d.ts +1 -1
- package/dist/types/hellixitboard/components/TTDDialog/common.d.ts +1 -1
- package/dist/types/hellixitboard/components/TTDDialog/hooks/useMermaidRenderer.d.ts +1 -1
- package/dist/types/hellixitboard/components/TTDDialog/types.d.ts +3 -3
- package/dist/types/hellixitboard/components/ToolButton.d.ts +1 -1
- package/dist/types/hellixitboard/components/canvases/InteractiveCanvas.d.ts +2 -2
- package/dist/types/hellixitboard/components/canvases/NewElementCanvas.d.ts +1 -1
- package/dist/types/hellixitboard/components/canvases/StaticCanvas.d.ts +1 -1
- package/dist/types/hellixitboard/components/dropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/types/hellixitboard/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/types/hellixitboard/components/hyperlink/Hyperlink.d.ts +2 -2
- package/dist/types/hellixitboard/components/hyperlink/helpers.d.ts +3 -3
- package/dist/types/hellixitboard/components/icons.d.ts +1 -1
- package/dist/types/hellixitboard/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
- package/dist/types/hellixitboard/components/main-menu/DefaultItems.d.ts +1 -1
- package/dist/types/hellixitboard/components/main-menu/MainMenu.d.ts +1 -1
- package/dist/types/hellixitboard/data/EditorLocalStorage.d.ts +1 -1
- package/dist/types/hellixitboard/data/blob.d.ts +49 -49
- package/dist/types/hellixitboard/data/filesystem.d.ts +1 -1
- package/dist/types/hellixitboard/data/index.d.ts +1 -1
- package/dist/types/hellixitboard/data/json.d.ts +24 -24
- package/dist/types/hellixitboard/data/library.d.ts +2 -2
- package/dist/types/hellixitboard/data/reconcile.d.ts +2 -2
- package/dist/types/hellixitboard/data/resave.d.ts +2 -2
- package/dist/types/hellixitboard/data/restore.d.ts +2 -2
- package/dist/types/hellixitboard/data/types.d.ts +2 -2
- package/dist/types/hellixitboard/fonts/Fonts.d.ts +3 -3
- package/dist/types/hellixitboard/history.d.ts +4 -4
- package/dist/types/hellixitboard/hooks/useEmitter.d.ts +1 -1
- package/dist/types/hellixitboard/i18n.d.ts +1 -1
- package/dist/types/hellixitboard/index.d.ts +12 -12
- package/dist/types/hellixitboard/lasso/utils.d.ts +2 -2
- package/dist/types/hellixitboard/renderer/staticScene.d.ts +1 -1
- package/dist/types/hellixitboard/renderer/staticSvgScene.d.ts +1 -1
- package/dist/types/hellixitboard/scene/Renderer.d.ts +2 -2
- package/dist/types/hellixitboard/scene/export.d.ts +1 -1
- package/dist/types/hellixitboard/scene/index.d.ts +2 -2
- package/dist/types/hellixitboard/scene/scroll.d.ts +1 -1
- package/dist/types/hellixitboard/scene/types.d.ts +3 -3
- package/dist/types/hellixitboard/snapping.d.ts +5 -5
- package/dist/types/hellixitboard/types.d.ts +7 -7
- package/dist/types/hellixitboard/wysiwyg/textWysiwyg.d.ts +1 -1
- package/dist/types/utils/src/bbox.d.ts +2 -2
- package/dist/types/utils/src/export.d.ts +2 -2
- package/dist/types/utils/src/index.d.ts +1 -1
- package/dist/types/utils/src/shape.d.ts +4 -4
- package/dist/types/utils/src/withinBounds.d.ts +2 -2
- package/package.json +7 -7
- package/dist/prod/chunk-6TQ3TBTF.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const actionCopy: import("./types").Action<ClipboardEvent | null> & {
|
|
2
|
-
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: import("../types").AppState, elements: readonly import("@
|
|
2
|
+
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: import("../types").AppState, elements: readonly import("@hellixit/element/types").HellixitboardElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
3
3
|
};
|
|
4
4
|
export declare const actionPaste: {
|
|
5
5
|
name: "paste";
|
|
@@ -7,7 +7,7 @@ export declare const actionPaste: {
|
|
|
7
7
|
trackEvent: {
|
|
8
8
|
category: "element";
|
|
9
9
|
};
|
|
10
|
-
perform: (elements: readonly import("@
|
|
10
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<import("../types").AppState>, data: unknown, app: import("../types").AppClassProperties) => Promise<false | {
|
|
11
11
|
captureUpdate: "EVENTUALLY";
|
|
12
12
|
appState: {
|
|
13
13
|
errorMessage: string;
|
|
@@ -19,22 +19,22 @@ export declare const actionPaste: {
|
|
|
19
19
|
showWelcomeScreen: boolean;
|
|
20
20
|
isLoading: boolean;
|
|
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 actionPaste: {
|
|
|
42
42
|
clip: boolean;
|
|
43
43
|
};
|
|
44
44
|
editingFrame: string | null;
|
|
45
|
-
elementsToHighlight: import("@
|
|
46
|
-
editingTextElement: import("@
|
|
45
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardElement>[] | null;
|
|
46
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
47
47
|
activeTool: {
|
|
48
48
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
49
49
|
locked: boolean;
|
|
@@ -61,18 +61,18 @@ export declare const actionPaste: {
|
|
|
61
61
|
exportScale: number;
|
|
62
62
|
currentItemStrokeColor: string;
|
|
63
63
|
currentItemBackgroundColor: string;
|
|
64
|
-
currentItemFillStyle: import("@
|
|
64
|
+
currentItemFillStyle: import("@hellixit/element/types").HellixitboardElement["fillStyle"];
|
|
65
65
|
currentItemStrokeWidth: number;
|
|
66
|
-
currentItemStrokeStyle: import("@
|
|
66
|
+
currentItemStrokeStyle: import("@hellixit/element/types").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;
|
|
@@ -100,14 +100,14 @@ export declare const actionPaste: {
|
|
|
100
100
|
name: "settings";
|
|
101
101
|
} | {
|
|
102
102
|
name: "elementLinkSelector";
|
|
103
|
-
sourceElementId: import("@
|
|
103
|
+
sourceElementId: import("@hellixit/element/types").HellixitboardElement["id"];
|
|
104
104
|
} | {
|
|
105
105
|
name: "charts";
|
|
106
106
|
data: import("../charts").Spreadsheet;
|
|
107
107
|
rawText: string;
|
|
108
108
|
};
|
|
109
109
|
defaultSidebarDockedPreference: boolean;
|
|
110
|
-
lastPointerDownWith: import("@
|
|
110
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
111
111
|
selectedElementIds: Readonly<{
|
|
112
112
|
[id: string]: true;
|
|
113
113
|
}>;
|
|
@@ -125,7 +125,7 @@ export declare const actionPaste: {
|
|
|
125
125
|
duration?: number;
|
|
126
126
|
} | null;
|
|
127
127
|
zenModeEnabled: boolean;
|
|
128
|
-
theme: import("@
|
|
128
|
+
theme: import("@hellixit/element/types").Theme;
|
|
129
129
|
gridSize: number;
|
|
130
130
|
gridStep: number;
|
|
131
131
|
gridModeEnabled: boolean;
|
|
@@ -133,7 +133,7 @@ export declare const actionPaste: {
|
|
|
133
133
|
selectedGroupIds: {
|
|
134
134
|
[groupId: string]: boolean;
|
|
135
135
|
};
|
|
136
|
-
editingGroupId: import("@
|
|
136
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
137
137
|
width: number;
|
|
138
138
|
height: number;
|
|
139
139
|
offsetTop: number;
|
|
@@ -145,7 +145,7 @@ export declare const actionPaste: {
|
|
|
145
145
|
panels: number;
|
|
146
146
|
};
|
|
147
147
|
showHyperlinkPopup: false | "info" | "editor";
|
|
148
|
-
selectedLinearElement: import("@
|
|
148
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
149
149
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
150
150
|
originSnapOffset: {
|
|
151
151
|
x: number;
|
|
@@ -155,16 +155,16 @@ export declare const actionPaste: {
|
|
|
155
155
|
userToFollow: import("../types").UserToFollow | null;
|
|
156
156
|
followedBy: Set<import("../types").SocketId>;
|
|
157
157
|
isCropping: boolean;
|
|
158
|
-
croppingElementId: import("@
|
|
158
|
+
croppingElementId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
159
159
|
searchMatches: Readonly<{
|
|
160
|
-
focusedId: import("@
|
|
160
|
+
focusedId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
161
161
|
matches: readonly import("../types").SearchMatch[];
|
|
162
162
|
}> | null;
|
|
163
163
|
activeLockedId: string | null;
|
|
164
164
|
lockedMultiSelections: {
|
|
165
165
|
[groupId: string]: true;
|
|
166
166
|
};
|
|
167
|
-
bindMode: import("@
|
|
167
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
168
168
|
};
|
|
169
169
|
} | {
|
|
170
170
|
captureUpdate: "EVENTUALLY";
|
|
@@ -175,7 +175,7 @@ export declare const actionPaste: {
|
|
|
175
175
|
keyTest?: undefined;
|
|
176
176
|
};
|
|
177
177
|
export declare const actionCut: import("./types").Action<ClipboardEvent | null> & {
|
|
178
|
-
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: import("../types").AppState, elements: readonly import("@
|
|
178
|
+
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: import("../types").AppState, elements: readonly import("@hellixit/element/types").HellixitboardElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
179
179
|
};
|
|
180
180
|
export declare const actionCopyAsSvg: {
|
|
181
181
|
name: "copyAsSvg";
|
|
@@ -184,7 +184,7 @@ export declare const actionCopyAsSvg: {
|
|
|
184
184
|
trackEvent: {
|
|
185
185
|
category: "element";
|
|
186
186
|
};
|
|
187
|
-
perform: (elements: readonly import("@
|
|
187
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<import("../types").AppState>, _data: unknown, app: import("../types").AppClassProperties) => Promise<{
|
|
188
188
|
captureUpdate: "EVENTUALLY";
|
|
189
189
|
appState?: undefined;
|
|
190
190
|
} | {
|
|
@@ -202,7 +202,7 @@ export declare const actionCopyAsSvg: {
|
|
|
202
202
|
};
|
|
203
203
|
captureUpdate: "EVENTUALLY";
|
|
204
204
|
}>;
|
|
205
|
-
predicate: (elements: readonly import("@
|
|
205
|
+
predicate: (elements: readonly import("@hellixit/element/types").HellixitboardElement[]) => boolean;
|
|
206
206
|
keywords: string[];
|
|
207
207
|
} & {
|
|
208
208
|
keyTest?: undefined;
|
|
@@ -214,7 +214,7 @@ export declare const actionCopyAsPng: {
|
|
|
214
214
|
trackEvent: {
|
|
215
215
|
category: "element";
|
|
216
216
|
};
|
|
217
|
-
perform: (elements: readonly import("@
|
|
217
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<import("../types").AppState>, _data: unknown, app: import("../types").AppClassProperties) => Promise<{
|
|
218
218
|
captureUpdate: "EVENTUALLY";
|
|
219
219
|
appState?: undefined;
|
|
220
220
|
} | {
|
|
@@ -228,22 +228,22 @@ export declare const actionCopyAsPng: {
|
|
|
228
228
|
showWelcomeScreen: boolean;
|
|
229
229
|
isLoading: boolean;
|
|
230
230
|
activeEmbeddable: {
|
|
231
|
-
element: import("@
|
|
231
|
+
element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
|
|
232
232
|
state: "hover" | "active";
|
|
233
233
|
} | null;
|
|
234
|
-
newElement: import("@
|
|
235
|
-
resizingElement: import("@
|
|
236
|
-
multiElement: import("@
|
|
237
|
-
selectionElement: import("@
|
|
234
|
+
newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
|
|
235
|
+
resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
236
|
+
multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
|
|
237
|
+
selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
238
238
|
isBindingEnabled: boolean;
|
|
239
239
|
bindingPreference: "enabled" | "disabled";
|
|
240
240
|
isMidpointSnappingEnabled: boolean;
|
|
241
|
-
startBoundElement: import("@
|
|
241
|
+
startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
|
|
242
242
|
suggestedBinding: {
|
|
243
|
-
element: import("@
|
|
244
|
-
midPoint?: import("@
|
|
243
|
+
element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
|
|
244
|
+
midPoint?: import("@hellixit/math").GlobalPoint;
|
|
245
245
|
} | null;
|
|
246
|
-
frameToHighlight: import("@
|
|
246
|
+
frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
|
|
247
247
|
frameRendering: {
|
|
248
248
|
enabled: boolean;
|
|
249
249
|
name: boolean;
|
|
@@ -251,8 +251,8 @@ export declare const actionCopyAsPng: {
|
|
|
251
251
|
clip: boolean;
|
|
252
252
|
};
|
|
253
253
|
editingFrame: string | null;
|
|
254
|
-
elementsToHighlight: import("@
|
|
255
|
-
editingTextElement: import("@
|
|
254
|
+
elementsToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardElement>[] | null;
|
|
255
|
+
editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
|
|
256
256
|
activeTool: {
|
|
257
257
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
258
258
|
locked: boolean;
|
|
@@ -270,18 +270,18 @@ export declare const actionCopyAsPng: {
|
|
|
270
270
|
exportScale: number;
|
|
271
271
|
currentItemStrokeColor: string;
|
|
272
272
|
currentItemBackgroundColor: string;
|
|
273
|
-
currentItemFillStyle: import("@
|
|
273
|
+
currentItemFillStyle: import("@hellixit/element/types").HellixitboardElement["fillStyle"];
|
|
274
274
|
currentItemStrokeWidth: number;
|
|
275
|
-
currentItemStrokeStyle: import("@
|
|
275
|
+
currentItemStrokeStyle: import("@hellixit/element/types").HellixitboardElement["strokeStyle"];
|
|
276
276
|
currentItemRoughness: number;
|
|
277
277
|
currentItemOpacity: number;
|
|
278
|
-
currentItemFontFamily: import("@
|
|
278
|
+
currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
|
|
279
279
|
currentItemFontSize: number;
|
|
280
|
-
currentItemTextAlign: import("@
|
|
281
|
-
currentItemStartArrowhead: import("@
|
|
282
|
-
currentItemEndArrowhead: import("@
|
|
283
|
-
currentHoveredFontFamily: import("@
|
|
284
|
-
currentItemRoundness: import("@
|
|
280
|
+
currentItemTextAlign: import("@hellixit/element/types").TextAlign;
|
|
281
|
+
currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
282
|
+
currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
|
|
283
|
+
currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
|
|
284
|
+
currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
|
|
285
285
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
286
286
|
viewBackgroundColor: string;
|
|
287
287
|
scrollX: number;
|
|
@@ -309,14 +309,14 @@ export declare const actionCopyAsPng: {
|
|
|
309
309
|
name: "settings";
|
|
310
310
|
} | {
|
|
311
311
|
name: "elementLinkSelector";
|
|
312
|
-
sourceElementId: import("@
|
|
312
|
+
sourceElementId: import("@hellixit/element/types").HellixitboardElement["id"];
|
|
313
313
|
} | {
|
|
314
314
|
name: "charts";
|
|
315
315
|
data: import("../charts").Spreadsheet;
|
|
316
316
|
rawText: string;
|
|
317
317
|
};
|
|
318
318
|
defaultSidebarDockedPreference: boolean;
|
|
319
|
-
lastPointerDownWith: import("@
|
|
319
|
+
lastPointerDownWith: import("@hellixit/element/types").PointerType;
|
|
320
320
|
selectedElementIds: Readonly<{
|
|
321
321
|
[id: string]: true;
|
|
322
322
|
}>;
|
|
@@ -334,7 +334,7 @@ export declare const actionCopyAsPng: {
|
|
|
334
334
|
duration?: number;
|
|
335
335
|
} | null;
|
|
336
336
|
zenModeEnabled: boolean;
|
|
337
|
-
theme: import("@
|
|
337
|
+
theme: import("@hellixit/element/types").Theme;
|
|
338
338
|
gridSize: number;
|
|
339
339
|
gridStep: number;
|
|
340
340
|
gridModeEnabled: boolean;
|
|
@@ -342,7 +342,7 @@ export declare const actionCopyAsPng: {
|
|
|
342
342
|
selectedGroupIds: {
|
|
343
343
|
[groupId: string]: boolean;
|
|
344
344
|
};
|
|
345
|
-
editingGroupId: import("@
|
|
345
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
346
346
|
width: number;
|
|
347
347
|
height: number;
|
|
348
348
|
offsetTop: number;
|
|
@@ -354,7 +354,7 @@ export declare const actionCopyAsPng: {
|
|
|
354
354
|
panels: number;
|
|
355
355
|
};
|
|
356
356
|
showHyperlinkPopup: false | "info" | "editor";
|
|
357
|
-
selectedLinearElement: import("@
|
|
357
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
358
358
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
359
359
|
originSnapOffset: {
|
|
360
360
|
x: number;
|
|
@@ -364,20 +364,20 @@ export declare const actionCopyAsPng: {
|
|
|
364
364
|
userToFollow: import("../types").UserToFollow | null;
|
|
365
365
|
followedBy: Set<import("../types").SocketId>;
|
|
366
366
|
isCropping: boolean;
|
|
367
|
-
croppingElementId: import("@
|
|
367
|
+
croppingElementId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
368
368
|
searchMatches: Readonly<{
|
|
369
|
-
focusedId: import("@
|
|
369
|
+
focusedId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
370
370
|
matches: readonly import("../types").SearchMatch[];
|
|
371
371
|
}> | null;
|
|
372
372
|
activeLockedId: string | null;
|
|
373
373
|
lockedMultiSelections: {
|
|
374
374
|
[groupId: string]: true;
|
|
375
375
|
};
|
|
376
|
-
bindMode: import("@
|
|
376
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
377
377
|
};
|
|
378
378
|
captureUpdate: "EVENTUALLY";
|
|
379
379
|
}>;
|
|
380
|
-
predicate: (elements: readonly import("@
|
|
380
|
+
predicate: (elements: readonly import("@hellixit/element/types").HellixitboardElement[]) => boolean;
|
|
381
381
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
382
382
|
keywords: string[];
|
|
383
383
|
} & {
|
|
@@ -389,10 +389,10 @@ export declare const copyText: {
|
|
|
389
389
|
trackEvent: {
|
|
390
390
|
category: "element";
|
|
391
391
|
};
|
|
392
|
-
perform: (elements: readonly import("@
|
|
392
|
+
perform: (elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
393
393
|
captureUpdate: "EVENTUALLY";
|
|
394
394
|
};
|
|
395
|
-
predicate: (elements: readonly import("@
|
|
395
|
+
predicate: (elements: readonly import("@hellixit/element/types").HellixitboardElement[], appState: import("../types").AppState, _: import("../types").HellixitboardProps, app: import("../types").AppClassProperties) => boolean;
|
|
396
396
|
keywords: string[];
|
|
397
397
|
} & {
|
|
398
398
|
keyTest?: undefined;
|
|
@@ -7,7 +7,7 @@ export declare const actionToggleCropEditor: {
|
|
|
7
7
|
category: "menu";
|
|
8
8
|
};
|
|
9
9
|
keywords: string[];
|
|
10
|
-
perform(elements: readonly import("@
|
|
10
|
+
perform(elements: readonly import("@hellixit/element/types").OrderedHellixitboardElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties): {
|
|
11
11
|
appState: {
|
|
12
12
|
isCropping: false;
|
|
13
13
|
croppingElementId: string;
|
|
@@ -20,22 +20,22 @@ export declare const actionToggleCropEditor: {
|
|
|
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 actionToggleCropEditor: {
|
|
|
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 actionToggleCropEditor: {
|
|
|
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 actionToggleCropEditor: {
|
|
|
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
|
}>;
|
|
@@ -126,7 +126,7 @@ export declare const actionToggleCropEditor: {
|
|
|
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;
|
|
@@ -134,7 +134,7 @@ export declare const actionToggleCropEditor: {
|
|
|
134
134
|
selectedGroupIds: {
|
|
135
135
|
[groupId: string]: boolean;
|
|
136
136
|
};
|
|
137
|
-
editingGroupId: import("@
|
|
137
|
+
editingGroupId: import("@hellixit/element/types").GroupId | null;
|
|
138
138
|
width: number;
|
|
139
139
|
height: number;
|
|
140
140
|
offsetTop: number;
|
|
@@ -146,7 +146,7 @@ export declare const actionToggleCropEditor: {
|
|
|
146
146
|
panels: number;
|
|
147
147
|
};
|
|
148
148
|
showHyperlinkPopup: false | "info" | "editor";
|
|
149
|
-
selectedLinearElement: import("@
|
|
149
|
+
selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
|
|
150
150
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
151
151
|
originSnapOffset: {
|
|
152
152
|
x: number;
|
|
@@ -156,18 +156,18 @@ export declare const actionToggleCropEditor: {
|
|
|
156
156
|
userToFollow: import("../types").UserToFollow | null;
|
|
157
157
|
followedBy: Set<import("../types").SocketId>;
|
|
158
158
|
searchMatches: Readonly<{
|
|
159
|
-
focusedId: import("@
|
|
159
|
+
focusedId: import("@hellixit/element/types").HellixitboardElement["id"] | null;
|
|
160
160
|
matches: readonly import("../types").SearchMatch[];
|
|
161
161
|
}> | null;
|
|
162
162
|
activeLockedId: string | null;
|
|
163
163
|
lockedMultiSelections: {
|
|
164
164
|
[groupId: string]: true;
|
|
165
165
|
};
|
|
166
|
-
bindMode: import("@
|
|
166
|
+
bindMode: import("@hellixit/element/types").BindMode;
|
|
167
167
|
};
|
|
168
168
|
captureUpdate: "IMMEDIATELY";
|
|
169
169
|
};
|
|
170
|
-
predicate: (elements: readonly import("@
|
|
170
|
+
predicate: (elements: readonly import("@hellixit/element/types").HellixitboardElement[], appState: import("../types").AppState, _: import("../types").HellixitboardProps, app: import("../types").AppClassProperties) => boolean;
|
|
171
171
|
PanelComponent: ({ appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
172
172
|
} & {
|
|
173
173
|
keyTest?: undefined;
|