pixel-react 1.8.0 → 1.8.2

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 (188) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/lib/components/Accordion/Accordion.d.ts +1 -1
  3. package/lib/components/Accordion/types.d.ts +4 -0
  4. package/lib/components/ConditionalDropdown/ConditionalDropdown.d.ts +1 -2
  5. package/lib/components/ConditionalDropdown/types.d.ts +3 -3
  6. package/lib/components/LabelEditTextField/types.d.ts +1 -1
  7. package/lib/components/ScriptSwitchButton/ScriptSwitchButton.d.ts +9 -0
  8. package/lib/components/ScriptSwitchButton/index.d.ts +1 -0
  9. package/lib/components/TableTree/Components/TableCell.d.ts +1 -1
  10. package/lib/components/TableTree/Components/TableRow.d.ts +1 -1
  11. package/lib/components/TableTree/TableTree copy.d.ts +25 -0
  12. package/lib/components/TableTree/data.d.ts +48 -8
  13. package/lib/components/TableTree/types.d.ts +2 -2
  14. package/lib/index.d.ts +64 -7
  15. package/lib/index.esm.js +536 -324
  16. package/lib/index.esm.js.map +1 -1
  17. package/lib/index.js +581 -323
  18. package/lib/index.js.map +1 -1
  19. package/lib/tsconfig.tsbuildinfo +1 -1
  20. package/lib/validations/regex.d.ts +46 -0
  21. package/package.json +2 -2
  22. package/src/StyleGuide/ColorPalette/colorPaletteList.ts +5 -0
  23. package/src/assets/Themes/BaseTheme.scss +1 -1
  24. package/src/assets/Themes/BlueTheme.scss +1 -1
  25. package/src/assets/Themes/DarkTheme.scss +1 -1
  26. package/src/assets/icons/approval_pending.svg +8 -8
  27. package/src/assets/icons/configuration.svg +3 -3
  28. package/src/assets/icons/defects.svg +8 -8
  29. package/src/assets/icons/element.svg +4 -4
  30. package/src/assets/icons/project_element.svg +4 -4
  31. package/src/assets/icons/step_group.svg +10 -10
  32. package/src/assets/icons/variable.svg +3 -3
  33. package/src/assets/icons/web_service_icon.svg +3 -3
  34. package/src/components/Accordion/Accordion.stories.tsx +13 -0
  35. package/src/components/Accordion/Accordion.tsx +2 -1
  36. package/src/components/Accordion/types.ts +4 -0
  37. package/src/components/ConditionalDropdown/ConditionalDropdown.stories.tsx +8 -5
  38. package/src/components/ConditionalDropdown/ConditionalDropdown.tsx +133 -135
  39. package/src/components/ConditionalDropdown/types.ts +8 -8
  40. package/src/components/DatePicker/DatePicker.scss +310 -0
  41. package/src/components/LabelEditTextField/LabelEditTextField.scss +4 -0
  42. package/src/components/LabelEditTextField/LabelEditTextField.tsx +14 -7
  43. package/src/components/LabelEditTextField/types.ts +1 -1
  44. package/src/components/ScriptSwitchButton/ScriptSwitchButton.scss +33 -0
  45. package/src/components/ScriptSwitchButton/ScriptSwitchButton.stories.tsx +48 -0
  46. package/src/components/ScriptSwitchButton/ScriptSwitchButton.tsx +65 -0
  47. package/src/components/ScriptSwitchButton/index.ts +1 -0
  48. package/src/components/TableTree/Components/TableBody.tsx +3 -3
  49. package/src/components/TableTree/Components/TableCell.tsx +7 -7
  50. package/src/components/TableTree/Components/TableRow.tsx +2 -2
  51. package/src/components/TableTree/TableTree.scss +2 -3
  52. package/src/components/TableTree/data.ts +43 -12
  53. package/src/components/TableTree/types.ts +2 -2
  54. package/src/index.ts +95 -1
  55. package/src/validations/regex.stories.tsx +362 -0
  56. package/src/validations/regex.ts +194 -0
  57. package/lib/1fb4472b34e4fe07.css +0 -1
  58. package/lib/StyleGuide/ColorPalette/ColorPalette.stories.d.ts +0 -6
  59. package/lib/StyleGuide/Typography/Typography.stories.d.ts +0 -6
  60. package/lib/components/Accordion/Accordion.stories.d.ts +0 -6
  61. package/lib/components/AddButton/AddButton.d.ts +0 -5
  62. package/lib/components/AddButton/AddButton.stories.d.ts +0 -6
  63. package/lib/components/AddButton/index.d.ts +0 -1
  64. package/lib/components/AddButton/types.d.ts +0 -4
  65. package/lib/components/AddResourceButton/AddButton.stories.d.ts +0 -8
  66. package/lib/components/AddVariables/AddVariables.d.ts +0 -5
  67. package/lib/components/AddVariables/index.d.ts +0 -1
  68. package/lib/components/AddVariables/types.d.ts +0 -35
  69. package/lib/components/AllProjectsDropdown/AllProjectsDropdown.stories.d.ts +0 -7
  70. package/lib/components/AppHeader/AppHeader.stories.d.ts +0 -7
  71. package/lib/components/AttachImage/AttachImage.stories.d.ts +0 -7
  72. package/lib/components/AttachmentButton/AttachmentButton.stories.d.ts +0 -9
  73. package/lib/components/Avatar/Avatar.stories.d.ts +0 -10
  74. package/lib/components/Button/Button.stories.d.ts +0 -13
  75. package/lib/components/Charts/BarChart/BarChart.stories.d.ts +0 -6
  76. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.d.ts +0 -7
  77. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +0 -6
  78. package/lib/components/Charts/IconRadialChart/IconRadialChart.stories.d.ts +0 -8
  79. package/lib/components/Charts/LineChart/LineChart.stories.d.ts +0 -7
  80. package/lib/components/Charts/MultiRadialChart/MultiRadialChart.stories.d.ts +0 -8
  81. package/lib/components/Charts/PieChart/PieChart.stories.d.ts +0 -7
  82. package/lib/components/Charts/RadialChart/RadialChart.stories.d.ts +0 -6
  83. package/lib/components/Checkbox/Checkbox.stories.d.ts +0 -8
  84. package/lib/components/Chip/Chip.stories.d.ts +0 -14
  85. package/lib/components/ConnectingBranch/ConnectingBranch.stories.d.ts +0 -6
  86. package/lib/components/DatePicker/DatePicker.stories.d.ts +0 -9
  87. package/lib/components/DragAndDrop/DragAndDrop.stories.d.ts +0 -6
  88. package/lib/components/Drawer/Drawer.stories.d.ts +0 -12
  89. package/lib/components/EditTextField/EditTextField.stories.d.ts +0 -10
  90. package/lib/components/Editor/Editor.stories.d.ts +0 -6
  91. package/lib/components/Excel/ExcelFile.stories.d.ts +0 -6
  92. package/lib/components/ExcelFile/ChangeExcelStyles.d.ts +0 -14
  93. package/lib/components/ExcelFile/ColorBarSelector/ColorBarSelector.d.ts +0 -8
  94. package/lib/components/ExcelFile/ContextMenu/ContextMenu.d.ts +0 -4
  95. package/lib/components/ExcelFile/ExcelFile/Excel/ActiveCell.d.ts +0 -7
  96. package/lib/components/ExcelFile/ExcelFile/Excel/Cell.d.ts +0 -4
  97. package/lib/components/ExcelFile/ExcelFile/Excel/ColumnIndicator.d.ts +0 -5
  98. package/lib/components/ExcelFile/ExcelFile/Excel/Copied.d.ts +0 -3
  99. package/lib/components/ExcelFile/ExcelFile/Excel/CornerIndicator.d.ts +0 -5
  100. package/lib/components/ExcelFile/ExcelFile/Excel/DataEditor.d.ts +0 -5
  101. package/lib/components/ExcelFile/ExcelFile/Excel/DataViewer.d.ts +0 -8
  102. package/lib/components/ExcelFile/ExcelFile/Excel/FloatingRect.d.ts +0 -10
  103. package/lib/components/ExcelFile/ExcelFile/Excel/HeaderRow.d.ts +0 -3
  104. package/lib/components/ExcelFile/ExcelFile/Excel/Row.d.ts +0 -3
  105. package/lib/components/ExcelFile/ExcelFile/Excel/RowIndicator.d.ts +0 -5
  106. package/lib/components/ExcelFile/ExcelFile/Excel/Selected.d.ts +0 -3
  107. package/lib/components/ExcelFile/ExcelFile/Excel/Spreadsheet.d.ts +0 -80
  108. package/lib/components/ExcelFile/ExcelFile/Excel/Table.d.ts +0 -3
  109. package/lib/components/ExcelFile/ExcelFile/Excel/actions.d.ts +0 -174
  110. package/lib/components/ExcelFile/ExcelFile/Excel/areModelsEqual.d.ts +0 -1
  111. package/lib/components/ExcelFile/ExcelFile/Excel/context.d.ts +0 -8
  112. package/lib/components/ExcelFile/ExcelFile/Excel/engine/engine.d.ts +0 -22
  113. package/lib/components/ExcelFile/ExcelFile/Excel/engine/formula.d.ts +0 -17
  114. package/lib/components/ExcelFile/ExcelFile/Excel/engine/index.d.ts +0 -2
  115. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-graph.d.ts +0 -21
  116. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-hash.d.ts +0 -3
  117. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-set.d.ts +0 -24
  118. package/lib/components/ExcelFile/ExcelFile/Excel/index.d.ts +0 -13
  119. package/lib/components/ExcelFile/ExcelFile/Excel/matrix.d.ts +0 -67
  120. package/lib/components/ExcelFile/ExcelFile/Excel/point-range.d.ts +0 -22
  121. package/lib/components/ExcelFile/ExcelFile/Excel/point.d.ts +0 -11
  122. package/lib/components/ExcelFile/ExcelFile/Excel/reducer.d.ts +0 -27
  123. package/lib/components/ExcelFile/ExcelFile/Excel/selection.d.ts +0 -95
  124. package/lib/components/ExcelFile/ExcelFile/Excel/types.d.ts +0 -178
  125. package/lib/components/ExcelFile/ExcelFile/Excel/use-dispatch.d.ts +0 -3
  126. package/lib/components/ExcelFile/ExcelFile/Excel/use-selector.d.ts +0 -3
  127. package/lib/components/ExcelFile/ExcelFile/Excel/util.d.ts +0 -44
  128. package/lib/components/ExcelFile/ExcelFile/ExcelFile.d.ts +0 -19
  129. package/lib/components/ExcelFile/ExcelFile.stories.d.ts +0 -6
  130. package/lib/components/ExcelFile/ExcelSheetBar/ExcelSheetBar.d.ts +0 -12
  131. package/lib/components/ExcelFile/ExcelToolBar/ExcelToolBar.d.ts +0 -15
  132. package/lib/components/ExcelFile/ImportExcelStyles.d.ts +0 -24
  133. package/lib/components/ExcelFile/Types.d.ts +0 -129
  134. package/lib/components/ExcelFile/index.d.ts +0 -1
  135. package/lib/components/ExpandableMenu/ExpandableMenu.stories.d.ts +0 -7
  136. package/lib/components/FF_Captcha/captcha.stories.d.ts +0 -8
  137. package/lib/components/FileDropzone/FileDropzone.stories.d.ts +0 -8
  138. package/lib/components/Form/Form.stories.d.ts +0 -7
  139. package/lib/components/GridLayout/GridLayout.stories.d.ts +0 -8
  140. package/lib/components/HighlightText/HighlightText.stories.d.ts +0 -6
  141. package/lib/components/Icon/Icon.stories.d.ts +0 -8
  142. package/lib/components/IconButton/IconButton.stories.d.ts +0 -7
  143. package/lib/components/IconRadioGroup/IconRadioGroup.stories.d.ts +0 -7
  144. package/lib/components/Input/Input.stories.d.ts +0 -9
  145. package/lib/components/InputWithDropdown/InputWithDropdown.stories.d.ts +0 -9
  146. package/lib/components/LabelEditTextField/LabelEditTextField.stories.d.ts +0 -13
  147. package/lib/components/LazyLoad/LazyLoad.stories.d.ts +0 -6
  148. package/lib/components/MachineInputField/MachineInputField.stories.d.ts +0 -6
  149. package/lib/components/MenuOption/MenuOption.stories.d.ts +0 -16
  150. package/lib/components/MiniModal/MiniModal.stories.d.ts +0 -10
  151. package/lib/components/Modal/Modal.stories.d.ts +0 -7
  152. package/lib/components/ModulesChip/ModuleChip.stories.d.ts +0 -6
  153. package/lib/components/MultiSelect/MultiSelect.stories.d.ts +0 -11
  154. package/lib/components/NLPInput/NlpInput.stories.d.ts +0 -7
  155. package/lib/components/Paper/Paper.stories.d.ts +0 -11
  156. package/lib/components/RadioButton/RadioButton.stories.d.ts +0 -10
  157. package/lib/components/RadioGroup/RadioGroup.stories.d.ts +0 -9
  158. package/lib/components/Search/Search.stories.d.ts +0 -6
  159. package/lib/components/Select/Select.stories.d.ts +0 -14
  160. package/lib/components/Select/components/Dropdown/Dropdown.d.ts +0 -4
  161. package/lib/components/Select/components/Dropdown/dropdownTypes.d.ts +0 -17
  162. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.d.ts +0 -6
  163. package/lib/components/StateDropdown/StateDropdown.stories.d.ts +0 -10
  164. package/lib/components/StatusButton/StatusButton.stories.d.ts +0 -14
  165. package/lib/components/StatusCard/StatusCard.stories.d.ts +0 -11
  166. package/lib/components/Table/Table.stories.d.ts +0 -13
  167. package/lib/components/TableTree/TableTree.stories.d.ts +0 -7
  168. package/lib/components/Tabs/Tabs.stories.d.ts +0 -9
  169. package/lib/components/TextArea/Textarea.stories.d.ts +0 -9
  170. package/lib/components/Toast/Toast.stories.d.ts +0 -6
  171. package/lib/components/Toastify/Toastify.stories.d.ts +0 -6
  172. package/lib/components/Toggle/Toggle.stories.d.ts +0 -12
  173. package/lib/components/Tooltip/Tooltip.stories.d.ts +0 -15
  174. package/lib/components/Typography/Typography.stories.d.ts +0 -10
  175. package/lib/components/VariableInput/VariableInput.stories.d.ts +0 -6
  176. package/lib/utils/checkEmpty/checkEmpty.stories.d.ts +0 -6
  177. package/lib/utils/compareArrays/compareArrays.stories.d.ts +0 -6
  178. package/lib/utils/compareObjects/compareObjects.stories.d.ts +0 -6
  179. package/lib/utils/debounce/debounce.stories.d.ts +0 -6
  180. package/lib/utils/ffID/ffID.stories.d.ts +0 -6
  181. package/lib/utils/find/findAndInsert.d.ts +0 -7
  182. package/lib/utils/find/findAndInsert.stories.d.ts +0 -7
  183. package/lib/utils/findAndInsert/findAndInsert.stories.d.ts +0 -7
  184. package/lib/utils/getEncryptedData/getEncryptedData.stories.d.ts +0 -6
  185. package/lib/utils/getExtension/getExtension.stories.d.ts +0 -6
  186. package/lib/utils/getSequentialPayload/getSequentialPayload.stories.d.ts +0 -10
  187. package/lib/utils/throttle/throttle.stories.d.ts +0 -6
  188. package/lib/utils/truncateText/truncateText.stories.d.ts +0 -6
