pixel-react 1.6.0 → 1.6.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/lib/components/AppHeader/AppHeader.d.ts +1 -0
- package/lib/components/AppHeader/types.d.ts +18 -6
- package/lib/components/Charts/BarChart/BarChart.d.ts +1 -0
- package/lib/components/Charts/DashboardDonutChart/types.d.ts +2 -0
- package/lib/components/Excel/ExcelToolBar/ExcelToolBar.d.ts +0 -1
- package/lib/components/LabelEditTextField/LabelEditTextField.stories.d.ts +0 -2
- package/lib/components/MachineInputField/types.d.ts +1 -1
- package/lib/components/MultiSelect/MultiSelect.stories.d.ts +0 -1
- package/lib/components/PopUpModal/PopUpModal.d.ts +5 -0
- package/lib/components/PopUpModal/types.d.ts +14 -0
- package/lib/components/RadioGroup/radioGroupTypes.d.ts +20 -0
- package/lib/components/Select/Select.stories.d.ts +0 -1
- package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.d.ts +2 -1
- package/lib/components/SequentialConnectingBranch/components/Branches/Branches.d.ts +1 -1
- package/lib/components/SequentialConnectingBranch/components/Branches/types.d.ts +3 -2
- package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.d.ts +1 -1
- package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/types.d.ts +3 -2
- package/lib/components/SequentialConnectingBranch/types.d.ts +11 -3
- package/lib/components/TableTree/data.d.ts +36 -2
- package/lib/components/TableTree/types.d.ts +2 -3
- package/lib/index.d.ts +55 -16
- package/lib/index.esm.js +918 -553
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +918 -552
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/assets/Themes/BaseTheme.scss +5 -14
- package/src/assets/Themes/DarkTheme.scss +5 -2
- package/src/assets/icons/approval_pending.svg +8 -8
- package/src/assets/icons/arrow_up.svg +1 -1
- package/src/assets/icons/configuration.svg +3 -3
- package/src/assets/icons/defects.svg +8 -8
- package/src/assets/icons/element.svg +4 -4
- package/src/assets/icons/project_element.svg +4 -4
- package/src/assets/icons/step_group.svg +10 -10
- package/src/assets/icons/variable.svg +3 -3
- package/src/assets/icons/web_service_icon.svg +3 -3
- package/src/assets/styles/_fonts.scss +4 -2
- package/src/components/AppHeader/AppHeader.stories.tsx +242 -39
- package/src/components/AppHeader/AppHeader.tsx +158 -139
- package/src/components/AppHeader/types.ts +19 -6
- package/src/components/Charts/BarChart/BarChart.scss +34 -34
- package/src/components/Charts/BarChart/BarChart.stories.tsx +3 -2
- package/src/components/Charts/BarChart/BarChart.tsx +79 -55
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +25 -18
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +31 -11
- package/src/components/Charts/DashboardDonutChart/types.ts +2 -0
- package/src/components/Charts/IconRadialChart/IconRadialChart.tsx +3 -0
- package/src/components/Charts/LineChart/LineChart.scss +13 -4
- package/src/components/Charts/LineChart/LineChart.stories.tsx +100 -102
- package/src/components/Charts/LineChart/LineChart.tsx +143 -131
- package/src/components/Charts/MultiRadialChart/MultiRadialChart.scss +23 -2
- package/src/components/Charts/MultiRadialChart/MultiRadialChart.tsx +109 -24
- package/src/components/Charts/PieChart/PieChart.scss +5 -3
- package/src/components/Charts/PieChart/PieChart.tsx +1 -2
- package/src/components/DatePicker/DatePicker.scss +15 -1
- package/src/components/Excel/ExcelFile/ExcelFile.scss +1 -1
- package/src/components/Excel/ExcelFile/ExcelFile.tsx +34 -20
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.tsx +0 -1
- package/src/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.ts +44 -15
- package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +47 -4
- package/src/components/Icon/Icons.scss +1 -1
- package/src/components/MachineInputField/MachineInputField.scss +15 -2
- package/src/components/MachineInputField/MachineInputField.tsx +17 -3
- package/src/components/MachineInputField/types.ts +1 -1
- package/src/components/PopUpModal/PopUpModal.scss +36 -0
- package/src/components/PopUpModal/PopUpModal.stories.tsx +61 -0
- package/src/components/PopUpModal/PopUpModal.tsx +85 -0
- package/src/components/PopUpModal/types.ts +14 -0
- package/src/components/RadioGroup/RadioGroup.scss +7 -0
- package/src/components/RadioGroup/RadioGroup.stories.tsx +26 -0
- package/src/components/RadioGroup/RadioGroup.tsx +16 -0
- package/src/components/RadioGroup/radioGroupTypes.tsx +24 -0
- package/src/components/Select/Select.tsx +3 -4
- package/src/components/Select/components/Dropdown.tsx +34 -34
- package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.scss +9 -0
- package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.tsx +74 -43
- package/src/components/SequentialConnectingBranch/components/Branches/Branches.scss +9 -3
- package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +45 -14
- package/src/components/SequentialConnectingBranch/components/Branches/types.ts +9 -2
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.tsx +3 -1
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/types.ts +9 -2
- package/src/components/SequentialConnectingBranch/types.ts +18 -3
- package/src/components/TableTree/TableTree.stories.tsx +145 -98
- package/src/components/TableTree/TableTree.tsx +49 -14
- package/src/components/TableTree/data.ts +32 -391
- package/src/components/TableTree/types.ts +2 -3
- package/src/index.ts +3 -0
- package/lib/assets/fonts/Poppins-Bold.ttf +0 -0
- package/lib/assets/fonts/Poppins-Medium.ttf +0 -0
- package/lib/assets/fonts/Poppins-Regular.ttf +0 -0
- package/lib/assets/fonts/Poppins-SemiBold.ttf +0 -0
- 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/components/AttachImage/AttachImage.stories.d.ts +0 -7
- package/lib/components/Charts/BarChart/BarChart.stories.d.ts +0 -6
- package/lib/components/Charts/IconRadialChart/IconRadialChart.stories.d.ts +0 -8
- package/lib/components/Charts/LineChart/LineChart.stories.d.ts +0 -7
- package/lib/components/Charts/MultiRadialChart/MultiRadialChart.stories.d.ts +0 -8
- package/lib/components/ConnectingBranch/ConnectingBranch.stories.d.ts +0 -6
- package/lib/components/EditTextField/EditTextField.stories.d.ts +0 -10
- package/lib/components/Editor/Editor.stories.d.ts +0 -6
- package/lib/components/Excel/ContextMenu/ContextMenu.d.ts +0 -4
- package/lib/components/Excel/ExcelFile.stories.d.ts +0 -6
- package/lib/components/ExcelFile/ChangeExcelStyles.d.ts +0 -14
- package/lib/components/ExcelFile/ImportExcelStyles.d.ts +0 -24
- package/lib/components/StatusCard/StatusCard.stories.d.ts +0 -11
- package/lib/utils/getSequentialPayload/getSequentialPayload.stories.d.ts +0 -10
- /package/lib/components/ExcelFile/{ColorBarSelector → ColorBarselector}/ColorBarSelector.d.ts +0 -0
@@ -6,12 +6,6 @@ export interface AppHeaderProps {
|
|
6
6
|
rightContent?: ReactNode;
|
7
7
|
projectsList?: optionsType[];
|
8
8
|
appHeaderMenuItems: appHeaderMenuItemProps[];
|
9
|
-
appHeaderHiddenMenuItems?: {
|
10
|
-
label: string;
|
11
|
-
value: string | string[];
|
12
|
-
icon: string;
|
13
|
-
disable?: boolean;
|
14
|
-
}[];
|
15
9
|
selectedMenu: string;
|
16
10
|
selectedSubMenu?: string;
|
17
11
|
selectedQuickMenu?: string;
|
@@ -26,15 +20,33 @@ export interface AppHeaderProps {
|
|
26
20
|
export interface appHeaderMenuItemProps {
|
27
21
|
label: string;
|
28
22
|
path?: string;
|
23
|
+
disable?: boolean;
|
24
|
+
disableText?: string;
|
25
|
+
hide?: boolean;
|
29
26
|
subMenuItems?: appHeaderSubMenuItemProps[];
|
30
27
|
}
|
31
28
|
export interface appHeaderSubMenuItemProps {
|
32
29
|
label: string;
|
33
30
|
path?: string;
|
31
|
+
disable?: boolean;
|
32
|
+
disableText?: string;
|
33
|
+
hide?: boolean;
|
34
34
|
quickMenuItems?: appHeaderQuickMenuItemProps[];
|
35
|
+
hiddenMenuItems?: appHeaderHiddenMenuItemProps[];
|
35
36
|
}
|
36
37
|
export interface appHeaderQuickMenuItemProps {
|
37
38
|
label?: string;
|
38
39
|
path?: string;
|
39
40
|
iconName: string;
|
41
|
+
disable?: boolean;
|
42
|
+
disableText?: string;
|
43
|
+
hide?: boolean;
|
44
|
+
}
|
45
|
+
export interface appHeaderHiddenMenuItemProps {
|
46
|
+
label: string;
|
47
|
+
value: string | string[];
|
48
|
+
icon: string;
|
49
|
+
disable?: boolean;
|
50
|
+
disableText?: string;
|
51
|
+
hide?: boolean;
|
40
52
|
}
|
@@ -3,7 +3,6 @@ import { CellBase } from '../ExcelFile/ExcelFileComponents';
|
|
3
3
|
import * as Matrix from '../ExcelFile/ExcelFileComponents/matrix';
|
4
4
|
interface ExcelToolBarProps {
|
5
5
|
toolbar?: 'show' | 'disable' | 'hide';
|
6
|
-
data: Matrix.Matrix<CellBase>;
|
7
6
|
onBold: (data: Matrix.Matrix<CellBase>) => void;
|
8
7
|
onItalic: (data: Matrix.Matrix<CellBase>) => void;
|
9
8
|
setUnderlineType: (data: Matrix.Matrix<CellBase>, value: string, active: boolean) => void;
|
@@ -6,8 +6,6 @@ declare const meta: Meta<typeof LabelEditTextField>;
|
|
6
6
|
type Story = StoryObj<typeof LabelEditTextField>;
|
7
7
|
export declare const textField: Story;
|
8
8
|
export declare const textFieldWithOutLabel: Story;
|
9
|
-
export declare const openTextFieldWithOutLabel: Story;
|
10
9
|
export declare const textFieldWithDropdown: Story;
|
11
10
|
export declare const textFieldWithHighlight: Story;
|
12
|
-
export declare const openLabelEditTextField: Story;
|
13
11
|
export default meta;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export interface PopUpModalProps {
|
2
|
+
isOpen: boolean;
|
3
|
+
onClose: () => void;
|
4
|
+
onContinue?: () => void;
|
5
|
+
titleMessage: string;
|
6
|
+
subTitleMessage?: string;
|
7
|
+
iconName: string;
|
8
|
+
modalMessage: string;
|
9
|
+
footerMessage: string;
|
10
|
+
firstButtonLabel?: string;
|
11
|
+
secondButtonLabel: string;
|
12
|
+
buttonVariant: any;
|
13
|
+
border: string;
|
14
|
+
}
|
@@ -54,9 +54,29 @@ interface RadioGroupProps {
|
|
54
54
|
* Optional.
|
55
55
|
*/
|
56
56
|
onChange?: (option: Option) => void;
|
57
|
+
/**
|
58
|
+
* Provides a label at starting position when the string is passed.
|
59
|
+
* Optional.
|
60
|
+
*/
|
61
|
+
label?: string;
|
62
|
+
/**
|
63
|
+
* if isLabel is true then we can display label if not then extra space is not added.
|
64
|
+
* Optional.
|
65
|
+
*/
|
66
|
+
isLabel?: boolean;
|
67
|
+
/**
|
68
|
+
* if isAsteriskRequired is true then we can display asterisk if not then extra space is not added.
|
69
|
+
* Optional.
|
70
|
+
*/
|
71
|
+
isAsteriskRequired?: boolean;
|
57
72
|
/**
|
58
73
|
* Additional class names to apply to the radio group for custom styling.
|
59
74
|
* Optional.
|
60
75
|
*/
|
61
76
|
className?: string;
|
77
|
+
/**
|
78
|
+
* Additional class names to apply to the radio group Label for custom styling.
|
79
|
+
* Optional.
|
80
|
+
*/
|
81
|
+
classNameForLabel?: string;
|
62
82
|
}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import './SequentialConnectingBranch.scss';
|
2
|
+
import { FC } from 'react';
|
2
3
|
import { SequentialConnectingBranchProps } from './types';
|
3
|
-
declare const SequentialConnectingBranch:
|
4
|
+
declare const SequentialConnectingBranch: FC<SequentialConnectingBranchProps>;
|
4
5
|
export default SequentialConnectingBranch;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { BranchesProps } from './types';
|
2
2
|
import './Branches.scss';
|
3
|
-
declare const Branches: ({ machineInstances, rowIndex, machineColumnCount, machineColumnWidth, nextRowMachineInstance, previousRowMachineInstance, onAddBrowser, onDeleteBrowser, onAddRunBrowser, }: BranchesProps) => import("react/jsx-runtime").JSX.Element;
|
3
|
+
declare const Branches: ({ machineInstances, rowIndex, machineColumnCount, machineColumnWidth, nextRowMachineInstance, previousRowMachineInstance, onAddBrowser, onDeleteBrowser, onAddRunBrowser, onUpdateDataSetList, }: BranchesProps) => import("react/jsx-runtime").JSX.Element;
|
4
4
|
export default Branches;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ExecutionContext } from '../../types';
|
1
|
+
import { dataSetValues, ExecutionContext } from '../../types';
|
2
2
|
export interface BranchesProps {
|
3
3
|
machineInstances: ExecutionContext[] | {}[];
|
4
4
|
rowIndex: number;
|
@@ -6,9 +6,10 @@ export interface BranchesProps {
|
|
6
6
|
machineColumnWidth: number;
|
7
7
|
nextRowMachineInstance?: ExecutionContext | {} | undefined;
|
8
8
|
previousRowMachineInstance?: ExecutionContext | {} | undefined;
|
9
|
-
onAddBrowser: () => void;
|
9
|
+
onAddBrowser: (modalId: string) => void;
|
10
10
|
onDeleteBrowser: (id: string, runCount: number) => void;
|
11
11
|
onAddRunBrowser: (id: string) => void;
|
12
|
+
onUpdateDataSetList: (id: string, dataSetObject: dataSetValues, isInstance?: boolean, noOfRuns?: number, machineInstanceId?: string) => void;
|
12
13
|
}
|
13
14
|
export interface branchTypeProps {
|
14
15
|
currentBranch: ExecutionContext | undefined | {};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { ConnectingBranchesProps } from './types';
|
2
2
|
import './ConnectingBranches.scss';
|
3
|
-
declare const ConnectingBranches: ({ machineBranchInstances, machineColumnCount, machineColumnWidth, onAddBrowser, onDeleteBrowser, onAddRunBrowser, }: ConnectingBranchesProps) => import("react/jsx-runtime").JSX.Element;
|
3
|
+
declare const ConnectingBranches: ({ machineBranchInstances, machineColumnCount, machineColumnWidth, onAddBrowser, onDeleteBrowser, onAddRunBrowser, onUpdateDataSetList, }: ConnectingBranchesProps) => import("react/jsx-runtime").JSX.Element;
|
4
4
|
export default ConnectingBranches;
|
@@ -1,9 +1,10 @@
|
|
1
|
-
import { ExecutionContext } from '../../types';
|
1
|
+
import { dataSetValues, ExecutionContext } from '../../types';
|
2
2
|
export interface ConnectingBranchesProps {
|
3
3
|
machineBranchInstances: ExecutionContext[] | {}[];
|
4
4
|
machineColumnCount: number;
|
5
5
|
machineColumnWidth: number;
|
6
|
-
onAddBrowser: () => void;
|
6
|
+
onAddBrowser: (modalId: string) => void;
|
7
7
|
onDeleteBrowser: (id: string, runCount: number) => void;
|
8
8
|
onAddRunBrowser: (id: string) => void;
|
9
|
+
onUpdateDataSetList: (id: string, dataSetObject: dataSetValues, isInstance?: boolean, noOfRuns?: number, machineInstanceId?: string) => void;
|
9
10
|
}
|
@@ -6,10 +6,13 @@ export interface SequentialConnectingBranchProps {
|
|
6
6
|
selectedMachine?: Option;
|
7
7
|
machineOptionsList?: Option[];
|
8
8
|
onHandleSelect?: (option: Option) => void;
|
9
|
-
onAddBrowserInstance?: () => void;
|
9
|
+
onAddBrowserInstance?: (modalId: string) => void;
|
10
10
|
onUpdateAddBrowserInstance?: () => void;
|
11
11
|
onDeleteBrowserInstance?: (id: string, runCount: number) => void;
|
12
|
-
onAddRunBrowserInstance?: (
|
12
|
+
onAddRunBrowserInstance?: (machineInstanceId: string) => void;
|
13
|
+
onDeleteMachineInstance?: () => void;
|
14
|
+
onUpdateDataSetList: (id: string, dataSetObject: dataSetValues, isInstance?: boolean, noOfRuns?: number, machineInstanceId?: string) => void;
|
15
|
+
dataSetValues: dataSetValues;
|
13
16
|
}
|
14
17
|
export interface MachineInfo {
|
15
18
|
osName: string;
|
@@ -19,7 +22,7 @@ export interface MachineInfo {
|
|
19
22
|
export interface DeviceInfo {
|
20
23
|
}
|
21
24
|
export interface ExecutionContext {
|
22
|
-
|
25
|
+
machineInstanceId: string;
|
23
26
|
clientId: string;
|
24
27
|
numberOfRuns: number;
|
25
28
|
executionEnv?: 'Local';
|
@@ -33,3 +36,8 @@ export interface ExecutionContext {
|
|
33
36
|
globalVariableSetId: string;
|
34
37
|
testDataSetId: string;
|
35
38
|
}
|
39
|
+
export interface dataSetValues {
|
40
|
+
peVariableSetId: string;
|
41
|
+
globalVariableSetId: string;
|
42
|
+
testDataSetId: string;
|
43
|
+
}
|
@@ -23,7 +23,38 @@ declare const data: ({
|
|
23
23
|
folder: boolean;
|
24
24
|
moduleLevelScriptCount: number;
|
25
25
|
name: string;
|
26
|
-
parentId
|
26
|
+
parentId: null;
|
27
|
+
id: string;
|
28
|
+
parentName?: undefined;
|
29
|
+
};
|
30
|
+
level: number;
|
31
|
+
} | {
|
32
|
+
node: {
|
33
|
+
subModuleCount: number;
|
34
|
+
title: string;
|
35
|
+
scriptCount: number;
|
36
|
+
path: string;
|
37
|
+
expanded: boolean;
|
38
|
+
modifiedOn: string;
|
39
|
+
children: boolean;
|
40
|
+
lastExecutionOrder: number;
|
41
|
+
imported: boolean;
|
42
|
+
modifiedBy: string;
|
43
|
+
moduleCountWithScript: number;
|
44
|
+
state: string;
|
45
|
+
key: string;
|
46
|
+
ver: number;
|
47
|
+
hierarchy: number;
|
48
|
+
assigneeCount: number;
|
49
|
+
searchKey: string;
|
50
|
+
modifiedByUname: string;
|
51
|
+
executionOrder: number;
|
52
|
+
createdByUname: string;
|
53
|
+
folder: boolean;
|
54
|
+
moduleLevelScriptCount: number;
|
55
|
+
name: string;
|
56
|
+
parentId: string;
|
57
|
+
id: string;
|
27
58
|
parentName?: undefined;
|
28
59
|
};
|
29
60
|
level: number;
|
@@ -37,6 +68,8 @@ declare const data: ({
|
|
37
68
|
modifiedOn: string;
|
38
69
|
folder: boolean;
|
39
70
|
children: boolean;
|
71
|
+
parentId: string;
|
72
|
+
id: string;
|
40
73
|
lastExecutionOrder?: undefined;
|
41
74
|
imported?: undefined;
|
42
75
|
modifiedBy?: undefined;
|
@@ -52,7 +85,6 @@ declare const data: ({
|
|
52
85
|
createdByUname?: undefined;
|
53
86
|
moduleLevelScriptCount?: undefined;
|
54
87
|
name?: undefined;
|
55
|
-
parentId?: undefined;
|
56
88
|
parentName?: undefined;
|
57
89
|
};
|
58
90
|
level: number;
|
@@ -83,6 +115,7 @@ declare const data: ({
|
|
83
115
|
key: string;
|
84
116
|
folder: boolean;
|
85
117
|
children: boolean;
|
118
|
+
id: string;
|
86
119
|
};
|
87
120
|
level: number;
|
88
121
|
} | {
|
@@ -111,6 +144,7 @@ declare const data: ({
|
|
111
144
|
state: string;
|
112
145
|
key: string;
|
113
146
|
children: boolean;
|
147
|
+
id: string;
|
114
148
|
folder?: undefined;
|
115
149
|
};
|
116
150
|
level: number;
|
@@ -20,10 +20,9 @@ export interface TreeTableProps {
|
|
20
20
|
columnsData: Column[];
|
21
21
|
selected?: string[];
|
22
22
|
select?: 'radio' | 'checkbox' | null;
|
23
|
-
onChange?: (
|
24
|
-
onPagination?: (node: TreeNode) => void;
|
23
|
+
onChange?: (nodes: string[]) => void;
|
25
24
|
onClick?: (e: React.MouseEvent<HTMLDivElement>, row: TreeNode) => void;
|
26
25
|
expandedNodes: string[];
|
27
26
|
onExpand?: (_isExpanded: boolean, node: string) => void;
|
28
|
-
|
27
|
+
onPagination?: (_direction: string) => void;
|
29
28
|
}
|
package/lib/index.d.ts
CHANGED
@@ -1532,12 +1532,11 @@ interface TreeTableProps {
|
|
1532
1532
|
columnsData: Column[];
|
1533
1533
|
selected?: string[];
|
1534
1534
|
select?: 'radio' | 'checkbox' | null;
|
1535
|
-
onChange?: (
|
1536
|
-
onPagination?: (node: TreeNode) => void;
|
1535
|
+
onChange?: (nodes: string[]) => void;
|
1537
1536
|
onClick?: (e: React.MouseEvent<HTMLDivElement>, row: TreeNode) => void;
|
1538
1537
|
expandedNodes: string[];
|
1539
1538
|
onExpand?: (_isExpanded: boolean, node: string) => void;
|
1540
|
-
|
1539
|
+
onPagination?: (_direction: string) => void;
|
1541
1540
|
}
|
1542
1541
|
|
1543
1542
|
declare const TreeTable: React__default.FC<TreeTableProps>;
|
@@ -1842,12 +1841,6 @@ interface AppHeaderProps {
|
|
1842
1841
|
rightContent?: ReactNode;
|
1843
1842
|
projectsList?: optionsType[];
|
1844
1843
|
appHeaderMenuItems: appHeaderMenuItemProps[];
|
1845
|
-
appHeaderHiddenMenuItems?: {
|
1846
|
-
label: string;
|
1847
|
-
value: string | string[];
|
1848
|
-
icon: string;
|
1849
|
-
disable?: boolean;
|
1850
|
-
}[];
|
1851
1844
|
selectedMenu: string;
|
1852
1845
|
selectedSubMenu?: string;
|
1853
1846
|
selectedQuickMenu?: string;
|
@@ -1862,20 +1855,38 @@ interface AppHeaderProps {
|
|
1862
1855
|
interface appHeaderMenuItemProps {
|
1863
1856
|
label: string;
|
1864
1857
|
path?: string;
|
1858
|
+
disable?: boolean;
|
1859
|
+
disableText?: string;
|
1860
|
+
hide?: boolean;
|
1865
1861
|
subMenuItems?: appHeaderSubMenuItemProps[];
|
1866
1862
|
}
|
1867
1863
|
interface appHeaderSubMenuItemProps {
|
1868
1864
|
label: string;
|
1869
1865
|
path?: string;
|
1866
|
+
disable?: boolean;
|
1867
|
+
disableText?: string;
|
1868
|
+
hide?: boolean;
|
1870
1869
|
quickMenuItems?: appHeaderQuickMenuItemProps[];
|
1870
|
+
hiddenMenuItems?: appHeaderHiddenMenuItemProps[];
|
1871
1871
|
}
|
1872
1872
|
interface appHeaderQuickMenuItemProps {
|
1873
1873
|
label?: string;
|
1874
1874
|
path?: string;
|
1875
1875
|
iconName: string;
|
1876
|
+
disable?: boolean;
|
1877
|
+
disableText?: string;
|
1878
|
+
hide?: boolean;
|
1879
|
+
}
|
1880
|
+
interface appHeaderHiddenMenuItemProps {
|
1881
|
+
label: string;
|
1882
|
+
value: string | string[];
|
1883
|
+
icon: string;
|
1884
|
+
disable?: boolean;
|
1885
|
+
disableText?: string;
|
1886
|
+
hide?: boolean;
|
1876
1887
|
}
|
1877
1888
|
|
1878
|
-
declare const AppHeader:
|
1889
|
+
declare const AppHeader: React__default.FC<AppHeaderProps>;
|
1879
1890
|
|
1880
1891
|
interface PaperProps {
|
1881
1892
|
/**
|
@@ -1914,6 +1925,8 @@ type DashboardDonutChartProps = {
|
|
1914
1925
|
showUnit?: boolean;
|
1915
1926
|
labelFontSize?: number;
|
1916
1927
|
subLabelFontSize?: number;
|
1928
|
+
legendPosition?: 'bottom' | 'right' | 'left';
|
1929
|
+
legendGap?: number;
|
1917
1930
|
};
|
1918
1931
|
|
1919
1932
|
declare const DashboardDonutChart: React__default.FC<DashboardDonutChartProps>;
|
@@ -2008,7 +2021,7 @@ interface IconRadioGroupProps {
|
|
2008
2021
|
declare const IconRadioGroup: React__default.FC<IconRadioGroupProps>;
|
2009
2022
|
|
2010
2023
|
interface MachineType {
|
2011
|
-
type:
|
2024
|
+
type: string;
|
2012
2025
|
label: string;
|
2013
2026
|
}
|
2014
2027
|
interface MachineInputFieldProps {
|
@@ -2029,10 +2042,13 @@ interface SequentialConnectingBranchProps {
|
|
2029
2042
|
selectedMachine?: Option$2;
|
2030
2043
|
machineOptionsList?: Option$2[];
|
2031
2044
|
onHandleSelect?: (option: Option$2) => void;
|
2032
|
-
onAddBrowserInstance?: () => void;
|
2045
|
+
onAddBrowserInstance?: (modalId: string) => void;
|
2033
2046
|
onUpdateAddBrowserInstance?: () => void;
|
2034
2047
|
onDeleteBrowserInstance?: (id: string, runCount: number) => void;
|
2035
|
-
onAddRunBrowserInstance?: (
|
2048
|
+
onAddRunBrowserInstance?: (machineInstanceId: string) => void;
|
2049
|
+
onDeleteMachineInstance?: () => void;
|
2050
|
+
onUpdateDataSetList: (id: string, dataSetObject: dataSetValues, isInstance?: boolean, noOfRuns?: number, machineInstanceId?: string) => void;
|
2051
|
+
dataSetValues: dataSetValues;
|
2036
2052
|
}
|
2037
2053
|
interface MachineInfo {
|
2038
2054
|
osName: string;
|
@@ -2042,7 +2058,7 @@ interface MachineInfo {
|
|
2042
2058
|
interface DeviceInfo {
|
2043
2059
|
}
|
2044
2060
|
interface ExecutionContext {
|
2045
|
-
|
2061
|
+
machineInstanceId: string;
|
2046
2062
|
clientId: string;
|
2047
2063
|
numberOfRuns: number;
|
2048
2064
|
executionEnv?: 'Local';
|
@@ -2056,8 +2072,13 @@ interface ExecutionContext {
|
|
2056
2072
|
globalVariableSetId: string;
|
2057
2073
|
testDataSetId: string;
|
2058
2074
|
}
|
2075
|
+
interface dataSetValues {
|
2076
|
+
peVariableSetId: string;
|
2077
|
+
globalVariableSetId: string;
|
2078
|
+
testDataSetId: string;
|
2079
|
+
}
|
2059
2080
|
|
2060
|
-
declare const SequentialConnectingBranch:
|
2081
|
+
declare const SequentialConnectingBranch: FC<SequentialConnectingBranchProps>;
|
2061
2082
|
|
2062
2083
|
interface AttachmentUploaderProps {
|
2063
2084
|
label: string;
|
@@ -2494,6 +2515,7 @@ type BarChartProps = {
|
|
2494
2515
|
icons?: (string | React__default.ReactNode)[];
|
2495
2516
|
iconSize?: number;
|
2496
2517
|
backgroundColor?: string;
|
2518
|
+
legendPosition?: 'top' | 'bottom';
|
2497
2519
|
};
|
2498
2520
|
declare const BarChart: React__default.FC<BarChartProps>;
|
2499
2521
|
|
@@ -2556,4 +2578,21 @@ declare const saveFileFromBlob: (blob: Blob, filename: string) => void;
|
|
2556
2578
|
|
2557
2579
|
declare const useFileDropzone: (options: DropzoneOptions) => DropzoneState;
|
2558
2580
|
|
2559
|
-
|
2581
|
+
interface PopUpModalProps {
|
2582
|
+
isOpen: boolean;
|
2583
|
+
onClose: () => void;
|
2584
|
+
onContinue?: () => void;
|
2585
|
+
titleMessage: string;
|
2586
|
+
subTitleMessage?: string;
|
2587
|
+
iconName: string;
|
2588
|
+
modalMessage: string;
|
2589
|
+
footerMessage: string;
|
2590
|
+
firstButtonLabel?: string;
|
2591
|
+
secondButtonLabel: string;
|
2592
|
+
buttonVariant: any;
|
2593
|
+
border: string;
|
2594
|
+
}
|
2595
|
+
|
2596
|
+
declare const PopUpModal: FC<PopUpModalProps>;
|
2597
|
+
|
2598
|
+
export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BarChart, Button, Checkbox, Chip, Col, ConnectingBranch, Container, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, HighlightText, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LabelEditTextField, LineChart, MachineInputField, MenuOption, MiniModal, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, Paper, PieChart, PopUpModal, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, Table, TreeTable as TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, VariableDropdown, VariableInput, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getSequentialPayload, saveFileFromBlob, throttle, toast, truncateText, useFileDropzone, useTheme };
|