web-mojo 2.1.457 → 2.1.498

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.cjs.js.map +1 -1
  3. package/dist/admin.es.js +29 -187
  4. package/dist/admin.es.js.map +1 -1
  5. package/dist/auth.cjs.js +1 -1
  6. package/dist/auth.cjs.js.map +1 -1
  7. package/dist/auth.es.js +3 -3
  8. package/dist/auth.es.js.map +1 -1
  9. package/dist/charts.cjs.js +1 -1
  10. package/dist/charts.es.js +2 -2
  11. package/dist/chat.css +392 -0
  12. package/dist/chunks/ChatView-D4ZiYBzL.js +2 -0
  13. package/dist/chunks/ChatView-D4ZiYBzL.js.map +1 -0
  14. package/dist/chunks/{FilePreviewView-Bb0x1dL3.js → ChatView-DkK2PBny.js} +620 -84
  15. package/dist/chunks/ChatView-DkK2PBny.js.map +1 -0
  16. package/dist/chunks/{ContextMenu-BMuMohZ9.js → ContextMenu-A1PxR6Zt.js} +2 -2
  17. package/dist/chunks/{ContextMenu-BMuMohZ9.js.map → ContextMenu-A1PxR6Zt.js.map} +1 -1
  18. package/dist/chunks/{ContextMenu-pXNFdhbl.js → ContextMenu-B4LTfsNs.js} +2 -2
  19. package/dist/chunks/{ContextMenu-pXNFdhbl.js.map → ContextMenu-B4LTfsNs.js.map} +1 -1
  20. package/dist/chunks/{DataView-CMd3nckm.js → DataView-BIfnT2oG.js} +2 -2
  21. package/dist/chunks/{DataView-CMd3nckm.js.map → DataView-BIfnT2oG.js.map} +1 -1
  22. package/dist/chunks/{DataView-D4G05RAV.js → DataView-DGEl3x72.js} +2 -2
  23. package/dist/chunks/{DataView-D4G05RAV.js.map → DataView-DGEl3x72.js.map} +1 -1
  24. package/dist/chunks/{Dialog-BuNPCIb4.js → Dialog-DtSluuiz.js} +5 -5
  25. package/dist/chunks/{Dialog-BuNPCIb4.js.map → Dialog-DtSluuiz.js.map} +1 -1
  26. package/dist/chunks/{Dialog-DlEYRkv-.js → Dialog-pH-ua3tF.js} +2 -2
  27. package/dist/chunks/{Dialog-DlEYRkv-.js.map → Dialog-pH-ua3tF.js.map} +1 -1
  28. package/dist/chunks/{FormView-CSBAU5VK.js → FormView-CDG8qMdU.js} +3 -3
  29. package/dist/chunks/FormView-CDG8qMdU.js.map +1 -0
  30. package/dist/chunks/{FormView-CKGDtfCk.js → FormView-DrvkHPA-.js} +99 -10
  31. package/dist/chunks/FormView-DrvkHPA-.js.map +1 -0
  32. package/dist/chunks/{MetricsChart-BdO9G_5-.js → MetricsChart-Bo0ky0UE.js} +2 -2
  33. package/dist/chunks/{MetricsChart-BdO9G_5-.js.map → MetricsChart-Bo0ky0UE.js.map} +1 -1
  34. package/dist/chunks/{MetricsChart-BDNoq2zS.js → MetricsChart-DJU0UetE.js} +3 -3
  35. package/dist/chunks/{MetricsChart-BDNoq2zS.js.map → MetricsChart-DJU0UetE.js.map} +1 -1
  36. package/dist/chunks/{PDFViewer-DdZdueyK.js → PDFViewer-8HA3oUBX.js} +2 -2
  37. package/dist/chunks/{PDFViewer-DdZdueyK.js.map → PDFViewer-8HA3oUBX.js.map} +1 -1
  38. package/dist/chunks/{PDFViewer-Ds8kDWiF.js → PDFViewer-CydWqbUF.js} +3 -3
  39. package/dist/chunks/{PDFViewer-Ds8kDWiF.js.map → PDFViewer-CydWqbUF.js.map} +1 -1
  40. package/dist/chunks/{Page-B-G-nq-K.js → Page-dP8b4UdB.js} +2 -2
  41. package/dist/chunks/{Page-B-G-nq-K.js.map → Page-dP8b4UdB.js.map} +1 -1
  42. package/dist/chunks/{Page-CsFumM60.js → Page-nrJqRb7x.js} +2 -2
  43. package/dist/chunks/{Page-CsFumM60.js.map → Page-nrJqRb7x.js.map} +1 -1
  44. package/dist/chunks/{TopNav-BwTzAU7I.js → TopNav-DfikMNXj.js} +2 -2
  45. package/dist/chunks/{TopNav-BwTzAU7I.js.map → TopNav-DfikMNXj.js.map} +1 -1
  46. package/dist/chunks/{TopNav-BzcFnFt0.js → TopNav-jh5jqV3e.js} +2 -2
  47. package/dist/chunks/{TopNav-BzcFnFt0.js.map → TopNav-jh5jqV3e.js.map} +1 -1
  48. package/dist/chunks/{WebApp-BXOZii-s.js → WebApp-BdmNWAj2.js} +28 -18
  49. package/dist/chunks/WebApp-BdmNWAj2.js.map +1 -0
  50. package/dist/chunks/WebApp-D801tYpF.js +2 -0
  51. package/dist/chunks/WebApp-D801tYpF.js.map +1 -0
  52. package/dist/css/web-mojo.css +1 -1
  53. package/dist/docit.cjs.js +1 -1
  54. package/dist/docit.es.js +5 -5
  55. package/dist/index.cjs.js +1 -1
  56. package/dist/index.cjs.js.map +1 -1
  57. package/dist/index.es.js +86 -83
  58. package/dist/index.es.js.map +1 -1
  59. package/dist/lightbox.cjs.js +1 -1
  60. package/dist/lightbox.es.js +4 -4
  61. package/package.json +2 -2
  62. package/dist/chunks/FilePreviewView-BM4SUlOg.js +0 -2
  63. package/dist/chunks/FilePreviewView-BM4SUlOg.js.map +0 -1
  64. package/dist/chunks/FilePreviewView-Bb0x1dL3.js.map +0 -1
  65. package/dist/chunks/FormView-CKGDtfCk.js.map +0 -1
  66. package/dist/chunks/FormView-CSBAU5VK.js.map +0 -1
  67. package/dist/chunks/WebApp-BXOZii-s.js.map +0 -1
  68. package/dist/chunks/WebApp-BYO0uKSI.js +0 -2
  69. package/dist/chunks/WebApp-BYO0uKSI.js.map +0 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/MetricsChart-BdO9G_5-.js"),r=require("./chunks/WebApp-BYO0uKSI.js");exports.BaseChart=e.BaseChart,exports.MetricsChart=e.MetricsChart,exports.PieChart=e.PieChart,exports.SeriesChart=e.SeriesChart,exports.BUILD_TIME=r.BUILD_TIME,exports.VERSION=r.VERSION,exports.VERSION_INFO=r.VERSION_INFO,exports.VERSION_MAJOR=r.VERSION_MAJOR,exports.VERSION_MINOR=r.VERSION_MINOR,exports.VERSION_REVISION=r.VERSION_REVISION,exports.WebApp=r.WebApp;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/MetricsChart-Bo0ky0UE.js"),r=require("./chunks/WebApp-D801tYpF.js");exports.BaseChart=e.BaseChart,exports.MetricsChart=e.MetricsChart,exports.PieChart=e.PieChart,exports.SeriesChart=e.SeriesChart,exports.BUILD_TIME=r.BUILD_TIME,exports.VERSION=r.VERSION,exports.VERSION_INFO=r.VERSION_INFO,exports.VERSION_MAJOR=r.VERSION_MAJOR,exports.VERSION_MINOR=r.VERSION_MINOR,exports.VERSION_REVISION=r.VERSION_REVISION,exports.WebApp=r.WebApp;
