pixel-react-excel-sheet 1.0.30 → 1.0.32

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.
Files changed (85) hide show
  1. package/lib/components/Charts/BarChart/BarChart.d.ts +1 -0
  2. package/lib/components/Charts/DashboardDonutChart/types.d.ts +1 -0
  3. package/lib/components/ConditionalDropdown/types.d.ts +1 -1
  4. package/lib/components/ConnectingBranch/ConnectingBranch.d.ts +2 -1
  5. package/lib/components/ConnectingBranch/data.d.ts +19 -33
  6. package/lib/components/ConnectingBranch/types.d.ts +10 -0
  7. package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.d.ts +7 -1
  8. package/lib/components/FileDropzone/types.d.ts +12 -4
  9. package/lib/components/MachineInputField/MachineInputField.d.ts +4 -1
  10. package/lib/components/MenuOption/types.d.ts +1 -1
  11. package/lib/components/PopUpModal/types.d.ts +2 -1
  12. package/lib/components/Select/types.d.ts +1 -1
  13. package/lib/components/StatusCard/types.d.ts +7 -1
  14. package/lib/components/TextArea/Textarea.d.ts +1 -1
  15. package/lib/components/TextArea/Types.d.ts +1 -0
  16. package/lib/components/ThemeProvider/types.d.ts +1 -1
  17. package/lib/index.d.ts +99 -69
  18. package/lib/index.esm.js +241 -137
  19. package/lib/index.esm.js.map +1 -1
  20. package/lib/index.js +241 -137
  21. package/lib/index.js.map +1 -1
  22. package/lib/tsconfig.tsbuildinfo +1 -1
  23. package/lib/utils/validateFile/validateFile.d.ts +2 -0
  24. package/package.json +2 -2
  25. package/src/assets/Themes/BaseTheme.scss +1 -0
  26. package/src/assets/Themes/BlueTheme.scss +279 -0
  27. package/src/assets/Themes/DarkTheme.scss +1 -0
  28. package/src/assets/Themes/Theme.scss +5 -0
  29. package/src/components/AppHeader/AppHeader.tsx +4 -2
  30. package/src/components/Charts/BarChart/BarChart.stories.tsx +3 -0
  31. package/src/components/Charts/BarChart/BarChart.tsx +7 -0
  32. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +4 -0
  33. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +1 -0
  34. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +4 -2
  35. package/src/components/Charts/DashboardDonutChart/types.ts +1 -0
  36. package/src/components/ConditionalDropdown/ConditionalDropdown.stories.tsx +1 -1
  37. package/src/components/ConditionalDropdown/types.ts +1 -1
  38. package/src/components/ConnectingBranch/BranchComponents/MachineInstances.tsx +94 -79
  39. package/src/components/ConnectingBranch/ConnectingBranch.scss +31 -45
  40. package/src/components/ConnectingBranch/ConnectingBranch.stories.tsx +33 -1
  41. package/src/components/ConnectingBranch/ConnectingBranch.tsx +36 -23
  42. package/src/components/ConnectingBranch/{data.ts → data.tsx} +106 -17
  43. package/src/components/ConnectingBranch/types.ts +21 -0
  44. package/src/components/Excel/ExcelFile/ExcelFile.tsx +1 -1
  45. package/src/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.tsx +7 -5
  46. package/src/components/Excel/ExcelFile/ExcelFileComponents/FloatingRect.tsx +6 -1
  47. package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.scss +30 -11
  48. package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.tsx +65 -19
  49. package/src/components/Excel/ExcelFile/ExcelFileComponents/actions.ts +14 -0
  50. package/src/components/Excel/ExcelFile/ExcelFileComponents/reducer.ts +16 -0
  51. package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +41 -32
  52. package/src/components/FileDropzone/Dropzone.tsx +3 -0
  53. package/src/components/FileDropzone/FileDropzone.scss +18 -0
  54. package/src/components/FileDropzone/FileDropzone.stories.tsx +75 -7
  55. package/src/components/FileDropzone/FileDropzone.tsx +2 -0
  56. package/src/components/FileDropzone/RadioFilePreview.tsx +7 -3
  57. package/src/components/FileDropzone/types.ts +13 -4
  58. package/src/components/Icon/iconList.ts +2 -2
  59. package/src/components/InputWithDropdown/InputWithDropdown.tsx +1 -1
  60. package/src/components/MachineInputField/MachineInputField.tsx +67 -70
  61. package/src/components/MenuOption/MenuOption.stories.tsx +2 -3
  62. package/src/components/MenuOption/MenuOption.tsx +9 -2
  63. package/src/components/MenuOption/types.ts +1 -1
  64. package/src/components/PopUpModal/types.ts +4 -3
  65. package/src/components/Search/Search.stories.tsx +1 -2
  66. package/src/components/Select/types.ts +1 -1
  67. package/src/components/SequentialConnectingBranch/components/Branches/Branches.scss +1 -0
  68. package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +2 -8
  69. package/src/components/StatusCard/StatusCard.scss +47 -4
  70. package/src/components/StatusCard/StatusCard.stories.tsx +1 -0
  71. package/src/components/StatusCard/StatusCard.tsx +28 -5
  72. package/src/components/StatusCard/types.ts +15 -10
  73. package/src/components/TextArea/Textarea.tsx +2 -0
  74. package/src/components/TextArea/Types.ts +3 -0
  75. package/src/components/ThemeProvider/types.ts +1 -1
  76. package/src/components/Toastify/Toastify.tsx +1 -0
  77. package/src/utils/validateFile/validateFile.stories.tsx +49 -0
  78. package/src/utils/validateFile/validateFile.ts +39 -0
  79. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.scss +0 -51
  80. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.tsx +0 -107
  81. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/types.ts +0 -5
  82. package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.scss +0 -31
  83. package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.tsx +0 -85
  84. package/src/components/SequentialConnectingBranch/components/DatasetListModal/types.ts +0 -4
  85. /package/src/assets/icons/{impactList.svg → impact_list.svg} +0 -0
