pixel-react 1.7.8 → 1.8.0

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 (99) hide show
  1. package/lib/components/AllProjectsDropdown/types.d.ts +2 -0
  2. package/lib/components/Button/Button.d.ts +2 -2
  3. package/lib/components/Button/types.d.ts +17 -0
  4. package/lib/components/Charts/DashboardDonutChart/types.d.ts +2 -0
  5. package/lib/components/Charts/MultiRadialChart/types.d.ts +3 -0
  6. package/lib/components/ChooseFile/ChooseFile.d.ts +3 -0
  7. package/lib/components/ChooseFile/types.d.ts +68 -0
  8. package/lib/components/ConnectingBranch/ConnectingBranch.d.ts +2 -1
  9. package/lib/components/ConnectingBranch/data.d.ts +19 -33
  10. package/lib/components/ConnectingBranch/types.d.ts +10 -0
  11. package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.d.ts +7 -1
  12. package/lib/components/LabelEditTextField/types.d.ts +2 -0
  13. package/lib/components/MachineInputField/MachineInputField.d.ts +4 -1
  14. package/lib/components/Select/types.d.ts +1 -1
  15. package/lib/components/StatusCard/types.d.ts +2 -0
  16. package/lib/components/TableTree/Components/TableCell.d.ts +1 -1
  17. package/lib/components/TableTree/Components/TableRow.d.ts +1 -1
  18. package/lib/components/TableTree/data.d.ts +74 -0
  19. package/lib/components/TableTree/types.d.ts +4 -0
  20. package/lib/components/TextArea/Textarea.d.ts +1 -1
  21. package/lib/components/TextArea/Types.d.ts +1 -0
  22. package/lib/index.d.ts +176 -63
  23. package/lib/index.esm.js +458 -273
  24. package/lib/index.esm.js.map +1 -1
  25. package/lib/index.js +458 -272
  26. package/lib/index.js.map +1 -1
  27. package/lib/tsconfig.tsbuildinfo +1 -1
  28. package/lib/utils/validateFile/validateFile.d.ts +2 -0
  29. package/package.json +2 -2
  30. package/src/assets/Themes/BaseTheme.scss +1 -0
  31. package/src/assets/Themes/BlueTheme.scss +44 -44
  32. package/src/assets/Themes/DarkTheme.scss +1 -0
  33. package/src/assets/icons/failed_status_icon.svg +1 -1
  34. package/src/assets/icons/flaky_status_icon.svg +1 -1
  35. package/src/assets/icons/settings.svg +3 -0
  36. package/src/assets/icons/skipped_status_icon.svg +1 -1
  37. package/src/assets/icons/warning_status_icon.svg +1 -1
  38. package/src/components/AllProjectsDropdown/types.ts +2 -0
  39. package/src/components/AppHeader/AppHeader.scss +6 -2
  40. package/src/components/Button/Button.scss +12 -0
  41. package/src/components/Button/Button.tsx +29 -11
  42. package/src/components/Button/types.ts +21 -0
  43. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +83 -30
  44. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +3 -0
  45. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +39 -16
  46. package/src/components/Charts/DashboardDonutChart/types.ts +2 -0
  47. package/src/components/Charts/MultiRadialChart/MultiRadialChart.scss +0 -1
  48. package/src/components/Charts/MultiRadialChart/MultiRadialChart.stories.tsx +2 -1
  49. package/src/components/Charts/MultiRadialChart/MultiRadialChart.tsx +18 -4
  50. package/src/components/Charts/MultiRadialChart/types.ts +4 -1
  51. package/src/components/ChooseFile/ChooseFile.stories.tsx +190 -0
  52. package/src/components/ChooseFile/ChooseFile.tsx +46 -0
  53. package/src/components/ChooseFile/types.ts +78 -0
  54. package/src/components/ConnectingBranch/BranchComponents/MachineInstances.tsx +94 -79
  55. package/src/components/ConnectingBranch/ConnectingBranch.scss +183 -195
  56. package/src/components/ConnectingBranch/ConnectingBranch.stories.tsx +33 -1
  57. package/src/components/ConnectingBranch/ConnectingBranch.tsx +121 -107
  58. package/src/components/ConnectingBranch/{data.ts → data.tsx} +106 -17
  59. package/src/components/ConnectingBranch/types.ts +21 -0
  60. package/src/components/Excel/ExcelFile/ExcelFile.tsx +1 -1
  61. package/src/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.tsx +13 -8
  62. package/src/components/Excel/ExcelFile/ExcelFileComponents/FloatingRect.tsx +6 -1
  63. package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.scss +30 -11
  64. package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.tsx +65 -19
  65. package/src/components/Excel/ExcelFile/ExcelFileComponents/actions.ts +14 -0
  66. package/src/components/Excel/ExcelFile/ExcelFileComponents/reducer.ts +16 -0
  67. package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +6 -5
  68. package/src/components/Icon/iconList.ts +2 -0
  69. package/src/components/InputWithDropdown/InputWithDropdown.tsx +1 -1
  70. package/src/components/LabelEditTextField/LabelEditTextField.stories.tsx +8 -3
  71. package/src/components/LabelEditTextField/LabelEditTextField.tsx +28 -11
  72. package/src/components/LabelEditTextField/types.ts +2 -0
  73. package/src/components/MachineInputField/MachineInputField.tsx +67 -70
  74. package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.scss +1 -1
  75. package/src/components/Select/Select.tsx +4 -4
  76. package/src/components/Select/types.ts +1 -1
  77. package/src/components/SequentialConnectingBranch/components/Branches/Branches.scss +1 -0
  78. package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +2 -8
  79. package/src/components/StatusCard/StatusCard.scss +2 -1
  80. package/src/components/StatusCard/StatusCard.stories.tsx +59 -1
  81. package/src/components/StatusCard/StatusCard.tsx +10 -2
  82. package/src/components/StatusCard/types.ts +2 -0
  83. package/src/components/TableTree/Components/TableBody.tsx +19 -15
  84. package/src/components/TableTree/Components/TableCell.tsx +47 -31
  85. package/src/components/TableTree/Components/TableRow.tsx +4 -0
  86. package/src/components/TableTree/TableTree.scss +122 -109
  87. package/src/components/TableTree/data.ts +16 -1
  88. package/src/components/TableTree/types.ts +4 -0
  89. package/src/components/TextArea/Textarea.tsx +2 -0
  90. package/src/components/TextArea/Types.ts +3 -0
  91. package/src/index.ts +3 -0
  92. package/src/utils/validateFile/validateFile.stories.tsx +49 -0
  93. package/src/utils/validateFile/validateFile.ts +39 -0
  94. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.scss +0 -51
  95. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.tsx +0 -107
  96. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/types.ts +0 -5
  97. package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.scss +0 -31
  98. package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.tsx +0 -85
  99. package/src/components/SequentialConnectingBranch/components/DatasetListModal/types.ts +0 -4
