@rovula/ui 0.0.49 → 0.0.51

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.
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { useState } from "react";
2
+ import { useEffect, useMemo, useState } from "react";
3
3
  import Tree from "./Tree";
4
4
  import { ActionButton, Icon } from "@/index";
5
5
  const exampleData = [
@@ -25,6 +25,2071 @@ const exampleData = [
25
25
  },
26
26
  { id: "3", title: "Parent Folder 3" },
27
27
  ];
28
+ const exampleData2 = [
29
+ {
30
+ id: "0bf3e3f9-6df9-4882-b196-4272a8415fa6",
31
+ title: "Cover",
32
+ children: [],
33
+ },
34
+ {
35
+ id: "aabcbe20-337f-477e-97a3-e1c34d714beb",
36
+ title: "Background & Purpose",
37
+ children: [
38
+ {
39
+ id: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
40
+ title: "B1",
41
+ children: [
42
+ {
43
+ id: "8e504603-fbbb-4022-ae36-b6f9de82259c",
44
+ title: "Sec of B1",
45
+ children: [],
46
+ },
47
+ {
48
+ id: "443bf295-9d09-476d-80bf-98bb0cf7f9cf",
49
+ title: "B11",
50
+ children: [
51
+ {
52
+ id: "433dbf44-4ce5-4f3f-a5f3-312c51fbad18",
53
+ title: "B22",
54
+ children: [],
55
+ },
56
+ ],
57
+ },
58
+ {
59
+ id: "7b2c7556-1aa6-417a-a8ec-926b38b90561",
60
+ title: "B4",
61
+ children: [],
62
+ },
63
+ {
64
+ id: "f47c8602-ca28-46d2-98ee-ca9f1624cd93",
65
+ title: "B5",
66
+ children: [],
67
+ },
68
+ ],
69
+ },
70
+ ],
71
+ },
72
+ {
73
+ id: "52392450-f73d-4e72-9ccd-37d86c3e3e9e",
74
+ title: "Executive Summary",
75
+ children: [],
76
+ },
77
+ {
78
+ id: "84c0795a-ef51-4db8-af1c-56b3b467ddcb",
79
+ title: "Scope of visual Inspection",
80
+ children: [],
81
+ },
82
+ {
83
+ id: "7c8f812d-8276-4af2-8a31-95f0b37c5e8d",
84
+ title: "Inspection Findings and Results",
85
+ children: [
86
+ {
87
+ id: "f5a09be0-cd85-4c6e-8337-362c910b5c7c",
88
+ title: "In3",
89
+ children: [],
90
+ },
91
+ {
92
+ id: "1ad5e637-f411-4501-bc69-053a5b577826",
93
+ title: "In4",
94
+ children: [],
95
+ },
96
+ ],
97
+ },
98
+ {
99
+ id: "d265c4f1-4017-4ac0-b0bb-416bd521fe46",
100
+ title: "Recommendation and Suggestions",
101
+ children: [],
102
+ },
103
+ {
104
+ id: "cbdf4d85-ee0d-4b80-ba02-52cd2c83cbc8",
105
+ title: "Reference photograph",
106
+ children: [],
107
+ },
108
+ {
109
+ id: "d10333fe-b3b9-4320-b328-efd739ad8d56",
110
+ title: "Reference",
111
+ children: [],
112
+ },
113
+ ];
114
+ const sections = [
115
+ {
116
+ id: "0bf3e3f9-6df9-4882-b196-4272a8415fa6",
117
+ name: "Cover",
118
+ type: "section",
119
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
120
+ parentId: null,
121
+ order: 0,
122
+ enable: true,
123
+ createdAt: "2024-11-12T09:57:14.074Z",
124
+ updatedAt: "2024-11-19T07:12:30.966Z",
125
+ deletedAt: null,
126
+ parent: null,
127
+ pages: [
128
+ {
129
+ id: "61506bc0-29a8-46d8-9212-220c17105bfe",
130
+ sectionId: "0bf3e3f9-6df9-4882-b196-4272a8415fa6",
131
+ order: 0,
132
+ config: {
133
+ Key: "subsea-xspector-dev-landing-13970rl1faop/elements/f03779bb90e7af2e7000b5417dc2d1d6.json",
134
+ footer: false,
135
+ header: false,
136
+ Records: [
137
+ {
138
+ s3: {
139
+ bucket: {
140
+ arn: "arn:aws:s3:::subsea-xspector-dev-landing-13970rl1faop",
141
+ name: "subsea-xspector-dev-landing-13970rl1faop",
142
+ ownerIdentity: {
143
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
144
+ },
145
+ },
146
+ object: {
147
+ key: "elements%2Ff03779bb90e7af2e7000b5417dc2d1d6.json",
148
+ eTag: "ca0a27e8c4926bf9421e8df4e3f464b0",
149
+ size: 24769,
150
+ sequencer: "180730119FDC7A29",
151
+ contentType: "application/json",
152
+ userMetadata: {
153
+ "content-type": "application/json",
154
+ "X-Amz-Meta-Name": "Cover",
155
+ "X-Amz-Meta-Type": "section",
156
+ "X-Amz-Meta-Refid": "61506bc0-29a8-46d8-9212-220c17105bfe",
157
+ "X-Amz-Meta-Pageid": "61506bc0-29a8-46d8-9212-220c17105bfe",
158
+ "X-Amz-Meta-Reftype": "pageId",
159
+ "X-Amz-Meta-Category": "elements",
160
+ "X-Amz-Meta-Reportid": "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
161
+ "X-Amz-Meta-Pageindex": "0",
162
+ "X-Amz-Meta-Sectionid": "0bf3e3f9-6df9-4882-b196-4272a8415fa6",
163
+ "X-Amz-Meta-Sectionindex": "0",
164
+ },
165
+ },
166
+ configurationId: "Config",
167
+ s3SchemaVersion: "1.0",
168
+ },
169
+ source: {
170
+ host: "172.17.0.1",
171
+ port: "",
172
+ userAgent: "MinIO (linux; x64) minio-js/7.1.3",
173
+ },
174
+ awsRegion: "",
175
+ eventName: "s3:ObjectCreated:Put",
176
+ eventTime: "2024-11-12T09:57:14.002Z",
177
+ eventSource: "minio:s3",
178
+ eventVersion: "2.0",
179
+ userIdentity: {
180
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
181
+ },
182
+ responseElements: {
183
+ "x-amz-id-2": "dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8",
184
+ "x-amz-request-id": "180730119FD855E5",
185
+ "x-minio-deployment-id": "a25019e3-48ff-4a2a-af08-05c71e01cafe",
186
+ "x-minio-origin-endpoint": "http://172.17.0.2:9000",
187
+ },
188
+ requestParameters: {
189
+ region: "",
190
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
191
+ sourceIPAddress: "172.17.0.1",
192
+ },
193
+ },
194
+ ],
195
+ EventName: "s3:ObjectCreated:Put",
196
+ landscape: false,
197
+ marginSize: "M",
198
+ pageBorder: false,
199
+ },
200
+ createdAt: "2024-11-12T09:57:14.076Z",
201
+ updatedAt: "2024-11-12T09:57:14.076Z",
202
+ deletedAt: null,
203
+ pageNumber: 1,
204
+ pageTotal: 19,
205
+ },
206
+ ],
207
+ child: [],
208
+ pageTotal: 19,
209
+ children: [],
210
+ },
211
+ {
212
+ id: "aabcbe20-337f-477e-97a3-e1c34d714beb",
213
+ name: "Background & Purpose",
214
+ type: "section",
215
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
216
+ parentId: null,
217
+ order: 1,
218
+ enable: true,
219
+ createdAt: "2024-11-12T09:57:14.079Z",
220
+ updatedAt: "2024-11-19T07:12:30.966Z",
221
+ deletedAt: null,
222
+ parent: null,
223
+ pages: [
224
+ {
225
+ id: "094657fd-3b7d-456e-a92b-dd578cd0a283",
226
+ sectionId: "aabcbe20-337f-477e-97a3-e1c34d714beb",
227
+ order: 0,
228
+ config: {
229
+ Key: "subsea-xspector-dev-landing-13970rl1faop/elements/6a809209da5c5537a0862773fefe767a.json",
230
+ footer: true,
231
+ header: true,
232
+ Records: [
233
+ {
234
+ s3: {
235
+ bucket: {
236
+ arn: "arn:aws:s3:::subsea-xspector-dev-landing-13970rl1faop",
237
+ name: "subsea-xspector-dev-landing-13970rl1faop",
238
+ ownerIdentity: {
239
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
240
+ },
241
+ },
242
+ object: {
243
+ key: "elements%2F6a809209da5c5537a0862773fefe767a.json",
244
+ eTag: "ac943acfa9862fbc98b088d4a65c13f6",
245
+ size: 2084,
246
+ sequencer: "18073011A040A87C",
247
+ contentType: "application/json",
248
+ userMetadata: {
249
+ "content-type": "application/json",
250
+ "X-Amz-Meta-Name": "Background & Purpose",
251
+ "X-Amz-Meta-Type": "section",
252
+ "X-Amz-Meta-Refid": "094657fd-3b7d-456e-a92b-dd578cd0a283",
253
+ "X-Amz-Meta-Pageid": "094657fd-3b7d-456e-a92b-dd578cd0a283",
254
+ "X-Amz-Meta-Reftype": "pageId",
255
+ "X-Amz-Meta-Category": "elements",
256
+ "X-Amz-Meta-Reportid": "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
257
+ "X-Amz-Meta-Pageindex": "0",
258
+ "X-Amz-Meta-Sectionid": "aabcbe20-337f-477e-97a3-e1c34d714beb",
259
+ "X-Amz-Meta-Sectionindex": "1",
260
+ },
261
+ },
262
+ configurationId: "Config",
263
+ s3SchemaVersion: "1.0",
264
+ },
265
+ source: {
266
+ host: "172.17.0.1",
267
+ port: "",
268
+ userAgent: "MinIO (linux; x64) minio-js/7.1.3",
269
+ },
270
+ awsRegion: "",
271
+ eventName: "s3:ObjectCreated:Put",
272
+ eventTime: "2024-11-12T09:57:14.009Z",
273
+ eventSource: "minio:s3",
274
+ eventVersion: "2.0",
275
+ userIdentity: {
276
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
277
+ },
278
+ responseElements: {
279
+ "x-amz-id-2": "dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8",
280
+ "x-amz-request-id": "18073011A03CC73F",
281
+ "x-minio-deployment-id": "a25019e3-48ff-4a2a-af08-05c71e01cafe",
282
+ "x-minio-origin-endpoint": "http://172.17.0.2:9000",
283
+ },
284
+ requestParameters: {
285
+ region: "",
286
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
287
+ sourceIPAddress: "172.17.0.1",
288
+ },
289
+ },
290
+ ],
291
+ EventName: "s3:ObjectCreated:Put",
292
+ landscape: false,
293
+ marginSize: "M",
294
+ pageBorder: false,
295
+ },
296
+ createdAt: "2024-11-12T09:57:14.080Z",
297
+ updatedAt: "2024-11-12T09:57:14.080Z",
298
+ deletedAt: null,
299
+ pageNumber: 2,
300
+ pageTotal: 19,
301
+ },
302
+ ],
303
+ child: [
304
+ {
305
+ id: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
306
+ name: "B1",
307
+ type: "pipeline",
308
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
309
+ parentId: "aabcbe20-337f-477e-97a3-e1c34d714beb",
310
+ order: 1,
311
+ enable: true,
312
+ createdAt: "2024-11-13T04:15:22.421Z",
313
+ updatedAt: "2024-11-19T07:12:30.966Z",
314
+ deletedAt: null,
315
+ parent: {
316
+ id: "aabcbe20-337f-477e-97a3-e1c34d714beb",
317
+ name: "Background & Purpose",
318
+ type: "section",
319
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
320
+ parentId: null,
321
+ order: 1,
322
+ enable: true,
323
+ createdAt: "2024-11-12T09:57:14.079Z",
324
+ updatedAt: "2024-11-19T07:12:30.966Z",
325
+ deletedAt: null,
326
+ },
327
+ pages: [
328
+ {
329
+ id: "67a34e71-2735-49ee-b1b0-c37b9c78ca72",
330
+ sectionId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
331
+ order: 1,
332
+ config: {
333
+ footer: true,
334
+ header: false,
335
+ landscape: false,
336
+ marginSize: "M",
337
+ pageBorder: false,
338
+ },
339
+ createdAt: "2024-11-13T04:15:22.511Z",
340
+ updatedAt: "2024-11-19T07:47:01.528Z",
341
+ deletedAt: null,
342
+ pageNumber: 3,
343
+ pageTotal: 19,
344
+ },
345
+ ],
346
+ child: [
347
+ {
348
+ id: "f47c8602-ca28-46d2-98ee-ca9f1624cd93",
349
+ name: "B5",
350
+ type: "pipeline",
351
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
352
+ parentId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
353
+ order: 4,
354
+ enable: true,
355
+ createdAt: "2024-11-20T08:19:51.226Z",
356
+ updatedAt: "2024-11-20T08:19:51.226Z",
357
+ deletedAt: null,
358
+ parent: {
359
+ id: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
360
+ name: "B1",
361
+ type: "pipeline",
362
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
363
+ parentId: "aabcbe20-337f-477e-97a3-e1c34d714beb",
364
+ order: 1,
365
+ enable: true,
366
+ createdAt: "2024-11-13T04:15:22.421Z",
367
+ updatedAt: "2024-11-19T07:12:30.966Z",
368
+ deletedAt: null,
369
+ },
370
+ pages: [
371
+ {
372
+ id: "ee130397-390a-4e0e-be44-427844c006ba",
373
+ sectionId: "f47c8602-ca28-46d2-98ee-ca9f1624cd93",
374
+ order: 1,
375
+ config: {
376
+ footer: true,
377
+ header: false,
378
+ landscape: false,
379
+ marginSize: "M",
380
+ pageBorder: false,
381
+ },
382
+ createdAt: "2024-11-20T08:19:51.414Z",
383
+ updatedAt: "2024-11-20T08:19:51.414Z",
384
+ deletedAt: null,
385
+ pageNumber: 8,
386
+ pageTotal: 19,
387
+ },
388
+ {
389
+ id: "aa39ea03-b8aa-43ee-ac95-b32c95b6289e",
390
+ sectionId: "f47c8602-ca28-46d2-98ee-ca9f1624cd93",
391
+ order: 2,
392
+ config: {
393
+ footer: true,
394
+ header: false,
395
+ landscape: false,
396
+ marginSize: "M",
397
+ pageBorder: false,
398
+ },
399
+ createdAt: "2024-11-25T02:48:09.834Z",
400
+ updatedAt: "2024-11-25T02:48:09.834Z",
401
+ deletedAt: null,
402
+ pageNumber: 9,
403
+ pageTotal: 19,
404
+ },
405
+ ],
406
+ child: [],
407
+ pageTotal: 19,
408
+ },
409
+ {
410
+ id: "7b2c7556-1aa6-417a-a8ec-926b38b90561",
411
+ name: "B4",
412
+ type: "pipeline",
413
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
414
+ parentId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
415
+ order: 3,
416
+ enable: true,
417
+ createdAt: "2024-11-20T08:19:19.715Z",
418
+ updatedAt: "2024-11-20T08:19:19.715Z",
419
+ deletedAt: null,
420
+ parent: {
421
+ id: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
422
+ name: "B1",
423
+ type: "pipeline",
424
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
425
+ parentId: "aabcbe20-337f-477e-97a3-e1c34d714beb",
426
+ order: 1,
427
+ enable: true,
428
+ createdAt: "2024-11-13T04:15:22.421Z",
429
+ updatedAt: "2024-11-19T07:12:30.966Z",
430
+ deletedAt: null,
431
+ },
432
+ pages: [
433
+ {
434
+ id: "7399e44c-d3a0-4c6e-9834-6973c148909f",
435
+ sectionId: "7b2c7556-1aa6-417a-a8ec-926b38b90561",
436
+ order: 1,
437
+ config: {
438
+ footer: true,
439
+ header: false,
440
+ landscape: false,
441
+ marginSize: "M",
442
+ pageBorder: false,
443
+ },
444
+ createdAt: "2024-11-20T08:19:20.433Z",
445
+ updatedAt: "2024-11-20T08:19:20.433Z",
446
+ deletedAt: null,
447
+ pageNumber: 7,
448
+ pageTotal: 19,
449
+ },
450
+ ],
451
+ child: [],
452
+ pageTotal: 19,
453
+ },
454
+ {
455
+ id: "443bf295-9d09-476d-80bf-98bb0cf7f9cf",
456
+ name: "B11",
457
+ type: "pipeline",
458
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
459
+ parentId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
460
+ order: 2,
461
+ enable: true,
462
+ createdAt: "2024-11-18T09:01:34.493Z",
463
+ updatedAt: "2024-11-19T07:12:30.971Z",
464
+ deletedAt: null,
465
+ parent: {
466
+ id: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
467
+ name: "B1",
468
+ type: "pipeline",
469
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
470
+ parentId: "aabcbe20-337f-477e-97a3-e1c34d714beb",
471
+ order: 1,
472
+ enable: true,
473
+ createdAt: "2024-11-13T04:15:22.421Z",
474
+ updatedAt: "2024-11-19T07:12:30.966Z",
475
+ deletedAt: null,
476
+ },
477
+ pages: [
478
+ {
479
+ id: "ef49ef71-94fc-4b4b-a3cc-332822229c99",
480
+ sectionId: "443bf295-9d09-476d-80bf-98bb0cf7f9cf",
481
+ order: 1,
482
+ config: {
483
+ footer: true,
484
+ header: false,
485
+ landscape: false,
486
+ marginSize: "M",
487
+ pageBorder: false,
488
+ },
489
+ createdAt: "2024-11-18T09:01:34.583Z",
490
+ updatedAt: "2024-11-19T07:47:10.275Z",
491
+ deletedAt: null,
492
+ pageNumber: 5,
493
+ pageTotal: 19,
494
+ },
495
+ ],
496
+ child: [
497
+ {
498
+ id: "433dbf44-4ce5-4f3f-a5f3-312c51fbad18",
499
+ name: "B22",
500
+ type: "pipeline",
501
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
502
+ parentId: "443bf295-9d09-476d-80bf-98bb0cf7f9cf",
503
+ order: 1,
504
+ enable: true,
505
+ createdAt: "2024-11-18T09:01:54.955Z",
506
+ updatedAt: "2024-11-19T07:12:30.972Z",
507
+ deletedAt: null,
508
+ parent: {
509
+ id: "443bf295-9d09-476d-80bf-98bb0cf7f9cf",
510
+ name: "B11",
511
+ type: "pipeline",
512
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
513
+ parentId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
514
+ order: 2,
515
+ enable: true,
516
+ createdAt: "2024-11-18T09:01:34.493Z",
517
+ updatedAt: "2024-11-19T07:12:30.971Z",
518
+ deletedAt: null,
519
+ },
520
+ pages: [
521
+ {
522
+ id: "9ed4011e-e783-4706-9d73-b32fda1be099",
523
+ sectionId: "433dbf44-4ce5-4f3f-a5f3-312c51fbad18",
524
+ order: 1,
525
+ config: {
526
+ footer: true,
527
+ header: false,
528
+ landscape: false,
529
+ marginSize: "M",
530
+ pageBorder: false,
531
+ },
532
+ createdAt: "2024-11-18T09:01:55.041Z",
533
+ updatedAt: "2024-11-19T07:47:15.979Z",
534
+ deletedAt: null,
535
+ pageNumber: 6,
536
+ pageTotal: 19,
537
+ },
538
+ ],
539
+ child: [],
540
+ pageTotal: 19,
541
+ },
542
+ ],
543
+ },
544
+ {
545
+ id: "8e504603-fbbb-4022-ae36-b6f9de82259c",
546
+ name: "Sec of B1",
547
+ type: "pipeline",
548
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
549
+ parentId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
550
+ order: 1,
551
+ enable: true,
552
+ createdAt: "2024-11-14T03:51:32.322Z",
553
+ updatedAt: "2024-11-19T07:12:30.972Z",
554
+ deletedAt: null,
555
+ parent: {
556
+ id: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
557
+ name: "B1",
558
+ type: "pipeline",
559
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
560
+ parentId: "aabcbe20-337f-477e-97a3-e1c34d714beb",
561
+ order: 1,
562
+ enable: true,
563
+ createdAt: "2024-11-13T04:15:22.421Z",
564
+ updatedAt: "2024-11-19T07:12:30.966Z",
565
+ deletedAt: null,
566
+ },
567
+ pages: [
568
+ {
569
+ id: "654d6e67-0d45-47e0-ac50-7b19eb54ba61",
570
+ sectionId: "8e504603-fbbb-4022-ae36-b6f9de82259c",
571
+ order: 1,
572
+ config: {
573
+ footer: true,
574
+ header: false,
575
+ landscape: false,
576
+ marginSize: "M",
577
+ pageBorder: false,
578
+ },
579
+ createdAt: "2024-11-14T03:51:32.458Z",
580
+ updatedAt: "2024-11-19T07:47:05.961Z",
581
+ deletedAt: null,
582
+ pageNumber: 4,
583
+ pageTotal: 19,
584
+ },
585
+ ],
586
+ child: [],
587
+ pageTotal: 19,
588
+ },
589
+ ],
590
+ },
591
+ ],
592
+ children: [
593
+ {
594
+ id: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
595
+ name: "B1",
596
+ type: "pipeline",
597
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
598
+ parentId: "aabcbe20-337f-477e-97a3-e1c34d714beb",
599
+ order: 1,
600
+ enable: true,
601
+ createdAt: "2024-11-13T04:15:22.421Z",
602
+ updatedAt: "2024-11-19T07:12:30.966Z",
603
+ deletedAt: null,
604
+ parent: {
605
+ id: "aabcbe20-337f-477e-97a3-e1c34d714beb",
606
+ name: "Background & Purpose",
607
+ type: "section",
608
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
609
+ parentId: null,
610
+ order: 1,
611
+ enable: true,
612
+ createdAt: "2024-11-12T09:57:14.079Z",
613
+ updatedAt: "2024-11-19T07:12:30.966Z",
614
+ deletedAt: null,
615
+ },
616
+ pages: [
617
+ {
618
+ id: "67a34e71-2735-49ee-b1b0-c37b9c78ca72",
619
+ sectionId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
620
+ order: 1,
621
+ config: {
622
+ footer: true,
623
+ header: false,
624
+ landscape: false,
625
+ marginSize: "M",
626
+ pageBorder: false,
627
+ },
628
+ createdAt: "2024-11-13T04:15:22.511Z",
629
+ updatedAt: "2024-11-19T07:47:01.528Z",
630
+ deletedAt: null,
631
+ pageNumber: 3,
632
+ pageTotal: 19,
633
+ },
634
+ ],
635
+ child: [
636
+ {
637
+ id: "f47c8602-ca28-46d2-98ee-ca9f1624cd93",
638
+ name: "B5",
639
+ type: "pipeline",
640
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
641
+ parentId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
642
+ order: 4,
643
+ enable: true,
644
+ createdAt: "2024-11-20T08:19:51.226Z",
645
+ updatedAt: "2024-11-20T08:19:51.226Z",
646
+ deletedAt: null,
647
+ parent: {
648
+ id: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
649
+ name: "B1",
650
+ type: "pipeline",
651
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
652
+ parentId: "aabcbe20-337f-477e-97a3-e1c34d714beb",
653
+ order: 1,
654
+ enable: true,
655
+ createdAt: "2024-11-13T04:15:22.421Z",
656
+ updatedAt: "2024-11-19T07:12:30.966Z",
657
+ deletedAt: null,
658
+ },
659
+ pages: [
660
+ {
661
+ id: "ee130397-390a-4e0e-be44-427844c006ba",
662
+ sectionId: "f47c8602-ca28-46d2-98ee-ca9f1624cd93",
663
+ order: 1,
664
+ config: {
665
+ footer: true,
666
+ header: false,
667
+ landscape: false,
668
+ marginSize: "M",
669
+ pageBorder: false,
670
+ },
671
+ createdAt: "2024-11-20T08:19:51.414Z",
672
+ updatedAt: "2024-11-20T08:19:51.414Z",
673
+ deletedAt: null,
674
+ pageNumber: 8,
675
+ pageTotal: 19,
676
+ },
677
+ {
678
+ id: "aa39ea03-b8aa-43ee-ac95-b32c95b6289e",
679
+ sectionId: "f47c8602-ca28-46d2-98ee-ca9f1624cd93",
680
+ order: 2,
681
+ config: {
682
+ footer: true,
683
+ header: false,
684
+ landscape: false,
685
+ marginSize: "M",
686
+ pageBorder: false,
687
+ },
688
+ createdAt: "2024-11-25T02:48:09.834Z",
689
+ updatedAt: "2024-11-25T02:48:09.834Z",
690
+ deletedAt: null,
691
+ pageNumber: 9,
692
+ pageTotal: 19,
693
+ },
694
+ ],
695
+ child: [],
696
+ pageTotal: 19,
697
+ },
698
+ {
699
+ id: "7b2c7556-1aa6-417a-a8ec-926b38b90561",
700
+ name: "B4",
701
+ type: "pipeline",
702
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
703
+ parentId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
704
+ order: 3,
705
+ enable: true,
706
+ createdAt: "2024-11-20T08:19:19.715Z",
707
+ updatedAt: "2024-11-20T08:19:19.715Z",
708
+ deletedAt: null,
709
+ parent: {
710
+ id: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
711
+ name: "B1",
712
+ type: "pipeline",
713
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
714
+ parentId: "aabcbe20-337f-477e-97a3-e1c34d714beb",
715
+ order: 1,
716
+ enable: true,
717
+ createdAt: "2024-11-13T04:15:22.421Z",
718
+ updatedAt: "2024-11-19T07:12:30.966Z",
719
+ deletedAt: null,
720
+ },
721
+ pages: [
722
+ {
723
+ id: "7399e44c-d3a0-4c6e-9834-6973c148909f",
724
+ sectionId: "7b2c7556-1aa6-417a-a8ec-926b38b90561",
725
+ order: 1,
726
+ config: {
727
+ footer: true,
728
+ header: false,
729
+ landscape: false,
730
+ marginSize: "M",
731
+ pageBorder: false,
732
+ },
733
+ createdAt: "2024-11-20T08:19:20.433Z",
734
+ updatedAt: "2024-11-20T08:19:20.433Z",
735
+ deletedAt: null,
736
+ pageNumber: 7,
737
+ pageTotal: 19,
738
+ },
739
+ ],
740
+ child: [],
741
+ pageTotal: 19,
742
+ },
743
+ {
744
+ id: "443bf295-9d09-476d-80bf-98bb0cf7f9cf",
745
+ name: "B11",
746
+ type: "pipeline",
747
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
748
+ parentId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
749
+ order: 2,
750
+ enable: true,
751
+ createdAt: "2024-11-18T09:01:34.493Z",
752
+ updatedAt: "2024-11-19T07:12:30.971Z",
753
+ deletedAt: null,
754
+ parent: {
755
+ id: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
756
+ name: "B1",
757
+ type: "pipeline",
758
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
759
+ parentId: "aabcbe20-337f-477e-97a3-e1c34d714beb",
760
+ order: 1,
761
+ enable: true,
762
+ createdAt: "2024-11-13T04:15:22.421Z",
763
+ updatedAt: "2024-11-19T07:12:30.966Z",
764
+ deletedAt: null,
765
+ },
766
+ pages: [
767
+ {
768
+ id: "ef49ef71-94fc-4b4b-a3cc-332822229c99",
769
+ sectionId: "443bf295-9d09-476d-80bf-98bb0cf7f9cf",
770
+ order: 1,
771
+ config: {
772
+ footer: true,
773
+ header: false,
774
+ landscape: false,
775
+ marginSize: "M",
776
+ pageBorder: false,
777
+ },
778
+ createdAt: "2024-11-18T09:01:34.583Z",
779
+ updatedAt: "2024-11-19T07:47:10.275Z",
780
+ deletedAt: null,
781
+ pageNumber: 5,
782
+ pageTotal: 19,
783
+ },
784
+ ],
785
+ child: [
786
+ {
787
+ id: "433dbf44-4ce5-4f3f-a5f3-312c51fbad18",
788
+ name: "B22",
789
+ type: "pipeline",
790
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
791
+ parentId: "443bf295-9d09-476d-80bf-98bb0cf7f9cf",
792
+ order: 1,
793
+ enable: true,
794
+ createdAt: "2024-11-18T09:01:54.955Z",
795
+ updatedAt: "2024-11-19T07:12:30.972Z",
796
+ deletedAt: null,
797
+ parent: {
798
+ id: "443bf295-9d09-476d-80bf-98bb0cf7f9cf",
799
+ name: "B11",
800
+ type: "pipeline",
801
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
802
+ parentId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
803
+ order: 2,
804
+ enable: true,
805
+ createdAt: "2024-11-18T09:01:34.493Z",
806
+ updatedAt: "2024-11-19T07:12:30.971Z",
807
+ deletedAt: null,
808
+ },
809
+ pages: [
810
+ {
811
+ id: "9ed4011e-e783-4706-9d73-b32fda1be099",
812
+ sectionId: "433dbf44-4ce5-4f3f-a5f3-312c51fbad18",
813
+ order: 1,
814
+ config: {
815
+ footer: true,
816
+ header: false,
817
+ landscape: false,
818
+ marginSize: "M",
819
+ pageBorder: false,
820
+ },
821
+ createdAt: "2024-11-18T09:01:55.041Z",
822
+ updatedAt: "2024-11-19T07:47:15.979Z",
823
+ deletedAt: null,
824
+ pageNumber: 6,
825
+ pageTotal: 19,
826
+ },
827
+ ],
828
+ child: [],
829
+ pageTotal: 19,
830
+ },
831
+ ],
832
+ },
833
+ {
834
+ id: "8e504603-fbbb-4022-ae36-b6f9de82259c",
835
+ name: "Sec of B1",
836
+ type: "pipeline",
837
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
838
+ parentId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
839
+ order: 1,
840
+ enable: true,
841
+ createdAt: "2024-11-14T03:51:32.322Z",
842
+ updatedAt: "2024-11-19T07:12:30.972Z",
843
+ deletedAt: null,
844
+ parent: {
845
+ id: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
846
+ name: "B1",
847
+ type: "pipeline",
848
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
849
+ parentId: "aabcbe20-337f-477e-97a3-e1c34d714beb",
850
+ order: 1,
851
+ enable: true,
852
+ createdAt: "2024-11-13T04:15:22.421Z",
853
+ updatedAt: "2024-11-19T07:12:30.966Z",
854
+ deletedAt: null,
855
+ },
856
+ pages: [
857
+ {
858
+ id: "654d6e67-0d45-47e0-ac50-7b19eb54ba61",
859
+ sectionId: "8e504603-fbbb-4022-ae36-b6f9de82259c",
860
+ order: 1,
861
+ config: {
862
+ footer: true,
863
+ header: false,
864
+ landscape: false,
865
+ marginSize: "M",
866
+ pageBorder: false,
867
+ },
868
+ createdAt: "2024-11-14T03:51:32.458Z",
869
+ updatedAt: "2024-11-19T07:47:05.961Z",
870
+ deletedAt: null,
871
+ pageNumber: 4,
872
+ pageTotal: 19,
873
+ },
874
+ ],
875
+ child: [],
876
+ pageTotal: 19,
877
+ },
878
+ ],
879
+ children: [
880
+ {
881
+ id: "8e504603-fbbb-4022-ae36-b6f9de82259c",
882
+ name: "Sec of B1",
883
+ type: "pipeline",
884
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
885
+ parentId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
886
+ order: 1,
887
+ enable: true,
888
+ createdAt: "2024-11-14T03:51:32.322Z",
889
+ updatedAt: "2024-11-19T07:12:30.972Z",
890
+ deletedAt: null,
891
+ parent: {
892
+ id: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
893
+ name: "B1",
894
+ type: "pipeline",
895
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
896
+ parentId: "aabcbe20-337f-477e-97a3-e1c34d714beb",
897
+ order: 1,
898
+ enable: true,
899
+ createdAt: "2024-11-13T04:15:22.421Z",
900
+ updatedAt: "2024-11-19T07:12:30.966Z",
901
+ deletedAt: null,
902
+ },
903
+ pages: [
904
+ {
905
+ id: "654d6e67-0d45-47e0-ac50-7b19eb54ba61",
906
+ sectionId: "8e504603-fbbb-4022-ae36-b6f9de82259c",
907
+ order: 1,
908
+ config: {
909
+ footer: true,
910
+ header: false,
911
+ landscape: false,
912
+ marginSize: "M",
913
+ pageBorder: false,
914
+ },
915
+ createdAt: "2024-11-14T03:51:32.458Z",
916
+ updatedAt: "2024-11-19T07:47:05.961Z",
917
+ deletedAt: null,
918
+ pageNumber: 4,
919
+ pageTotal: 19,
920
+ },
921
+ ],
922
+ child: [],
923
+ pageTotal: 19,
924
+ children: [],
925
+ },
926
+ {
927
+ id: "443bf295-9d09-476d-80bf-98bb0cf7f9cf",
928
+ name: "B11",
929
+ type: "pipeline",
930
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
931
+ parentId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
932
+ order: 2,
933
+ enable: true,
934
+ createdAt: "2024-11-18T09:01:34.493Z",
935
+ updatedAt: "2024-11-19T07:12:30.971Z",
936
+ deletedAt: null,
937
+ parent: {
938
+ id: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
939
+ name: "B1",
940
+ type: "pipeline",
941
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
942
+ parentId: "aabcbe20-337f-477e-97a3-e1c34d714beb",
943
+ order: 1,
944
+ enable: true,
945
+ createdAt: "2024-11-13T04:15:22.421Z",
946
+ updatedAt: "2024-11-19T07:12:30.966Z",
947
+ deletedAt: null,
948
+ },
949
+ pages: [
950
+ {
951
+ id: "ef49ef71-94fc-4b4b-a3cc-332822229c99",
952
+ sectionId: "443bf295-9d09-476d-80bf-98bb0cf7f9cf",
953
+ order: 1,
954
+ config: {
955
+ footer: true,
956
+ header: false,
957
+ landscape: false,
958
+ marginSize: "M",
959
+ pageBorder: false,
960
+ },
961
+ createdAt: "2024-11-18T09:01:34.583Z",
962
+ updatedAt: "2024-11-19T07:47:10.275Z",
963
+ deletedAt: null,
964
+ pageNumber: 5,
965
+ pageTotal: 19,
966
+ },
967
+ ],
968
+ child: [
969
+ {
970
+ id: "433dbf44-4ce5-4f3f-a5f3-312c51fbad18",
971
+ name: "B22",
972
+ type: "pipeline",
973
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
974
+ parentId: "443bf295-9d09-476d-80bf-98bb0cf7f9cf",
975
+ order: 1,
976
+ enable: true,
977
+ createdAt: "2024-11-18T09:01:54.955Z",
978
+ updatedAt: "2024-11-19T07:12:30.972Z",
979
+ deletedAt: null,
980
+ parent: {
981
+ id: "443bf295-9d09-476d-80bf-98bb0cf7f9cf",
982
+ name: "B11",
983
+ type: "pipeline",
984
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
985
+ parentId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
986
+ order: 2,
987
+ enable: true,
988
+ createdAt: "2024-11-18T09:01:34.493Z",
989
+ updatedAt: "2024-11-19T07:12:30.971Z",
990
+ deletedAt: null,
991
+ },
992
+ pages: [
993
+ {
994
+ id: "9ed4011e-e783-4706-9d73-b32fda1be099",
995
+ sectionId: "433dbf44-4ce5-4f3f-a5f3-312c51fbad18",
996
+ order: 1,
997
+ config: {
998
+ footer: true,
999
+ header: false,
1000
+ landscape: false,
1001
+ marginSize: "M",
1002
+ pageBorder: false,
1003
+ },
1004
+ createdAt: "2024-11-18T09:01:55.041Z",
1005
+ updatedAt: "2024-11-19T07:47:15.979Z",
1006
+ deletedAt: null,
1007
+ pageNumber: 6,
1008
+ pageTotal: 19,
1009
+ },
1010
+ ],
1011
+ child: [],
1012
+ pageTotal: 19,
1013
+ },
1014
+ ],
1015
+ children: [
1016
+ {
1017
+ id: "433dbf44-4ce5-4f3f-a5f3-312c51fbad18",
1018
+ name: "B22",
1019
+ type: "pipeline",
1020
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1021
+ parentId: "443bf295-9d09-476d-80bf-98bb0cf7f9cf",
1022
+ order: 1,
1023
+ enable: true,
1024
+ createdAt: "2024-11-18T09:01:54.955Z",
1025
+ updatedAt: "2024-11-19T07:12:30.972Z",
1026
+ deletedAt: null,
1027
+ parent: {
1028
+ id: "443bf295-9d09-476d-80bf-98bb0cf7f9cf",
1029
+ name: "B11",
1030
+ type: "pipeline",
1031
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1032
+ parentId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
1033
+ order: 2,
1034
+ enable: true,
1035
+ createdAt: "2024-11-18T09:01:34.493Z",
1036
+ updatedAt: "2024-11-19T07:12:30.971Z",
1037
+ deletedAt: null,
1038
+ },
1039
+ pages: [
1040
+ {
1041
+ id: "9ed4011e-e783-4706-9d73-b32fda1be099",
1042
+ sectionId: "433dbf44-4ce5-4f3f-a5f3-312c51fbad18",
1043
+ order: 1,
1044
+ config: {
1045
+ footer: true,
1046
+ header: false,
1047
+ landscape: false,
1048
+ marginSize: "M",
1049
+ pageBorder: false,
1050
+ },
1051
+ createdAt: "2024-11-18T09:01:55.041Z",
1052
+ updatedAt: "2024-11-19T07:47:15.979Z",
1053
+ deletedAt: null,
1054
+ pageNumber: 6,
1055
+ pageTotal: 19,
1056
+ },
1057
+ ],
1058
+ child: [],
1059
+ pageTotal: 19,
1060
+ children: [],
1061
+ },
1062
+ ],
1063
+ },
1064
+ {
1065
+ id: "7b2c7556-1aa6-417a-a8ec-926b38b90561",
1066
+ name: "B4",
1067
+ type: "pipeline",
1068
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1069
+ parentId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
1070
+ order: 3,
1071
+ enable: true,
1072
+ createdAt: "2024-11-20T08:19:19.715Z",
1073
+ updatedAt: "2024-11-20T08:19:19.715Z",
1074
+ deletedAt: null,
1075
+ parent: {
1076
+ id: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
1077
+ name: "B1",
1078
+ type: "pipeline",
1079
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1080
+ parentId: "aabcbe20-337f-477e-97a3-e1c34d714beb",
1081
+ order: 1,
1082
+ enable: true,
1083
+ createdAt: "2024-11-13T04:15:22.421Z",
1084
+ updatedAt: "2024-11-19T07:12:30.966Z",
1085
+ deletedAt: null,
1086
+ },
1087
+ pages: [
1088
+ {
1089
+ id: "7399e44c-d3a0-4c6e-9834-6973c148909f",
1090
+ sectionId: "7b2c7556-1aa6-417a-a8ec-926b38b90561",
1091
+ order: 1,
1092
+ config: {
1093
+ footer: true,
1094
+ header: false,
1095
+ landscape: false,
1096
+ marginSize: "M",
1097
+ pageBorder: false,
1098
+ },
1099
+ createdAt: "2024-11-20T08:19:20.433Z",
1100
+ updatedAt: "2024-11-20T08:19:20.433Z",
1101
+ deletedAt: null,
1102
+ pageNumber: 7,
1103
+ pageTotal: 19,
1104
+ },
1105
+ ],
1106
+ child: [],
1107
+ pageTotal: 19,
1108
+ children: [],
1109
+ },
1110
+ {
1111
+ id: "f47c8602-ca28-46d2-98ee-ca9f1624cd93",
1112
+ name: "B5",
1113
+ type: "pipeline",
1114
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1115
+ parentId: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
1116
+ order: 4,
1117
+ enable: true,
1118
+ createdAt: "2024-11-20T08:19:51.226Z",
1119
+ updatedAt: "2024-11-20T08:19:51.226Z",
1120
+ deletedAt: null,
1121
+ parent: {
1122
+ id: "6bd1ffff-e3ac-4d33-8f87-0d59a3de5158",
1123
+ name: "B1",
1124
+ type: "pipeline",
1125
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1126
+ parentId: "aabcbe20-337f-477e-97a3-e1c34d714beb",
1127
+ order: 1,
1128
+ enable: true,
1129
+ createdAt: "2024-11-13T04:15:22.421Z",
1130
+ updatedAt: "2024-11-19T07:12:30.966Z",
1131
+ deletedAt: null,
1132
+ },
1133
+ pages: [
1134
+ {
1135
+ id: "ee130397-390a-4e0e-be44-427844c006ba",
1136
+ sectionId: "f47c8602-ca28-46d2-98ee-ca9f1624cd93",
1137
+ order: 1,
1138
+ config: {
1139
+ footer: true,
1140
+ header: false,
1141
+ landscape: false,
1142
+ marginSize: "M",
1143
+ pageBorder: false,
1144
+ },
1145
+ createdAt: "2024-11-20T08:19:51.414Z",
1146
+ updatedAt: "2024-11-20T08:19:51.414Z",
1147
+ deletedAt: null,
1148
+ pageNumber: 8,
1149
+ pageTotal: 19,
1150
+ },
1151
+ {
1152
+ id: "aa39ea03-b8aa-43ee-ac95-b32c95b6289e",
1153
+ sectionId: "f47c8602-ca28-46d2-98ee-ca9f1624cd93",
1154
+ order: 2,
1155
+ config: {
1156
+ footer: true,
1157
+ header: false,
1158
+ landscape: false,
1159
+ marginSize: "M",
1160
+ pageBorder: false,
1161
+ },
1162
+ createdAt: "2024-11-25T02:48:09.834Z",
1163
+ updatedAt: "2024-11-25T02:48:09.834Z",
1164
+ deletedAt: null,
1165
+ pageNumber: 9,
1166
+ pageTotal: 19,
1167
+ },
1168
+ ],
1169
+ child: [],
1170
+ pageTotal: 19,
1171
+ children: [],
1172
+ },
1173
+ ],
1174
+ },
1175
+ ],
1176
+ },
1177
+ {
1178
+ id: "52392450-f73d-4e72-9ccd-37d86c3e3e9e",
1179
+ name: "Executive Summary",
1180
+ type: "section",
1181
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1182
+ parentId: null,
1183
+ order: 2,
1184
+ enable: true,
1185
+ createdAt: "2024-11-12T09:57:14.083Z",
1186
+ updatedAt: "2024-11-19T07:12:30.973Z",
1187
+ deletedAt: null,
1188
+ parent: null,
1189
+ pages: [
1190
+ {
1191
+ id: "31ed0713-b3ae-492a-9291-362bd148279c",
1192
+ sectionId: "52392450-f73d-4e72-9ccd-37d86c3e3e9e",
1193
+ order: 0,
1194
+ config: {
1195
+ Key: "subsea-xspector-dev-landing-13970rl1faop/elements/0ad7f946e1936bf952a3445c1f39d1b3.json",
1196
+ footer: true,
1197
+ header: true,
1198
+ Records: [
1199
+ {
1200
+ s3: {
1201
+ bucket: {
1202
+ arn: "arn:aws:s3:::subsea-xspector-dev-landing-13970rl1faop",
1203
+ name: "subsea-xspector-dev-landing-13970rl1faop",
1204
+ ownerIdentity: {
1205
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1206
+ },
1207
+ },
1208
+ object: {
1209
+ key: "elements%2F0ad7f946e1936bf952a3445c1f39d1b3.json",
1210
+ eTag: "e376992b4b67db0cc8793b501a17de45",
1211
+ size: 1709,
1212
+ sequencer: "18073011A0A0CFAF",
1213
+ contentType: "application/json",
1214
+ userMetadata: {
1215
+ "content-type": "application/json",
1216
+ "X-Amz-Meta-Name": "Executive Summary",
1217
+ "X-Amz-Meta-Type": "section",
1218
+ "X-Amz-Meta-Refid": "31ed0713-b3ae-492a-9291-362bd148279c",
1219
+ "X-Amz-Meta-Pageid": "31ed0713-b3ae-492a-9291-362bd148279c",
1220
+ "X-Amz-Meta-Reftype": "pageId",
1221
+ "X-Amz-Meta-Category": "elements",
1222
+ "X-Amz-Meta-Reportid": "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1223
+ "X-Amz-Meta-Pageindex": "0",
1224
+ "X-Amz-Meta-Sectionid": "52392450-f73d-4e72-9ccd-37d86c3e3e9e",
1225
+ "X-Amz-Meta-Sectionindex": "2",
1226
+ },
1227
+ },
1228
+ configurationId: "Config",
1229
+ s3SchemaVersion: "1.0",
1230
+ },
1231
+ source: {
1232
+ host: "172.17.0.1",
1233
+ port: "",
1234
+ userAgent: "MinIO (linux; x64) minio-js/7.1.3",
1235
+ },
1236
+ awsRegion: "",
1237
+ eventName: "s3:ObjectCreated:Put",
1238
+ eventTime: "2024-11-12T09:57:14.015Z",
1239
+ eventSource: "minio:s3",
1240
+ eventVersion: "2.0",
1241
+ userIdentity: {
1242
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1243
+ },
1244
+ responseElements: {
1245
+ "x-amz-id-2": "dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8",
1246
+ "x-amz-request-id": "18073011A09D2D70",
1247
+ "x-minio-deployment-id": "a25019e3-48ff-4a2a-af08-05c71e01cafe",
1248
+ "x-minio-origin-endpoint": "http://172.17.0.2:9000",
1249
+ },
1250
+ requestParameters: {
1251
+ region: "",
1252
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1253
+ sourceIPAddress: "172.17.0.1",
1254
+ },
1255
+ },
1256
+ ],
1257
+ EventName: "s3:ObjectCreated:Put",
1258
+ landscape: false,
1259
+ marginSize: "M",
1260
+ pageBorder: false,
1261
+ },
1262
+ createdAt: "2024-11-12T09:57:14.084Z",
1263
+ updatedAt: "2024-11-12T09:57:14.084Z",
1264
+ deletedAt: null,
1265
+ pageNumber: 10,
1266
+ pageTotal: 19,
1267
+ },
1268
+ ],
1269
+ child: [],
1270
+ pageTotal: 19,
1271
+ children: [],
1272
+ },
1273
+ {
1274
+ id: "84c0795a-ef51-4db8-af1c-56b3b467ddcb",
1275
+ name: "Scope of visual Inspection",
1276
+ type: "section",
1277
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1278
+ parentId: null,
1279
+ order: 3,
1280
+ enable: true,
1281
+ createdAt: "2024-11-12T09:57:14.087Z",
1282
+ updatedAt: "2024-11-19T07:12:30.973Z",
1283
+ deletedAt: null,
1284
+ parent: null,
1285
+ pages: [
1286
+ {
1287
+ id: "fe2cd065-dc74-4614-b7e6-9ef6dfbd9aee",
1288
+ sectionId: "84c0795a-ef51-4db8-af1c-56b3b467ddcb",
1289
+ order: 0,
1290
+ config: {
1291
+ Key: "subsea-xspector-dev-landing-13970rl1faop/elements/b5ec941cea84e4c2e534c7949cd55632.json",
1292
+ footer: true,
1293
+ header: true,
1294
+ Records: [
1295
+ {
1296
+ s3: {
1297
+ bucket: {
1298
+ arn: "arn:aws:s3:::subsea-xspector-dev-landing-13970rl1faop",
1299
+ name: "subsea-xspector-dev-landing-13970rl1faop",
1300
+ ownerIdentity: {
1301
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1302
+ },
1303
+ },
1304
+ object: {
1305
+ key: "elements%2Fb5ec941cea84e4c2e534c7949cd55632.json",
1306
+ eTag: "b61c5630e07f1cfa17153c8c6b32cae9",
1307
+ size: 1578,
1308
+ sequencer: "18073011A1076D4D",
1309
+ contentType: "application/json",
1310
+ userMetadata: {
1311
+ "content-type": "application/json",
1312
+ "X-Amz-Meta-Name": "Scope of visual Inspection",
1313
+ "X-Amz-Meta-Type": "section",
1314
+ "X-Amz-Meta-Refid": "fe2cd065-dc74-4614-b7e6-9ef6dfbd9aee",
1315
+ "X-Amz-Meta-Pageid": "fe2cd065-dc74-4614-b7e6-9ef6dfbd9aee",
1316
+ "X-Amz-Meta-Reftype": "pageId",
1317
+ "X-Amz-Meta-Category": "elements",
1318
+ "X-Amz-Meta-Reportid": "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1319
+ "X-Amz-Meta-Pageindex": "0",
1320
+ "X-Amz-Meta-Sectionid": "84c0795a-ef51-4db8-af1c-56b3b467ddcb",
1321
+ "X-Amz-Meta-Sectionindex": "3",
1322
+ },
1323
+ },
1324
+ configurationId: "Config",
1325
+ s3SchemaVersion: "1.0",
1326
+ },
1327
+ source: {
1328
+ host: "172.17.0.1",
1329
+ port: "",
1330
+ userAgent: "MinIO (linux; x64) minio-js/7.1.3",
1331
+ },
1332
+ awsRegion: "",
1333
+ eventName: "s3:ObjectCreated:Put",
1334
+ eventTime: "2024-11-12T09:57:14.022Z",
1335
+ eventSource: "minio:s3",
1336
+ eventVersion: "2.0",
1337
+ userIdentity: {
1338
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1339
+ },
1340
+ responseElements: {
1341
+ "x-amz-id-2": "dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8",
1342
+ "x-amz-request-id": "18073011A103D73D",
1343
+ "x-minio-deployment-id": "a25019e3-48ff-4a2a-af08-05c71e01cafe",
1344
+ "x-minio-origin-endpoint": "http://172.17.0.2:9000",
1345
+ },
1346
+ requestParameters: {
1347
+ region: "",
1348
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1349
+ sourceIPAddress: "172.17.0.1",
1350
+ },
1351
+ },
1352
+ ],
1353
+ EventName: "s3:ObjectCreated:Put",
1354
+ landscape: false,
1355
+ marginSize: "M",
1356
+ pageBorder: false,
1357
+ },
1358
+ createdAt: "2024-11-12T09:57:14.088Z",
1359
+ updatedAt: "2024-11-12T09:57:14.088Z",
1360
+ deletedAt: null,
1361
+ pageNumber: 11,
1362
+ pageTotal: 19,
1363
+ },
1364
+ ],
1365
+ child: [],
1366
+ pageTotal: 19,
1367
+ children: [],
1368
+ },
1369
+ {
1370
+ id: "7c8f812d-8276-4af2-8a31-95f0b37c5e8d",
1371
+ name: "Inspection Findings and Results",
1372
+ type: "section",
1373
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1374
+ parentId: null,
1375
+ order: 4,
1376
+ enable: true,
1377
+ createdAt: "2024-11-12T09:57:14.091Z",
1378
+ updatedAt: "2024-11-19T07:12:30.973Z",
1379
+ deletedAt: null,
1380
+ parent: null,
1381
+ pages: [
1382
+ {
1383
+ id: "78e8a131-60c5-431b-9900-d555e69ea595",
1384
+ sectionId: "7c8f812d-8276-4af2-8a31-95f0b37c5e8d",
1385
+ order: 0,
1386
+ config: {
1387
+ Key: "subsea-xspector-dev-landing-13970rl1faop/elements/1feccc15fb1204db55fac057479bff73.json",
1388
+ footer: true,
1389
+ header: true,
1390
+ Records: [
1391
+ {
1392
+ s3: {
1393
+ bucket: {
1394
+ arn: "arn:aws:s3:::subsea-xspector-dev-landing-13970rl1faop",
1395
+ name: "subsea-xspector-dev-landing-13970rl1faop",
1396
+ ownerIdentity: {
1397
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1398
+ },
1399
+ },
1400
+ object: {
1401
+ key: "elements%2F1feccc15fb1204db55fac057479bff73.json",
1402
+ eTag: "011acf97b68f5fd9944b84aeec15c57d",
1403
+ size: 28977,
1404
+ sequencer: "18073011A174FD86",
1405
+ contentType: "application/json",
1406
+ userMetadata: {
1407
+ "content-type": "application/json",
1408
+ "X-Amz-Meta-Name": "Inspection Findings and Results",
1409
+ "X-Amz-Meta-Type": "section",
1410
+ "X-Amz-Meta-Refid": "78e8a131-60c5-431b-9900-d555e69ea595",
1411
+ "X-Amz-Meta-Pageid": "78e8a131-60c5-431b-9900-d555e69ea595",
1412
+ "X-Amz-Meta-Reftype": "pageId",
1413
+ "X-Amz-Meta-Category": "elements",
1414
+ "X-Amz-Meta-Reportid": "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1415
+ "X-Amz-Meta-Pageindex": "0",
1416
+ "X-Amz-Meta-Sectionid": "7c8f812d-8276-4af2-8a31-95f0b37c5e8d",
1417
+ "X-Amz-Meta-Sectionindex": "4",
1418
+ },
1419
+ },
1420
+ configurationId: "Config",
1421
+ s3SchemaVersion: "1.0",
1422
+ },
1423
+ source: {
1424
+ host: "172.17.0.1",
1425
+ port: "",
1426
+ userAgent: "MinIO (linux; x64) minio-js/7.1.3",
1427
+ },
1428
+ awsRegion: "",
1429
+ eventName: "s3:ObjectCreated:Put",
1430
+ eventTime: "2024-11-12T09:57:14.029Z",
1431
+ eventSource: "minio:s3",
1432
+ eventVersion: "2.0",
1433
+ userIdentity: {
1434
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1435
+ },
1436
+ responseElements: {
1437
+ "x-amz-id-2": "dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8",
1438
+ "x-amz-request-id": "18073011A16FEBE3",
1439
+ "x-minio-deployment-id": "a25019e3-48ff-4a2a-af08-05c71e01cafe",
1440
+ "x-minio-origin-endpoint": "http://172.17.0.2:9000",
1441
+ },
1442
+ requestParameters: {
1443
+ region: "",
1444
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1445
+ sourceIPAddress: "172.17.0.1",
1446
+ },
1447
+ },
1448
+ ],
1449
+ EventName: "s3:ObjectCreated:Put",
1450
+ landscape: false,
1451
+ marginSize: "M",
1452
+ pageBorder: false,
1453
+ },
1454
+ createdAt: "2024-11-12T09:57:14.092Z",
1455
+ updatedAt: "2024-11-12T09:57:14.092Z",
1456
+ deletedAt: null,
1457
+ pageNumber: 12,
1458
+ pageTotal: 19,
1459
+ },
1460
+ ],
1461
+ child: [
1462
+ {
1463
+ id: "1ad5e637-f411-4501-bc69-053a5b577826",
1464
+ name: "In4",
1465
+ type: "pipeline",
1466
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1467
+ parentId: "7c8f812d-8276-4af2-8a31-95f0b37c5e8d",
1468
+ order: 2,
1469
+ enable: true,
1470
+ createdAt: "2024-11-25T02:57:51.951Z",
1471
+ updatedAt: "2024-11-25T02:57:51.951Z",
1472
+ deletedAt: null,
1473
+ parent: {
1474
+ id: "7c8f812d-8276-4af2-8a31-95f0b37c5e8d",
1475
+ name: "Inspection Findings and Results",
1476
+ type: "section",
1477
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1478
+ parentId: null,
1479
+ order: 4,
1480
+ enable: true,
1481
+ createdAt: "2024-11-12T09:57:14.091Z",
1482
+ updatedAt: "2024-11-19T07:12:30.973Z",
1483
+ deletedAt: null,
1484
+ },
1485
+ pages: [
1486
+ {
1487
+ id: "307fe18c-591a-474d-a0a2-029e6356bd1e",
1488
+ sectionId: "1ad5e637-f411-4501-bc69-053a5b577826",
1489
+ order: 1,
1490
+ config: {
1491
+ footer: true,
1492
+ header: false,
1493
+ landscape: false,
1494
+ marginSize: "M",
1495
+ pageBorder: false,
1496
+ },
1497
+ createdAt: "2024-11-25T02:57:52.075Z",
1498
+ updatedAt: "2024-11-25T02:57:52.075Z",
1499
+ deletedAt: null,
1500
+ pageNumber: 14,
1501
+ pageTotal: 19,
1502
+ },
1503
+ ],
1504
+ child: [],
1505
+ pageTotal: 19,
1506
+ },
1507
+ {
1508
+ id: "f5a09be0-cd85-4c6e-8337-362c910b5c7c",
1509
+ name: "In3",
1510
+ type: "pipeline",
1511
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1512
+ parentId: "7c8f812d-8276-4af2-8a31-95f0b37c5e8d",
1513
+ order: 1,
1514
+ enable: true,
1515
+ createdAt: "2024-11-14T05:01:06.558Z",
1516
+ updatedAt: "2024-11-19T07:12:30.978Z",
1517
+ deletedAt: null,
1518
+ parent: {
1519
+ id: "7c8f812d-8276-4af2-8a31-95f0b37c5e8d",
1520
+ name: "Inspection Findings and Results",
1521
+ type: "section",
1522
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1523
+ parentId: null,
1524
+ order: 4,
1525
+ enable: true,
1526
+ createdAt: "2024-11-12T09:57:14.091Z",
1527
+ updatedAt: "2024-11-19T07:12:30.973Z",
1528
+ deletedAt: null,
1529
+ },
1530
+ pages: [
1531
+ {
1532
+ id: "b499f689-2ad3-491f-b4c9-61fff28b6603",
1533
+ sectionId: "f5a09be0-cd85-4c6e-8337-362c910b5c7c",
1534
+ order: 1,
1535
+ config: {
1536
+ footer: true,
1537
+ header: false,
1538
+ landscape: false,
1539
+ marginSize: "M",
1540
+ pageBorder: false,
1541
+ },
1542
+ createdAt: "2024-11-14T05:01:06.688Z",
1543
+ updatedAt: "2024-11-14T05:01:06.688Z",
1544
+ deletedAt: null,
1545
+ pageNumber: 13,
1546
+ pageTotal: 19,
1547
+ },
1548
+ ],
1549
+ child: [],
1550
+ pageTotal: 19,
1551
+ },
1552
+ ],
1553
+ children: [
1554
+ {
1555
+ id: "f5a09be0-cd85-4c6e-8337-362c910b5c7c",
1556
+ name: "In3",
1557
+ type: "pipeline",
1558
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1559
+ parentId: "7c8f812d-8276-4af2-8a31-95f0b37c5e8d",
1560
+ order: 1,
1561
+ enable: true,
1562
+ createdAt: "2024-11-14T05:01:06.558Z",
1563
+ updatedAt: "2024-11-19T07:12:30.978Z",
1564
+ deletedAt: null,
1565
+ parent: {
1566
+ id: "7c8f812d-8276-4af2-8a31-95f0b37c5e8d",
1567
+ name: "Inspection Findings and Results",
1568
+ type: "section",
1569
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1570
+ parentId: null,
1571
+ order: 4,
1572
+ enable: true,
1573
+ createdAt: "2024-11-12T09:57:14.091Z",
1574
+ updatedAt: "2024-11-19T07:12:30.973Z",
1575
+ deletedAt: null,
1576
+ },
1577
+ pages: [
1578
+ {
1579
+ id: "b499f689-2ad3-491f-b4c9-61fff28b6603",
1580
+ sectionId: "f5a09be0-cd85-4c6e-8337-362c910b5c7c",
1581
+ order: 1,
1582
+ config: {
1583
+ footer: true,
1584
+ header: false,
1585
+ landscape: false,
1586
+ marginSize: "M",
1587
+ pageBorder: false,
1588
+ },
1589
+ createdAt: "2024-11-14T05:01:06.688Z",
1590
+ updatedAt: "2024-11-14T05:01:06.688Z",
1591
+ deletedAt: null,
1592
+ pageNumber: 13,
1593
+ pageTotal: 19,
1594
+ },
1595
+ ],
1596
+ child: [],
1597
+ pageTotal: 19,
1598
+ children: [],
1599
+ },
1600
+ {
1601
+ id: "1ad5e637-f411-4501-bc69-053a5b577826",
1602
+ name: "In4",
1603
+ type: "pipeline",
1604
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1605
+ parentId: "7c8f812d-8276-4af2-8a31-95f0b37c5e8d",
1606
+ order: 2,
1607
+ enable: true,
1608
+ createdAt: "2024-11-25T02:57:51.951Z",
1609
+ updatedAt: "2024-11-25T02:57:51.951Z",
1610
+ deletedAt: null,
1611
+ parent: {
1612
+ id: "7c8f812d-8276-4af2-8a31-95f0b37c5e8d",
1613
+ name: "Inspection Findings and Results",
1614
+ type: "section",
1615
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1616
+ parentId: null,
1617
+ order: 4,
1618
+ enable: true,
1619
+ createdAt: "2024-11-12T09:57:14.091Z",
1620
+ updatedAt: "2024-11-19T07:12:30.973Z",
1621
+ deletedAt: null,
1622
+ },
1623
+ pages: [
1624
+ {
1625
+ id: "307fe18c-591a-474d-a0a2-029e6356bd1e",
1626
+ sectionId: "1ad5e637-f411-4501-bc69-053a5b577826",
1627
+ order: 1,
1628
+ config: {
1629
+ footer: true,
1630
+ header: false,
1631
+ landscape: false,
1632
+ marginSize: "M",
1633
+ pageBorder: false,
1634
+ },
1635
+ createdAt: "2024-11-25T02:57:52.075Z",
1636
+ updatedAt: "2024-11-25T02:57:52.075Z",
1637
+ deletedAt: null,
1638
+ pageNumber: 14,
1639
+ pageTotal: 19,
1640
+ },
1641
+ ],
1642
+ child: [],
1643
+ pageTotal: 19,
1644
+ children: [],
1645
+ },
1646
+ ],
1647
+ },
1648
+ {
1649
+ id: "d265c4f1-4017-4ac0-b0bb-416bd521fe46",
1650
+ name: "Recommendation and Suggestions",
1651
+ type: "section",
1652
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1653
+ parentId: null,
1654
+ order: 5,
1655
+ enable: true,
1656
+ createdAt: "2024-11-12T09:57:14.095Z",
1657
+ updatedAt: "2024-11-19T07:12:30.979Z",
1658
+ deletedAt: null,
1659
+ parent: null,
1660
+ pages: [
1661
+ {
1662
+ id: "fe0f93a4-c39c-4c72-914b-e4361281c0bb",
1663
+ sectionId: "d265c4f1-4017-4ac0-b0bb-416bd521fe46",
1664
+ order: 0,
1665
+ config: {
1666
+ Key: "subsea-xspector-dev-landing-13970rl1faop/elements/909c2cd39ec36618627ca8b097cafba4.json",
1667
+ footer: true,
1668
+ header: true,
1669
+ Records: [
1670
+ {
1671
+ s3: {
1672
+ bucket: {
1673
+ arn: "arn:aws:s3:::subsea-xspector-dev-landing-13970rl1faop",
1674
+ name: "subsea-xspector-dev-landing-13970rl1faop",
1675
+ ownerIdentity: {
1676
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1677
+ },
1678
+ },
1679
+ object: {
1680
+ key: "elements%2F909c2cd39ec36618627ca8b097cafba4.json",
1681
+ eTag: "72f7ecdf8c7d66029ec55e09f8ac92e1",
1682
+ size: 1132,
1683
+ sequencer: "18073011A1D1CF4A",
1684
+ contentType: "application/json",
1685
+ userMetadata: {
1686
+ "content-type": "application/json",
1687
+ "X-Amz-Meta-Name": "Recommendation and Suggestions",
1688
+ "X-Amz-Meta-Type": "section",
1689
+ "X-Amz-Meta-Refid": "fe0f93a4-c39c-4c72-914b-e4361281c0bb",
1690
+ "X-Amz-Meta-Pageid": "fe0f93a4-c39c-4c72-914b-e4361281c0bb",
1691
+ "X-Amz-Meta-Reftype": "pageId",
1692
+ "X-Amz-Meta-Category": "elements",
1693
+ "X-Amz-Meta-Reportid": "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1694
+ "X-Amz-Meta-Pageindex": "0",
1695
+ "X-Amz-Meta-Sectionid": "d265c4f1-4017-4ac0-b0bb-416bd521fe46",
1696
+ "X-Amz-Meta-Sectionindex": "5",
1697
+ },
1698
+ },
1699
+ configurationId: "Config",
1700
+ s3SchemaVersion: "1.0",
1701
+ },
1702
+ source: {
1703
+ host: "172.17.0.1",
1704
+ port: "",
1705
+ userAgent: "MinIO (linux; x64) minio-js/7.1.3",
1706
+ },
1707
+ awsRegion: "",
1708
+ eventName: "s3:ObjectCreated:Put",
1709
+ eventTime: "2024-11-12T09:57:14.035Z",
1710
+ eventSource: "minio:s3",
1711
+ eventVersion: "2.0",
1712
+ userIdentity: {
1713
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1714
+ },
1715
+ responseElements: {
1716
+ "x-amz-id-2": "dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8",
1717
+ "x-amz-request-id": "18073011A1CDAC3D",
1718
+ "x-minio-deployment-id": "a25019e3-48ff-4a2a-af08-05c71e01cafe",
1719
+ "x-minio-origin-endpoint": "http://172.17.0.2:9000",
1720
+ },
1721
+ requestParameters: {
1722
+ region: "",
1723
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1724
+ sourceIPAddress: "172.17.0.1",
1725
+ },
1726
+ },
1727
+ ],
1728
+ EventName: "s3:ObjectCreated:Put",
1729
+ landscape: false,
1730
+ marginSize: "M",
1731
+ pageBorder: false,
1732
+ },
1733
+ createdAt: "2024-11-12T09:57:14.096Z",
1734
+ updatedAt: "2024-11-12T09:57:14.096Z",
1735
+ deletedAt: null,
1736
+ pageNumber: 15,
1737
+ pageTotal: 19,
1738
+ },
1739
+ ],
1740
+ child: [],
1741
+ pageTotal: 19,
1742
+ children: [],
1743
+ },
1744
+ {
1745
+ id: "cbdf4d85-ee0d-4b80-ba02-52cd2c83cbc8",
1746
+ name: "Reference photograph",
1747
+ type: "section",
1748
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1749
+ parentId: null,
1750
+ order: 6,
1751
+ enable: true,
1752
+ createdAt: "2024-11-12T09:57:14.099Z",
1753
+ updatedAt: "2024-11-19T07:12:30.979Z",
1754
+ deletedAt: null,
1755
+ parent: null,
1756
+ pages: [
1757
+ {
1758
+ id: "2fa68397-4bc9-4d61-aab4-22e24b03911b",
1759
+ sectionId: "cbdf4d85-ee0d-4b80-ba02-52cd2c83cbc8",
1760
+ order: 0,
1761
+ config: {
1762
+ Key: "subsea-xspector-dev-landing-13970rl1faop/elements/7720435136ff30625db484ef0dbf7771.json",
1763
+ footer: true,
1764
+ header: true,
1765
+ Records: [
1766
+ {
1767
+ s3: {
1768
+ bucket: {
1769
+ arn: "arn:aws:s3:::subsea-xspector-dev-landing-13970rl1faop",
1770
+ name: "subsea-xspector-dev-landing-13970rl1faop",
1771
+ ownerIdentity: {
1772
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1773
+ },
1774
+ },
1775
+ object: {
1776
+ key: "elements%2F7720435136ff30625db484ef0dbf7771.json",
1777
+ eTag: "4d41249857352395f2705cb267fc86c5",
1778
+ size: 6561,
1779
+ sequencer: "18073011A2334E23",
1780
+ contentType: "application/json",
1781
+ userMetadata: {
1782
+ "content-type": "application/json",
1783
+ "X-Amz-Meta-Name": "Reference photograph",
1784
+ "X-Amz-Meta-Type": "section",
1785
+ "X-Amz-Meta-Refid": "2fa68397-4bc9-4d61-aab4-22e24b03911b",
1786
+ "X-Amz-Meta-Pageid": "2fa68397-4bc9-4d61-aab4-22e24b03911b",
1787
+ "X-Amz-Meta-Reftype": "pageId",
1788
+ "X-Amz-Meta-Category": "elements",
1789
+ "X-Amz-Meta-Reportid": "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1790
+ "X-Amz-Meta-Pageindex": "0",
1791
+ "X-Amz-Meta-Sectionid": "cbdf4d85-ee0d-4b80-ba02-52cd2c83cbc8",
1792
+ "X-Amz-Meta-Sectionindex": "6",
1793
+ },
1794
+ },
1795
+ configurationId: "Config",
1796
+ s3SchemaVersion: "1.0",
1797
+ },
1798
+ source: {
1799
+ host: "172.17.0.1",
1800
+ port: "",
1801
+ userAgent: "MinIO (linux; x64) minio-js/7.1.3",
1802
+ },
1803
+ awsRegion: "",
1804
+ eventName: "s3:ObjectCreated:Put",
1805
+ eventTime: "2024-11-12T09:57:14.042Z",
1806
+ eventSource: "minio:s3",
1807
+ eventVersion: "2.0",
1808
+ userIdentity: {
1809
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1810
+ },
1811
+ responseElements: {
1812
+ "x-amz-id-2": "dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8",
1813
+ "x-amz-request-id": "18073011A22F66C0",
1814
+ "x-minio-deployment-id": "a25019e3-48ff-4a2a-af08-05c71e01cafe",
1815
+ "x-minio-origin-endpoint": "http://172.17.0.2:9000",
1816
+ },
1817
+ requestParameters: {
1818
+ region: "",
1819
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1820
+ sourceIPAddress: "172.17.0.1",
1821
+ },
1822
+ },
1823
+ ],
1824
+ EventName: "s3:ObjectCreated:Put",
1825
+ landscape: false,
1826
+ marginSize: "M",
1827
+ pageBorder: false,
1828
+ },
1829
+ createdAt: "2024-11-12T09:57:14.101Z",
1830
+ updatedAt: "2024-11-12T09:57:14.101Z",
1831
+ deletedAt: null,
1832
+ pageNumber: 16,
1833
+ pageTotal: 19,
1834
+ },
1835
+ {
1836
+ id: "ab4807c5-df5c-4adb-97cb-e0265903c960",
1837
+ sectionId: "cbdf4d85-ee0d-4b80-ba02-52cd2c83cbc8",
1838
+ order: 1,
1839
+ config: {
1840
+ Key: "subsea-xspector-dev-landing-13970rl1faop/elements/276ab8d2e1a377318b52351277116da8.json",
1841
+ footer: true,
1842
+ header: true,
1843
+ Records: [
1844
+ {
1845
+ s3: {
1846
+ bucket: {
1847
+ arn: "arn:aws:s3:::subsea-xspector-dev-landing-13970rl1faop",
1848
+ name: "subsea-xspector-dev-landing-13970rl1faop",
1849
+ ownerIdentity: {
1850
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1851
+ },
1852
+ },
1853
+ object: {
1854
+ key: "elements%2F276ab8d2e1a377318b52351277116da8.json",
1855
+ eTag: "b40f3e03b487b911a60d2c6a1f0e1f8c",
1856
+ size: 3158,
1857
+ sequencer: "18073011A28AD8CC",
1858
+ contentType: "application/json",
1859
+ userMetadata: {
1860
+ "content-type": "application/json",
1861
+ "X-Amz-Meta-Name": "Reference photograph",
1862
+ "X-Amz-Meta-Type": "section",
1863
+ "X-Amz-Meta-Refid": "ab4807c5-df5c-4adb-97cb-e0265903c960",
1864
+ "X-Amz-Meta-Pageid": "ab4807c5-df5c-4adb-97cb-e0265903c960",
1865
+ "X-Amz-Meta-Reftype": "pageId",
1866
+ "X-Amz-Meta-Category": "elements",
1867
+ "X-Amz-Meta-Reportid": "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1868
+ "X-Amz-Meta-Pageindex": "1",
1869
+ "X-Amz-Meta-Sectionid": "cbdf4d85-ee0d-4b80-ba02-52cd2c83cbc8",
1870
+ "X-Amz-Meta-Sectionindex": "6",
1871
+ },
1872
+ },
1873
+ configurationId: "Config",
1874
+ s3SchemaVersion: "1.0",
1875
+ },
1876
+ source: {
1877
+ host: "172.17.0.1",
1878
+ port: "",
1879
+ userAgent: "MinIO (linux; x64) minio-js/7.1.3",
1880
+ },
1881
+ awsRegion: "",
1882
+ eventName: "s3:ObjectCreated:Put",
1883
+ eventTime: "2024-11-12T09:57:14.047Z",
1884
+ eventSource: "minio:s3",
1885
+ eventVersion: "2.0",
1886
+ userIdentity: {
1887
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1888
+ },
1889
+ responseElements: {
1890
+ "x-amz-id-2": "dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8",
1891
+ "x-amz-request-id": "18073011A2871B15",
1892
+ "x-minio-deployment-id": "a25019e3-48ff-4a2a-af08-05c71e01cafe",
1893
+ "x-minio-origin-endpoint": "http://172.17.0.2:9000",
1894
+ },
1895
+ requestParameters: {
1896
+ region: "",
1897
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1898
+ sourceIPAddress: "172.17.0.1",
1899
+ },
1900
+ },
1901
+ ],
1902
+ EventName: "s3:ObjectCreated:Put",
1903
+ landscape: false,
1904
+ marginSize: "M",
1905
+ pageBorder: false,
1906
+ },
1907
+ createdAt: "2024-11-12T09:57:14.103Z",
1908
+ updatedAt: "2024-11-12T09:57:14.103Z",
1909
+ deletedAt: null,
1910
+ pageNumber: 17,
1911
+ pageTotal: 19,
1912
+ },
1913
+ {
1914
+ id: "c1d5dd01-8efa-42fd-9b28-d28b8ff67d56",
1915
+ sectionId: "cbdf4d85-ee0d-4b80-ba02-52cd2c83cbc8",
1916
+ order: 2,
1917
+ config: {
1918
+ Key: "subsea-xspector-dev-landing-13970rl1faop/elements/461d8f7eefe58ff6ae5ad872e4885a09.json",
1919
+ footer: true,
1920
+ header: true,
1921
+ Records: [
1922
+ {
1923
+ s3: {
1924
+ bucket: {
1925
+ arn: "arn:aws:s3:::subsea-xspector-dev-landing-13970rl1faop",
1926
+ name: "subsea-xspector-dev-landing-13970rl1faop",
1927
+ ownerIdentity: {
1928
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1929
+ },
1930
+ },
1931
+ object: {
1932
+ key: "elements%2F461d8f7eefe58ff6ae5ad872e4885a09.json",
1933
+ eTag: "8db02f2b15446e8731dbc406f26f8914",
1934
+ size: 3155,
1935
+ sequencer: "18073011A3008049",
1936
+ contentType: "application/json",
1937
+ userMetadata: {
1938
+ "content-type": "application/json",
1939
+ "X-Amz-Meta-Name": "Reference photograph",
1940
+ "X-Amz-Meta-Type": "section",
1941
+ "X-Amz-Meta-Refid": "c1d5dd01-8efa-42fd-9b28-d28b8ff67d56",
1942
+ "X-Amz-Meta-Pageid": "c1d5dd01-8efa-42fd-9b28-d28b8ff67d56",
1943
+ "X-Amz-Meta-Reftype": "pageId",
1944
+ "X-Amz-Meta-Category": "elements",
1945
+ "X-Amz-Meta-Reportid": "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
1946
+ "X-Amz-Meta-Pageindex": "2",
1947
+ "X-Amz-Meta-Sectionid": "cbdf4d85-ee0d-4b80-ba02-52cd2c83cbc8",
1948
+ "X-Amz-Meta-Sectionindex": "6",
1949
+ },
1950
+ },
1951
+ configurationId: "Config",
1952
+ s3SchemaVersion: "1.0",
1953
+ },
1954
+ source: {
1955
+ host: "172.17.0.1",
1956
+ port: "",
1957
+ userAgent: "MinIO (linux; x64) minio-js/7.1.3",
1958
+ },
1959
+ awsRegion: "",
1960
+ eventName: "s3:ObjectCreated:Put",
1961
+ eventTime: "2024-11-12T09:57:14.056Z",
1962
+ eventSource: "minio:s3",
1963
+ eventVersion: "2.0",
1964
+ userIdentity: {
1965
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1966
+ },
1967
+ responseElements: {
1968
+ "x-amz-id-2": "dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8",
1969
+ "x-amz-request-id": "18073011A2FC80A7",
1970
+ "x-minio-deployment-id": "a25019e3-48ff-4a2a-af08-05c71e01cafe",
1971
+ "x-minio-origin-endpoint": "http://172.17.0.2:9000",
1972
+ },
1973
+ requestParameters: {
1974
+ region: "",
1975
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
1976
+ sourceIPAddress: "172.17.0.1",
1977
+ },
1978
+ },
1979
+ ],
1980
+ EventName: "s3:ObjectCreated:Put",
1981
+ landscape: false,
1982
+ marginSize: "M",
1983
+ pageBorder: false,
1984
+ },
1985
+ createdAt: "2024-11-12T09:57:14.107Z",
1986
+ updatedAt: "2024-11-12T09:57:14.107Z",
1987
+ deletedAt: null,
1988
+ pageNumber: 18,
1989
+ pageTotal: 19,
1990
+ },
1991
+ ],
1992
+ child: [],
1993
+ pageTotal: 19,
1994
+ children: [],
1995
+ },
1996
+ {
1997
+ id: "d10333fe-b3b9-4320-b328-efd739ad8d56",
1998
+ name: "Reference",
1999
+ type: "section",
2000
+ reportId: "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
2001
+ parentId: null,
2002
+ order: 7,
2003
+ enable: true,
2004
+ createdAt: "2024-11-12T09:57:14.110Z",
2005
+ updatedAt: "2024-11-19T07:12:30.979Z",
2006
+ deletedAt: null,
2007
+ parent: null,
2008
+ pages: [
2009
+ {
2010
+ id: "24a3b6e4-6fa9-4461-b243-10db4ee22b37",
2011
+ sectionId: "d10333fe-b3b9-4320-b328-efd739ad8d56",
2012
+ order: 0,
2013
+ config: {
2014
+ Key: "subsea-xspector-dev-landing-13970rl1faop/elements/ba75b7d19742623b59bf3987eb62a952.json",
2015
+ footer: true,
2016
+ header: true,
2017
+ Records: [
2018
+ {
2019
+ s3: {
2020
+ bucket: {
2021
+ arn: "arn:aws:s3:::subsea-xspector-dev-landing-13970rl1faop",
2022
+ name: "subsea-xspector-dev-landing-13970rl1faop",
2023
+ ownerIdentity: {
2024
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
2025
+ },
2026
+ },
2027
+ object: {
2028
+ key: "elements%2Fba75b7d19742623b59bf3987eb62a952.json",
2029
+ eTag: "2549cfc7e83a6ec231c09eb50e05ff3d",
2030
+ size: 2363,
2031
+ sequencer: "18073011A3705C0B",
2032
+ contentType: "application/json",
2033
+ userMetadata: {
2034
+ "content-type": "application/json",
2035
+ "X-Amz-Meta-Name": "Reference",
2036
+ "X-Amz-Meta-Type": "section",
2037
+ "X-Amz-Meta-Refid": "24a3b6e4-6fa9-4461-b243-10db4ee22b37",
2038
+ "X-Amz-Meta-Pageid": "24a3b6e4-6fa9-4461-b243-10db4ee22b37",
2039
+ "X-Amz-Meta-Reftype": "pageId",
2040
+ "X-Amz-Meta-Category": "elements",
2041
+ "X-Amz-Meta-Reportid": "c80f73f1-4ac0-4100-a9c8-94bceea91ed9",
2042
+ "X-Amz-Meta-Pageindex": "0",
2043
+ "X-Amz-Meta-Sectionid": "d10333fe-b3b9-4320-b328-efd739ad8d56",
2044
+ "X-Amz-Meta-Sectionindex": "7",
2045
+ },
2046
+ },
2047
+ configurationId: "Config",
2048
+ s3SchemaVersion: "1.0",
2049
+ },
2050
+ source: {
2051
+ host: "172.17.0.1",
2052
+ port: "",
2053
+ userAgent: "MinIO (linux; x64) minio-js/7.1.3",
2054
+ },
2055
+ awsRegion: "",
2056
+ eventName: "s3:ObjectCreated:Put",
2057
+ eventTime: "2024-11-12T09:57:14.062Z",
2058
+ eventSource: "minio:s3",
2059
+ eventVersion: "2.0",
2060
+ userIdentity: {
2061
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
2062
+ },
2063
+ responseElements: {
2064
+ "x-amz-id-2": "dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8",
2065
+ "x-amz-request-id": "18073011A36C9418",
2066
+ "x-minio-deployment-id": "a25019e3-48ff-4a2a-af08-05c71e01cafe",
2067
+ "x-minio-origin-endpoint": "http://172.17.0.2:9000",
2068
+ },
2069
+ requestParameters: {
2070
+ region: "",
2071
+ principalId: "7Rk3TM9cQbKh8kbZtqJK",
2072
+ sourceIPAddress: "172.17.0.1",
2073
+ },
2074
+ },
2075
+ ],
2076
+ EventName: "s3:ObjectCreated:Put",
2077
+ landscape: false,
2078
+ marginSize: "M",
2079
+ pageBorder: false,
2080
+ },
2081
+ createdAt: "2024-11-12T09:57:14.112Z",
2082
+ updatedAt: "2024-11-12T09:57:14.112Z",
2083
+ deletedAt: null,
2084
+ pageNumber: 19,
2085
+ pageTotal: 19,
2086
+ },
2087
+ ],
2088
+ child: [],
2089
+ pageTotal: 19,
2090
+ children: [],
2091
+ },
2092
+ ];
28
2093
  const commonProps = {
29
2094
  defaultExpandedId: ["1", "1.1"],
30
2095
  defaultCheckedId: ["1.1"],
@@ -54,6 +2119,34 @@ export const Default = {
54
2119
  return (_jsx("div", { className: "flex flex-row gap-4 w-full", children: _jsx(Tree, Object.assign({}, args)) }));
55
2120
  },
56
2121
  };
