pixel-react 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- 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/Tabs/types.d.ts +1 -0
- package/lib/index.d.ts +99 -7
- package/lib/index.esm.js +789 -174
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +790 -173
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -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/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 -0
@@ -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
|
+
}
|
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[];
|
@@ -1268,6 +1299,7 @@ interface TabsProps {
|
|
1268
1299
|
* An array of tab objects containing label, component, and optional disabled status.
|
1269
1300
|
*/
|
1270
1301
|
tabsData: {
|
1302
|
+
id: string;
|
1271
1303
|
label: string;
|
1272
1304
|
component?: JSX.Element;
|
1273
1305
|
disabled?: boolean;
|
@@ -1452,6 +1484,7 @@ interface ModalProps {
|
|
1452
1484
|
isFooterDisplayed: boolean;
|
1453
1485
|
customWidth: string;
|
1454
1486
|
customHeight?: string;
|
1487
|
+
zIndex?: number;
|
1455
1488
|
}
|
1456
1489
|
|
1457
1490
|
declare const Modal: React__default.FC<ModalProps>;
|
@@ -1518,7 +1551,18 @@ interface VariableInputProps {
|
|
1518
1551
|
|
1519
1552
|
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
1553
|
|
1521
|
-
|
1554
|
+
interface optionsType {
|
1555
|
+
label: string;
|
1556
|
+
value: string;
|
1557
|
+
iconName: string;
|
1558
|
+
}
|
1559
|
+
interface AllProjectsDropdownProps {
|
1560
|
+
options: optionsType[];
|
1561
|
+
onClick: (option: optionsType) => void;
|
1562
|
+
selectedOption: optionsType;
|
1563
|
+
}
|
1564
|
+
|
1565
|
+
declare const AllProjectsDropdown: ({ onClick, options, selectedOption, }: AllProjectsDropdownProps) => react_jsx_runtime.JSX.Element;
|
1522
1566
|
|
1523
1567
|
interface PieChartProps {
|
1524
1568
|
radius: number;
|
@@ -1646,6 +1690,54 @@ interface Option {
|
|
1646
1690
|
|
1647
1691
|
declare const NlpInput: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, }: SelectProps) => react_jsx_runtime.JSX.Element;
|
1648
1692
|
|
1693
|
+
interface MachineType {
|
1694
|
+
type: 'Local' | 'mac' | 'android' | 'Google Chrome';
|
1695
|
+
label: string;
|
1696
|
+
}
|
1697
|
+
interface MachineInputFieldProps {
|
1698
|
+
width: string;
|
1699
|
+
options: MachineType[];
|
1700
|
+
runCount: number;
|
1701
|
+
className?: string;
|
1702
|
+
contentReverse?: boolean;
|
1703
|
+
}
|
1704
|
+
|
1705
|
+
declare const MachineInputField: React$1.ForwardRefExoticComponent<MachineInputFieldProps & React$1.RefAttributes<HTMLDivElement>>;
|
1706
|
+
|
1707
|
+
interface SequentialConnectingBranchProps {
|
1708
|
+
machineInstances?: ExecutionContext[] | {}[];
|
1709
|
+
machineColumnWidth?: number;
|
1710
|
+
machineColumnCount?: number;
|
1711
|
+
machineInstance: ExecutionContext;
|
1712
|
+
selectedMachine?: string;
|
1713
|
+
onMachineSelectionChange?: (selectedMachine: Option$2) => void;
|
1714
|
+
machineOptionsList?: Option$2[];
|
1715
|
+
}
|
1716
|
+
interface MachineInfo {
|
1717
|
+
osName: string;
|
1718
|
+
osVersion: string;
|
1719
|
+
hostName: string;
|
1720
|
+
}
|
1721
|
+
interface DeviceInfo {
|
1722
|
+
}
|
1723
|
+
interface ExecutionContext {
|
1724
|
+
id: string;
|
1725
|
+
clientId: string;
|
1726
|
+
runCount: number;
|
1727
|
+
executionEnv?: 'Local';
|
1728
|
+
browserName?: 'Local' | 'mac' | 'android' | 'Google Chrome';
|
1729
|
+
browserVersion: string;
|
1730
|
+
systemUrl: string;
|
1731
|
+
machineInfo: MachineInfo;
|
1732
|
+
deviceInfo: DeviceInfo[];
|
1733
|
+
headless: boolean;
|
1734
|
+
peVariableSetId: string;
|
1735
|
+
globalVariableSetId: string;
|
1736
|
+
testDataSetId: string;
|
1737
|
+
}
|
1738
|
+
|
1739
|
+
declare const SequentialConnectingBranch: ({ machineInstances, machineColumnWidth, machineColumnCount, machineInstance, selectedMachine, machineOptionsList, onMachineSelectionChange, }: SequentialConnectingBranchProps) => react_jsx_runtime.JSX.Element;
|
1740
|
+
|
1649
1741
|
type valueType$1 = any;
|
1650
1742
|
declare const checkEmpty: (value: valueType$1) => boolean;
|
1651
1743
|
|
@@ -1693,4 +1785,4 @@ declare const throttle: (func: Callback, limit: number) => ThrottledFunction;
|
|
1693
1785
|
|
1694
1786
|
declare const truncateText: (text: string, maxLength: number) => string;
|
1695
1787
|
|
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 };
|
1788
|
+
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 };
|