pixel-react 1.6.0 → 1.6.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.
- package/lib/components/AppHeader/AppHeader.d.ts +1 -0
- package/lib/components/AppHeader/types.d.ts +18 -6
- package/lib/components/Charts/BarChart/BarChart.d.ts +1 -0
- package/lib/components/Charts/DashboardDonutChart/types.d.ts +2 -0
- package/lib/components/Excel/ExcelToolBar/ExcelToolBar.d.ts +0 -1
- package/lib/components/LabelEditTextField/LabelEditTextField.stories.d.ts +0 -2
- package/lib/components/MachineInputField/types.d.ts +1 -1
- package/lib/components/MultiSelect/MultiSelect.stories.d.ts +0 -1
- package/lib/components/PopUpModal/PopUpModal.d.ts +5 -0
- package/lib/components/PopUpModal/types.d.ts +14 -0
- package/lib/components/RadioGroup/radioGroupTypes.d.ts +20 -0
- package/lib/components/Select/Select.stories.d.ts +0 -1
- package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.d.ts +2 -1
- package/lib/components/SequentialConnectingBranch/components/Branches/Branches.d.ts +1 -1
- package/lib/components/SequentialConnectingBranch/components/Branches/types.d.ts +3 -2
- package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.d.ts +1 -1
- package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/types.d.ts +3 -2
- package/lib/components/SequentialConnectingBranch/types.d.ts +11 -3
- package/lib/components/TableTree/data.d.ts +36 -2
- package/lib/components/TableTree/types.d.ts +3 -4
- package/lib/index.d.ts +56 -17
- package/lib/index.esm.js +917 -552
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +917 -551
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/assets/Themes/BaseTheme.scss +5 -14
- package/src/assets/Themes/DarkTheme.scss +5 -2
- package/src/assets/icons/approval_pending.svg +8 -8
- package/src/assets/icons/arrow_up.svg +1 -1
- package/src/assets/icons/configuration.svg +3 -3
- package/src/assets/icons/defects.svg +8 -8
- package/src/assets/icons/element.svg +4 -4
- package/src/assets/icons/project_element.svg +4 -4
- package/src/assets/icons/step_group.svg +10 -10
- package/src/assets/icons/variable.svg +3 -3
- package/src/assets/icons/web_service_icon.svg +3 -3
- package/src/assets/styles/_fonts.scss +4 -2
- package/src/components/AppHeader/AppHeader.stories.tsx +242 -39
- package/src/components/AppHeader/AppHeader.tsx +158 -139
- package/src/components/AppHeader/types.ts +19 -6
- package/src/components/Charts/BarChart/BarChart.scss +34 -34
- package/src/components/Charts/BarChart/BarChart.stories.tsx +3 -2
- package/src/components/Charts/BarChart/BarChart.tsx +79 -55
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +25 -18
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +31 -11
- package/src/components/Charts/DashboardDonutChart/types.ts +2 -0
- package/src/components/Charts/IconRadialChart/IconRadialChart.tsx +3 -0
- package/src/components/Charts/LineChart/LineChart.scss +13 -4
- package/src/components/Charts/LineChart/LineChart.stories.tsx +100 -102
- package/src/components/Charts/LineChart/LineChart.tsx +143 -131
- package/src/components/Charts/MultiRadialChart/MultiRadialChart.scss +23 -2
- package/src/components/Charts/MultiRadialChart/MultiRadialChart.tsx +109 -24
- package/src/components/Charts/PieChart/PieChart.scss +5 -3
- package/src/components/Charts/PieChart/PieChart.tsx +1 -2
- package/src/components/DatePicker/DatePicker.scss +15 -1
- package/src/components/Excel/ExcelFile/ExcelFile.scss +1 -1
- package/src/components/Excel/ExcelFile/ExcelFile.tsx +34 -20
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.tsx +0 -1
- package/src/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.ts +44 -15
- package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +47 -4
- package/src/components/Icon/Icons.scss +1 -1
- package/src/components/MachineInputField/MachineInputField.scss +15 -2
- package/src/components/MachineInputField/MachineInputField.tsx +17 -3
- package/src/components/MachineInputField/types.ts +1 -1
- package/src/components/PopUpModal/PopUpModal.scss +36 -0
- package/src/components/PopUpModal/PopUpModal.stories.tsx +61 -0
- package/src/components/PopUpModal/PopUpModal.tsx +85 -0
- package/src/components/PopUpModal/types.ts +14 -0
- package/src/components/RadioGroup/RadioGroup.scss +7 -0
- package/src/components/RadioGroup/RadioGroup.stories.tsx +26 -0
- package/src/components/RadioGroup/RadioGroup.tsx +16 -0
- package/src/components/RadioGroup/radioGroupTypes.tsx +24 -0
- package/src/components/Select/Select.tsx +2 -3
- package/src/components/Select/components/Dropdown.tsx +34 -34
- package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.scss +9 -0
- package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.tsx +74 -43
- package/src/components/SequentialConnectingBranch/components/Branches/Branches.scss +9 -3
- package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +45 -14
- package/src/components/SequentialConnectingBranch/components/Branches/types.ts +9 -2
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.tsx +3 -1
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/types.ts +9 -2
- package/src/components/SequentialConnectingBranch/types.ts +18 -3
- package/src/components/TableTree/TableTree.stories.tsx +145 -98
- package/src/components/TableTree/TableTree.tsx +49 -14
- package/src/components/TableTree/data.ts +32 -391
- package/src/components/TableTree/types.ts +3 -4
- package/src/index.ts +3 -0
- package/lib/assets/fonts/Poppins-Bold.ttf +0 -0
- package/lib/assets/fonts/Poppins-Medium.ttf +0 -0
- package/lib/assets/fonts/Poppins-Regular.ttf +0 -0
- package/lib/assets/fonts/Poppins-SemiBold.ttf +0 -0
- package/lib/components/AddButton/AddButton.d.ts +0 -5
- package/lib/components/AddButton/AddButton.stories.d.ts +0 -6
- package/lib/components/AddButton/index.d.ts +0 -1
- package/lib/components/AddButton/types.d.ts +0 -4
- package/lib/components/AttachImage/AttachImage.stories.d.ts +0 -7
- package/lib/components/Charts/BarChart/BarChart.stories.d.ts +0 -6
- package/lib/components/Charts/IconRadialChart/IconRadialChart.stories.d.ts +0 -8
- package/lib/components/Charts/LineChart/LineChart.stories.d.ts +0 -7
- package/lib/components/Charts/MultiRadialChart/MultiRadialChart.stories.d.ts +0 -8
- package/lib/components/ConnectingBranch/ConnectingBranch.stories.d.ts +0 -6
- package/lib/components/EditTextField/EditTextField.stories.d.ts +0 -10
- package/lib/components/Editor/Editor.stories.d.ts +0 -6
- package/lib/components/Excel/ContextMenu/ContextMenu.d.ts +0 -4
- package/lib/components/Excel/ExcelFile.stories.d.ts +0 -6
- package/lib/components/ExcelFile/ChangeExcelStyles.d.ts +0 -14
- package/lib/components/ExcelFile/ImportExcelStyles.d.ts +0 -24
- package/lib/components/StatusCard/StatusCard.stories.d.ts +0 -11
- package/lib/utils/getSequentialPayload/getSequentialPayload.stories.d.ts +0 -10
- /package/lib/components/ExcelFile/{ColorBarSelector → ColorBarselector}/ColorBarSelector.d.ts +0 -0
@@ -24,13 +24,15 @@ const data = [
|
|
24
24
|
folder: true,
|
25
25
|
moduleLevelScriptCount: 0,
|
26
26
|
name: 'Root Module',
|
27
|
+
parentId: null, // Root has no parent
|
28
|
+
id: 'MOD1001', // Unique ID
|
27
29
|
},
|
28
30
|
level: 0,
|
29
31
|
},
|
30
32
|
{
|
31
33
|
node: {
|
32
34
|
subModuleCount: 15,
|
33
|
-
title: '
|
35
|
+
title: 'mod1',
|
34
36
|
scriptCount: 0,
|
35
37
|
path: '/Root',
|
36
38
|
expanded: true,
|
@@ -52,6 +54,8 @@ const data = [
|
|
52
54
|
folder: true,
|
53
55
|
moduleLevelScriptCount: 0,
|
54
56
|
name: 'Root Module',
|
57
|
+
parentId: 'MOD1001', // Root has no parent
|
58
|
+
id: 'MOD1002', // Unique ID
|
55
59
|
},
|
56
60
|
level: 1,
|
57
61
|
},
|
@@ -65,6 +69,8 @@ const data = [
|
|
65
69
|
modifiedOn: '19-12-2023 15:43',
|
66
70
|
folder: true,
|
67
71
|
children: false,
|
72
|
+
parentId: 'MOD1001', // Parent is '/Root'
|
73
|
+
id: 'MOD1003', // Unique ID
|
68
74
|
},
|
69
75
|
level: 1,
|
70
76
|
},
|
@@ -80,7 +86,7 @@ const data = [
|
|
80
86
|
scriptCount: 0,
|
81
87
|
executionOrder: 1,
|
82
88
|
createdByUname: 'Shivaprasad',
|
83
|
-
parentId: '
|
89
|
+
parentId: 'MOD1003', // Parent is 'Home'
|
84
90
|
path: '/Root/Home/Setup',
|
85
91
|
expanded: false,
|
86
92
|
modifiedOn: '19-12-2023 16:40',
|
@@ -95,6 +101,7 @@ const data = [
|
|
95
101
|
key: 'MOD1003',
|
96
102
|
folder: true,
|
97
103
|
children: false,
|
104
|
+
id: 'MOD1004', // Unique ID
|
98
105
|
},
|
99
106
|
level: 2,
|
100
107
|
},
|
@@ -110,7 +117,7 @@ const data = [
|
|
110
117
|
scriptCount: 0,
|
111
118
|
executionOrder: 1,
|
112
119
|
createdByUname: 'Shivaprasad',
|
113
|
-
parentId: '
|
120
|
+
parentId: 'MOD1004', // Parent is 'Setup'
|
114
121
|
path: '/Root/Home/Setup/Initial Setup',
|
115
122
|
expanded: false,
|
116
123
|
modifiedOn: '20-12-2023 09:00',
|
@@ -124,6 +131,7 @@ const data = [
|
|
124
131
|
state: 'NEW',
|
125
132
|
key: 'MOD1101',
|
126
133
|
children: true,
|
134
|
+
id: 'MOD1101', // Unique ID
|
127
135
|
},
|
128
136
|
level: 3,
|
129
137
|
},
|
@@ -139,7 +147,7 @@ const data = [
|
|
139
147
|
scriptCount: 0,
|
140
148
|
executionOrder: 2,
|
141
149
|
createdByUname: 'Shivaprasad',
|
142
|
-
parentId: '
|
150
|
+
parentId: 'MOD1004', // Parent is 'Setup'
|
143
151
|
path: '/Root/Home/Setup/Advanced Setup',
|
144
152
|
expanded: false,
|
145
153
|
modifiedOn: '20-12-2023 09:30',
|
@@ -153,6 +161,7 @@ const data = [
|
|
153
161
|
state: 'NEW',
|
154
162
|
key: 'MOD1102',
|
155
163
|
children: true,
|
164
|
+
id: 'MOD1102', // Unique ID
|
156
165
|
},
|
157
166
|
level: 3,
|
158
167
|
},
|
@@ -168,7 +177,7 @@ const data = [
|
|
168
177
|
scriptCount: 0,
|
169
178
|
executionOrder: 3,
|
170
179
|
createdByUname: 'Shivaprasad',
|
171
|
-
parentId: '
|
180
|
+
parentId: 'MOD1004', // Parent is 'Setup'
|
172
181
|
path: '/Root/Home/Setup/Setup Review',
|
173
182
|
expanded: false,
|
174
183
|
modifiedOn: '20-12-2023 10:00',
|
@@ -182,6 +191,7 @@ const data = [
|
|
182
191
|
state: 'NEW',
|
183
192
|
key: 'MOD1103',
|
184
193
|
children: true,
|
194
|
+
id: 'MOD1103', // Unique ID
|
185
195
|
},
|
186
196
|
level: 3,
|
187
197
|
},
|
@@ -193,11 +203,11 @@ const data = [
|
|
193
203
|
assigneeCount: 0,
|
194
204
|
searchKey: '/MOD1001/MOD1002/MOD1004',
|
195
205
|
modifiedByUname: '--',
|
196
|
-
title: 'Authoring',
|
206
|
+
title: 'Authoring Cycle',
|
197
207
|
scriptCount: 0,
|
198
208
|
executionOrder: 2,
|
199
209
|
createdByUname: 'Shivaprasad',
|
200
|
-
parentId: '
|
210
|
+
parentId: 'MOD1003', // Parent is 'Home'
|
201
211
|
path: '/Root/Home/Authoring Cycle',
|
202
212
|
expanded: false,
|
203
213
|
modifiedOn: '19-12-2023 16:40',
|
@@ -212,6 +222,7 @@ const data = [
|
|
212
222
|
key: 'MOD1004',
|
213
223
|
folder: true,
|
214
224
|
children: false,
|
225
|
+
id: 'MOD1005', // Unique ID
|
215
226
|
},
|
216
227
|
level: 2,
|
217
228
|
},
|
@@ -227,7 +238,7 @@ const data = [
|
|
227
238
|
scriptCount: 0,
|
228
239
|
executionOrder: 1,
|
229
240
|
createdByUname: 'Shivaprasad',
|
230
|
-
parentId: '
|
241
|
+
parentId: 'MOD1005', // Parent is 'Authoring Cycle'
|
231
242
|
path: '/Root/Home/Authoring Cycle/Draft Authoring',
|
232
243
|
expanded: false,
|
233
244
|
modifiedOn: '21-12-2023 11:00',
|
@@ -241,6 +252,7 @@ const data = [
|
|
241
252
|
state: 'NEW',
|
242
253
|
key: 'MOD1201',
|
243
254
|
children: true,
|
255
|
+
id: 'MOD1201', // Unique ID
|
244
256
|
},
|
245
257
|
level: 3,
|
246
258
|
},
|
@@ -256,10 +268,10 @@ const data = [
|
|
256
268
|
scriptCount: 0,
|
257
269
|
executionOrder: 2,
|
258
270
|
createdByUname: 'Shivaprasad',
|
259
|
-
parentId: '
|
271
|
+
parentId: 'MOD1005', // Parent is 'Authoring Cycle'
|
260
272
|
path: '/Root/Home/Authoring Cycle/Peer Review',
|
261
273
|
expanded: false,
|
262
|
-
modifiedOn: '21-12-2023
|
274
|
+
modifiedOn: '21-12-2023 12:00',
|
263
275
|
parentName: 'Authoring Cycle',
|
264
276
|
moduleLevelScriptCount: 0,
|
265
277
|
lastExecutionOrder: 0,
|
@@ -270,412 +282,41 @@ const data = [
|
|
270
282
|
state: 'NEW',
|
271
283
|
key: 'MOD1202',
|
272
284
|
children: true,
|
285
|
+
id: 'MOD1202', // Unique ID
|
273
286
|
},
|
274
287
|
level: 3,
|
275
288
|
},
|
276
|
-
{
|
277
|
-
node: {
|
278
|
-
subModuleCount: 10,
|
279
|
-
title: 'Home',
|
280
|
-
scriptCount: 0,
|
281
|
-
path: '/Root/Home',
|
282
|
-
expanded: false,
|
283
|
-
modifiedOn: '19-12-2023 15:43',
|
284
|
-
folder: true,
|
285
|
-
children: false,
|
286
|
-
},
|
287
|
-
level: 2,
|
288
|
-
},
|
289
|
-
{
|
290
|
-
node: {
|
291
|
-
ver: 1,
|
292
|
-
hierarchy: 2,
|
293
|
-
subModuleCount: 4,
|
294
|
-
assigneeCount: 0,
|
295
|
-
searchKey: '/MOD1001/MOD1002/MOD1003',
|
296
|
-
modifiedByUname: '--',
|
297
|
-
title: 'Setup',
|
298
|
-
scriptCount: 0,
|
299
|
-
executionOrder: 1,
|
300
|
-
createdByUname: 'Shivaprasad',
|
301
|
-
parentId: 'MOD1002',
|
302
|
-
path: '/Root/Home/Setup',
|
303
|
-
expanded: false,
|
304
|
-
modifiedOn: '19-12-2023 16:40',
|
305
|
-
parentName: 'Home',
|
306
|
-
moduleLevelScriptCount: 0,
|
307
|
-
lastExecutionOrder: 0,
|
308
|
-
imported: false,
|
309
|
-
name: 'Setup',
|
310
|
-
modifiedBy: '--',
|
311
|
-
moduleCountWithScript: 0,
|
312
|
-
state: 'NEW',
|
313
|
-
key: 'MOD1003',
|
314
|
-
folder: true,
|
315
|
-
children: false,
|
316
|
-
},
|
317
|
-
level: 3,
|
318
|
-
},
|
319
|
-
{
|
320
|
-
node: {
|
321
|
-
ver: 1,
|
322
|
-
hierarchy: 3,
|
323
|
-
subModuleCount: 0,
|
324
|
-
assigneeCount: 0,
|
325
|
-
searchKey: '/MOD1001/MOD1002/MOD1003/MOD1101',
|
326
|
-
modifiedByUname: '--',
|
327
|
-
title: 'Initial Setup',
|
328
|
-
scriptCount: 0,
|
329
|
-
executionOrder: 1,
|
330
|
-
createdByUname: 'Shivaprasad',
|
331
|
-
parentId: 'MOD1003',
|
332
|
-
path: '/Root/Home/Setup/Initial Setup',
|
333
|
-
expanded: false,
|
334
|
-
modifiedOn: '20-12-2023 09:00',
|
335
|
-
parentName: 'Setup',
|
336
|
-
moduleLevelScriptCount: 0,
|
337
|
-
lastExecutionOrder: 0,
|
338
|
-
imported: false,
|
339
|
-
name: 'Initial Setup',
|
340
|
-
modifiedBy: '--',
|
341
|
-
moduleCountWithScript: 0,
|
342
|
-
state: 'NEW',
|
343
|
-
key: 'MOD1101',
|
344
|
-
children: true,
|
345
|
-
},
|
346
|
-
level: 4,
|
347
|
-
},
|
348
|
-
{
|
349
|
-
node: {
|
350
|
-
ver: 1,
|
351
|
-
hierarchy: 3,
|
352
|
-
subModuleCount: 0,
|
353
|
-
assigneeCount: 0,
|
354
|
-
searchKey: '/MOD1001/MOD1002/MOD1003/MOD1102',
|
355
|
-
modifiedByUname: '--',
|
356
|
-
title: 'Advanced Setup',
|
357
|
-
scriptCount: 0,
|
358
|
-
executionOrder: 2,
|
359
|
-
createdByUname: 'Shivaprasad',
|
360
|
-
parentId: 'MOD1003',
|
361
|
-
path: '/Root/Home/Setup/Advanced Setup',
|
362
|
-
expanded: false,
|
363
|
-
modifiedOn: '20-12-2023 09:30',
|
364
|
-
parentName: 'Setup',
|
365
|
-
moduleLevelScriptCount: 0,
|
366
|
-
lastExecutionOrder: 0,
|
367
|
-
imported: false,
|
368
|
-
name: 'Advanced Setup',
|
369
|
-
modifiedBy: '--',
|
370
|
-
moduleCountWithScript: 0,
|
371
|
-
state: 'NEW',
|
372
|
-
key: 'MOD1102',
|
373
|
-
children: true,
|
374
|
-
},
|
375
|
-
level: 4,
|
376
|
-
},
|
377
289
|
{
|
378
290
|
node: {
|
379
291
|
ver: 1,
|
380
292
|
hierarchy: 3,
|
381
293
|
subModuleCount: 0,
|
382
294
|
assigneeCount: 0,
|
383
|
-
searchKey: '/MOD1001/MOD1002/
|
295
|
+
searchKey: '/MOD1001/MOD1002/MOD1004/MOD1203',
|
384
296
|
modifiedByUname: '--',
|
385
|
-
title: '
|
297
|
+
title: 'Final Review',
|
386
298
|
scriptCount: 0,
|
387
299
|
executionOrder: 3,
|
388
300
|
createdByUname: 'Shivaprasad',
|
389
|
-
parentId: '
|
390
|
-
path: '/Root/Home/
|
391
|
-
expanded: false,
|
392
|
-
modifiedOn: '20-12-2023 10:00',
|
393
|
-
parentName: 'Setup',
|
394
|
-
moduleLevelScriptCount: 0,
|
395
|
-
lastExecutionOrder: 0,
|
396
|
-
imported: false,
|
397
|
-
name: 'Setup Review',
|
398
|
-
modifiedBy: '--',
|
399
|
-
moduleCountWithScript: 0,
|
400
|
-
state: 'NEW',
|
401
|
-
key: 'MOD1103',
|
402
|
-
children: true,
|
403
|
-
},
|
404
|
-
level: 4,
|
405
|
-
},
|
406
|
-
{
|
407
|
-
node: {
|
408
|
-
ver: 1,
|
409
|
-
hierarchy: 2,
|
410
|
-
subModuleCount: 4,
|
411
|
-
assigneeCount: 0,
|
412
|
-
searchKey: '/MOD1001/MOD1002/MOD1004',
|
413
|
-
modifiedByUname: '--',
|
414
|
-
title: 'Authoring Cycle',
|
415
|
-
scriptCount: 0,
|
416
|
-
executionOrder: 2,
|
417
|
-
createdByUname: 'Shivaprasad',
|
418
|
-
parentId: 'MOD1002',
|
419
|
-
path: '/Root/Home/Authoring Cycle',
|
301
|
+
parentId: 'MOD1005', // Parent is 'Authoring Cycle'
|
302
|
+
path: '/Root/Home/Authoring Cycle/Final Review',
|
420
303
|
expanded: false,
|
421
|
-
modifiedOn: '
|
422
|
-
parentName: 'Home',
|
423
|
-
moduleLevelScriptCount: 0,
|
424
|
-
lastExecutionOrder: 0,
|
425
|
-
imported: false,
|
426
|
-
name: 'Authoring Cycle',
|
427
|
-
modifiedBy: '--',
|
428
|
-
moduleCountWithScript: 0,
|
429
|
-
state: 'NEW',
|
430
|
-
key: 'MOD1004',
|
431
|
-
folder: true,
|
432
|
-
children: false,
|
433
|
-
},
|
434
|
-
level: 3,
|
435
|
-
},
|
436
|
-
{
|
437
|
-
node: {
|
438
|
-
ver: 1,
|
439
|
-
hierarchy: 3,
|
440
|
-
subModuleCount: 0,
|
441
|
-
assigneeCount: 0,
|
442
|
-
searchKey: '/MOD1001/MOD1002/MOD1004/MOD1201',
|
443
|
-
modifiedByUname: '--',
|
444
|
-
title: 'Draft Authoring',
|
445
|
-
scriptCount: 0,
|
446
|
-
executionOrder: 1,
|
447
|
-
createdByUname: 'Shivaprasad',
|
448
|
-
parentId: 'MOD1004',
|
449
|
-
path: '/Root/Home/Authoring Cycle/Draft Authoring',
|
450
|
-
expanded: false,
|
451
|
-
modifiedOn: '21-12-2023 11:00',
|
304
|
+
modifiedOn: '21-12-2023 13:00',
|
452
305
|
parentName: 'Authoring Cycle',
|
453
306
|
moduleLevelScriptCount: 0,
|
454
307
|
lastExecutionOrder: 0,
|
455
308
|
imported: false,
|
456
|
-
name: '
|
457
|
-
modifiedBy: '--',
|
458
|
-
moduleCountWithScript: 0,
|
459
|
-
state: 'NEW',
|
460
|
-
key: 'MOD1201',
|
461
|
-
children: true,
|
462
|
-
},
|
463
|
-
level: 4,
|
464
|
-
},
|
465
|
-
{
|
466
|
-
node: {
|
467
|
-
ver: 1,
|
468
|
-
hierarchy: 3,
|
469
|
-
subModuleCount: 0,
|
470
|
-
assigneeCount: 0,
|
471
|
-
searchKey: '/MOD1001/MOD1002/MOD1004/MOD1202',
|
472
|
-
modifiedByUname: '--',
|
473
|
-
title: 'Peer Review',
|
474
|
-
scriptCount: 0,
|
475
|
-
executionOrder: 2,
|
476
|
-
createdByUname: 'Shivaprasad',
|
477
|
-
parentId: 'MOD1004',
|
478
|
-
path: '/Root/Home/Authoring Cycle/Peer Review',
|
479
|
-
expanded: false,
|
480
|
-
modifiedOn: '21-12-2023 11:30',
|
481
|
-
parentName: 'Authoring Cycle',
|
482
|
-
moduleLevelScriptCount: 0,
|
483
|
-
lastExecutionOrder: 0,
|
484
|
-
imported: false,
|
485
|
-
name: 'Peer Review',
|
486
|
-
modifiedBy: '--',
|
487
|
-
moduleCountWithScript: 0,
|
488
|
-
state: 'NEW',
|
489
|
-
key: 'MOD1202',
|
490
|
-
children: true,
|
491
|
-
},
|
492
|
-
level: 4,
|
493
|
-
},
|
494
|
-
{
|
495
|
-
node: {
|
496
|
-
ver: 1,
|
497
|
-
hierarchy: 2,
|
498
|
-
subModuleCount: 0,
|
499
|
-
assigneeCount: 0,
|
500
|
-
searchKey: '/MOD1001/D1021/MOD1022',
|
501
|
-
modifiedByUname: '--',
|
502
|
-
title: 'Login',
|
503
|
-
scriptCount: 0,
|
504
|
-
executionOrder: 1,
|
505
|
-
createdByUname: 'Natacha',
|
506
|
-
parentId: 'MOD1021',
|
507
|
-
path: '/Root/Test/Login',
|
508
|
-
expanded: false,
|
509
|
-
modifiedOn: '10-01-2024 20:57',
|
510
|
-
parentName: 'Test',
|
511
|
-
moduleLevelScriptCount: 0,
|
512
|
-
lastExecutionOrder: 0,
|
513
|
-
imported: false,
|
514
|
-
name: 'Login',
|
309
|
+
name: 'Final Review',
|
515
310
|
modifiedBy: '--',
|
516
311
|
moduleCountWithScript: 0,
|
517
312
|
state: 'NEW',
|
518
|
-
key: '
|
519
|
-
children: true,
|
520
|
-
},
|
521
|
-
level: 2,
|
522
|
-
},
|
523
|
-
{
|
524
|
-
node: {
|
525
|
-
subModuleCount: 5,
|
526
|
-
title: 'Test',
|
527
|
-
scriptCount: 0,
|
528
|
-
path: '/Root/Test',
|
529
|
-
expanded: false,
|
530
|
-
modifiedOn: '10-01-2024 20:56',
|
531
|
-
folder: true,
|
532
|
-
children: false,
|
533
|
-
},
|
534
|
-
level: 2,
|
535
|
-
},
|
536
|
-
{
|
537
|
-
node: {
|
538
|
-
ver: 1,
|
539
|
-
hierarchy: 2,
|
540
|
-
subModuleCount: 0,
|
541
|
-
assigneeCount: 0,
|
542
|
-
searchKey: '/MOD1001/MOD1021/MOD1022',
|
543
|
-
modifiedByUname: '--',
|
544
|
-
title: 'Login',
|
545
|
-
scriptCount: 0,
|
546
|
-
executionOrder: 1,
|
547
|
-
createdByUname: 'Natacha',
|
548
|
-
parentId: 'MOD1021',
|
549
|
-
path: '/Root/Test/Login',
|
550
|
-
expanded: false,
|
551
|
-
modifiedOn: '10-01-2024 20:57',
|
552
|
-
parentName: 'Test',
|
553
|
-
moduleLevelScriptCount: 0,
|
554
|
-
lastExecutionOrder: 0,
|
555
|
-
imported: false,
|
556
|
-
name: 'Login',
|
557
|
-
modifiedBy: '--',
|
558
|
-
moduleCountWithScript: 0,
|
559
|
-
state: 'NEW',
|
560
|
-
key: 'MOD1022',
|
561
|
-
children: true,
|
562
|
-
},
|
563
|
-
level: 3,
|
564
|
-
},
|
565
|
-
{
|
566
|
-
node: {
|
567
|
-
subModuleCount: 5,
|
568
|
-
title: 'Test',
|
569
|
-
scriptCount: 0,
|
570
|
-
path: '/Root/Test',
|
571
|
-
expanded: true,
|
572
|
-
modifiedOn: '10-01-2024 20:56',
|
573
|
-
folder: true,
|
574
|
-
children: false,
|
575
|
-
},
|
576
|
-
level: 1,
|
577
|
-
},
|
578
|
-
{
|
579
|
-
node: {
|
580
|
-
ver: 1,
|
581
|
-
hierarchy: 2,
|
582
|
-
subModuleCount: 0,
|
583
|
-
assigneeCount: 0,
|
584
|
-
searchKey: '/MOD1001/MOD1021/MOD10',
|
585
|
-
modifiedByUname: '--',
|
586
|
-
title: 'Login',
|
587
|
-
scriptCount: 0,
|
588
|
-
executionOrder: 1,
|
589
|
-
createdByUname: 'Natacha',
|
590
|
-
parentId: 'MOD1021',
|
591
|
-
path: '/Root/Test/Login',
|
592
|
-
expanded: false,
|
593
|
-
modifiedOn: '10-01-2024 20:57',
|
594
|
-
parentName: 'Test',
|
595
|
-
moduleLevelScriptCount: 0,
|
596
|
-
lastExecutionOrder: 0,
|
597
|
-
imported: false,
|
598
|
-
name: 'Login',
|
599
|
-
modifiedBy: '--',
|
600
|
-
moduleCountWithScript: 0,
|
601
|
-
state: 'NEW',
|
602
|
-
key: 'MOD1022',
|
603
|
-
children: true,
|
604
|
-
},
|
605
|
-
level: 2,
|
606
|
-
},
|
607
|
-
{
|
608
|
-
node: {
|
609
|
-
ver: 1,
|
610
|
-
hierarchy: 1,
|
611
|
-
subModuleCount: 0,
|
612
|
-
assigneeCount: 0,
|
613
|
-
searchKey: '/MOD1001/MOD1024',
|
614
|
-
modifiedByUname: '--',
|
615
|
-
title: 'Others',
|
616
|
-
scriptCount: 0,
|
617
|
-
executionOrder: 3,
|
618
|
-
createdByUname: 'Solabs',
|
619
|
-
parentId: 'MOD1001',
|
620
|
-
path: '/Root/Others',
|
621
|
-
expanded: false,
|
622
|
-
modifiedOn: '18-01-2024 16:14',
|
623
|
-
parentName: 'Root Module',
|
624
|
-
folder: true,
|
625
|
-
moduleLevelScriptCount: 0,
|
626
|
-
lastExecutionOrder: 0,
|
627
|
-
imported: false,
|
628
|
-
name: 'Others',
|
629
|
-
modifiedBy: '--',
|
630
|
-
moduleCountWithScript: 0,
|
631
|
-
state: 'NEW',
|
632
|
-
key: 'MOD1024',
|
633
|
-
children: false,
|
634
|
-
},
|
635
|
-
level: 1,
|
636
|
-
},
|
637
|
-
{
|
638
|
-
node: {
|
639
|
-
subModuleCount: 5,
|
640
|
-
title: 'Test',
|
641
|
-
scriptCount: 0,
|
642
|
-
path: '/Root/Test',
|
643
|
-
expanded: false,
|
644
|
-
modifiedOn: '10-01-2024 20:56',
|
645
|
-
folder: true,
|
646
|
-
children: false,
|
647
|
-
},
|
648
|
-
level: 2,
|
649
|
-
},
|
650
|
-
{
|
651
|
-
node: {
|
652
|
-
ver: 1,
|
653
|
-
hierarchy: 2,
|
654
|
-
subModuleCount: 0,
|
655
|
-
assigneeCount: 0,
|
656
|
-
searchKey: '/MOD1001/M1021/MOD1022',
|
657
|
-
modifiedByUname: '--',
|
658
|
-
title: 'Login',
|
659
|
-
scriptCount: 0,
|
660
|
-
executionOrder: 1,
|
661
|
-
createdByUname: 'Natacha',
|
662
|
-
parentId: 'MOD1021',
|
663
|
-
path: '/Root/Test/Login',
|
664
|
-
expanded: false,
|
665
|
-
modifiedOn: '10-01-2024 20:57',
|
666
|
-
parentName: 'Test',
|
667
|
-
moduleLevelScriptCount: 0,
|
668
|
-
lastExecutionOrder: 0,
|
669
|
-
imported: false,
|
670
|
-
name: 'Login',
|
671
|
-
modifiedBy: '--',
|
672
|
-
moduleCountWithScript: 0,
|
673
|
-
state: 'NEW',
|
674
|
-
key: 'MOD1022',
|
313
|
+
key: 'MOD1203',
|
675
314
|
children: true,
|
315
|
+
id: 'MOD1203', // Unique ID
|
676
316
|
},
|
677
317
|
level: 3,
|
678
318
|
},
|
679
319
|
];
|
680
320
|
|
321
|
+
|
681
322
|
export default data;
|
@@ -21,11 +21,10 @@ export interface TreeTableProps {
|
|
21
21
|
treeData: any;
|
22
22
|
columnsData: Column[];
|
23
23
|
selected?: string[];
|
24
|
-
select?: 'radio' | 'checkbox' |
|
25
|
-
onChange?: (
|
26
|
-
onPagination?: (node: TreeNode) => void;
|
24
|
+
select?: 'radio' | 'checkbox' | 'none';
|
25
|
+
onChange?: (nodes: string[]) => void;
|
27
26
|
onClick?: (e: React.MouseEvent<HTMLDivElement>, row: TreeNode) => void;
|
28
27
|
expandedNodes: string[];
|
29
28
|
onExpand?: (_isExpanded: boolean, node: string) => void;
|
30
|
-
|
29
|
+
onPagination?: (_direction: string) => void;
|
31
30
|
}
|
package/src/index.ts
CHANGED
@@ -89,6 +89,7 @@ import { getSequentialPayload } from './utils/getSequentialPayload/getSequential
|
|
89
89
|
import ConnectingBranch from './components/ConnectingBranch/ConnectingBranch';
|
90
90
|
import { saveFileFromBlob } from './utils/downloadFile/saveFileFromBlob';
|
91
91
|
import useFileDropzone from './hooks/useFileDropzone';
|
92
|
+
import PopUpModal from './components/PopUpModal/PopUpModal';
|
92
93
|
|
93
94
|
export {
|
94
95
|
Button,
|
@@ -166,6 +167,8 @@ export {
|
|
166
167
|
VariableDropdown,
|
167
168
|
DownloadClient,
|
168
169
|
FieldSet,
|
170
|
+
PopUpModal,
|
171
|
+
|
169
172
|
// utils exports
|
170
173
|
checkEmpty,
|
171
174
|
getExtension,
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from './AddButton';
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import AttachImage from './AttachImage';
|
3
|
-
import { AttachImageProps } from './types';
|
4
|
-
declare const meta: Meta<typeof AttachImage>;
|
5
|
-
export default meta;
|
6
|
-
type Story = StoryObj<AttachImageProps>;
|
7
|
-
export declare const Default: Story;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import IconRadialChart from './IconRadialChart';
|
3
|
-
declare const meta: Meta<typeof IconRadialChart>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof IconRadialChart>;
|
6
|
-
export declare const Default: Story;
|
7
|
-
export declare const Mobile: Story;
|
8
|
-
export declare const WithoutIcon: Story;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import LineChart from './LineChart';
|
3
|
-
import { LineChartProps } from './types';
|
4
|
-
declare const meta: Meta<typeof LineChart>;
|
5
|
-
export default meta;
|
6
|
-
export declare const DefaultLineChart: StoryObj<LineChartProps>;
|
7
|
-
export declare const StatusLineChart: StoryObj<LineChartProps>;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import MultiRadialChart from './MultiRadialChart';
|
3
|
-
declare const meta: Meta<typeof MultiRadialChart>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof MultiRadialChart>;
|
6
|
-
export declare const Default: Story;
|
7
|
-
export declare const numberLegend: Story;
|
8
|
-
export declare const PillLegend: Story;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import ConnectingBranch from './ConnectingBranch';
|
3
|
-
declare const meta: Meta<typeof ConnectingBranch>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof ConnectingBranch>;
|
6
|
-
export declare const Default: Story;
|