@@ -21,6 +21,7 @@ type BarChartProps = {
21
21
  backgroundColor?: string;
22
22
  legendPosition?: 'top' | 'bottom';
23
23
  legendGap?: number;
24
+ onSelectedBar?: (_label: string) => void;
24
25
  };
25
26
  declare const BarChart: React.FC<BarChartProps>;
26
27
  export default BarChart;
@@ -34,6 +34,7 @@ export type DashboardDonutChartProps = {
34
34
  chartGap?: number;
35
35
  legendGap?: number;
36
36
  tableWidth?: number;
37
+ tableHeight?: number;
37
38
  legendValueFontSize?: number;
38
39
  legendKeyFontSize?: number;
39
40
  labelYoffSet?: number;
@@ -21,7 +21,7 @@ export interface ConditionalDropdownProps {
21
21
  /**
22
22
  * Function storing and updating the inputValue state
23
23
  */
24
- setHashInputValue?: (value: dynamicObject | undefined) => void;
24
+ setHashInputValue?: (value: File | dynamicObject | null) => void;
25
25
  /**
26
26
  * List of variables
27
27
  */
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
2
  import './ConnectingBranch.scss';
3
- declare const ConnectingBranch: React.FC;
3
+ import { ConnectBranchProps } from './types';
4
+ declare const ConnectingBranch: React.FC<ConnectBranchProps>;
4
5
  export default ConnectingBranch;
@@ -3,7 +3,7 @@ declare const machineData: {
3
3
  machines: {
4
4
  multiple: boolean;
5
5
  totalNoScript: number;
6
- selectedMachines: ({
6
+ selectedMachines: {
7
7
  clientId: string;
8
8
  executionDataSet: {
9
9
  peVariableSetId: string;
@@ -22,13 +22,20 @@ declare const machineData: {
22
22
  osVersion: string;
23
23
  hostName: string;
24
24
  };
25
- deviceInfo: never[];
25
+ deviceInfo: {
26
+ version: string;
27
+ name: string;
28
+ type: string;
29
+ subType: string;
30
+ platform: string;
31
+ }[];
26
32
  headless: boolean;
27
33
  runLevelExecutionDataSets: {
28
34
  peVariableSetId: string;
29
35
  globalVariableSetId: string;
30
36
  testDataSetId: string;
31
37
  runScriptCount: number;
38
+ browserRenderer: string;
32
39
  }[];
33
40
  } | {
34
41
  clientId: string;
@@ -42,44 +49,23 @@ declare const machineData: {
42
49
  osVersion: string;
43
50
  hostName: string;
44
51
  };
45
- deviceInfo: never[];
46
- headless: boolean;
47
- runLevelExecutionDataSets: {
48
- peVariableSetId: string;
49
- globalVariableSetId: string;
50
- testDataSetId: string;
52
+ deviceInfo: {
53
+ version: string;
54
+ name: string;
55
+ type: string;
56
+ subType: string;
57
+ platform: string;
51
58
  }[];
52
- })[];
53
- totalScript?: undefined;
54
- } | {
55
- clientId: string;
56
- executionDataSet: {
57
- peVariableSetId: string;
58
- globalVariableSetId: string;
59
- testDataSetId: string;
60
- };
61
- totalScript: number;
62
- machineInstances: {
63
- clientId: string;
64
- numberOfRuns: string;
65
- executionEnv: string;
66
- browserName: string;
67
- browserVersion: string;
68
- systemUrl: string;
69
- machineInfo: {
70
- osName: string;
71
- osVersion: string;
72
- hostName: string;
73
- };
74
- deviceInfo: never[];
75
59
  headless: boolean;
76
60
  runLevelExecutionDataSets: {
77
61
  peVariableSetId: string;
78
62
  globalVariableSetId: string;
79
63
  testDataSetId: string;
64
+ runScriptCount: number;
65
+ executionDataSetId: string;
80
66
  }[];
81
- }[];
82
- })[];
67
+ })[];
68
+ }[];
83
69
  executionType: string;
84
70
  };
85
71
  };
