@hitachivantara/uikit-react-lab 5.35.12 → 5.36.0
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/cjs/Canvas/CanvasPanel/CanvasPanel.cjs +92 -0
- package/dist/cjs/Canvas/CanvasPanel/CanvasPanel.styles.cjs +61 -0
- package/dist/cjs/Canvas/CanvasTabs/CanvasTabs.cjs +51 -0
- package/dist/cjs/Canvas/CanvasTabs/CanvasTabs.styles.cjs +41 -0
- package/dist/cjs/Canvas/CanvasToolbar/CanvasToolbar.cjs +30 -0
- package/dist/cjs/Canvas/CanvasToolbar/CanvasToolbar.styles.cjs +43 -0
- package/dist/cjs/Flow/Flow.styles.cjs +0 -4
- package/dist/cjs/Flow/Node/BaseNode.cjs +32 -73
- package/dist/cjs/Flow/hooks/useNode.cjs +150 -0
- package/dist/cjs/index.cjs +14 -0
- package/dist/esm/Canvas/CanvasPanel/CanvasPanel.js +93 -0
- package/dist/esm/Canvas/CanvasPanel/CanvasPanel.js.map +1 -0
- package/dist/esm/Canvas/CanvasPanel/CanvasPanel.styles.js +61 -0
- package/dist/esm/Canvas/CanvasPanel/CanvasPanel.styles.js.map +1 -0
- package/dist/esm/Canvas/CanvasTabs/CanvasTabs.js +52 -0
- package/dist/esm/Canvas/CanvasTabs/CanvasTabs.js.map +1 -0
- package/dist/esm/Canvas/CanvasTabs/CanvasTabs.styles.js +41 -0
- package/dist/esm/Canvas/CanvasTabs/CanvasTabs.styles.js.map +1 -0
- package/dist/esm/Canvas/CanvasToolbar/CanvasToolbar.js +31 -0
- package/dist/esm/Canvas/CanvasToolbar/CanvasToolbar.js.map +1 -0
- package/dist/esm/Canvas/CanvasToolbar/CanvasToolbar.styles.js +43 -0
- package/dist/esm/Canvas/CanvasToolbar/CanvasToolbar.styles.js.map +1 -0
- package/dist/esm/Flow/Flow.styles.js +0 -4
- package/dist/esm/Flow/Flow.styles.js.map +1 -1
- package/dist/esm/Flow/Node/BaseNode.js +34 -75
- package/dist/esm/Flow/Node/BaseNode.js.map +1 -1
- package/dist/esm/Flow/hooks/useNode.js +150 -0
- package/dist/esm/Flow/hooks/useNode.js.map +1 -0
- package/dist/esm/index.js +40 -26
- package/dist/esm/index.js.map +1 -1
- package/dist/types/index.d.ts +607 -121
- package/package.json +4 -3
package/dist/types/index.d.ts
CHANGED
|
@@ -1,13 +1,22 @@
|
|
|
1
|
+
import { Align } from 'reactflow';
|
|
2
|
+
import { AnimationEventHandler } from 'react';
|
|
3
|
+
import { AriaRole } from 'react';
|
|
1
4
|
import { BackgroundProps } from 'reactflow';
|
|
5
|
+
import { ClipboardEventHandler } from 'react';
|
|
6
|
+
import { CompositionEventHandler } from 'react';
|
|
2
7
|
import { ControlProps } from 'reactflow';
|
|
3
8
|
import { CSSInterpolation } from '@emotion/serialize';
|
|
9
|
+
import { CSSProperties } from 'react';
|
|
4
10
|
import { default as default_2 } from 'react';
|
|
5
11
|
import { Dispatch } from 'react';
|
|
6
12
|
import { DndContextProps } from '@dnd-kit/core';
|
|
7
13
|
import { DragEndEvent } from '@dnd-kit/core';
|
|
14
|
+
import { DragEventHandler } from 'react';
|
|
8
15
|
import { DragOverlayProps } from '@dnd-kit/core';
|
|
9
16
|
import { Edge } from 'reactflow';
|
|
10
17
|
import { ExtractNames } from '@hitachivantara/uikit-react-core';
|
|
18
|
+
import { FocusEventHandler } from 'react';
|
|
19
|
+
import { FormEventHandler } from 'react';
|
|
11
20
|
import { GetMiniMapNodeAttribute } from 'reactflow';
|
|
12
21
|
import { HTMLAttributes } from 'react';
|
|
13
22
|
import { HvActionGeneric } from '@hitachivantara/uikit-react-core';
|
|
@@ -19,21 +28,36 @@ import { HvColorAny } from '@hitachivantara/uikit-styles';
|
|
|
19
28
|
import { HvDialogProps } from '@hitachivantara/uikit-react-core';
|
|
20
29
|
import { HvDrawerProps } from '@hitachivantara/uikit-react-core';
|
|
21
30
|
import { HvEmptyStateProps } from '@hitachivantara/uikit-react-core';
|
|
31
|
+
import { HvGlobalActionsProps } from '@hitachivantara/uikit-react-core';
|
|
22
32
|
import { HvSize } from '@hitachivantara/uikit-react-core';
|
|
23
33
|
import { HvSliderProps } from '@hitachivantara/uikit-react-core';
|
|
24
34
|
import { HvTypographyVariants } from '@hitachivantara/uikit-react-core';
|
|
25
35
|
import { JSX as JSX_2 } from '@emotion/react/jsx-runtime';
|
|
36
|
+
import { JSXElementConstructor } from 'react';
|
|
37
|
+
import { KeyboardEventHandler } from 'react';
|
|
26
38
|
import { MiniMapProps } from 'reactflow';
|
|
27
39
|
import { ModalProps } from '@mui/material/Modal';
|
|
40
|
+
import { MouseEventHandler } from 'react';
|
|
28
41
|
import { Node as Node_2 } from 'reactflow';
|
|
29
42
|
import { NodeProps } from 'reactflow';
|
|
43
|
+
import { NodeToolbarProps } from 'reactflow';
|
|
30
44
|
import { PanelPosition } from 'reactflow';
|
|
45
|
+
import { PointerEventHandler } from 'react';
|
|
46
|
+
import { Position } from 'reactflow';
|
|
47
|
+
import { ReactElement } from 'react';
|
|
48
|
+
import { ReactEventHandler } from 'react';
|
|
31
49
|
import { ReactFlowInstance } from 'reactflow';
|
|
32
50
|
import { ReactFlowProps } from 'reactflow';
|
|
33
51
|
import { ReactGridLayoutProps } from 'react-grid-layout';
|
|
52
|
+
import { ReactNode } from 'react';
|
|
34
53
|
import { ResponsiveProps } from 'react-grid-layout';
|
|
35
54
|
import { SetStateAction } from 'react';
|
|
36
55
|
import { SyntheticEvent } from 'react';
|
|
56
|
+
import { TabsProps } from '@mui/base/Tabs';
|
|
57
|
+
import { TouchEventHandler } from 'react';
|
|
58
|
+
import { TransitionEventHandler } from 'react';
|
|
59
|
+
import { UIEventHandler } from 'react';
|
|
60
|
+
import { WheelEventHandler } from 'react';
|
|
37
61
|
|
|
38
62
|
export declare const bladeClasses: {
|
|
39
63
|
container: "HvBlade-container";
|
|
@@ -50,6 +74,32 @@ export declare const bladesClasses: {
|
|
|
50
74
|
root: "HvBlades-root";
|
|
51
75
|
};
|
|
52
76
|
|
|
77
|
+
export declare const canvasPanelClasses: {
|
|
78
|
+
content: "HvCanvasPanel-content";
|
|
79
|
+
root: "HvCanvasPanel-root";
|
|
80
|
+
open: "HvCanvasPanel-open";
|
|
81
|
+
close: "HvCanvasPanel-close";
|
|
82
|
+
handle: "HvCanvasPanel-handle";
|
|
83
|
+
tabs: "HvCanvasPanel-tabs";
|
|
84
|
+
handleButton: "HvCanvasPanel-handleButton";
|
|
85
|
+
handleOpen: "HvCanvasPanel-handleOpen";
|
|
86
|
+
handleClose: "HvCanvasPanel-handleClose";
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
export declare const canvasTabsClasses: {
|
|
90
|
+
root: "HvCanvasTabs-root";
|
|
91
|
+
list: "HvCanvasTabs-list";
|
|
92
|
+
selected: "HvCanvasTabs-selected";
|
|
93
|
+
tab: "HvCanvasTabs-tab";
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
export declare const canvasToolbarClasses: {
|
|
97
|
+
root: "HvCanvasToolbar-root";
|
|
98
|
+
title: "HvCanvasToolbar-title";
|
|
99
|
+
actions: "HvCanvasToolbar-actions";
|
|
100
|
+
back: "HvCanvasToolbar-back";
|
|
101
|
+
};
|
|
102
|
+
|
|
53
103
|
export declare const dashboardClasses: {
|
|
54
104
|
root: "HvDashboard-root";
|
|
55
105
|
};
|
|
@@ -62,25 +112,39 @@ export declare const DEFAULT_LABELS: {
|
|
|
62
112
|
};
|
|
63
113
|
|
|
64
114
|
declare const DEFAULT_LABELS_2: {
|
|
115
|
+
back: string;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
declare const DEFAULT_LABELS_3: {
|
|
119
|
+
open: string;
|
|
120
|
+
close: string;
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
declare const DEFAULT_LABELS_4: {
|
|
65
124
|
fitView: string;
|
|
66
125
|
zoomIn: string;
|
|
67
126
|
zoomOut: string;
|
|
68
127
|
interactive: string;
|
|
69
128
|
};
|
|
70
129
|
|
|
71
|
-
declare const
|
|
130
|
+
declare const DEFAULT_LABELS_5: {
|
|
72
131
|
itemAriaRoleDescription: string;
|
|
73
132
|
expandGroupButtonAriaLabel: string;
|
|
74
133
|
searchPlaceholder: string;
|
|
75
134
|
searchAriaLabel: string;
|
|
76
135
|
};
|
|
77
136
|
|
|
78
|
-
declare const
|
|
137
|
+
declare const DEFAULT_LABELS_6: {
|
|
138
|
+
deleteActionLabel: string;
|
|
139
|
+
duplicateActionLabel: string;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
declare const DEFAULT_LABELS_7: {
|
|
79
143
|
collapseLabel: string;
|
|
80
144
|
expandLabel: string;
|
|
81
145
|
};
|
|
82
146
|
|
|
83
|
-
declare const
|
|
147
|
+
declare const DEFAULT_LABELS_8: {
|
|
84
148
|
emptyMessage: string;
|
|
85
149
|
dialogTitle: string;
|
|
86
150
|
dialogSubtitle: string;
|
|
@@ -135,8 +199,8 @@ export declare const flowNodeClasses: {
|
|
|
135
199
|
outputGroupContainer: "HvFlowNode-outputGroupContainer";
|
|
136
200
|
outputContainer: "HvFlowNode-outputContainer";
|
|
137
201
|
handleConnected: "HvFlowNode-handleConnected";
|
|
138
|
-
subtitleContainer: "HvFlowNode-subtitleContainer";
|
|
139
202
|
subtitle: "HvFlowNode-subtitle";
|
|
203
|
+
subtitleContainer: "HvFlowNode-subtitleContainer";
|
|
140
204
|
inlineEditRoot: "HvFlowNode-inlineEditRoot";
|
|
141
205
|
inlineEditButton: "HvFlowNode-inlineEditButton";
|
|
142
206
|
actionsButton: "HvFlowNode-actionsButton";
|
|
@@ -289,6 +353,71 @@ export declare interface HvBladesProps extends HvBaseProps<HTMLDivElement, "onCh
|
|
|
289
353
|
classes?: HvBladesClasses;
|
|
290
354
|
}
|
|
291
355
|
|
|
356
|
+
/**
|
|
357
|
+
* A panel component to use in a canvas context.
|
|
358
|
+
*/
|
|
359
|
+
export declare const HvCanvasPanel: (props: HvCanvasPanelProps) => JSX_2.Element;
|
|
360
|
+
|
|
361
|
+
export declare type HvCanvasPanelClasses = ExtractNames<typeof useClasses_4>;
|
|
362
|
+
|
|
363
|
+
export declare interface HvCanvasPanelProps extends HvBaseProps<HTMLDivElement> {
|
|
364
|
+
/** Whether the panel is open or not. If this property is defined the panel must be fully controlled. */
|
|
365
|
+
open?: boolean;
|
|
366
|
+
/** When uncontrolled, defines the initial state of the panel. */
|
|
367
|
+
defaultOpened?: boolean;
|
|
368
|
+
/** The tabs that should be visible on the canvas panel */
|
|
369
|
+
tabs?: HvCanvasTab[];
|
|
370
|
+
/** The function that will be executed whenever the panel toggles. It will receive the state of the accordion. */
|
|
371
|
+
onToggle?: (event: React.MouseEvent | React.KeyboardEvent, open: boolean) => void;
|
|
372
|
+
/** The function that will be executed when a tab changes.It will receive the id of the selected tab. */
|
|
373
|
+
onTabChange?: (event: React.SyntheticEvent, tabId: string) => void;
|
|
374
|
+
/** An object containing all the labels. */
|
|
375
|
+
labels?: Partial<typeof DEFAULT_LABELS_3>;
|
|
376
|
+
children?: React.ReactNode;
|
|
377
|
+
/** A Jss Object used to override or extend the styles applied. */
|
|
378
|
+
classes?: HvCanvasPanelClasses;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
export declare type HvCanvasTab = {
|
|
382
|
+
id: string;
|
|
383
|
+
content: React.ReactNode;
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
*
|
|
388
|
+
*/
|
|
389
|
+
export declare const HvCanvasTabs: (props: HvCanvasTabsProps) => JSX_2.Element;
|
|
390
|
+
|
|
391
|
+
export declare type HvCanvasTabsClasses = ExtractNames<typeof useClasses_5>;
|
|
392
|
+
|
|
393
|
+
export declare interface HvCanvasTabsProps extends Omit<TabsProps, "onChange"> {
|
|
394
|
+
/** The list of tabs. */
|
|
395
|
+
tabs: HvCanvasTab[];
|
|
396
|
+
/** Event handler to run when a tab is clicked. */
|
|
397
|
+
onChange?: (event: React.SyntheticEvent, tabId: string) => void;
|
|
398
|
+
/** A Jss Object used to override or extend the styles applied. */
|
|
399
|
+
classes?: HvCanvasTabsClasses;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* A toolbar component to use in a canvas context.
|
|
404
|
+
*/
|
|
405
|
+
export declare const HvCanvasToolbar: (props: HvCanvasToolbarProps) => JSX_2.Element;
|
|
406
|
+
|
|
407
|
+
export declare type HvCanvasToolbarClasses = ExtractNames<typeof useClasses_3>;
|
|
408
|
+
|
|
409
|
+
export declare interface HvCanvasToolbarProps extends HvBaseProps<HTMLDivElement, "title"> {
|
|
410
|
+
/** Text to display in the component. */
|
|
411
|
+
title: HvGlobalActionsProps["title"];
|
|
412
|
+
/** User can pass in a fully customized button or false for when the back button should not be rendered. */
|
|
413
|
+
backButton?: HvGlobalActionsProps["backButton"];
|
|
414
|
+
/** An object containing all the labels. */
|
|
415
|
+
labels?: Partial<typeof DEFAULT_LABELS_2>;
|
|
416
|
+
children: React.ReactNode;
|
|
417
|
+
/** A Jss Object used to override or extend the styles applied. */
|
|
418
|
+
classes?: HvCanvasToolbarClasses;
|
|
419
|
+
}
|
|
420
|
+
|
|
292
421
|
/**
|
|
293
422
|
* A Dashboard grid layout component, based on `react-grid-layout`.
|
|
294
423
|
* The children elements are grid items and must be `key`ed.
|
|
@@ -299,12 +428,12 @@ export declare interface HvBladesProps extends HvBaseProps<HTMLDivElement, "onCh
|
|
|
299
428
|
*/
|
|
300
429
|
export declare const HvDashboard: (props: HvDashboardProps) => JSX_2.Element;
|
|
301
430
|
|
|
302
|
-
export declare type HvDashboardClasses = ExtractNames<typeof
|
|
431
|
+
export declare type HvDashboardClasses = ExtractNames<typeof useClasses_6>;
|
|
303
432
|
|
|
304
433
|
/** @deprecated no longer supported. Instead create a custom node with `HvDialog` + `HvDashboard` */
|
|
305
434
|
export declare const HvDashboardNode: (props: HvDashboardNodeProps) => JSX_2.Element;
|
|
306
435
|
|
|
307
|
-
export declare type HvDashboardNodeClasses = ExtractNames<typeof
|
|
436
|
+
export declare type HvDashboardNodeClasses = ExtractNames<typeof useClasses_12>;
|
|
308
437
|
|
|
309
438
|
export declare const hvDashboardNodeClasses: {
|
|
310
439
|
root: "HvDashboardNode-root";
|
|
@@ -326,8 +455,8 @@ export declare const hvDashboardNodeClasses: {
|
|
|
326
455
|
outputGroupContainer: "HvDashboardNode-outputGroupContainer";
|
|
327
456
|
outputContainer: "HvDashboardNode-outputContainer";
|
|
328
457
|
handleConnected: "HvDashboardNode-handleConnected";
|
|
329
|
-
subtitleContainer: "HvDashboardNode-subtitleContainer";
|
|
330
458
|
subtitle: "HvDashboardNode-subtitle";
|
|
459
|
+
subtitleContainer: "HvDashboardNode-subtitleContainer";
|
|
331
460
|
inlineEditRoot: "HvDashboardNode-inlineEditRoot";
|
|
332
461
|
inlineEditButton: "HvDashboardNode-inlineEditButton";
|
|
333
462
|
actionsButton: "HvDashboardNode-actionsButton";
|
|
@@ -336,7 +465,7 @@ export declare const hvDashboardNodeClasses: {
|
|
|
336
465
|
|
|
337
466
|
export declare interface HvDashboardNodeProps extends HvFlowNodeProps, Pick<HvDialogProps, "open" | "onClose">, Pick<HvDashboardProps, "layout"> {
|
|
338
467
|
classes?: HvDashboardNodeClasses;
|
|
339
|
-
labels?: HvFlowNodeProps["labels"] & Partial<typeof
|
|
468
|
+
labels?: HvFlowNodeProps["labels"] & Partial<typeof DEFAULT_LABELS_8>;
|
|
340
469
|
previewItems?: React.ReactNode;
|
|
341
470
|
onApply?: () => void;
|
|
342
471
|
onCancel?: () => void;
|
|
@@ -407,27 +536,15 @@ export declare interface HvFlowBackgroundProps extends Omit<BackgroundProps, "co
|
|
|
407
536
|
color?: HvColorAny;
|
|
408
537
|
}
|
|
409
538
|
|
|
410
|
-
export declare const HvFlowBaseNode: ({ id, title, headerItems, icon, color: colorProp, inputs: inputsProp, outputs: outputsProp, nodeActions: nodeActionsProp, footer, classes: classesProp, labels:
|
|
539
|
+
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<unknown>) => JSX_2.Element | null;
|
|
411
540
|
|
|
412
|
-
export declare type HvFlowBaseNodeClasses = ExtractNames<typeof
|
|
541
|
+
export declare type HvFlowBaseNodeClasses = ExtractNames<typeof useClasses_10>;
|
|
413
542
|
|
|
414
|
-
export declare interface HvFlowBaseNodeProps<T = any> extends Omit<HvBaseProps, "id">, NodeProps<T> {
|
|
415
|
-
/** Header title */
|
|
416
|
-
title?: string;
|
|
417
|
-
/** Header icon */
|
|
418
|
-
icon?: default_2.ReactNode;
|
|
419
|
-
/** Header color */
|
|
420
|
-
color?: HvColorAny;
|
|
543
|
+
export declare interface HvFlowBaseNodeProps<T = any> extends Omit<HvBaseProps, "id" | "color">, Omit<HvUseNodeParams, "id">, NodeProps<T> {
|
|
421
544
|
/** Header items */
|
|
422
|
-
headerItems?:
|
|
423
|
-
/** Node inputs */
|
|
424
|
-
inputs?: (HvFlowNodeInput | HvFlowNodeInputGroup)[];
|
|
425
|
-
/** Node outputs */
|
|
426
|
-
outputs?: (HvFlowNodeOutput | HvFlowNodeOutputGroup)[];
|
|
427
|
-
/** Node actions */
|
|
428
|
-
nodeActions?: HvFlowNodeAction[];
|
|
545
|
+
headerItems?: React.ReactNode;
|
|
429
546
|
/** The content of the node footer */
|
|
430
|
-
footer?:
|
|
547
|
+
footer?: React.ReactNode;
|
|
431
548
|
/** Labels used on the node. */
|
|
432
549
|
labels?: Partial<typeof DEFAULT_LABELS>;
|
|
433
550
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
@@ -440,7 +557,7 @@ export declare type HvFlowBuiltInActions = Omit<HvFlowNodeAction, "id" | "callba
|
|
|
440
557
|
id: HvFlowBuiltInAction;
|
|
441
558
|
};
|
|
442
559
|
|
|
443
|
-
export declare type HvFlowClasses = ExtractNames<typeof
|
|
560
|
+
export declare type HvFlowClasses = ExtractNames<typeof useClasses_7>;
|
|
444
561
|
|
|
445
562
|
declare interface HvFlowContextValue<NodeGroups extends keyof any = string> {
|
|
446
563
|
/** Flow nodes groups. */
|
|
@@ -463,7 +580,7 @@ export declare interface HvFlowControlsProps extends Omit<ControlProps, "positio
|
|
|
463
580
|
/** Controls orientation. Defaults to `horizontal`. */
|
|
464
581
|
orientation?: "vertical" | "horizontal";
|
|
465
582
|
/** Labels used on the controls buttons. */
|
|
466
|
-
labels?: Partial<typeof
|
|
583
|
+
labels?: Partial<typeof DEFAULT_LABELS_4>;
|
|
467
584
|
/** Whether to hide the zoom controls. */
|
|
468
585
|
hideZoom?: boolean;
|
|
469
586
|
/** Whether to hide the fit view controls. */
|
|
@@ -488,7 +605,7 @@ export declare type HvFlowInstance<NodeData = any, EdgeData = any> = ReactFlowIn
|
|
|
488
605
|
|
|
489
606
|
export declare const HvFlowMinimap: ({ nodeColor, maskColor, maskStrokeColor, nodeStrokeColor, classes: classesProp, className, ...others }: HvFlowMinimapProps) => JSX_2.Element;
|
|
490
607
|
|
|
491
|
-
export declare type HvFlowMinimapClasses = ExtractNames<typeof
|
|
608
|
+
export declare type HvFlowMinimapClasses = ExtractNames<typeof useClasses_8>;
|
|
492
609
|
|
|
493
610
|
export declare interface HvFlowMinimapProps<NodeData = any> extends Omit<MiniMapProps<NodeData>, "nodeColor" | "nodeStrokeColor" | "maskColor" | "maskStrokeColor"> {
|
|
494
611
|
/** Node color. Defaults to `atmo4`. */
|
|
@@ -509,7 +626,7 @@ export declare interface HvFlowNodeAction extends HvActionGeneric {
|
|
|
509
626
|
callback?: (node: Node_2) => void;
|
|
510
627
|
}
|
|
511
628
|
|
|
512
|
-
export declare type HvFlowNodeClasses = ExtractNames<typeof
|
|
629
|
+
export declare type HvFlowNodeClasses = ExtractNames<typeof useClasses_11>;
|
|
513
630
|
|
|
514
631
|
/** HvFlowNode component type. @extends React.FC */
|
|
515
632
|
export declare interface HvFlowNodeFC<NodeData = any> extends React.FC<NodeProps<NodeData>> {
|
|
@@ -590,7 +707,7 @@ export declare interface HvFlowNodeProps<T = any> extends HvFlowBaseNodeProps<T>
|
|
|
590
707
|
/** Props to be passed to the expand parameters button. */
|
|
591
708
|
expandParamsButtonProps?: HvButtonProps;
|
|
592
709
|
/** Labels used on the node. */
|
|
593
|
-
labels?: HvFlowBaseNodeProps["labels"] & Partial<typeof
|
|
710
|
+
labels?: HvFlowBaseNodeProps["labels"] & Partial<typeof DEFAULT_LABELS_7>;
|
|
594
711
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
595
712
|
classes?: HvFlowNodeClasses;
|
|
596
713
|
/** Remove the ability to customize the label of the Node */
|
|
@@ -638,7 +755,7 @@ export declare interface HvFlowProps<NodeGroups extends keyof any = string, Node
|
|
|
638
755
|
|
|
639
756
|
export declare const HvFlowSidebar: ({ id, title, description, anchor, buttonTitle, flatten, classes: classesProp, labels: labelsProps, dragOverlayProps, ...others }: HvFlowSidebarProps) => JSX_2.Element;
|
|
640
757
|
|
|
641
|
-
export declare type HvFlowSidebarClasses = ExtractNames<typeof
|
|
758
|
+
export declare type HvFlowSidebarClasses = ExtractNames<typeof useClasses_9>;
|
|
642
759
|
|
|
643
760
|
export declare interface HvFlowSidebarProps extends Omit<HvDrawerProps, "classes" | "title"> {
|
|
644
761
|
/** Sidebar title. */
|
|
@@ -650,7 +767,7 @@ export declare interface HvFlowSidebarProps extends Omit<HvDrawerProps, "classes
|
|
|
650
767
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
651
768
|
classes?: HvFlowSidebarClasses;
|
|
652
769
|
/** Labels used on the sidebar. */
|
|
653
|
-
labels?: Partial<typeof
|
|
770
|
+
labels?: Partial<typeof DEFAULT_LABELS_5>;
|
|
654
771
|
/**
|
|
655
772
|
* Dnd Kit drag overlay props for customization.
|
|
656
773
|
*
|
|
@@ -659,7 +776,7 @@ export declare interface HvFlowSidebarProps extends Omit<HvDrawerProps, "classes
|
|
|
659
776
|
dragOverlayProps?: DragOverlayProps;
|
|
660
777
|
}
|
|
661
778
|
|
|
662
|
-
declare type HvStepClasses = ExtractNames<typeof
|
|
779
|
+
declare type HvStepClasses = ExtractNames<typeof useClasses_14>;
|
|
663
780
|
|
|
664
781
|
/**
|
|
665
782
|
* Navigation page with steps.
|
|
@@ -684,7 +801,7 @@ declare type HvStepClasses = ExtractNames<typeof useClasses_11>;
|
|
|
684
801
|
*/
|
|
685
802
|
export declare const HvStepNavigation: ({ className, classes: classesProp, width, steps, stepSize, showTitles, type, "aria-label": ariaLabel, ...others }: HvStepNavigationProps) => JSX_2.Element;
|
|
686
803
|
|
|
687
|
-
export declare type HvStepNavigationClasses = ExtractNames<typeof
|
|
804
|
+
export declare type HvStepNavigationClasses = ExtractNames<typeof useClasses_13>;
|
|
688
805
|
|
|
689
806
|
export declare interface HvStepNavigationProps extends HvBaseProps {
|
|
690
807
|
/** Type of step navigation. Values = {"Simple", "Default"} */
|
|
@@ -726,11 +843,31 @@ declare interface HvStepProps extends Pick<HvButtonProps, "onClick">, Omit<HvBas
|
|
|
726
843
|
disabled?: boolean;
|
|
727
844
|
}
|
|
728
845
|
|
|
846
|
+
export declare interface HvUseNodeParams {
|
|
847
|
+
id: string;
|
|
848
|
+
/** Node group ID */
|
|
849
|
+
groupId?: string;
|
|
850
|
+
title?: string;
|
|
851
|
+
subtitle?: string;
|
|
852
|
+
icon?: React.ReactNode;
|
|
853
|
+
color?: HvColorAny;
|
|
854
|
+
/** Node inputs */
|
|
855
|
+
inputs?: (HvFlowNodeInput | HvFlowNodeInputGroup)[];
|
|
856
|
+
/** Node outputs */
|
|
857
|
+
outputs?: (HvFlowNodeOutput | HvFlowNodeOutputGroup)[];
|
|
858
|
+
/** Node actions */
|
|
859
|
+
nodeActions?: HvFlowNodeAction[];
|
|
860
|
+
/** Labels used on the default actions. */
|
|
861
|
+
labels?: Partial<typeof DEFAULT_LABELS_6>;
|
|
862
|
+
/** Props for the NodeToolbar Component */
|
|
863
|
+
nodeToolbarProps?: NodeToolbarProps;
|
|
864
|
+
}
|
|
865
|
+
|
|
729
866
|
export declare const HvWizard: ({ className, children, onClose, handleSubmit, title, open, skippable, loading, hasSummary, summaryContent, labels, fixedHeight, customStep, classes: classesProp, ...others }: HvWizardProps) => JSX_2.Element;
|
|
730
867
|
|
|
731
868
|
export declare const HvWizardActions: ({ classes: classesProp, handleClose, handleSubmit, loading, skippable, labels, handleBeforeNext, handleBeforePrevious, }: HvWizardActionsProps) => JSX_2.Element;
|
|
732
869
|
|
|
733
|
-
export declare type HvWizardActionsClasses = ExtractNames<typeof
|
|
870
|
+
export declare type HvWizardActionsClasses = ExtractNames<typeof useClasses_16>;
|
|
734
871
|
|
|
735
872
|
export declare interface HvWizardActionsProps extends HvBaseProps {
|
|
736
873
|
/** Function to handle the cancel button. */
|
|
@@ -762,11 +899,11 @@ export declare interface HvWizardActionsProps extends HvBaseProps {
|
|
|
762
899
|
handleBeforePrevious?: () => void;
|
|
763
900
|
}
|
|
764
901
|
|
|
765
|
-
export declare type HvWizardClasses = ExtractNames<typeof
|
|
902
|
+
export declare type HvWizardClasses = ExtractNames<typeof useClasses_15>;
|
|
766
903
|
|
|
767
904
|
export declare const HvWizardContainer: (props: HvWizardContainerProps) => JSX_2.Element;
|
|
768
905
|
|
|
769
|
-
export declare type HvWizardContainerClasses = ExtractNames<typeof
|
|
906
|
+
export declare type HvWizardContainerClasses = ExtractNames<typeof useClasses_18>;
|
|
770
907
|
|
|
771
908
|
export declare interface HvWizardContainerProps extends Omit<HvBaseProps, "onClose">, Pick<HvDialogProps, "maxWidth" | "fullWidth"> {
|
|
772
909
|
/** Current state of the Wizard. */
|
|
@@ -779,7 +916,7 @@ export declare interface HvWizardContainerProps extends Omit<HvBaseProps, "onClo
|
|
|
779
916
|
|
|
780
917
|
export declare const HvWizardContent: ({ classes: classesProp, fixedHeight, loading, children, summaryContent, }: HvWizardContentProps) => JSX_2.Element;
|
|
781
918
|
|
|
782
|
-
export declare type HvWizardContentClasses = ExtractNames<typeof
|
|
919
|
+
export declare type HvWizardContentClasses = ExtractNames<typeof useClasses_19>;
|
|
783
920
|
|
|
784
921
|
export declare interface HvWizardContentProps extends HvBaseProps {
|
|
785
922
|
/** Forces minimum height to the component. */
|
|
@@ -848,7 +985,7 @@ export declare type HvWizardTabs = {
|
|
|
848
985
|
|
|
849
986
|
export declare const HvWizardTitle: ({ title, hasSummary, labels, classes: classesProp, customStep, }: HvWizardTitleProps) => JSX_2.Element;
|
|
850
987
|
|
|
851
|
-
export declare type HvWizardTitleClasses = ExtractNames<typeof
|
|
988
|
+
export declare type HvWizardTitleClasses = ExtractNames<typeof useClasses_17>;
|
|
852
989
|
|
|
853
990
|
export declare interface HvWizardTitleProps extends HvBaseProps {
|
|
854
991
|
/** Title for the wizard. */
|
|
@@ -892,7 +1029,103 @@ declare const useClasses: (classesProp?: Partial<Record<"container" | "root" | "
|
|
|
892
1029
|
cx: (...args: any) => string;
|
|
893
1030
|
};
|
|
894
1031
|
|
|
895
|
-
declare const useClasses_10: (classesProp?: Partial<Record<"root" | "
|
|
1032
|
+
declare const useClasses_10: (classesProp?: Partial<Record<"root" | "title" | "titleContainer" | "mandatory" | "footerContainer" | "inputContainer" | "handle" | "headerContainer" | "inputsTitleContainer" | "outputsTitleContainer" | "contentContainer" | "inputsContainer" | "outputsContainer" | "inputGroupContainer" | "outputGroupContainer" | "outputContainer" | "handleConnected", string>>, addStatic?: boolean) => {
|
|
1033
|
+
classes: {
|
|
1034
|
+
root: string;
|
|
1035
|
+
title: string;
|
|
1036
|
+
titleContainer: string;
|
|
1037
|
+
mandatory: string;
|
|
1038
|
+
footerContainer: string;
|
|
1039
|
+
inputContainer: string;
|
|
1040
|
+
handle: string;
|
|
1041
|
+
headerContainer: string;
|
|
1042
|
+
inputsTitleContainer: string;
|
|
1043
|
+
outputsTitleContainer: string;
|
|
1044
|
+
contentContainer: string;
|
|
1045
|
+
inputsContainer: string;
|
|
1046
|
+
outputsContainer: string;
|
|
1047
|
+
inputGroupContainer: string;
|
|
1048
|
+
outputGroupContainer: string;
|
|
1049
|
+
outputContainer: string;
|
|
1050
|
+
handleConnected: string;
|
|
1051
|
+
};
|
|
1052
|
+
css: {
|
|
1053
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
1054
|
+
(...args: CSSInterpolation[]): string;
|
|
1055
|
+
};
|
|
1056
|
+
cx: (...args: any) => string;
|
|
1057
|
+
};
|
|
1058
|
+
|
|
1059
|
+
declare const useClasses_11: (classesProp?: Partial<Record<"root" | "title" | "titleContainer" | "mandatory" | "actions" | "footerContainer" | "inputContainer" | "handle" | "headerContainer" | "inputsTitleContainer" | "outputsTitleContainer" | "contentContainer" | "inputsContainer" | "outputsContainer" | "inputGroupContainer" | "outputGroupContainer" | "outputContainer" | "handleConnected" | "subtitle" | "subtitleContainer" | "inlineEditRoot" | "inlineEditButton" | "actionsButton" | "paramsContainer", string>>, addStatic?: boolean) => {
|
|
1060
|
+
classes: {
|
|
1061
|
+
root: string;
|
|
1062
|
+
title: string;
|
|
1063
|
+
titleContainer: string;
|
|
1064
|
+
mandatory: string;
|
|
1065
|
+
actions: string;
|
|
1066
|
+
footerContainer: string;
|
|
1067
|
+
inputContainer: string;
|
|
1068
|
+
handle: string;
|
|
1069
|
+
headerContainer: string;
|
|
1070
|
+
inputsTitleContainer: string;
|
|
1071
|
+
outputsTitleContainer: string;
|
|
1072
|
+
contentContainer: string;
|
|
1073
|
+
inputsContainer: string;
|
|
1074
|
+
outputsContainer: string;
|
|
1075
|
+
inputGroupContainer: string;
|
|
1076
|
+
outputGroupContainer: string;
|
|
1077
|
+
outputContainer: string;
|
|
1078
|
+
handleConnected: string;
|
|
1079
|
+
subtitle: string;
|
|
1080
|
+
subtitleContainer: string;
|
|
1081
|
+
inlineEditRoot: string;
|
|
1082
|
+
inlineEditButton: string;
|
|
1083
|
+
actionsButton: string;
|
|
1084
|
+
paramsContainer: string;
|
|
1085
|
+
};
|
|
1086
|
+
css: {
|
|
1087
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
1088
|
+
(...args: CSSInterpolation[]): string;
|
|
1089
|
+
};
|
|
1090
|
+
cx: (...args: any) => string;
|
|
1091
|
+
};
|
|
1092
|
+
|
|
1093
|
+
declare const useClasses_12: (classesProp?: Partial<Record<"root" | "title" | "titleContainer" | "mandatory" | "empty" | "actions" | "footerContainer" | "inputContainer" | "handle" | "headerContainer" | "inputsTitleContainer" | "outputsTitleContainer" | "contentContainer" | "inputsContainer" | "outputsContainer" | "inputGroupContainer" | "outputGroupContainer" | "outputContainer" | "handleConnected" | "subtitle" | "subtitleContainer" | "inlineEditRoot" | "inlineEditButton" | "actionsButton" | "paramsContainer", string>>, addStatic?: boolean) => {
|
|
1094
|
+
classes: {
|
|
1095
|
+
root: string;
|
|
1096
|
+
title: string;
|
|
1097
|
+
titleContainer: string;
|
|
1098
|
+
mandatory: string;
|
|
1099
|
+
empty: string;
|
|
1100
|
+
actions: string;
|
|
1101
|
+
footerContainer: string;
|
|
1102
|
+
inputContainer: string;
|
|
1103
|
+
handle: string;
|
|
1104
|
+
headerContainer: string;
|
|
1105
|
+
inputsTitleContainer: string;
|
|
1106
|
+
outputsTitleContainer: string;
|
|
1107
|
+
contentContainer: string;
|
|
1108
|
+
inputsContainer: string;
|
|
1109
|
+
outputsContainer: string;
|
|
1110
|
+
inputGroupContainer: string;
|
|
1111
|
+
outputGroupContainer: string;
|
|
1112
|
+
outputContainer: string;
|
|
1113
|
+
handleConnected: string;
|
|
1114
|
+
subtitle: string;
|
|
1115
|
+
subtitleContainer: string;
|
|
1116
|
+
inlineEditRoot: string;
|
|
1117
|
+
inlineEditButton: string;
|
|
1118
|
+
actionsButton: string;
|
|
1119
|
+
paramsContainer: string;
|
|
1120
|
+
};
|
|
1121
|
+
css: {
|
|
1122
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
1123
|
+
(...args: CSSInterpolation[]): string;
|
|
1124
|
+
};
|
|
1125
|
+
cx: (...args: any) => string;
|
|
1126
|
+
};
|
|
1127
|
+
|
|
1128
|
+
declare const useClasses_13: (classesProp?: Partial<Record<"root" | "separator" | "li" | "ol" | "titles", string>>, addStatic?: boolean) => {
|
|
896
1129
|
classes: {
|
|
897
1130
|
root: string;
|
|
898
1131
|
separator: string;
|
|
@@ -907,7 +1140,7 @@ declare const useClasses_10: (classesProp?: Partial<Record<"root" | "separator"
|
|
|
907
1140
|
cx: (...args: any) => string;
|
|
908
1141
|
};
|
|
909
1142
|
|
|
910
|
-
declare const
|
|
1143
|
+
declare const useClasses_14: (classesProp?: Partial<Record<"xs" | "sm" | "md" | "lg" | "xl" | "root" | "ghost" | "avatar" | "ghostDisabled" | "notCurrent", string>>, addStatic?: boolean) => {
|
|
911
1144
|
classes: {
|
|
912
1145
|
xs: string;
|
|
913
1146
|
sm: string;
|
|
@@ -927,7 +1160,7 @@ declare const useClasses_11: (classesProp?: Partial<Record<"xs" | "sm" | "md" |
|
|
|
927
1160
|
cx: (...args: any) => string;
|
|
928
1161
|
};
|
|
929
1162
|
|
|
930
|
-
declare const
|
|
1163
|
+
declare const useClasses_15: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
931
1164
|
classes: {
|
|
932
1165
|
root: string;
|
|
933
1166
|
};
|
|
@@ -938,7 +1171,7 @@ declare const useClasses_12: (classesProp?: Partial<Record<"root", string>>, add
|
|
|
938
1171
|
cx: (...args: any) => string;
|
|
939
1172
|
};
|
|
940
1173
|
|
|
941
|
-
declare const
|
|
1174
|
+
declare const useClasses_16: (classesProp?: Partial<Record<"actionsContainer" | "buttonWidth" | "buttonsContainer" | "buttonSpacing", string>>, addStatic?: boolean) => {
|
|
942
1175
|
classes: {
|
|
943
1176
|
actionsContainer: string;
|
|
944
1177
|
buttonWidth: string;
|
|
@@ -952,7 +1185,7 @@ declare const useClasses_13: (classesProp?: Partial<Record<"actionsContainer" |
|
|
|
952
1185
|
cx: (...args: any) => string;
|
|
953
1186
|
};
|
|
954
1187
|
|
|
955
|
-
declare const
|
|
1188
|
+
declare const useClasses_17: (classesProp?: Partial<Record<"titleContainer" | "messageContainer" | "headerContainer" | "buttonWidth" | "rootSummaryButton" | "stepContainer", string>>, addStatic?: boolean) => {
|
|
956
1189
|
classes: {
|
|
957
1190
|
titleContainer: string;
|
|
958
1191
|
messageContainer: string;
|
|
@@ -968,7 +1201,7 @@ declare const useClasses_14: (classesProp?: Partial<Record<"titleContainer" | "m
|
|
|
968
1201
|
cx: (...args: any) => string;
|
|
969
1202
|
};
|
|
970
1203
|
|
|
971
|
-
declare const
|
|
1204
|
+
declare const useClasses_18: (classesProp?: Partial<Record<"root" | "paper" | "closeButton", string>>, addStatic?: boolean) => {
|
|
972
1205
|
classes: {
|
|
973
1206
|
root: string;
|
|
974
1207
|
paper: string;
|
|
@@ -981,7 +1214,7 @@ declare const useClasses_15: (classesProp?: Partial<Record<"root" | "paper" | "c
|
|
|
981
1214
|
cx: (...args: any) => string;
|
|
982
1215
|
};
|
|
983
1216
|
|
|
984
|
-
declare const
|
|
1217
|
+
declare const useClasses_19: (classesProp?: Partial<Record<"contentContainer" | "fixedHeight" | "summaryRef" | "summarySticky" | "summaryContainer", string>>, addStatic?: boolean) => {
|
|
985
1218
|
classes: {
|
|
986
1219
|
contentContainer: string;
|
|
987
1220
|
fixedHeight: string;
|
|
@@ -1007,9 +1240,12 @@ declare const useClasses_2: (classesProp?: Partial<Record<"root", string>>, addS
|
|
|
1007
1240
|
cx: (...args: any) => string;
|
|
1008
1241
|
};
|
|
1009
1242
|
|
|
1010
|
-
declare const useClasses_3: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
1243
|
+
declare const useClasses_3: (classesProp?: Partial<Record<"root" | "title" | "actions" | "back", string>>, addStatic?: boolean) => {
|
|
1011
1244
|
classes: {
|
|
1012
1245
|
root: string;
|
|
1246
|
+
title: string;
|
|
1247
|
+
actions: string;
|
|
1248
|
+
back: string;
|
|
1013
1249
|
};
|
|
1014
1250
|
css: {
|
|
1015
1251
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -1018,9 +1254,17 @@ declare const useClasses_3: (classesProp?: Partial<Record<"root", string>>, addS
|
|
|
1018
1254
|
cx: (...args: any) => string;
|
|
1019
1255
|
};
|
|
1020
1256
|
|
|
1021
|
-
declare const useClasses_4: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
1257
|
+
declare const useClasses_4: (classesProp?: Partial<Record<"content" | "root" | "open" | "close" | "handle" | "tabs" | "handleButton" | "handleOpen" | "handleClose", string>>, addStatic?: boolean) => {
|
|
1022
1258
|
classes: {
|
|
1259
|
+
content: string;
|
|
1023
1260
|
root: string;
|
|
1261
|
+
open: string;
|
|
1262
|
+
close: string;
|
|
1263
|
+
handle: string;
|
|
1264
|
+
tabs: string;
|
|
1265
|
+
handleButton: string;
|
|
1266
|
+
handleOpen: string;
|
|
1267
|
+
handleClose: string;
|
|
1024
1268
|
};
|
|
1025
1269
|
css: {
|
|
1026
1270
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -1029,9 +1273,12 @@ declare const useClasses_4: (classesProp?: Partial<Record<"root", string>>, addS
|
|
|
1029
1273
|
cx: (...args: any) => string;
|
|
1030
1274
|
};
|
|
1031
1275
|
|
|
1032
|
-
declare const useClasses_5: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
1276
|
+
declare const useClasses_5: (classesProp?: Partial<Record<"root" | "list" | "selected" | "tab", string>>, addStatic?: boolean) => {
|
|
1033
1277
|
classes: {
|
|
1034
1278
|
root: string;
|
|
1279
|
+
list: string;
|
|
1280
|
+
selected: string;
|
|
1281
|
+
tab: string;
|
|
1035
1282
|
};
|
|
1036
1283
|
css: {
|
|
1037
1284
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -1040,14 +1287,9 @@ declare const useClasses_5: (classesProp?: Partial<Record<"root", string>>, addS
|
|
|
1040
1287
|
cx: (...args: any) => string;
|
|
1041
1288
|
};
|
|
1042
1289
|
|
|
1043
|
-
declare const useClasses_6: (classesProp?: Partial<Record<"
|
|
1290
|
+
declare const useClasses_6: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
1044
1291
|
classes: {
|
|
1045
|
-
|
|
1046
|
-
titleContainer: string;
|
|
1047
|
-
contentContainer: string;
|
|
1048
|
-
drawerPaper: string;
|
|
1049
|
-
searchRoot: string;
|
|
1050
|
-
groupsContainer: string;
|
|
1292
|
+
root: string;
|
|
1051
1293
|
};
|
|
1052
1294
|
css: {
|
|
1053
1295
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -1056,25 +1298,9 @@ declare const useClasses_6: (classesProp?: Partial<Record<"description" | "title
|
|
|
1056
1298
|
cx: (...args: any) => string;
|
|
1057
1299
|
};
|
|
1058
1300
|
|
|
1059
|
-
declare const useClasses_7: (classesProp?: Partial<Record<"root"
|
|
1301
|
+
declare const useClasses_7: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
1060
1302
|
classes: {
|
|
1061
1303
|
root: string;
|
|
1062
|
-
title: string;
|
|
1063
|
-
titleContainer: string;
|
|
1064
|
-
mandatory: string;
|
|
1065
|
-
footerContainer: string;
|
|
1066
|
-
inputContainer: string;
|
|
1067
|
-
handle: string;
|
|
1068
|
-
headerContainer: string;
|
|
1069
|
-
inputsTitleContainer: string;
|
|
1070
|
-
outputsTitleContainer: string;
|
|
1071
|
-
contentContainer: string;
|
|
1072
|
-
inputsContainer: string;
|
|
1073
|
-
outputsContainer: string;
|
|
1074
|
-
inputGroupContainer: string;
|
|
1075
|
-
outputGroupContainer: string;
|
|
1076
|
-
outputContainer: string;
|
|
1077
|
-
handleConnected: string;
|
|
1078
1304
|
};
|
|
1079
1305
|
css: {
|
|
1080
1306
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -1083,32 +1309,9 @@ declare const useClasses_7: (classesProp?: Partial<Record<"root" | "title" | "ti
|
|
|
1083
1309
|
cx: (...args: any) => string;
|
|
1084
1310
|
};
|
|
1085
1311
|
|
|
1086
|
-
declare const useClasses_8: (classesProp?: Partial<Record<"root"
|
|
1312
|
+
declare const useClasses_8: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
1087
1313
|
classes: {
|
|
1088
1314
|
root: string;
|
|
1089
|
-
title: string;
|
|
1090
|
-
titleContainer: string;
|
|
1091
|
-
mandatory: string;
|
|
1092
|
-
actions: string;
|
|
1093
|
-
footerContainer: string;
|
|
1094
|
-
inputContainer: string;
|
|
1095
|
-
handle: string;
|
|
1096
|
-
headerContainer: string;
|
|
1097
|
-
inputsTitleContainer: string;
|
|
1098
|
-
outputsTitleContainer: string;
|
|
1099
|
-
contentContainer: string;
|
|
1100
|
-
inputsContainer: string;
|
|
1101
|
-
outputsContainer: string;
|
|
1102
|
-
inputGroupContainer: string;
|
|
1103
|
-
outputGroupContainer: string;
|
|
1104
|
-
outputContainer: string;
|
|
1105
|
-
handleConnected: string;
|
|
1106
|
-
subtitleContainer: string;
|
|
1107
|
-
subtitle: string;
|
|
1108
|
-
inlineEditRoot: string;
|
|
1109
|
-
inlineEditButton: string;
|
|
1110
|
-
actionsButton: string;
|
|
1111
|
-
paramsContainer: string;
|
|
1112
1315
|
};
|
|
1113
1316
|
css: {
|
|
1114
1317
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -1117,33 +1320,14 @@ declare const useClasses_8: (classesProp?: Partial<Record<"root" | "title" | "ti
|
|
|
1117
1320
|
cx: (...args: any) => string;
|
|
1118
1321
|
};
|
|
1119
1322
|
|
|
1120
|
-
declare const useClasses_9: (classesProp?: Partial<Record<"
|
|
1323
|
+
declare const useClasses_9: (classesProp?: Partial<Record<"description" | "titleContainer" | "contentContainer" | "drawerPaper" | "searchRoot" | "groupsContainer", string>>, addStatic?: boolean) => {
|
|
1121
1324
|
classes: {
|
|
1122
|
-
|
|
1123
|
-
title: string;
|
|
1325
|
+
description: string;
|
|
1124
1326
|
titleContainer: string;
|
|
1125
|
-
mandatory: string;
|
|
1126
|
-
empty: string;
|
|
1127
|
-
actions: string;
|
|
1128
|
-
footerContainer: string;
|
|
1129
|
-
inputContainer: string;
|
|
1130
|
-
handle: string;
|
|
1131
|
-
headerContainer: string;
|
|
1132
|
-
inputsTitleContainer: string;
|
|
1133
|
-
outputsTitleContainer: string;
|
|
1134
1327
|
contentContainer: string;
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
outputGroupContainer: string;
|
|
1139
|
-
outputContainer: string;
|
|
1140
|
-
handleConnected: string;
|
|
1141
|
-
subtitleContainer: string;
|
|
1142
|
-
subtitle: string;
|
|
1143
|
-
inlineEditRoot: string;
|
|
1144
|
-
inlineEditButton: string;
|
|
1145
|
-
actionsButton: string;
|
|
1146
|
-
paramsContainer: string;
|
|
1328
|
+
drawerPaper: string;
|
|
1329
|
+
searchRoot: string;
|
|
1330
|
+
groupsContainer: string;
|
|
1147
1331
|
};
|
|
1148
1332
|
css: {
|
|
1149
1333
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -1185,6 +1369,308 @@ export declare function useFlowNodeUtils<NodeData = any>(id?: string): {
|
|
|
1185
1369
|
/** Retrieves the nodes connected to the outputs of the node */
|
|
1186
1370
|
export declare function useFlowOutputNodes<T = any>(id?: string): Node_2<T, string | undefined>[];
|
|
1187
1371
|
|
|
1372
|
+
export declare function useHvNode(props: HvUseNodeParams): {
|
|
1373
|
+
id: string;
|
|
1374
|
+
title: string | undefined;
|
|
1375
|
+
icon: string | number | boolean | Iterable<ReactNode> | ReactElement<unknown, string | JSXElementConstructor<any>> | null | undefined;
|
|
1376
|
+
color: string | undefined;
|
|
1377
|
+
iconColor: string | undefined;
|
|
1378
|
+
subtitle: any;
|
|
1379
|
+
inputs: (HvFlowNodeInput | HvFlowNodeOutput | {
|
|
1380
|
+
inputs: HvFlowNodeInput[];
|
|
1381
|
+
label: ReactNode;
|
|
1382
|
+
} | {
|
|
1383
|
+
outputs: HvFlowNodeOutput[];
|
|
1384
|
+
label: ReactNode;
|
|
1385
|
+
})[] | undefined;
|
|
1386
|
+
inputEdges: Edge<any>[];
|
|
1387
|
+
outputs: (HvFlowNodeInput | HvFlowNodeOutput | {
|
|
1388
|
+
inputs: HvFlowNodeInput[];
|
|
1389
|
+
label: ReactNode;
|
|
1390
|
+
} | {
|
|
1391
|
+
outputs: HvFlowNodeOutput[];
|
|
1392
|
+
label: ReactNode;
|
|
1393
|
+
})[] | undefined;
|
|
1394
|
+
outputEdges: Edge<any>[];
|
|
1395
|
+
node: Node_2<any, string | undefined> | undefined;
|
|
1396
|
+
nodeActions: HvFlowNodeAction[];
|
|
1397
|
+
showActions: boolean;
|
|
1398
|
+
getNodeToolbarProps: () => {
|
|
1399
|
+
defaultChecked?: boolean | undefined;
|
|
1400
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
1401
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
1402
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
1403
|
+
accessKey?: string | undefined;
|
|
1404
|
+
autoFocus?: boolean | undefined;
|
|
1405
|
+
className?: string | undefined;
|
|
1406
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
1407
|
+
contextMenu?: string | undefined;
|
|
1408
|
+
dir?: string | undefined;
|
|
1409
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
1410
|
+
hidden?: boolean | undefined;
|
|
1411
|
+
id?: string | undefined;
|
|
1412
|
+
lang?: string | undefined;
|
|
1413
|
+
nonce?: string | undefined;
|
|
1414
|
+
slot?: string | undefined;
|
|
1415
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
1416
|
+
style?: CSSProperties | undefined;
|
|
1417
|
+
tabIndex?: number | undefined;
|
|
1418
|
+
title?: string | undefined;
|
|
1419
|
+
translate?: "no" | "yes" | undefined;
|
|
1420
|
+
radioGroup?: string | undefined;
|
|
1421
|
+
role?: AriaRole | undefined;
|
|
1422
|
+
about?: string | undefined;
|
|
1423
|
+
content?: string | undefined;
|
|
1424
|
+
datatype?: string | undefined;
|
|
1425
|
+
inlist?: any;
|
|
1426
|
+
prefix?: string | undefined;
|
|
1427
|
+
property?: string | undefined;
|
|
1428
|
+
rel?: string | undefined;
|
|
1429
|
+
resource?: string | undefined;
|
|
1430
|
+
rev?: string | undefined;
|
|
1431
|
+
typeof?: string | undefined;
|
|
1432
|
+
vocab?: string | undefined;
|
|
1433
|
+
autoCapitalize?: string | undefined;
|
|
1434
|
+
autoCorrect?: string | undefined;
|
|
1435
|
+
autoSave?: string | undefined;
|
|
1436
|
+
color?: string | undefined;
|
|
1437
|
+
itemProp?: string | undefined;
|
|
1438
|
+
itemScope?: boolean | undefined;
|
|
1439
|
+
itemType?: string | undefined;
|
|
1440
|
+
itemID?: string | undefined;
|
|
1441
|
+
itemRef?: string | undefined;
|
|
1442
|
+
results?: number | undefined;
|
|
1443
|
+
security?: string | undefined;
|
|
1444
|
+
unselectable?: "on" | "off" | undefined;
|
|
1445
|
+
inputMode?: "search" | "none" | "text" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
|
|
1446
|
+
is?: string | undefined;
|
|
1447
|
+
children?: ReactNode;
|
|
1448
|
+
"aria-activedescendant"?: string | undefined;
|
|
1449
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
1450
|
+
"aria-autocomplete"?: "none" | "list" | "both" | "inline" | undefined;
|
|
1451
|
+
"aria-braillelabel"?: string | undefined;
|
|
1452
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
1453
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
1454
|
+
"aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
1455
|
+
"aria-colcount"?: number | undefined;
|
|
1456
|
+
"aria-colindex"?: number | undefined;
|
|
1457
|
+
"aria-colindextext"?: string | undefined;
|
|
1458
|
+
"aria-colspan"?: number | undefined;
|
|
1459
|
+
"aria-controls"?: string | undefined;
|
|
1460
|
+
"aria-current"?: boolean | "page" | "step" | "false" | "true" | "time" | "date" | "location" | undefined;
|
|
1461
|
+
"aria-describedby"?: string | undefined;
|
|
1462
|
+
"aria-description"?: string | undefined;
|
|
1463
|
+
"aria-details"?: string | undefined;
|
|
1464
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
1465
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
1466
|
+
"aria-errormessage"?: string | undefined;
|
|
1467
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
1468
|
+
"aria-flowto"?: string | undefined;
|
|
1469
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
1470
|
+
"aria-haspopup"?: boolean | "grid" | "menu" | "listbox" | "false" | "true" | "dialog" | "tree" | undefined;
|
|
1471
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
1472
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
1473
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
1474
|
+
"aria-label"?: string | undefined;
|
|
1475
|
+
"aria-labelledby"?: string | undefined;
|
|
1476
|
+
"aria-level"?: number | undefined;
|
|
1477
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
1478
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
1479
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
1480
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
1481
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
1482
|
+
"aria-owns"?: string | undefined;
|
|
1483
|
+
"aria-placeholder"?: string | undefined;
|
|
1484
|
+
"aria-posinset"?: number | undefined;
|
|
1485
|
+
"aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
1486
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
1487
|
+
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
1488
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
1489
|
+
"aria-roledescription"?: string | undefined;
|
|
1490
|
+
"aria-rowcount"?: number | undefined;
|
|
1491
|
+
"aria-rowindex"?: number | undefined;
|
|
1492
|
+
"aria-rowindextext"?: string | undefined;
|
|
1493
|
+
"aria-rowspan"?: number | undefined;
|
|
1494
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
1495
|
+
"aria-setsize"?: number | undefined;
|
|
1496
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
1497
|
+
"aria-valuemax"?: number | undefined;
|
|
1498
|
+
"aria-valuemin"?: number | undefined;
|
|
1499
|
+
"aria-valuenow"?: number | undefined;
|
|
1500
|
+
"aria-valuetext"?: string | undefined;
|
|
1501
|
+
dangerouslySetInnerHTML?: {
|
|
1502
|
+
__html: string | TrustedHTML;
|
|
1503
|
+
} | undefined;
|
|
1504
|
+
onCopy?: ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
1505
|
+
onCopyCapture?: ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
1506
|
+
onCut?: ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
1507
|
+
onCutCapture?: ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
1508
|
+
onPaste?: ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
1509
|
+
onPasteCapture?: ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
1510
|
+
onCompositionEnd?: CompositionEventHandler<HTMLDivElement> | undefined;
|
|
1511
|
+
onCompositionEndCapture?: CompositionEventHandler<HTMLDivElement> | undefined;
|
|
1512
|
+
onCompositionStart?: CompositionEventHandler<HTMLDivElement> | undefined;
|
|
1513
|
+
onCompositionStartCapture?: CompositionEventHandler<HTMLDivElement> | undefined;
|
|
1514
|
+
onCompositionUpdate?: CompositionEventHandler<HTMLDivElement> | undefined;
|
|
1515
|
+
onCompositionUpdateCapture?: CompositionEventHandler<HTMLDivElement> | undefined;
|
|
1516
|
+
onFocus?: FocusEventHandler<HTMLDivElement> | undefined;
|
|
1517
|
+
onFocusCapture?: FocusEventHandler<HTMLDivElement> | undefined;
|
|
1518
|
+
onBlur?: FocusEventHandler<HTMLDivElement> | undefined;
|
|
1519
|
+
onBlurCapture?: FocusEventHandler<HTMLDivElement> | undefined;
|
|
1520
|
+
onChange?: FormEventHandler<HTMLDivElement> | undefined;
|
|
1521
|
+
onChangeCapture?: FormEventHandler<HTMLDivElement> | undefined;
|
|
1522
|
+
onBeforeInput?: FormEventHandler<HTMLDivElement> | undefined;
|
|
1523
|
+
onBeforeInputCapture?: FormEventHandler<HTMLDivElement> | undefined;
|
|
1524
|
+
onInput?: FormEventHandler<HTMLDivElement> | undefined;
|
|
1525
|
+
onInputCapture?: FormEventHandler<HTMLDivElement> | undefined;
|
|
1526
|
+
onReset?: FormEventHandler<HTMLDivElement> | undefined;
|
|
1527
|
+
onResetCapture?: FormEventHandler<HTMLDivElement> | undefined;
|
|
1528
|
+
onSubmit?: FormEventHandler<HTMLDivElement> | undefined;
|
|
1529
|
+
onSubmitCapture?: FormEventHandler<HTMLDivElement> | undefined;
|
|
1530
|
+
onInvalid?: FormEventHandler<HTMLDivElement> | undefined;
|
|
1531
|
+
onInvalidCapture?: FormEventHandler<HTMLDivElement> | undefined;
|
|
1532
|
+
onLoad?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1533
|
+
onLoadCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1534
|
+
onError?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1535
|
+
onErrorCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1536
|
+
onKeyDown?: KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
1537
|
+
onKeyDownCapture?: KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
1538
|
+
onKeyPress?: KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
1539
|
+
onKeyPressCapture?: KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
1540
|
+
onKeyUp?: KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
1541
|
+
onKeyUpCapture?: KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
1542
|
+
onAbort?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1543
|
+
onAbortCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1544
|
+
onCanPlay?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1545
|
+
onCanPlayCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1546
|
+
onCanPlayThrough?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1547
|
+
onCanPlayThroughCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1548
|
+
onDurationChange?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1549
|
+
onDurationChangeCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1550
|
+
onEmptied?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1551
|
+
onEmptiedCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1552
|
+
onEncrypted?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1553
|
+
onEncryptedCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1554
|
+
onEnded?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1555
|
+
onEndedCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1556
|
+
onLoadedData?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1557
|
+
onLoadedDataCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1558
|
+
onLoadedMetadata?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1559
|
+
onLoadedMetadataCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1560
|
+
onLoadStart?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1561
|
+
onLoadStartCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1562
|
+
onPause?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1563
|
+
onPauseCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1564
|
+
onPlay?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1565
|
+
onPlayCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1566
|
+
onPlaying?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1567
|
+
onPlayingCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1568
|
+
onProgress?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1569
|
+
onProgressCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1570
|
+
onRateChange?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1571
|
+
onRateChangeCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1572
|
+
onResize?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1573
|
+
onResizeCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1574
|
+
onSeeked?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1575
|
+
onSeekedCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1576
|
+
onSeeking?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1577
|
+
onSeekingCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1578
|
+
onStalled?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1579
|
+
onStalledCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1580
|
+
onSuspend?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1581
|
+
onSuspendCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1582
|
+
onTimeUpdate?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1583
|
+
onTimeUpdateCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1584
|
+
onVolumeChange?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1585
|
+
onVolumeChangeCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1586
|
+
onWaiting?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1587
|
+
onWaitingCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1588
|
+
onAuxClick?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1589
|
+
onAuxClickCapture?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1590
|
+
onClick?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1591
|
+
onClickCapture?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1592
|
+
onContextMenu?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1593
|
+
onContextMenuCapture?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1594
|
+
onDoubleClick?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1595
|
+
onDoubleClickCapture?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1596
|
+
onDrag?: DragEventHandler<HTMLDivElement> | undefined;
|
|
1597
|
+
onDragCapture?: DragEventHandler<HTMLDivElement> | undefined;
|
|
1598
|
+
onDragEnd?: DragEventHandler<HTMLDivElement> | undefined;
|
|
1599
|
+
onDragEndCapture?: DragEventHandler<HTMLDivElement> | undefined;
|
|
1600
|
+
onDragEnter?: DragEventHandler<HTMLDivElement> | undefined;
|
|
1601
|
+
onDragEnterCapture?: DragEventHandler<HTMLDivElement> | undefined;
|
|
1602
|
+
onDragExit?: DragEventHandler<HTMLDivElement> | undefined;
|
|
1603
|
+
onDragExitCapture?: DragEventHandler<HTMLDivElement> | undefined;
|
|
1604
|
+
onDragLeave?: DragEventHandler<HTMLDivElement> | undefined;
|
|
1605
|
+
onDragLeaveCapture?: DragEventHandler<HTMLDivElement> | undefined;
|
|
1606
|
+
onDragOver?: DragEventHandler<HTMLDivElement> | undefined;
|
|
1607
|
+
onDragOverCapture?: DragEventHandler<HTMLDivElement> | undefined;
|
|
1608
|
+
onDragStart?: DragEventHandler<HTMLDivElement> | undefined;
|
|
1609
|
+
onDragStartCapture?: DragEventHandler<HTMLDivElement> | undefined;
|
|
1610
|
+
onDrop?: DragEventHandler<HTMLDivElement> | undefined;
|
|
1611
|
+
onDropCapture?: DragEventHandler<HTMLDivElement> | undefined;
|
|
1612
|
+
onMouseDown?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1613
|
+
onMouseDownCapture?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1614
|
+
onMouseEnter?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1615
|
+
onMouseLeave?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1616
|
+
onMouseMove?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1617
|
+
onMouseMoveCapture?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1618
|
+
onMouseOut?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1619
|
+
onMouseOutCapture?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1620
|
+
onMouseOver?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1621
|
+
onMouseOverCapture?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1622
|
+
onMouseUp?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1623
|
+
onMouseUpCapture?: MouseEventHandler<HTMLDivElement> | undefined;
|
|
1624
|
+
onSelect?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1625
|
+
onSelectCapture?: ReactEventHandler<HTMLDivElement> | undefined;
|
|
1626
|
+
onTouchCancel?: TouchEventHandler<HTMLDivElement> | undefined;
|
|
1627
|
+
onTouchCancelCapture?: TouchEventHandler<HTMLDivElement> | undefined;
|
|
1628
|
+
onTouchEnd?: TouchEventHandler<HTMLDivElement> | undefined;
|
|
1629
|
+
onTouchEndCapture?: TouchEventHandler<HTMLDivElement> | undefined;
|
|
1630
|
+
onTouchMove?: TouchEventHandler<HTMLDivElement> | undefined;
|
|
1631
|
+
onTouchMoveCapture?: TouchEventHandler<HTMLDivElement> | undefined;
|
|
1632
|
+
onTouchStart?: TouchEventHandler<HTMLDivElement> | undefined;
|
|
1633
|
+
onTouchStartCapture?: TouchEventHandler<HTMLDivElement> | undefined;
|
|
1634
|
+
onPointerDown?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1635
|
+
onPointerDownCapture?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1636
|
+
onPointerMove?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1637
|
+
onPointerMoveCapture?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1638
|
+
onPointerUp?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1639
|
+
onPointerUpCapture?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1640
|
+
onPointerCancel?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1641
|
+
onPointerCancelCapture?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1642
|
+
onPointerEnter?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1643
|
+
onPointerLeave?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1644
|
+
onPointerOver?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1645
|
+
onPointerOverCapture?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1646
|
+
onPointerOut?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1647
|
+
onPointerOutCapture?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1648
|
+
onGotPointerCapture?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1649
|
+
onGotPointerCaptureCapture?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1650
|
+
onLostPointerCapture?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1651
|
+
onLostPointerCaptureCapture?: PointerEventHandler<HTMLDivElement> | undefined;
|
|
1652
|
+
onScroll?: UIEventHandler<HTMLDivElement> | undefined;
|
|
1653
|
+
onScrollCapture?: UIEventHandler<HTMLDivElement> | undefined;
|
|
1654
|
+
onWheel?: WheelEventHandler<HTMLDivElement> | undefined;
|
|
1655
|
+
onWheelCapture?: WheelEventHandler<HTMLDivElement> | undefined;
|
|
1656
|
+
onAnimationStart?: AnimationEventHandler<HTMLDivElement> | undefined;
|
|
1657
|
+
onAnimationStartCapture?: AnimationEventHandler<HTMLDivElement> | undefined;
|
|
1658
|
+
onAnimationEnd?: AnimationEventHandler<HTMLDivElement> | undefined;
|
|
1659
|
+
onAnimationEndCapture?: AnimationEventHandler<HTMLDivElement> | undefined;
|
|
1660
|
+
onAnimationIteration?: AnimationEventHandler<HTMLDivElement> | undefined;
|
|
1661
|
+
onAnimationIterationCapture?: AnimationEventHandler<HTMLDivElement> | undefined;
|
|
1662
|
+
onTransitionEnd?: TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1663
|
+
onTransitionEndCapture?: TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1664
|
+
nodeId?: string | string[] | undefined;
|
|
1665
|
+
isVisible: boolean;
|
|
1666
|
+
position?: Position | undefined;
|
|
1667
|
+
offset: number;
|
|
1668
|
+
align?: Align | undefined;
|
|
1669
|
+
};
|
|
1670
|
+
toggleShowActions: () => void;
|
|
1671
|
+
handleDefaultAction: (action: HvFlowNodeAction) => void;
|
|
1672
|
+
};
|
|
1673
|
+
|
|
1188
1674
|
export declare function useNodeMetaRegistry(): {
|
|
1189
1675
|
registerNode: (id: string, nodeInfo: HvFlowNodeMeta) => void;
|
|
1190
1676
|
unregisterNode: (id: string) => void;
|