pixel-react-excel-sheet 1.0.31 → 1.0.33

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 (138) hide show
  1. package/lib/components/Accordion/Accordion.d.ts +1 -1
  2. package/lib/components/Accordion/types.d.ts +4 -0
  3. package/lib/components/AllProjectsDropdown/types.d.ts +2 -0
  4. package/lib/components/Button/Button.d.ts +2 -2
  5. package/lib/components/Button/types.d.ts +17 -0
  6. package/lib/components/Charts/DashboardDonutChart/types.d.ts +2 -0
  7. package/lib/components/Charts/MultiRadialChart/types.d.ts +3 -0
  8. package/lib/components/ChooseFile/ChooseFile.d.ts +3 -0
  9. package/lib/components/ChooseFile/types.d.ts +68 -0
  10. package/lib/components/ConditionalDropdown/ConditionalDropdown.d.ts +1 -2
  11. package/lib/components/ConditionalDropdown/types.d.ts +4 -4
  12. package/lib/components/ConnectingBranch/ConnectingBranch.d.ts +2 -1
  13. package/lib/components/ConnectingBranch/data.d.ts +19 -33
  14. package/lib/components/ConnectingBranch/types.d.ts +10 -0
  15. package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.d.ts +7 -1
  16. package/lib/components/FileDropzone/types.d.ts +12 -4
  17. package/lib/components/LabelEditTextField/types.d.ts +3 -1
  18. package/lib/components/MachineInputField/MachineInputField.d.ts +4 -1
  19. package/lib/components/ScriptSwitchButton/ScriptSwitchButton.d.ts +9 -0
  20. package/lib/components/ScriptSwitchButton/index.d.ts +1 -0
  21. package/lib/components/Select/types.d.ts +1 -1
  22. package/lib/components/StatusCard/types.d.ts +2 -0
  23. package/lib/components/TableTree/Components/TableCell.d.ts +1 -1
  24. package/lib/components/TableTree/Components/TableRow.d.ts +1 -1
  25. package/lib/components/TableTree/data.d.ts +115 -1
  26. package/lib/components/TableTree/types.d.ts +4 -0
  27. package/lib/components/TextArea/Textarea.d.ts +1 -1
  28. package/lib/components/TextArea/Types.d.ts +1 -0
  29. package/lib/components/ThemeProvider/types.d.ts +1 -1
  30. package/lib/index.d.ts +250 -75
  31. package/lib/index.esm.js +863 -489
  32. package/lib/index.esm.js.map +1 -1
  33. package/lib/index.js +909 -488
  34. package/lib/index.js.map +1 -1
  35. package/lib/tsconfig.tsbuildinfo +1 -1
  36. package/lib/utils/validateFile/validateFile.d.ts +2 -0
  37. package/lib/validations/regex.d.ts +46 -0
  38. package/package.json +2 -2
  39. package/src/StyleGuide/ColorPalette/colorPaletteList.ts +5 -0
  40. package/src/assets/Themes/BaseTheme.scss +2 -1
  41. package/src/assets/Themes/BlueTheme.scss +279 -0
  42. package/src/assets/Themes/DarkTheme.scss +2 -1
  43. package/src/assets/Themes/Theme.scss +5 -0
  44. package/src/assets/icons/failed_status_icon.svg +1 -1
  45. package/src/assets/icons/flaky_status_icon.svg +1 -1
  46. package/src/assets/icons/settings.svg +3 -0
  47. package/src/assets/icons/skipped_status_icon.svg +1 -1
  48. package/src/assets/icons/warning_status_icon.svg +1 -1
  49. package/src/components/Accordion/Accordion.stories.tsx +13 -0
  50. package/src/components/Accordion/Accordion.tsx +2 -1
  51. package/src/components/Accordion/types.ts +4 -0
  52. package/src/components/AllProjectsDropdown/types.ts +2 -0
  53. package/src/components/AppHeader/AppHeader.scss +6 -2
  54. package/src/components/AppHeader/AppHeader.tsx +4 -2
  55. package/src/components/Button/Button.scss +12 -0
  56. package/src/components/Button/Button.tsx +29 -11
  57. package/src/components/Button/types.ts +21 -0
  58. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +83 -30
  59. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +3 -0
  60. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +39 -16
  61. package/src/components/Charts/DashboardDonutChart/types.ts +2 -0
  62. package/src/components/Charts/MultiRadialChart/MultiRadialChart.scss +0 -1
  63. package/src/components/Charts/MultiRadialChart/MultiRadialChart.stories.tsx +2 -1
  64. package/src/components/Charts/MultiRadialChart/MultiRadialChart.tsx +18 -4
  65. package/src/components/Charts/MultiRadialChart/types.ts +4 -1
  66. package/src/components/ChooseFile/ChooseFile.stories.tsx +190 -0
  67. package/src/components/ChooseFile/ChooseFile.tsx +46 -0
  68. package/src/components/ChooseFile/types.ts +78 -0
  69. package/src/components/ConditionalDropdown/ConditionalDropdown.stories.tsx +8 -5
  70. package/src/components/ConditionalDropdown/ConditionalDropdown.tsx +133 -135
  71. package/src/components/ConditionalDropdown/types.ts +8 -8
  72. package/src/components/ConnectingBranch/BranchComponents/MachineInstances.tsx +94 -79
  73. package/src/components/ConnectingBranch/ConnectingBranch.scss +183 -195
  74. package/src/components/ConnectingBranch/ConnectingBranch.stories.tsx +33 -1
  75. package/src/components/ConnectingBranch/ConnectingBranch.tsx +121 -107
  76. package/src/components/ConnectingBranch/{data.ts → data.tsx} +106 -17
  77. package/src/components/ConnectingBranch/types.ts +21 -0
  78. package/src/components/DatePicker/DatePicker.scss +310 -0
  79. package/src/components/Excel/ExcelFile/ExcelFile.tsx +4 -4
  80. package/src/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.tsx +22 -10
  81. package/src/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.tsx +2 -2
  82. package/src/components/Excel/ExcelFile/ExcelFileComponents/DataEditor.tsx +4 -1
  83. package/src/components/Excel/ExcelFile/ExcelFileComponents/FloatingRect.tsx +6 -1
  84. package/src/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.tsx +2 -2
  85. package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.scss +30 -11
  86. package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.tsx +65 -19
  87. package/src/components/Excel/ExcelFile/ExcelFileComponents/actions.ts +14 -0
  88. package/src/components/Excel/ExcelFile/ExcelFileComponents/reducer.ts +16 -0
  89. package/src/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.ts +77 -10
  90. package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +6 -5
  91. package/src/components/FileDropzone/Dropzone.tsx +3 -0
  92. package/src/components/FileDropzone/FileDropzone.scss +18 -0
  93. package/src/components/FileDropzone/FileDropzone.stories.tsx +75 -7
  94. package/src/components/FileDropzone/FileDropzone.tsx +2 -0
  95. package/src/components/FileDropzone/RadioFilePreview.tsx +7 -3
  96. package/src/components/FileDropzone/types.ts +13 -4
  97. package/src/components/Icon/iconList.ts +4 -2
  98. package/src/components/InputWithDropdown/InputWithDropdown.tsx +1 -1
  99. package/src/components/LabelEditTextField/LabelEditTextField.scss +4 -0
  100. package/src/components/LabelEditTextField/LabelEditTextField.stories.tsx +8 -3
  101. package/src/components/LabelEditTextField/LabelEditTextField.tsx +42 -18
  102. package/src/components/LabelEditTextField/types.ts +3 -1
  103. package/src/components/MachineInputField/MachineInputField.tsx +67 -70
  104. package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.scss +1 -1
  105. package/src/components/ScriptSwitchButton/ScriptSwitchButton.scss +33 -0
  106. package/src/components/ScriptSwitchButton/ScriptSwitchButton.stories.tsx +48 -0
  107. package/src/components/ScriptSwitchButton/ScriptSwitchButton.tsx +65 -0
  108. package/src/components/ScriptSwitchButton/index.ts +1 -0
  109. package/src/components/Search/Search.tsx +3 -1
  110. package/src/components/Select/Select.tsx +4 -4
  111. package/src/components/Select/types.ts +1 -1
  112. package/src/components/SequentialConnectingBranch/components/Branches/Branches.scss +1 -0
  113. package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +2 -8
  114. package/src/components/StatusCard/StatusCard.scss +2 -1
  115. package/src/components/StatusCard/StatusCard.stories.tsx +59 -1
  116. package/src/components/StatusCard/StatusCard.tsx +10 -2
  117. package/src/components/StatusCard/types.ts +2 -0
  118. package/src/components/TableTree/Components/TableBody.tsx +20 -16
  119. package/src/components/TableTree/Components/TableCell.tsx +47 -31
  120. package/src/components/TableTree/Components/TableRow.tsx +4 -0
  121. package/src/components/TableTree/TableTree.scss +121 -109
  122. package/src/components/TableTree/data.ts +48 -2
  123. package/src/components/TableTree/types.ts +4 -0
  124. package/src/components/TextArea/Textarea.tsx +2 -0
  125. package/src/components/TextArea/Types.ts +3 -0
  126. package/src/components/ThemeProvider/types.ts +1 -1
  127. package/src/index.ts +97 -0
  128. package/src/utils/validateFile/validateFile.stories.tsx +49 -0
  129. package/src/utils/validateFile/validateFile.ts +39 -0
  130. package/src/validations/regex.stories.tsx +362 -0
  131. package/src/validations/regex.ts +194 -0
  132. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.scss +0 -51
  133. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.tsx +0 -107
  134. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/types.ts +0 -5
  135. package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.scss +0 -31
  136. package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.tsx +0 -85
  137. package/src/components/SequentialConnectingBranch/components/DatasetListModal/types.ts +0 -4
  138. /package/src/assets/icons/{impactList.svg → impact_list.svg} +0 -0