@@ -1,3 +1,4 @@
1
+ import { ReactElement } from 'react';
1
2
  type MachineInstanceData = any;
2
3
  export interface MachineInstance {
3
4
  [key: string]: MachineInstanceData;
@@ -7,13 +8,22 @@ export interface MachineData {
7
8
  [key: string]: machineDataObj;
8
9
  }
9
10
  export interface MachineInstancesProps {
11
+ parentNode: number;
10
12
  data: MachineData;
11
13
  verticalLineHeight: number;
12
14
  datasetHeight: number;
13
15
  curveHeights: number[];
14
16
  itemRefs: React.MutableRefObject<(HTMLDivElement | null)[]>;
15
17
  datasetRef: React.RefObject<HTMLDivElement>;
18
+ getChildNodeComponent: (isButton: boolean, ...args: any[]) => ReactElement<any, any>;
16
19
  }
17
20
  export type indexType = number;
18
21
  export type rowType = number;
22
+ export interface ConnectBranchProps {
23
+ data: MachineData;
24
+ childNodeCurveHeight?: number;
25
+ getParentNodeComponent: (isMultiSelect: boolean, ...args: any[]) => ReactElement<any, any>;
26
+ getParentNodeComponentActionItems: (...args: any[]) => ReactElement<any, any>;
27
+ getChildNodeComponent: (isButton: boolean, ...args: any[]) => ReactElement<any, any>;
28
+ }
19
29
  export {};
@@ -162,6 +162,12 @@ export type SetDataAction = BaseAction<typeof SET_DATA> & {
162
162
  data: Matrix<CellBase>;
163
163
  };
164
164
  };
165
+ export type KeyPressAction = BaseAction<typeof KEY_PRESS> & {
166
+ payload: {
167
+ event: React.KeyboardEvent;
168
+ };
169
+ };
170
+ export declare function keyPress(event: React.KeyboardEvent): KeyPressAction;
165
171
  export declare function setData(data: Matrix<CellBase>): SetDataAction;
