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