@@ -2,6 +2,8 @@ export interface optionsType {
2
2
  label: string;
3
3
  value: string;
4
4
  iconName: string;
5
+ platform?: string;
6
+ appType?: string;
5
7
  }
6
8
  export interface AllProjectsDropdownProps {
7
9
  options: optionsType[];
@@ -1,5 +1,5 @@
1
1
  import './Button.scss';
2
2
  import '../../assets/styles/_colors.scss';
3
3
  import { ButtonProps } from './types';
4
- declare const Button: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
5
- export default Button;
4
+ declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>>;
5
+ export default _default;
@@ -1,4 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
+ import { DynamicObj } from '../CreateVariable/types';
2
3
  export interface ButtonProps {
3
4
  /**
4
5
  * Variant of the button
@@ -62,4 +63,20 @@ export interface ButtonProps {
62
63
  * form to accept form id in string
63
64
  */
64
65
  form?: string;
66
+ /**
67
+ * Is the Type ChooseFile for the button
68
+ */
69
+ isChooseFile?: boolean;
70
+ /**
71
+ * Custom Width for the button
72
+ */
73
+ buttonWidth?: string;
74
+ /**
75
+ * selectedfile object will be send.
76
+ */
77
+ selectedFile?: File | DynamicObj | null;
78
+ /**
79
+ * handleCloseIcon function will set to the initial state .
80
+ */
81
+ handleCloseIcon?: () => void;
65
82
  }
@@ -34,8 +34,10 @@ export type DashboardDonutChartProps = {
34
34
  chartGap?: number;
35
35
  legendGap?: number;
36
36
  tableWidth?: number;
37
+ tableHeight?: number;
37
38
  legendValueFontSize?: number;
38
39
  legendKeyFontSize?: number;
39
40
  labelYoffSet?: number;
40
41
  subLabelYoffSet?: number;
42
+ onSelectedStatus?: (_value: string) => void;
41
43
  };
@@ -14,6 +14,9 @@ export interface MultiRadialChartProps {
14
14
  barValues: BarValue[];
15
15
  legendType?: LegendType;
16
16
  isLegendDetails?: boolean;
17
+ labelFontSize?: number;
18
+ subLabelFontSize?: number;
19
+ gapAngle?: number;
17
20
  }
18
21
  export interface ChartItem extends BarValue {
19
22
  label: string;
@@ -0,0 +1,3 @@
1
+ import { ChooseFileProps } from './types';
2
+ declare const _default: import("react").NamedExoticComponent<ChooseFileProps>;
3
+ export default _default;
@@ -0,0 +1,68 @@
1
+ import { DynamicObj } from '../CreateVariable/types';
2
+ export interface ChooseFileProps {
3
+ /**
4
+ * Variant of the button
5
+ */
6
+ variant: 'primary' | 'secondary' | 'tertiary' | 'delete' | 'warning';
7
+ /**
8
+ * What background color to use
9
+ */
10
+ backgroundColor?: string;
11
+ /**
12
+ * Width in string format can be sent for needed width
13
+ */
14
+ buttonWidth?: string;
15
+ /**
16
+ * How large should the button be?
17
+ */
18
+ size?: 'small' | 'medium' | 'large';
19
+ /**
20
+ * Button contents
21
+ */
22
+ label?: string;
23
+ /**
24
+ * Type of the button
25
+ */
26
+ type?: 'button' | 'submit';
27
+ disabled?: boolean;
28
+ /**
29
+ * Optional click handler
30
+ */
31
+ onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
32
+ /**
33
+ * Button id
34
+ */
35
+ id?: string;
36
+ /**
37
+ * onSubmit function handler
38
+ */
39
+ onSubmit?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
40
+ /**
41
+ * react ref for the button
42
+ */
43
+ ref?: any;
44
+ /**
45
+ * Classname for the button
46
+ */
47
+ className?: string;
48
+ /**
49
+ * Additional styles for the button
50
+ */
51
+ style?: React.CSSProperties;
52
+ /**
53
+ * Give icon name availble in storybook that to be on left side of button
54
+ */
55
+ iconName?: string;
56
+ /**
57
+ * isChooseFile is a Boolean prop
58
+ */
59
+ isChooseFile?: boolean;
60
+ /**
61
+ * selectedfile object will be send.
62
+ */
63
+ selectedFile?: File | DynamicObj | null;
64
+ /**
65
+ * handleCloseIcon function will set to the initial state .
66
+ */
67
+ handleCloseIcon?: () => void;
68
+ }
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
2
  import './ConnectingBranch.scss';
3
- declare const ConnectingBranch: React.FC;
3
+ import { ConnectBranchProps } from './types';
4
+ declare const ConnectingBranch: React.FC<ConnectBranchProps>;
4
5
  export default ConnectingBranch;
@@ -3,7 +3,7 @@ declare const machineData: {
3
3
  machines: {
4
4
  multiple: boolean;
5
5
  totalNoScript: number;
6
- selectedMachines: ({
6
+ selectedMachines: {
7
7
  clientId: string;
8
8
  executionDataSet: {
9
9
  peVariableSetId: string;
@@ -22,13 +22,20 @@ declare const machineData: {
22
22
  osVersion: string;
23
23
  hostName: string;
24
24
  };
25
- deviceInfo: never[];
25
+ deviceInfo: {
26
+ version: string;
27
+ name: string;
28
+ type: string;
29
+ subType: string;
30
+ platform: string;
31
+ }[];
26
32
  headless: boolean;
27
33
  runLevelExecutionDataSets: {
28
34
  peVariableSetId: string;
29
35
  globalVariableSetId: string;
30
36
  testDataSetId: string;
31
37
  runScriptCount: number;
38
+ browserRenderer: string;
32
39
  }[];
33
40
  } | {
34
41
  clientId: string;
@@ -42,44 +49,23 @@ declare const machineData: {
42
49
  osVersion: string;
43
50
  hostName: string;
44
51
  };
45
- deviceInfo: never[];
46
- headless: boolean;
47
- runLevelExecutionDataSets: {
48
- peVariableSetId: string;
49
- globalVariableSetId: string;
50
- testDataSetId: string;
52
+ deviceInfo: {
53
+ version: string;
54
+ name: string;
55
+ type: string;
56
+ subType: string;
57
+ platform: string;
51
58
  }[];
52
- })[];
53
- totalScript?: undefined;
54
- } | {
55
- clientId: string;
56
- executionDataSet: {
57
- peVariableSetId: string;
58
- globalVariableSetId: string;
59
- testDataSetId: string;
60
- };
61
- totalScript: number;
62
- machineInstances: {
63
- clientId: string;
64
- numberOfRuns: string;
65
- executionEnv: string;
66
- browserName: string;
67
- browserVersion: string;
68
- systemUrl: string;
69
- machineInfo: {
70
- osName: string;
71
- osVersion: string;
72
- hostName: string;
73
- };
74
- deviceInfo: never[];
75
59
  headless: boolean;
76
60
  runLevelExecutionDataSets: {
77
61
  peVariableSetId: string;
78
62
  globalVariableSetId: string;
79
63
  testDataSetId: string;
64
+ runScriptCount: number;
65
+ executionDataSetId: string;
80
66
  }[];
81
- }[];
82
- })[];
67
+ })[];
68
+ }[];
83
69
  executionType: string;
84
70
  };
85
71
  };
