web-mojo 2.1.155 → 2.1.169

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 (69) hide show
  1. package/dist/admin.cjs.js +1 -1
  2. package/dist/admin.es.js +11 -11
  3. package/dist/auth.cjs.js +1 -1
  4. package/dist/auth.cjs.js.map +1 -1
  5. package/dist/auth.es.js +3 -3
  6. package/dist/auth.es.js.map +1 -1
  7. package/dist/charts.cjs.js +1 -1
  8. package/dist/charts.es.js +2 -2
  9. package/dist/chunks/{ContextMenu-BYqSqDnS.js → ContextMenu-CbSJ91Rt.js} +2 -2
  10. package/dist/chunks/{ContextMenu-BYqSqDnS.js.map → ContextMenu-CbSJ91Rt.js.map} +1 -1
  11. package/dist/chunks/{ContextMenu-CTiHhcC3.js → ContextMenu-shmMElZ-.js} +2 -2
  12. package/dist/chunks/{ContextMenu-CTiHhcC3.js.map → ContextMenu-shmMElZ-.js.map} +1 -1
  13. package/dist/chunks/{DataView-_LXFoKxJ.js → DataView-D8Wz1eWp.js} +2 -2
  14. package/dist/chunks/{DataView-_LXFoKxJ.js.map → DataView-D8Wz1eWp.js.map} +1 -1
  15. package/dist/chunks/{DataView-BPogz9nU.js → DataView-VZI0yvWl.js} +2 -2
  16. package/dist/chunks/{DataView-BPogz9nU.js.map → DataView-VZI0yvWl.js.map} +1 -1
  17. package/dist/chunks/{Dialog-BIw4iz3W.js → Dialog-Cy-N5Prp.js} +5 -5
  18. package/dist/chunks/{Dialog-BIw4iz3W.js.map → Dialog-Cy-N5Prp.js.map} +1 -1
  19. package/dist/chunks/{Dialog-BuQrTQ7_.js → Dialog-NV1ypcgl.js} +2 -2
  20. package/dist/chunks/{Dialog-BuQrTQ7_.js.map → Dialog-NV1ypcgl.js.map} +1 -1
  21. package/dist/chunks/FilePreviewView-Bf8QCARZ.js +2 -0
  22. package/dist/chunks/FilePreviewView-Bf8QCARZ.js.map +1 -0
  23. package/dist/chunks/{FilePreviewView-_FlzNVa5.js → FilePreviewView-CAXOt9XA.js} +63 -50
  24. package/dist/chunks/FilePreviewView-CAXOt9XA.js.map +1 -0
  25. package/dist/chunks/{FormView-Bt15WWg9.js → FormView-CGoi3s6W.js} +5 -2
  26. package/dist/chunks/{FormView-Bt15WWg9.js.map → FormView-CGoi3s6W.js.map} +1 -1
  27. package/dist/chunks/{FormView-B4u2x5sM.js → FormView-Df4ZONxf.js} +2 -2
  28. package/dist/chunks/{FormView-B4u2x5sM.js.map → FormView-Df4ZONxf.js.map} +1 -1
  29. package/dist/chunks/{MetricsChart-Cb36lXZd.js → MetricsChart-8OAmP8AC.js} +2 -2
  30. package/dist/chunks/{MetricsChart-Cb36lXZd.js.map → MetricsChart-8OAmP8AC.js.map} +1 -1
  31. package/dist/chunks/{MetricsChart-BARLGpgM.js → MetricsChart-DhHLY7cp.js} +3 -3
  32. package/dist/chunks/{MetricsChart-BARLGpgM.js.map → MetricsChart-DhHLY7cp.js.map} +1 -1
  33. package/dist/chunks/{PDFViewer-CaEB4guO.js → PDFViewer-CnCtJy8R.js} +2 -2
  34. package/dist/chunks/{PDFViewer-CaEB4guO.js.map → PDFViewer-CnCtJy8R.js.map} +1 -1
  35. package/dist/chunks/{PDFViewer-DI-D8m_2.js → PDFViewer-D1CjxHNX.js} +3 -3
  36. package/dist/chunks/{PDFViewer-DI-D8m_2.js.map → PDFViewer-D1CjxHNX.js.map} +1 -1
  37. package/dist/chunks/{Page-BIFnANh8.js → Page-BjJYnhU9.js} +2 -2
  38. package/dist/chunks/{Page-BIFnANh8.js.map → Page-BjJYnhU9.js.map} +1 -1
  39. package/dist/chunks/{Page-z4XrwNu8.js → Page-c6Ihu4C8.js} +2 -2
  40. package/dist/chunks/{Page-z4XrwNu8.js.map → Page-c6Ihu4C8.js.map} +1 -1
  41. package/dist/chunks/{TopNav-Jc0GCn3h.js → TopNav-BB8v63Gb.js} +2 -2
  42. package/dist/chunks/{TopNav-Jc0GCn3h.js.map → TopNav-BB8v63Gb.js.map} +1 -1
  43. package/dist/chunks/{TopNav-BBQq3REa.js → TopNav-CrUShp9l.js} +2 -2
  44. package/dist/chunks/{TopNav-BBQq3REa.js.map → TopNav-CrUShp9l.js.map} +1 -1
  45. package/dist/chunks/{User-CsfPb7v8.js → User-Cbp-oy4Q.js} +34 -12
  46. package/dist/chunks/User-Cbp-oy4Q.js.map +1 -0
  47. package/dist/chunks/User-D39r-FW3.js +3 -0
  48. package/dist/chunks/User-D39r-FW3.js.map +1 -0
  49. package/dist/chunks/{WebApp-BV-wlnrW.js → WebApp-CnEQKRS7.js} +2 -2
  50. package/dist/chunks/{WebApp-BV-wlnrW.js.map → WebApp-CnEQKRS7.js.map} +1 -1
  51. package/dist/chunks/{WebApp-B4BbKCzq.js → WebApp-Dp42LTTA.js} +12 -12
  52. package/dist/chunks/{WebApp-B4BbKCzq.js.map → WebApp-Dp42LTTA.js.map} +1 -1
  53. package/dist/css/web-mojo.css +1 -1
  54. package/dist/docit.cjs.js +1 -1
  55. package/dist/docit.es.js +6 -6
  56. package/dist/index.cjs.js +1 -1
  57. package/dist/index.cjs.js.map +1 -1
  58. package/dist/index.es.js +59 -54
  59. package/dist/index.es.js.map +1 -1
  60. package/dist/lightbox.cjs.js +1 -1
  61. package/dist/lightbox.css +349 -311
  62. package/dist/lightbox.es.js +4 -4
  63. package/package.json +1 -1
  64. package/dist/chunks/FilePreviewView-BYGLS-TT.js +0 -2
  65. package/dist/chunks/FilePreviewView-BYGLS-TT.js.map +0 -1
  66. package/dist/chunks/FilePreviewView-_FlzNVa5.js.map +0 -1
  67. package/dist/chunks/User-Bue4ln6z.js +0 -3
  68. package/dist/chunks/User-Bue4ln6z.js.map +0 -1
  69. package/dist/chunks/User-CsfPb7v8.js.map +0 -1
