@oxyhq/services 22.6.1 → 22.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +99 -77
  2. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
  3. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +33 -40
  4. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
  5. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +92 -88
  6. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
  7. package/lib/commonjs/ui/screens/FileManagementScreen.js +169 -310
  8. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  9. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +17 -14
  10. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -1
  11. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +16 -20
  12. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
  13. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +29 -12
  14. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -1
  15. package/lib/commonjs/ui/server.js +1 -1
  16. package/lib/commonjs/ui/server.js.map +1 -1
  17. package/lib/module/ui/components/fileManagement/FileViewer.js +100 -78
  18. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
  19. package/lib/module/ui/components/fileManagement/UploadPreview.js +34 -41
  20. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
  21. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +94 -90
  22. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
  23. package/lib/module/ui/screens/FileManagementScreen.js +171 -313
  24. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  25. package/lib/module/ui/screens/fileManagement/FileListSection.js +17 -14
  26. package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -1
  27. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +17 -21
  28. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
  29. package/lib/module/ui/screens/fileManagement/UploadBar.js +30 -13
  30. package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -1
  31. package/lib/module/ui/server.js +1 -1
  32. package/lib/module/ui/server.js.map +1 -1
  33. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  34. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
  35. package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
  36. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +2 -2
  37. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  38. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
  39. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
  40. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
  41. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
  42. package/lib/typescript/commonjs/ui/server.d.ts +1 -1
  43. package/lib/typescript/commonjs/ui/server.d.ts.map +1 -1
  44. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
  45. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
  46. package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
  47. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +2 -2
  48. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  49. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
  50. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
  51. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
  52. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
  53. package/lib/typescript/module/ui/server.d.ts +1 -1
  54. package/lib/typescript/module/ui/server.d.ts.map +1 -1
  55. package/package.json +1 -1
  56. package/src/ui/components/fileManagement/FileViewer.tsx +82 -68
  57. package/src/ui/components/fileManagement/UploadPreview.tsx +34 -29
  58. package/src/ui/components/photogrid/JustifiedPhotoGrid.tsx +14 -12
  59. package/src/ui/screens/FileManagementScreen.tsx +123 -300
  60. package/src/ui/screens/fileManagement/FileListSection.tsx +10 -10
  61. package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +16 -19
  62. package/src/ui/screens/fileManagement/UploadBar.tsx +29 -14
  63. package/src/ui/server.ts +1 -1
  64. package/lib/commonjs/ui/components/fileManagement/styles.js +0 -832
  65. package/lib/commonjs/ui/components/fileManagement/styles.js.map +0 -1
  66. package/lib/module/ui/components/fileManagement/styles.js +0 -828
  67. package/lib/module/ui/components/fileManagement/styles.js.map +0 -1
  68. package/lib/typescript/commonjs/ui/components/fileManagement/styles.d.ts +0 -825
  69. package/lib/typescript/commonjs/ui/components/fileManagement/styles.d.ts.map +0 -1
  70. package/lib/typescript/module/ui/components/fileManagement/styles.d.ts +0 -825
  71. package/lib/typescript/module/ui/components/fileManagement/styles.d.ts.map +0 -1
  72. package/src/ui/components/fileManagement/styles.ts +0 -823