@@ -1,3 +1,4 @@
1
+ import { ReactElement } from 'react';
1
2
  type MachineInstanceData = any;
2
3
  export interface MachineInstance {
3
4
  [key: string]: MachineInstanceData;
@@ -7,13 +8,22 @@ export interface MachineData {
7
8
  [key: string]: machineDataObj;
8
9
  }
9
10
  export interface MachineInstancesProps {
11
+ parentNode: number;
10
12
  data: MachineData;
11
13
  verticalLineHeight: number;
12
14
  datasetHeight: number;
13
15
  curveHeights: number[];
14
16
  itemRefs: React.MutableRefObject<(HTMLDivElement | null)[]>;
15
17
  datasetRef: React.RefObject<HTMLDivElement>;
18
+ getChildNodeComponent: (isButton: boolean, ...args: any[]) => ReactElement<any, any>;
16
19
  }
17
20
  export type indexType = number;
18
21
  export type rowType = number;
22
+ export interface ConnectBranchProps {
23
+ data: MachineData;
24
+ childNodeCurveHeight?: number;
25
+ getParentNodeComponent: (isMultiSelect: boolean, ...args: any[]) => ReactElement<any, any>;
26
+ getParentNodeComponentActionItems: (...args: any[]) => ReactElement<any, any>;
27
+ getChildNodeComponent: (isButton: boolean, ...args: any[]) => ReactElement<any, any>;
28
+ }
19
29
  export {};
@@ -162,6 +162,12 @@ export type SetDataAction = BaseAction<typeof SET_DATA> & {
162
162
  data: Matrix<CellBase>;
163
163
  };
164
164
  };
