@hitachivantara/uikit-react-lab 5.46.12 → 6.0.0-next.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/{esm/Flow → Flow}/Background/Background.js +1 -1
- package/dist/{esm/Flow → Flow}/Controls/Controls.js +1 -1
- package/dist/{esm/Flow → Flow}/DroppableFlow.js +1 -1
- package/dist/{esm/Flow → Flow}/Empty/Empty.js +1 -1
- package/dist/{esm/Flow → Flow}/Empty/Empty.styles.js +1 -1
- package/dist/{esm/Flow → Flow}/Flow.js +1 -1
- package/dist/{esm/Flow → Flow}/Flow.styles.js +1 -1
- package/dist/{esm/Flow → Flow}/Minimap/Minimap.js +1 -1
- package/dist/{esm/Flow → Flow}/Node/BaseNode.js +1 -1
- package/dist/{esm/Flow → Flow}/Node/Node.js +0 -3
- package/dist/{esm/Flow → Flow}/Sidebar/Sidebar.js +1 -1
- package/dist/Flow/base.js +732 -0
- package/dist/{esm/Flow → Flow}/hooks/useFlowInstance.js +1 -1
- package/dist/{esm/Flow → Flow}/hooks/useFlowNode.js +4 -4
- package/dist/{esm/Flow → Flow}/hooks/useNodeId.js +1 -1
- package/dist/{esm/StepNavigation → StepNavigation}/DefaultNavigation/DefaultNavigation.js +1 -3
- package/dist/{esm/StepNavigation → StepNavigation}/SimpleNavigation/SimpleNavigation.js +1 -3
- package/dist/{esm/StepNavigation → StepNavigation}/StepNavigation.js +2 -7
- package/dist/{esm/Wizard → Wizard}/WizardTitle/WizardTitle.js +31 -47
- package/dist/{esm/Wizard → Wizard}/WizardTitle/WizardTitle.styles.js +0 -10
- package/dist/{types/index.d.ts → index.d.ts} +63 -178
- package/dist/{esm/index.js → index.js} +12 -18
- package/package.json +15 -15
- package/dist/cjs/Blade/Blade.cjs +0 -174
- package/dist/cjs/Blade/Blade.styles.cjs +0 -71
- package/dist/cjs/Blades/Blades.cjs +0 -104
- package/dist/cjs/Blades/Blades.styles.cjs +0 -11
- package/dist/cjs/Dashboard/Dashboard.cjs +0 -63
- package/dist/cjs/Dashboard/Dashboard.styles.cjs +0 -196
- package/dist/cjs/Flow/Background/Background.cjs +0 -19
- package/dist/cjs/Flow/Controls/Controls.cjs +0 -96
- package/dist/cjs/Flow/DroppableFlow.cjs +0 -204
- package/dist/cjs/Flow/Empty/Empty.cjs +0 -12
- package/dist/cjs/Flow/Empty/Empty.styles.cjs +0 -16
- package/dist/cjs/Flow/Flow.cjs +0 -33
- package/dist/cjs/Flow/Flow.styles.cjs +0 -19
- package/dist/cjs/Flow/FlowContext/FlowContext.cjs +0 -25
- package/dist/cjs/Flow/FlowContext/NodeMetaContext.cjs +0 -43
- package/dist/cjs/Flow/Minimap/Minimap.cjs +0 -30
- package/dist/cjs/Flow/Minimap/Minimap.styles.cjs +0 -10
- package/dist/cjs/Flow/Node/BaseNode.cjs +0 -192
- package/dist/cjs/Flow/Node/BaseNode.styles.cjs +0 -135
- package/dist/cjs/Flow/Node/Node.cjs +0 -115
- package/dist/cjs/Flow/Node/Node.styles.cjs +0 -42
- package/dist/cjs/Flow/Node/Parameters/ParamRenderer.cjs +0 -19
- package/dist/cjs/Flow/Node/Parameters/Select.cjs +0 -41
- package/dist/cjs/Flow/Node/Parameters/Slider.cjs +0 -33
- package/dist/cjs/Flow/Node/Parameters/Text.cjs +0 -19
- package/dist/cjs/Flow/Node/utils.cjs +0 -54
- package/dist/cjs/Flow/Sidebar/Sidebar.cjs +0 -141
- package/dist/cjs/Flow/Sidebar/Sidebar.styles.cjs +0 -24
- package/dist/cjs/Flow/Sidebar/SidebarGroup/SidebarGroup.cjs +0 -62
- package/dist/cjs/Flow/Sidebar/SidebarGroup/SidebarGroup.styles.cjs +0 -34
- package/dist/cjs/Flow/Sidebar/SidebarGroup/SidebarGroupItem/DraggableSidebarGroupItem.cjs +0 -51
- package/dist/cjs/Flow/Sidebar/SidebarGroup/SidebarGroupItem/SidebarGroupItem.cjs +0 -35
- package/dist/cjs/Flow/Sidebar/SidebarGroup/SidebarGroupItem/SidebarGroupItem.styles.cjs +0 -23
- package/dist/cjs/Flow/base.cjs +0 -411
- package/dist/cjs/Flow/hooks/useFlowContext.cjs +0 -6
- package/dist/cjs/Flow/hooks/useFlowInstance.cjs +0 -7
- package/dist/cjs/Flow/hooks/useFlowNode.cjs +0 -134
- package/dist/cjs/Flow/hooks/useFlowNodeMeta.cjs +0 -10
- package/dist/cjs/Flow/hooks/useNode.cjs +0 -159
- package/dist/cjs/Flow/hooks/useNodeId.cjs +0 -8
- package/dist/cjs/Flow/nodes/DashboardNode.cjs +0 -88
- package/dist/cjs/Flow/nodes/DashboardNode.styles.cjs +0 -16
- package/dist/cjs/Flow/nodes/StickyNode.cjs +0 -439
- package/dist/cjs/StepNavigation/DefaultNavigation/DefaultNavigation.cjs +0 -56
- package/dist/cjs/StepNavigation/DefaultNavigation/Step/Step.cjs +0 -78
- package/dist/cjs/StepNavigation/DefaultNavigation/Step/Step.styles.cjs +0 -35
- package/dist/cjs/StepNavigation/DefaultNavigation/utils.cjs +0 -34
- package/dist/cjs/StepNavigation/SimpleNavigation/Dot/Dot.cjs +0 -43
- package/dist/cjs/StepNavigation/SimpleNavigation/Dot/Dot.styles.cjs +0 -18
- package/dist/cjs/StepNavigation/SimpleNavigation/SimpleNavigation.cjs +0 -52
- package/dist/cjs/StepNavigation/SimpleNavigation/utils.cjs +0 -13
- package/dist/cjs/StepNavigation/StepNavigation.cjs +0 -188
- package/dist/cjs/StepNavigation/StepNavigation.styles.cjs +0 -34
- package/dist/cjs/StepNavigation/utils.cjs +0 -8
- package/dist/cjs/Wizard/Wizard.cjs +0 -108
- package/dist/cjs/Wizard/Wizard.styles.cjs +0 -8
- package/dist/cjs/Wizard/WizardActions/WizardActions.cjs +0 -132
- package/dist/cjs/Wizard/WizardActions/WizardActions.styles.cjs +0 -22
- package/dist/cjs/Wizard/WizardContainer/WizardContainer.cjs +0 -31
- package/dist/cjs/Wizard/WizardContainer/WizardContainer.styles.cjs +0 -15
- package/dist/cjs/Wizard/WizardContent/WizardContent.cjs +0 -121
- package/dist/cjs/Wizard/WizardContent/WizardContent.styles.cjs +0 -38
- package/dist/cjs/Wizard/WizardContext/WizardContext.cjs +0 -15
- package/dist/cjs/Wizard/WizardTitle/WizardTitle.cjs +0 -97
- package/dist/cjs/Wizard/WizardTitle/WizardTitle.styles.cjs +0 -27
- package/dist/cjs/index.cjs +0 -93
- package/dist/esm/Flow/base.js +0 -411
- package/dist/esm/Flow/nodes/DashboardNode.js +0 -89
- package/dist/esm/Flow/nodes/DashboardNode.styles.js +0 -16
- package/dist/esm/Flow/nodes/StickyNode.js +0 -439
- /package/dist/{esm/Blade → Blade}/Blade.js +0 -0
- /package/dist/{esm/Blade → Blade}/Blade.styles.js +0 -0
- /package/dist/{esm/Blades → Blades}/Blades.js +0 -0
- /package/dist/{esm/Blades → Blades}/Blades.styles.js +0 -0
- /package/dist/{esm/Dashboard → Dashboard}/Dashboard.js +0 -0
- /package/dist/{esm/Dashboard → Dashboard}/Dashboard.styles.js +0 -0
- /package/dist/{esm/Flow → Flow}/FlowContext/FlowContext.js +0 -0
- /package/dist/{esm/Flow → Flow}/FlowContext/NodeMetaContext.js +0 -0
- /package/dist/{esm/Flow → Flow}/Minimap/Minimap.styles.js +0 -0
- /package/dist/{esm/Flow → Flow}/Node/BaseNode.styles.js +0 -0
- /package/dist/{esm/Flow → Flow}/Node/Node.styles.js +0 -0
- /package/dist/{esm/Flow → Flow}/Node/Parameters/ParamRenderer.js +0 -0
- /package/dist/{esm/Flow → Flow}/Node/Parameters/Select.js +0 -0
- /package/dist/{esm/Flow → Flow}/Node/Parameters/Slider.js +0 -0
- /package/dist/{esm/Flow → Flow}/Node/Parameters/Text.js +0 -0
- /package/dist/{esm/Flow → Flow}/Node/utils.js +0 -0
- /package/dist/{esm/Flow → Flow}/Sidebar/Sidebar.styles.js +0 -0
- /package/dist/{esm/Flow → Flow}/Sidebar/SidebarGroup/SidebarGroup.js +0 -0
- /package/dist/{esm/Flow → Flow}/Sidebar/SidebarGroup/SidebarGroup.styles.js +0 -0
- /package/dist/{esm/Flow → Flow}/Sidebar/SidebarGroup/SidebarGroupItem/DraggableSidebarGroupItem.js +0 -0
- /package/dist/{esm/Flow → Flow}/Sidebar/SidebarGroup/SidebarGroupItem/SidebarGroupItem.js +0 -0
- /package/dist/{esm/Flow → Flow}/Sidebar/SidebarGroup/SidebarGroupItem/SidebarGroupItem.styles.js +0 -0
- /package/dist/{esm/Flow → Flow}/hooks/useFlowContext.js +0 -0
- /package/dist/{esm/Flow → Flow}/hooks/useFlowNodeMeta.js +0 -0
- /package/dist/{esm/Flow → Flow}/hooks/useNode.js +0 -0
- /package/dist/{esm/StepNavigation → StepNavigation}/DefaultNavigation/Step/Step.js +0 -0
- /package/dist/{esm/StepNavigation → StepNavigation}/DefaultNavigation/Step/Step.styles.js +0 -0
- /package/dist/{esm/StepNavigation → StepNavigation}/DefaultNavigation/utils.js +0 -0
- /package/dist/{esm/StepNavigation → StepNavigation}/SimpleNavigation/Dot/Dot.js +0 -0
- /package/dist/{esm/StepNavigation → StepNavigation}/SimpleNavigation/Dot/Dot.styles.js +0 -0
- /package/dist/{esm/StepNavigation → StepNavigation}/SimpleNavigation/utils.js +0 -0
- /package/dist/{esm/StepNavigation → StepNavigation}/StepNavigation.styles.js +0 -0
- /package/dist/{esm/StepNavigation → StepNavigation}/utils.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/Wizard.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/Wizard.styles.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/WizardActions/WizardActions.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/WizardActions/WizardActions.styles.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/WizardContainer/WizardContainer.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/WizardContainer/WizardContainer.styles.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/WizardContent/WizardContent.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/WizardContent/WizardContent.styles.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/WizardContext/WizardContext.js +0 -0
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { Align } from '
|
|
1
|
+
import { Align } from '@xyflow/system';
|
|
2
2
|
import { AnimationEventHandler } from 'react';
|
|
3
3
|
import { AriaRole } from 'react';
|
|
4
|
-
import { BackgroundProps } from '
|
|
4
|
+
import { BackgroundProps } from '@xyflow/react';
|
|
5
5
|
import { ClipboardEventHandler } from 'react';
|
|
6
6
|
import { CompositionEventHandler } from 'react';
|
|
7
7
|
import { Context } from 'react';
|
|
8
|
-
import { ControlProps } from '
|
|
9
|
-
import { CoordinateExtent } from '
|
|
8
|
+
import { ControlProps } from '@xyflow/react';
|
|
9
|
+
import { CoordinateExtent } from '@xyflow/react';
|
|
10
|
+
import { CoordinateExtent as CoordinateExtent_2 } from '@xyflow/system';
|
|
10
11
|
import { CSSProperties } from 'react';
|
|
11
12
|
import { Dispatch } from 'react';
|
|
12
13
|
import { DndContextProps } from '@dnd-kit/core';
|
|
13
14
|
import { DragEndEvent } from '@dnd-kit/core';
|
|
14
15
|
import { DragEventHandler } from 'react';
|
|
15
16
|
import { DragOverlayProps } from '@dnd-kit/core';
|
|
16
|
-
import { Edge } from '
|
|
17
|
+
import { Edge } from '@xyflow/react';
|
|
17
18
|
import { ExtractNames } from '@hitachivantara/uikit-react-core';
|
|
18
19
|
import { FocusEventHandler } from 'react';
|
|
19
20
|
import { FormEventHandler } from 'react';
|
|
20
|
-
import { GetMiniMapNodeAttribute } from '
|
|
21
|
+
import { GetMiniMapNodeAttribute } from '@xyflow/react';
|
|
21
22
|
import { HTMLAttributes } from 'react';
|
|
22
23
|
import { HvActionGeneric } from '@hitachivantara/uikit-react-core';
|
|
23
24
|
import { HvActionsGenericProps } from '@hitachivantara/uikit-react-core';
|
|
@@ -26,7 +27,6 @@ import { HvBreakpoints } from '@hitachivantara/uikit-react-core';
|
|
|
26
27
|
import { HvButtonBaseProps } from '@hitachivantara/uikit-react-core';
|
|
27
28
|
import { HvButtonProps } from '@hitachivantara/uikit-react-core';
|
|
28
29
|
import { HvColorAny } from '@hitachivantara/uikit-styles';
|
|
29
|
-
import { HvColorAny as HvColorAny_2 } from '@hitachivantara/uikit-react-core';
|
|
30
30
|
import { HvDialogProps } from '@hitachivantara/uikit-react-core';
|
|
31
31
|
import { HvDrawerProps } from '@hitachivantara/uikit-react-core';
|
|
32
32
|
import { HvEmptyStateProps } from '@hitachivantara/uikit-react-core';
|
|
@@ -38,17 +38,17 @@ import { HvTypographyVariants } from '@hitachivantara/uikit-react-core';
|
|
|
38
38
|
import { InputEventHandler } from 'react';
|
|
39
39
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
40
40
|
import { KeyboardEventHandler } from 'react';
|
|
41
|
-
import { MiniMapProps } from '
|
|
41
|
+
import { MiniMapProps } from '@xyflow/react';
|
|
42
42
|
import { MouseEventHandler } from 'react';
|
|
43
|
-
import { Node as Node_2 } from '
|
|
44
|
-
import { NodeProps } from '
|
|
45
|
-
import { NodeToolbarProps } from '
|
|
46
|
-
import { PanelPosition } from '
|
|
43
|
+
import { Node as Node_2 } from '@xyflow/react';
|
|
44
|
+
import { NodeProps } from '@xyflow/react';
|
|
45
|
+
import { NodeToolbarProps } from '@xyflow/react';
|
|
46
|
+
import { PanelPosition } from '@xyflow/react';
|
|
47
47
|
import { PointerEventHandler } from 'react';
|
|
48
|
-
import { Position } from '
|
|
48
|
+
import { Position } from '@xyflow/system';
|
|
49
49
|
import { ReactEventHandler } from 'react';
|
|
50
|
-
import { ReactFlowInstance } from '
|
|
51
|
-
import { ReactFlowProps } from '
|
|
50
|
+
import { ReactFlowInstance } from '@xyflow/react';
|
|
51
|
+
import { ReactFlowProps } from '@xyflow/react';
|
|
52
52
|
import { ReactGridLayoutProps } from 'react-grid-layout';
|
|
53
53
|
import { ReactNode } from 'react';
|
|
54
54
|
import { ResponsiveProps } from 'react-grid-layout';
|
|
@@ -109,14 +109,6 @@ declare const DEFAULT_LABELS_5: {
|
|
|
109
109
|
expandLabel: string;
|
|
110
110
|
};
|
|
111
111
|
|
|
112
|
-
declare const DEFAULT_LABELS_6: {
|
|
113
|
-
emptyMessage: string;
|
|
114
|
-
dialogTitle: string;
|
|
115
|
-
dialogSubtitle: string;
|
|
116
|
-
dialogApply: string;
|
|
117
|
-
dialogCancel: string;
|
|
118
|
-
};
|
|
119
|
-
|
|
120
112
|
export declare const flowBaseNodeClasses: {
|
|
121
113
|
root: string;
|
|
122
114
|
headerContainer: string;
|
|
@@ -149,10 +141,10 @@ export declare const flowNodeClasses: {
|
|
|
149
141
|
mandatory: string;
|
|
150
142
|
title: string;
|
|
151
143
|
root: string;
|
|
144
|
+
footerContainer: string;
|
|
152
145
|
titleContainer: string;
|
|
153
146
|
inputContainer: string;
|
|
154
147
|
handle: string;
|
|
155
|
-
footerContainer: string;
|
|
156
148
|
headerContainer: string;
|
|
157
149
|
inputsTitleContainer: string;
|
|
158
150
|
outputsTitleContainer: string;
|
|
@@ -330,49 +322,6 @@ export declare const HvDashboard: (props: HvDashboardProps) => JSX_2.Element;
|
|
|
330
322
|
|
|
331
323
|
export declare type HvDashboardClasses = ExtractNames<typeof useClasses_3>;
|
|
332
324
|
|
|
333
|
-
/** @deprecated no longer supported. Instead create a custom node with `HvDialog` + `HvDashboard` */
|
|
334
|
-
export declare const HvDashboardNode: (props: HvDashboardNodeProps) => JSX_2.Element;
|
|
335
|
-
|
|
336
|
-
export declare type HvDashboardNodeClasses = ExtractNames<typeof useClasses_9>;
|
|
337
|
-
|
|
338
|
-
export declare const hvDashboardNodeClasses: {
|
|
339
|
-
mandatory: string;
|
|
340
|
-
title: string;
|
|
341
|
-
root: string;
|
|
342
|
-
actions: string;
|
|
343
|
-
titleContainer: string;
|
|
344
|
-
inputContainer: string;
|
|
345
|
-
handle: string;
|
|
346
|
-
footerContainer: string;
|
|
347
|
-
headerContainer: string;
|
|
348
|
-
inputsTitleContainer: string;
|
|
349
|
-
outputsTitleContainer: string;
|
|
350
|
-
contentContainer: string;
|
|
351
|
-
inputsContainer: string;
|
|
352
|
-
outputsContainer: string;
|
|
353
|
-
inputGroupContainer: string;
|
|
354
|
-
outputGroupContainer: string;
|
|
355
|
-
outputContainer: string;
|
|
356
|
-
handleConnected: string;
|
|
357
|
-
subtitle: string;
|
|
358
|
-
subtitleContainer: string;
|
|
359
|
-
inlineEditRoot: string;
|
|
360
|
-
inlineEditButton: string;
|
|
361
|
-
actionsButton: string;
|
|
362
|
-
paramsContainer: string;
|
|
363
|
-
empty: string;
|
|
364
|
-
};
|
|
365
|
-
|
|
366
|
-
export declare interface HvDashboardNodeProps extends HvFlowNodeProps, Pick<HvDialogProps, "open" | "onClose">, Pick<HvDashboardProps, "layout"> {
|
|
367
|
-
classes?: HvDashboardNodeClasses;
|
|
368
|
-
labels?: HvFlowNodeProps["labels"] & Partial<typeof DEFAULT_LABELS_6>;
|
|
369
|
-
previewItems?: React.ReactNode;
|
|
370
|
-
onApply?: () => void;
|
|
371
|
-
onCancel?: () => void;
|
|
372
|
-
dashboardProps?: Omit<HvDashboardProps, "children">;
|
|
373
|
-
dialogProps?: HvDialogProps;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
325
|
export declare interface HvDashboardProps extends Omit<ResponsiveProps, "cols"> {
|
|
377
326
|
/** Dashboard items. Each node must be `key`'ed */
|
|
378
327
|
children: React.ReactNode;
|
|
@@ -390,7 +339,7 @@ export declare interface HvDashboardProps extends Omit<ResponsiveProps, "cols">
|
|
|
390
339
|
cols?: number | ResponsiveProps["cols"];
|
|
391
340
|
}
|
|
392
341
|
|
|
393
|
-
declare interface HvDroppableFlowProps<NodeType extends string | undefined = string | undefined, NodeData
|
|
342
|
+
declare interface HvDroppableFlowProps<NodeType extends string | undefined = string | undefined, NodeData extends Record<string, any> = Record<string, any>> extends Omit<ReactFlowProps, "nodes" | "edges" | "nodeTypes"> {
|
|
394
343
|
/** Flow content: background, controls, and minimap. */
|
|
395
344
|
children?: React.ReactNode;
|
|
396
345
|
/** Flow nodes types. */
|
|
@@ -436,11 +385,11 @@ export declare interface HvFlowBackgroundProps extends Omit<BackgroundProps, "co
|
|
|
436
385
|
color?: HvColorAny;
|
|
437
386
|
}
|
|
438
387
|
|
|
439
|
-
export declare const HvFlowBaseNode: ({ id, title: titleProp, headerItems, icon: iconProp, color: colorProp, inputs: inputsProp, outputs: outputsProp, nodeActions: nodeActionsProp, footer, classes: classesProp, labels: labelsProp, className, children, }: HvFlowBaseNodeProps
|
|
388
|
+
export declare const HvFlowBaseNode: ({ id, title: titleProp, headerItems, icon: iconProp, color: colorProp, inputs: inputsProp, outputs: outputsProp, nodeActions: nodeActionsProp, footer, classes: classesProp, labels: labelsProp, className, children, }: HvFlowBaseNodeProps) => JSX_2.Element | null;
|
|
440
389
|
|
|
441
390
|
export declare type HvFlowBaseNodeClasses = ExtractNames<typeof useClasses_7>;
|
|
442
391
|
|
|
443
|
-
export declare interface HvFlowBaseNodeProps<T
|
|
392
|
+
export declare interface HvFlowBaseNodeProps<T extends Record<string, unknown> = Record<string, unknown>> extends Omit<HvBaseProps, "id" | "color" | "draggable">, Omit<HvUseNodeParams, "id">, NodeProps<Node_2<T>> {
|
|
444
393
|
/** Header items */
|
|
445
394
|
headerItems?: React.ReactNode;
|
|
446
395
|
/** The content of the node footer */
|
|
@@ -490,18 +439,18 @@ export declare interface HvFlowGroupItem<NodeData = any> extends Pick<HvFlowNode
|
|
|
490
439
|
data?: NodeData;
|
|
491
440
|
}
|
|
492
441
|
|
|
493
|
-
export declare type HvFlowInstance<NodeData =
|
|
442
|
+
export declare type HvFlowInstance<NodeData extends Record<string, unknown> = Record<string, unknown>, EdgeData extends Record<string, unknown> = Record<string, unknown>> = ReactFlowInstance<Node_2<NodeData>, Edge<EdgeData>>;
|
|
494
443
|
|
|
495
444
|
export declare const HvFlowMinimap: ({ nodeColor, maskColor, maskStrokeColor, nodeStrokeColor, classes: classesProp, className, ...others }: HvFlowMinimapProps) => JSX_2.Element;
|
|
496
445
|
|
|
497
446
|
export declare type HvFlowMinimapClasses = ExtractNames<typeof useClasses_5>;
|
|
498
447
|
|
|
499
|
-
export declare interface HvFlowMinimapProps<NodeData
|
|
500
|
-
/** Node color. */
|
|
501
|
-
nodeColor?: HvColorAny | GetMiniMapNodeAttribute<NodeData
|
|
502
|
-
/** Node stroke color. */
|
|
503
|
-
nodeStrokeColor?: HvColorAny | GetMiniMapNodeAttribute<NodeData
|
|
504
|
-
/** Mask color. */
|
|
448
|
+
export declare interface HvFlowMinimapProps<NodeData extends Record<string, unknown> = Record<string, unknown>> extends Omit<MiniMapProps<Node_2<NodeData>>, "nodeColor" | "nodeStrokeColor" | "maskColor" | "maskStrokeColor"> {
|
|
449
|
+
/** Node color. Defaults to `atmo4`. */
|
|
450
|
+
nodeColor?: HvColorAny | GetMiniMapNodeAttribute<Node_2<NodeData>>;
|
|
451
|
+
/** Node stroke color. Defaults to `atmo4`. */
|
|
452
|
+
nodeStrokeColor?: HvColorAny | GetMiniMapNodeAttribute<Node_2<NodeData>>;
|
|
453
|
+
/** Mask color. Defaults to `atmo3`. */
|
|
505
454
|
maskColor?: HvColorAny;
|
|
506
455
|
/** Mask stroke color. */
|
|
507
456
|
maskStrokeColor?: HvColorAny;
|
|
@@ -509,7 +458,7 @@ export declare interface HvFlowMinimapProps<NodeData = any> extends Omit<MiniMap
|
|
|
509
458
|
classes?: HvFlowMinimapClasses;
|
|
510
459
|
}
|
|
511
460
|
|
|
512
|
-
export declare const HvFlowNode: ({ id, type, headerItems, actions,
|
|
461
|
+
export declare const HvFlowNode: ({ id, type, headerItems, actions, onAction, maxVisibleActions, expanded, actionsIconOnly, params, classes: classesProp, labels: labelsProps, children, expandParamsButtonProps, disableInlineEdit, title: titleProp, subtitle: subtitleProp, description, groupId, color: colorProp, icon: iconProp, ...props }: HvFlowNodeProps) => JSX_2.Element;
|
|
513
462
|
|
|
514
463
|
export declare interface HvFlowNodeAction extends HvActionGeneric {
|
|
515
464
|
callback?: (node: Node_2) => void;
|
|
@@ -518,7 +467,7 @@ export declare interface HvFlowNodeAction extends HvActionGeneric {
|
|
|
518
467
|
export declare type HvFlowNodeClasses = ExtractNames<typeof useClasses_8>;
|
|
519
468
|
|
|
520
469
|
/** HvFlowNode component type. @extends React.FC */
|
|
521
|
-
export declare interface HvFlowNodeFC<NodeData
|
|
470
|
+
export declare interface HvFlowNodeFC<NodeData extends Record<string, any> = Record<string, any>> extends React.FC<NodeProps<Node_2<NodeData>>> {
|
|
522
471
|
}
|
|
523
472
|
|
|
524
473
|
/** Node groups */
|
|
@@ -568,17 +517,11 @@ export declare interface HvFlowNodeOutputGroup {
|
|
|
568
517
|
|
|
569
518
|
export declare type HvFlowNodeParam = HvFlowNodeSelectParam | HvFlowNodeTextParam | HvFlowNodeSliderParam;
|
|
570
519
|
|
|
571
|
-
export declare interface HvFlowNodeProps<T
|
|
520
|
+
export declare interface HvFlowNodeProps<T extends Record<string, any> = Record<string, any>> extends HvFlowBaseNodeProps<T> {
|
|
572
521
|
/** Node description. */
|
|
573
522
|
description?: string;
|
|
574
523
|
/** Node actions. */
|
|
575
524
|
actions?: HvActionsGenericProps["actions"];
|
|
576
|
-
/**
|
|
577
|
-
* Node action callback.
|
|
578
|
-
*
|
|
579
|
-
* @deprecated Use `onAction` instead.
|
|
580
|
-
* */
|
|
581
|
-
actionCallback?: HvActionsGenericProps["actionsCallback"];
|
|
582
525
|
/** Node action callback. */
|
|
583
526
|
onAction?: HvActionsGenericProps["onAction"];
|
|
584
527
|
/** Whether the actions should be all icon buttons when visible. @default true */
|
|
@@ -625,9 +568,9 @@ export declare interface HvFlowNodeTextParam extends HvFlowNodeSharedParam {
|
|
|
625
568
|
type: "text";
|
|
626
569
|
}
|
|
627
570
|
|
|
628
|
-
export declare type HvFlowNodeTypes<NodeData
|
|
571
|
+
export declare type HvFlowNodeTypes<NodeData extends Record<string, any> = Record<string, any>> = Record<string, HvFlowNodeFC<NodeData>>;
|
|
629
572
|
|
|
630
|
-
export declare interface HvFlowProps<NodeGroups extends keyof any = string, NodeType extends string | undefined = string | undefined, NodeData
|
|
573
|
+
export declare interface HvFlowProps<NodeGroups extends keyof any = string, NodeType extends string | undefined = string | undefined, NodeData extends Record<string, any> = Record<string, any>> extends HvDroppableFlowProps<NodeType, NodeData> {
|
|
631
574
|
/** Flow nodes groups. */
|
|
632
575
|
nodeGroups?: HvFlowNodeGroups<NodeGroups>;
|
|
633
576
|
/** Flow sidebar. */
|
|
@@ -665,7 +608,7 @@ export declare interface HvFlowSidebarProps extends Omit<HvDrawerProps, "classes
|
|
|
665
608
|
dragOverlayProps?: DragOverlayProps;
|
|
666
609
|
}
|
|
667
610
|
|
|
668
|
-
declare type HvStepClasses = ExtractNames<typeof
|
|
611
|
+
declare type HvStepClasses = ExtractNames<typeof useClasses_10>;
|
|
669
612
|
|
|
670
613
|
/**
|
|
671
614
|
* Navigation page with steps.
|
|
@@ -678,7 +621,7 @@ declare type HvStepClasses = ExtractNames<typeof useClasses_11>;
|
|
|
678
621
|
*/
|
|
679
622
|
export declare const HvStepNavigation: ({ className, classes: classesProp, width, steps, stepSize, showTitles, type, "aria-label": ariaLabel, ...others }: HvStepNavigationProps) => JSX_2.Element;
|
|
680
623
|
|
|
681
|
-
export declare type HvStepNavigationClasses = ExtractNames<typeof
|
|
624
|
+
export declare type HvStepNavigationClasses = ExtractNames<typeof useClasses_9>;
|
|
682
625
|
|
|
683
626
|
export declare interface HvStepNavigationProps extends HvBaseProps {
|
|
684
627
|
/** Type of step navigation. */
|
|
@@ -747,7 +690,7 @@ export declare const HvWizard: ({ className, children, onClose, handleSubmit, ti
|
|
|
747
690
|
|
|
748
691
|
export declare const HvWizardActions: ({ classes: classesProp, handleClose, handleSubmit, loading, skippable, labels, handleBeforeNext, handleBeforePrevious, }: HvWizardActionsProps) => JSX_2.Element;
|
|
749
692
|
|
|
750
|
-
export declare type HvWizardActionsClasses = ExtractNames<typeof
|
|
693
|
+
export declare type HvWizardActionsClasses = ExtractNames<typeof useClasses_12>;
|
|
751
694
|
|
|
752
695
|
export declare interface HvWizardActionsProps extends HvBaseProps {
|
|
753
696
|
/** Function to handle the cancel button. */
|
|
@@ -779,11 +722,11 @@ export declare interface HvWizardActionsProps extends HvBaseProps {
|
|
|
779
722
|
handleBeforePrevious?: () => void;
|
|
780
723
|
}
|
|
781
724
|
|
|
782
|
-
export declare type HvWizardClasses = ExtractNames<typeof
|
|
725
|
+
export declare type HvWizardClasses = ExtractNames<typeof useClasses_11>;
|
|
783
726
|
|
|
784
727
|
export declare const HvWizardContainer: (props: HvWizardContainerProps) => JSX_2.Element;
|
|
785
728
|
|
|
786
|
-
export declare type HvWizardContainerClasses = ExtractNames<typeof
|
|
729
|
+
export declare type HvWizardContainerClasses = ExtractNames<typeof useClasses_14>;
|
|
787
730
|
|
|
788
731
|
export declare interface HvWizardContainerProps extends Omit<HvBaseProps, "onClose">, Pick<HvDialogProps, "maxWidth" | "fullWidth"> {
|
|
789
732
|
/** Current state of the Wizard. */
|
|
@@ -796,7 +739,7 @@ export declare interface HvWizardContainerProps extends Omit<HvBaseProps, "onClo
|
|
|
796
739
|
|
|
797
740
|
export declare const HvWizardContent: ({ classes: classesProp, fixedHeight, loading, children, summaryContent, }: HvWizardContentProps) => JSX_2.Element;
|
|
798
741
|
|
|
799
|
-
export declare type HvWizardContentClasses = ExtractNames<typeof
|
|
742
|
+
export declare type HvWizardContentClasses = ExtractNames<typeof useClasses_15>;
|
|
800
743
|
|
|
801
744
|
export declare interface HvWizardContentProps extends HvBaseProps {
|
|
802
745
|
/** Forces minimum height to the component. */
|
|
@@ -865,7 +808,7 @@ export declare type HvWizardTabs = {
|
|
|
865
808
|
|
|
866
809
|
export declare const HvWizardTitle: ({ title, hasSummary, labels, classes: classesProp, customStep, }: HvWizardTitleProps) => JSX_2.Element;
|
|
867
810
|
|
|
868
|
-
export declare type HvWizardTitleClasses = ExtractNames<typeof
|
|
811
|
+
export declare type HvWizardTitleClasses = ExtractNames<typeof useClasses_13>;
|
|
869
812
|
|
|
870
813
|
export declare interface HvWizardTitleProps extends HvBaseProps {
|
|
871
814
|
/** Title for the wizard. */
|
|
@@ -891,23 +834,7 @@ export declare const stepNavigationClasses: {
|
|
|
891
834
|
separator: string;
|
|
892
835
|
};
|
|
893
836
|
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
export declare type StickyNodeData = undefined | {
|
|
897
|
-
title?: string;
|
|
898
|
-
backgroundColor?: HvColorAny_2;
|
|
899
|
-
borderColor?: HvColorAny_2;
|
|
900
|
-
textColor?: HvColorAny_2;
|
|
901
|
-
hasShadow?: boolean;
|
|
902
|
-
bold?: boolean;
|
|
903
|
-
italic?: boolean;
|
|
904
|
-
fontSize?: number;
|
|
905
|
-
expanded?: boolean;
|
|
906
|
-
visible?: boolean;
|
|
907
|
-
onDelete?: () => void;
|
|
908
|
-
};
|
|
909
|
-
|
|
910
|
-
declare const useClasses: (classesProp?: Partial<Record<"container" | "button" | "expanded" | "disabled" | "root" | "heading" | "fullWidth" | "textOnlyLabel", string>>, addStatic?: boolean) => {
|
|
837
|
+
declare const useClasses: (classesProp?: Partial<Record<"container" | "button" | "expanded" | "disabled" | "heading" | "root" | "fullWidth" | "textOnlyLabel", string>>, addStatic?: boolean) => {
|
|
911
838
|
readonly classes: {
|
|
912
839
|
root: string;
|
|
913
840
|
expanded: string;
|
|
@@ -922,19 +849,7 @@ declare const useClasses: (classesProp?: Partial<Record<"container" | "button" |
|
|
|
922
849
|
readonly cx: (...args: any) => string;
|
|
923
850
|
};
|
|
924
851
|
|
|
925
|
-
declare const useClasses_10: (classesProp?: Partial<Record<"
|
|
926
|
-
readonly classes: {
|
|
927
|
-
root: string;
|
|
928
|
-
titles: string;
|
|
929
|
-
ol: string;
|
|
930
|
-
li: string;
|
|
931
|
-
separator: string;
|
|
932
|
-
};
|
|
933
|
-
readonly css: any;
|
|
934
|
-
readonly cx: (...args: any) => string;
|
|
935
|
-
};
|
|
936
|
-
|
|
937
|
-
declare const useClasses_11: (classesProp?: Partial<Record<"xs" | "sm" | "md" | "lg" | "xl" | "root" | "avatar" | "notCurrent", string>>, addStatic?: boolean) => {
|
|
852
|
+
declare const useClasses_10: (classesProp?: Partial<Record<"xs" | "sm" | "md" | "lg" | "xl" | "root" | "avatar" | "notCurrent", string>>, addStatic?: boolean) => {
|
|
938
853
|
readonly classes: {
|
|
939
854
|
root: string;
|
|
940
855
|
notCurrent: string;
|
|
@@ -949,7 +864,7 @@ declare const useClasses_11: (classesProp?: Partial<Record<"xs" | "sm" | "md" |
|
|
|
949
864
|
readonly cx: (...args: any) => string;
|
|
950
865
|
};
|
|
951
866
|
|
|
952
|
-
declare const
|
|
867
|
+
declare const useClasses_11: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
953
868
|
readonly classes: {
|
|
954
869
|
root: string;
|
|
955
870
|
};
|
|
@@ -957,7 +872,7 @@ declare const useClasses_12: (classesProp?: Partial<Record<"root", string>>, add
|
|
|
957
872
|
readonly cx: (...args: any) => string;
|
|
958
873
|
};
|
|
959
874
|
|
|
960
|
-
declare const
|
|
875
|
+
declare const useClasses_12: (classesProp?: Partial<Record<"actionsContainer" | "buttonWidth" | "buttonsContainer" | "buttonSpacing", string>>, addStatic?: boolean) => {
|
|
961
876
|
readonly classes: {
|
|
962
877
|
actionsContainer: string;
|
|
963
878
|
buttonWidth: string;
|
|
@@ -968,22 +883,17 @@ declare const useClasses_13: (classesProp?: Partial<Record<"actionsContainer" |
|
|
|
968
883
|
readonly cx: (...args: any) => string;
|
|
969
884
|
};
|
|
970
885
|
|
|
971
|
-
declare const
|
|
886
|
+
declare const useClasses_13: (classesProp?: Partial<Record<"root" | "summaryButton" | "stepContainer", string>>, addStatic?: boolean) => {
|
|
972
887
|
readonly classes: {
|
|
973
888
|
root: string;
|
|
974
|
-
headerContainer: string;
|
|
975
|
-
messageContainer: string;
|
|
976
|
-
titleContainer: string;
|
|
977
889
|
summaryButton: string;
|
|
978
|
-
buttonWidth: string;
|
|
979
|
-
rootSummaryButton: string;
|
|
980
890
|
stepContainer: string;
|
|
981
891
|
};
|
|
982
892
|
readonly css: any;
|
|
983
893
|
readonly cx: (...args: any) => string;
|
|
984
894
|
};
|
|
985
895
|
|
|
986
|
-
declare const
|
|
896
|
+
declare const useClasses_14: (classesProp?: Partial<Record<"root" | "paper" | "closeButton", string>>, addStatic?: boolean) => {
|
|
987
897
|
readonly classes: {
|
|
988
898
|
root: string;
|
|
989
899
|
paper: string;
|
|
@@ -993,7 +903,7 @@ declare const useClasses_15: (classesProp?: Partial<Record<"root" | "closeButton
|
|
|
993
903
|
readonly cx: (...args: any) => string;
|
|
994
904
|
};
|
|
995
905
|
|
|
996
|
-
declare const
|
|
906
|
+
declare const useClasses_15: (classesProp?: Partial<Record<"contentContainer" | "fixedHeight" | "summaryRef" | "summarySticky" | "summaryContainer", string>>, addStatic?: boolean) => {
|
|
997
907
|
readonly classes: {
|
|
998
908
|
contentContainer: string;
|
|
999
909
|
fixedHeight: string;
|
|
@@ -1050,7 +960,7 @@ declare const useClasses_6: (classesProp?: Partial<Record<"description" | "title
|
|
|
1050
960
|
readonly cx: (...args: any) => string;
|
|
1051
961
|
};
|
|
1052
962
|
|
|
1053
|
-
declare const useClasses_7: (classesProp?: Partial<Record<"mandatory" | "title" | "root" | "
|
|
963
|
+
declare const useClasses_7: (classesProp?: Partial<Record<"mandatory" | "title" | "root" | "footerContainer" | "titleContainer" | "inputContainer" | "handle" | "headerContainer" | "inputsTitleContainer" | "outputsTitleContainer" | "contentContainer" | "inputsContainer" | "outputsContainer" | "inputGroupContainer" | "outputGroupContainer" | "outputContainer" | "handleConnected", string>>, addStatic?: boolean) => {
|
|
1054
964
|
readonly classes: {
|
|
1055
965
|
root: string;
|
|
1056
966
|
headerContainer: string;
|
|
@@ -1074,15 +984,15 @@ declare const useClasses_7: (classesProp?: Partial<Record<"mandatory" | "title"
|
|
|
1074
984
|
readonly cx: (...args: any) => string;
|
|
1075
985
|
};
|
|
1076
986
|
|
|
1077
|
-
declare const useClasses_8: (classesProp?: Partial<Record<"mandatory" | "title" | "root" | "actions" | "
|
|
987
|
+
declare const useClasses_8: (classesProp?: Partial<Record<"mandatory" | "title" | "root" | "actions" | "footerContainer" | "titleContainer" | "inputContainer" | "handle" | "headerContainer" | "inputsTitleContainer" | "outputsTitleContainer" | "contentContainer" | "inputsContainer" | "outputsContainer" | "inputGroupContainer" | "outputGroupContainer" | "outputContainer" | "handleConnected" | "subtitle" | "subtitleContainer" | "inlineEditRoot" | "inlineEditButton" | "actionsButton" | "paramsContainer", string>>, addStatic?: boolean) => {
|
|
1078
988
|
readonly classes: {
|
|
1079
989
|
mandatory: string;
|
|
1080
990
|
title: string;
|
|
1081
991
|
root: string;
|
|
992
|
+
footerContainer: string;
|
|
1082
993
|
titleContainer: string;
|
|
1083
994
|
inputContainer: string;
|
|
1084
995
|
handle: string;
|
|
1085
|
-
footerContainer: string;
|
|
1086
996
|
headerContainer: string;
|
|
1087
997
|
inputsTitleContainer: string;
|
|
1088
998
|
outputsTitleContainer: string;
|
|
@@ -1105,33 +1015,13 @@ declare const useClasses_8: (classesProp?: Partial<Record<"mandatory" | "title"
|
|
|
1105
1015
|
readonly cx: (...args: any) => string;
|
|
1106
1016
|
};
|
|
1107
1017
|
|
|
1108
|
-
declare const useClasses_9: (classesProp?: Partial<Record<"
|
|
1018
|
+
declare const useClasses_9: (classesProp?: Partial<Record<"separator" | "li" | "ol" | "root" | "titles", string>>, addStatic?: boolean) => {
|
|
1109
1019
|
readonly classes: {
|
|
1110
|
-
mandatory: string;
|
|
1111
|
-
title: string;
|
|
1112
1020
|
root: string;
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
footerContainer: string;
|
|
1118
|
-
headerContainer: string;
|
|
1119
|
-
inputsTitleContainer: string;
|
|
1120
|
-
outputsTitleContainer: string;
|
|
1121
|
-
contentContainer: string;
|
|
1122
|
-
inputsContainer: string;
|
|
1123
|
-
outputsContainer: string;
|
|
1124
|
-
inputGroupContainer: string;
|
|
1125
|
-
outputGroupContainer: string;
|
|
1126
|
-
outputContainer: string;
|
|
1127
|
-
handleConnected: string;
|
|
1128
|
-
subtitle: string;
|
|
1129
|
-
subtitleContainer: string;
|
|
1130
|
-
inlineEditRoot: string;
|
|
1131
|
-
inlineEditButton: string;
|
|
1132
|
-
actionsButton: string;
|
|
1133
|
-
paramsContainer: string;
|
|
1134
|
-
empty: string;
|
|
1021
|
+
titles: string;
|
|
1022
|
+
ol: string;
|
|
1023
|
+
li: string;
|
|
1024
|
+
separator: string;
|
|
1135
1025
|
};
|
|
1136
1026
|
readonly css: any;
|
|
1137
1027
|
readonly cx: (...args: any) => string;
|
|
@@ -1140,10 +1030,10 @@ declare const useClasses_9: (classesProp?: Partial<Record<"mandatory" | "title"
|
|
|
1140
1030
|
export declare const useFlowContext: () => HvFlowContextValue<string>;
|
|
1141
1031
|
|
|
1142
1032
|
/** Retrieves the nodes connected to the inputs of the node */
|
|
1143
|
-
export declare function useFlowInputNodes<T =
|
|
1033
|
+
export declare function useFlowInputNodes<T extends Record<string, unknown> = Record<string, unknown>>(id?: string): Node_2<T>[];
|
|
1144
1034
|
|
|
1145
1035
|
/** Retrieves the React Flow instance */
|
|
1146
|
-
export declare function useFlowInstance<NodeData =
|
|
1036
|
+
export declare function useFlowInstance<NodeData extends Record<string, unknown> = Record<string, unknown>, EdgeData extends Record<string, unknown> = Record<string, unknown>>(): HvFlowInstance<NodeData, EdgeData>;
|
|
1147
1037
|
|
|
1148
1038
|
/** Retrieves the node instance */
|
|
1149
1039
|
export declare function useFlowNode<T extends Node_2 = Node_2>(id?: string): T | undefined;
|
|
@@ -1154,7 +1044,7 @@ export declare function useFlowNodeEdges(id?: string): Edge[];
|
|
|
1154
1044
|
/** Provides the input edges connected to the node */
|
|
1155
1045
|
export declare function useFlowNodeInputEdges(id?: string): Edge[];
|
|
1156
1046
|
|
|
1157
|
-
export declare function useFlowNodeIntersections<
|
|
1047
|
+
export declare function useFlowNodeIntersections<T extends Record<string, unknown> = Record<string, unknown>>(id?: string): Node_2<T>[];
|
|
1158
1048
|
|
|
1159
1049
|
export declare function useFlowNodeMeta(id?: string): HvFlowNodeMeta_2;
|
|
1160
1050
|
|
|
@@ -1165,13 +1055,13 @@ export declare function useFlowNodeOutputEdges(id?: string): Edge[];
|
|
|
1165
1055
|
export declare function useFlowNodeParents(id?: string): Node_2[];
|
|
1166
1056
|
|
|
1167
1057
|
/** Utilities to manipulate a node in the flow */
|
|
1168
|
-
export declare function useFlowNodeUtils<
|
|
1169
|
-
setNodeData: (setNewData: (newData?:
|
|
1058
|
+
export declare function useFlowNodeUtils<T extends Record<string, unknown> = Record<string, unknown>>(id?: string): {
|
|
1059
|
+
setNodeData: (setNewData: (newData?: T) => T) => void;
|
|
1170
1060
|
setNodeParent: (node?: Node_2<any>, extent?: "parent" | CoordinateExtent) => void;
|
|
1171
1061
|
};
|
|
1172
1062
|
|
|
1173
1063
|
/** Retrieves the nodes connected to the outputs of the node */
|
|
1174
|
-
export declare function useFlowOutputNodes<T =
|
|
1064
|
+
export declare function useFlowOutputNodes<T extends Record<string, unknown> = Record<string, unknown>>(id?: string): Node_2<T>[];
|
|
1175
1065
|
|
|
1176
1066
|
export declare function useHvNode(props: HvUseNodeParams): {
|
|
1177
1067
|
id: string;
|
|
@@ -1179,7 +1069,7 @@ export declare function useHvNode(props: HvUseNodeParams): {
|
|
|
1179
1069
|
icon: ReactNode;
|
|
1180
1070
|
color: string | undefined;
|
|
1181
1071
|
iconColor: string | undefined;
|
|
1182
|
-
subtitle:
|
|
1072
|
+
subtitle: string | undefined;
|
|
1183
1073
|
inputs: (HvFlowNodeInput | HvFlowNodeOutput | {
|
|
1184
1074
|
inputs: HvFlowNodeInput[];
|
|
1185
1075
|
label: React.ReactNode;
|
|
@@ -1199,7 +1089,7 @@ export declare function useHvNode(props: HvUseNodeParams): {
|
|
|
1199
1089
|
node: Node_2 | undefined;
|
|
1200
1090
|
nodeActions: HvFlowNodeAction[];
|
|
1201
1091
|
showActions: boolean;
|
|
1202
|
-
intersections: Node_2<
|
|
1092
|
+
intersections: Node_2<Record<string, unknown>>[];
|
|
1203
1093
|
getNodeToolbarProps: () => {
|
|
1204
1094
|
defaultChecked?: boolean | undefined;
|
|
1205
1095
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -1475,8 +1365,8 @@ export declare function useHvNode(props: HvUseNodeParams): {
|
|
|
1475
1365
|
};
|
|
1476
1366
|
toggleShowActions: () => void;
|
|
1477
1367
|
handleDefaultAction: (action: HvFlowNodeAction) => void;
|
|
1478
|
-
setNodeData: (setNewData: (newData?:
|
|
1479
|
-
setNodeParent: (node?: Node_2<any>, extent?: "parent" |
|
|
1368
|
+
setNodeData: (setNewData: (newData?: Record<string, unknown> | undefined) => Record<string, unknown>) => void;
|
|
1369
|
+
setNodeParent: (node?: Node_2<any>, extent?: "parent" | CoordinateExtent_2) => void;
|
|
1480
1370
|
};
|
|
1481
1371
|
|
|
1482
1372
|
export declare function useNodeMetaRegistry(): {
|
|
@@ -1512,12 +1402,7 @@ export declare const wizardContentClasses: {
|
|
|
1512
1402
|
|
|
1513
1403
|
export declare const wizardTitleClasses: {
|
|
1514
1404
|
root: string;
|
|
1515
|
-
headerContainer: string;
|
|
1516
|
-
messageContainer: string;
|
|
1517
|
-
titleContainer: string;
|
|
1518
1405
|
summaryButton: string;
|
|
1519
|
-
buttonWidth: string;
|
|
1520
|
-
rootSummaryButton: string;
|
|
1521
1406
|
stepContainer: string;
|
|
1522
1407
|
};
|
|
1523
1408
|
|
|
@@ -19,32 +19,28 @@ import { staticClasses as staticClasses7 } from "./Flow/Node/BaseNode.styles.js"
|
|
|
19
19
|
import { DEFAULT_LABELS, HvFlowBaseNode } from "./Flow/Node/BaseNode.js";
|
|
20
20
|
import { staticClasses as staticClasses8 } from "./Flow/Node/Node.styles.js";
|
|
21
21
|
import { HvFlowNode } from "./Flow/Node/Node.js";
|
|
22
|
-
import { staticClasses as staticClasses9 } from "./Flow/nodes/DashboardNode.styles.js";
|
|
23
|
-
import { HvDashboardNode } from "./Flow/nodes/DashboardNode.js";
|
|
24
|
-
import { StickyNode } from "./Flow/nodes/StickyNode.js";
|
|
25
22
|
import { useFlowInputNodes, useFlowNode, useFlowNodeEdges, useFlowNodeInputEdges, useFlowNodeIntersections, useFlowNodeOutputEdges, useFlowNodeParents, useFlowNodeUtils, useFlowOutputNodes } from "./Flow/hooks/useFlowNode.js";
|
|
26
23
|
import { useFlowContext } from "./Flow/hooks/useFlowContext.js";
|
|
27
24
|
import { useFlowNodeMeta } from "./Flow/hooks/useFlowNodeMeta.js";
|
|
28
25
|
import { useFlowInstance } from "./Flow/hooks/useFlowInstance.js";
|
|
29
26
|
import { useHvNode } from "./Flow/hooks/useNode.js";
|
|
30
|
-
import { staticClasses as
|
|
27
|
+
import { staticClasses as staticClasses9 } from "./StepNavigation/StepNavigation.styles.js";
|
|
31
28
|
import { HvStepNavigation } from "./StepNavigation/StepNavigation.js";
|
|
32
|
-
import { staticClasses as
|
|
29
|
+
import { staticClasses as staticClasses10 } from "./Wizard/Wizard.styles.js";
|
|
33
30
|
import { HvWizard } from "./Wizard/Wizard.js";
|
|
34
|
-
import { staticClasses as
|
|
31
|
+
import { staticClasses as staticClasses11 } from "./Wizard/WizardActions/WizardActions.styles.js";
|
|
35
32
|
import { HvWizardActions } from "./Wizard/WizardActions/WizardActions.js";
|
|
36
|
-
import { staticClasses as
|
|
33
|
+
import { staticClasses as staticClasses12 } from "./Wizard/WizardContainer/WizardContainer.styles.js";
|
|
37
34
|
import { HvWizardContainer } from "./Wizard/WizardContainer/WizardContainer.js";
|
|
38
|
-
import { staticClasses as
|
|
35
|
+
import { staticClasses as staticClasses13 } from "./Wizard/WizardContent/WizardContent.styles.js";
|
|
39
36
|
import { HvWizardContent } from "./Wizard/WizardContent/WizardContent.js";
|
|
40
|
-
import { staticClasses as
|
|
37
|
+
import { staticClasses as staticClasses14 } from "./Wizard/WizardTitle/WizardTitle.styles.js";
|
|
41
38
|
import { HvWizardTitle } from "./Wizard/WizardTitle/WizardTitle.js";
|
|
42
39
|
export {
|
|
43
40
|
DEFAULT_LABELS,
|
|
44
41
|
HvBlade,
|
|
45
42
|
HvBlades,
|
|
46
43
|
HvDashboard,
|
|
47
|
-
HvDashboardNode,
|
|
48
44
|
HvFlow,
|
|
49
45
|
HvFlowBackground,
|
|
50
46
|
HvFlowBaseNode,
|
|
@@ -60,7 +56,6 @@ export {
|
|
|
60
56
|
HvWizardContent,
|
|
61
57
|
default2 as HvWizardContext,
|
|
62
58
|
HvWizardTitle,
|
|
63
|
-
StickyNode,
|
|
64
59
|
staticClasses as bladeClasses,
|
|
65
60
|
staticClasses2 as bladesClasses,
|
|
66
61
|
staticClasses3 as dashboardClasses,
|
|
@@ -69,8 +64,7 @@ export {
|
|
|
69
64
|
staticClasses5 as flowMinimapClasses,
|
|
70
65
|
staticClasses8 as flowNodeClasses,
|
|
71
66
|
staticClasses6 as flowSidebarClasses,
|
|
72
|
-
staticClasses9 as
|
|
73
|
-
staticClasses10 as stepNavigationClasses,
|
|
67
|
+
staticClasses9 as stepNavigationClasses,
|
|
74
68
|
useFlowContext,
|
|
75
69
|
useFlowInputNodes,
|
|
76
70
|
useFlowInstance,
|
|
@@ -85,9 +79,9 @@ export {
|
|
|
85
79
|
useFlowOutputNodes,
|
|
86
80
|
useHvNode,
|
|
87
81
|
useNodeMetaRegistry,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
82
|
+
staticClasses11 as wizardActionsClasses,
|
|
83
|
+
staticClasses10 as wizardClasses,
|
|
84
|
+
staticClasses12 as wizardContainerClasses,
|
|
85
|
+
staticClasses13 as wizardContentClasses,
|
|
86
|
+
staticClasses14 as wizardTitleClasses
|
|
93
87
|
};
|