pixel-react 1.7.7 → 1.7.9

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 (173) hide show
  1. package/lib/1fb4472b34e4fe07.css +1 -0
  2. package/lib/components/AllProjectsDropdown/AllProjectsDropdown.stories.d.ts +7 -0
  3. package/lib/components/AppHeader/AppHeader.stories.d.ts +7 -0
  4. package/lib/components/AttachmentButton/AttachmentButton.stories.d.ts +9 -0
  5. package/lib/components/Avatar/Avatar.stories.d.ts +10 -0
  6. package/lib/components/Button/Button.d.ts +2 -2
  7. package/lib/components/Button/Button.stories.d.ts +1 -0
  8. package/lib/components/Button/types.d.ts +17 -0
  9. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.d.ts +7 -0
  10. package/lib/components/Charts/DashboardDonutChart/types.d.ts +2 -0
  11. package/lib/components/Charts/MultiRadialChart/types.d.ts +3 -0
  12. package/lib/components/Charts/PieChart/PieChart.stories.d.ts +7 -0
  13. package/lib/components/ChooseFile/ChooseFile.d.ts +3 -0
  14. package/lib/components/ChooseFile/types.d.ts +68 -0
  15. package/lib/components/ConnectingBranch/ConnectingBranch.d.ts +2 -1
  16. package/lib/components/ConnectingBranch/data.d.ts +19 -33
  17. package/lib/components/ConnectingBranch/types.d.ts +10 -0
  18. package/lib/components/Drawer/Drawer.stories.d.ts +5 -0
  19. package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.d.ts +7 -1
  20. package/lib/components/ExcelFile/ColorBarselector/ColorBarSelector.d.ts +8 -0
  21. package/lib/components/ExcelFile/ContextMenu/ContextMenu.d.ts +4 -0
  22. package/lib/components/ExcelFile/ExcelFile/Excel/ActiveCell.d.ts +7 -0
  23. package/lib/components/ExcelFile/ExcelFile/Excel/Cell.d.ts +4 -0
  24. package/lib/components/ExcelFile/ExcelFile/Excel/ColumnIndicator.d.ts +5 -0
  25. package/lib/components/ExcelFile/ExcelFile/Excel/Copied.d.ts +3 -0
  26. package/lib/components/ExcelFile/ExcelFile/Excel/CornerIndicator.d.ts +5 -0
  27. package/lib/components/ExcelFile/ExcelFile/Excel/DataEditor.d.ts +5 -0
  28. package/lib/components/ExcelFile/ExcelFile/Excel/DataViewer.d.ts +8 -0
  29. package/lib/components/ExcelFile/ExcelFile/Excel/FloatingRect.d.ts +10 -0
  30. package/lib/components/ExcelFile/ExcelFile/Excel/HeaderRow.d.ts +3 -0
  31. package/lib/components/ExcelFile/ExcelFile/Excel/Row.d.ts +3 -0
  32. package/lib/components/ExcelFile/ExcelFile/Excel/RowIndicator.d.ts +5 -0
  33. package/lib/components/ExcelFile/ExcelFile/Excel/Selected.d.ts +3 -0
  34. package/lib/components/ExcelFile/ExcelFile/Excel/Spreadsheet.d.ts +80 -0
  35. package/lib/components/ExcelFile/ExcelFile/Excel/Table.d.ts +3 -0
  36. package/lib/components/ExcelFile/ExcelFile/Excel/actions.d.ts +174 -0
  37. package/lib/components/ExcelFile/ExcelFile/Excel/areModelsEqual.d.ts +1 -0
  38. package/lib/components/ExcelFile/ExcelFile/Excel/context.d.ts +8 -0
  39. package/lib/components/ExcelFile/ExcelFile/Excel/engine/engine.d.ts +22 -0
  40. package/lib/components/ExcelFile/ExcelFile/Excel/engine/formula.d.ts +17 -0
  41. package/lib/components/ExcelFile/ExcelFile/Excel/engine/index.d.ts +2 -0
  42. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-graph.d.ts +21 -0
  43. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-hash.d.ts +3 -0
  44. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-set.d.ts +24 -0
  45. package/lib/components/ExcelFile/ExcelFile/Excel/index.d.ts +13 -0
  46. package/lib/components/ExcelFile/ExcelFile/Excel/matrix.d.ts +67 -0
  47. package/lib/components/ExcelFile/ExcelFile/Excel/point-range.d.ts +22 -0
  48. package/lib/components/ExcelFile/ExcelFile/Excel/point.d.ts +11 -0
  49. package/lib/components/ExcelFile/ExcelFile/Excel/reducer.d.ts +27 -0
  50. package/lib/components/ExcelFile/ExcelFile/Excel/selection.d.ts +95 -0
  51. package/lib/components/ExcelFile/ExcelFile/Excel/types.d.ts +178 -0
  52. package/lib/components/ExcelFile/ExcelFile/Excel/use-dispatch.d.ts +3 -0
  53. package/lib/components/ExcelFile/ExcelFile/Excel/use-selector.d.ts +3 -0
  54. package/lib/components/ExcelFile/ExcelFile/Excel/util.d.ts +44 -0
  55. package/lib/components/ExcelFile/ExcelFile/ExcelFile.d.ts +19 -0
  56. package/lib/components/ExcelFile/ExcelFile.stories.d.ts +6 -0
  57. package/lib/components/ExcelFile/ExcelSheetBar/ExcelSheetBar.d.ts +12 -0
  58. package/lib/components/ExcelFile/ExcelToolBar/ExcelToolBar.d.ts +15 -0
  59. package/lib/components/ExcelFile/Types.d.ts +129 -0
  60. package/lib/components/ExcelFile/index.d.ts +1 -0
  61. package/lib/components/FF_Captcha/captcha.stories.d.ts +8 -0
  62. package/lib/components/Form/Form.stories.d.ts +6 -5
  63. package/lib/components/Icon/Icon.stories.d.ts +1 -0
  64. package/lib/components/IconButton/IconButton.stories.d.ts +1 -0
  65. package/lib/components/IconRadioGroup/IconRadioGroup.stories.d.ts +7 -0
  66. package/lib/components/LabelEditTextField/LabelEditTextField.stories.d.ts +11 -0
  67. package/lib/components/LabelEditTextField/types.d.ts +2 -0
  68. package/lib/components/MachineInputField/MachineInputField.d.ts +4 -1
  69. package/lib/components/MachineInputField/MachineInputField.stories.d.ts +6 -0
  70. package/lib/components/MenuOption/MenuOption.stories.d.ts +1 -0
  71. package/lib/components/MiniModal/MiniModal.stories.d.ts +2 -1
  72. package/lib/components/ModulesChip/ModuleChip.stories.d.ts +6 -0
  73. package/lib/components/MultiSelect/MultiSelect.stories.d.ts +1 -0
  74. package/lib/components/NLPInput/NlpInput.stories.d.ts +7 -0
  75. package/lib/components/NLPInput/type.d.ts +70 -0
  76. package/lib/components/Paper/Paper.stories.d.ts +11 -0
  77. package/lib/components/RadioGroup/RadioGroup.stories.d.ts +2 -1
  78. package/lib/components/Select/components/Dropdown/Dropdown.d.ts +1 -1
  79. package/lib/components/Select/components/Dropdown/dropdownTypes.d.ts +2 -0
  80. package/lib/components/Select/types.d.ts +1 -1
  81. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.d.ts +6 -0
  82. package/lib/components/StatusCard/types.d.ts +2 -0
  83. package/lib/components/Table/Table.stories.d.ts +2 -0
  84. package/lib/components/TableTree/Components/TableCell.d.ts +1 -1
  85. package/lib/components/TableTree/Components/TableRow.d.ts +1 -1
  86. package/lib/components/TableTree/data.d.ts +74 -0
  87. package/lib/components/TableTree/types.d.ts +4 -0
  88. package/lib/components/TextArea/Textarea.d.ts +1 -1
  89. package/lib/components/TextArea/Types.d.ts +1 -0
  90. package/lib/components/Toastify/Toastify.stories.d.ts +6 -0
  91. package/lib/components/VariableInput/VariableInput.stories.d.ts +6 -0
  92. package/lib/index.d.ts +174 -63
  93. package/lib/index.esm.js +478 -287
  94. package/lib/index.esm.js.map +1 -1
  95. package/lib/index.js +478 -286
  96. package/lib/index.js.map +1 -1
  97. package/lib/tsconfig.tsbuildinfo +1 -1
  98. package/lib/utils/ffID/ffID.stories.d.ts +1 -1
  99. package/lib/utils/findAndInsert/findAndInsert.stories.d.ts +7 -0
  100. package/lib/utils/getEncryptedData/getEncryptedData.stories.d.ts +6 -0
  101. package/lib/utils/validateFile/validateFile.d.ts +2 -0
  102. package/package.json +1 -1
  103. package/src/assets/Themes/BaseTheme.scss +1 -0
  104. package/src/assets/Themes/BlueTheme.scss +44 -44
  105. package/src/assets/Themes/DarkTheme.scss +1 -0
  106. package/src/assets/icons/failed_status_icon.svg +1 -1
  107. package/src/assets/icons/flaky_status_icon.svg +1 -1
  108. package/src/assets/icons/settings.svg +3 -0
  109. package/src/assets/icons/skipped_status_icon.svg +1 -1
  110. package/src/assets/icons/warning_status_icon.svg +1 -1
  111. package/src/components/AppHeader/AppHeader.tsx +4 -2
  112. package/src/components/Button/Button.scss +12 -0
  113. package/src/components/Button/Button.tsx +29 -11
  114. package/src/components/Button/types.ts +21 -0
  115. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +83 -30
  116. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +3 -0
  117. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +39 -16
  118. package/src/components/Charts/DashboardDonutChart/types.ts +2 -0
  119. package/src/components/Charts/MultiRadialChart/MultiRadialChart.scss +0 -1
  120. package/src/components/Charts/MultiRadialChart/MultiRadialChart.stories.tsx +2 -1
  121. package/src/components/Charts/MultiRadialChart/MultiRadialChart.tsx +18 -4
  122. package/src/components/Charts/MultiRadialChart/types.ts +4 -1
  123. package/src/components/ChooseFile/ChooseFile.stories.tsx +190 -0
  124. package/src/components/ChooseFile/ChooseFile.tsx +46 -0
  125. package/src/components/ChooseFile/types.ts +78 -0
  126. package/src/components/ConnectingBranch/BranchComponents/MachineInstances.tsx +94 -79
  127. package/src/components/ConnectingBranch/ConnectingBranch.scss +183 -195
  128. package/src/components/ConnectingBranch/ConnectingBranch.stories.tsx +33 -1
  129. package/src/components/ConnectingBranch/ConnectingBranch.tsx +121 -107
  130. package/src/components/ConnectingBranch/{data.ts → data.tsx} +106 -17
  131. package/src/components/ConnectingBranch/types.ts +21 -0
  132. package/src/components/Excel/ExcelFile/ExcelFile.tsx +1 -1
  133. package/src/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.tsx +13 -8
  134. package/src/components/Excel/ExcelFile/ExcelFileComponents/FloatingRect.tsx +6 -1
  135. package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.scss +30 -11
  136. package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.tsx +65 -19
  137. package/src/components/Excel/ExcelFile/ExcelFileComponents/actions.ts +14 -0
  138. package/src/components/Excel/ExcelFile/ExcelFileComponents/reducer.ts +16 -0
  139. package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +6 -5
  140. package/src/components/Icon/iconList.ts +2 -0
  141. package/src/components/InputWithDropdown/InputWithDropdown.tsx +1 -1
  142. package/src/components/LabelEditTextField/LabelEditTextField.stories.tsx +8 -3
  143. package/src/components/LabelEditTextField/LabelEditTextField.tsx +28 -11
  144. package/src/components/LabelEditTextField/types.ts +2 -0
  145. package/src/components/MachineInputField/MachineInputField.tsx +67 -70
  146. package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.scss +1 -1
  147. package/src/components/Select/Select.tsx +4 -4
  148. package/src/components/Select/types.ts +1 -1
  149. package/src/components/SequentialConnectingBranch/components/Branches/Branches.scss +1 -0
  150. package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +2 -8
  151. package/src/components/StatusCard/StatusCard.scss +2 -1
  152. package/src/components/StatusCard/StatusCard.stories.tsx +59 -1
  153. package/src/components/StatusCard/StatusCard.tsx +10 -2
  154. package/src/components/StatusCard/types.ts +2 -0
  155. package/src/components/TableTree/Components/TableBody.tsx +19 -15
  156. package/src/components/TableTree/Components/TableCell.tsx +47 -31
  157. package/src/components/TableTree/Components/TableRow.tsx +4 -0
  158. package/src/components/TableTree/TableTree.scss +122 -109
  159. package/src/components/TableTree/data.ts +16 -1
  160. package/src/components/TableTree/types.ts +4 -0
  161. package/src/components/TextArea/Textarea.tsx +2 -0
  162. package/src/components/TextArea/Types.ts +3 -0
  163. package/src/index.ts +3 -0
  164. package/src/utils/validateFile/validateFile.stories.tsx +49 -0
  165. package/src/utils/validateFile/validateFile.ts +39 -0
  166. package/lib/components/ThemeProvider/CustomThemeProvider.d.ts +0 -8
  167. package/lib/hooks/useCustomThemeProvider.d.ts +0 -11
  168. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.scss +0 -51
  169. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.tsx +0 -107
  170. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/types.ts +0 -5
  171. package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.scss +0 -31
  172. package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.tsx +0 -85
  173. package/src/components/SequentialConnectingBranch/components/DatasetListModal/types.ts +0 -4