package/dist/lightbox.css CHANGED
@@ -8,40 +8,40 @@
8
8
  ========================================================================== */
9
9
 
10
10
  .lightbox-component {
11
- position: relative;
12
- width: 100%;
13
- height: 100%;
14
- background: #000;
15
- overflow: hidden;
16
- font-family: var(--bs-font-sans-serif, system-ui, sans-serif);
11
+ position: relative;
12
+ width: 100%;
13
+ height: 100%;
14
+ background: #000;
15
+ overflow: hidden;
16
+ font-family: var(--bs-font-sans-serif, system-ui, sans-serif);
17
17
  }
18
18
 
19
19
  .lightbox-overlay {
20
- position: absolute;
21
- top: 0;
22
- left: 0;
23
- right: 0;
24
- bottom: 0;
25
- background: rgba(0,0,0,0.8);
26
- display: flex;
27
- align-items: center;
28
- justify-content: center;
29
- z-index: 1;
20
+ position: absolute;
21
+ top: 0;
22
+ left: 0;
23
+ right: 0;
24
+ bottom: 0;
25
+ background: rgba(0, 0, 0, 0.8);
26
+ display: flex;
27
+ align-items: center;
28
+ justify-content: center;
29
+ z-index: 1;
30
30
  }
31
31
 
32
32
  .lightbox-loading {
33
- text-align: center;
34
- color: #fff;
33
+ text-align: center;
34
+ color: #fff;
35
35
  }
36
36
 
37
37
  .lightbox-loading .spinner-border {
38
- width: 2rem;
39
- height: 2rem;
40
- margin-bottom: 1rem;
38
+ width: 2rem;
39
+ height: 2rem;
40
+ margin-bottom: 1rem;
41
41
  }