Binary file
@@ -4,5 +4,5 @@ import { AccordionProps } from './types';
4
4
  /**
5
5
  * Accordion UI component
6
6
  */
7
- declare const Accordion: ({ headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, accordionStateIconName, AccordionStateIconWidth, AccordionStateIconHeight, }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
7
+ declare const Accordion: ({ headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, accordionStateIconName, AccordionStateIconWidth, AccordionStateIconHeight, isExpand, }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
8
8
  export default Accordion;
@@ -36,4 +36,8 @@ export interface AccordionProps {
36
36
  * Accordion collapse and expand Icon height
37
37
  */
38
38
  AccordionStateIconHeight: number;
39
+ /**
40
+ * Optional props for initial state of Accordion
41
+ */
42
+ isExpand?: boolean;
39
43
  }
@@ -1,5 +1,4 @@
1
1
  import { ConditionalDropdownProps } from './types';
2
2
  import './ConditionalDropdown.scss';
3
- import React from 'react';
4
- declare const ConditionalDropdown: React.FC<ConditionalDropdownProps>;
3
+ declare const ConditionalDropdown: import("react").ForwardRefExoticComponent<ConditionalDropdownProps & import("react").RefAttributes<HTMLInputElement>>;
5
4
  export default ConditionalDropdown;
@@ -35,7 +35,7 @@ export interface ConditionalDropdownProps {
35
35
  * @param value
36
36
  * @returns
37
37
  */
38
- onChange?: (value: string) => void;
38
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
39
39
  /**
40
40
  * Function to handle create variable icon click
41
41
  */
@@ -113,8 +113,8 @@ export interface ConditionalDropdownProps {
113
113
  */
114
114
  isLabelRequired?: boolean;
115
115
  /**
116
- * If true, dropdown opens when '#' is entered at the first position.
117
- */
116
+ * If true, dropdown opens when '#' is entered at the first position.
117
+ */
118
118
  isHash?: boolean;
119
119
  /**
120
120
  * Options for the dropdown when `isHash` is true.
@@ -16,7 +16,7 @@ export interface LabelEditTextFieldTypes {
16
16
  /** Label text displayed above the input field. */
17
17
  label?: string;
18
18
  /** Initial text displayed in the input field. */
19
- text: string;
19
+ text?: string;
20
20
  /** Text to be highlighted within the displayed text, if provided. */
21
21
  highlightText?: string;
22
22
  /** Custom error message to be displayed, if applicable. */
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import './ScriptSwitchButton.scss';
3
+ interface ScriptSwitchButtonProps {
4
+ handleClick: (selected: string) => void;
5
+ selected: string;
6
+ tabList: Array<'Automation' | 'Manual'>;
7
+ }
8
+ declare const ScriptSwitchButton: React.FC<ScriptSwitchButtonProps>;
9
+ export default ScriptSwitchButton;
@@ -0,0 +1 @@
1
+ export { default } from './ScriptSwitchButton';
@@ -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, lines, isLast, }: TableCellProps) => import("react/jsx-runtime").JSX.Element>;
3
+ declare const TableCell: React.MemoExoticComponent<({ col, node, level, selected, select, onCheckBoxChange, onToggleExpand, parentSiblings, 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, lines, isLast, }: TableRowProps) => import("react/jsx-runtime").JSX.Element>;
3
+ declare const TableRow: React.MemoExoticComponent<({ node, level, columnsData, selected, select, onRowClick, onToggleExpand, onCheckBoxChange, parentSiblings, isLast, }: TableRowProps) => import("react/jsx-runtime").JSX.Element>;
4
4
  export default TableRow;
@@ -0,0 +1,25 @@
1
+ import React, { ReactNode } from 'react';
2
+ import './TableTree.scss';
3
+ interface ColumnDataProps {
4
+ name: string;
5
+ accessor: string;
6
+ width: string;
7
+ isClickable?: boolean;
8
+ minWidth?: string;
9
+ cell?: (e: any) => JSX.Element | string | ReactNode;
10
+ actions?: (e: any) => JSX.Element | string | ReactNode;
11
+ }
12
+ interface ObjectProps {
13
+ [key: string]: any;
14
+ }
15
+ interface TableTreeProps {
16
+ select: 'checkbox' | 'radio' | 'none';
17
+ columnsData: Array<ColumnDataProps>;
18
+ treeData: Array<ObjectProps>;
19
+ onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>, data: any) => void;
20
+ onChange?: (e: any, node: any) => void;
21
+ selected: Array<string>;
22
+ onPagination?: (node: ObjectProps) => void;
23
+ }
24
+ declare const TableTree: ({ columnsData, treeData, select, onClick, onChange, selected, onPagination, }: TableTreeProps) => import("react/jsx-runtime").JSX.Element;
25
+ export default TableTree;
@@ -28,8 +28,9 @@ declare const data: ({
28
28
  parentName?: undefined;
29
29
  };
30
30
  level: number;
31
- lines: number;
32
31
  isLast: boolean;
32
+ parentSiblings: boolean[];
33
+ lines?: undefined;
33
34
  } | {
34
35
  node: {
35
36
  subModuleCount: number;
@@ -59,8 +60,9 @@ declare const data: ({
59
60
  id: string;
60
61
  parentName?: undefined;
61
62
  };
62
- level: number;
63
+ parentSiblings: boolean[];
63
64
  lines: number;
65
+ level?: undefined;
64
66
  isLast?: undefined;
65
67
  } | {
66
68
  node: {
@@ -92,8 +94,9 @@ declare const data: ({
92
94
  parentName?: undefined;
93
95
  };
94
96
  level: number;
95
- lines: number;
96
- isLast: boolean;
97
+ parentSiblings: boolean[];
98
+ isLast?: undefined;
99
+ lines?: undefined;
97
100
  } | {
98
101
  node: {
99
102
  ver: number;
@@ -124,8 +127,9 @@ declare const data: ({
124
127
  id: string;
125
128
  };
126
129
  level: number;
127
- lines: number;
130
+ parentSiblings: boolean[];
128
131
  isLast?: undefined;
132
+ lines?: undefined;
129
133
  } | {
130
134
  node: {
131
135
  ver: number;
@@ -156,8 +160,9 @@ declare const data: ({
156
160
  folder?: undefined;
157
161
  };
158
162
  level: number;
159
- lines: number;
163
+ parentSiblings: boolean[];
160
164
  isLast?: undefined;
165
+ lines?: undefined;
161
166
  } | {
162
167
  node: {
163
168
  ver: number;
@@ -188,8 +193,9 @@ declare const data: ({
188
193
  folder?: undefined;
189
194
  };
190
195
  level: number;
191
- lines: number;
196
+ parentSiblings: boolean[];
192
197
  isLast: boolean;
198
+ lines?: undefined;
193
199
  } | {
194
200
  node: {
195
201
  ver: number;
@@ -220,7 +226,41 @@ declare const data: ({
220
226
  id: string;
221
227
  };
222
228
  level: number;
223
- lines: number;
229
+ parentSiblings: boolean[];
230
+ isLast: boolean;
231
+ lines?: undefined;
232
+ } | {
233
+ node: {
234
+ subModuleCount: number;
235
+ title: string;
236
+ scriptCount: number;
237
+ path: string;
238
+ expanded: boolean;
239
+ modifiedOn: string;
240
+ children: boolean;
241
+ lastExecutionOrder: number;
242
+ imported: boolean;
243
+ modifiedBy: string;
244
+ moduleCountWithScript: number;
245
+ state: string;
246
+ key: string;
247
+ ver: number;
248
+ hierarchy: number;
249
+ assigneeCount: number;
250
+ searchKey: string;
251
+ modifiedByUname: string;
252
+ executionOrder: number;
253
+ createdByUname: string;
254
+ folder: boolean;
255
+ moduleLevelScriptCount: number;
256
+ name: string;
257
+ parentId: string;
258
+ id: string;
259
+ parentName?: undefined;
260
+ };
261
+ level: number;
262
+ parentSiblings: boolean[];
224
263
  isLast: boolean;
264
+ lines?: undefined;
225
265
  })[];
226
266
  export default data;
@@ -14,7 +14,7 @@ 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;
17
+ parentSiblings: boolean[];
18
18
  isLast: boolean | undefined;
19
19
  }
20
20
  export interface TableHeadProps {
@@ -38,7 +38,7 @@ export interface TableRowProps {
38
38
  onRowClick: (e: any, node: any) => void;
39
39
  onToggleExpand: (node: any) => void;
40
40
  onCheckBoxChange: (type: string, node: any) => void;
41
- lines: number;
41
+ parentSiblings: boolean[];
42
42
  isLast: boolean | undefined;
43
43
  }
44
44
  export interface Column {
package/lib/index.d.ts CHANGED
@@ -361,12 +361,16 @@ interface AccordionProps {
361
361
  * Accordion collapse and expand Icon height
362
362
  */
363
363
  AccordionStateIconHeight: number;
364
+ /**
365
+ * Optional props for initial state of Accordion
366
+ */
367
+ isExpand?: boolean;
364
368
  }
365
369
 
366
370
  /**
367
371
  * Accordion UI component
368
372
  */
369
- 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;
370
374
 
371
375
  type OptionValue$1 = any;
372
376
  interface Option$3 {
@@ -2386,7 +2390,7 @@ interface LabelEditTextFieldTypes$1 {
2386
2390
  /** Label text displayed above the input field. */
2387
2391
  label?: string;
2388
2392
  /** Initial text displayed in the input field. */
2389
- text: string;
2393
+ text?: string;
2390
2394
  /** Text to be highlighted within the displayed text, if provided. */
2391
2395
  highlightText?: string;
2392
2396
  /** Custom error message to be displayed, if applicable. */
@@ -2863,6 +2867,13 @@ interface ChooseFileProps {
2863
2867
 
2864
2868
  declare const _default: React$1.NamedExoticComponent<ChooseFileProps>;
2865
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
+
2866
2877
  type valueType$1 = any;
2867
2878
  declare const checkEmpty: (value: valueType$1) => boolean;
2868
2879
 
@@ -3097,7 +3108,7 @@ interface ConditionalDropdownProps {
3097
3108
  * @param value
3098
3109
  * @returns
3099
3110
  */
3100
- onChange?: (value: string) => void;
3111
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
3101
3112
  /**
3102
3113
  * Function to handle create variable icon click
3103
3114
  */
@@ -3175,8 +3186,8 @@ interface ConditionalDropdownProps {
3175
3186
  */
3176
3187
  isLabelRequired?: boolean;
3177
3188
  /**
3178
- * If true, dropdown opens when '#' is entered at the first position.
3179
- */
3189
+ * If true, dropdown opens when '#' is entered at the first position.
3190
+ */
3180
3191
  isHash?: boolean;
3181
3192
  /**
3182
3193
  * Options for the dropdown when `isHash` is true.
@@ -3184,7 +3195,7 @@ interface ConditionalDropdownProps {
3184
3195
  dataFiles?: dynamicObject[];
3185
3196
  }
3186
3197
 
3187
- declare const ConditionalDropdown: React__default.FC<ConditionalDropdownProps>;
3198
+ declare const ConditionalDropdown: React$1.ForwardRefExoticComponent<ConditionalDropdownProps & React$1.RefAttributes<HTMLInputElement>>;
3188
3199
 
3189
3200
  declare const hasDuplicateFile: (array: any[], property: string) => boolean;
3190
3201
 
@@ -3207,4 +3218,50 @@ interface PhoneInputProps {
3207
3218
 
3208
3219
  declare const PhoneInputField: React__default.FC<PhoneInputProps>;
3209
3220
 
3210
- 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 };
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 };