@@ -6,6 +6,8 @@ export interface DropDownListProps {
6
6
  options?: Option[];
7
7
  optionZIndex?: number;
8
8
  inputRef?: React.RefObject<HTMLInputElement>;
9
+ labelAccessor?: string;
10
+ valueAccessor?: string;
9
11
  }
10
12
  export declare const dropdownDefaultCSSData: {
11
13
  margin: number;
@@ -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;
@@ -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;
@@ -11,6 +11,8 @@ export interface CardProps {
11
11
  style?: React.CSSProperties;
12
12
  /** toggle update */
13
13
  handleToggleStatus?: (_status: boolean) => void;
14
+ /** make Card Select false */
15
+ resetToggle?: boolean;
14
16
  /** call back */
15
17
  onSelectedStatus?: (_status: string) => void;
16
18
  }
@@ -3,6 +3,8 @@ import Table from './Table';
3
3
  declare const meta: Meta<typeof Table>;
4
4
  type Story = StoryObj<typeof Table>;
5
5
  export declare const Default: Story;
6
+ export declare const PrimaryHeaderTextColor: Story;
7
+ export declare const TableDataTextColor: Story;
6
8
  export declare const PageTable: Story;
7
9
  export declare const PrimaryHeader: Story;
8
10
  export declare const FixedHeaderWithBorder: Story;
@@ -1,4 +1,4 @@
1
1
  import { TableCellProps } from '../types';
2
2
  import React from 'react';
3
- declare const TableCell: React.MemoExoticComponent<({ col, node, level, selected, select, onCheckBoxChange, onToggleExpand, }: TableCellProps) => import("react/jsx-runtime").JSX.Element>;
3
+ declare const TableCell: React.MemoExoticComponent<({ col, node, level, selected, select, onCheckBoxChange, onToggleExpand, lines, isLast, }: TableCellProps) => import("react/jsx-runtime").JSX.Element>;
4
4
  export default TableCell;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { TableRowProps } from '../types';
3
- declare const TableRow: React.MemoExoticComponent<({ node, level, columnsData, selected, select, onRowClick, onToggleExpand, onCheckBoxChange, }: TableRowProps) => import("react/jsx-runtime").JSX.Element>;
3
+ declare const TableRow: React.MemoExoticComponent<({ node, level, columnsData, selected, select, onRowClick, onToggleExpand, onCheckBoxChange, lines, isLast, }: TableRowProps) => import("react/jsx-runtime").JSX.Element>;
4
4
  export default TableRow;
@@ -28,6 +28,8 @@ declare const data: ({
28
28
  parentName?: undefined;
29
29
  };
30
30
  level: number;
31
+ lines: number;
32
+ isLast: boolean;
31
33
  } | {
32
34
  node: {
33
35
  subModuleCount: number;
@@ -58,6 +60,8 @@ declare const data: ({
58
60
  parentName?: undefined;
59
61
  };
60
62
  level: number;
63
+ lines: number;
64
+ isLast?: undefined;
61
65
  } | {
62
66
  node: {
63
67
  subModuleCount: number;
@@ -88,6 +92,8 @@ declare const data: ({
88
92
  parentName?: undefined;
89
93
  };
90
94
  level: number;
95
+ lines: number;
96
+ isLast: boolean;
91
97
  } | {
92
98
  node: {
93
99
  ver: number;
@@ -118,6 +124,8 @@ declare const data: ({
118
124
  id: string;
119
125
  };
120
126
  level: number;
127
+ lines: number;
128
+ isLast?: undefined;
121
129
  } | {
122
130
  node: {
123
131
  ver: number;
@@ -148,5 +156,71 @@ declare const data: ({
148
156
  folder?: undefined;
149
157
  };
150
158
  level: number;
159
+ lines: number;
160
+ isLast?: undefined;
161
+ } | {
162
+ node: {
163
+ ver: number;
164
+ hierarchy: number;
165
+ subModuleCount: number;
166
+ assigneeCount: number;
167
+ searchKey: string;
168
+ modifiedByUname: string;
169
+ title: string;
170
+ scriptCount: number;
171
+ executionOrder: number;
172
+ createdByUname: string;
173
+ parentId: string;
174
+ path: string;
175
+ expanded: boolean;
176
+ modifiedOn: string;
177
+ parentName: string;
178
+ moduleLevelScriptCount: number;
179
+ lastExecutionOrder: number;
180
+ imported: boolean;
181
+ name: string;
182
+ modifiedBy: string;
183
+ moduleCountWithScript: number;
184
+ state: string;
185
+ key: string;
186
+ children: boolean;
187
+ id: string;
188
+ folder?: undefined;
189
+ };
190
+ level: number;
191
+ lines: number;
192
+ isLast: boolean;
193
+ } | {
194
+ node: {
195
+ ver: number;
196
+ hierarchy: number;
197
+ subModuleCount: number;
198
+ assigneeCount: number;
199
+ searchKey: string;
200
+ modifiedByUname: string;
201
+ title: string;
202
+ scriptCount: number;
203
+ executionOrder: number;
204
+ createdByUname: string;
205
+ parentId: string;
206
+ path: string;
207
+ expanded: boolean;
208
+ modifiedOn: string;
209
+ parentName: string;
210
+ moduleLevelScriptCount: number;
211
+ lastExecutionOrder: number;
212
+ imported: boolean;
213
+ name: string;
214
+ modifiedBy: string;
215
+ moduleCountWithScript: number;
216
+ state: string;
217
+ key: string;
218
+ folder: boolean;
219
+ children: boolean;
220
+ id: string;
221
+ };
222
+ level: number;
223
+ lines: number;
224
+ isLast: boolean;
151
225
  })[];
152
226
  export default data;
@@ -14,6 +14,8 @@ export interface TableCellProps {
14
14
  select: string | null;
15
15
  onCheckBoxChange: (type: string, node: any) => void;
16
16
  onToggleExpand: (node: any) => void;
17
+ lines: number;
18
+ isLast: boolean | undefined;
17
19
  }
18
20
  export interface TableHeadProps {
19
21
  columnsData: any[];
@@ -36,6 +38,8 @@ export interface TableRowProps {
36
38
  onRowClick: (e: any, node: any) => void;
37
39
  onToggleExpand: (node: any) => void;
38
40
  onCheckBoxChange: (type: string, node: any) => void;
41
+ lines: number;
42
+ isLast: boolean | undefined;
39
43
  }
40
44
  export interface Column {
41
45
  name: string;
@@ -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
  */
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Toastify } from './Toastify';
3
+ declare const meta: Meta<typeof Toastify>;
4
+ type Story = StoryObj<typeof Toastify>;
5
+ export declare const Controlled: Story;
6
+ export default meta;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import VariableInput from './VariableInput';
3
+ declare const meta: Meta<typeof VariableInput>;
4
+ type Story = StoryObj<typeof VariableInput>;
5
+ export declare const Default: Story;
6
+ export default meta;
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
  /**
@@ -684,7 +756,7 @@ interface SelectProps$1 {
684
756
  label?: string;
685
757
  showLabel?: boolean;
686
758
  optionsList: Option$2[];
687
- selectedOption?: Option$2;
759
+ selectedOption: Option$2;
688
760
  onChange: (option: Option$2) => void;
689
761
  errorMsg?: string;
690
762
  className?: string;
@@ -762,6 +834,7 @@ interface TextareaProps {
762
834
  onKeyDown?: (event: React.KeyboardEvent<HTMLTextAreaElement>) => void;
763
835
  onBlur?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
764
836
  onFocus?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
837
+ onPaste?: (event: React.ClipboardEvent<HTMLTextAreaElement>) => void;
765
838
  /**
766
839
  * id to select the textarea field uniquely
767
840
  */
@@ -793,7 +866,7 @@ interface TextareaProps {
793
866
  resize?: boolean;
794
867
  }
795
868
 
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;
869
+ 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
870
 
798
871
  interface StatusButtonProps {
799
872
  /**
@@ -1099,62 +1172,6 @@ type DonutChartProps = {
1099
1172
 
1100
1173
  declare const DonutChart: React__default.FC<DonutChartProps>;
1101
1174
 
1102
- type DynamicObj = {
1103
- [key: string]: any;
1104
- };
1105
- interface CreateVariableProps {
1106
- /**
1107
- * Open Create variable Slider
1108
- */
1109
- isOpen: boolean;
1110
- /**
1111
- * Value for the variable name
1112
- */
1113
- variableName: string;
1114
- /**
1115
- * Value for the variable to be created
1116
- */
1117
- value: string;
1118
- /**
1119
- * List for the variable types
1120
- */
1121
- variableTypesList: DynamicObj[];
1122
- /**
1123
- * Selected variable type
1124
- */
1125
- selectedVariableType: DynamicObj;
1126
- /**
1127
- * Function to handle variable type change
1128
- * @param option
1129
- * @returns
1130
- */
1131
- onVariableTypeChange: (option: DynamicObj) => void;
1132
- /**
1133
- * Function to handle close
1134
- */
1135
- onClose?: () => void;
1136
- /**
1137
- * onChange of name
1138
- */
1139
- onNameChange: (value: string) => void;
1140
- /**
1141
- * onChange of value
1142
- */
1143
- onValueChange: (value: string) => void;
1144
- /**
1145
- * Hide value
1146
- */
1147
- hideValue: boolean;
1148
- /**
1149
- * onChange for hide value
1150
- */
1151
- onHideChange: (value: boolean) => void;
1152
- /**
1153
- * Function to handle submit
1154
- */
1155
- handleSubmit: () => void;
1156
- }
1157
-
1158
1175
  interface RadioOption {
1159
1176
  label: string;
1160
1177
  value: string;
@@ -1695,7 +1712,7 @@ interface TreeTableProps {
1695
1712
  loadMore?: (_direction?: string) => void;
1696
1713
  }
1697
1714
 
1698
- declare const _default: React__default.NamedExoticComponent<TreeTableProps>;
1715
+ declare const _default$1: React__default.NamedExoticComponent<TreeTableProps>;
1699
1716
 
1700
1717
  interface TabsProps {
1701
1718
  /**
@@ -2097,10 +2114,12 @@ type DashboardDonutChartProps = {
2097
2114
  chartGap?: number;
2098
2115
  legendGap?: number;
2099
2116
  tableWidth?: number;
2117
+ tableHeight?: number;
2100
2118
  legendValueFontSize?: number;
2101
2119
  legendKeyFontSize?: number;
2102
2120
  labelYoffSet?: number;
2103
2121
  subLabelYoffSet?: number;
2122
+ onSelectedStatus?: (_value: string) => void;
2104
2123
  };
2105
2124
 
2106
2125
  declare const DashboardDonutChart: React__default.FC<DashboardDonutChartProps>;
@@ -2218,7 +2237,10 @@ interface MachineInputFieldProps {
2218
2237
  modalId?: string;
2219
2238
  }
2220
2239
 
2221
- declare const MachineInputField: React$1.ForwardRefExoticComponent<MachineInputFieldProps & React$1.RefAttributes<HTMLDivElement>>;
2240
+ declare const MachineInputField: {
2241
+ ({ width, options, runCount, className, contentReverse, onClick, modalId, }: MachineInputFieldProps): react_jsx_runtime.JSX.Element;
2242
+ displayName: string;
2243
+ };
2222
2244
 
2223
2245
  interface SequentialConnectingBranchProps {
2224
2246
  machineInstances?: ExecutionContext[] | {}[];
@@ -2386,6 +2408,8 @@ interface LabelEditTextFieldTypes$1 {
2386
2408
  customErrorCondition?: boolean;
2387
2409
  placeholder?: string;
2388
2410
  onClick?: () => void;
2411
+ /** Function called when every input character got changed */
2412
+ onInputChange?: (newInputValue: string) => void;
2389
2413
  tooltip?: {
2390
2414
  tooltipTitle?: string;
2391
2415
  tooltipPlacement?: string;
@@ -2541,6 +2565,8 @@ interface CardProps {
2541
2565
  style?: React.CSSProperties;
2542
2566
  /** toggle update */
2543
2567
  handleToggleStatus?: (_status: boolean) => void;
2568
+ /** make Card Select false */
2569
+ resetToggle?: boolean;
2544
2570
  /** call back */
2545
2571
  onSelectedStatus?: (_status: string) => void;
2546
2572
  }
@@ -2765,6 +2791,76 @@ interface ProgressBarProps {
2765
2791
 
2766
2792
  declare const ProgressBar: React__default.FC<ProgressBarProps>;
2767
2793
 
2794
+ interface ChooseFileProps {
2795
+ /**
2796
+ * Variant of the button
2797
+ */
2798
+ variant: 'primary' | 'secondary' | 'tertiary' | 'delete' | 'warning';
2799
+ /**
2800
+ * What background color to use
2801
+ */
2802
+ backgroundColor?: string;
2803
+ /**
2804
+ * Width in string format can be sent for needed width
2805
+ */
2806
+ buttonWidth?: string;
2807
+ /**
2808
+ * How large should the button be?
2809
+ */
2810
+ size?: 'small' | 'medium' | 'large';
2811
+ /**
2812
+ * Button contents
2813
+ */
2814
+ label?: string;
2815
+ /**
2816
+ * Type of the button
2817
+ */
2818
+ type?: 'button' | 'submit';
2819
+ disabled?: boolean;
2820
+ /**
2821
+ * Optional click handler
2822
+ */
2823
+ onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
2824
+ /**
2825
+ * Button id
2826
+ */
2827
+ id?: string;
2828
+ /**
2829
+ * onSubmit function handler
2830
+ */
2831
+ onSubmit?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
2832
+ /**
2833
+ * react ref for the button
2834
+ */
2835
+ ref?: any;
2836
+ /**
2837
+ * Classname for the button
2838
+ */
2839
+ className?: string;
2840
+ /**
2841
+ * Additional styles for the button
2842
+ */
2843
+ style?: React.CSSProperties;
2844
+ /**
2845
+ * Give icon name availble in storybook that to be on left side of button
2846
+ */
2847
+ iconName?: string;
2848
+ /**
2849
+ * isChooseFile is a Boolean prop
2850
+ */
2851
+ isChooseFile?: boolean;
2852
+ /**
2853
+ * selectedfile object will be send.
2854
+ */
2855
+ selectedFile?: File | DynamicObj | null;
2856
+ /**
2857
+ * handleCloseIcon function will set to the initial state .
2858
+ */
2859
+ handleCloseIcon?: () => void;
2860
+ }
2861
+
2862
+ declare const _default: React$1.NamedExoticComponent<ChooseFileProps>;
2863
+
2768
2864
  type valueType$1 = any;
2769
2865
  declare const checkEmpty: (value: valueType$1) => boolean;
2770
2866
 
@@ -2853,6 +2949,9 @@ interface MultiRadialChartProps {
2853
2949
  barValues: BarValue[];
2854
2950
  legendType?: LegendType;
2855
2951
  isLegendDetails?: boolean;
2952
+ labelFontSize?: number;
2953
+ subLabelFontSize?: number;
2954
+ gapAngle?: number;
2856
2955
  }
2857
2956
 
2858
2957
  declare const MultiRadialChart: React__default.FC<MultiRadialChartProps>;
@@ -2891,7 +2990,19 @@ interface SequentialMachineInstance extends Omit<MachineExecutionInstance, 'runL
2891
2990
 
2892
2991
  declare const getSequentialPayload: (data: MachineExecutionInstance[]) => SequentialMachineInstance[];
2893
2992
 
2894
- declare const ConnectingBranch: React__default.FC;
2993
+ type machineDataObj = any;
2994
+ interface MachineData {
2995
+ [key: string]: machineDataObj;
2996
+ }
2997
+ interface ConnectBranchProps {
2998
+ data: MachineData;
2999
+ childNodeCurveHeight?: number;
3000
+ getParentNodeComponent: (isMultiSelect: boolean, ...args: any[]) => ReactElement<any, any>;
3001
+ getParentNodeComponentActionItems: (...args: any[]) => ReactElement<any, any>;
3002
+ getChildNodeComponent: (isButton: boolean, ...args: any[]) => ReactElement<any, any>;
3003
+ }
3004
+
3005
+ declare const ConnectingBranch: React__default.FC<ConnectBranchProps>;
2895
3006
 
2896
3007
  declare const saveFileFromBlob: (blob: Blob, filename: string) => void;
2897
3008
 
@@ -3094,4 +3205,4 @@ interface PhoneInputProps {
3094
3205
 
3095
3206
  declare const PhoneInputField: React__default.FC<PhoneInputProps>;
3096
3207
 
3097
- 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 };
3208
+ export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BarChart, _default$2 as Button, Checkbox, Chip, _default as ChooseFile, 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$1 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 };