package/lib/index.d.ts CHANGED
@@ -9,6 +9,62 @@ import * as DNDSortable from '@dnd-kit/sortable';
9
9
  import * as DNDUtilities from '@dnd-kit/utilities';
10
10
  import ReCAPTCHA from 'react-google-recaptcha';
11
11
 
12
+ type DynamicObj = {
13
+ [key: string]: any;
14
+ };
15
+ interface CreateVariableProps {
16
+ /**
17
+ * Open Create variable Slider
18
+ */
19
+ isOpen: boolean;
20
+ /**
21
+ * Value for the variable name
22
+ */
23
+ variableName: string;
24
+ /**
25
+ * Value for the variable to be created
26
+ */
27
+ value: string;
28
+ /**
29
+ * List for the variable types
30
+ */
31
+ variableTypesList: DynamicObj[];
32
+ /**
33
+ * Selected variable type
34
+ */
35
+ selectedVariableType: DynamicObj;
36
+ /**
37
+ * Function to handle variable type change
38
+ * @param option
39
+ * @returns
40
+ */
41
+ onVariableTypeChange: (option: DynamicObj) => void;
42
+ /**
43
+ * Function to handle close
44
+ */
45
+ onClose?: () => void;
46
+ /**
47
+ * onChange of name
48
+ */
49
+ onNameChange: (value: string) => void;
50
+ /**
51
+ * onChange of value
52
+ */
53
+ onValueChange: (value: string) => void;
54
+ /**
55
+ * Hide value
56
+ */
57
+ hideValue: boolean;
58
+ /**
59
+ * onChange for hide value
60
+ */
61
+ onHideChange: (value: boolean) => void;
62
+ /**
63
+ * Function to handle submit
64
+ */
65
+ handleSubmit: () => void;
66
+ }
67
+
12
68
  interface ButtonProps {
13
69
  /**
14
70
  * Variant of the button
@@ -72,9 +128,25 @@ interface ButtonProps {
72
128
  * form to accept form id in string
73
129
  */
74
130
  form?: string;
131
+ /**
132
+ * Is the Type ChooseFile for the button
133
+ */
134
+ isChooseFile?: boolean;
135
+ /**
136
+ * Custom Width for the button
137
+ */
138
+ buttonWidth?: string;
139
+ /**
140
+ * selectedfile object will be send.
141
+ */
142
+ selectedFile?: File | DynamicObj | null;
143
+ /**
144
+ * handleCloseIcon function will set to the initial state .
145
+ */
146
+ handleCloseIcon?: () => void;
75
147
  }