42
42
 
43
43
  .lightbox-component.loaded .lightbox-overlay {
44
- display: none;
44
+ display: none;
45
45
  }
46
46
 
47
47
  /* ==========================================================================
@@ -49,96 +49,96 @@
49
49
  ========================================================================== */
50
50
 
51
51
  .image-viewer {
52
- position: relative;
53
- width: 100%;
54
- height: 100%;
55
- background: #000;
56
- overflow: hidden;
52
+ position: relative;
53
+ width: 100%;
54
+ height: 100%;
55
+ background: #000;
56
+ overflow: hidden;
57
57
  }
58
58
 
59
59
  .image-viewer-container {
60
- position: relative;
61
- width: 100%;
62
- height: 100%;
63
- min-height: 400px;
60
+ position: relative;
61
+ width: 100%;
62
+ height: 100%;
63
+ min-height: 400px;
64
64
  }
65
65
 
66
66
  .image-viewer-content {
67
- position: relative;
68
- width: 100%;
69
- height: 100%;
70
- overflow: hidden;
71
- cursor: grab;
67
+ position: relative;
68
+ width: 100%;
69
+ height: 100%;
70
+ overflow: hidden;
71
+ cursor: grab;
72
72
  }
73
73
 
74
74
  .image-viewer-content:active {
75
- cursor: grabbing;
75
+ cursor: grabbing;
76
76
  }
77
77
 
78
78
  .image-viewer-content.dragging {
79
- cursor: grabbing;
79
+ cursor: grabbing;
80
80
  }
81
81
 
82
82
  .image-viewer-image {
83
- position: absolute;
84
- top: 50%;
85
- left: 50%;
86
- transform-origin: center center;
87
- transition: transform 0.2s ease-out;
88
- max-width: none;
89
- max-height: none;
90
- user-select: none;
91
- -webkit-user-drag: none;
92
- pointer-events: none;
83
+ position: absolute;
84
+ top: 50%;
85
+ left: 50%;
86
+ transform-origin: center center;
87
+ transition: transform 0.2s ease-out;
88
+ max-width: none;
89
+ max-height: none;
90
+ user-select: none;
91
+ -webkit-user-drag: none;
92
+ pointer-events: none;
93
93
  }
94
94
 
95
95
  .image-viewer-overlay {
96
- position: absolute;
97
- top: 0;
98
- left: 0;
99
- right: 0;
100
- bottom: 0;
101
- background: rgba(0,0,0,0.8);
102
- display: flex;
103
- align-items: center;
104
- justify-content: center;
105
- z-index: 1;
96
+ position: absolute;
97
+ top: 0;
98
+ left: 0;
99
+ right: 0;
100
+ bottom: 0;
101
+ background: rgba(0, 0, 0, 0.8);
102
+ display: flex;
103
+ align-items: center;
104
+ justify-content: center;
105
+ z-index: 1;
106
106
  }
107
107
 
108
108
  .image-viewer.loaded .image-viewer-overlay {
109
- display: none;
109
+ display: none;
110
110
  }
111
111
 
112
112
  .image-viewer-controls {
113
- position: absolute;
114
- bottom: 20px;
115
- left: 50%;
116
- transform: translateX(-50%);
117
- z-index: 10;
118
- display: flex;
119
- gap: 10px;
120
- align-items: center;
121
- background: rgba(0,0,0,0.8);
122
- padding: 8px 12px;
123
- border-radius: 6px;
124
- backdrop-filter: blur(4px);
113
+ position: absolute;
114
+ bottom: 20px;
115
+ left: 50%;
116
+ transform: translateX(-50%);
117
+ z-index: 10;
118
+ display: flex;
119
+ gap: 10px;
120
+ align-items: center;
121
+ background: rgba(0, 0, 0, 0.8);
122
+ padding: 8px 12px;
123
+ border-radius: 6px;
124
+ backdrop-filter: blur(4px);
125
125
  }
126
126
 
127
127
  .image-viewer-info {
128
- color: white;
129
- font-size: 12px;
130
- white-space: nowrap;
131
- margin-left: 10px;
128
+ color: white;
129
+ font-size: 12px;
130
+ white-space: nowrap;
131
+ margin-left: 10px;
132
132
  }
133
133
 
