@activecollab/components 2.0.483 → 2.0.485

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 (94) hide show
  1. package/dist/cjs/components/Select/Select.js +34 -5
  2. package/dist/cjs/components/Select/Select.js.map +1 -1
  3. package/dist/cjs/presentation/reports/allReports.js +223 -0
  4. package/dist/cjs/presentation/reports/allReports.js.map +1 -0
  5. package/dist/cjs/presentation/reports/availability.js +685 -0
  6. package/dist/cjs/presentation/reports/availability.js.map +1 -0
  7. package/dist/cjs/presentation/reports/availabilityExport.js +117 -0
  8. package/dist/cjs/presentation/reports/availabilityExport.js.map +1 -0
  9. package/dist/cjs/presentation/reports/controls.js +236 -0
  10. package/dist/cjs/presentation/reports/controls.js.map +1 -0
  11. package/dist/cjs/presentation/reports/dashboards.js +434 -0
  12. package/dist/cjs/presentation/reports/dashboards.js.map +1 -0
  13. package/dist/cjs/presentation/reports/data.js +2309 -0
  14. package/dist/cjs/presentation/reports/data.js.map +1 -0
  15. package/dist/cjs/presentation/reports/payments.js +294 -0
  16. package/dist/cjs/presentation/reports/payments.js.map +1 -0
  17. package/dist/cjs/presentation/reports/uninvoiced.js +223 -0
  18. package/dist/cjs/presentation/reports/uninvoiced.js.map +1 -0
  19. package/dist/cjs/presentation/shared/PageStickyHeader.js +76 -0
  20. package/dist/cjs/presentation/shared/PageStickyHeader.js.map +1 -0
  21. package/dist/cjs/presentation/shared/PresentationShell.js +22 -14
  22. package/dist/cjs/presentation/shared/PresentationShell.js.map +1 -1
  23. package/dist/cjs/presentation/shared/UserDetailsDialog.js +18 -5
  24. package/dist/cjs/presentation/shared/UserDetailsDialog.js.map +1 -1
  25. package/dist/cjs/presentation/shared/dashboardWidgets.js +116 -71
  26. package/dist/cjs/presentation/shared/dashboardWidgets.js.map +1 -1
  27. package/dist/cjs/presentation/shared/headers.js +7 -2
  28. package/dist/cjs/presentation/shared/headers.js.map +1 -1
  29. package/dist/cjs/presentation/shared/index.js +22 -0
  30. package/dist/cjs/presentation/shared/index.js.map +1 -1
  31. package/dist/esm/components/Select/Select.d.ts.map +1 -1
  32. package/dist/esm/components/Select/Select.js +32 -5
  33. package/dist/esm/components/Select/Select.js.map +1 -1
  34. package/dist/esm/presentation/reports/allReports.d.ts +3 -0
  35. package/dist/esm/presentation/reports/allReports.d.ts.map +1 -0
  36. package/dist/esm/presentation/reports/allReports.js +210 -0
  37. package/dist/esm/presentation/reports/allReports.js.map +1 -0
  38. package/dist/esm/presentation/reports/availability.d.ts +9 -0
  39. package/dist/esm/presentation/reports/availability.d.ts.map +1 -0
  40. package/dist/esm/presentation/reports/availability.js +532 -0
  41. package/dist/esm/presentation/reports/availability.js.map +1 -0
  42. package/dist/esm/presentation/reports/availabilityExport.d.ts +17 -0
  43. package/dist/esm/presentation/reports/availabilityExport.d.ts.map +1 -0
  44. package/dist/esm/presentation/reports/availabilityExport.js +97 -0
  45. package/dist/esm/presentation/reports/availabilityExport.js.map +1 -0
  46. package/dist/esm/presentation/reports/controls.d.ts +50 -0
  47. package/dist/esm/presentation/reports/controls.d.ts.map +1 -0
  48. package/dist/esm/presentation/reports/controls.js +205 -0
  49. package/dist/esm/presentation/reports/controls.js.map +1 -0
  50. package/dist/esm/presentation/reports/dashboards.d.ts +4 -0
  51. package/dist/esm/presentation/reports/dashboards.d.ts.map +1 -0
  52. package/dist/esm/presentation/reports/dashboards.js +390 -0
  53. package/dist/esm/presentation/reports/dashboards.js.map +1 -0
  54. package/dist/esm/presentation/reports/data.d.ts +171 -0
  55. package/dist/esm/presentation/reports/data.d.ts.map +1 -0
  56. package/dist/esm/presentation/reports/data.js +2303 -0
  57. package/dist/esm/presentation/reports/data.js.map +1 -0
  58. package/dist/esm/presentation/reports/payments.d.ts +3 -0
  59. package/dist/esm/presentation/reports/payments.d.ts.map +1 -0
  60. package/dist/esm/presentation/reports/payments.js +235 -0
  61. package/dist/esm/presentation/reports/payments.js.map +1 -0
  62. package/dist/esm/presentation/reports/uninvoiced.d.ts +3 -0
  63. package/dist/esm/presentation/reports/uninvoiced.d.ts.map +1 -0
  64. package/dist/esm/presentation/reports/uninvoiced.js +208 -0
  65. package/dist/esm/presentation/reports/uninvoiced.js.map +1 -0
  66. package/dist/esm/presentation/shared/PageStickyHeader.d.ts +10 -0
  67. package/dist/esm/presentation/shared/PageStickyHeader.d.ts.map +1 -0
  68. package/dist/esm/presentation/shared/PageStickyHeader.js +70 -0
  69. package/dist/esm/presentation/shared/PageStickyHeader.js.map +1 -0
  70. package/dist/esm/presentation/shared/PresentationShell.d.ts +2 -1
  71. package/dist/esm/presentation/shared/PresentationShell.d.ts.map +1 -1
  72. package/dist/esm/presentation/shared/PresentationShell.js +22 -14
  73. package/dist/esm/presentation/shared/PresentationShell.js.map +1 -1
  74. package/dist/esm/presentation/shared/UserDetailsDialog.d.ts +4 -1
  75. package/dist/esm/presentation/shared/UserDetailsDialog.d.ts.map +1 -1
  76. package/dist/esm/presentation/shared/UserDetailsDialog.js +18 -5
  77. package/dist/esm/presentation/shared/UserDetailsDialog.js.map +1 -1
  78. package/dist/esm/presentation/shared/dashboardWidgets.d.ts +14 -1
  79. package/dist/esm/presentation/shared/dashboardWidgets.d.ts.map +1 -1
  80. package/dist/esm/presentation/shared/dashboardWidgets.js +107 -68
  81. package/dist/esm/presentation/shared/dashboardWidgets.js.map +1 -1
  82. package/dist/esm/presentation/shared/headers.d.ts +2 -1
  83. package/dist/esm/presentation/shared/headers.d.ts.map +1 -1
  84. package/dist/esm/presentation/shared/headers.js +7 -2
  85. package/dist/esm/presentation/shared/headers.js.map +1 -1
  86. package/dist/esm/presentation/shared/index.d.ts +4 -2
  87. package/dist/esm/presentation/shared/index.d.ts.map +1 -1
  88. package/dist/esm/presentation/shared/index.js +2 -1
  89. package/dist/esm/presentation/shared/index.js.map +1 -1
  90. package/dist/index.js +34 -5
  91. package/dist/index.js.map +1 -1
  92. package/dist/index.min.js +1 -1
  93. package/dist/index.min.js.map +1 -1
  94. package/package.json +1 -1