76
148
 
77
- declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
149
+ declare const _default$2: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>>;
78
150
 
79
151
  interface BtnPropsCommon {
80
152
  /**
@@ -289,12 +361,16 @@ interface AccordionProps {
289
361
  * Accordion collapse and expand Icon height
290
362
  */
291
363
  AccordionStateIconHeight: number;
364
+ /**
365
+ * Optional props for initial state of Accordion
366
+ */
367
+ isExpand?: boolean;
292
368
  }
293
369
 
294
370
  /**
295
371
  * Accordion UI component
296
372
  */
297
- declare const Accordion: ({ headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, accordionStateIconName, AccordionStateIconWidth, AccordionStateIconHeight, }: AccordionProps) => react_jsx_runtime.JSX.Element;
373
+ declare const Accordion: ({ headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, accordionStateIconName, AccordionStateIconWidth, AccordionStateIconHeight, isExpand, }: AccordionProps) => react_jsx_runtime.JSX.Element;
298
374
 
299
375
  type OptionValue$1 = any;
300
376
  interface Option$3 {
@@ -684,7 +760,7 @@ interface SelectProps$1 {
684
760
  label?: string;
685
761
  showLabel?: boolean;
686
762
  optionsList: Option$2[];
687
- selectedOption?: Option$2;
763
+ selectedOption: Option$2;
688
764
  onChange: (option: Option$2) => void;
689
765
  errorMsg?: string;
690
766
  className?: string;
@@ -762,6 +838,7 @@ interface TextareaProps {
762
838
  onKeyDown?: (event: React.KeyboardEvent<HTMLTextAreaElement>) => void;
763
839
  onBlur?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
764
840
  onFocus?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
841
+ onPaste?: (event: React.ClipboardEvent<HTMLTextAreaElement>) => void;
765
842
  /**
766
843
  * id to select the textarea field uniquely
767
844
  */
@@ -793,7 +870,7 @@ interface TextareaProps {
793
870
  resize?: boolean;
794
871
  }
795
872
 
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;
873
+ 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
874
 
798
875
  interface StatusButtonProps {
799
876
  /**
@@ -1185,11 +1262,11 @@ interface FileDropzoneProps {
1185
1262
  /**
1186
1263
  * Its the File Name of File Selected from Local File.
1187
1264
  **/
1188
- setSelectedFile?: (file: File | null) => void;
1265
+ setSelectedFile?: (file: File | DynamicObj | null) => void;
1189
1266
  /**
1190
1267
  * Its the File Name of File Selected from Local File.
1191
1268
  **/
1192
- selectedFile?: File | null;
1269
+ selectedFile?: File | DynamicObj | null;
1193
1270
  /**
1194
1271
  * Its the function which updates the Selected file from Local Directory.
1195
1272
  **/
@@ -1206,6 +1283,10 @@ interface FileDropzoneProps {
1206
1283
  * If isDisable is true not able to access the FileDropzone
1207
1284
  **/
1208
1285
  isDisable?: boolean;
1286
+ /**
1287
+ * Its the boolean value setted when the replace is clicked for TestData radio option .
1288
+ **/
1289
+ setShowDrawer?: (value: boolean | ((prevState: boolean) => boolean)) => void;
1209
1290
  }
1210
1291
  interface FileError {
1211
1292
  message: string;
@@ -1250,11 +1331,12 @@ interface DroppableProps {
1250
1331
  selectedRadioOption?: Option;
1251
1332
  radioOptions?: RadioOption[];
1252
1333
  handleOptionChange?: (option: RadioOption) => void;
1253
- selectedFile?: File | null;
1254
- setSelectedFile?: (file: File | null) => void;
1334
+ selectedFile?: File | DynamicObj | null;
1335
+ setSelectedFile?: (file: File | DynamicObj | null) => void;
1255
1336
  handleFileChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
1256
1337
  handleRemoveFile?: () => void;
1257
1338
  isDisable?: boolean;
1339
+ setShowDrawer?: (value: boolean | ((prevState: boolean) => boolean)) => void;
1258
1340
  }
1259
1341
  interface FilePreviewProps {
1260
1342
  file: File;
@@ -1269,7 +1351,7 @@ declare const Dropzone: FC<DroppableProps>;
1269
1351
 
1270
1352
  declare const FilePreview: React.FC<FilePreviewProps>;
1271
1353
 
1272
- type Theme = 'ff-light-theme' | 'ff-dark-theme' | 'ff-grey-theme';
1354
+ type Theme = 'ff-light-theme' | 'ff-dark-theme' | 'ff-grey-theme' | 'ff-blue-theme';
1273
1355
  interface ThemeContextType {
1274
1356
  currentTheme: Theme;
1275
1357
  setCurrentTheme: React.Dispatch<React.SetStateAction<Theme>>;
@@ -1634,7 +1716,7 @@ interface TreeTableProps {
1634
1716
  loadMore?: (_direction?: string) => void;
1635
1717
  }
1636
1718
 
1637
- declare const _default: React__default.NamedExoticComponent<TreeTableProps>;
1719
+ declare const _default$1: React__default.NamedExoticComponent<TreeTableProps>;
1638
1720
 
1639
1721
  interface TabsProps {
1640
1722
  /**
@@ -1917,6 +1999,8 @@ interface optionsType {
1917
1999
  label: string;
1918
2000
  value: string;
1919
2001
  iconName: string;
2002
+ platform?: string;
2003
+ appType?: string;
1920
2004
  }
1921
2005
  interface AllProjectsDropdownProps {
1922
2006
  options: optionsType[];
@@ -2036,10 +2120,12 @@ type DashboardDonutChartProps = {
2036
2120
  chartGap?: number;
2037
2121
  legendGap?: number;
2038
2122
  tableWidth?: number;
2123
+ tableHeight?: number;
2039
2124
  legendValueFontSize?: number;
2040
2125
  legendKeyFontSize?: number;
2041
2126
  labelYoffSet?: number;
2042
2127
  subLabelYoffSet?: number;
2128
+ onSelectedStatus?: (_value: string) => void;
2043
2129
  };
2044
2130
 
2045
2131
  declare const DashboardDonutChart: React__default.FC<DashboardDonutChartProps>;
@@ -2157,7 +2243,10 @@ interface MachineInputFieldProps {
2157
2243
  modalId?: string;
2158
2244
  }
2159
2245
 
2160
- declare const MachineInputField: React$1.ForwardRefExoticComponent<MachineInputFieldProps & React$1.RefAttributes<HTMLDivElement>>;
2246
+ declare const MachineInputField: {
2247
+ ({ width, options, runCount, className, contentReverse, onClick, modalId, }: MachineInputFieldProps): react_jsx_runtime.JSX.Element;
2248
+ displayName: string;
2249
+ };
2161
2250
 
2162
2251
  interface SequentialConnectingBranchProps {
2163
2252
  machineInstances?: ExecutionContext[] | {}[];
@@ -2301,7 +2390,7 @@ interface LabelEditTextFieldTypes$1 {
2301
2390
  /** Label text displayed above the input field. */
2302
2391
  label?: string;
2303
2392
  /** Initial text displayed in the input field. */
2304
- text: string;
2393
+ text?: string;
2305
2394
  /** Text to be highlighted within the displayed text, if provided. */
2306
2395
  highlightText?: string;
2307
2396
  /** Custom error message to be displayed, if applicable. */
@@ -2325,6 +2414,8 @@ interface LabelEditTextFieldTypes$1 {
2325
2414
  customErrorCondition?: boolean;
2326
2415
  placeholder?: string;
2327
2416
  onClick?: () => void;
2417
+ /** Function called when every input character got changed */
2418
+ onInputChange?: (newInputValue: string) => void;
2328
2419
  tooltip?: {
2329
2420
  tooltipTitle?: string;
2330
2421
  tooltipPlacement?: string;
@@ -2480,6 +2571,8 @@ interface CardProps {
2480
2571
  style?: React.CSSProperties;
2481
2572
  /** toggle update */
2482
2573
  handleToggleStatus?: (_status: boolean) => void;
2574
+ /** make Card Select false */
2575
+ resetToggle?: boolean;
2483
2576
  /** call back */
2484
2577
  onSelectedStatus?: (_status: string) => void;
2485
2578
  }
@@ -2618,62 +2711,6 @@ interface fieldSetProps {
2618
2711
 
2619
2712
  declare const FieldSet: FC<fieldSetProps>;
2620
2713
 
2621
- type DynamicObj = {
2622
- [key: string]: any;
2623
- };
2624
- interface CreateVariableProps {
2625
- /**
2626
- * Open Create variable Slider
2627
- */
2628
- isOpen: boolean;
2629
- /**
2630
- * Value for the variable name
2631
- */
2632
- variableName: string;
2633
- /**
2634
- * Value for the variable to be created
2635
- */
2636
- value: string;
2637
- /**
2638
- * List for the variable types
2639
- */
2640
- variableTypesList: DynamicObj[];
2641
- /**
2642
- * Selected variable type
2643
- */
2644
- selectedVariableType: DynamicObj;
2645
- /**
2646
- * Function to handle variable type change
2647
- * @param option
2648
- * @returns
2649
- */
2650
- onVariableTypeChange: (option: DynamicObj) => void;
2651
- /**
2652
- * Function to handle close
2653
- */
2654
- onClose?: () => void;
2655
- /**
2656
- * onChange of name
2657
- */
2658
- onNameChange: (value: string) => void;
2659
- /**
2660
- * onChange of value
2661
- */
2662
- onValueChange: (value: string) => void;
2663
- /**
2664
- * Hide value
2665
- */
2666
- hideValue: boolean;
2667
- /**
2668
- * onChange for hide value
2669
- */
2670
- onHideChange: (value: boolean) => void;
2671
- /**
2672
- * Function to handle submit
2673
- */
2674
- handleSubmit: () => void;
2675
- }
2676
-
2677
2714
  declare const CreateVariableSlider: FC<CreateVariableProps>;
2678
2715
 
2679
2716
  interface ColumnProps {
@@ -2760,6 +2797,83 @@ interface ProgressBarProps {
2760
2797
 
2761
2798
  declare const ProgressBar: React__default.FC<ProgressBarProps>;
2762
2799
 
2800
+ interface ChooseFileProps {
2801
+ /**
2802
+ * Variant of the button
2803
+ */
2804
+ variant: 'primary' | 'secondary' | 'tertiary' | 'delete' | 'warning';
2805
+ /**
2806
+ * What background color to use
2807
+ */
2808
+ backgroundColor?: string;
2809
+ /**
2810
+ * Width in string format can be sent for needed width
2811
+ */
2812
+ buttonWidth?: string;
2813
+ /**
2814
+ * How large should the button be?
2815
+ */
2816
+ size?: 'small' | 'medium' | 'large';
2817
+ /**
2818
+ * Button contents
2819
+ */
2820
+ label?: string;
2821
+ /**
2822
+ * Type of the button
2823
+ */
2824
+ type?: 'button' | 'submit';
2825
+ disabled?: boolean;
2826
+ /**
2827
+ * Optional click handler
2828
+ */
2829
+ onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
2830
+ /**
2831
+ * Button id
2832
+ */
2833
+ id?: string;
2834
+ /**
2835
+ * onSubmit function handler
2836
+ */
2837
+ onSubmit?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
2838
+ /**
2839
+ * react ref for the button
2840
+ */
2841
+ ref?: any;
2842
+ /**
2843
+ * Classname for the button
2844
+ */
2845
+ className?: string;
2846
+ /**
2847
+ * Additional styles for the button
2848
+ */
2849
+ style?: React.CSSProperties;
2850
+ /**
2851
+ * Give icon name availble in storybook that to be on left side of button
2852
+ */
2853
+ iconName?: string;
2854
+ /**
2855
+ * isChooseFile is a Boolean prop
2856
+ */
2857
+ isChooseFile?: boolean;
2858
+ /**
2859
+ * selectedfile object will be send.
2860
+ */
2861
+ selectedFile?: File | DynamicObj | null;
2862
+ /**
2863
+ * handleCloseIcon function will set to the initial state .
2864
+ */
2865
+ handleCloseIcon?: () => void;
2866
+ }
2867
+
2868
+ declare const _default: React$1.NamedExoticComponent<ChooseFileProps>;
2869
+
2870
+ interface ScriptSwitchButtonProps {
2871
+ handleClick: (selected: string) => void;
2872
+ selected: string;
2873
+ tabList: Array<'Automation' | 'Manual'>;
2874
+ }
2875
+ declare const ScriptSwitchButton: React__default.FC<ScriptSwitchButtonProps>;
2876
+
2763
2877
  type valueType$1 = any;
2764
2878
  declare const checkEmpty: (value: valueType$1) => boolean;
2765
2879
 
@@ -2848,6 +2962,9 @@ interface MultiRadialChartProps {
2848
2962
  barValues: BarValue[];
2849
2963
  legendType?: LegendType;
2850
2964
  isLegendDetails?: boolean;
2965
+ labelFontSize?: number;
2966
+ subLabelFontSize?: number;
2967
+ gapAngle?: number;
2851
2968
  }
2852
2969
 
2853
2970
  declare const MultiRadialChart: React__default.FC<MultiRadialChartProps>;
@@ -2886,7 +3003,19 @@ interface SequentialMachineInstance extends Omit<MachineExecutionInstance, 'runL
2886
3003
 
2887
3004
  declare const getSequentialPayload: (data: MachineExecutionInstance[]) => SequentialMachineInstance[];
2888
3005
 
2889
- declare const ConnectingBranch: React__default.FC;
3006
+ type machineDataObj = any;
3007
+ interface MachineData {
3008
+ [key: string]: machineDataObj;
3009
+ }
3010
+ interface ConnectBranchProps {
3011
+ data: MachineData;
3012
+ childNodeCurveHeight?: number;
3013
+ getParentNodeComponent: (isMultiSelect: boolean, ...args: any[]) => ReactElement<any, any>;
3014
+ getParentNodeComponentActionItems: (...args: any[]) => ReactElement<any, any>;
3015
+ getChildNodeComponent: (isButton: boolean, ...args: any[]) => ReactElement<any, any>;
3016
+ }
3017
+
3018
+ declare const ConnectingBranch: React__default.FC<ConnectBranchProps>;
2890
3019
 
2891
3020
  declare const saveFileFromBlob: (blob: Blob, filename: string) => void;
2892
3021
 
@@ -2965,7 +3094,7 @@ interface ConditionalDropdownProps {
2965
3094
  /**
2966
3095
  * Function storing and updating the inputValue state
2967
3096
  */
2968
- setHashInputValue?: (value: dynamicObject | undefined) => void;
3097
+ setHashInputValue?: (value: File | dynamicObject | null) => void;
2969
3098
  /**
2970
3099
  * List of variables
2971
3100
  */
@@ -2979,7 +3108,7 @@ interface ConditionalDropdownProps {
2979
3108
  * @param value
2980
3109
  * @returns
2981
3110
  */
2982
- onChange?: (value: string) => void;
3111
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
2983
3112
  /**
2984
3113
  * Function to handle create variable icon click
2985
3114
  */
@@ -3057,8 +3186,8 @@ interface ConditionalDropdownProps {
3057
3186
  */
3058
3187
  isLabelRequired?: boolean;
3059
3188
  /**
3060
- * If true, dropdown opens when '#' is entered at the first position.
3061
- */
3189
+ * If true, dropdown opens when '#' is entered at the first position.
3190
+ */
3062
3191
  isHash?: boolean;
3063
3192
  /**
3064
3193
  * Options for the dropdown when `isHash` is true.
@@ -3066,7 +3195,7 @@ interface ConditionalDropdownProps {
3066
3195
  dataFiles?: dynamicObject[];
3067
3196
  }
3068
3197
 
3069
- declare const ConditionalDropdown: React__default.FC<ConditionalDropdownProps>;
3198
+ declare const ConditionalDropdown: React$1.ForwardRefExoticComponent<ConditionalDropdownProps & React$1.RefAttributes<HTMLInputElement>>;
3070
3199
 
3071
3200
  declare const hasDuplicateFile: (array: any[], property: string) => boolean;
3072
3201
 
@@ -3089,4 +3218,50 @@ interface PhoneInputProps {
3089
3218
 
3090
3219
  declare const PhoneInputField: React__default.FC<PhoneInputProps>;
3091
3220
 
3092
- export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BarChart, Button, Checkbox, Chip, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, CreateVariableSlider, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, formatString as FormatString, HighlightText, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LabelEditTextField, LineChart, MachineInputField, MenuOption, MiniModal, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, Paper, PhoneInputField, PieChart, PopUpModal, ProgressBar, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, Table, _default as TableTree, TableWithAccordion, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, VariableDropdown, VariableInput, capitalize, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getSequentialPayload, hasDuplicateFile, saveFileFromBlob, throttle, toast, truncateText, useFileDropzone, useTheme };
3221
+ declare const EMAIL_REGEX: RegExp;
3222
+ declare const URL_REGEX: RegExp;
3223
+ declare const PHONE_REGEX: RegExp;
3224
+ declare const POSTAL_CODE_REGEX: RegExp;
3225
+ declare const IPV4_REGEX: RegExp;
3226
+ declare const IPV6_REGEX: RegExp;
3227
+ declare const HEX_COLOR_REGEX: RegExp;
3228
+ declare const PASSWORD_SIMPLE_REGEX: RegExp;
3229
+ declare const PASSWORD_COMPLEX_REGEX: RegExp;
3230
+ declare const ALPHABET_ONLY_REGEX: RegExp;
3231
+ declare const NUMBERS_ONLY_REGEX: RegExp;
3232
+ declare const ALPHANUMERIC_REGEX: RegExp;
3233
+ declare const DATE_REGEX: RegExp;
3234
+ declare const TIME_REGEX: RegExp;
3235
+ declare const FILE_EXTENSION_REGEX: RegExp;
3236
+ declare const MAC_ADDRESS_REGEX: RegExp;
3237
+ declare const CREDIT_CARD_REGEX: RegExp;
3238
+ declare const SSN_REGEX: RegExp;
3239
+ declare const UUID_REGEX: RegExp;
3240
+ declare const HTML_TAG_REGEX: RegExp;
3241
+ declare const WHITESPACE_REGEX: RegExp;
3242
+ declare const US_ZIP_CODE_REGEX: RegExp;
3243
+ declare const USERNAME_REGEX: RegExp;
3244
+ declare const INDIAN_PHONE_REGEX: RegExp;
3245
+ declare const INDIAN_PIN_CODE_REGEX: RegExp;
3246
+ declare const GSTIN_REGEX: RegExp;
3247
+ declare const PAN_CARD_REGEX: RegExp;
3248
+ declare const AADHAAR_REGEX: RegExp;
3249
+ declare const VEHICLE_REGISTRATION_REGEX: RegExp;
3250
+ declare const INDIAN_CURRENCY_REGEX: RegExp;
3251
+ declare const INTERNATIONAL_PHONE_REGEX: RegExp;
3252
+ declare const INDIAN_PASSPORT_REGEX: RegExp;
3253
+ declare const DRIVING_LICENSE_REGEX: RegExp;
3254
+ declare const USERNAME_SPECIAL_REGEX: RegExp;
3255
+ declare const DECIMAL_NUMBER_REGEX: RegExp;
3256
+ declare const HTML_ATTRIBUTE_REGEX: RegExp;
3257
+ declare const RGB_COLOR_REGEX: RegExp;
3258
+ declare const HSL_COLOR_REGEX: RegExp;
3259
+ declare const BASE64_REGEX: RegExp;
3260
+ declare const BINARY_NUMBER_REGEX: RegExp;
3261
+ declare const HEXADECIMAL_NUMBER_REGEX: RegExp;
3262
+ declare const ROMAN_NUMERALS_REGEX: RegExp;
3263
+ declare const CURRENCY_GENERIC_REGEX: RegExp;
3264
+ declare const LINKEDIN_PROFILE_REGEX: RegExp;
3265
+ declare const TWITTER_HANDLE_REGEX: RegExp;
3266
+
3267
+ export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHANUMERIC_REGEX, Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BASE64_REGEX, BINARY_NUMBER_REGEX, BarChart, _default$2 as Button, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, Checkbox, Chip, _default as ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, EMAIL_REGEX, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FILE_EXTENSION_REGEX, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, formatString as FormatString, GSTIN_REGEX, HEXADECIMAL_NUMBER_REGEX, HEX_COLOR_REGEX, HSL_COLOR_REGEX, HTML_ATTRIBUTE_REGEX, HTML_TAG_REGEX, HighlightText, INDIAN_CURRENCY_REGEX, INDIAN_PASSPORT_REGEX, INDIAN_PHONE_REGEX, INDIAN_PIN_CODE_REGEX, INTERNATIONAL_PHONE_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LINKEDIN_PROFILE_REGEX, LabelEditTextField, LineChart, MAC_ADDRESS_REGEX, MachineInputField, MenuOption, MiniModal, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NUMBERS_ONLY_REGEX, PAN_CARD_REGEX, PASSWORD_COMPLEX_REGEX, PASSWORD_SIMPLE_REGEX, PHONE_REGEX, POSTAL_CODE_REGEX, Paper, PhoneInputField, PieChart, PopUpModal, ProgressBar, RGB_COLOR_REGEX, ROMAN_NUMERALS_REGEX, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, SSN_REGEX, ScriptSwitchButton, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, TIME_REGEX, TWITTER_HANDLE_REGEX, Table, _default$1 as TableTree, TableWithAccordion, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, URL_REGEX, USERNAME_REGEX, USERNAME_SPECIAL_REGEX, US_ZIP_CODE_REGEX, UUID_REGEX, VEHICLE_REGISTRATION_REGEX, VariableDropdown, VariableInput, WHITESPACE_REGEX, capitalize, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getSequentialPayload, hasDuplicateFile, saveFileFromBlob, throttle, toast, truncateText, useFileDropzone, useTheme };