134
134
  .image-viewer-controls .btn {
135
- --bs-btn-border-color: rgba(255,255,255,0.2);
136
- border-color: rgba(255,255,255,0.2);
135
+ --bs-btn-border-color: rgba(255, 255, 255, 0.2);
136
+ border-color: rgba(255, 255, 255, 0.2);
137
137
  }
138
138
 
139
139
  .image-viewer-controls .btn:hover {
140
- --bs-btn-border-color: rgba(255,255,255,0.4);
141
- border-color: rgba(255,255,255,0.4);
140
+ --bs-btn-border-color: rgba(255, 255, 255, 0.4);
141
+ border-color: rgba(255, 255, 255, 0.4);
142
142
  }
143
143
 
144
144
  /* ==========================================================================
@@ -146,149 +146,185 @@
146
146
  ========================================================================== */
147
147
 
148
148
  .image-editor {
149
- display: flex;
150
- flex-direction: column;
151
- height: 100%;
152
- background: #f8f9fa;
149
+ display: flex;
150
+ flex-direction: column;
151
+ height: 100%;
152
+ background: #f8f9fa;
153
153
  }
154
154
 
155
155
  .image-editor-toolbar {
156
- padding: 8px 12px;
157
- background: white;
158
- border-bottom: 1px solid #dee2e6;
159
- flex-shrink: 0;
156
+ padding: 8px 12px;
157
+ background: white;
158
+ border-bottom: 1px solid #dee2e6;
159
+ flex-shrink: 0;
160
160
  }
161
161
 
162
162
  .image-editor-filters {
163
- background: white;
164
- border-bottom: 1px solid #dee2e6;
165
- flex-shrink: 0;
163
+ background: white;
164
+ border-bottom: 1px solid #dee2e6;
165
+ flex-shrink: 0;
166
166
  }
167
167
 
168
168
  .image-editor-filters .card {
169
- border: none;
170
- border-radius: 0;
169
+ border: none;
170
+ border-radius: 0;
171
171
  }
172
172
 
173
173
  .image-editor-workspace {
174
- flex: 1;
175
- display: flex;
176
- flex-direction: column;
177
- overflow: hidden;
174
+ flex: 1;
175
+ display: flex;
176
+ flex-direction: column;
177
+ overflow: hidden;
178
178
  }
179
179
 
180
180
  .image-editor-content {
181
- flex: 1;
182
- position: relative;
183
- background: #000;
184
- overflow: hidden;
185
- cursor: grab;
181
+ flex: 1;
182
+ position: relative;
183
+ background: #000;
184
+ overflow: hidden;
185
+ cursor: grab;
186
186
  }
187
187
 
188
188
  .image-editor-content:active {
189
- cursor: grabbing;
189
+ cursor: grabbing;
190
190
  }
191
191
 
192
192
  .image-editor-content.crop-mode {
193
- cursor: crosshair;
193
+ cursor: crosshair;
194
194
  }
195
195
 
196
196
  .image-editor-image,
197
197
  .image-editor-canvas {
198
- position: absolute;
199
- top: 50%;
200
- left: 50%;
201
- transform-origin: center center;
202
- transition: transform 0.2s ease-out;
203
- max-width: none;
204
- max-height: none;
205
- user-select: none;
206
- -webkit-user-drag: none;
198
+ position: absolute;
199
+ top: 50%;
200
+ left: 50%;
201
+ transform-origin: center center;
202
+ transition: transform 0.2s ease-out;
203
+ max-width: none;
204
+ max-height: none;
205
+ user-select: none;
206
+ -webkit-user-drag: none;
207
207
  }
208
208
 
209
209
  .image-editor-overlay {
210
- position: absolute;
211
- top: 0;
212
- left: 0;
213
- right: 0;
214
- bottom: 0;
215
- background: rgba(0,0,0,0.8);
216
- display: flex;
217
- align-items: center;
218
- justify-content: center;
219
- z-index: 1;
210
+ position: absolute;
211
+ top: 0;
212
+ left: 0;
213
+ right: 0;
214
+ bottom: 0;
215
+ background: rgba(0, 0, 0, 0.8);
216
+ display: flex;
217
+ align-items: center;
218
+ justify-content: center;
219
+ z-index: 1;
220
220
  }
221
221
 
222
222
  .image-editor.loaded .image-editor-overlay {
223
- display: none;
223
+ display: none;
224
224
  }
225
225
 
226
226
  .image-editor-status {
227
- padding: 4px 12px;
228
- background: white;
229
- border-top: 1px solid #dee2e6;
230
- flex-shrink: 0;
227
+ padding: 4px 12px;
228
+ background: white;
229
+ border-top: 1px solid #dee2e6;
230
+ flex-shrink: 0;
231
231
  }