166
172
  export type SetCreateFormulaParserAction = BaseAction<typeof SET_CREATE_FORMULA_PARSER> & {
167
173
  payload: {
@@ -251,4 +257,4 @@ export type ClearAction = BaseAction<typeof CLEAR>;
251
257
  export declare function clear(): ClearAction;
252
258
  export type BlurAction = BaseAction<typeof BLUR>;
253
259
  export declare function blur(): BlurAction;
254
- export type Action = SetDataAction | SetCreateFormulaParserAction | SelectEntireRowAction | SelectEntireColumnAction | SelectEntireWorksheetAction | SetSelectionAction | SelectAction | ActivateAction | SetCellDataAction | SetCellDimensionsAction | PasteAction | KeyDownAction | DragStartAction | DragEndAction | CommitAction | CopyAction | CutAction | EditAction | ViewAction | ClearAction | UnderlineTypeStyle | FontSize | FontFamily | TextAlignType | BorderType | ItalicStyle | BoldStyle | ColorStyle | BackgroundStyle | FormatePainterStyle | AddRowTop | AddColumnLeft | DeleteRow | DeleteColumn | SetRowHeight | SetColumnPosition | SetAutoFill | BlurAction;
260
+ export type Action = SetDataAction | SetCreateFormulaParserAction | SelectEntireRowAction | SelectEntireColumnAction | SelectEntireWorksheetAction | SetSelectionAction | SelectAction | ActivateAction | SetCellDataAction | SetCellDimensionsAction | PasteAction | KeyDownAction | DragStartAction | DragEndAction | CommitAction | CopyAction | CutAction | EditAction | ViewAction | ClearAction | UnderlineTypeStyle | FontSize | FontFamily | KeyPressAction | TextAlignType | BorderType | ItalicStyle | BoldStyle | ColorStyle | BackgroundStyle | FormatePainterStyle | AddRowTop | AddColumnLeft | DeleteRow | DeleteColumn | SetRowHeight | SetColumnPosition | SetAutoFill | BlurAction;
@@ -1,4 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
+ import { DynamicObj } from '../CreateVariable/types';
2
3
  export interface RadioOption {
3
4
  label: string;
4
5
  value: string;
@@ -85,11 +86,11 @@ export interface FileDropzoneProps {
85
86
  /**
86
87
  * Its the File Name of File Selected from Local File.
87
88
  **/
88
- setSelectedFile?: (file: File | null) => void;
89
+ setSelectedFile?: (file: File | DynamicObj | null) => void;
89
90
  /**
90
91
  * Its the File Name of File Selected from Local File.
91
92
  **/
92
- selectedFile?: File | null;
93
+ selectedFile?: File | DynamicObj | null;
93
94
  /**
94
95
  * Its the function which updates the Selected file from Local Directory.
95
96
  **/
@@ -106,6 +107,10 @@ export interface FileDropzoneProps {
106
107
  * If isDisable is true not able to access the FileDropzone
107
108
  **/
108
109
  isDisable?: boolean;
110
+ /**
111
+ * Its the boolean value setted when the replace is clicked for TestData radio option .
112
+ **/
113
+ setShowDrawer?: (value: boolean | ((prevState: boolean) => boolean)) => void;
109
114
  }
110
115
  export interface FileState {
111
116
  accepted: File[];
@@ -154,11 +159,12 @@ export interface DroppableProps {
154
159
  selectedRadioOption?: Option;
155
160
  radioOptions?: RadioOption[];
156
161
  handleOptionChange?: (option: RadioOption) => void;
157
- selectedFile?: File | null;
158
- setSelectedFile?: (file: File | null) => void;
162
+ selectedFile?: File | DynamicObj | null;
163
+ setSelectedFile?: (file: File | DynamicObj | null) => void;
159
164
  handleFileChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
160
165
  handleRemoveFile?: () => void;
161
166
  isDisable?: boolean;
167
+ setShowDrawer?: (value: boolean | ((prevState: boolean) => boolean)) => void;
162
168
  }
163
169
  export interface FilePreviewProps {
164
170
  file: File;
@@ -172,4 +178,6 @@ export interface RadioFilePreviewProps {
172
178
  onFileRemoveClick?: () => void;
173
179
  onFileReplaceClick?: (file: File | null) => void;
174
180
  setSelectedFile?: (file: File | null) => void;
181
+ selectedRadioOption?: Option;
182
+ setShowDrawer?: (value: boolean | ((prevState: boolean) => boolean)) => void;
175
183
  }
@@ -1,4 +1,7 @@
1
1
  import './MachineInputField.scss';
2
2
  import { MachineInputFieldProps } from './types';
3
- declare const MachineInputField: import("react").ForwardRefExoticComponent<MachineInputFieldProps & import("react").RefAttributes<HTMLDivElement>>;
3
+ declare const MachineInputField: {
4
+ ({ width, options, runCount, className, contentReverse, onClick, modalId, }: MachineInputFieldProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
4
7
  export default MachineInputField;
@@ -173,7 +173,7 @@ interface MenuOptionProps {
173
173
  * @optional
174
174
  */
175
175
  optionCardVariant?: 'primary';
176
- targetRef?: React.RefObject<HTMLElement>;
176
+ targetRef?: string | React.RefObject<HTMLElement>;
177
177
  }
178
178
  interface OptionProps {
179
179
  /**
@@ -5,7 +5,8 @@ export interface PopUpModalProps {
5
5
  titleMessage: string;
6
6
  subTitleMessage?: string;
7
7
  iconName: string;
8
- modalMessage: string;
8
+ modalMessage: string | React.ReactNode;
9
+ secondaryMessage?: string | React.ReactNode;
9
10
  firstButtonLabel?: string;
10
11
  secondButtonLabel: string;
11
12
  buttonVariant: any;
@@ -2,7 +2,7 @@ export interface SelectProps {
2
2
  label?: string;
3
3
  showLabel?: boolean;
4
4
  optionsList: Option[];
5
- selectedOption?: Option;
5
+ selectedOption: Option;
6
6
  onChange: (option: Option) => void;
7
7
  errorMsg?: string;
8
8
  className?: string;
@@ -2,9 +2,15 @@ export interface CardProps {
2
2
  /** The icon to display in the card */
3
3
  icon: string;
4
4
  /** The status of the card (Passed, Failed, Warning, Skipped, Flaky) */
5
- status: 'Passed' | 'Failed' | 'Warning' | 'Skipped' | 'Flaky';
5
+ status: 'Passed' | 'Failed' | 'Warning' | 'Skipped' | 'Flaky' | 'PASSED' | 'FAIL' | 'WARNING' | 'SKIPPED' | 'FLAKY';
6
6
  /** The number displayed in the card */
7
7
  count: number | string;
8
8
  /** The description text displayed at the bottom of the card */
9
9
  text: string;
10
+ /** Inline Styling */
11
+ style?: React.CSSProperties;
12
+ /** toggle update */
13
+ handleToggleStatus?: (_status: boolean) => void;
14
+ /** call back */
15
+ onSelectedStatus?: (_status: string) => void;
10
16
  }
@@ -1,4 +1,4 @@
1
1
  import './Textarea.scss';
2
2
  import { TextareaProps } from './Types';
3
- declare const Textarea: ({ capacity, name, label, value, variant, error, helperText, disabled, required, placeholder, className, onChange, onBlur, onFocus, rows, cols, resize, ...props }: TextareaProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const Textarea: ({ capacity, name, label, value, variant, error, helperText, disabled, required, placeholder, className, onChange, onBlur, onFocus, onPaste, rows, cols, resize, ...props }: TextareaProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Textarea;
@@ -46,6 +46,7 @@ export interface TextareaProps {
46
46
  onKeyDown?: (event: React.KeyboardEvent<HTMLTextAreaElement>) => void;
47
47
  onBlur?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
48
48
  onFocus?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
49
+ onPaste?: (event: React.ClipboardEvent<HTMLTextAreaElement>) => void;
49
50
  /**
50
51
  * id to select the textarea field uniquely
51
52
  */
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from "react";
2
- export type Theme = 'ff-light-theme' | 'ff-dark-theme' | 'ff-grey-theme';
2
+ export type Theme = 'ff-light-theme' | 'ff-dark-theme' | 'ff-grey-theme' | 'ff-blue-theme';
3
3
  export interface ThemeContextType {
4
4
  currentTheme: Theme;
5
5
  setCurrentTheme: React.Dispatch<React.SetStateAction<Theme>>;
package/lib/index.d.ts CHANGED
@@ -684,7 +684,7 @@ interface SelectProps$1 {
684
684
  label?: string;
685
685
  showLabel?: boolean;
686
686
  optionsList: Option$2[];
687
- selectedOption?: Option$2;
687
+ selectedOption: Option$2;
688
688
  onChange: (option: Option$2) => void;
689
689
  errorMsg?: string;
690
690
  className?: string;
@@ -762,6 +762,7 @@ interface TextareaProps {
762
762
  onKeyDown?: (event: React.KeyboardEvent<HTMLTextAreaElement>) => void;
763
763
  onBlur?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
764
764
  onFocus?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
765
+ onPaste?: (event: React.ClipboardEvent<HTMLTextAreaElement>) => void;
765
766
  /**
766
767
  * id to select the textarea field uniquely
767
768
  */
@@ -793,7 +794,7 @@ interface TextareaProps {
793
794
  resize?: boolean;
794
795
  }
795
796
 
796
- declare const Textarea: ({ capacity, name, label, value, variant, error, helperText, disabled, required, placeholder, className, onChange, onBlur, onFocus, rows, cols, resize, ...props }: TextareaProps) => react_jsx_runtime.JSX.Element;
797
+ declare const Textarea: ({ capacity, name, label, value, variant, error, helperText, disabled, required, placeholder, className, onChange, onBlur, onFocus, onPaste, rows, cols, resize, ...props }: TextareaProps) => react_jsx_runtime.JSX.Element;
797
798
 
798
799
  interface StatusButtonProps {
799
800
  /**
@@ -949,7 +950,7 @@ interface MenuOptionProps {
949
950
  * @optional
950
951
  */
951
952
  optionCardVariant?: 'primary';
952
- targetRef?: React.RefObject<HTMLElement>;
953
+ targetRef?: string | React.RefObject<HTMLElement>;
953
954
  }
954
955
 
955
956
  declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, variant, zIndex, dropdownPlacement, optionCardVariant, targetRef, }: MenuOptionProps) => react_jsx_runtime.JSX.Element;
@@ -1099,6 +1100,62 @@ type DonutChartProps = {
1099
1100
 
1100
1101
  declare const DonutChart: React__default.FC<DonutChartProps>;
1101
1102
 
1103
+ type DynamicObj = {
1104
+ [key: string]: any;
1105
+ };
1106
+ interface CreateVariableProps {
1107
+ /**
1108
+ * Open Create variable Slider
1109
+ */
1110
+ isOpen: boolean;
1111
+ /**
1112
+ * Value for the variable name
1113
+ */
1114
+ variableName: string;
1115
+ /**
1116
+ * Value for the variable to be created
1117
+ */
1118
+ value: string;
1119
+ /**
1120
+ * List for the variable types
1121
+ */
1122
+ variableTypesList: DynamicObj[];
1123
+ /**
1124
+ * Selected variable type
1125
+ */
1126
+ selectedVariableType: DynamicObj;
1127
+ /**
1128
+ * Function to handle variable type change
1129
+ * @param option
1130
+ * @returns
1131
+ */
1132
+ onVariableTypeChange: (option: DynamicObj) => void;
1133
+ /**
1134
+ * Function to handle close
1135
+ */
1136
+ onClose?: () => void;
1137
+ /**
1138
+ * onChange of name
1139
+ */
1140
+ onNameChange: (value: string) => void;
1141
+ /**
1142
+ * onChange of value
1143
+ */
1144
+ onValueChange: (value: string) => void;
1145
+ /**
1146
+ * Hide value
1147
+ */
1148
+ hideValue: boolean;
1149
+ /**
1150
+ * onChange for hide value
1151
+ */
1152
+ onHideChange: (value: boolean) => void;
1153
+ /**
1154
+ * Function to handle submit
1155
+ */
1156
+ handleSubmit: () => void;
1157
+ }
1158
+
1102
1159
  interface RadioOption {
1103
1160
  label: string;
1104
1161
  value: string;
@@ -1185,11 +1242,11 @@ interface FileDropzoneProps {
1185
1242
  /**
1186
1243
  * Its the File Name of File Selected from Local File.
1187
1244
  **/
1188
- setSelectedFile?: (file: File | null) => void;
1245
+ setSelectedFile?: (file: File | DynamicObj | null) => void;
1189
1246
  /**
1190
1247
  * Its the File Name of File Selected from Local File.
1191
1248
  **/
1192
- selectedFile?: File | null;
1249
+ selectedFile?: File | DynamicObj | null;
1193
1250
  /**
1194
1251
  * Its the function which updates the Selected file from Local Directory.
1195
1252
  **/
@@ -1206,6 +1263,10 @@ interface FileDropzoneProps {
1206
1263
  * If isDisable is true not able to access the FileDropzone
1207
1264
  **/
1208
1265
  isDisable?: boolean;
1266
+ /**
1267
+ * Its the boolean value setted when the replace is clicked for TestData radio option .
1268
+ **/
1269
+ setShowDrawer?: (value: boolean | ((prevState: boolean) => boolean)) => void;
1209
1270
  }
1210
1271
  interface FileError {
1211
1272
  message: string;
@@ -1250,11 +1311,12 @@ interface DroppableProps {
1250
1311
  selectedRadioOption?: Option;
1251
1312
  radioOptions?: RadioOption[];
1252
1313
  handleOptionChange?: (option: RadioOption) => void;
1253
- selectedFile?: File | null;
1254
- setSelectedFile?: (file: File | null) => void;
1314
+ selectedFile?: File | DynamicObj | null;
1315
+ setSelectedFile?: (file: File | DynamicObj | null) => void;
1255
1316
  handleFileChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
1256
1317
  handleRemoveFile?: () => void;
1257
1318
  isDisable?: boolean;
1319
+ setShowDrawer?: (value: boolean | ((prevState: boolean) => boolean)) => void;
1258
1320
  }
1259
1321
  interface FilePreviewProps {
1260
1322
  file: File;
@@ -1269,7 +1331,7 @@ declare const Dropzone: FC<DroppableProps>;
1269
1331
 
1270
1332
  declare const FilePreview: React.FC<FilePreviewProps>;
1271
1333
 
1272
- type Theme = 'ff-light-theme' | 'ff-dark-theme' | 'ff-grey-theme';
1334
+ type Theme = 'ff-light-theme' | 'ff-dark-theme' | 'ff-grey-theme' | 'ff-blue-theme';
1273
1335
  interface ThemeContextType {
1274
1336
  currentTheme: Theme;
1275
1337
  setCurrentTheme: React.Dispatch<React.SetStateAction<Theme>>;
@@ -2036,6 +2098,7 @@ type DashboardDonutChartProps = {
2036
2098
  chartGap?: number;
2037
2099
  legendGap?: number;
2038
2100
  tableWidth?: number;
2101
+ tableHeight?: number;
2039
2102
  legendValueFontSize?: number;
2040
2103
  legendKeyFontSize?: number;
2041
2104
  labelYoffSet?: number;
@@ -2157,7 +2220,10 @@ interface MachineInputFieldProps {
2157
2220
  modalId?: string;
2158
2221
  }
2159
2222
 
2160
- declare const MachineInputField: React$1.ForwardRefExoticComponent<MachineInputFieldProps & React$1.RefAttributes<HTMLDivElement>>;
2223
+ declare const MachineInputField: {
2224
+ ({ width, options, runCount, className, contentReverse, onClick, modalId, }: MachineInputFieldProps): react_jsx_runtime.JSX.Element;
2225
+ displayName: string;
2226
+ };
2161
2227
 
2162
2228
  interface SequentialConnectingBranchProps {
2163
2229
  machineInstances?: ExecutionContext[] | {}[];
@@ -2471,11 +2537,17 @@ interface CardProps {
2471
2537
  /** The icon to display in the card */
2472
2538
  icon: string;
2473
2539
  /** The status of the card (Passed, Failed, Warning, Skipped, Flaky) */
2474
- status: 'Passed' | 'Failed' | 'Warning' | 'Skipped' | 'Flaky';
2540
+ status: 'Passed' | 'Failed' | 'Warning' | 'Skipped' | 'Flaky' | 'PASSED' | 'FAIL' | 'WARNING' | 'SKIPPED' | 'FLAKY';
2475
2541
  /** The number displayed in the card */
2476
2542
  count: number | string;
2477
2543
  /** The description text displayed at the bottom of the card */
2478
2544
  text: string;
2545
+ /** Inline Styling */
2546
+ style?: React.CSSProperties;
2547
+ /** toggle update */
2548
+ handleToggleStatus?: (_status: boolean) => void;
2549
+ /** call back */
2550
+ onSelectedStatus?: (_status: string) => void;
2479
2551
  }
2480
2552
 
2481
2553
  declare const StatusCard: React__default.FC<CardProps>;
@@ -2612,62 +2684,6 @@ interface fieldSetProps {
2612
2684
 
2613
2685
  declare const FieldSet: FC<fieldSetProps>;
2614
2686
 
2615
- type DynamicObj = {
2616
- [key: string]: any;
2617
- };
2618
- interface CreateVariableProps {
2619
- /**
2620
- * Open Create variable Slider
2621
- */
2622
- isOpen: boolean;
2623
- /**
2624
- * Value for the variable name
2625
- */
2626
- variableName: string;
2627
- /**
2628
- * Value for the variable to be created
2629
- */
2630
- value: string;
2631
- /**
2632
- * List for the variable types
2633
- */
2634
- variableTypesList: DynamicObj[];
2635
- /**
2636
- * Selected variable type
2637
- */
2638
- selectedVariableType: DynamicObj;
2639
- /**
2640
- * Function to handle variable type change
2641
- * @param option
2642
- * @returns
2643
- */
2644
- onVariableTypeChange: (option: DynamicObj) => void;
2645
- /**
2646
- * Function to handle close
2647
- */
2648
- onClose?: () => void;
2649
- /**
2650
- * onChange of name
2651
- */
2652
- onNameChange: (value: string) => void;
2653
- /**
2654
- * onChange of value
2655
- */
2656
- onValueChange: (value: string) => void;
2657
- /**
2658
- * Hide value
2659
- */
2660
- hideValue: boolean;
2661
- /**
2662
- * onChange for hide value
2663
- */
2664
- onHideChange: (value: boolean) => void;
2665
- /**
2666
- * Function to handle submit
2667
- */
2668
- handleSubmit: () => void;
2669
- }
2670
-
2671
2687
  declare const CreateVariableSlider: FC<CreateVariableProps>;
2672
2688
 
2673
2689
  interface ColumnProps {
@@ -2822,6 +2838,7 @@ type BarChartProps = {
2822
2838
  backgroundColor?: string;
2823
2839
  legendPosition?: 'top' | 'bottom';
2824
2840
  legendGap?: number;
2841
+ onSelectedBar?: (_label: string) => void;
2825
2842
  };
2826
2843
  declare const BarChart: React__default.FC<BarChartProps>;
2827
2844
 
@@ -2879,7 +2896,19 @@ interface SequentialMachineInstance extends Omit<MachineExecutionInstance, 'runL
2879
2896
 
2880
2897
  declare const getSequentialPayload: (data: MachineExecutionInstance[]) => SequentialMachineInstance[];
2881
2898
 
2882
- declare const ConnectingBranch: React__default.FC;
2899
+ type machineDataObj = any;
2900
+ interface MachineData {
2901
+ [key: string]: machineDataObj;
2902
+ }
2903
+ interface ConnectBranchProps {
2904
+ data: MachineData;
2905
+ childNodeCurveHeight?: number;
2906
+ getParentNodeComponent: (isMultiSelect: boolean, ...args: any[]) => ReactElement<any, any>;
2907
+ getParentNodeComponentActionItems: (...args: any[]) => ReactElement<any, any>;
2908
+ getChildNodeComponent: (isButton: boolean, ...args: any[]) => ReactElement<any, any>;
2909
+ }
2910
+
2911
+ declare const ConnectingBranch: React__default.FC<ConnectBranchProps>;
2883
2912
 
2884
2913
  declare const saveFileFromBlob: (blob: Blob, filename: string) => void;
2885
2914
 
@@ -2921,7 +2950,8 @@ interface PopUpModalProps {
2921
2950
  titleMessage: string;
2922
2951
  subTitleMessage?: string;
2923
2952
  iconName: string;
2924
- modalMessage: string;
2953
+ modalMessage: string | React.ReactNode;
2954
+ secondaryMessage?: string | React.ReactNode;
2925
2955
  firstButtonLabel?: string;
2926
2956
  secondButtonLabel: string;
2927
2957
  buttonVariant: any;
@@ -2957,7 +2987,7 @@ interface ConditionalDropdownProps {
2957
2987
  /**
2958
2988
  * Function storing and updating the inputValue state
2959
2989
  */
2960
- setHashInputValue?: (value: dynamicObject | undefined) => void;
2990
+ setHashInputValue?: (value: File | dynamicObject | null) => void;
2961
2991
  /**
2962
2992
  * List of variables
2963
2993
  */