pixel-react 1.9.2 → 1.9.3

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 (203) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/lib/components/Charts/BarChart/BarChart.d.ts +1 -0
  3. package/lib/components/Charts/MultiRadialChart/types.d.ts +2 -0
  4. package/lib/components/Table/Table.d.ts +1 -1
  5. package/lib/components/Table/Types.d.ts +8 -0
  6. package/lib/components/TableTree/Components/TableCell.d.ts +1 -1
  7. package/lib/components/TableTree/Components/TableRow.d.ts +1 -1
  8. package/lib/components/TableTree/data.d.ts +54 -222
  9. package/lib/components/TableTree/types.d.ts +0 -6
  10. package/lib/index.d.ts +15 -2
  11. package/lib/index.esm.js +21315 -21375
  12. package/lib/index.esm.js.map +1 -1
  13. package/lib/index.js +21325 -21384
  14. package/lib/index.js.map +1 -1
  15. package/lib/tsconfig.tsbuildinfo +1 -1
  16. package/lib/utils/swapArrayItem/dragAndDropUtils.d.ts +1 -0
  17. package/package.json +1 -1
  18. package/src/StyleGuide/ColorPalette/colorPaletteList.ts +55 -0
  19. package/src/assets/Themes/BaseTheme.scss +17 -6
  20. package/src/assets/Themes/BlueTheme.scss +12 -0
  21. package/src/assets/Themes/DarkTheme.scss +20 -6
  22. package/src/assets/icons/approval_pending.svg +8 -8
  23. package/src/assets/icons/azure.svg +9 -0
  24. package/src/assets/icons/bitbucket.svg +9 -0
  25. package/src/assets/icons/configuration.svg +3 -3
  26. package/src/assets/icons/defects.svg +8 -8
  27. package/src/assets/icons/element.svg +4 -4
  28. package/src/assets/icons/github.svg +9 -0
  29. package/src/assets/icons/gitlab.svg +9 -0
  30. package/src/assets/icons/jenkins.svg +9 -0
  31. package/src/assets/icons/jira_logo.svg +9 -0
  32. package/src/assets/icons/primary_calendar_icon.svg +3 -0
  33. package/src/assets/icons/project_element.svg +4 -4
  34. package/src/assets/icons/slack.svg +9 -0
  35. package/src/assets/icons/step_group.svg +10 -10
  36. package/src/assets/icons/variable.svg +3 -3
  37. package/src/assets/icons/web_service_icon.svg +3 -3
  38. package/src/components/Charts/BarChart/BarChart.stories.tsx +2 -1
  39. package/src/components/Charts/BarChart/BarChart.tsx +6 -2
  40. package/src/components/Charts/MultiRadialChart/MultiRadialChart.scss +0 -2
  41. package/src/components/Charts/MultiRadialChart/MultiRadialChart.stories.tsx +7 -1
  42. package/src/components/Charts/MultiRadialChart/MultiRadialChart.tsx +5 -2
  43. package/src/components/Charts/MultiRadialChart/types.ts +2 -0
  44. package/src/components/DatePicker/DatePicker.scss +379 -632
  45. package/src/components/DatePicker/DatePicker.tsx +130 -98
  46. package/src/components/DatePicker/Timepicker.tsx +1 -13
  47. package/src/components/Icon/iconList.ts +16 -0
  48. package/src/components/Table/Table.scss +44 -11
  49. package/src/components/Table/Table.stories.tsx +60 -1
  50. package/src/components/Table/Table.tsx +190 -123
  51. package/src/components/Table/Types.ts +8 -0
  52. package/src/components/TableTree/Components/TableBody.tsx +17 -19
  53. package/src/components/TableTree/Components/TableCell.tsx +2 -4
  54. package/src/components/TableTree/Components/TableRow.tsx +4 -7
  55. package/src/components/TableTree/TableTree.stories.tsx +10 -10
  56. package/src/components/TableTree/TableTree.tsx +1 -1
  57. package/src/components/TableTree/data.ts +53 -331
  58. package/src/components/TableTree/types.ts +0 -6
  59. package/src/components/TextArea/Textarea.scss +24 -6
  60. package/src/index.ts +3 -1
  61. package/src/utils/swapArrayItem/dragAndDropUtils.ts +11 -0
  62. package/lib/1fb4472b34e4fe07.css +0 -1
  63. package/lib/StyleGuide/ColorPalette/ColorPalette.stories.d.ts +0 -6
  64. package/lib/StyleGuide/Typography/Typography.stories.d.ts +0 -6
  65. package/lib/assets/fonts/Poppins-Bold.ttf +0 -0
  66. package/lib/assets/fonts/Poppins-Medium.ttf +0 -0
  67. package/lib/assets/fonts/Poppins-Regular.ttf +0 -0
  68. package/lib/assets/fonts/Poppins-SemiBold.ttf +0 -0
  69. package/lib/components/Accordion/Accordion.stories.d.ts +0 -6
  70. package/lib/components/AddButton/AddButton.d.ts +0 -5
  71. package/lib/components/AddButton/AddButton.stories.d.ts +0 -6
  72. package/lib/components/AddButton/index.d.ts +0 -1
  73. package/lib/components/AddButton/types.d.ts +0 -4
  74. package/lib/components/AddResourceButton/AddButton.stories.d.ts +0 -8
  75. package/lib/components/AddVariables/AddVariables.d.ts +0 -5
  76. package/lib/components/AddVariables/index.d.ts +0 -1
  77. package/lib/components/AddVariables/types.d.ts +0 -35
  78. package/lib/components/AllProjectsDropdown/AllProjectsDropdown.stories.d.ts +0 -7
  79. package/lib/components/AppHeader/AppHeader.stories.d.ts +0 -7
  80. package/lib/components/AttachImage/AttachImage.stories.d.ts +0 -7
  81. package/lib/components/AttachmentButton/AttachmentButton.stories.d.ts +0 -9
  82. package/lib/components/Avatar/Avatar.stories.d.ts +0 -10
  83. package/lib/components/Button/Button.stories.d.ts +0 -13
  84. package/lib/components/Charts/BarChart/BarChart.stories.d.ts +0 -6
  85. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.d.ts +0 -7
  86. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +0 -6
  87. package/lib/components/Charts/IconRadialChart/IconRadialChart.stories.d.ts +0 -8
  88. package/lib/components/Charts/LineChart/LineChart.stories.d.ts +0 -7
  89. package/lib/components/Charts/MultiRadialChart/MultiRadialChart.stories.d.ts +0 -8
  90. package/lib/components/Charts/PieChart/PieChart.stories.d.ts +0 -7
  91. package/lib/components/Charts/RadialChart/RadialChart.stories.d.ts +0 -6
  92. package/lib/components/Checkbox/Checkbox.stories.d.ts +0 -8
  93. package/lib/components/Chip/Chip.stories.d.ts +0 -14
  94. package/lib/components/ConnectingBranch/ConnectingBranch.stories.d.ts +0 -6
  95. package/lib/components/DatePicker/DatePicker.stories.d.ts +0 -9
  96. package/lib/components/DragAndDrop/DragAndDrop.stories.d.ts +0 -6
  97. package/lib/components/Drawer/Drawer.stories.d.ts +0 -12
  98. package/lib/components/EditTextField/EditTextField.stories.d.ts +0 -10
  99. package/lib/components/Editor/Editor.stories.d.ts +0 -6
  100. package/lib/components/Excel/ContextMenu/ContextMenu.d.ts +0 -4
  101. package/lib/components/Excel/ExcelFile.stories.d.ts +0 -6
  102. package/lib/components/ExcelFile/ChangeExcelStyles.d.ts +0 -14
  103. package/lib/components/ExcelFile/ColorBarSelector/ColorBarSelector.d.ts +0 -8
  104. package/lib/components/ExcelFile/ContextMenu/ContextMenu.d.ts +0 -4
  105. package/lib/components/ExcelFile/ExcelFile/Excel/ActiveCell.d.ts +0 -7
  106. package/lib/components/ExcelFile/ExcelFile/Excel/Cell.d.ts +0 -4
  107. package/lib/components/ExcelFile/ExcelFile/Excel/ColumnIndicator.d.ts +0 -5
  108. package/lib/components/ExcelFile/ExcelFile/Excel/Copied.d.ts +0 -3
  109. package/lib/components/ExcelFile/ExcelFile/Excel/CornerIndicator.d.ts +0 -5
  110. package/lib/components/ExcelFile/ExcelFile/Excel/DataEditor.d.ts +0 -5
  111. package/lib/components/ExcelFile/ExcelFile/Excel/DataViewer.d.ts +0 -8
  112. package/lib/components/ExcelFile/ExcelFile/Excel/FloatingRect.d.ts +0 -10
  113. package/lib/components/ExcelFile/ExcelFile/Excel/HeaderRow.d.ts +0 -3
  114. package/lib/components/ExcelFile/ExcelFile/Excel/Row.d.ts +0 -3
  115. package/lib/components/ExcelFile/ExcelFile/Excel/RowIndicator.d.ts +0 -5
  116. package/lib/components/ExcelFile/ExcelFile/Excel/Selected.d.ts +0 -3
  117. package/lib/components/ExcelFile/ExcelFile/Excel/Spreadsheet.d.ts +0 -80
  118. package/lib/components/ExcelFile/ExcelFile/Excel/Table.d.ts +0 -3
  119. package/lib/components/ExcelFile/ExcelFile/Excel/actions.d.ts +0 -174
  120. package/lib/components/ExcelFile/ExcelFile/Excel/areModelsEqual.d.ts +0 -1
  121. package/lib/components/ExcelFile/ExcelFile/Excel/context.d.ts +0 -8
  122. package/lib/components/ExcelFile/ExcelFile/Excel/engine/engine.d.ts +0 -22
  123. package/lib/components/ExcelFile/ExcelFile/Excel/engine/formula.d.ts +0 -17
  124. package/lib/components/ExcelFile/ExcelFile/Excel/engine/index.d.ts +0 -2
  125. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-graph.d.ts +0 -21
  126. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-hash.d.ts +0 -3
  127. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-set.d.ts +0 -24
  128. package/lib/components/ExcelFile/ExcelFile/Excel/index.d.ts +0 -13
  129. package/lib/components/ExcelFile/ExcelFile/Excel/matrix.d.ts +0 -67
  130. package/lib/components/ExcelFile/ExcelFile/Excel/point-range.d.ts +0 -22
  131. package/lib/components/ExcelFile/ExcelFile/Excel/point.d.ts +0 -11
  132. package/lib/components/ExcelFile/ExcelFile/Excel/reducer.d.ts +0 -27
  133. package/lib/components/ExcelFile/ExcelFile/Excel/selection.d.ts +0 -95
  134. package/lib/components/ExcelFile/ExcelFile/Excel/types.d.ts +0 -178
  135. package/lib/components/ExcelFile/ExcelFile/Excel/use-dispatch.d.ts +0 -3
  136. package/lib/components/ExcelFile/ExcelFile/Excel/use-selector.d.ts +0 -3
  137. package/lib/components/ExcelFile/ExcelFile/Excel/util.d.ts +0 -44
  138. package/lib/components/ExcelFile/ExcelFile/ExcelFile.d.ts +0 -19
  139. package/lib/components/ExcelFile/ExcelFile.stories.d.ts +0 -6
  140. package/lib/components/ExcelFile/ExcelSheetBar/ExcelSheetBar.d.ts +0 -12
  141. package/lib/components/ExcelFile/ExcelToolBar/ExcelToolBar.d.ts +0 -15
  142. package/lib/components/ExcelFile/ImportExcelStyles.d.ts +0 -24
  143. package/lib/components/ExcelFile/Types.d.ts +0 -129
  144. package/lib/components/ExcelFile/index.d.ts +0 -1
  145. package/lib/components/ExpandableMenu/ExpandableMenu.stories.d.ts +0 -7
  146. package/lib/components/FF_Captcha/captcha.stories.d.ts +0 -8
  147. package/lib/components/FileDropzone/FileDropzone.stories.d.ts +0 -8
  148. package/lib/components/Form/Form.stories.d.ts +0 -7
  149. package/lib/components/GridLayout/GridLayout.stories.d.ts +0 -8
  150. package/lib/components/HighlightText/HighlightText.stories.d.ts +0 -6
  151. package/lib/components/Icon/Icon.stories.d.ts +0 -8
  152. package/lib/components/IconButton/IconButton.stories.d.ts +0 -7
  153. package/lib/components/IconRadioGroup/IconRadioGroup.stories.d.ts +0 -7
  154. package/lib/components/Input/Input.stories.d.ts +0 -9
  155. package/lib/components/InputWithDropdown/InputWithDropdown.stories.d.ts +0 -9
  156. package/lib/components/LabelEditTextField/LabelEditTextField.stories.d.ts +0 -13
  157. package/lib/components/LazyLoad/LazyLoad.stories.d.ts +0 -6
  158. package/lib/components/MachineInputField/MachineInputField.stories.d.ts +0 -6
  159. package/lib/components/MenuOption/MenuOption.stories.d.ts +0 -16
  160. package/lib/components/MiniModal/MiniModal.stories.d.ts +0 -10
  161. package/lib/components/Modal/Modal.stories.d.ts +0 -7
  162. package/lib/components/ModulesChip/ModuleChip.stories.d.ts +0 -6
  163. package/lib/components/MultiSelect/MultiSelect.stories.d.ts +0 -11
  164. package/lib/components/NLPInput/NlpInput.stories.d.ts +0 -7
  165. package/lib/components/NLPInput/type.d.ts +0 -70
  166. package/lib/components/Paper/Paper.stories.d.ts +0 -11
  167. package/lib/components/RadioButton/RadioButton.stories.d.ts +0 -10
  168. package/lib/components/RadioGroup/RadioGroup.stories.d.ts +0 -9
  169. package/lib/components/Search/Search.stories.d.ts +0 -6
  170. package/lib/components/Select/Select.stories.d.ts +0 -14
  171. package/lib/components/Select/components/Dropdown/Dropdown.d.ts +0 -4
  172. package/lib/components/Select/components/Dropdown/dropdownTypes.d.ts +0 -17
  173. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.d.ts +0 -6
  174. package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.d.ts +0 -4
  175. package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/types.d.ts +0 -3
  176. package/lib/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.d.ts +0 -4
  177. package/lib/components/SequentialConnectingBranch/components/DatasetListModal/types.d.ts +0 -3
  178. package/lib/components/StateDropdown/StateDropdown.stories.d.ts +0 -10
  179. package/lib/components/StatusButton/StatusButton.stories.d.ts +0 -14
  180. package/lib/components/StatusCard/StatusCard.stories.d.ts +0 -11
  181. package/lib/components/Table/Table.stories.d.ts +0 -13
  182. package/lib/components/TableTree/TableTree.stories.d.ts +0 -7
  183. package/lib/components/Tabs/Tabs.stories.d.ts +0 -9
  184. package/lib/components/TextArea/Textarea.stories.d.ts +0 -9
  185. package/lib/components/Toast/Toast.stories.d.ts +0 -6
  186. package/lib/components/Toastify/Toastify.stories.d.ts +0 -6
  187. package/lib/components/Toggle/Toggle.stories.d.ts +0 -12
  188. package/lib/components/Tooltip/Tooltip.stories.d.ts +0 -15
  189. package/lib/components/Typography/Typography.stories.d.ts +0 -10
  190. package/lib/components/VariableInput/VariableInput.stories.d.ts +0 -6
  191. package/lib/utils/checkEmpty/checkEmpty.stories.d.ts +0 -6
  192. package/lib/utils/compareArrays/compareArrays.stories.d.ts +0 -6
  193. package/lib/utils/compareObjects/compareObjects.stories.d.ts +0 -6
  194. package/lib/utils/debounce/debounce.stories.d.ts +0 -6
  195. package/lib/utils/ffID/ffID.stories.d.ts +0 -6
  196. package/lib/utils/find/findAndInsert.d.ts +0 -7
  197. package/lib/utils/find/findAndInsert.stories.d.ts +0 -7
  198. package/lib/utils/findAndInsert/findAndInsert.stories.d.ts +0 -7
  199. package/lib/utils/getEncryptedData/getEncryptedData.stories.d.ts +0 -6
  200. package/lib/utils/getExtension/getExtension.stories.d.ts +0 -6
  201. package/lib/utils/getSequentialPayload/getSequentialPayload.stories.d.ts +0 -10
  202. package/lib/utils/throttle/throttle.stories.d.ts +0 -6
  203. package/lib/utils/truncateText/truncateText.stories.d.ts +0 -6