232
232
 
233
233
  /* Crop Overlay Styles */
234
234
  .crop-overlay {
235
- position: absolute;
236
- top: 0;
237
- left: 0;
238
- right: 0;
239
- bottom: 0;
240
- z-index: 10;
235
+ position: absolute;
236
+ top: 0;
237
+ left: 0;
238
+ right: 0;
239
+ bottom: 0;
240
+ z-index: 10;
241
241
  }
242
242
 
243
243
  .crop-box {
244
- position: absolute;
245
- border: 2px solid #007bff;
246
- background: rgba(0, 123, 255, 0.1);
247
- cursor: move;
244
+ position: absolute;
245
+ border: 2px solid #007bff;
246
+ background: rgba(0, 123, 255, 0.1);
247
+ cursor: move;
248
248
  }
249
249
 
250
250
  .crop-box::before {
251
- content: '';
252
- position: absolute;
253
- top: 0;
254
- left: 0;
255
- right: 0;
256
- bottom: 0;
257
- border: 1px dashed rgba(255,255,255,0.5);
251
+ content: "";
252
+ position: absolute;
253
+ top: 0;
254
+ left: 0;
255
+ right: 0;
256
+ bottom: 0;
257
+ border: 1px dashed rgba(255, 255, 255, 0.5);
258
258
  }
259
259
 
260
260
  .crop-handle {
261
- position: absolute;
262
- width: 8px;
263
- height: 8px;
264
- background: #007bff;
265
- border: 1px solid white;
266
- border-radius: 1px;
267
- }
268
-
269
- .crop-handle-nw { top: -4px; left: -4px; cursor: nw-resize; }
270
- .crop-handle-ne { top: -4px; right: -4px; cursor: ne-resize; }
271
- .crop-handle-sw { bottom: -4px; left: -4px; cursor: sw-resize; }
272
- .crop-handle-se { bottom: -4px; right: -4px; cursor: se-resize; }
273
- .crop-handle-n { top: -4px; left: 50%; transform: translateX(-50%); cursor: n-resize; }
274
- .crop-handle-s { bottom: -4px; left: 50%; transform: translateX(-50%); cursor: s-resize; }
275
- .crop-handle-w { left: -4px; top: 50%; transform: translateY(-50%); cursor: w-resize; }
276
- .crop-handle-e { right: -4px; top: 50%; transform: translateY(-50%); cursor: e-resize; }
261
+ position: absolute;
262
+ width: 8px;
263
+ height: 8px;
264
+ background: #007bff;
265
+ border: 1px solid white;
266
+ border-radius: 1px;
267
+ }
268
+
269
+ .crop-handle-nw {
270
+ top: -4px;
271
+ left: -4px;
272
+ cursor: nw-resize;
273
+ }
274
+ .crop-handle-ne {
275
+ top: -4px;
276
+ right: -4px;
277
+ cursor: ne-resize;
278
+ }
279
+ .crop-handle-sw {
280
+ bottom: -4px;
281
+ left: -4px;
282
+ cursor: sw-resize;
283
+ }
284
+ .crop-handle-se {
285
+ bottom: -4px;
286
+ right: -4px;
287
+ cursor: se-resize;
288
+ }
289
+ .crop-handle-n {
290
+ top: -4px;
291
+ left: 50%;
292
+ transform: translateX(-50%);
293
+ cursor: n-resize;
294
+ }
295
+ .crop-handle-s {
296
+ bottom: -4px;
297
+ left: 50%;
298
+ transform: translateX(-50%);
299
+ cursor: s-resize;
300
+ }
301
+ .crop-handle-w {
302
+ left: -4px;
303
+ top: 50%;
304
+ transform: translateY(-50%);
305
+ cursor: w-resize;
306
+ }
307
+ .crop-handle-e {
308
+ right: -4px;
309
+ top: 50%;
310
+ transform: translateY(-50%);
311
+ cursor: e-resize;
312
+ }
277
313
 
278
314
  /* Filter Controls */
279
315
  .form-range::-webkit-slider-thumb {
280
- background: #007bff;
316
+ background: #007bff;
281
317
  }
282
318
 
283
319
  .form-range::-moz-range-thumb {
284
- background: #007bff;
320
+ background: #007bff;
285
321
  }
286
322
 
287
323
  /* Toolbar States */
