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