Binary file
@@ -10,6 +10,7 @@ type BarChartProps = {
10
10
  barGap?: number;
11
11
  colors?: string[][];
12
12
  xAxisLabel?: string;
13
+ isTruncateText?: boolean;
13
14
  yAxisLabel?: string;
14
15
  padding?: number;
15
16
  yAxisDivisions?: number;
@@ -17,6 +17,8 @@ export interface MultiRadialChartProps {
17
17
  labelFontSize?: number;
18
18
  subLabelFontSize?: number;
19
19
  gapAngle?: number;
20
+ chartToPillGap: number | string;
21
+ pillLegendGap: number | string;
20
22
  }
21
23
  export interface ChartItem extends BarValue {
22
24
  label: string;
@@ -1,4 +1,4 @@
1
1
  import './Table.scss';
2
2
  import { TableProps } from './Types';
3
- declare const Table: ({ data, columns, headerType, withCheckbox, onSelect, allSelected, partialSelected, withFixedHeader, borderWithRadius, headerCheckboxDisabled, noDataContent, height, className, tableHeadClass, tableBodyRowClass, headerTextColor, tableDataTextColor, headerIconName, headerIconOnClick, }: TableProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const Table: ({ data, columns, headerType, withCheckbox, onSelect, allSelected, partialSelected, withFixedHeader, borderWithRadius, headerCheckboxDisabled, noDataContent, height, className, tableHeadClass, tableBodyRowClass, headerTextColor, tableDataTextColor, headerIconName, headerIconOnClick, draggable, onDragEnd, }: TableProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Table;
@@ -119,4 +119,12 @@ export interface TableProps {
119
119
  * handle function for the table header icon
120
120
  */
121
121
  headerIconOnClick?: () => void;
122
+ /**
123
+ * Drag and Drop pass true to enable
124
+ */
125
+ draggable?: boolean;
126
+ /**
127
+ * Drag and Drop indexes
128
+ */
129
+ onDragEnd?: (startIndex: number, endIndex: number) => void | undefined;
122
130
  }
@@ -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, parentSiblings, isLast, }: TableCellProps) => import("react/jsx-runtime").JSX.Element>;
3
+ declare const TableCell: React.MemoExoticComponent<({ col, node, selected, select, onCheckBoxChange, onToggleExpand, }: 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, parentSiblings, isLast, }: TableRowProps) => import("react/jsx-runtime").JSX.Element>;
3
+ declare const TableRow: React.MemoExoticComponent<({ node, columnsData, selected, select, onRowClick, onToggleExpand, onCheckBoxChange, }: TableRowProps) => import("react/jsx-runtime").JSX.Element>;
4
4
  export default TableRow;
@@ -1,226 +1,58 @@
1
1
  declare const data: ({
2
- node: {
3
- subModuleCount: number;
4
- title: string;
5
- scriptCount: number;
6
- path: string;
7
- expanded: boolean;
8
- modifiedOn: string;
9
- children: boolean;
10
- lastExecutionOrder: number;
11
- imported: boolean;
12
- modifiedBy: string;
13
- moduleCountWithScript: number;
14
- state: string;
15
- key: string;
16
- ver: number;
17
- hierarchy: number;
18
- assigneeCount: number;
19
- searchKey: string;
20
- modifiedByUname: string;
21
- executionOrder: number;
22
- createdByUname: string;
23
- folder: boolean;
24
- moduleLevelScriptCount: number;
25
- name: string;
26
- parentId: null;
27
- id: string;
28
- parentName?: undefined;
29
- };
30
- level: number;
31
- isLast: boolean;
32
- parentSiblings: boolean[];
2
+ createdBy: string;
3
+ modifiedBy: string;
4
+ createdByUname: string;
5
+ modifiedByUname: string;
6
+ createdOn: string;
7
+ modifiedOn: string;
8
+ state: string;
9
+ path: string;
10
+ searchKey: string;
11
+ key: string;
12
+ name: string;
13
+ projectId: string;
14
+ hierarchy: number;
15
+ executionOrder: number;
16
+ subContainerCount: number;
17
+ resourceCount: number;
18
+ totalSubContainerCount: number;
19
+ totalResourceCount: number;
20
+ totalProjectElementCount: number;
21
+ totalSharedElementCount: number;
22
+ container: boolean;
23
+ localDelete: boolean;
24
+ defaultEntity: boolean;
25
+ lastResource: boolean;
26
+ platform: string;
27
+ parentId?: undefined;
28
+ parentName?: undefined;
33
29
  } | {
34
- node: {
35
- subModuleCount: number;
36
- title: string;
37
- scriptCount: number;
38
- path: string;
39
- expanded: boolean;
40
- modifiedOn: string;
41
- folder: boolean;
42
- children: boolean;
43
- parentId: string;
44
- id: string;
45
- lastExecutionOrder?: undefined;
46
- imported?: undefined;
47
- modifiedBy?: undefined;
48
- moduleCountWithScript?: undefined;
49
- state?: undefined;
50
- key?: undefined;
51
- ver?: undefined;
52
- hierarchy?: undefined;
53
- assigneeCount?: undefined;
54
- searchKey?: undefined;
55
- modifiedByUname?: undefined;
56
- executionOrder?: undefined;
57
- createdByUname?: undefined;
58
- moduleLevelScriptCount?: undefined;
59
- name?: undefined;
60
- parentName?: undefined;
61
- };
62
- level: number;
63
- parentSiblings: boolean[];
64
- isLast?: undefined;
65
- } | {
66
- node: {
67
- ver: number;
68
- hierarchy: number;
69
- subModuleCount: number;
70
- assigneeCount: number;
71
- searchKey: string;
72
- modifiedByUname: string;
73
- title: string;
74
- scriptCount: number;
75
- executionOrder: number;
76
- createdByUname: string;
77
- parentId: string;
78
- path: string;
79
- expanded: boolean;
80
- modifiedOn: string;
81
- parentName: string;
82
- moduleLevelScriptCount: number;
83
- lastExecutionOrder: number;
84
- imported: boolean;
85
- name: string;
86
- modifiedBy: string;
87
- moduleCountWithScript: number;
88
- state: string;
89
- key: string;
90
- folder: boolean;
91
- children: boolean;
92
- id: string;
93
- };
94
- level: number;
95
- parentSiblings: boolean[];
96
- isLast?: undefined;
97
- } | {
98
- node: {
99
- ver: number;
100
- hierarchy: number;
101
- subModuleCount: number;
102
- assigneeCount: number;
103
- searchKey: string;
104
- modifiedByUname: string;
105
- title: string;
106
- scriptCount: number;
107
- executionOrder: number;
108
- createdByUname: string;
109
- parentId: string;
110
- path: string;
111
- expanded: boolean;
112
- modifiedOn: string;
113
- parentName: string;
114
- moduleLevelScriptCount: number;
115
- lastExecutionOrder: number;
116
- imported: boolean;
117
- name: string;
118
- modifiedBy: string;
119
- moduleCountWithScript: number;
120
- state: string;
121
- key: string;
122
- children: boolean;
123
- id: string;
124
- folder?: undefined;
125
- };
126
- level: number;
127
- parentSiblings: boolean[];
128
- isLast?: undefined;
129
- } | {
130
- node: {
131
- ver: number;
132
- hierarchy: number;
133
- subModuleCount: number;
134
- assigneeCount: number;
135
- searchKey: string;
136
- modifiedByUname: string;
137
- title: string;
138
- scriptCount: number;
139
- executionOrder: number;
140
- createdByUname: string;
141
- parentId: string;
142
- path: string;
143
- expanded: boolean;
144
- modifiedOn: string;
145
- parentName: string;
146
- moduleLevelScriptCount: number;
147
- lastExecutionOrder: number;
148
- imported: boolean;
149
- name: string;
150
- modifiedBy: string;
151
- moduleCountWithScript: number;
152
- state: string;
153
- key: string;
154
- children: boolean;
155
- id: string;
156
- folder?: undefined;
157
- };
158
- level: number;
159
- parentSiblings: boolean[];
160
- isLast: boolean;
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
- folder: boolean;
187
- children: boolean;
188
- id: string;
189
- };
190
- level: number;
191
- parentSiblings: boolean[];
192
- isLast: boolean;
193
- } | {
194
- node: {
195
- subModuleCount: number;
196
- title: string;
197
- scriptCount: number;
198
- path: string;
199
- expanded: boolean;
200
- modifiedOn: string;
201
- children: boolean;
202
- lastExecutionOrder: number;
203
- imported: boolean;
204
- modifiedBy: string;
205
- moduleCountWithScript: number;
206
- state: string;
207
- key: string;
208
- ver: number;
209
- hierarchy: number;
210
- assigneeCount: number;
211
- searchKey: string;
212
- modifiedByUname: string;
213
- executionOrder: number;
214
- createdByUname: string;
215
- folder: boolean;
216
- moduleLevelScriptCount: number;
217
- name: string;
218
- parentId: string;
219
- id: string;
220
- parentName?: undefined;
221
- };
222
- level: number;
223
- parentSiblings: boolean[];
224
- isLast: boolean;
30
+ createdBy: string;
31
+ modifiedBy: string;
32
+ createdByUname: string;
33
+ modifiedByUname: string;
34
+ createdOn: string;
35
+ modifiedOn: string;
36
+ state: string;
37
+ path: string;
38
+ searchKey: string;
39
+ parentId: string;
40
+ parentName: string;
41
+ key: string;
42
+ name: string;
43
+ projectId: string;
44
+ hierarchy: number;
45
+ executionOrder: number;
46
+ subContainerCount: number;
47
+ resourceCount: number;
48
+ totalSubContainerCount: number;
49
+ totalResourceCount: number;
50
+ totalProjectElementCount: number;
51
+ totalSharedElementCount: number;
52
+ container: boolean;
53
+ localDelete: boolean;
54
+ defaultEntity: boolean;
55
+ lastResource: boolean;
56
+ platform?: undefined;
225
57
  })[];