288
324
  .btn.active {
289
- background-color: #007bff;
290
- border-color: #007bff;
291
- color: white;
325
+ background-color: #007bff;
326
+ border-color: #007bff;
327
+ color: white;
292
328
  }
293
329
 
294
330
  /* ==========================================================================
@@ -296,95 +332,95 @@
296
332
  ========================================================================== */
297
333
 
298
334
  .pdf-viewer {
299
- display: flex;
300
- flex-direction: column;
301
- height: 100%;
302
- background: #f8f9fa;
335
+ display: flex;
336
+ flex-direction: column;
337
+ height: 100%;
338
+ background: #f8f9fa;
303
339
  }
304
340
 
305
341
  .pdf-viewer-toolbar {
306
- padding: 8px 12px;
307
- background: white;
308
- border-bottom: 1px solid #dee2e6;
309
- flex-shrink: 0;
342
+ padding: 8px 12px;
343
+ background: white;
344
+ border-bottom: 1px solid #dee2e6;
345
+ flex-shrink: 0;
310
346
  }
311
347
 
312
348
  .pdf-viewer-toolbar .page-input {
313
- width: 60px;
349
+ width: 60px;
314
350
  }
315
351
 
316
352
  .pdf-viewer-toolbar .page-total {
317
- background: transparent;
318
- border-left: none;
319
- font-size: 0.8em;
353
+ background: transparent;
354
+ border-left: none;
355
+ font-size: 0.8em;
320
356
  }
321
357
 
322
358
  .pdf-viewer-content {
323
- flex: 1;
324
- position: relative;
325
- background: #525659;
326
- overflow: auto;
327
- display: flex;
328
- align-items: center;
329
- justify-content: center;
359
+ flex: 1;
360
+ position: relative;
361
+ background: #525659;
362
+ overflow: auto;
363
+ display: flex;
364
+ align-items: center;
365
+ justify-content: center;
330
366
  }
331
367
 
332
368
  .pdf-canvas-container {
333
- position: relative;
334
- background: white;
335
- box-shadow: 0 4px 12px rgba(0,0,0,0.3);
336
- margin: 20px;
369
+ position: relative;
370
+ background: white;
371
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
372
+ margin: 20px;
337
373
  }
338
374
 
339
375
  .pdf-canvas {
340
- display: block;
341
- max-width: 100%;
342
- max-height: 100%;
376
+ display: block;
377
+ max-width: 100%;
378
+ max-height: 100%;
343
379
  }
344
380
 
345
381
  .pdf-viewer-overlay {
346
- position: absolute;
347
- top: 0;
348
- left: 0;
349
- right: 0;
350
- bottom: 0;
351
- background: rgba(0,0,0,0.1);
352
- display: flex;
353
- flex-direction: column;
354
- align-items: center;
355
- justify-content: center;
356
- z-index: 1;
357
- color: #6c757d;
382
+ position: absolute;
383
+ top: 0;
384
+ left: 0;
385
+ right: 0;
386
+ bottom: 0;
387
+ background: rgba(0, 0, 0, 0.1);
388
+ display: flex;
389
+ flex-direction: column;
390
+ align-items: center;
391
+ justify-content: center;
392
+ z-index: 1;
393
+ color: #6c757d;
358
394
  }
359
395
 
360
396
  .pdf-viewer.loaded .pdf-viewer-overlay {
361
- display: none;
397
+ display: none;
362
398
  }
363
399
 
364
400
  .pdf-viewer-error {
365
- position: absolute;
366
- top: 50%;
367
- left: 50%;
368
- transform: translate(-50%, -50%);
369
- z-index: 2;
370
- min-width: 300px;
401
+ position: absolute;
402
+ top: 50%;
403
+ left: 50%;
404
+ transform: translate(-50%, -50%);
405
+ z-index: 2;
406
+ min-width: 300px;
371
407
  }
372
408
 
373
409
  .pdf-viewer-status {
374
- padding: 4px 12px;
375
- background: white;
376
- border-top: 1px solid #dee2e6;
377
- flex-shrink: 0;
410
+ padding: 4px 12px;
411
+ background: white;
412
+ border-top: 1px solid #dee2e6;
413
+ flex-shrink: 0;
378
414
  }
379
415
 
380
416
  /* PDF Loading animation */
381
417
  .pdf-viewer-loading {
382
- text-align: center;
418
+ text-align: center;
383
419
  }
384
420
 