165
+ export type KeyPressAction = BaseAction<typeof KEY_PRESS> & {
166
+ payload: {
167
+ event: React.KeyboardEvent;
168
+ };
169
+ };
170
+ export declare function keyPress(event: React.KeyboardEvent): KeyPressAction;
165
171
  export declare function setData(data: Matrix<CellBase>): SetDataAction;
166
172
  export type SetCreateFormulaParserAction = BaseAction<typeof SET_CREATE_FORMULA_PARSER> & {
167
173
  payload: {
@@ -251,4 +257,4 @@ export type ClearAction = BaseAction<typeof CLEAR>;
251
257
  export declare function clear(): ClearAction;
252
258
  export type BlurAction = BaseAction<typeof BLUR>;
253
259
  export declare function blur(): BlurAction;
254
- export type Action = SetDataAction | SetCreateFormulaParserAction | SelectEntireRowAction | SelectEntireColumnAction | SelectEntireWorksheetAction | SetSelectionAction | SelectAction | ActivateAction | SetCellDataAction | SetCellDimensionsAction | PasteAction | KeyDownAction | DragStartAction | DragEndAction | CommitAction | CopyAction | CutAction | EditAction | ViewAction | ClearAction | UnderlineTypeStyle | FontSize | FontFamily | TextAlignType | BorderType | ItalicStyle | BoldStyle | ColorStyle | BackgroundStyle | FormatePainterStyle | AddRowTop | AddColumnLeft | DeleteRow | DeleteColumn | SetRowHeight | SetColumnPosition | SetAutoFill | BlurAction;
260
+ export type Action = SetDataAction | SetCreateFormulaParserAction | SelectEntireRowAction | SelectEntireColumnAction | SelectEntireWorksheetAction | SetSelectionAction | SelectAction | ActivateAction | SetCellDataAction | SetCellDimensionsAction | PasteAction | KeyDownAction | DragStartAction | DragEndAction | CommitAction | CopyAction | CutAction | EditAction | ViewAction | ClearAction | UnderlineTypeStyle | FontSize | FontFamily | KeyPressAction | TextAlignType | BorderType | ItalicStyle | BoldStyle | ColorStyle | BackgroundStyle | FormatePainterStyle | AddRowTop | AddColumnLeft | DeleteRow | DeleteColumn | SetRowHeight | SetColumnPosition | SetAutoFill | BlurAction;
@@ -40,6 +40,8 @@ export interface LabelEditTextFieldTypes {
40
40
  customErrorCondition?: boolean;
41
41
  placeholder?: string;
42
42
  onClick?: () => void;
43
+ /** Function called when every input character got changed */
44
+ onInputChange?: (newInputValue: string) => void;
43
45
  tooltip?: {
44
46
  tooltipTitle?: string;
45
47
  tooltipPlacement?: string;
@@ -1,4 +1,7 @@
1
1
  import './MachineInputField.scss';
2
2
  import { MachineInputFieldProps } from './types';
3
- declare const MachineInputField: import("react").ForwardRefExoticComponent<MachineInputFieldProps & import("react").RefAttributes<HTMLDivElement>>;
3
+ declare const MachineInputField: {
4
+ ({ width, options, runCount, className, contentReverse, onClick, modalId, }: MachineInputFieldProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
4
7
  export default MachineInputField;
@@ -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;
@@ -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
  }
@@ -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
  */