226
58
  export default data;
@@ -9,13 +9,10 @@ declare type JSX = ReactNode | JSX.Element[] | string | null;
9
9
  export interface TableCellProps {
10
10
  col: any;
11
11
  node: any;
12
- level: number;
13
12
  selected: string[];
14
13
  select: string | null;
15
14
  onCheckBoxChange: (e: any, node: string[] | any) => void;
16
15
  onToggleExpand: (node: any) => void;
17
- parentSiblings: boolean[];
18
- isLast: boolean | undefined;
19
16
  }
20
17
  export interface TableHeadProps {
21
18
  columnsData: any[];
@@ -31,15 +28,12 @@ export interface TableBodyProps {
31
28
  }
32
29
  export interface TableRowProps {
33
30
  node: any;
34
- level: number;
35
31
  columnsData: any[];
36
32
  selected: string[];
37
33
  select: string | null;
38
34
  onRowClick: (e: any, node: any) => void;
39
35
  onToggleExpand: (node: any) => void;
40
36
  onCheckBoxChange: (e: any, node: string[] | any) => void;
41
- parentSiblings: boolean[];
42
- isLast: boolean | undefined;
43
37
  }
44
38
  export interface Column {
45
39
  name: string;
package/lib/index.d.ts CHANGED
@@ -1144,9 +1144,17 @@ interface TableProps$1 {
1144
1144
  * handle function for the table header icon
1145
1145
  */
1146
1146
  headerIconOnClick?: () => void;
1147
+ /**
1148
+ * Drag and Drop pass true to enable
1149
+ */
1150
+ draggable?: boolean;
1151
+ /**
1152
+ * Drag and Drop indexes
1153
+ */
1154
+ onDragEnd?: (startIndex: number, endIndex: number) => void | undefined;
1147
1155
  }
1148
1156
 
1149
- declare const Table: ({ data, columns, headerType, withCheckbox, onSelect, allSelected, partialSelected, withFixedHeader, borderWithRadius, headerCheckboxDisabled, noDataContent, height, className, tableHeadClass, tableBodyRowClass, headerTextColor, tableDataTextColor, headerIconName, headerIconOnClick, }: TableProps$1) => react_jsx_runtime.JSX.Element;
1157
+ declare const Table: ({ data, columns, headerType, withCheckbox, onSelect, allSelected, partialSelected, withFixedHeader, borderWithRadius, headerCheckboxDisabled, noDataContent, height, className, tableHeadClass, tableBodyRowClass, headerTextColor, tableDataTextColor, headerIconName, headerIconOnClick, draggable, onDragEnd, }: TableProps$1) => react_jsx_runtime.JSX.Element;
1150
1158
 
1151
1159
  /**
1152
1160
  * Props for the Add Resource Button component.
@@ -2985,6 +2993,7 @@ type BarChartProps = {
2985
2993
  barGap?: number;
2986
2994
  colors?: string[][];
2987
2995
  xAxisLabel?: string;
2996
+ isTruncateText?: boolean;
2988
2997
  yAxisLabel?: string;
2989
2998
  padding?: number;
2990
2999
  yAxisDivisions?: number;
@@ -3019,6 +3028,8 @@ interface MultiRadialChartProps {
3019
3028
  labelFontSize?: number;
3020
3029
  subLabelFontSize?: number;
3021
3030
  gapAngle?: number;
3031
+ chartToPillGap: number | string;
3032
+ pillLegendGap: number | string;
3022
3033
  }
3023
3034
 
3024
3035
  declare const MultiRadialChart: React__default.FC<MultiRadialChartProps>;
@@ -3268,6 +3279,8 @@ type KeyboardAction = {
3268
3279
 
3269
3280
  declare const useKeyboardActions: (actions: KeyboardAction[]) => void;
3270
3281
 
3282
+ declare const rearrangeDragItem: (initialArray: any[], oldIndex: number, newIndex: number) => any[];
3283
+
3271
3284
  declare const EMAIL_REGEX: RegExp;
3272
3285
  declare const URL_REGEX: RegExp;
3273
3286
  declare const PHONE_REGEX: RegExp;
@@ -3327,4 +3340,4 @@ declare const PARAMETER_ALPHANUMERIC_REGEX: RegExp;
3327
3340
  declare function saveToIndexedDB(key: string, value: string): Promise<void>;
3328
3341
  declare function getFromIndexedDB(key: string): Promise<string | null>;
3329
3342
 
3330
- export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHANUMERIC_REGEX, ALPHANUMERIC_WITH_ROUND_BRACES_REGEX, Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BASE64_REGEX, BINARY_NUMBER_REGEX, BarChart, Button, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, Checkbox, Chip, ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_REGEX, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FILE_EXTENSION_REGEX, FILE_NAME_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, MEMORY_VALIDATION_REGEX, MachineInputField, MenuOption, MiniModal, MobileSkin, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_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, STEP_GROUP_NAME_REGEX, ScriptSwitchButton, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, TIME_REGEX, TWITTER_HANDLE_REGEX, Table, _default as TableTree, TableWithAccordion, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, UNIT_REGEX, 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, getFromIndexedDB, getSequentialPayload, hasDuplicateFile, saveFileFromBlob, saveToIndexedDB, throttle, toast, truncateText, useClickOutside, useFileDropzone, useKeyboardActions, useTheme };
3343
+ export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHANUMERIC_REGEX, ALPHANUMERIC_WITH_ROUND_BRACES_REGEX, Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BASE64_REGEX, BINARY_NUMBER_REGEX, BarChart, Button, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, Checkbox, Chip, ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_REGEX, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FILE_EXTENSION_REGEX, FILE_NAME_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, MEMORY_VALIDATION_REGEX, MachineInputField, MenuOption, MiniModal, MobileSkin, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_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, STEP_GROUP_NAME_REGEX, ScriptSwitchButton, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, TIME_REGEX, TWITTER_HANDLE_REGEX, Table, _default as TableTree, TableWithAccordion, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, UNIT_REGEX, 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, getFromIndexedDB, getSequentialPayload, hasDuplicateFile, rearrangeDragItem, saveFileFromBlob, saveToIndexedDB, throttle, toast, truncateText, useClickOutside, useFileDropzone, useKeyboardActions, useTheme };