385
421
  .pdf-viewer-loading .spinner-border {
386
- width: 2rem;
387
- height: 2rem;
422
+ width: 2rem;
423
+ height: 2rem;
388
424
  }
389
425
 
390
426
  /* ==========================================================================
@@ -392,24 +428,24 @@
392
428
  ========================================================================== */
393
429
 
394
430
  .lightbox-toolbar .btn:disabled {
395
- opacity: 0.4;
431
+ opacity: 0.4;
396
432
  }
397
433
 
398
434
  .lightbox-toolbar .btn-group {
399
- margin-right: 0.5rem;
435
+ margin-right: 0.5rem;
400
436
  }
401
437
 
402
438
  .lightbox-controls .btn {
403
- border-color: rgba(255,255,255,0.2);
439
+ border-color: rgba(255, 255, 255, 0.2);
404
440
  }
405
441
 
406
442
  .lightbox-controls .btn:hover:not(:disabled) {
407
- border-color: rgba(255,255,255,0.4);
408
- background-color: rgba(255,255,255,0.1);
443
+ border-color: rgba(255, 255, 255, 0.4);
444
+ background-color: rgba(255, 255, 255, 0.1);
409
445
  }
410
446
 
411
447
  .lightbox-controls .btn:focus {
412
- box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
448
+ box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
413
449
  }
414
450
 
415
451
  /* ==========================================================================
@@ -417,51 +453,51 @@
417
453
  ========================================================================== */
418
454
 
419
455
  @media (max-width: 768px) {
420
- .image-editor-toolbar .btn-group,
421
- .pdf-viewer-toolbar .btn-group {
422
- margin-bottom: 4px;
423
- }
424
-
425
- .image-editor-toolbar .btn-toolbar,
426
- .pdf-viewer-toolbar .btn-toolbar {
427
- flex-wrap: wrap;
428
- }
429
-
430
- .image-viewer-controls {
431
- bottom: 10px;
432
- left: 10px;
433
- right: 10px;
434
- transform: none;
435
- flex-wrap: wrap;
436
- justify-content: center;
437
- }
438
-
439
- .image-editor-filters .row {
440
- margin: 0;
441
- }
442
-
443
- .image-editor-filters .col-md-6 {
444
- margin-bottom: 1rem;
445
- }
456
+ .image-editor-toolbar .btn-group,
457
+ .pdf-viewer-toolbar .btn-group {
458
+ margin-bottom: 4px;
459
+ }
460
+
461
+ .image-editor-toolbar .btn-toolbar,
462
+ .pdf-viewer-toolbar .btn-toolbar {
463
+ flex-wrap: wrap;
464
+ }
465
+
466
+ .image-viewer-controls {
467
+ bottom: 10px;
468
+ left: 10px;
469
+ right: 10px;
470
+ transform: none;
471
+ flex-wrap: wrap;
472
+ justify-content: center;
473
+ }
474
+
475
+ .image-editor-filters .row {
476
+ margin: 0;
477
+ }
478
+
479
+ .image-editor-filters .col-md-6 {
480
+ margin-bottom: 1rem;
481
+ }
446
482
  }
447
483
 
448
484
  @media (max-width: 576px) {
449
- .lightbox-toolbar {
450
- padding: 4px 8px;
451
- }
485
+ .lightbox-toolbar {
486
+ padding: 4px 8px;
487
+ }
452
488
 
453
- .lightbox-toolbar .btn-sm {
454
- padding: 0.125rem 0.25rem;
455
- font-size: 0.75rem;
456
- }
489
+ .lightbox-toolbar .btn-sm {
490
+ padding: 0.125rem 0.25rem;
491
+ font-size: 0.75rem;
492
+ }
457
493
 
458
- .image-viewer-controls {
459
- padding: 6px 8px;
460
- }
494
+ .image-viewer-controls {
495
+ padding: 6px 8px;
496
+ }
461
497
 
462
- .image-viewer-info {
463
- font-size: 11px;
464
- }
498
+ .image-viewer-info {
499
+ font-size: 11px;
500
+ }
465
501
  }
466
502
 
467
503
  /* ==========================================================================
@@ -469,31 +505,31 @@
469
505
  ========================================================================== */
470
506
 
471
507
  .lightbox-component:focus-within {
472
- outline: 2px solid #007bff;
473
- outline-offset: 2px;
508
+ outline: 2px solid #007bff;
509
+ outline-offset: 2px;
474
510
  }
475
511
 
