pixel-react 1.1.4 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- package/.yarn/install-state.gz +0 -0
- package/lib/components/AddResourceButton/type.d.ts +1 -1
- package/lib/components/AllProjectsDropdown/AllProjectsDropdown.d.ts +2 -1
- package/lib/components/AllProjectsDropdown/AllProjectsDropdown.stories.d.ts +1 -0
- package/lib/components/AllProjectsDropdown/types.d.ts +10 -0
- package/lib/components/Button/Button.stories.d.ts +1 -0
- package/lib/components/Button/types.d.ts +1 -1
- package/lib/components/Drawer/Drawer.stories.d.ts +3 -0
- package/lib/components/Drawer/Types.d.ts +25 -1
- package/lib/components/Icon/Icon.d.ts +1 -1
- package/lib/components/MachineInputField/MachineInputField.d.ts +4 -0
- package/lib/components/MachineInputField/MachineInputField.stories.d.ts +6 -0
- package/lib/components/MachineInputField/index.d.ts +1 -0
- package/lib/components/MachineInputField/types.d.ts +11 -0
- package/lib/components/MenuOption/MenuOption.d.ts +1 -1
- package/lib/components/MenuOption/MenuOption.stories.d.ts +1 -0
- package/lib/components/MenuOption/types.d.ts +7 -0
- package/lib/components/Modal/types.d.ts +1 -0
- package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.d.ts +4 -0
- package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.d.ts +6 -0
- package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.d.ts +4 -0
- package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/types.d.ts +3 -0
- package/lib/components/SequentialConnectingBranch/components/Branches/Branches.d.ts +4 -0
- package/lib/components/SequentialConnectingBranch/components/Branches/types.d.ts +16 -0
- package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.d.ts +4 -0
- package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/types.d.ts +9 -0
- package/lib/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.d.ts +4 -0
- package/lib/components/SequentialConnectingBranch/components/DatasetListModal/types.d.ts +3 -0
- package/lib/components/SequentialConnectingBranch/index.d.ts +1 -0
- package/lib/components/SequentialConnectingBranch/types.d.ts +32 -0
- package/lib/components/TableTree/TableTree.d.ts +4 -2
- package/lib/components/Tabs/types.d.ts +1 -0
- package/lib/index.d.ts +103 -9
- package/lib/index.esm.js +890 -572
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +891 -571
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/rollup.config.mjs +5 -1
- package/src/assets/Themes/BaseTheme.scss +18 -2
- package/src/assets/Themes/DarkTheme.scss +11 -3
- package/src/assets/icons/add_locator.svg +5 -0
- package/src/assets/icons/android.svg +9 -0
- package/src/assets/icons/browser_stack.svg +9 -0
- package/src/assets/icons/chrome.svg +12 -0
- package/src/assets/icons/dataset_list.svg +3 -0
- package/src/assets/icons/drag_icon.svg +5 -0
- package/src/assets/icons/label_plus.svg +3 -0
- package/src/assets/icons/mac.svg +9 -0
- package/src/assets/icons/manual_locator.svg +8 -0
- package/src/assets/icons/windows.svg +6 -0
- package/src/assets/styles/_colors.scss +4 -4
- package/src/components/AddResourceButton/type.ts +1 -1
- package/src/components/AllProjectsDropdown/AllProjectsDropdown.scss +2 -2
- package/src/components/AllProjectsDropdown/AllProjectsDropdown.stories.tsx +99 -1
- package/src/components/AllProjectsDropdown/AllProjectsDropdown.tsx +30 -56
- package/src/components/AllProjectsDropdown/types.ts +10 -0
- package/src/components/Button/Button.scss +4 -0
- package/src/components/Button/Button.stories.tsx +7 -0
- package/src/components/Button/types.ts +2 -2
- package/src/components/Drawer/Drawer.scss +22 -11
- package/src/components/Drawer/Drawer.stories.tsx +41 -0
- package/src/components/Drawer/Drawer.tsx +67 -40
- package/src/components/Drawer/Types.ts +25 -1
- package/src/components/GridLayout/GridLayout.scss +0 -2
- package/src/components/GridLayout/GridLayout.tsx +15 -8
- package/src/components/Icon/Icon.tsx +39 -33
- package/src/components/Icon/iconList.ts +25 -6
- package/src/components/InputWithDropdown/InputWithDropdown.scss +1 -1
- package/src/components/InputWithDropdown/InputWithDropdown.tsx +2 -1
- package/src/components/MachineInputField/MachineInputField.scss +44 -0
- package/src/components/MachineInputField/MachineInputField.stories.tsx +32 -0
- package/src/components/MachineInputField/MachineInputField.tsx +71 -0
- package/src/components/MachineInputField/index.ts +1 -0
- package/src/components/MachineInputField/types.ts +12 -0
- package/src/components/MenuOption/MenuOption.scss +14 -0
- package/src/components/MenuOption/MenuOption.stories.tsx +21 -0
- package/src/components/MenuOption/MenuOption.tsx +5 -3
- package/src/components/MenuOption/types.ts +9 -0
- package/src/components/MiniModal/MiniModal.tsx +1 -1
- package/src/components/Modal/Modal.tsx +2 -0
- package/src/components/Modal/modal.scss +2 -2
- package/src/components/Modal/types.ts +1 -0
- package/src/components/Select/Select.tsx +2 -2
- package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.scss +117 -0
- package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.tsx +62 -0
- package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.tsx +210 -0
- package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.scss +51 -0
- package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.tsx +107 -0
- package/src/components/SequentialConnectingBranch/components/AddBrowserModal/types.ts +5 -0
- package/src/components/SequentialConnectingBranch/components/Branches/Branches.scss +184 -0
- package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +203 -0
- package/src/components/SequentialConnectingBranch/components/Branches/types.ts +18 -0
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.scss +3 -0
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.tsx +66 -0
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/types.ts +10 -0
- package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.scss +31 -0
- package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.tsx +85 -0
- package/src/components/SequentialConnectingBranch/components/DatasetListModal/types.ts +4 -0
- package/src/components/SequentialConnectingBranch/index.ts +1 -0
- package/src/components/SequentialConnectingBranch/types.ts +42 -0
- package/src/components/TableTree/TableTree.stories.tsx +8 -1
- package/src/components/TableTree/TableTree.tsx +25 -3
- package/src/components/Tabs/Tabs.stories.tsx +24 -25
- package/src/components/Tabs/Tabs.tsx +3 -10
- package/src/components/Tabs/types.ts +7 -1
- package/src/index.ts +5 -6
- package/lib/components/AddButton/AddButton.d.ts +0 -5
- package/lib/components/AddButton/AddButton.stories.d.ts +0 -6
- package/lib/components/AddButton/index.d.ts +0 -1
- package/lib/components/AddButton/types.d.ts +0 -4
- package/lib/utils/find/findAndInsert.d.ts +0 -7
- package/lib/utils/find/findAndInsert.stories.d.ts +0 -7
package/.yarn/install-state.gz
CHANGED
Binary file
|
@@ -1,3 +1,4 @@
|
|
1
1
|
import './AllProjectsDropdown.scss';
|
2
|
-
|
2
|
+
import { AllProjectsDropdownProps } from './types';
|
3
|
+
declare const AllProjectsDropdown: ({ onClick, options, selectedOption, }: AllProjectsDropdownProps) => import("react/jsx-runtime").JSX.Element;
|
3
4
|
export default AllProjectsDropdown;
|
@@ -2,5 +2,6 @@ import type { Meta, StoryObj } from '@storybook/react';
|
|
2
2
|
import AllProjectsDropdown from './AllProjectsDropdown';
|
3
3
|
declare const meta: Meta<typeof AllProjectsDropdown>;
|
4
4
|
type Story = StoryObj<typeof AllProjectsDropdown>;
|
5
|
+
export declare const Default: Story;
|
5
6
|
export declare const PrimaryIconButton: Story;
|
6
7
|
export default meta;
|
@@ -6,6 +6,7 @@ export declare const Primary: Story;
|
|
6
6
|
export declare const Secondary: Story;
|
7
7
|
export declare const Tertiary: Story;
|
8
8
|
export declare const Delete: Story;
|
9
|
+
export declare const Warning: Story;
|
9
10
|
export declare const PrimaryWithIcon: Story;
|
10
11
|
export declare const SecondaryWithIcon: Story;
|
11
12
|
export declare const TertiaryWithIcon: Story;
|
@@ -4,4 +4,7 @@ declare const meta: Meta<typeof Drawer>;
|
|
4
4
|
export default meta;
|
5
5
|
type Story = StoryObj<typeof Drawer>;
|
6
6
|
export declare const Default: Story;
|
7
|
+
export declare const WithoutHeader: Story;
|
8
|
+
export declare const WithCustomHeader: Story;
|
9
|
+
export declare const WithCustomFooter: Story;
|
7
10
|
export declare const Controlled: Story;
|
@@ -45,7 +45,7 @@ export interface DrawerProps {
|
|
45
45
|
/**
|
46
46
|
* Header title for the drawer
|
47
47
|
*/
|
48
|
-
title
|
48
|
+
title?: string | ReactNode;
|
49
49
|
/**
|
50
50
|
* To show the edit button on the header
|
51
51
|
*/
|
@@ -82,4 +82,28 @@ export interface DrawerProps {
|
|
82
82
|
* footer Content
|
83
83
|
*/
|
84
84
|
footerContent?: ReactNode;
|
85
|
+
/**
|
86
|
+
* To show or hide the header
|
87
|
+
*/
|
88
|
+
showHeader?: boolean;
|
89
|
+
/**
|
90
|
+
* Custom back button icon
|
91
|
+
* The icon to display for the back button.
|
92
|
+
* If not provided, a default icon will be used.
|
93
|
+
*/
|
94
|
+
backButtonIcon?: ReactNode;
|
95
|
+
/**
|
96
|
+
* Callback function when the close icon is clicked
|
97
|
+
*/
|
98
|
+
onCloseIconClick?: () => void;
|
99
|
+
/**
|
100
|
+
* Custom header for the drawer, replacing the default header.
|
101
|
+
* If provided, this will render in place of the default header.
|
102
|
+
*/
|
103
|
+
customHeader?: ReactNode;
|
104
|
+
/**
|
105
|
+
* Custom footer for the drawer, replacing the default footer.
|
106
|
+
* If provided, this will render in place of the default footer.
|
107
|
+
*/
|
108
|
+
customFooter?: ReactNode;
|
85
109
|
}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import './Icons.scss';
|
2
2
|
import { IconProps } from './types';
|
3
|
-
declare const Icon: (
|
3
|
+
declare const Icon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<HTMLSpanElement>>;
|
4
4
|
export default Icon;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import MachineInputField from './MachineInputField';
|
3
|
+
declare const meta: Meta<typeof MachineInputField>;
|
4
|
+
type Story = StoryObj<typeof MachineInputField>;
|
5
|
+
export declare const Primary: Story;
|
6
|
+
export default meta;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './MachineInputField';
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export interface MachineType {
|
2
|
+
type: 'Local' | 'mac' | 'android' | 'Google Chrome';
|
3
|
+
label: string;
|
4
|
+
}
|
5
|
+
export interface MachineInputFieldProps {
|
6
|
+
width: string;
|
7
|
+
options: MachineType[];
|
8
|
+
runCount: number;
|
9
|
+
className?: string;
|
10
|
+
contentReverse?: boolean;
|
11
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import './MenuOption.scss';
|
2
2
|
import { MenuOptionProps } from './types';
|
3
|
-
declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, dropdownPlacement, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, }: MenuOptionProps) => import("react/jsx-runtime").JSX.Element;
|
3
|
+
declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, dropdownPlacement, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, variant, }: MenuOptionProps) => import("react/jsx-runtime").JSX.Element;
|
4
4
|
export default MenuOption;
|
@@ -12,4 +12,5 @@ export declare const MenuOptionPlacementTop: Story;
|
|
12
12
|
export declare const MenuOptionPlacementDown: Story;
|
13
13
|
export declare const MenuOptionPlacementLeft: Story;
|
14
14
|
export declare const MenuOptionPlacementRight: Story;
|
15
|
+
export declare const MenuOptionCustom: Story;
|
15
16
|
export default meta;
|
@@ -89,6 +89,13 @@ interface MenuOptionProps {
|
|
89
89
|
* @type {function}
|
90
90
|
* @optional
|
91
91
|
*/
|
92
|
+
variant?: 'dark' | 'light';
|
93
|
+
/**
|
94
|
+
* The variant of the menu option, either 'dark' or 'light'.
|
95
|
+
* @type {'dark' | 'light'}
|
96
|
+
* @default 'light'
|
97
|
+
* @optional
|
98
|
+
*/
|
92
99
|
onClick?: () => void;
|
93
100
|
/**
|
94
101
|
* Callback function triggered when an option is clicked.
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import './SequentialConnectingBranch.scss';
|
2
|
+
import { SequentialConnectingBranchProps } from './types';
|
3
|
+
declare const SequentialConnectingBranch: ({ machineInstances, machineColumnWidth, machineColumnCount, machineInstance, selectedMachine, machineOptionsList, onMachineSelectionChange, }: SequentialConnectingBranchProps) => import("react/jsx-runtime").JSX.Element;
|
4
|
+
export default SequentialConnectingBranch;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import SequentialConnectingBranch from './SequentialConnectingBranch';
|
3
|
+
declare const meta: Meta<typeof SequentialConnectingBranch>;
|
4
|
+
type Story = StoryObj<typeof SequentialConnectingBranch>;
|
5
|
+
export declare const Primary: Story;
|
6
|
+
export default meta;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { BranchesProps } from './types';
|
2
|
+
import './Branches.scss';
|
3
|
+
declare const Branches: ({ machineInstances, rowIndex, machineColumnCount, machineColumnWidth, nextRowMachineInstance, previousRowMachineInstance, onAddBrowser, onDeleteBrowser, onAddRunBrowser, }: BranchesProps) => import("react/jsx-runtime").JSX.Element;
|
4
|
+
export default Branches;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { ExecutionContext } from '../../types';
|
2
|
+
export interface BranchesProps {
|
3
|
+
machineInstances: ExecutionContext[] | {}[];
|
4
|
+
rowIndex: number;
|
5
|
+
machineColumnCount: number;
|
6
|
+
machineColumnWidth: number;
|
7
|
+
nextRowMachineInstance?: ExecutionContext | {} | undefined;
|
8
|
+
previousRowMachineInstance?: ExecutionContext | {} | undefined;
|
9
|
+
onAddBrowser: () => void;
|
10
|
+
onDeleteBrowser: (id: string, runCount: number) => void;
|
11
|
+
onAddRunBrowser: (id: string) => void;
|
12
|
+
}
|
13
|
+
export interface branchTypeProps {
|
14
|
+
currentBranch: ExecutionContext | undefined | {};
|
15
|
+
nextBranch: ExecutionContext | undefined | {};
|
16
|
+
}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { ConnectingBranchesProps } from './types';
|
2
|
+
import './ConnectingBranches.scss';
|
3
|
+
declare const ConnectingBranches: ({ machineBranchInstances, machineColumnCount, machineColumnWidth, onAddBrowser, onDeleteBrowser, onAddRunBrowser, }: ConnectingBranchesProps) => import("react/jsx-runtime").JSX.Element;
|
4
|
+
export default ConnectingBranches;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ExecutionContext } from '../../types';
|
2
|
+
export interface ConnectingBranchesProps {
|
3
|
+
machineBranchInstances: ExecutionContext[] | {}[];
|
4
|
+
machineColumnCount: number;
|
5
|
+
machineColumnWidth: number;
|
6
|
+
onAddBrowser: () => void;
|
7
|
+
onDeleteBrowser: (id: string, runCount: number) => void;
|
8
|
+
onAddRunBrowser: (id: string) => void;
|
9
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './SequentialConnectingBranch';
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { Option } from '../Select/types';
|
2
|
+
export interface SequentialConnectingBranchProps {
|
3
|
+
machineInstances?: ExecutionContext[] | {}[];
|
4
|
+
machineColumnWidth?: number;
|
5
|
+
machineColumnCount?: number;
|
6
|
+
machineInstance: ExecutionContext;
|
7
|
+
selectedMachine?: string;
|
8
|
+
onMachineSelectionChange?: (selectedMachine: Option) => void;
|
9
|
+
machineOptionsList?: Option[];
|
10
|
+
}
|
11
|
+
export interface MachineInfo {
|
12
|
+
osName: string;
|
13
|
+
osVersion: string;
|
14
|
+
hostName: string;
|
15
|
+
}
|
16
|
+
export interface DeviceInfo {
|
17
|
+
}
|
18
|
+
export interface ExecutionContext {
|
19
|
+
id: string;
|
20
|
+
clientId: string;
|
21
|
+
runCount: number;
|
22
|
+
executionEnv?: 'Local';
|
23
|
+
browserName?: 'Local' | 'mac' | 'android' | 'Google Chrome';
|
24
|
+
browserVersion: string;
|
25
|
+
systemUrl: string;
|
26
|
+
machineInfo: MachineInfo;
|
27
|
+
deviceInfo: DeviceInfo[];
|
28
|
+
headless: boolean;
|
29
|
+
peVariableSetId: string;
|
30
|
+
globalVariableSetId: string;
|
31
|
+
testDataSetId: string;
|
32
|
+
}
|
@@ -12,10 +12,12 @@ interface ObjectProps {
|
|
12
12
|
[key: string]: any;
|
13
13
|
}
|
14
14
|
interface TableTreeProps {
|
15
|
-
|
15
|
+
select: 'checkbox' | 'radio' | 'none';
|
16
16
|
columnsData: Array<ColumnDataProps>;
|
17
17
|
treeData: Array<ObjectProps>;
|
18
18
|
onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>, data: any) => void;
|
19
|
+
onChange?: (e: any, node: any) => void;
|
20
|
+
selected: Array<string>;
|
19
21
|
}
|
20
|
-
declare const TableTree: ({ columnsData, treeData,
|
22
|
+
declare const TableTree: ({ columnsData, treeData, select, onClick, onChange, selected, }: TableTreeProps) => import("react/jsx-runtime").JSX.Element;
|
21
23
|
export default TableTree;
|
package/lib/index.d.ts
CHANGED
@@ -13,7 +13,7 @@ interface ButtonProps$1 {
|
|
13
13
|
/**
|
14
14
|
* Variant of the button
|
15
15
|
*/
|
16
|
-
variant: 'primary' | 'secondary' | 'tertiary' | 'delete';
|
16
|
+
variant: 'primary' | 'secondary' | 'tertiary' | 'delete' | 'warning';
|
17
17
|
/**
|
18
18
|
* What background color to use
|
19
19
|
*/
|
@@ -118,7 +118,7 @@ interface DrawerProps {
|
|
118
118
|
/**
|
119
119
|
* Header title for the drawer
|
120
120
|
*/
|
121
|
-
title
|
121
|
+
title?: string | ReactNode;
|
122
122
|
/**
|
123
123
|
* To show the edit button on the header
|
124
124
|
*/
|
@@ -155,6 +155,30 @@ interface DrawerProps {
|
|
155
155
|
* footer Content
|
156
156
|
*/
|
157
157
|
footerContent?: ReactNode;
|
158
|
+
/**
|
159
|
+
* To show or hide the header
|
160
|
+
*/
|
161
|
+
showHeader?: boolean;
|
162
|
+
/**
|
163
|
+
* Custom back button icon
|
164
|
+
* The icon to display for the back button.
|
165
|
+
* If not provided, a default icon will be used.
|
166
|
+
*/
|
167
|
+
backButtonIcon?: ReactNode;
|
168
|
+
/**
|
169
|
+
* Callback function when the close icon is clicked
|
170
|
+
*/
|
171
|
+
onCloseIconClick?: () => void;
|
172
|
+
/**
|
173
|
+
* Custom header for the drawer, replacing the default header.
|
174
|
+
* If provided, this will render in place of the default header.
|
175
|
+
*/
|
176
|
+
customHeader?: ReactNode;
|
177
|
+
/**
|
178
|
+
* Custom footer for the drawer, replacing the default footer.
|
179
|
+
* If provided, this will render in place of the default footer.
|
180
|
+
*/
|
181
|
+
customFooter?: ReactNode;
|
158
182
|
}
|
159
183
|
|
160
184
|
declare const Drawer: FC<DrawerProps>;
|
@@ -170,7 +194,7 @@ interface IconProps {
|
|
170
194
|
disabled?: boolean;
|
171
195
|
}
|
172
196
|
|
173
|
-
declare const Icon:
|
197
|
+
declare const Icon: React$1.ForwardRefExoticComponent<IconProps & React$1.RefAttributes<HTMLSpanElement>>;
|
174
198
|
|
175
199
|
interface AccordionProps {
|
176
200
|
/**
|
@@ -775,6 +799,13 @@ interface MenuOptionProps {
|
|
775
799
|
* @type {function}
|
776
800
|
* @optional
|
777
801
|
*/
|
802
|
+
variant?: 'dark' | 'light';
|
803
|
+
/**
|
804
|
+
* The variant of the menu option, either 'dark' or 'light'.
|
805
|
+
* @type {'dark' | 'light'}
|
806
|
+
* @default 'light'
|
807
|
+
* @optional
|
808
|
+
*/
|
778
809
|
onClick?: () => void;
|
779
810
|
/**
|
780
811
|
* Callback function triggered when an option is clicked.
|
@@ -803,7 +834,7 @@ interface MenuOptionProps {
|
|
803
834
|
iconButtonBorderRadius?: number;
|
804
835
|
}
|
805
836
|
|
806
|
-
declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, dropdownPlacement, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, }: MenuOptionProps) => react_jsx_runtime.JSX.Element;
|
837
|
+
declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, dropdownPlacement, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, variant, }: MenuOptionProps) => react_jsx_runtime.JSX.Element;
|
807
838
|
|
808
839
|
interface DataProps {
|
809
840
|
/**
|
@@ -897,7 +928,7 @@ interface AddResourceButtonProps {
|
|
897
928
|
/**
|
898
929
|
* direction option: 'top' | 'right' | 'down'
|
899
930
|
*/
|
900
|
-
direction: string
|
931
|
+
direction: string;
|
901
932
|
menuOptions: {
|
902
933
|
label: string;
|
903
934
|
value: string | string[];
|
@@ -1256,18 +1287,21 @@ interface ObjectProps {
|
|
1256
1287
|
[key: string]: any;
|
1257
1288
|
}
|
1258
1289
|
interface TableTreeProps {
|
1259
|
-
|
1290
|
+
select: 'checkbox' | 'radio' | 'none';
|
1260
1291
|
columnsData: Array<ColumnDataProps>;
|
1261
1292
|
treeData: Array<ObjectProps>;
|
1262
1293
|
onClick?: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>, data: any) => void;
|
1294
|
+
onChange?: (e: any, node: any) => void;
|
1295
|
+
selected: Array<string>;
|
1263
1296
|
}
|
1264
|
-
declare const TableTree: ({ columnsData, treeData,
|
1297
|
+
declare const TableTree: ({ columnsData, treeData, select, onClick, onChange, selected, }: TableTreeProps) => react_jsx_runtime.JSX.Element;
|
1265
1298
|
|
1266
1299
|
interface TabsProps {
|
1267
1300
|
/**
|
1268
1301
|
* An array of tab objects containing label, component, and optional disabled status.
|
1269
1302
|
*/
|
1270
1303
|
tabsData: {
|
1304
|
+
id: string;
|
1271
1305
|
label: string;
|
1272
1306
|
component?: JSX.Element;
|
1273
1307
|
disabled?: boolean;
|
@@ -1452,6 +1486,7 @@ interface ModalProps {
|
|
1452
1486
|
isFooterDisplayed: boolean;
|
1453
1487
|
customWidth: string;
|
1454
1488
|
customHeight?: string;
|
1489
|
+
zIndex?: number;
|
1455
1490
|
}
|
1456
1491
|
|
1457
1492
|
declare const Modal: React__default.FC<ModalProps>;
|
@@ -1518,7 +1553,18 @@ interface VariableInputProps {
|
|
1518
1553
|
|
1519
1554
|
declare const VariableInput: ({ type, name, label, disabled, required, placeholder, value, error, className, onChange, onKeyDown, onBlur, onFocus, list, ...props }: VariableInputProps) => react_jsx_runtime.JSX.Element;
|
1520
1555
|
|
1521
|
-
|
1556
|
+
interface optionsType {
|
1557
|
+
label: string;
|
1558
|
+
value: string;
|
1559
|
+
iconName: string;
|
1560
|
+
}
|
1561
|
+
interface AllProjectsDropdownProps {
|
1562
|
+
options: optionsType[];
|
1563
|
+
onClick: (option: optionsType) => void;
|
1564
|
+
selectedOption: optionsType;
|
1565
|
+
}
|
1566
|
+
|
1567
|
+
declare const AllProjectsDropdown: ({ onClick, options, selectedOption, }: AllProjectsDropdownProps) => react_jsx_runtime.JSX.Element;
|
1522
1568
|
|
1523
1569
|
interface PieChartProps {
|
1524
1570
|
radius: number;
|
@@ -1646,6 +1692,54 @@ interface Option {
|
|
1646
1692
|
|
1647
1693
|
declare const NlpInput: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, }: SelectProps) => react_jsx_runtime.JSX.Element;
|
1648
1694
|
|
1695
|
+
interface MachineType {
|
1696
|
+
type: 'Local' | 'mac' | 'android' | 'Google Chrome';
|
1697
|
+
label: string;
|
1698
|
+
}
|
1699
|
+
interface MachineInputFieldProps {
|
1700
|
+
width: string;
|
1701
|
+
options: MachineType[];
|
1702
|
+
runCount: number;
|
1703
|
+
className?: string;
|
1704
|
+
contentReverse?: boolean;
|
1705
|
+
}
|
1706
|
+
|
1707
|
+
declare const MachineInputField: React$1.ForwardRefExoticComponent<MachineInputFieldProps & React$1.RefAttributes<HTMLDivElement>>;
|
1708
|
+
|
1709
|
+
interface SequentialConnectingBranchProps {
|
1710
|
+
machineInstances?: ExecutionContext[] | {}[];
|
1711
|
+
machineColumnWidth?: number;
|
1712
|
+
machineColumnCount?: number;
|
1713
|
+
machineInstance: ExecutionContext;
|
1714
|
+
selectedMachine?: string;
|
1715
|
+
onMachineSelectionChange?: (selectedMachine: Option$2) => void;
|
1716
|
+
machineOptionsList?: Option$2[];
|
1717
|
+
}
|
1718
|
+
interface MachineInfo {
|
1719
|
+
osName: string;
|
1720
|
+
osVersion: string;
|
1721
|
+
hostName: string;
|
1722
|
+
}
|
1723
|
+
interface DeviceInfo {
|
1724
|
+
}
|
1725
|
+
interface ExecutionContext {
|
1726
|
+
id: string;
|
1727
|
+
clientId: string;
|
1728
|
+
runCount: number;
|
1729
|
+
executionEnv?: 'Local';
|
1730
|
+
browserName?: 'Local' | 'mac' | 'android' | 'Google Chrome';
|
1731
|
+
browserVersion: string;
|
1732
|
+
systemUrl: string;
|
1733
|
+
machineInfo: MachineInfo;
|
1734
|
+
deviceInfo: DeviceInfo[];
|
1735
|
+
headless: boolean;
|
1736
|
+
peVariableSetId: string;
|
1737
|
+
globalVariableSetId: string;
|
1738
|
+
testDataSetId: string;
|
1739
|
+
}
|
1740
|
+
|
1741
|
+
declare const SequentialConnectingBranch: ({ machineInstances, machineColumnWidth, machineColumnCount, machineInstance, selectedMachine, machineOptionsList, onMachineSelectionChange, }: SequentialConnectingBranchProps) => react_jsx_runtime.JSX.Element;
|
1742
|
+
|
1649
1743
|
type valueType$1 = any;
|
1650
1744
|
declare const checkEmpty: (value: valueType$1) => boolean;
|
1651
1745
|
|
@@ -1693,4 +1787,4 @@ declare const throttle: (func: Callback, limit: number) => ThrottledFunction;
|
|
1693
1787
|
|
1694
1788
|
declare const truncateText: (text: string, maxLength: number) => string;
|
1695
1789
|
|
1696
|
-
export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, Button, Checkbox, Chip, Col, Container, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, ExpandableMenu, FileDropzone, Form, HighlightText, Icon, IconButton, Input, InputWithDropdown, MenuOption, MiniModal, Modal, MultiSelect, NlpInput as NLPInput, Paper, PieChart, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, VariableInput, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, throttle, truncateText, useTheme };
|
1790
|
+
export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, Button, Checkbox, Chip, Col, Container, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, ExpandableMenu, FileDropzone, Form, HighlightText, Icon, IconButton, Input, InputWithDropdown, MachineInputField, MenuOption, MiniModal, Modal, MultiSelect, NlpInput as NLPInput, Paper, PieChart, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, VariableInput, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, throttle, truncateText, useTheme };
|