@@ -0,0 +1,2303 @@
1
+ /* mirrors: ActiveProjectsWidget / OpenTasksWidget `widget-data` rows ({ name, value }) */
2
+
3
+ export const ACTIVE_PROJECTS_TOTAL = 34;
4
+ export const ACTIVE_PROJECTS_BY_LEADER = [{
5
+ name: "Daniel Osei",
6
+ value: 6
7
+ }, {
8
+ name: "Sofia Marchetti",
9
+ value: 5
10
+ }, {
11
+ name: "Joshua Reyes",
12
+ value: 4
13
+ }, {
14
+ name: "Lucian Marsh",
15
+ value: 3
16
+ }, {
17
+ name: "Priya Anand",
18
+ value: 3
19
+ }, {
20
+ name: "Grace Bennett",
21
+ value: 2
22
+ }, {
23
+ name: "Iris Calloway",
24
+ value: 2
25
+ }, {
26
+ name: "Leroy Mensah",
27
+ value: 2
28
+ }, {
29
+ name: "Pauline Fournier",
30
+ value: 2
31
+ }, {
32
+ name: "Fred Okafor",
33
+ value: 1
34
+ }, {
35
+ name: "Jim Hawkins",
36
+ value: 1
37
+ }, {
38
+ name: "Marcus Lindqvist",
39
+ value: 1
40
+ }, {
41
+ name: "Olivia Brennan",
42
+ value: 1
43
+ }, {
44
+ name: "Theo Brandt",
45
+ value: 1
46
+ }];
47
+ export const OPEN_TASKS_TOTAL = 117;
48
+ export const OPEN_TASKS_BY_PROJECT = [{
49
+ name: "Seasonal Campaign",
50
+ value: 19
51
+ }, {
52
+ name: "App Branding",
53
+ value: 7
54
+ }, {
55
+ name: "Product Video Series",
56
+ value: 7
57
+ }, {
58
+ name: "Rebrand (Phase 1)",
59
+ value: 7
60
+ }, {
61
+ name: "Skincare Launch",
62
+ value: 7
63
+ }, {
64
+ name: "Rebrand",
65
+ value: 6
66
+ }, {
67
+ name: "Brand + App Launch",
68
+ value: 5
69
+ }, {
70
+ name: "Booking Portal",
71
+ value: 4
72
+ }, {
73
+ name: "Booking Site",
74
+ value: 4
75
+ }, {
76
+ name: "Loyalty & Ordering App",
77
+ value: 4
78
+ }, {
79
+ name: "Menu + Brand System",
80
+ value: 4
81
+ }, {
82
+ name: "Annual Planning 2027",
83
+ value: 3
84
+ }, {
85
+ name: "Artist Microsites",
86
+ value: 3
87
+ }, {
88
+ name: "Fragrance Launch",
89
+ value: 3
90
+ }, {
91
+ name: "Q3 Marketing (Aperture)",
92
+ value: 3
93
+ }, {
94
+ name: "Aperture Brand Refresh",
95
+ value: 2
96
+ }, {
97
+ name: "Aperture Website Relaunch",
98
+ value: 2
99
+ }, {
100
+ name: "Customer Portal",
101
+ value: 2
102
+ }, {
103
+ name: "Design System",
104
+ value: 2
105
+ }, {
106
+ name: "Health Content Hub",
107
+ value: 2
108
+ }, {
109
+ name: "Launch Film",
110
+ value: 2
111
+ }, {
112
+ name: "Lead-Gen Campaign",
113
+ value: 2
114
+ }, {
115
+ name: "Marketing Site",
116
+ value: 2
117
+ }, {
118
+ name: "Microsite + Brochure",
119
+ value: 2
120
+ }, {
121
+ name: "Recruitment & Hiring 2026",
122
+ value: 2
123
+ }, {
124
+ name: "SEO Program",
125
+ value: 2
126
+ }, {
127
+ name: "SS26 Launch Campaign",
128
+ value: 2
129
+ }, {
130
+ name: "Finance & Invoicing",
131
+ value: 1
132
+ }, {
133
+ name: "Internal Design Toolkit",
134
+ value: 1
135
+ }, {
136
+ name: "Knowledge Base / SOPs",
137
+ value: 1
138
+ }, {
139
+ name: "New-Hire Onboarding",
140
+ value: 1
141
+ }, {
142
+ name: "Portfolio & Case Studies",
143
+ value: 1
144
+ }, {
145
+ name: "Studio Operations",
146
+ value: 1
147
+ }, {
148
+ name: "Team Rituals & Culture",
149
+ value: 1
150
+ }];
151
+
152
+ /* mirrors: DailyOpenTasksWidget response, one open-task count per day from Jul 2 */
153
+ export const DAILY_OPEN_TASKS = [132, 136, 135, 135, 133, 132, 132, 131, 128, 127, 127, 123, 121, 120, 118, 118, 119, 119, 119, 118, 118, 116, 117, 117, 118, 119, 120, 121, 117, 114, 113, 113, 116, 118, 119, 118, 118, 119, 120, 124, 123, 127, 125, 128, 129, 130, 124, 126, 121, 119, 120, 121, 121, 125, 120, 122, 119, 117, 116, 116, 116, 116, 116, 110, 109, 109, 109, 109, 110, 111, 111, 114, 113, 113, 114, 110, 110, 113, 114, 115, 116, 119, 118, 121, 120, 117, 117, 117, 116, 117];
154
+
155
+ /* mirrors: DailyCreatedAndCompletedTasksWidget response ({ created, completed } per day from Jul 2) */
156
+
157
+ export const DAILY_CREATED_AND_COMPLETED = [{
158
+ created: 3,
159
+ completed: 1
160
+ }, {
161
+ created: 4,
162
+ completed: 0
163
+ }, {
164
+ created: 0,
165
+ completed: 1
166
+ }, {
167
+ created: 0,
168
+ completed: 0
169
+ }, {
170
+ created: 0,
171
+ completed: 2
172
+ }, {
173
+ created: 0,
174
+ completed: 1
175
+ }, {
176
+ created: 4,
177
+ completed: 4
178
+ }, {
179
+ created: 1,
180
+ completed: 2
181
+ }, {
182
+ created: 1,
183
+ completed: 4
184
+ }, {
185
+ created: 0,
186
+ completed: 1
187
+ }, {
188
+ created: 0,
189
+ completed: 0
190
+ }, {
191
+ created: 0,
192
+ completed: 4
193
+ }, {
194
+ created: 0,
195
+ completed: 2
196
+ }, {
197
+ created: 0,
198
+ completed: 1
199
+ }, {
200
+ created: 2,
201
+ completed: 4
202
+ }, {
203
+ created: 1,
204
+ completed: 1
205
+ }, {
206
+ created: 1,
207
+ completed: 0
208
+ }, {
209
+ created: 1,
210
+ completed: 1
211
+ }, {
212
+ created: 1,
213
+ completed: 1
214
+ }, {
215
+ created: 2,
216
+ completed: 3
217
+ }, {
218
+ created: 1,
219
+ completed: 1
220
+ }, {
221
+ created: 0,
222
+ completed: 2
223
+ }, {
224
+ created: 5,
225
+ completed: 4
226
+ }, {
227
+ created: 0,
228
+ completed: 0
229
+ }, {
230
+ created: 1,
231
+ completed: 0
232
+ }, {
233
+ created: 3,
234
+ completed: 2
235
+ }, {
236
+ created: 2,
237
+ completed: 1
238
+ }, {
239
+ created: 2,
240
+ completed: 1
241
+ }, {
242
+ created: 2,
243
+ completed: 6
244
+ }, {
245
+ created: 3,
246
+ completed: 6
247
+ }, {
248
+ created: 0,
249
+ completed: 1
250
+ }, {
251
+ created: 0,
252
+ completed: 0
253
+ }, {
254
+ created: 4,
255
+ completed: 1
256
+ }, {
257
+ created: 3,
258
+ completed: 1
259
+ }, {
260
+ created: 5,
261
+ completed: 4
262
+ }, {
263
+ created: 0,
264
+ completed: 1
265
+ }, {
266
+ created: 3,
267
+ completed: 3
268
+ }, {
269
+ created: 1,
270
+ completed: 0
271
+ }, {
272
+ created: 1,
273
+ completed: 0
274
+ }, {
275
+ created: 5,
276
+ completed: 1
277
+ }, {
278
+ created: 1,
279
+ completed: 2
280
+ }, {
281
+ created: 5,
282
+ completed: 1
283
+ }, {
284
+ created: 0,
285
+ completed: 2
286
+ }, {
287
+ created: 5,
288
+ completed: 2
289
+ }, {
290
+ created: 1,
291
+ completed: 0
292
+ }, {
293
+ created: 1,
294
+ completed: 0
295
+ }, {
296
+ created: 0,
297
+ completed: 6
298
+ }, {
299
+ created: 3,
300
+ completed: 1
301
+ }, {
302
+ created: 1,
303
+ completed: 6
304
+ }, {
305
+ created: 0,
306
+ completed: 2
307
+ }, {
308
+ created: 2,
309
+ completed: 1
310
+ }, {
311
+ created: 1,
312
+ completed: 0
313
+ }, {
314
+ created: 0,
315
+ completed: 0
316
+ }, {
317
+ created: 5,
318
+ completed: 1
319
+ }, {
320
+ created: 1,
321
+ completed: 6
322
+ }, {
323
+ created: 4,
324
+ completed: 2
325
+ }, {
326
+ created: 1,
327
+ completed: 4
328
+ }, {
329
+ created: 2,
330
+ completed: 4
331
+ }, {
332
+ created: 0,
333
+ completed: 1
334
+ }, {
335
+ created: 0,
336
+ completed: 0
337
+ }, {
338
+ created: 1,
339
+ completed: 1
340
+ }, {
341
+ created: 1,
342
+ completed: 1
343
+ }, {
344
+ created: 2,
345
+ completed: 2
346
+ }, {
347
+ created: 0,
348
+ completed: 6
349
+ }, {
350
+ created: 1,
351
+ completed: 2
352
+ }, {
353
+ created: 0,
354
+ completed: 0
355
+ }, {
356
+ created: 0,
357
+ completed: 0
358
+ }, {
359
+ created: 3,
360
+ completed: 3
361
+ }, {
362
+ created: 1,
363
+ completed: 0
364
+ }, {
365
+ created: 5,
366
+ completed: 4
367
+ }, {
368
+ created: 4,
369
+ completed: 4
370
+ }, {
371
+ created: 4,
372
+ completed: 1
373
+ }, {
374
+ created: 0,
375
+ completed: 1
376
+ }, {
377
+ created: 0,
378
+ completed: 0
379
+ }, {
380
+ created: 2,
381
+ completed: 1
382
+ }, {
383
+ created: 2,
384
+ completed: 6
385
+ }, {
386
+ created: 1,
387
+ completed: 1
388
+ }, {
389
+ created: 3,
390
+ completed: 0
391
+ }, {
392
+ created: 1,
393
+ completed: 0
394
+ }, {
395
+ created: 1,
396
+ completed: 0
397
+ }, {
398
+ created: 1,
399
+ completed: 0
400
+ }, {
401
+ created: 3,
402
+ completed: 0
403
+ }, {
404
+ created: 1,
405
+ completed: 2
406
+ }, {
407
+ created: 4,
408
+ completed: 1
409
+ }, {
410
+ created: 2,
411
+ completed: 3
412
+ }, {
413
+ created: 3,
414
+ completed: 6
415
+ }, {
416
+ created: 0,
417
+ completed: 0
418
+ }, {
419
+ created: 0,
420
+ completed: 0
421
+ }, {
422
+ created: 5,
423
+ completed: 6
424
+ }, {
425
+ created: 2,
426
+ completed: 1
427
+ }];
428
+ export const DAILY_X_LABELS = ["Jul 2", "Jul 6", "Jul 10", "Jul 14", "Jul 18", "Jul 22", "Jul 26", "Jul 30", "Aug 3", "Aug 7", "Aug 11", "Aug 15", "Aug 19", "Aug 23", "Aug 27", "Aug 31", "Sep 4", "Sep 8", "Sep 12", "Sep 16", "Sep 20", "Sep 24", "Sep 28"];
429
+ export const TIME_SERIES_LABELS = ["Brand & Graphic Design", "UI Design", "Frontend Development", "Backend Development", "Project Management", "Other job types"];
430
+
431
+ /* mirrors: TotalTrackedHoursChart data, hours per month split by job type (top five + the rest) */
432
+
433
+ export const MONTHLY_TRACKED_HOURS = [{
434
+ label: "Jan",
435
+ hours: [31.83, 10.35, 31.46, 11.38, 15.42, 37.88]
436
+ }, {
437
+ label: "Feb",
438
+ hours: [21.72, 13.85, 13.28, 23.84, 12.41, 40.64]
439
+ }, {
440
+ label: "Mar",
441
+ hours: [22.33, 19.56, 45.35, 26.64, 12.74, 49.2]
442
+ }, {
443
+ label: "Apr",
444
+ hours: [10.61, 6.44, 12.62, 22.21, 5.07, 25.59]
445
+ }, {
446
+ label: "May",
447
+ hours: [39.59, 8.61, 0, 0, 2.05, 16.46]
448
+ }, {
449
+ label: "Jun",
450
+ hours: [12.38, 0, 0, 0, 2.32, 10.21]
451
+ }, {
452
+ label: "Jul",
453
+ hours: [21.01, 15.66, 19.71, 7.52, 10.27, 62.66]
454
+ }, {
455
+ label: "Aug",
456
+ hours: [243.36, 220.64, 167.97, 144.57, 108.41, 567.75]
457
+ }, {
458
+ label: "Sep",
459
+ hours: [125.94, 96.35, 100.61, 65.16, 117.18, 311.93]
460
+ }, {
461
+ label: "Oct",
462
+ hours: [0, 0, 0, 0, 0, 0]
463
+ }, {
464
+ label: "Nov",
465
+ hours: [0, 0, 0, 0, 0, 0]
466
+ }, {
467
+ label: "Dec",
468
+ hours: [0, 0, 0, 0, 0, 0]
469
+ }];
470
+
471
+ /* mirrors: TotalTrackedHoursWidget `widget-data` rows grouped by job type ({ name, value } in hours) */
472
+ export const TRACKED_HOURS_TOTAL = 3020.74;
473
+ export const TRACKED_HOURS_BY_JOB_TYPE = [{
474
+ name: "Brand & Graphic Design",
475
+ value: 528.77
476
+ }, {
477
+ name: "UI Design",
478
+ value: 391.46
479
+ }, {
480
+ name: "Frontend Development",
481
+ value: 391.0
482
+ }, {
483
+ name: "Backend Development",
484
+ value: 301.32
485
+ }, {
486
+ name: "Project Management",
487
+ value: 285.87
488
+ }, {
489
+ name: "UX Design",
490
+ value: 198.46
491
+ }, {
492
+ name: "Full-stack Development",
493
+ value: 194.82
494
+ }, {
495
+ name: "Copywriting",
496
+ value: 143.44
497
+ }, {
498
+ name: "Marketing",
499
+ value: 134.23
500
+ }, {
501
+ name: "Video Editing",
502
+ value: 131.64
503
+ }, {
504
+ name: "Motion & Animation",
505
+ value: 104.47
506
+ }, {
507
+ name: "HR & People Ops",
508
+ value: 63.18
509
+ }, {
510
+ name: "Strategy",
511
+ value: 51.17
512
+ }, {
513
+ name: "Finance & Admin",
514
+ value: 46.54
515
+ }, {
516
+ name: "SEO",
517
+ value: 45.76
518
+ }, {
519
+ name: "Editing",
520
+ value: 8.61
521
+ }];
522
+
523
+ /* mirrors: StatusWidgetWrapper widgets, hours per billable status for the period */
524
+ export const HOURS_BY_STATUS = {
525
+ nonBillable: 314.18,
526
+ billable: 756.55,
527
+ pendingPayment: 1220.8,
528
+ paid: 729.21
529
+ };
530
+
531
+ /* mirrors: LeaderboardWidget rows ({ name, value, billable } in hours) */
532
+
533
+ export const LEADERBOARD = [{
534
+ name: "Priya Anand",
535
+ value: 697.04,
536
+ billable: 697.04
537
+ }, {
538
+ name: "Daniel Osei",
539
+ value: 685.03,
540
+ billable: 685.03
541
+ }, {
542
+ name: "Joshua Reyes",
543
+ value: 377.4,
544
+ billable: 364.17
545
+ }, {
546
+ name: "Sofia Marchetti",
547
+ value: 286.4,
548
+ billable: 286.4
549
+ }, {
550
+ name: "Lucian Marsh",
551
+ value: 113.99,
552
+ billable: 6.25
553
+ }, {
554
+ name: "Pauline Fournier",
555
+ value: 97.37,
556
+ billable: 89.61
557
+ }, {
558
+ name: "Amber Doyle",
559
+ value: 77.7,
560
+ billable: 59.26
561
+ }, {
562
+ name: "Leroy Mensah",
563
+ value: 65.02,
564
+ billable: 65.02
565
+ }, {
566
+ name: "Iris Calloway",
567
+ value: 59.92,
568
+ billable: 12.75
569
+ }, {
570
+ name: "Tomás Herrera",
571
+ value: 58.47,
572
+ billable: 58.47
573
+ }];
574
+
575
+ /* mirrors: useReportUninvoiced project row (UninvoicedReportListItem `project`) */
576
+
577
+ /* mirrors: useReportUninvoiced company total (UninvoicedReportCompanyHeader `total`) */
578
+
579
+ /* mirrors: useReportUninvoiced `data[currency].companies[]` */
580
+
581
+ /* mirrors: useReportUninvoiced `data[currency]` */
582
+
583
+ export const UNINVOICED_EUR = {
584
+ total: 169861.8,
585
+ companies: [{
586
+ id: 2,
587
+ name: "Barbarian's Rags",
588
+ is_without_client: false,
589
+ total: {
590
+ count: 1,
591
+ budget: 48000,
592
+ hours: 0,
593
+ expenses: 0,
594
+ uninvoiced: 24000
595
+ },
596
+ projects: [{
597
+ id: 31,
598
+ name: "SS26 Launch Campaign",
599
+ budget: 48000,
600
+ interval: "whole_project",
601
+ type: "fixed",
602
+ expenses: 0,
603
+ hours: 0,
604
+ uninvoiced: 24000
605
+ }]
606
+ }, {
607
+ id: 22,
608
+ name: "Brightline Insurance",
609
+ is_without_client: false,
610
+ total: {
611
+ count: 1,
612
+ budget: 75000,
613
+ hours: 5.89,
614
+ expenses: 0,
615
+ uninvoiced: 559.55
616
+ },
617
+ projects: [{
618
+ id: 24,
619
+ name: "Customer Portal",
620
+ budget: 75000,
621
+ interval: "whole_project",
622
+ type: "pay_as_you_go",
623
+ expenses: 0,
624
+ hours: 5.89,
625
+ uninvoiced: 559.55
626
+ }]
627
+ }, {
628
+ id: 20,
629
+ name: "Cobalt Records",
630
+ is_without_client: false,
631
+ total: {
632
+ count: 1,
633
+ budget: 36000,
634
+ hours: 27.3,
635
+ expenses: 420,
636
+ uninvoiced: 3013.5
637
+ },
638
+ projects: [{
639
+ id: 22,
640
+ name: "Artist Microsites",
641
+ budget: 36000,
642
+ interval: "whole_project",
643
+ type: "pay_as_you_go",
644
+ expenses: 420,
645
+ hours: 27.3,
646
+ uninvoiced: 3013.5
647
+ }]
648
+ }, {
649
+ id: 25,
650
+ name: "Juniper Hotels",
651
+ is_without_client: false,
652
+ total: {
653
+ count: 1,
654
+ budget: 55000,
655
+ hours: 46.24,
656
+ expenses: 0,
657
+ uninvoiced: 4392.8
658
+ },
659
+ projects: [{
660
+ id: 28,
661
+ name: "Booking Site",
662
+ budget: 55000,
663
+ interval: "whole_project",
664
+ type: "pay_as_you_go",
665
+ expenses: 0,
666
+ hours: 46.24,
667
+ uninvoiced: 4392.8
668
+ }]
669
+ }, {
670
+ id: 24,
671
+ name: "Kestrel Aviation",
672
+ is_without_client: false,
673
+ total: {
674
+ count: 1,
675
+ budget: 65000,
676
+ hours: 41.93,
677
+ expenses: 1250,
678
+ uninvoiced: 5233.35
679
+ },
680
+ projects: [{
681
+ id: 27,
682
+ name: "Booking Portal",
683
+ budget: 65000,
684
+ interval: "whole_project",
685
+ type: "pay_as_you_go",
686
+ expenses: 1250,
687
+ hours: 41.93,
688
+ uninvoiced: 5233.35
689
+ }]
690
+ }, {
691
+ id: 3,
692
+ name: "Lumière Coffee",
693
+ is_without_client: false,
694
+ total: {
695
+ count: 1,
696
+ budget: 80000,
697
+ hours: 114.33,
698
+ expenses: 2380,
699
+ uninvoiced: 13241.35
700
+ },
701
+ projects: [{
702
+ id: 26,
703
+ name: "Loyalty & Ordering App",
704
+ budget: 80000,
705
+ interval: "whole_project",
706
+ type: "pay_as_you_go",
707
+ expenses: 2380,
708
+ hours: 114.33,
709
+ uninvoiced: 13241.35
710
+ }]
711
+ }, {
712
+ id: 14,
713
+ name: "Northwind Outfitters",
714
+ is_without_client: false,
715
+ total: {
716
+ count: 1,
717
+ budget: 3000,
718
+ hours: 7.23,
719
+ expenses: 180,
720
+ uninvoiced: 866.85
721
+ },
722
+ projects: [{
723
+ id: 33,
724
+ name: "SEO Program",
725
+ budget: 3000,
726
+ interval: "monthly",
727
+ type: "pay_as_you_go",
728
+ expenses: 180,
729
+ hours: 7.23,
730
+ uninvoiced: 866.85
731
+ }]
732
+ }, {
733
+ id: 10,
734
+ name: "Orbit Telecom",
735
+ is_without_client: false,
736
+ total: {
737
+ count: 1,
738
+ budget: 45000,
739
+ hours: 0,
740
+ expenses: 0,
741
+ uninvoiced: 27000
742
+ },
743
+ projects: [{
744
+ id: 9,
745
+ name: "Rebrand (Phase 1)",
746
+ budget: 45000,
747
+ interval: "whole_project",
748
+ type: "fixed",
749
+ expenses: 0,
750
+ hours: 0,
751
+ uninvoiced: 27000
752
+ }]
753
+ }, {
754
+ id: 19,
755
+ name: "Pulse Fitness",
756
+ is_without_client: false,
757
+ total: {
758
+ count: 1,
759
+ budget: 120000,
760
+ hours: 0,
761
+ expenses: 0,
762
+ uninvoiced: 48000
763
+ },
764
+ projects: [{
765
+ id: 20,
766
+ name: "Brand + App Launch",
767
+ budget: 120000,
768
+ interval: "whole_project",
769
+ type: "fixed",
770
+ expenses: 0,
771
+ hours: 0,
772
+ uninvoiced: 48000
773
+ }]
774
+ }, {
775
+ id: 13,
776
+ name: "Tide",
777
+ is_without_client: false,
778
+ total: {
779
+ count: 1,
780
+ budget: 60000,
781
+ hours: 19.52,
782
+ expenses: 0,
783
+ uninvoiced: 1854.4
784
+ },
785
+ projects: [{
786
+ id: 21,
787
+ name: "Design System",
788
+ budget: 60000,
789
+ interval: "whole_project",
790
+ type: "pay_as_you_go",
791
+ expenses: 0,
792
+ hours: 19.52,
793
+ uninvoiced: 1854.4
794
+ }]
795
+ }, {
796
+ id: 4,
797
+ name: "Verdano",
798
+ is_without_client: false,
799
+ total: {
800
+ count: 2,
801
+ budget: 71000,
802
+ hours: 0,
803
+ expenses: 0,
804
+ uninvoiced: 41700
805
+ },
806
+ projects: [{
807
+ id: 32,
808
+ name: "Launch Film",
809
+ budget: 55000,
810
+ interval: "whole_project",
811
+ type: "fixed",
812
+ expenses: 0,
813
+ hours: 0,
814
+ uninvoiced: 38500
815
+ }, {
816
+ id: 3,
817
+ name: "Packaging Range",
818
+ budget: 16000,
819
+ interval: "whole_project",
820
+ type: "fixed",
821
+ expenses: 0,
822
+ hours: 0,
823
+ uninvoiced: 3200
824
+ }]
825
+ }]
826
+ };
827
+
828
+ /* mirrors: payments report row (PaymentFilterResults `value.payments[]`) */
829
+
830
+ /* mirrors: payments report group (PaymentFilterResults `reports[key]`); `total` is keyed by currency id */
831
+
832
+ export const CURRENCIES = {
833
+ 1: {
834
+ code: "EUR",
835
+ decimal_spaces: 2
836
+ },
837
+ 2: {
838
+ code: "USD",
839
+ decimal_spaces: 2
840
+ }
841
+ };
842
+ export const PAYMENTS_2026 = {
843
+ label: "All Payments",
844
+ payments: [{
845
+ id: 300,
846
+ invoice_id: 180,
847
+ invoice_number: "24-2026",
848
+ company_id: 3,
849
+ company_name: "Lumière Coffee",
850
+ currency_id: 1,
851
+ currency_code: "EUR",
852
+ amount: 16000,
853
+ paid_on: "2026-09-18"
854
+ }, {
855
+ id: 301,
856
+ invoice_id: 179,
857
+ invoice_number: "23-2026",
858
+ company_id: 23,
859
+ company_name: "Cadence",
860
+ currency_id: 2,
861
+ currency_code: "USD",
862
+ amount: 12400,
863
+ paid_on: "2026-09-11"
864
+ }, {
865
+ id: 302,
866
+ invoice_id: 178,
867
+ invoice_number: "22-2026",
868
+ company_id: 19,
869
+ company_name: "Pulse Fitness",
870
+ currency_id: 1,
871
+ currency_code: "EUR",
872
+ amount: 36000,
873
+ paid_on: "2026-08-29"
874
+ }, {
875
+ id: 303,
876
+ invoice_id: 177,
877
+ invoice_number: "21-2026",
878
+ company_id: 14,
879
+ company_name: "Northwind Outfitters",
880
+ currency_id: 2,
881
+ currency_code: "USD",
882
+ amount: 18200,
883
+ paid_on: "2026-08-21"
884
+ }, {
885
+ id: 304,
886
+ invoice_id: 176,
887
+ invoice_number: "19-2026",
888
+ company_id: 24,
889
+ company_name: "Kestrel Aviation",
890
+ currency_id: 1,
891
+ currency_code: "EUR",
892
+ amount: 13000,
893
+ paid_on: "2026-08-07"
894
+ }, {
895
+ id: 305,
896
+ invoice_id: 175,
897
+ invoice_number: "18-2026",
898
+ company_id: 13,
899
+ company_name: "Tide",
900
+ currency_id: 1,
901
+ currency_code: "EUR",
902
+ amount: 9500,
903
+ paid_on: "2026-07-30"
904
+ }, {
905
+ id: 306,
906
+ invoice_id: 174,
907
+ invoice_number: "17-2026",
908
+ company_id: 28,
909
+ company_name: "Faraday Solar",
910
+ currency_id: 2,
911
+ currency_code: "USD",
912
+ amount: 7600,
913
+ paid_on: "2026-07-17"
914
+ }, {
915
+ id: 307,
916
+ invoice_id: 173,
917
+ invoice_number: "15-2026",
918
+ company_id: 25,
919
+ company_name: "Juniper Hotels",
920
+ currency_id: 1,
921
+ currency_code: "EUR",
922
+ amount: 11000,
923
+ paid_on: "2026-07-03"
924
+ }, {
925
+ id: 308,
926
+ invoice_id: 172,
927
+ invoice_number: "14-2026",
928
+ company_id: 10,
929
+ company_name: "Orbit Telecom",
930
+ currency_id: 1,
931
+ currency_code: "EUR",
932
+ amount: 18000,
933
+ paid_on: "2026-06-26"
934
+ }, {
935
+ id: 309,
936
+ invoice_id: 171,
937
+ invoice_number: "12-2026",
938
+ company_id: 4,
939
+ company_name: "Verdano",
940
+ currency_id: 1,
941
+ currency_code: "EUR",
942
+ amount: 12800,
943
+ paid_on: "2026-06-12"
944
+ }, {
945
+ id: 310,
946
+ invoice_id: 170,
947
+ invoice_number: "11-2026",
948
+ company_id: 26,
949
+ company_name: "Quokka Games",
950
+ currency_id: 1,
951
+ currency_code: "EUR",
952
+ amount: 17500,
953
+ paid_on: "2026-06-05"
954
+ }, {
955
+ id: 311,
956
+ invoice_id: 169,
957
+ invoice_number: "10-2026",
958
+ company_id: 16,
959
+ company_name: "The Daily Press",
960
+ currency_id: 2,
961
+ currency_code: "USD",
962
+ amount: 29750,
963
+ paid_on: "2026-05-29"
964
+ }, {
965
+ id: 312,
966
+ invoice_id: 168,
967
+ invoice_number: "08-2026",
968
+ company_id: 20,
969
+ company_name: "Cobalt Records",
970
+ currency_id: 1,
971
+ currency_code: "EUR",
972
+ amount: 7200,
973
+ paid_on: "2026-05-15"
974
+ }, {
975
+ id: 313,
976
+ invoice_id: 167,
977
+ invoice_number: "06-2026",
978
+ company_id: 2,
979
+ company_name: "Barbarian's Rags",
980
+ currency_id: 1,
981
+ currency_code: "EUR",
982
+ amount: 14400,
983
+ paid_on: "2026-04-30"
984
+ }, {
985
+ id: 314,
986
+ invoice_id: 166,
987
+ invoice_number: "05-2026",
988
+ company_id: 22,
989
+ company_name: "Brightline Insurance",
990
+ currency_id: 1,
991
+ currency_code: "EUR",
992
+ amount: 15000,
993
+ paid_on: "2026-04-09"
994
+ }, {
995
+ id: 315,
996
+ invoice_id: 165,
997
+ invoice_number: "03-2026",
998
+ company_id: 14,
999
+ company_name: "Northwind Outfitters",
1000
+ currency_id: 2,
1001
+ currency_code: "USD",
1002
+ amount: 15600,
1003
+ paid_on: "2026-03-20"
1004
+ }, {
1005
+ id: 316,
1006
+ invoice_id: 164,
1007
+ invoice_number: "24-2025",
1008
+ company_id: 18,
1009
+ company_name: "Hearthwood Furniture",
1010
+ currency_id: 1,
1011
+ currency_code: "EUR",
1012
+ amount: 10000,
1013
+ paid_on: "2026-01-16"
1014
+ }],
1015
+ total: {
1016
+ 1: 180400,
1017
+ 2: 83550
1018
+ }
1019
+ };
1020
+
1021
+ /* mirrors: ProjectsOverviewWidget response for the selected currency */
1022
+
1023
+ export const PROJECTS_OVERVIEW = {
1024
+ EUR: {
1025
+ completed_tasks: 105,
1026
+ total_tasks: 222,
1027
+ tracked_time: 2291.5,
1028
+ estimated_time: 2640,
1029
+ spent: 214850,
1030
+ budget: 1082000
1031
+ },
1032
+ USD: {
1033
+ completed_tasks: 105,
1034
+ total_tasks: 222,
1035
+ tracked_time: 2291.5,
1036
+ estimated_time: 2640,
1037
+ spent: 251375,
1038
+ budget: 1265940
1039
+ }
1040
+ };
1041
+
1042
+ /* mirrors: the assignments dashboard count widgets (`widget-data` totals) */
1043
+ export const ASSIGNMENT_COUNTS = {
1044
+ completedProjects: 3,
1045
+ completedTasks: 49,
1046
+ overdueTasks: 51,
1047
+ underestimatedTasks: 6,
1048
+ highPriorityTasks: 9,
1049
+ noAssignee: 0,
1050
+ withoutDueDate: 0,
1051
+ withoutEstimation: 38
1052
+ };
1053
+
1054
+ /* mirrors: useProjectsFilter response (category, client, label, leader options) */
1055
+
1056
+ export const PROJECT_FILTER_OPTIONS = {
1057
+ category: [{
1058
+ id: 1,
1059
+ name: "Brand & Identity"
1060
+ }, {
1061
+ id: 2,
1062
+ name: "Web & Product"
1063
+ }, {
1064
+ id: 3,
1065
+ name: "Motion, Video, Marketing & SEO"
1066
+ }, {
1067
+ id: 4,
1068
+ name: "Internal"
1069
+ }],
1070
+ client: [{
1071
+ id: 2,
1072
+ name: "Barbarian's Rags"
1073
+ }, {
1074
+ id: 3,
1075
+ name: "Lumière Coffee"
1076
+ }, {
1077
+ id: 4,
1078
+ name: "Verdano"
1079
+ }, {
1080
+ id: 13,
1081
+ name: "Tide"
1082
+ }, {
1083
+ id: 14,
1084
+ name: "Northwind Outfitters"
1085
+ }, {
1086
+ id: 19,
1087
+ name: "Pulse Fitness"
1088
+ }, {
1089
+ id: 24,
1090
+ name: "Kestrel Aviation"
1091
+ }, {
1092
+ id: 25,
1093
+ name: "Juniper Hotels"
1094
+ }],
1095
+ label: [{
1096
+ id: 1,
1097
+ name: "NEW BUSINESS"
1098
+ }, {
1099
+ id: 2,
1100
+ name: "RETAINER"
1101
+ }, {
1102
+ id: 3,
1103
+ name: "INTERNAL"
1104
+ }, {
1105
+ id: 4,
1106
+ name: "VIP CLIENT"
1107
+ }],
1108
+ leader: [{
1109
+ id: 5,
1110
+ name: "Daniel Osei"
1111
+ }, {
1112
+ id: 6,
1113
+ name: "Sofia Marchetti"
1114
+ }, {
1115
+ id: 3,
1116
+ name: "Joshua Reyes"
1117
+ }, {
1118
+ id: 4,
1119
+ name: "Priya Anand"
1120
+ }, {
1121
+ id: 26,
1122
+ name: "Lucian Marsh"
1123
+ }]
1124
+ };
1125
+
1126
+ /* mirrors: useDataFilterPresets response, counted per filter class */
1127
+ export const PRESET_COUNTS = {
1128
+ ProjectsFilter: 1,
1129
+ AssignmentFilter: 2,
1130
+ TrackingFilter: 2
1131
+ };
1132
+
1133
+ /* mirrors: no payload yet (availability type as AvailabilityTypes returns it: id + user-defined name, no colour) */
1134
+
1135
+ /* mirrors: no payload yet (AvailabilityRecord with working days clipped to the period) */
1136
+
1137
+ /* mirrors: no payload yet (one person row of the Availability report) */
1138
+
1139
+ /* mirrors: no payload yet (Availability report for one period) */
1140
+
1141
+ export const AVAILABILITY_TODAY = "2026-09-29";
1142
+ export const COMPANY_DAYS_OFF_2026 = ["2026-01-01", "2026-05-22", "2026-06-19", "2026-12-24", "2026-12-25", "2026-12-26", "2026-12-27", "2026-12-28", "2026-12-29", "2026-12-30", "2026-12-31"];
1143
+
1144
+ /* mirrors: no payload yet (CSV columns per Availability export format; totals adds one column per type, sorted by name) */
1145
+
1146
+ export const AVAILABILITY_EXPORT_COLUMNS = {
1147
+ totals: {
1148
+ columns: ["User ID", "User Name", "Total"],
1149
+ appendTypeColumns: true
1150
+ },
1151
+ records: {
1152
+ columns: ["Person", "Email", "Type", "Start date", "End date", "Working days", "Message", "Status"],
1153
+ appendTypeColumns: false
1154
+ }
1155
+ };
1156
+ export const AVAILABILITY_EXPORT_STATUSES = ["Past", "Current", "Upcoming"];
1157
+ export const AVAILABILITY_2026 = {
1158
+ from: "2026-01-01",
1159
+ to: "2026-12-31",
1160
+ types: [{
1161
+ id: 1,
1162
+ name: "Day Off"
1163
+ }, {
1164
+ id: 2,
1165
+ name: "Vacation"
1166
+ }, {
1167
+ id: 3,
1168
+ name: "Sick Leave"
1169
+ }, {
1170
+ id: 4,
1171
+ name: "Parental Leave"
1172
+ }],
1173
+ people: [{
1174
+ user_id: 18,
1175
+ display_name: "Charlotte Reed",
1176
+ email: "charlotte.reed@aperturestudio.example",
1177
+ days_by_type: {
1178
+ 1: 0,
1179
+ 2: 5,
1180
+ 3: 2,
1181
+ 4: 0
1182
+ },
1183
+ total: 7,
1184
+ records: [{
1185
+ id: 501,
1186
+ user_id: 18,
1187
+ availability_type_id: 2,
1188
+ start_date: "2026-04-13",
1189
+ end_date: "2026-04-17",
1190
+ message: "Annual leave",
1191
+ working_days: 5
1192
+ }, {
1193
+ id: 502,
1194
+ user_id: 18,
1195
+ availability_type_id: 3,
1196
+ start_date: "2026-09-29",
1197
+ end_date: "2026-09-30",
1198
+ message: "Out sick",
1199
+ working_days: 2
1200
+ }]
1201
+ }, {
1202
+ user_id: 5,
1203
+ display_name: "Daniel Osei",
1204
+ email: "daniel.osei@aperturestudio.example",
1205
+ days_by_type: {
1206
+ 1: 0,
1207
+ 2: 5,
1208
+ 3: 1,
1209
+ 4: 0
1210
+ },
1211
+ total: 6,
1212
+ records: [{
1213
+ id: 503,
1214
+ user_id: 5,
1215
+ availability_type_id: 2,
1216
+ start_date: "2026-05-25",
1217
+ end_date: "2026-05-29",
1218
+ message: "Annual leave",
1219
+ working_days: 5
1220
+ }, {
1221
+ id: 504,
1222
+ user_id: 5,
1223
+ availability_type_id: 3,
1224
+ start_date: "2026-09-02",
1225
+ end_date: "2026-09-02",
1226
+ message: "Out sick",
1227
+ working_days: 1
1228
+ }]
1229
+ }, {
1230
+ user_id: 14,
1231
+ display_name: "Diego Salas",
1232
+ email: "diego.salas@aperturestudio.example",
1233
+ days_by_type: {
1234
+ 1: 0,
1235
+ 2: 8,
1236
+ 3: 0,
1237
+ 4: 0
1238
+ },
1239
+ total: 8,
1240
+ records: [{
1241
+ id: 505,
1242
+ user_id: 14,
1243
+ availability_type_id: 2,
1244
+ start_date: "2026-04-20",
1245
+ end_date: "2026-04-24",
1246
+ message: "Spring break",
1247
+ working_days: 5
1248
+ }, {
1249
+ id: 506,
1250
+ user_id: 14,
1251
+ availability_type_id: 2,
1252
+ start_date: "2026-12-21",
1253
+ end_date: "2027-01-08",
1254
+ message: "Winter holiday",
1255
+ working_days: 3
1256
+ }]
1257
+ }, {
1258
+ user_id: 33,
1259
+ display_name: "Grace Bennett",
1260
+ email: "grace.bennett@aperturestudio.example",
1261
+ days_by_type: {
1262
+ 1: 0,
1263
+ 2: 5,
1264
+ 3: 2,
1265
+ 4: 0
1266
+ },
1267
+ total: 7,
1268
+ records: [{
1269
+ id: 507,
1270
+ user_id: 33,
1271
+ availability_type_id: 3,
1272
+ start_date: "2026-05-13",
1273
+ end_date: "2026-05-14",
1274
+ message: "Out sick",
1275
+ working_days: 2
1276
+ }, {
1277
+ id: 508,
1278
+ user_id: 33,
1279
+ availability_type_id: 2,
1280
+ start_date: "2026-10-19",
1281
+ end_date: "2026-10-23",
1282
+ message: "Autumn break",
1283
+ working_days: 5
1284
+ }]
1285
+ }, {
1286
+ user_id: 8,
1287
+ display_name: "Hana Kim",
1288
+ email: "hana.kim@aperturestudio.example",
1289
+ days_by_type: {
1290
+ 1: 0,
1291
+ 2: 0,
1292
+ 3: 0,
1293
+ 4: 64
1294
+ },
1295
+ total: 64,
1296
+ records: [{
1297
+ id: 509,
1298
+ user_id: 8,
1299
+ availability_type_id: 4,
1300
+ start_date: "2026-05-01",
1301
+ end_date: "2026-07-31",
1302
+ message: "Parental leave",
1303
+ working_days: 64
1304
+ }]
1305
+ }, {
1306
+ user_id: 1,
1307
+ display_name: "Iris Calloway",
1308
+ email: "iris.calloway@aperturestudio.example",
1309
+ days_by_type: {
1310
+ 1: 1,
1311
+ 2: 10,
1312
+ 3: 0,
1313
+ 4: 0
1314
+ },
1315
+ total: 11,
1316
+ records: [{
1317
+ id: 510,
1318
+ user_id: 1,
1319
+ availability_type_id: 2,
1320
+ start_date: "2026-08-03",
1321
+ end_date: "2026-08-14",
1322
+ message: "Summer holiday",
1323
+ working_days: 10
1324
+ }, {
1325
+ id: 511,
1326
+ user_id: 1,
1327
+ availability_type_id: 1,
1328
+ start_date: "2026-10-16",
1329
+ end_date: "2026-10-16",
1330
+ message: "Long weekend",
1331
+ working_days: 1
1332
+ }]
1333
+ }, {
1334
+ user_id: 22,
1335
+ display_name: "John Park",
1336
+ email: "john.park@aperturestudio.example",
1337
+ days_by_type: {
1338
+ 1: 0,
1339
+ 2: 10,
1340
+ 3: 0,
1341
+ 4: 0
1342
+ },
1343
+ total: 10,
1344
+ records: [{
1345
+ id: 512,
1346
+ user_id: 22,
1347
+ availability_type_id: 2,
1348
+ start_date: "2026-07-06",
1349
+ end_date: "2026-07-17",
1350
+ message: "Summer leave",
1351
+ working_days: 10
1352
+ }]
1353
+ }, {
1354
+ user_id: 3,
1355
+ display_name: "Joshua Reyes",
1356
+ email: "joshua.reyes@aperturestudio.example",
1357
+ days_by_type: {
1358
+ 1: 0,
1359
+ 2: 5,
1360
+ 3: 2,
1361
+ 4: 0
1362
+ },
1363
+ total: 7,
1364
+ records: [{
1365
+ id: 513,
1366
+ user_id: 3,
1367
+ availability_type_id: 3,
1368
+ start_date: "2026-02-10",
1369
+ end_date: "2026-02-11",
1370
+ message: "Out sick",
1371
+ working_days: 2
1372
+ }, {
1373
+ id: 514,
1374
+ user_id: 3,
1375
+ availability_type_id: 2,
1376
+ start_date: "2026-09-28",
1377
+ end_date: "2026-10-02",
1378
+ message: "Family trip",
1379
+ working_days: 5
1380
+ }]
1381
+ }, {
1382
+ user_id: 21,
1383
+ display_name: "Michael Novak",
1384
+ email: "michael.novak@aperturestudio.example",
1385
+ days_by_type: {
1386
+ 1: 0,
1387
+ 2: 10,
1388
+ 3: 1,
1389
+ 4: 0
1390
+ },
1391
+ total: 11,
1392
+ records: [{
1393
+ id: 515,
1394
+ user_id: 21,
1395
+ availability_type_id: 3,
1396
+ start_date: "2026-05-06",
1397
+ end_date: "2026-05-06",
1398
+ message: "Out sick",
1399
+ working_days: 1
1400
+ }, {
1401
+ id: 516,
1402
+ user_id: 21,
1403
+ availability_type_id: 2,
1404
+ start_date: "2026-08-17",
1405
+ end_date: "2026-08-28",
1406
+ message: "Summer holiday",
1407
+ working_days: 10
1408
+ }]
1409
+ }, {
1410
+ user_id: 12,
1411
+ display_name: "Noah Bergström",
1412
+ email: "noah.bergstrom@aperturestudio.example",
1413
+ days_by_type: {
1414
+ 1: 1,
1415
+ 2: 5,
1416
+ 3: 0,
1417
+ 4: 0
1418
+ },
1419
+ total: 6,
1420
+ records: [{
1421
+ id: 517,
1422
+ user_id: 12,
1423
+ availability_type_id: 2,
1424
+ start_date: "2026-04-06",
1425
+ end_date: "2026-04-10",
1426
+ message: "Annual leave",
1427
+ working_days: 5
1428
+ }, {
1429
+ id: 518,
1430
+ user_id: 12,
1431
+ availability_type_id: 1,
1432
+ start_date: "2026-09-11",
1433
+ end_date: "2026-09-11",
1434
+ message: "Personal day",
1435
+ working_days: 1
1436
+ }]
1437
+ }, {
1438
+ user_id: 10,
1439
+ display_name: "Pauline Fournier",
1440
+ email: "pauline.fournier@aperturestudio.example",
1441
+ days_by_type: {
1442
+ 1: 3,
1443
+ 2: 5,
1444
+ 3: 0,
1445
+ 4: 0
1446
+ },
1447
+ total: 8,
1448
+ records: [{
1449
+ id: 519,
1450
+ user_id: 10,
1451
+ availability_type_id: 2,
1452
+ start_date: "2026-05-11",
1453
+ end_date: "2026-05-15",
1454
+ message: "Family holiday",
1455
+ working_days: 5
1456
+ }, {
1457
+ id: 520,
1458
+ user_id: 10,
1459
+ availability_type_id: 1,
1460
+ start_date: "2026-12-21",
1461
+ end_date: "2026-12-23",
1462
+ message: "Before the winter break",
1463
+ working_days: 3
1464
+ }]
1465
+ }, {
1466
+ user_id: 4,
1467
+ display_name: "Priya Anand",
1468
+ email: "priya.anand@aperturestudio.example",
1469
+ days_by_type: {
1470
+ 1: 1,
1471
+ 2: 5,
1472
+ 3: 0,
1473
+ 4: 0
1474
+ },
1475
+ total: 6,
1476
+ records: [{
1477
+ id: 521,
1478
+ user_id: 4,
1479
+ availability_type_id: 1,
1480
+ start_date: "2026-03-13",
1481
+ end_date: "2026-03-13",
1482
+ message: "Moving house",
1483
+ working_days: 1
1484
+ }, {
1485
+ id: 522,
1486
+ user_id: 4,
1487
+ availability_type_id: 2,
1488
+ start_date: "2026-11-23",
1489
+ end_date: "2026-11-27",
1490
+ message: "Thanksgiving week",
1491
+ working_days: 5
1492
+ }]
1493
+ }, {
1494
+ user_id: 11,
1495
+ display_name: "Stephany Vega",
1496
+ email: "stephany.vega@aperturestudio.example",
1497
+ days_by_type: {
1498
+ 1: 0,
1499
+ 2: 5,
1500
+ 3: 0,
1501
+ 4: 0
1502
+ },
1503
+ total: 5,
1504
+ records: [{
1505
+ id: 523,
1506
+ user_id: 11,
1507
+ availability_type_id: 2,
1508
+ start_date: "2026-06-22",
1509
+ end_date: "2026-06-26",
1510
+ message: "Summer leave",
1511
+ working_days: 5
1512
+ }]
1513
+ }, {
1514
+ user_id: 2,
1515
+ display_name: "Theo Brandt",
1516
+ email: "theo.brandt@aperturestudio.example",
1517
+ days_by_type: {
1518
+ 1: 0,
1519
+ 2: 16,
1520
+ 3: 0,
1521
+ 4: 0
1522
+ },
1523
+ total: 16,
1524
+ records: [{
1525
+ id: 524,
1526
+ user_id: 2,
1527
+ availability_type_id: 2,
1528
+ start_date: "2025-12-29",
1529
+ end_date: "2026-01-09",
1530
+ message: "Winter holiday",
1531
+ working_days: 6
1532
+ }, {
1533
+ id: 525,
1534
+ user_id: 2,
1535
+ availability_type_id: 2,
1536
+ start_date: "2026-07-20",
1537
+ end_date: "2026-07-31",
1538
+ message: "Summer holiday",
1539
+ working_days: 10
1540
+ }]
1541
+ }],
1542
+ totals_by_type: {
1543
+ 1: 6,
1544
+ 2: 94,
1545
+ 3: 8,
1546
+ 4: 64
1547
+ },
1548
+ total: 172
1549
+ };
1550
+ export const AVAILABILITY_2026_MANY_TYPES = {
1551
+ from: "2026-01-01",
1552
+ to: "2026-12-31",
1553
+ types: [{
1554
+ id: 1,
1555
+ name: "Day Off"
1556
+ }, {
1557
+ id: 2,
1558
+ name: "Vacation"
1559
+ }, {
1560
+ id: 3,
1561
+ name: "Sick Leave"
1562
+ }, {
1563
+ id: 4,
1564
+ name: "Parental Leave"
1565
+ }, {
1566
+ id: 5,
1567
+ name: "Bereavement Leave"
1568
+ }, {
1569
+ id: 6,
1570
+ name: "Compensatory Day Off (Overtime)"
1571
+ }, {
1572
+ id: 7,
1573
+ name: "Conference and Professional Development"
1574
+ }, {
1575
+ id: 8,
1576
+ name: "Public Service / Jury Duty"
1577
+ }, {
1578
+ id: 9,
1579
+ name: "Study Leave"
1580
+ }, {
1581
+ id: 10,
1582
+ name: "Unpaid Leave"
1583
+ }],
1584
+ people: [{
1585
+ user_id: 18,
1586
+ display_name: "Charlotte Reed",
1587
+ email: "charlotte.reed@aperturestudio.example",
1588
+ days_by_type: {
1589
+ 1: 0,
1590
+ 2: 5,
1591
+ 3: 2,
1592
+ 4: 0,
1593
+ 5: 0,
1594
+ 6: 0,
1595
+ 7: 0,
1596
+ 8: 1,
1597
+ 9: 0,
1598
+ 10: 0
1599
+ },
1600
+ total: 8,
1601
+ records: [{
1602
+ id: 501,
1603
+ user_id: 18,
1604
+ availability_type_id: 2,
1605
+ start_date: "2026-04-13",
1606
+ end_date: "2026-04-17",
1607
+ message: "Annual leave",
1608
+ working_days: 5
1609
+ }, {
1610
+ id: 502,
1611
+ user_id: 18,
1612
+ availability_type_id: 3,
1613
+ start_date: "2026-09-29",
1614
+ end_date: "2026-09-30",
1615
+ message: "Out sick",
1616
+ working_days: 2
1617
+ }, {
1618
+ id: 503,
1619
+ user_id: 18,
1620
+ availability_type_id: 8,
1621
+ start_date: "2026-11-02",
1622
+ end_date: "2026-11-02",
1623
+ message: "Jury duty",
1624
+ working_days: 1
1625
+ }]
1626
+ }, {
1627
+ user_id: 5,
1628
+ display_name: "Daniel Osei",
1629
+ email: "daniel.osei@aperturestudio.example",
1630
+ days_by_type: {
1631
+ 1: 0,
1632
+ 2: 5,
1633
+ 3: 1,
1634
+ 4: 0,
1635
+ 5: 3,
1636
+ 6: 0,
1637
+ 7: 0,
1638
+ 8: 0,
1639
+ 9: 0,
1640
+ 10: 0
1641
+ },
1642
+ total: 9,
1643
+ records: [{
1644
+ id: 504,
1645
+ user_id: 5,
1646
+ availability_type_id: 5,
1647
+ start_date: "2026-03-02",
1648
+ end_date: "2026-03-04",
1649
+ message: "Family funeral",
1650
+ working_days: 3
1651
+ }, {
1652
+ id: 505,
1653
+ user_id: 5,
1654
+ availability_type_id: 2,
1655
+ start_date: "2026-05-25",
1656
+ end_date: "2026-05-29",
1657
+ message: "Annual leave",
1658
+ working_days: 5
1659
+ }, {
1660
+ id: 506,
1661
+ user_id: 5,
1662
+ availability_type_id: 3,
1663
+ start_date: "2026-09-02",
1664
+ end_date: "2026-09-02",
1665
+ message: "Out sick",
1666
+ working_days: 1
1667
+ }]
1668
+ }, {
1669
+ user_id: 14,
1670
+ display_name: "Diego Salas",
1671
+ email: "diego.salas@aperturestudio.example",
1672
+ days_by_type: {
1673
+ 1: 0,
1674
+ 2: 8,
1675
+ 3: 0,
1676
+ 4: 0,
1677
+ 5: 0,
1678
+ 6: 0,
1679
+ 7: 0,
1680
+ 8: 0,
1681
+ 9: 0,
1682
+ 10: 0
1683
+ },
1684
+ total: 8,
1685
+ records: [{
1686
+ id: 507,
1687
+ user_id: 14,
1688
+ availability_type_id: 2,
1689
+ start_date: "2026-04-20",
1690
+ end_date: "2026-04-24",
1691
+ message: "Spring break",
1692
+ working_days: 5
1693
+ }, {
1694
+ id: 508,
1695
+ user_id: 14,
1696
+ availability_type_id: 2,
1697
+ start_date: "2026-12-21",
1698
+ end_date: "2027-01-08",
1699
+ message: "Winter holiday",
1700
+ working_days: 3
1701
+ }]
1702
+ }, {
1703
+ user_id: 33,
1704
+ display_name: "Grace Bennett",
1705
+ email: "grace.bennett@aperturestudio.example",
1706
+ days_by_type: {
1707
+ 1: 0,
1708
+ 2: 5,
1709
+ 3: 2,
1710
+ 4: 0,
1711
+ 5: 0,
1712
+ 6: 0,
1713
+ 7: 0,
1714
+ 8: 0,
1715
+ 9: 0,
1716
+ 10: 5
1717
+ },
1718
+ total: 12,
1719
+ records: [{
1720
+ id: 509,
1721
+ user_id: 33,
1722
+ availability_type_id: 3,
1723
+ start_date: "2026-05-13",
1724
+ end_date: "2026-05-14",
1725
+ message: "Out sick",
1726
+ working_days: 2
1727
+ }, {
1728
+ id: 510,
1729
+ user_id: 33,
1730
+ availability_type_id: 2,
1731
+ start_date: "2026-10-19",
1732
+ end_date: "2026-10-23",
1733
+ message: "Autumn break",
1734
+ working_days: 5
1735
+ }, {
1736
+ id: 511,
1737
+ user_id: 33,
1738
+ availability_type_id: 10,
1739
+ start_date: "2026-12-14",
1740
+ end_date: "2026-12-18",
1741
+ message: "Personal matters",
1742
+ working_days: 5
1743
+ }]
1744
+ }, {
1745
+ user_id: 8,
1746
+ display_name: "Hana Kim",
1747
+ email: "hana.kim@aperturestudio.example",
1748
+ days_by_type: {
1749
+ 1: 0,
1750
+ 2: 0,
1751
+ 3: 0,
1752
+ 4: 64,
1753
+ 5: 0,
1754
+ 6: 0,
1755
+ 7: 0,
1756
+ 8: 0,
1757
+ 9: 0,
1758
+ 10: 0
1759
+ },
1760
+ total: 64,
1761
+ records: [{
1762
+ id: 512,
1763
+ user_id: 8,
1764
+ availability_type_id: 4,
1765
+ start_date: "2026-05-01",
1766
+ end_date: "2026-07-31",
1767
+ message: "Parental leave",
1768
+ working_days: 64
1769
+ }]
1770
+ }, {
1771
+ user_id: 1,
1772
+ display_name: "Iris Calloway",
1773
+ email: "iris.calloway@aperturestudio.example",
1774
+ days_by_type: {
1775
+ 1: 1,
1776
+ 2: 10,
1777
+ 3: 0,
1778
+ 4: 0,
1779
+ 5: 0,
1780
+ 6: 0,
1781
+ 7: 3,
1782
+ 8: 0,
1783
+ 9: 0,
1784
+ 10: 0
1785
+ },
1786
+ total: 14,
1787
+ records: [{
1788
+ id: 513,
1789
+ user_id: 1,
1790
+ availability_type_id: 7,
1791
+ start_date: "2026-03-16",
1792
+ end_date: "2026-03-18",
1793
+ message: "Design conference in Berlin",
1794
+ working_days: 3
1795
+ }, {
1796
+ id: 514,
1797
+ user_id: 1,
1798
+ availability_type_id: 2,
1799
+ start_date: "2026-08-03",
1800
+ end_date: "2026-08-14",
1801
+ message: "Summer holiday",
1802
+ working_days: 10
1803
+ }, {
1804
+ id: 515,
1805
+ user_id: 1,
1806
+ availability_type_id: 1,
1807
+ start_date: "2026-10-16",
1808
+ end_date: "2026-10-16",
1809
+ message: "Long weekend",
1810
+ working_days: 1
1811
+ }]
1812
+ }, {
1813
+ user_id: 22,
1814
+ display_name: "John Park",
1815
+ email: "john.park@aperturestudio.example",
1816
+ days_by_type: {
1817
+ 1: 0,
1818
+ 2: 10,
1819
+ 3: 0,
1820
+ 4: 0,
1821
+ 5: 0,
1822
+ 6: 0,
1823
+ 7: 0,
1824
+ 8: 0,
1825
+ 9: 2,
1826
+ 10: 0
1827
+ },
1828
+ total: 12,
1829
+ records: [{
1830
+ id: 516,
1831
+ user_id: 22,
1832
+ availability_type_id: 9,
1833
+ start_date: "2026-03-23",
1834
+ end_date: "2026-03-24",
1835
+ message: "Cloud certification",
1836
+ working_days: 2
1837
+ }, {
1838
+ id: 517,
1839
+ user_id: 22,
1840
+ availability_type_id: 2,
1841
+ start_date: "2026-07-06",
1842
+ end_date: "2026-07-17",
1843
+ message: "Summer leave",
1844
+ working_days: 10
1845
+ }]
1846
+ }, {
1847
+ user_id: 3,
1848
+ display_name: "Joshua Reyes",
1849
+ email: "joshua.reyes@aperturestudio.example",
1850
+ days_by_type: {
1851
+ 1: 0,
1852
+ 2: 5,
1853
+ 3: 2,
1854
+ 4: 0,
1855
+ 5: 0,
1856
+ 6: 1,
1857
+ 7: 0,
1858
+ 8: 0,
1859
+ 9: 0,
1860
+ 10: 0
1861
+ },
1862
+ total: 8,
1863
+ records: [{
1864
+ id: 518,
1865
+ user_id: 3,
1866
+ availability_type_id: 3,
1867
+ start_date: "2026-02-10",
1868
+ end_date: "2026-02-11",
1869
+ message: "Out sick",
1870
+ working_days: 2
1871
+ }, {
1872
+ id: 519,
1873
+ user_id: 3,
1874
+ availability_type_id: 6,
1875
+ start_date: "2026-06-05",
1876
+ end_date: "2026-06-05",
1877
+ message: "Overtime from the Pulse Fitness launch",
1878
+ working_days: 1
1879
+ }, {
1880
+ id: 520,
1881
+ user_id: 3,
1882
+ availability_type_id: 2,
1883
+ start_date: "2026-09-28",
1884
+ end_date: "2026-10-02",
1885
+ message: "Family trip",
1886
+ working_days: 5
1887
+ }]
1888
+ }, {
1889
+ user_id: 21,
1890
+ display_name: "Michael Novak",
1891
+ email: "michael.novak@aperturestudio.example",
1892
+ days_by_type: {
1893
+ 1: 0,
1894
+ 2: 10,
1895
+ 3: 1,
1896
+ 4: 0,
1897
+ 5: 0,
1898
+ 6: 0,
1899
+ 7: 3,
1900
+ 8: 0,
1901
+ 9: 0,
1902
+ 10: 0
1903
+ },
1904
+ total: 14,
1905
+ records: [{
1906
+ id: 521,
1907
+ user_id: 21,
1908
+ availability_type_id: 3,
1909
+ start_date: "2026-05-06",
1910
+ end_date: "2026-05-06",
1911
+ message: "Out sick",
1912
+ working_days: 1
1913
+ }, {
1914
+ id: 522,
1915
+ user_id: 21,
1916
+ availability_type_id: 7,
1917
+ start_date: "2026-06-15",
1918
+ end_date: "2026-06-17",
1919
+ message: "Frontend conference",
1920
+ working_days: 3
1921
+ }, {
1922
+ id: 523,
1923
+ user_id: 21,
1924
+ availability_type_id: 2,
1925
+ start_date: "2026-08-17",
1926
+ end_date: "2026-08-28",
1927
+ message: "Summer holiday",
1928
+ working_days: 10
1929
+ }]
1930
+ }, {
1931
+ user_id: 12,
1932
+ display_name: "Noah Bergström",
1933
+ email: "noah.bergstrom@aperturestudio.example",
1934
+ days_by_type: {
1935
+ 1: 1,
1936
+ 2: 5,
1937
+ 3: 0,
1938
+ 4: 0,
1939
+ 5: 0,
1940
+ 6: 1,
1941
+ 7: 0,
1942
+ 8: 0,
1943
+ 9: 0,
1944
+ 10: 0
1945
+ },
1946
+ total: 7,
1947
+ records: [{
1948
+ id: 524,
1949
+ user_id: 12,
1950
+ availability_type_id: 2,
1951
+ start_date: "2026-04-06",
1952
+ end_date: "2026-04-10",
1953
+ message: "Annual leave",
1954
+ working_days: 5
1955
+ }, {
1956
+ id: 525,
1957
+ user_id: 12,
1958
+ availability_type_id: 6,
1959
+ start_date: "2026-07-10",
1960
+ end_date: "2026-07-10",
1961
+ message: "Overtime from the Verdano film",
1962
+ working_days: 1
1963
+ }, {
1964
+ id: 526,
1965
+ user_id: 12,
1966
+ availability_type_id: 1,
1967
+ start_date: "2026-09-11",
1968
+ end_date: "2026-09-11",
1969
+ message: "Personal day",
1970
+ working_days: 1
1971
+ }]
1972
+ }, {
1973
+ user_id: 10,
1974
+ display_name: "Pauline Fournier",
1975
+ email: "pauline.fournier@aperturestudio.example",
1976
+ days_by_type: {
1977
+ 1: 3,
1978
+ 2: 5,
1979
+ 3: 0,
1980
+ 4: 0,
1981
+ 5: 0,
1982
+ 6: 0,
1983
+ 7: 3,
1984
+ 8: 0,
1985
+ 9: 0,
1986
+ 10: 0
1987
+ },
1988
+ total: 11,
1989
+ records: [{
1990
+ id: 527,
1991
+ user_id: 10,
1992
+ availability_type_id: 2,
1993
+ start_date: "2026-05-11",
1994
+ end_date: "2026-05-15",
1995
+ message: "Family holiday",
1996
+ working_days: 5
1997
+ }, {
1998
+ id: 528,
1999
+ user_id: 10,
2000
+ availability_type_id: 7,
2001
+ start_date: "2026-11-09",
2002
+ end_date: "2026-11-11",
2003
+ message: "UX conference in Amsterdam",
2004
+ working_days: 3
2005
+ }, {
2006
+ id: 529,
2007
+ user_id: 10,
2008
+ availability_type_id: 1,
2009
+ start_date: "2026-12-21",
2010
+ end_date: "2026-12-23",
2011
+ message: "Before the winter break",
2012
+ working_days: 3
2013
+ }]
2014
+ }, {
2015
+ user_id: 4,
2016
+ display_name: "Priya Anand",
2017
+ email: "priya.anand@aperturestudio.example",
2018
+ days_by_type: {
2019
+ 1: 1,
2020
+ 2: 5,
2021
+ 3: 0,
2022
+ 4: 0,
2023
+ 5: 0,
2024
+ 6: 0,
2025
+ 7: 0,
2026
+ 8: 0,
2027
+ 9: 2,
2028
+ 10: 0
2029
+ },
2030
+ total: 8,
2031
+ records: [{
2032
+ id: 530,
2033
+ user_id: 4,
2034
+ availability_type_id: 1,
2035
+ start_date: "2026-03-13",
2036
+ end_date: "2026-03-13",
2037
+ message: "Moving house",
2038
+ working_days: 1
2039
+ }, {
2040
+ id: 531,
2041
+ user_id: 4,
2042
+ availability_type_id: 9,
2043
+ start_date: "2026-10-26",
2044
+ end_date: "2026-10-27",
2045
+ message: "Certification exam",
2046
+ working_days: 2
2047
+ }, {
2048
+ id: 532,
2049
+ user_id: 4,
2050
+ availability_type_id: 2,
2051
+ start_date: "2026-11-23",
2052
+ end_date: "2026-11-27",
2053
+ message: "Thanksgiving week",
2054
+ working_days: 5
2055
+ }]
2056
+ }, {
2057
+ user_id: 11,
2058
+ display_name: "Stephany Vega",
2059
+ email: "stephany.vega@aperturestudio.example",
2060
+ days_by_type: {
2061
+ 1: 0,
2062
+ 2: 5,
2063
+ 3: 0,
2064
+ 4: 0,
2065
+ 5: 0,
2066
+ 6: 0,
2067
+ 7: 0,
2068
+ 8: 0,
2069
+ 9: 0,
2070
+ 10: 5
2071
+ },
2072
+ total: 10,
2073
+ records: [{
2074
+ id: 533,
2075
+ user_id: 11,
2076
+ availability_type_id: 2,
2077
+ start_date: "2026-06-22",
2078
+ end_date: "2026-06-26",
2079
+ message: "Summer leave",
2080
+ working_days: 5
2081
+ }, {
2082
+ id: 534,
2083
+ user_id: 11,
2084
+ availability_type_id: 10,
2085
+ start_date: "2026-08-24",
2086
+ end_date: "2026-08-28",
2087
+ message: "Personal matters",
2088
+ working_days: 5
2089
+ }]
2090
+ }, {
2091
+ user_id: 2,
2092
+ display_name: "Theo Brandt",
2093
+ email: "theo.brandt@aperturestudio.example",
2094
+ days_by_type: {
2095
+ 1: 0,
2096
+ 2: 16,
2097
+ 3: 0,
2098
+ 4: 0,
2099
+ 5: 0,
2100
+ 6: 0,
2101
+ 7: 0,
2102
+ 8: 2,
2103
+ 9: 0,
2104
+ 10: 0
2105
+ },
2106
+ total: 18,
2107
+ records: [{
2108
+ id: 535,
2109
+ user_id: 2,
2110
+ availability_type_id: 2,
2111
+ start_date: "2025-12-29",
2112
+ end_date: "2026-01-09",
2113
+ message: "Winter holiday",
2114
+ working_days: 6
2115
+ }, {
2116
+ id: 536,
2117
+ user_id: 2,
2118
+ availability_type_id: 8,
2119
+ start_date: "2026-02-23",
2120
+ end_date: "2026-02-24",
2121
+ message: "Jury duty",
2122
+ working_days: 2
2123
+ }, {
2124
+ id: 537,
2125
+ user_id: 2,
2126
+ availability_type_id: 2,
2127
+ start_date: "2026-07-20",
2128
+ end_date: "2026-07-31",
2129
+ message: "Summer holiday",
2130
+ working_days: 10
2131
+ }]
2132
+ }],
2133
+ totals_by_type: {
2134
+ 1: 6,
2135
+ 2: 94,
2136
+ 3: 8,
2137
+ 4: 64,
2138
+ 5: 3,
2139
+ 6: 2,
2140
+ 7: 9,
2141
+ 8: 3,
2142
+ 9: 4,
2143
+ 10: 10
2144
+ },
2145
+ total: 203
2146
+ };
2147
+
2148
+ /* mirrors: teams payload (Team id, name, members) used by TeamPicker */
2149
+
2150
+ export const AVAILABILITY_TEAMS = [{
2151
+ id: 1,
2152
+ name: "Leadership",
2153
+ members: [1, 2]
2154
+ }, {
2155
+ id: 2,
2156
+ name: "Delivery & Accounts",
2157
+ members: [3, 4, 5, 6]
2158
+ }, {
2159
+ id: 3,
2160
+ name: "Strategy",
2161
+ members: [7, 8]
2162
+ }, {
2163
+ id: 4,
2164
+ name: "Design",
2165
+ members: [9, 10, 11, 12, 13]
2166
+ }, {
2167
+ id: 5,
2168
+ name: "Motion & Video",
2169
+ members: [14, 15, 16]
2170
+ }, {
2171
+ id: 6,
2172
+ name: "Copy & Content",
2173
+ members: [17, 18, 19, 20]
2174
+ }, {
2175
+ id: 7,
2176
+ name: "Engineering",
2177
+ members: [21, 22, 23, 24, 25]
2178
+ }, {
2179
+ id: 8,
2180
+ name: "Marketing & SEO",
2181
+ members: [26, 27, 28, 29]
2182
+ }, {
2183
+ id: 9,
2184
+ name: "People & Operations",
2185
+ members: [30, 31, 32, 33, 34]
2186
+ }];
2187
+
2188
+ /* mirrors: users payload fields the UserCard reads (email, created_on, team, weekly capacity, online state) */
2189
+
2190
+ export const AVAILABILITY_PROFILES = [{
2191
+ user_id: 1,
2192
+ email: "iris.calloway@aperturestudio.example",
2193
+ extra_email_count: 1,
2194
+ joined_on: "2015-01-01",
2195
+ team_id: 1,
2196
+ weekly_capacity: 40,
2197
+ online: false
2198
+ }, {
2199
+ user_id: 2,
2200
+ email: "theo.brandt@aperturestudio.example",
2201
+ extra_email_count: 1,
2202
+ joined_on: "2024-12-23",
2203
+ team_id: 1,
2204
+ weekly_capacity: 40,
2205
+ online: false
2206
+ }, {
2207
+ user_id: 3,
2208
+ email: "joshua.reyes@aperturestudio.example",
2209
+ extra_email_count: 0,
2210
+ joined_on: "2021-12-27",
2211
+ team_id: 2,
2212
+ weekly_capacity: 40,
2213
+ online: true
2214
+ }, {
2215
+ user_id: 4,
2216
+ email: "priya.anand@aperturestudio.example",
2217
+ extra_email_count: 0,
2218
+ joined_on: "2024-01-22",
2219
+ team_id: 2,
2220
+ weekly_capacity: 40,
2221
+ online: false
2222
+ }, {
2223
+ user_id: 5,
2224
+ email: "daniel.osei@aperturestudio.example",
2225
+ extra_email_count: 0,
2226
+ joined_on: "2023-06-19",
2227
+ team_id: 2,
2228
+ weekly_capacity: 40,
2229
+ online: true
2230
+ }, {
2231
+ user_id: 8,
2232
+ email: "hana.kim@aperturestudio.example",
2233
+ extra_email_count: 0,
2234
+ joined_on: "2015-01-30",
2235
+ team_id: 3,
2236
+ weekly_capacity: 40,
2237
+ online: false
2238
+ }, {
2239
+ user_id: 10,
2240
+ email: "pauline.fournier@aperturestudio.example",
2241
+ extra_email_count: 0,
2242
+ joined_on: "2024-07-22",
2243
+ team_id: 4,
2244
+ weekly_capacity: 40,
2245
+ online: true
2246
+ }, {
2247
+ user_id: 11,
2248
+ email: "stephany.vega@aperturestudio.example",
2249
+ extra_email_count: 0,
2250
+ joined_on: "2021-12-27",
2251
+ team_id: 4,
2252
+ weekly_capacity: 40,
2253
+ online: false
2254
+ }, {
2255
+ user_id: 12,
2256
+ email: "noah.bergstrom@aperturestudio.example",
2257
+ extra_email_count: 0,
2258
+ joined_on: "2023-06-19",
2259
+ team_id: 4,
2260
+ weekly_capacity: 40,
2261
+ online: false
2262
+ }, {
2263
+ user_id: 14,
2264
+ email: "diego.salas@aperturestudio.example",
2265
+ extra_email_count: 0,
2266
+ joined_on: "2025-07-21",
2267
+ team_id: 5,
2268
+ weekly_capacity: 40,
2269
+ online: false
2270
+ }, {
2271
+ user_id: 18,
2272
+ email: "charlotte.reed@aperturestudio.example",
2273
+ extra_email_count: 0,
2274
+ joined_on: "2026-01-19",
2275
+ team_id: 6,
2276
+ weekly_capacity: 40,
2277
+ online: false
2278
+ }, {
2279
+ user_id: 21,
2280
+ email: "michael.novak@aperturestudio.example",
2281
+ extra_email_count: 0,
2282
+ joined_on: "2021-12-27",
2283
+ team_id: 7,
2284
+ weekly_capacity: 40,
2285
+ online: true
2286
+ }, {
2287
+ user_id: 22,
2288
+ email: "john.park@aperturestudio.example",
2289
+ extra_email_count: 0,
2290
+ joined_on: "2021-12-27",
2291
+ team_id: 7,
2292
+ weekly_capacity: 40,
2293
+ online: false
2294
+ }, {
2295
+ user_id: 33,
2296
+ email: "grace.bennett@aperturestudio.example",
2297
+ extra_email_count: 0,
2298
+ joined_on: "2024-12-23",
2299
+ team_id: 9,
2300
+ weekly_capacity: 40,
2301
+ online: true
2302
+ }];
2303
+ //# sourceMappingURL=data.js.map