2122
+ export const Controller = {
2123
+ args: Object.assign(Object.assign({ data: exampleData2 }, commonProps), { defaultCheckAll: false, hierarchicalCheck: false }),
2124
+ render: (args) => {
2125
+ const [selectedSectionList, setSelectedSectionList] = useState({});
2126
+ const checkedId = useMemo(() => {
2127
+ return Object.keys(selectedSectionList).filter((id) => selectedSectionList === null || selectedSectionList === void 0 ? void 0 : selectedSectionList[id]);
2128
+ }, [selectedSectionList]);
2129
+ useEffect(() => {
2130
+ const flatternSection = (sections) => {
2131
+ var _a;
2132
+ const result = [];
2133
+ for (const section of sections) {
2134
+ result.push(section);
2135
+ if (section.children && ((_a = section === null || section === void 0 ? void 0 : section.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
2136
+ const subSection = flatternSection(section.children);
2137
+ result.push(...subSection);
2138
+ }
2139
+ }
2140
+ return result;
2141
+ };
2142
+ const flatSection = flatternSection(sections);
2143
+ setSelectedSectionList(flatSection.reduce((prev, cur) => (Object.assign(Object.assign({}, prev), { [cur.id]: cur.enable })), {}));
2144
+ }, [sections]);
2145
+ return (_jsx("div", { className: "flex flex-row gap-4 w-full", children: _jsx(Tree, Object.assign({}, args, { defaultExpandAll: true, defaultCheckedId: checkedId, checkedId: checkedId, onCheckedChange: (ids) => {
2146
+ setSelectedSectionList(Object.keys(selectedSectionList).reduce((prev, id) => (Object.assign(Object.assign({}, prev), { [id]: ids.includes(id) })), {}));
2147
+ } })) }));
2148
+ },
2149
+ };
57
2150
  export const onClick = {
58
2151
  args: Object.assign({ data: exampleData.map((item) => (Object.assign(Object.assign({}, item), { onClickItem: (id) => alert("Click item " + id) }))) }, commonProps),
59
2152
  render: (args) => {