2
2
  //# sourceMappingURL=charts.cjs.js.map
package/dist/charts.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { B, M, P, S } from "./chunks/MetricsChart-BDNoq2zS.js";
2
- import { B as B2, b, a, c, e, f, W } from "./chunks/WebApp-BXOZii-s.js";
1
+ import { B, M, P, S } from "./chunks/MetricsChart-DJU0UetE.js";
2
+ import { B as B2, b, a, c, e, f, W } from "./chunks/WebApp-BdmNWAj2.js";
3
3
  export {
4
4
  B2 as BUILD_TIME,
5
5
  B as BaseChart,
package/dist/chat.css ADDED
@@ -0,0 +1,392 @@
1
+ /**
2
+ * MOJO Chat Component Styles
3
+ * Supports two themes: 'compact' (default) and 'bubbles'
4
+ */
5
+
6
+ /* ========================================
7
+ Base Chat Container
8
+ ======================================== */
9
+ .chat-view {
10
+ display: flex;
11
+ flex-direction: column;
12
+ height: 100%;
13
+ }
14
+
15
+ .chat-container {
16
+ display: flex;
17
+ flex-direction: column;
18
+ height: 100%;
19
+ width: 100%;
20
+ border: 1px solid #dee2e6;
21
+ border-radius: 8px;
22
+ overflow: hidden;
23
+ background: #fff;
24
+ }
25
+
26
+ .chat-messages {
27
+ flex: 1;
28
+ overflow-y: auto;
29
+ overflow-x: hidden;
30
+ padding: 20px;
31
+ background: #fff;
32
+ }
33
+
34
+ .chat-input-wrapper {
35
+ flex-shrink: 0;
36
+ }
37
+
38
+ /* ========================================
39
+ Compact Theme (Option 4 - Default)
40
+ Admin/Activity Feed Style
41
+ ======================================== */
42
+ .chat-theme-compact .message-item {
43
+ display: flex;
44
+ padding: 12px;
45
+ border-bottom: 1px solid #f1f3f5;
46
+ transition: background-color 0.15s ease;
47
+ }
48
+
49
+ .chat-theme-compact .message-item:hover {
50
+ background: #f8f9fa;
51
+ }
52
+
53
+ .chat-theme-compact .message-item:last-child {
54
+ border-bottom: none;
55
+ }
56
+
57
+ .chat-theme-compact .message-avatar {
58
+ width: 36px;
59
+ height: 36px;
60
+ border-radius: 50%;
61
+ background: #6c757d;
62
+ color: white;
63
+ display: flex;
64
+ align-items: center;
65
+ justify-content: center;
66
+ font-size: 0.8rem;
67
+ font-weight: 600;
68
+ margin-right: 12px;
69
+ flex-shrink: 0;
70
+ overflow: hidden;
71
+ }
72
+
73
+ .chat-theme-compact .message-content {
74
+ flex: 1;
75
+ min-width: 0;
76
+ }
77
+
78
+ .chat-theme-compact .message-header {
79
+ display: flex;
80
+ justify-content: space-between;
81
+ align-items: center;
82
+ margin-bottom: 4px;
83
+ gap: 8px;
84
+ }
85
+
86
+ .chat-theme-compact .message-author {
87
+ font-weight: 600;
88
+ font-size: 0.9rem;
89
+ color: #212529;
90
+ }
91
+
92
+ .chat-theme-compact .message-time {
93
+ font-size: 0.75rem;
94
+ color: #6c757d;
95
+ white-space: nowrap;
96
+ }
97
+
98
+ .chat-theme-compact .message-text {
99
+ font-size: 0.9rem;
100
+ color: #212529;
101
+ line-height: 1.5;
102
+ word-wrap: break-word;
103
+ }
104
+
105
+ /* System messages in compact theme */
106
+ .chat-theme-compact .chat-message-system {
107
+ background: #f8f9fa;
108
+ border-left: 3px solid #0d6efd;
109
+ margin: 8px 0;
110
+ padding: 8px 12px;
111
+ }
112
+
113
+ /* ========================================
114
+ Bubbles Theme (Option 1)
115
+ Modern Chat Bubbles Style
116
+ ======================================== */
117
+ .chat-theme-bubbles .chat-message {
118
+ margin-bottom: 12px;
119
+ }
120
+
121
+ .chat-theme-bubbles .message-bubble-wrapper {
122
+ display: flex;
123
+ flex-direction: column;
124
+ max-width: 70%;
125
+ }
126
+
127
+ .chat-theme-bubbles .message-left .message-bubble-wrapper {
128
+ align-items: flex-start;
129
+ }
130
+
131
+ .chat-theme-bubbles .message-right .message-bubble-wrapper {
132
+ align-items: flex-end;
133
+ margin-left: auto;
134
+ }
135
+
136
+ .chat-theme-bubbles .message-meta {
137
+ font-size: 0.75rem;
138
+ color: #6c757d;
139
+ margin-bottom: 4px;
140
+ padding: 0 4px;
141
+ }
142
+
143
+ .chat-theme-bubbles .message-right .message-meta {
144
+ text-align: right;
145
+ }
146
+
147
+ .chat-theme-bubbles .message-bubble {
148
+ padding: 10px 14px;
149
+ border-radius: 18px;
150
+ word-wrap: break-word;
151
+ max-width: 100%;
152
+ }
153
+
154
+ .chat-theme-bubbles .message-left .message-bubble {
155
+ background: #e9ecef;
156
+ color: #212529;
157
+ }
158
+
159
+ .chat-theme-bubbles .message-right .message-bubble {
160
+ background: #0d6efd;
161
+ color: white;
162
+ }
163
+
164
+ .chat-theme-bubbles .message-text {
165
+ font-size: 0.9rem;
166
+ line-height: 1.5;
167
+ }
168
+
169
+ /* System messages in bubbles theme */
170
+ .chat-theme-bubbles .chat-message-system {
171
+ max-width: 100%;
172
+ margin: 16px auto;
173
+ }
174
+
175
+ /* ========================================
176
+ Chat Input Area (Both Themes)
177
+ ======================================== */
178
+ .chat-input-view {
179
+ border-top: 1px solid #dee2e6;
180
+ background: #f8f9fa;
181
+ width: 100%;
182
+ }
183
+
184
+ .chat-input-container {
185
+ padding: 15px;
186
+ position: relative;
187
+ width: 100%;
188
+ }
189
+
190
+ .chat-input-container.drag-over {
191
+ background: #e7f3ff;
192
+ border-color: #0d6efd;
193
+ }
194
+
195
+ .chat-input-container.drag-active::before {
196
+ content: "Drop files here";
197
+ position: absolute;
198
+ top: 50%;
199
+ left: 50%;
200
+ transform: translate(-50%, -50%);
201
+ font-size: 1.2rem;
202
+ color: #0d6efd;
203
+ font-weight: 600;
204
+ pointer-events: none;
205
+ z-index: 10;
206
+ }
207
+
208
+ .chat-input-wrapper {
209
+ position: relative;
210
+ display: flex;
211
+ align-items: flex-end;
212
+ gap: 8px;
213
+ }
214
+
215
+ .chat-input {
216
+ flex: 1;
217
+ border: 1px solid #ced4da;
218
+ border-radius: 20px;
219
+ padding: 10px 15px;
220
+ resize: none;
221
+ max-height: 150px;
222
+ font-size: 0.9rem;
223
+ transition: border-color 0.15s ease;
224
+ }
225
+
226
+ .chat-input:focus {
227
+ outline: none;
228
+ border-color: #0d6efd;
229
+ box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
230
+ }
231
+
232
+ .chat-send-btn {
233
+ width: 40px;
234
+ height: 40px;
235
+ border-radius: 50%;
236
+ padding: 0;
237
+ display: flex;
238
+ align-items: center;
239
+ justify-content: center;
240
+ flex-shrink: 0;
241
+ }
242
+
243
+ .chat-send-btn i {
244
+ font-size: 1rem;
245
+ }
246
+
247
+ .chat-input-footer {
248
+ margin-top: 8px;
249
+ font-size: 0.85rem;
250
+ }
251
+
252
+ /* ========================================
253
+ File Attachments
254
+ ======================================== */
255
+ .chat-input-attachments {
256
+ margin-bottom: 10px;
257
+ }
258
+
259
+ .attachment-preview {
260
+ display: inline-flex;
261
+ align-items: center;
262
+ gap: 8px;
263
+ background: #e9ecef;
264
+ padding: 8px 12px;
265
+ border-radius: 8px;
266
+ margin-right: 8px;
267
+ margin-bottom: 8px;
268
+ font-size: 0.85rem;
269
+ }
270
+
271
+ .attachment-preview.upload-complete {
272
+ background: #d1e7dd;
273
+ }
274
+
275
+ .attachment-preview.upload-error {
276
+ background: #f8d7da;
277
+ }
278
+
279
+ .attachment-info {
280
+ display: flex;
281
+ align-items: center;
282
+ gap: 6px;
283
+ }
284
+
285
+ .attachment-name {
286
+ font-weight: 500;
287
+ max-width: 200px;
288
+ overflow: hidden;
289
+ text-overflow: ellipsis;
290
+ white-space: nowrap;
291
+ }
292
+
293
+ .attachment-size {
294
+ color: #6c757d;
295
+ font-size: 0.75rem;
296
+ }
297
+
298
+ .attachment-progress {
299
+ min-width: 100px;
300
+ }
301
+
302
+ .attachment-remove {
303
+ padding: 0;
304
+ margin: 0;
305
+ line-height: 1;
306
+ }
307
+
308
+ /* File attachments in messages */
309
+ .message-text .file-attachment,
310
+ [data-container="attachments"] .file-attachment {
311
+ display: inline-block;
312
+ margin-top: 8px;
313
+ padding: 8px 12px;
314
+ background: rgba(0, 0, 0, 0.05);
315
+ border: 1px solid rgba(0, 0, 0, 0.1);
316
+ border-radius: 8px;
317
+ font-size: 0.85rem;
318
+ transition: background-color 0.15s ease;
319
+ }
320
+
321
+ .message-text .file-attachment:hover,
322
+ [data-container="attachments"] .file-attachment:hover {
323
+ background: rgba(0, 0, 0, 0.1);
324
+ }
325
+
326
+ .message-text .file-attachment i,
327
+ [data-container="attachments"] .file-attachment i {
328
+ margin-right: 6px;
329
+ }
330
+
331
+ /* For bubbles theme, adjust file attachment styling */
332
+ .chat-theme-bubbles .message-right .file-attachment {
333
+ background: rgba(255, 255, 255, 0.2);
334
+ border-color: rgba(255, 255, 255, 0.3);
335
+ color: white;
336
+ }
337
+
338
+ /* ========================================
339
+ System Messages
340
+ ======================================== */
341
+ .chat-message-system {
342
+ text-align: center;
343
+ padding: 8px 12px;
344
+ margin: 12px 0;
345
+ }
346
+
347
+ /* ========================================
348
+ Scrollbar Styling
349
+ ======================================== */
350
+ .chat-messages::-webkit-scrollbar {
351
+ width: 8px;
352
+ }
353
+
354
+ .chat-messages::-webkit-scrollbar-track {
355
+ background: #f1f3f5;
356
+ }
357
+
358
+ .chat-messages::-webkit-scrollbar-thumb {
359
+ background: #adb5bd;
360
+ border-radius: 4px;
361
+ }
362
+
363
+ .chat-messages::-webkit-scrollbar-thumb:hover {
364
+ background: #6c757d;
365
+ }
366
+
367
+ /* ========================================
368
+ Responsive Adjustments
369
+ ======================================== */
370
+ @media (max-width: 768px) {
371
+ .chat-theme-bubbles .message-bubble-wrapper {
372
+ max-width: 85%;
373
+ }
374
+
375
+ .chat-theme-compact .message-avatar {
376
+ width: 32px;
377
+ height: 32px;
378
+ font-size: 0.75rem;
379
+ }
380
+
381
+ .attachment-name {
382
+ max-width: 150px;
383
+ }
384
+ }
385
+
386
+ /* ========================================
387
+ Utility Classes
388
+ ======================================== */
389
+ .badge-sm {
390
+ font-size: 0.7rem;
391
+ padding: 2px 6px;
392
+ }