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