476
512
  .crop-handle:focus {
477
- outline: 2px solid #fff;
478
- outline-offset: 1px;
513
+ outline: 2px solid #fff;
514
+ outline-offset: 1px;
479
515
  }
480
516
 
481
517
  .lightbox-toolbar .btn:focus,
482
518
  .lightbox-controls .btn:focus {
483
- z-index: 3;
519
+ z-index: 3;
484
520
  }
485
521
 
486
522
  /* Screen reader only content */
487
523
  .sr-only {
488
- position: absolute;
489
- width: 1px;
490
- height: 1px;
491
- padding: 0;
492
- margin: -1px;
493
- overflow: hidden;
494
- clip: rect(0, 0, 0, 0);
495
- white-space: nowrap;
496
- border: 0;
524
+ position: absolute;
525
+ width: 1px;
526
+ height: 1px;
527
+ padding: 0;
528
+ margin: -1px;
529
+ overflow: hidden;
530
+ clip: rect(0, 0, 0, 0);
531
+ white-space: nowrap;
532
+ border: 0;
497
533
  }
498
534
 
499
535
  /* ==========================================================================
@@ -501,31 +537,31 @@
501
537
  ========================================================================== */
502
538
 
503
539
  @media print {
504
- .lightbox-toolbar,
505
- .lightbox-controls,
506
- .lightbox-overlay,
507
- .crop-overlay {
508
- display: none !important;
509
- }
510
-
511
- .pdf-canvas,
512
- .image-viewer-image {
513
- position: static !important;
514
- transform: none !important;
515
- max-width: 100% !important;
516
- max-height: none !important;
517
- }
518
-
519
- .lightbox-component {
520
- background: white !important;
521
- overflow: visible !important;
522
- }
540
+ .lightbox-toolbar,
541
+ .lightbox-controls,
542
+ .lightbox-overlay,
543
+ .crop-overlay {
544
+ display: none !important;
545
+ }
546
+
547
+ .pdf-canvas,
548
+ .image-viewer-image {
549
+ position: static !important;
550
+ transform: none !important;
551
+ max-width: 100% !important;
552
+ max-height: none !important;
553
+ }
554
+
555
+ .lightbox-component {
556
+ background: white !important;
557
+ overflow: visible !important;
558
+ }
523
559
  }
524
560
 
525
561
  /* ==========================================================================
526
562
  Dark Mode Support
527
563
  ========================================================================== */
528
-
564
+ /*
529
565
  @media (prefers-color-scheme: dark) {
530
566
  .image-editor,
531
567
  .pdf-viewer {
@@ -562,31 +598,33 @@
562
598
  border-color: #86b7fe;
563
599
  color: #fff;
564
600
  }
565
- }
601
+ }*/
566
602
 
567
603
  /* ==========================================================================
568
604
  Animation and Transitions
569
605
  ========================================================================== */
570
606
 
571
607
  .lightbox-component * {
572
- transition: opacity 0.2s ease-out, transform 0.2s ease-out;
608
+ transition:
609
+ opacity 0.2s ease-out,
610
+ transform 0.2s ease-out;
573
611
  }
574
612
 
575
613
  .crop-box {
576
- transition: all 0.1s ease-out;
614
+ transition: all 0.1s ease-out;
577
615
  }
578
616
 
579
617
  .lightbox-overlay {
580
- transition: opacity 0.3s ease-out;
618
+ transition: opacity 0.3s ease-out;
581
619
  }
582
620
 
583
621
  .btn {
584
- transition: all 0.15s ease-in-out;
622
+ transition: all 0.15s ease-in-out;
585
623
  }
586
624
 
587
625
  /* Smooth scrolling for PDF viewer */
588
626
  .pdf-viewer-content {
589
- scroll-behavior: smooth;
627
+ scroll-behavior: smooth;
590
628
  }
591
629
 
592
630
  /* ==========================================================================
@@ -594,13 +632,13 @@
594
632
  ========================================================================== */
595
633
 
596
634
  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
597
- .pdf-canvas {
598
- image-rendering: -webkit-optimize-contrast;
599
- image-rendering: crisp-edges;
600
- }
601
-
602
- .crop-handle {
603
- width: 10px;
604
- height: 10px;
605
- }
635
+ .pdf-canvas {
636
+ image-rendering: -webkit-optimize-contrast;
637
+ image-rendering: crisp-edges;
638
+ }
639
+
640
+ .crop-handle {
641
+ width: 10px;
642
+ height: 10px;
643
+ }
606
644
  }