@@ -1,823 +0,0 @@
1
- import { StyleSheet } from 'react-native';
2
-
3
- export const fileManagementStyles = StyleSheet.create({
4
- container: {
5
- flex: 1,
6
- },
7
- selectionBadge: {
8
- position: 'absolute',
9
- top: 4,
10
- right: 4,
11
- backgroundColor: 'rgba(0,0,0,0.4)',
12
- borderRadius: 12,
13
- padding: 2,
14
- },
15
- loadingMoreBar: {
16
- flexDirection: 'row',
17
- alignItems: 'center',
18
- justifyContent: 'center',
19
- paddingVertical: 12,
20
- gap: 8,
21
- },
22
- loadingMoreText: {
23
- fontSize: 13,
24
- fontWeight: '500',
25
- },
26
- header: {
27
- flexDirection: 'row',
28
- alignItems: 'center',
29
- justifyContent: 'space-between',
30
- paddingHorizontal: 16,
31
- paddingVertical: 12,
32
- borderBottomWidth: 1,
33
- position: 'relative',
34
- },
35
- backButton: {
36
- padding: 12,
37
- borderRadius: 999,
38
- alignItems: 'center',
39
- justifyContent: 'center',
40
- minWidth: 44,
41
- minHeight: 44,
42
- },
43
- headerTitleContainer: {
44
- flex: 1,
45
- alignItems: 'center',
46
- justifyContent: 'center',
47
- marginHorizontal: 16,
48
- },
49
- headerTitle: {
50
- fontSize: 22,
51
- fontWeight: '700',
52
- letterSpacing: -0.5,
53
- lineHeight: 28,
54
- },
55
- headerSubtitle: {
56
- fontSize: 13,
57
- fontWeight: '500',
58
- marginTop: 2,
59
- letterSpacing: 0.2,
60
- },
61
- uploadButton: {
62
- width: 44,
63
- height: 44,
64
- borderRadius: 22,
65
- alignItems: 'center',
66
- justifyContent: 'center',
67
- },
68
- /**
69
- * Expanded variant of the upload button shown in image-only picker mode,
70
- * where surfacing "Upload" prominently helps users when they have no files.
71
- */
72
- uploadButtonExtended: {
73
- width: 'auto',
74
- minWidth: 44,
75
- paddingHorizontal: 14,
76
- },
77
- uploadButtonContent: {
78
- flexDirection: 'row',
79
- alignItems: 'center',
80
- gap: 6,
81
- },
82
- uploadButtonLabel: {
83
- color: '#FFFFFF',
84
- fontSize: 14,
85
- fontWeight: '600',
86
- },
87
- uploadProgress: {
88
- alignItems: 'center',
89
- justifyContent: 'center',
90
- },
91
- uploadProgressText: {
92
- color: '#FFFFFF',
93
- fontSize: 10,
94
- fontWeight: '600',
95
- marginTop: 2,
96
- },
97
- uploadBannerContainer: {
98
- position: 'absolute',
99
- top: 72,
100
- left: 0,
101
- right: 0,
102
- alignItems: 'center',
103
- zIndex: 50,
104
- },
105
- uploadBanner: {
106
- flexDirection: 'row',
107
- alignItems: 'center',
108
- paddingHorizontal: 14,
109
- paddingVertical: 10,
110
- borderRadius: 24,
111
- gap: 10,
112
- borderWidth: 1,
113
- shadowColor: '#000',
114
- shadowOpacity: 0.1,
115
- shadowRadius: 6,
116
- shadowOffset: { width: 0, height: 2 },
117
- elevation: 2,
118
- minWidth: 200,
119
- },
120
- uploadBannerContent: {
121
- flex: 1,
122
- gap: 6,
123
- },
124
- uploadBannerText: {
125
- fontSize: 13,
126
- fontWeight: '500',
127
- },
128
- uploadProgressBarContainer: {
129
- height: 3,
130
- backgroundColor: 'rgba(0,0,0,0.1)',
131
- borderRadius: 2,
132
- overflow: 'hidden',
133
- },
134
- uploadProgressBar: {
135
- height: '100%',
136
- borderRadius: 2,
137
- },
138
- searchContainer: {
139
- flexDirection: 'row',
140
- alignItems: 'center',
141
- paddingHorizontal: 14,
142
- paddingVertical: 10,
143
- marginHorizontal: 12,
144
- marginTop: 0,
145
- marginBottom: 12,
146
- borderRadius: 999,
147
- gap: 10,
148
- },
149
- searchInput: {
150
- flex: 1,
151
- fontSize: 16,
152
- lineHeight: 20,
153
- },
154
- searchClearButton: {
155
- padding: 4,
156
- borderRadius: 12,
157
- alignItems: 'center',
158
- justifyContent: 'center',
159
- },
160
- statsContainer: {
161
- flexDirection: 'row',
162
- paddingHorizontal: 14,
163
- paddingVertical: 10,
164
- marginHorizontal: 12,
165
- marginTop: 0,
166
- marginBottom: 12,
167
- borderRadius: 18,
168
- },
169
- statItem: {
170
- flex: 1,
171
- alignItems: 'center',
172
- paddingVertical: 4,
173
- },
174
- statValue: {
175
- fontSize: 20,
176
- fontWeight: '800',
177
- letterSpacing: -0.5,
178
- lineHeight: 24,
179
- },
180
- statLabel: {
181
- fontSize: 12,
182
- fontWeight: '500',
183
- marginTop: 2,
184
- letterSpacing: 0.2,
185
- },
186
- scrollView: {
187
- flex: 1,
188
- },
189
- scrollContainer: {
190
- paddingHorizontal: 12,
191
- paddingTop: 0,
192
- paddingBottom: 12,
193
- },
194
- fileItem: {
195
- flexDirection: 'row',
196
- alignItems: 'center',
197
- padding: 10,
198
- marginBottom: 8,
199
- borderRadius: 10,
200
- borderWidth: 1,
201
- },
202
- fileContent: {
203
- flexDirection: 'row',
204
- alignItems: 'center',
205
- flex: 1,
206
- },
207
- fileIconContainer: {
208
- width: 50,
209
- height: 50,
210
- alignItems: 'center',
211
- justifyContent: 'center',
212
- marginRight: 12,
213
- },
214
- filePreviewContainer: {
215
- width: 52,
216
- height: 52,
217
- marginRight: 10,
218
- },
219
- filePreview: {
220
- width: '100%',
221
- height: '100%',
222
- borderRadius: 8,
223
- backgroundColor: 'transparent',
224
- alignItems: 'center',
225
- justifyContent: 'center',
226
- overflow: 'hidden',
227
- position: 'relative',
228
- },
229
- previewImage: {
230
- width: '100%',
231
- height: '100%',
232
- borderRadius: 8,
233
- },
234
- pdfPreview: {
235
- alignItems: 'center',
236
- justifyContent: 'center',
237
- width: '100%',
238
- height: '100%',
239
- backgroundColor: '#FF6B6B20',
240
- },
241
- pdfLabel: {
242
- fontSize: 8,
243
- fontWeight: 'bold',
244
- marginTop: 2,
245
- },
246
- videoPreviewWrapper: {
247
- width: '100%',
248
- height: '100%',
249
- borderRadius: 8,
250
- overflow: 'hidden',
251
- backgroundColor: '#000000',
252
- alignItems: 'center',
253
- justifyContent: 'center',
254
- },
255
- videoPosterImage: {
256
- position: 'absolute',
257
- top: 0,
258
- left: 0,
259
- right: 0,
260
- bottom: 0,
261
- width: '100%',
262
- height: '100%',
263
- },
264
- videoOverlay: {
265
- position: 'absolute',
266
- top: 0,
267
- left: 0,
268
- right: 0,
269
- bottom: 0,
270
- alignItems: 'center',
271
- justifyContent: 'center',
272
- backgroundColor: 'rgba(0,0,0,0.25)',
273
- },
274
- fallbackIcon: {
275
- position: 'absolute',
276
- top: 0,
277
- left: 0,
278
- right: 0,
279
- bottom: 0,
280
- alignItems: 'center',
281
- justifyContent: 'center',
282
- backgroundColor: 'transparent',
283
- borderRadius: 8,
284
- },
285
- groupedActions: {
286
- flexDirection: 'row',
287
- alignItems: 'center',
288
- gap: 6,
289
- marginLeft: 12,
290
- },
291
- groupedActionBtn: {
292
- width: 34,
293
- height: 34,
294
- borderRadius: 8,
295
- alignItems: 'center',
296
- justifyContent: 'center',
297
- },
298
- groupedDescription: {
299
- fontSize: 12,
300
- lineHeight: 16,
301
- marginTop: 6,
302
- },
303
- fileInfo: {
304
- flex: 1,
305
- },
306
- fileName: {
307
- fontSize: 16,
308
- fontWeight: '600',
309
- marginBottom: 4,
310
- },
311
- fileDetails: {
312
- fontSize: 14,
313
- marginBottom: 2,
314
- },
315
- fileDescription: {
316
- fontSize: 12,
317
- fontStyle: 'italic',
318
- },
319
- fileActions: {
320
- flexDirection: 'row',
321
- gap: 8,
322
- },
323
- actionButton: {
324
- width: 36,
325
- height: 36,
326
- borderRadius: 999,
327
- alignItems: 'center',
328
- justifyContent: 'center',
329
- },
330
- emptyState: {
331
- alignItems: 'center',
332
- paddingVertical: 40,
333
- paddingHorizontal: 24,
334
- },
335
- emptyStateTitle: {
336
- fontSize: 24,
337
- fontWeight: 'bold',
338
- marginTop: 16,
339
- marginBottom: 8,
340
- },
341
- emptyStateDescription: {
342
- fontSize: 16,
343
- textAlign: 'center',
344
- lineHeight: 24,
345
- marginBottom: 32,
346
- },
347
- emptyStateButton: {
348
- flexDirection: 'row',
349
- alignItems: 'center',
350
- paddingHorizontal: 24,
351
- paddingVertical: 12,
352
- borderRadius: 24,
353
- gap: 8,
354
- },
355
- emptyStateButtonText: {
356
- color: '#FFFFFF',
357
- fontSize: 16,
358
- fontWeight: '600',
359
- },
360
- modalContainer: {
361
- flex: 1,
362
- },
363
- modalHeader: {
364
- flexDirection: 'row',
365
- alignItems: 'center',
366
- justifyContent: 'space-between',
367
- paddingHorizontal: 16,
368
- paddingVertical: 12,
369
- borderBottomWidth: 1,
370
- },
371
- modalCloseButton: {
372
- padding: 8,
373
- },
374
- modalTitle: {
375
- fontSize: 18,
376
- fontWeight: '600',
377
- },
378
- modalPlaceholder: {
379
- width: 40,
380
- },
381
- modalContent: {
382
- flex: 1,
383
- padding: 16,
384
- },
385
- modalActions: {
386
- flexDirection: 'row',
387
- gap: 12,
388
- width: '100%',
389
- },
390
- modalActionButton: {
391
- flex: 1,
392
- flexDirection: 'row',
393
- alignItems: 'center',
394
- justifyContent: 'center',
395
- paddingVertical: 16,
396
- borderRadius: 12,
397
- gap: 8,
398
- },
399
- modalActionText: {
400
- color: '#FFFFFF',
401
- fontSize: 16,
402
- fontWeight: '600',
403
- },
404
- uploadPreviewContainer: {
405
- flex: 1,
406
- },
407
- uploadPreviewHeader: {
408
- flexDirection: 'row',
409
- alignItems: 'center',
410
- justifyContent: 'space-between',
411
- paddingHorizontal: 16,
412
- paddingVertical: 16,
413
- borderBottomWidth: 1,
414
- },
415
- uploadPreviewTitle: {
416
- fontSize: 20,
417
- fontWeight: '700',
418
- },
419
- uploadPreviewList: {
420
- flex: 1,
421
- padding: 16,
422
- },
423
- uploadPreviewItem: {
424
- flexDirection: 'row',
425
- alignItems: 'center',
426
- padding: 12,
427
- borderRadius: 12,
428
- borderWidth: 1,
429
- marginBottom: 12,
430
- gap: 12,
431
- },
432
- uploadPreviewThumbnail: {
433
- width: 60,
434
- height: 60,
435
- borderRadius: 8,
436
- },
437
- uploadPreviewIconContainer: {
438
- width: 60,
439
- height: 60,
440
- borderRadius: 8,
441
- alignItems: 'center',
442
- justifyContent: 'center',
443
- },
444
- uploadPreviewInfo: {
445
- flex: 1,
446
- minWidth: 0,
447
- },
448
- uploadPreviewName: {
449
- fontSize: 16,
450
- fontWeight: '600',
451
- marginBottom: 4,
452
- },
453
- uploadPreviewMeta: {
454
- fontSize: 13,
455
- },
456
- uploadPreviewRemove: {
457
- padding: 4,
458
- },
459
- uploadPreviewFooter: {
460
- padding: 16,
461
- borderTopWidth: 1,
462
- },
463
- uploadPreviewStats: {
464
- flexDirection: 'row',
465
- justifyContent: 'space-between',
466
- marginBottom: 16,
467
- },
468
- uploadPreviewStatsText: {
469
- fontSize: 15,
470
- fontWeight: '600',
471
- },
472
- uploadPreviewActions: {
473
- flexDirection: 'row',
474
- gap: 12,
475
- },
476
- uploadPreviewCancelButton: {
477
- flex: 1,
478
- paddingVertical: 14,
479
- borderRadius: 12,
480
- borderWidth: 1,
481
- alignItems: 'center',
482
- justifyContent: 'center',
483
- },
484
- uploadPreviewCancelText: {
485
- fontSize: 16,
486
- fontWeight: '600',
487
- },
488
- uploadPreviewConfirmButton: {
489
- flex: 2,
490
- flexDirection: 'row',
491
- alignItems: 'center',
492
- justifyContent: 'center',
493
- paddingVertical: 14,
494
- borderRadius: 12,
495
- gap: 8,
496
- },
497
- uploadPreviewConfirmText: {
498
- color: '#FFFFFF',
499
- fontSize: 16,
500
- fontWeight: '600',
501
- },
502
- fileViewerContainer: {
503
- flex: 1,
504
- position: 'relative',
505
- },
506
- backgroundImage: {
507
- position: 'absolute',
508
- top: 0,
509
- left: 0,
510
- right: 0,
511
- bottom: 0,
512
- width: '100%',
513
- height: '100%',
514
- zIndex: 0,
515
- },
516
- backgroundOverlay: {
517
- position: 'absolute',
518
- top: 0,
519
- left: 0,
520
- right: 0,
521
- bottom: 0,
522
- zIndex: 1,
523
- },
524
- fileViewerHeader: {
525
- flexDirection: 'row',
526
- alignItems: 'center',
527
- paddingHorizontal: 12,
528
- paddingVertical: 8,
529
- borderBottomWidth: 1,
530
- position: 'relative',
531
- zIndex: 2,
532
- },
533
- fileViewerTitleContainer: {
534
- flex: 1,
535
- marginHorizontal: 12,
536
- },
537
- fileViewerTitle: {
538
- fontSize: 18,
539
- fontWeight: '600',
540
- marginBottom: 2,
541
- },
542
- fileViewerSubtitle: {
543
- fontSize: 14,
544
- },
545
- fileViewerActions: {
546
- flexDirection: 'row',
547
- gap: 8,
548
- },
549
- fileViewerContent: {
550
- flex: 1,
551
- position: 'relative',
552
- zIndex: 2,
553
- },
554
- fileViewerContentWithDetails: {
555
- paddingBottom: 20,
556
- },
557
- fileViewerContentContainer: {
558
- flexGrow: 1,
559
- paddingHorizontal: 12,
560
- paddingTop: 0,
561
- paddingBottom: 8,
562
- },
563
- fileViewerLoading: {
564
- flex: 1,
565
- justifyContent: 'center',
566
- alignItems: 'center',
567
- },
568
- fileViewerLoadingText: {
569
- fontSize: 16,
570
- marginTop: 16,
571
- },
572
- imageContainer: {
573
- alignItems: 'center',
574
- justifyContent: 'center',
575
- flex: 1,
576
- marginTop: 56,
577
- marginBottom: 8,
578
- paddingHorizontal: 12,
579
- },
580
- imageWrapper: {
581
- borderRadius: 24,
582
- overflow: 'hidden',
583
- alignSelf: 'center',
584
- },
585
- floatingBackButton: {
586
- position: 'absolute',
587
- top: 12,
588
- left: 12,
589
- width: 40,
590
- height: 40,
591
- borderRadius: 999,
592
- alignItems: 'center',
593
- justifyContent: 'center',
594
- zIndex: 10,
595
- },
596
- floatingDownloadButton: {
597
- position: 'absolute',
598
- top: 12,
599
- right: 12,
600
- width: 40,
601
- height: 40,
602
- borderRadius: 999,
603
- alignItems: 'center',
604
- justifyContent: 'center',
605
- zIndex: 10,
606
- },
607
- textContainer: {
608
- flex: 1,
609
- borderRadius: 18,
610
- borderWidth: 0,
611
- padding: 12,
612
- minHeight: 180,
613
- maxHeight: '80%',
614
- },
615
- textContent: {
616
- fontSize: 14,
617
- fontFamily: 'monospace',
618
- lineHeight: 20,
619
- },
620
- unsupportedFileContainer: {
621
- flex: 1,
622
- justifyContent: 'center',
623
- alignItems: 'center',
624
- paddingVertical: 32,
625
- paddingHorizontal: 24,
626
- },
627
- unsupportedFileTitle: {
628
- fontSize: 24,
629
- fontWeight: 'bold',
630
- marginTop: 16,
631
- marginBottom: 8,
632
- textAlign: 'center',
633
- },
634
- unsupportedFileDescription: {
635
- fontSize: 16,
636
- textAlign: 'center',
637
- lineHeight: 24,
638
- marginBottom: 32,
639
- },
640
- downloadButtonLarge: {
641
- flexDirection: 'row',
642
- alignItems: 'center',
643
- paddingHorizontal: 18,
644
- paddingVertical: 12,
645
- borderRadius: 999,
646
- gap: 8,
647
- },
648
- downloadButtonText: {
649
- color: '#FFFFFF',
650
- fontSize: 16,
651
- fontWeight: '600',
652
- },
653
- pdfContainer: {
654
- flex: 1,
655
- alignItems: 'center',
656
- justifyContent: 'center',
657
- },
658
- mediaContainer: {
659
- flex: 1,
660
- alignItems: 'center',
661
- justifyContent: 'center',
662
- padding: 20,
663
- },
664
- unsupportedText: {
665
- fontSize: 16,
666
- textAlign: 'center',
667
- fontStyle: 'italic',
668
- },
669
- fileDetailsSection: {
670
- marginHorizontal: 12,
671
- marginTop: 8,
672
- marginBottom: 12,
673
- padding: 0,
674
- borderRadius: 18,
675
- borderWidth: 0,
676
- overflow: 'hidden',
677
- position: 'relative',
678
- zIndex: 2,
679
- },
680
- fileDetailsSectionContent: {
681
- paddingHorizontal: 12,
682
- paddingBottom: 8,
683
- },
684
- fileDetailsSectionTitle: {
685
- fontSize: 18,
686
- fontWeight: '600',
687
- flex: 1,
688
- },
689
- fileDetailsSectionHeader: {
690
- flexDirection: 'row',
691
- alignItems: 'center',
692
- justifyContent: 'space-between',
693
- paddingHorizontal: 12,
694
- paddingTop: 10,
695
- paddingBottom: 6,
696
- },
697
- fileDetailsSectionToggle: {
698
- padding: 4,
699
- },
700
- fileDetailsActions: {
701
- flexDirection: 'row',
702
- gap: 12,
703
- marginTop: 8,
704
- paddingHorizontal: 12,
705
- paddingBottom: 10,
706
- },
707
- fileDetailsActionButton: {
708
- flex: 1,
709
- flexDirection: 'row',
710
- alignItems: 'center',
711
- justifyContent: 'center',
712
- paddingVertical: 12,
713
- borderRadius: 999,
714
- gap: 6,
715
- },
716
- fileDetailsActionText: {
717
- color: '#FFFFFF',
718
- fontSize: 14,
719
- fontWeight: '600',
720
- },
721
- controlsBar: {
722
- flexDirection: 'row',
723
- alignItems: 'center',
724
- justifyContent: 'space-between',
725
- paddingHorizontal: 12,
726
- paddingTop: 12,
727
- paddingBottom: 12,
728
- gap: 12,
729
- },
730
- viewModeScroll: {
731
- flex: 1,
732
- maxWidth: '80%',
733
- },
734
- viewModeToggle: {
735
- flexDirection: 'row',
736
- borderRadius: 999,
737
- padding: 2,
738
- overflow: 'hidden',
739
- },
740
- viewModeButton: {
741
- paddingHorizontal: 10,
742
- paddingVertical: 6,
743
- borderRadius: 999,
744
- minWidth: 36,
745
- alignItems: 'center',
746
- justifyContent: 'center',
747
- marginHorizontal: 1,
748
- },
749
- sortButton: {
750
- flexDirection: 'row',
751
- alignItems: 'center',
752
- justifyContent: 'center',
753
- paddingHorizontal: 10,
754
- paddingVertical: 6,
755
- borderRadius: 999,
756
- minWidth: 36,
757
- gap: 4,
758
- },
759
- photoScrollContainer: {
760
- padding: 10,
761
- },
762
- photoItem: {
763
- borderRadius: 8,
764
- overflow: 'hidden',
765
- },
766
- photoContainer: {
767
- width: '100%',
768
- height: '100%',
769
- position: 'relative',
770
- borderRadius: 8,
771
- overflow: 'hidden',
772
- },
773
- photoImage: {
774
- width: '100%',
775
- height: '100%',
776
- },
777
- dimensionsLoadingIndicator: {
778
- flexDirection: 'row',
779
- alignItems: 'center',
780
- justifyContent: 'center',
781
- paddingVertical: 16,
782
- gap: 8,
783
- },
784
- dimensionsLoadingText: {
785
- fontSize: 14,
786
- fontStyle: 'italic',
787
- },
788
- justifiedPhotoItem: {
789
- borderRadius: 6,
790
- overflow: 'hidden',
791
- position: 'relative',
792
- },
793
- justifiedPhotoContainer: {
794
- width: '100%',
795
- height: '100%',
796
- position: 'relative',
797
- borderRadius: 6,
798
- overflow: 'hidden',
799
- backgroundColor: 'transparent',
800
- },
801
- justifiedPhotoImage: {
802
- width: '100%',
803
- height: '100%',
804
- borderRadius: 6,
805
- },
806
- simplePhotoItem: {
807
- borderRadius: 8,
808
- overflow: 'hidden',
809
- backgroundColor: 'transparent',
810
- },
811
- simplePhotoContainer: {
812
- width: '100%',
813
- height: '100%',
814
- position: 'relative',
815
- borderRadius: 8,
816
- overflow: 'hidden',
817
- },
818
- simplePhotoImage: {
819
- width: '100%',
820
- height: '100%',
821
- borderRadius: 8,
822
- },
823
- });