aizek-chatbot 1.0.23 → 1.0.25

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.
package/dist/index.css DELETED
@@ -1,1379 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- /* src/styles/index.scss */
4
- .message-container {
5
- display: flex;
6
- flex-direction: column;
7
- width: 100%;
8
- }
9
- .message-container.user {
10
- align-items: flex-end;
11
- }
12
- .message-container.assistant {
13
- align-items: flex-start;
14
- }
15
- .message-bubble {
16
- max-width: 80%;
17
- padding: 12px 16px;
18
- margin-bottom: 8px;
19
- word-wrap: break-word;
20
- line-height: 1.4;
21
- font-size: 14px;
22
- position: relative;
23
- }
24
- .message-bubble.user {
25
- border-radius: 18px 18px 4px 18px;
26
- background:
27
- linear-gradient(
28
- 135deg,
29
- #667eea 0%,
30
- #764ba2 100%);
31
- color: #ffffff;
32
- margin-left: auto;
33
- margin-right: 0;
34
- }
35
- .message-bubble.assistant {
36
- border-radius: 18px 18px 18px 4px;
37
- background: #f8fafc;
38
- color: #334155;
39
- border: 1px solid #e2e8f0;
40
- margin-left: 0;
41
- margin-right: auto;
42
- }
43
- .message-bubble .message-typing-indicator {
44
- display: inline-flex;
45
- align-items: center;
46
- margin-left: 8px;
47
- }
48
- .message-time {
49
- font-size: 11px;
50
- opacity: 0.7;
51
- margin-top: 4px;
52
- }
53
- .message-time.user {
54
- text-align: right;
55
- }
56
- .message-time.assistant {
57
- text-align: left;
58
- }
59
- .markdown-content {
60
- line-height: 1.6;
61
- word-break: break-word;
62
- }
63
- .markdown-content + .generative-ui-container {
64
- margin-top: 16px;
65
- }
66
- .markdown-content p {
67
- margin: 0 0 12px 0;
68
- line-height: 1.6;
69
- }
70
- .markdown-content p:last-child {
71
- margin-bottom: 0;
72
- }
73
- .markdown-content p:first-child {
74
- margin-top: 0;
75
- }
76
- .markdown-content a {
77
- color: #667eea;
78
- text-decoration: none;
79
- transition: all 0.15s ease;
80
- font-weight: 500;
81
- border-bottom: 1px solid transparent;
82
- }
83
- .markdown-content a:hover {
84
- color: #764ba2;
85
- border-bottom-color: #764ba2;
86
- }
87
- .markdown-content ul,
88
- .markdown-content ol {
89
- margin: 12px 0;
90
- padding-left: 20px;
91
- }
92
- .markdown-content ul {
93
- list-style: none;
94
- padding-left: 0;
95
- }
96
- .markdown-content ol {
97
- list-style: decimal;
98
- }
99
- .markdown-content li {
100
- margin-bottom: 8px;
101
- line-height: 1.6;
102
- position: relative;
103
- padding-left: 20px;
104
- }
105
- .markdown-content li:last-child {
106
- margin-bottom: 0;
107
- }
108
- .markdown-content li::before {
109
- content: "\2022";
110
- position: absolute;
111
- left: 0;
112
- color: #667eea;
113
- font-weight: bold;
114
- font-size: 16px;
115
- }
116
- .markdown-content li ul,
117
- .markdown-content li ol {
118
- margin-top: 4px;
119
- margin-bottom: 4px;
120
- }
121
- .markdown-content ol li {
122
- padding-left: 0;
123
- }
124
- .markdown-content ol li::before {
125
- content: none;
126
- }
127
- .markdown-content code {
128
- background: rgba(102, 126, 234, 0.1);
129
- color: #764ba2;
130
- padding: 2px 6px;
131
- border-radius: 4px;
132
- font-family:
133
- "Monaco",
134
- "Menlo",
135
- "Ubuntu Mono",
136
- "Courier New",
137
- monospace;
138
- font-size: 0.9em;
139
- border: 1px solid rgba(102, 126, 234, 0.2);
140
- }
141
- .markdown-content pre {
142
- background: #f8fafc;
143
- padding: 12px 16px;
144
- border-radius: 8px;
145
- overflow-x: auto;
146
- margin: 12px 0;
147
- border: 1px solid #e2e8f0;
148
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
149
- }
150
- .markdown-content pre code {
151
- background: none;
152
- padding: 0;
153
- border: none;
154
- color: #1e293b;
155
- font-size: 12px;
156
- line-height: 1.5;
157
- }
158
- .markdown-content strong,
159
- .markdown-content b {
160
- font-weight: 600;
161
- color: inherit;
162
- }
163
- .markdown-content em,
164
- .markdown-content i {
165
- font-style: italic;
166
- }
167
- .markdown-content h1,
168
- .markdown-content h2,
169
- .markdown-content h3,
170
- .markdown-content h4,
171
- .markdown-content h5,
172
- .markdown-content h6 {
173
- margin: 16px 0 8px 0;
174
- font-weight: 600;
175
- line-height: 1.4;
176
- color: inherit;
177
- }
178
- .markdown-content h1:first-child,
179
- .markdown-content h2:first-child,
180
- .markdown-content h3:first-child,
181
- .markdown-content h4:first-child,
182
- .markdown-content h5:first-child,
183
- .markdown-content h6:first-child {
184
- margin-top: 0;
185
- }
186
- .markdown-content h1 {
187
- font-size: 18px;
188
- border-bottom: 2px solid #e2e8f0;
189
- padding-bottom: 8px;
190
- }
191
- .markdown-content h2 {
192
- font-size: 16px;
193
- }
194
- .markdown-content h3 {
195
- font-size: 15px;
196
- }
197
- .markdown-content h4,
198
- .markdown-content h5,
199
- .markdown-content h6 {
200
- font-size: 14px;
201
- }
202
- .markdown-content blockquote {
203
- border-left: 3px solid #667eea;
204
- padding-left: 12px;
205
- margin: 12px 0;
206
- color: inherit;
207
- opacity: 0.9;
208
- font-style: italic;
209
- background: rgba(102, 126, 234, 0.05);
210
- padding: 8px 12px;
211
- border-radius: 0 4px 4px 0;
212
- }
213
- .markdown-content blockquote p {
214
- margin: 0;
215
- }
216
- .markdown-content hr {
217
- border: none;
218
- border-top: 1px solid #e2e8f0;
219
- margin: 16px 0;
220
- }
221
- .markdown-content table {
222
- border-collapse: collapse;
223
- width: 100%;
224
- margin: 12px 0;
225
- font-size: 12px;
226
- border-radius: 8px;
227
- overflow: hidden;
228
- border: 1px solid #e2e8f0;
229
- }
230
- .markdown-content th,
231
- .markdown-content td {
232
- padding: 10px 12px;
233
- text-align: left;
234
- border-bottom: 1px solid #e2e8f0;
235
- }
236
- .markdown-content th {
237
- background: #f1f5f9;
238
- font-weight: 600;
239
- color: #1e293b;
240
- border-bottom: 2px solid #cbd5e1;
241
- }
242
- .markdown-content tr:last-child td {
243
- border-bottom: none;
244
- }
245
- .markdown-content tbody tr {
246
- transition: background-color 0.15s ease;
247
- }
248
- .markdown-content tbody tr:hover {
249
- background-color: rgba(102, 126, 234, 0.05);
250
- }
251
- .markdown-content img {
252
- max-width: 100%;
253
- height: auto;
254
- border-radius: 8px;
255
- margin: 8px 0;
256
- }
257
- .markdown-content input[type=checkbox] {
258
- margin-right: 6px;
259
- }
260
- .message-bubble.user .markdown-content {
261
- color: #ffffff;
262
- }
263
- .message-bubble.user .markdown-content a {
264
- color: #ffffff;
265
- border-bottom-color: rgba(255, 255, 255, 0.4);
266
- font-weight: 600;
267
- }
268
- .message-bubble.user .markdown-content a:hover {
269
- border-bottom-color: #ffffff;
270
- }
271
- .message-bubble.user .markdown-content li::before {
272
- color: #ffffff;
273
- }
274
- .message-bubble.user .markdown-content code {
275
- background: rgba(255, 255, 255, 0.2);
276
- color: #ffffff;
277
- border-color: rgba(255, 255, 255, 0.3);
278
- }
279
- .message-bubble.user .markdown-content pre {
280
- background: rgba(255, 255, 255, 0.1);
281
- border-color: rgba(255, 255, 255, 0.2);
282
- }
283
- .message-bubble.user .markdown-content pre code {
284
- color: #ffffff;
285
- }
286
- .message-bubble.user .markdown-content h1 {
287
- border-bottom-color: rgba(255, 255, 255, 0.3);
288
- }
289
- .message-bubble.user .markdown-content blockquote {
290
- border-left-color: #ffffff;
291
- background: rgba(255, 255, 255, 0.1);
292
- color: #ffffff;
293
- }
294
- .message-bubble.user .markdown-content hr {
295
- border-top-color: rgba(255, 255, 255, 0.3);
296
- }
297
- .message-bubble.user .markdown-content table {
298
- border-color: rgba(255, 255, 255, 0.3);
299
- }
300
- .message-bubble.user .markdown-content th,
301
- .message-bubble.user .markdown-content td {
302
- border-bottom-color: rgba(255, 255, 255, 0.2);
303
- }
304
- .message-bubble.user .markdown-content th {
305
- background: rgba(255, 255, 255, 0.15);
306
- color: #ffffff;
307
- border-bottom-color: rgba(255, 255, 255, 0.3);
308
- }
309
- .message-bubble.user .markdown-content tbody tr:hover {
310
- background-color: rgba(255, 255, 255, 0.1);
311
- }
312
- .message-bubble.assistant .markdown-content {
313
- color: #334155;
314
- }
315
- .message-bubble.assistant .markdown-content a {
316
- color: #667eea;
317
- }
318
- .message-bubble.assistant .markdown-content a:hover {
319
- color: #764ba2;
320
- }
321
- .message-bubble.assistant .markdown-content li::before {
322
- color: #667eea;
323
- }
324
- .message-bubble.assistant .markdown-content code {
325
- background: rgba(102, 126, 234, 0.1);
326
- color: #764ba2;
327
- border-color: rgba(102, 126, 234, 0.2);
328
- }
329
- .message-bubble.assistant .markdown-content pre {
330
- background: #ffffff;
331
- border-color: #e2e8f0;
332
- }
333
- .message-bubble.assistant .markdown-content pre code {
334
- color: #1e293b;
335
- }
336
- .message-bubble.assistant .markdown-content h1,
337
- .message-bubble.assistant .markdown-content h2,
338
- .message-bubble.assistant .markdown-content h3,
339
- .message-bubble.assistant .markdown-content h4,
340
- .message-bubble.assistant .markdown-content h5,
341
- .message-bubble.assistant .markdown-content h6 {
342
- color: #1e293b;
343
- }
344
- .message-bubble.assistant .markdown-content h1 {
345
- border-bottom-color: #e2e8f0;
346
- }
347
- .message-bubble.assistant .markdown-content strong,
348
- .message-bubble.assistant .markdown-content b {
349
- color: #0f172a;
350
- }
351
- .message-bubble.assistant .markdown-content blockquote {
352
- border-left-color: #667eea;
353
- background: rgba(102, 126, 234, 0.05);
354
- color: #334155;
355
- }
356
- .message-bubble.assistant .markdown-content th {
357
- background: #f1f5f9;
358
- color: #1e293b;
359
- }
360
- .message-bubble.assistant .markdown-content tbody tr:hover {
361
- background-color: rgba(102, 126, 234, 0.05);
362
- }
363
- .input-container {
364
- display: flex;
365
- align-items: flex-end;
366
- gap: 12px;
367
- padding: 16px;
368
- background: #ffffff;
369
- border-top: 1px solid #e2e8f0;
370
- border-radius: 0 0 12px 12px;
371
- }
372
- .textarea {
373
- flex: 1;
374
- min-height: 44px;
375
- max-height: 120px;
376
- padding: 12px 16px;
377
- border: 1px solid #e2e8f0;
378
- border-radius: 22px;
379
- font-size: 14px;
380
- line-height: 1.4;
381
- resize: none;
382
- outline: none;
383
- transition: border-color 0.2s ease, box-shadow 0.2s ease;
384
- font-family: inherit;
385
- background: #f8fafc;
386
- color: #334155;
387
- }
388
- .textarea:disabled {
389
- opacity: 0.6;
390
- cursor: not-allowed;
391
- }
392
- .textarea:focus:not(:disabled) {
393
- border-color: #3b82f6;
394
- box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
395
- }
396
- .send-button {
397
- width: 44px;
398
- height: 44px;
399
- border-radius: 50%;
400
- border: none;
401
- color: #ffffff;
402
- cursor: pointer;
403
- display: flex;
404
- align-items: center;
405
- justify-content: center;
406
- transition: all 0.2s ease;
407
- font-size: 16px;
408
- }
409
- .send-button:disabled {
410
- background: #e2e8f0;
411
- cursor: not-allowed;
412
- }
413
- .send-button:not(:disabled) {
414
- background:
415
- linear-gradient(
416
- 135deg,
417
- #667eea 0%,
418
- #764ba2 100%);
419
- }
420
- .send-button:not(:disabled):hover {
421
- transform: scale(1.05);
422
- }
423
- .header {
424
- padding: 16px 20px;
425
- color: #ffffff;
426
- display: flex;
427
- align-items: center;
428
- gap: 12px;
429
- }
430
- .logo-container {
431
- width: 40px;
432
- height: 40px;
433
- border-radius: 50%;
434
- background: rgba(255, 255, 255, 0.2);
435
- display: flex;
436
- align-items: center;
437
- justify-content: center;
438
- font-size: 18px;
439
- overflow: hidden;
440
- }
441
- .logo-image {
442
- width: 100%;
443
- height: 100%;
444
- object-fit: cover;
445
- border-radius: 50%;
446
- }
447
- .logo-text {
448
- font-size: 16px;
449
- font-weight: bold;
450
- }
451
- .company-name {
452
- margin: 0;
453
- font-size: 16px;
454
- font-weight: 600;
455
- }
456
- .status-text {
457
- margin: 0;
458
- font-size: 12px;
459
- opacity: 0.8;
460
- }
461
- .button-sizes.small {
462
- width: 50px;
463
- height: 50px;
464
- font-size: 20px;
465
- }
466
- .button-sizes.medium {
467
- width: 60px;
468
- height: 60px;
469
- font-size: 24px;
470
- }
471
- .button-sizes.large {
472
- width: 70px;
473
- height: 70px;
474
- font-size: 28px;
475
- }
476
- .floating-button {
477
- position: fixed;
478
- bottom: 20px;
479
- border-radius: 50%;
480
- border: none;
481
- color: #ffffff;
482
- cursor: pointer;
483
- display: flex;
484
- align-items: center;
485
- justify-content: center;
486
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
487
- transition: all 0.3s ease;
488
- z-index: 1000;
489
- }
490
- .floating-button.bottom-left {
491
- left: 20px;
492
- }
493
- .floating-button.bottom-right {
494
- right: 20px;
495
- }
496
- .floating-button.is-open {
497
- transform: scale(0.9);
498
- }
499
- .floating-button:hover {
500
- box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
501
- }
502
- .chat-container {
503
- position: fixed;
504
- bottom: 90px;
505
- z-index: 9999999;
506
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
507
- }
508
- .chat-container.bottom-left {
509
- left: 20px;
510
- transform-origin: bottom left;
511
- }
512
- .chat-container.bottom-right {
513
- right: 20px;
514
- transform-origin: bottom right;
515
- }
516
- .chat-container.is-open {
517
- transform: translateY(0) scale(1);
518
- opacity: 1;
519
- visibility: visible;
520
- }
521
- .chat-container:not(.is-open) {
522
- transform: translateY(20px) scale(0.95);
523
- opacity: 0;
524
- visibility: hidden;
525
- }
526
- .overlay {
527
- position: fixed;
528
- top: 0;
529
- left: 0;
530
- right: 0;
531
- bottom: 0;
532
- background: rgba(0, 0, 0, 0.1);
533
- z-index: 998;
534
- transition: all 0.3s ease;
535
- }
536
- .overlay.is-open {
537
- opacity: 1;
538
- visibility: visible;
539
- }
540
- .overlay:not(.is-open) {
541
- opacity: 0;
542
- visibility: hidden;
543
- }
544
- .chatbot-container {
545
- display: flex;
546
- flex-direction: column;
547
- height: 100%;
548
- background: #ffffff;
549
- border-radius: 12px;
550
- box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
551
- border: 1px solid #e2e8f0;
552
- overflow: hidden;
553
- }
554
- .messages-container {
555
- flex: 1;
556
- overflow-y: auto;
557
- padding: 16px;
558
- display: flex;
559
- flex-direction: column;
560
- gap: 4px;
561
- background: #f8fafc;
562
- }
563
- .empty-state {
564
- display: flex;
565
- flex-direction: column;
566
- align-items: center;
567
- justify-content: center;
568
- height: 100%;
569
- color: #64748b;
570
- text-align: center;
571
- padding: 40px 20px;
572
- }
573
- .empty-state .empty-state-icon {
574
- font-size: 48px;
575
- margin-bottom: 16px;
576
- }
577
- .empty-state .empty-state-title {
578
- margin: 0 0 8px 0;
579
- font-size: 18px;
580
- }
581
- .empty-state .empty-state-description {
582
- margin: 0;
583
- font-size: 14px;
584
- opacity: 0.8;
585
- }
586
- @keyframes spin {
587
- from {
588
- transform: rotate(0deg);
589
- }
590
- to {
591
- transform: rotate(360deg);
592
- }
593
- }
594
- .loading-spinner {
595
- width: 16px;
596
- height: 16px;
597
- border: 2px solid transparent;
598
- border-top: 2px solid currentColor;
599
- border-radius: 50%;
600
- animation: spin 1s linear infinite;
601
- }
602
- @keyframes slideDown {
603
- from {
604
- opacity: 0;
605
- transform: translateY(-10px);
606
- }
607
- to {
608
- opacity: 1;
609
- transform: translateY(0);
610
- }
611
- }
612
- .alert-container {
613
- border-radius: 12px;
614
- padding: 14px 16px;
615
- margin: 12px 16px;
616
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
617
- color: #ffffff;
618
- font-size: 13px;
619
- display: flex;
620
- align-items: flex-start;
621
- gap: 12px;
622
- position: relative;
623
- animation: slideDown 0.3s ease ease-out;
624
- }
625
- .alert-container.error {
626
- background:
627
- linear-gradient(
628
- 135deg,
629
- #ef4444 0%,
630
- #dc2626 100%);
631
- border: 1px solid #dc2626;
632
- box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
633
- }
634
- .alert-container.warning {
635
- background:
636
- linear-gradient(
637
- 135deg,
638
- #f59e0b 0%,
639
- #d97706 100%);
640
- border: 1px solid #d97706;
641
- box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
642
- }
643
- .alert-container.success {
644
- background:
645
- linear-gradient(
646
- 135deg,
647
- #10b981 0%,
648
- #059669 100%);
649
- border: 1px solid #059669;
650
- box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
651
- }
652
- .alert-icon-container {
653
- display: flex;
654
- align-items: center;
655
- justify-content: center;
656
- width: 24px;
657
- height: 24px;
658
- flex-shrink: 0;
659
- margin-top: 2px;
660
- }
661
- .alert-content {
662
- flex: 1;
663
- display: flex;
664
- flex-direction: column;
665
- gap: 8px;
666
- }
667
- .alert-title {
668
- font-weight: 600;
669
- font-size: 14px;
670
- margin: 0;
671
- line-height: 1.4;
672
- }
673
- .alert-message {
674
- margin: 0;
675
- line-height: 1.5;
676
- opacity: 0.95;
677
- }
678
- .alert-list {
679
- margin: 8px 0 0 0;
680
- padding-left: 20px;
681
- list-style: none;
682
- }
683
- .alert-list-item {
684
- margin-bottom: 4px;
685
- position: relative;
686
- padding-left: 12px;
687
- line-height: 1.4;
688
- }
689
- .alert-list-item li > span {
690
- position: "absolute";
691
- left: 0;
692
- top: 2px;
693
- font-weight: bold;
694
- }
695
- .alert-list-item li > code {
696
- background: rgba(255, 255, 255, 0.2);
697
- padding: 2px 6px;
698
- border-radius: 4px;
699
- font-size: 12px;
700
- }
701
- .alert-close-button {
702
- position: absolute;
703
- top: 12px;
704
- right: 12px;
705
- background: rgba(255, 255, 255, 0.2);
706
- border: none;
707
- border-radius: 6px;
708
- width: 24px;
709
- height: 24px;
710
- display: flex;
711
- align-items: center;
712
- justify-content: center;
713
- cursor: pointer;
714
- color: #ffffff;
715
- transition: all 0.2s ease;
716
- padding: 0;
717
- }
718
- .alert-close-button:hover {
719
- background: rgba(255, 255, 255, 0.3);
720
- }
721
- .ui-renderer {
722
- display: flex;
723
- flex-direction: column;
724
- gap: 16px;
725
- width: 100%;
726
- }
727
- .form-component {
728
- width: 100%;
729
- max-width: 500px;
730
- border: 1px solid #e0e0e0;
731
- border-radius: 12px;
732
- padding: 24px;
733
- background-color: #ffffff;
734
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
735
- font-family:
736
- -apple-system,
737
- BlinkMacSystemFont,
738
- "Segoe UI",
739
- Roboto,
740
- "Helvetica Neue",
741
- Arial,
742
- sans-serif;
743
- }
744
- .form-title {
745
- font-weight: 600;
746
- font-size: 16px;
747
- margin-bottom: 20px;
748
- color: #1a1a1a;
749
- margin-top: 0;
750
- }
751
- .form-fields {
752
- display: flex;
753
- flex-direction: column;
754
- gap: 20px;
755
- }
756
- .form-field {
757
- display: flex;
758
- flex-direction: column;
759
- gap: 8px;
760
- }
761
- .form-label {
762
- font-weight: 500;
763
- font-size: 13px;
764
- color: #475569;
765
- display: flex;
766
- align-items: center;
767
- gap: 4px;
768
- }
769
- .form-label span {
770
- color: #ef4444;
771
- font-size: 12px;
772
- }
773
- .form-input,
774
- .form-select {
775
- border: 1px solid #d1d5db;
776
- border-radius: 8px;
777
- padding: 10px 12px;
778
- font-size: 13px;
779
- color: #1a1a1a;
780
- background-color: #ffffff;
781
- font-family: inherit;
782
- outline: none;
783
- transition: border-color 0.15s ease, box-shadow 0.15s ease;
784
- cursor: pointer;
785
- }
786
- .form-input:focus,
787
- .form-select:focus {
788
- border-color: #3b82f6;
789
- box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
790
- }
791
- .form-select {
792
- cursor: pointer;
793
- }
794
- .form-submit-button {
795
- margin-top: 24px;
796
- display: inline-flex;
797
- align-items: center;
798
- justify-content: center;
799
- border-radius: 8px;
800
- padding: 12px 24px;
801
- font-size: 13px;
802
- font-weight: 500;
803
- background-color: #3b82f6;
804
- color: #ffffff;
805
- border: none;
806
- cursor: pointer;
807
- transition: background-color 0.15s ease, transform 0.1s ease;
808
- font-family: inherit;
809
- }
810
- .form-submit-button:hover {
811
- background-color: #2563eb;
812
- }
813
- .form-submit-button:active {
814
- transform: scale(0.98);
815
- }
816
- .buttons-component {
817
- display: flex;
818
- gap: 12px;
819
- flex-wrap: wrap;
820
- }
821
- .button-component {
822
- border-radius: 8px;
823
- padding: 10px 20px;
824
- font-size: 13px;
825
- font-weight: 500;
826
- border: 1px solid #e0e0e0;
827
- background-color: #ffffff;
828
- color: #475569;
829
- cursor: pointer;
830
- transition: all 0.15s ease;
831
- font-family:
832
- -apple-system,
833
- BlinkMacSystemFont,
834
- "Segoe UI",
835
- Roboto,
836
- "Helvetica Neue",
837
- Arial,
838
- sans-serif;
839
- outline: none;
840
- }
841
- .button-component.primary {
842
- background-color: #3b82f6;
843
- color: #ffffff;
844
- border-color: #3b82f6;
845
- }
846
- .button-component.primary:hover {
847
- background-color: #2563eb;
848
- border-color: #2563eb;
849
- }
850
- .button-component.secondary {
851
- background-color: #f3f4f6;
852
- color: #475569;
853
- border-color: #d1d5db;
854
- }
855
- .button-component.secondary:hover {
856
- background-color: #e5e7eb;
857
- border-color: #9ca3af;
858
- }
859
- .button-component.danger {
860
- background-color: #ef4444;
861
- color: #ffffff;
862
- border-color: #ef4444;
863
- }
864
- .button-component.danger:hover {
865
- background-color: #dc2626;
866
- border-color: #dc2626;
867
- }
868
- .button-component:not(.primary):not(.secondary):not(.danger):hover {
869
- background-color: #f9fafb;
870
- border-color: #d1d5db;
871
- }
872
- .button-component:active {
873
- transform: scale(0.97);
874
- }
875
- .table-component {
876
- border: 1px solid #e0e0e0;
877
- border-radius: 12px;
878
- overflow: hidden;
879
- font-size: 13px;
880
- background-color: #ffffff;
881
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
882
- font-family:
883
- -apple-system,
884
- BlinkMacSystemFont,
885
- "Segoe UI",
886
- Roboto,
887
- "Helvetica Neue",
888
- Arial,
889
- sans-serif;
890
- }
891
- .table-caption {
892
- padding: 16px 20px;
893
- font-weight: 600;
894
- font-size: 14px;
895
- border-bottom: 1px solid #e0e0e0;
896
- background-color: #f8f9fa;
897
- color: #1a1a1a;
898
- }
899
- .table-wrapper {
900
- overflow-x: auto;
901
- }
902
- .table {
903
- width: 100%;
904
- border-collapse: collapse;
905
- min-width: 100%;
906
- }
907
- .table-header {
908
- background-color: #f8f9fa;
909
- }
910
- .table-th {
911
- border-bottom: 2px solid #e0e0e0;
912
- padding: 14px 20px;
913
- text-align: left;
914
- font-weight: 600;
915
- font-size: 12px;
916
- color: #4a5568;
917
- text-transform: uppercase;
918
- letter-spacing: 0.5px;
919
- white-space: nowrap;
920
- }
921
- .table-tbody tr {
922
- background-color: #ffffff;
923
- transition: background-color 0.15s ease;
924
- }
925
- .table-tbody tr:nth-child(even) {
926
- background-color: #fafbfc;
927
- }
928
- .table-tbody tr:hover {
929
- background-color: #f0f4f8;
930
- }
931
- .table-td {
932
- border-bottom: 1px solid #e8e8e8;
933
- padding: 16px 20px;
934
- font-size: 13px;
935
- vertical-align: middle;
936
- }
937
- .table-td > span {
938
- color: #a0a0a0;
939
- font-style: italic;
940
- }
941
- .table-cell-image {
942
- display: flex;
943
- align-items: center;
944
- }
945
- .table-image {
946
- width: 40px;
947
- height: 40px;
948
- border-radius: 8px;
949
- object-fit: cover;
950
- border: 1px solid #e0e0e0;
951
- }
952
- .table-cell-text {
953
- color: #2d3748;
954
- line-height: 1.5;
955
- }
956
- .table-empty {
957
- padding: 40px;
958
- text-align: center;
959
- color: #9ca3af;
960
- font-size: 13px;
961
- }
962
- .card-component {
963
- border: 1px solid #e5e7eb;
964
- border-radius: 16px;
965
- padding: 16px;
966
- background-color: #ffffff;
967
- box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
968
- overflow: hidden;
969
- margin-bottom: 12px;
970
- }
971
- .card-content {
972
- display: flex;
973
- gap: 12px;
974
- }
975
- .card-image {
976
- width: 64px;
977
- height: 64px;
978
- border-radius: 8px;
979
- object-fit: cover;
980
- flex-shrink: 0;
981
- }
982
- .card-info {
983
- flex: 1;
984
- min-width: 0;
985
- }
986
- .card-title {
987
- font-weight: 600;
988
- font-size: 14px;
989
- margin-bottom: 8px;
990
- overflow: hidden;
991
- text-overflow: ellipsis;
992
- white-space: nowrap;
993
- }
994
- .card-subtitle {
995
- color: #64748b;
996
- font-size: 12px;
997
- margin-bottom: 4px;
998
- margin: 0;
999
- }
1000
- .card-status {
1001
- display: flex;
1002
- gap: 8px;
1003
- font-size: 12px;
1004
- margin-bottom: 4px;
1005
- }
1006
- .card-status-label {
1007
- color: #64748b;
1008
- font-weight: 500;
1009
- }
1010
- .card-status-value {
1011
- color: #475569;
1012
- }
1013
- .card-fields {
1014
- display: flex;
1015
- flex-direction: column;
1016
- gap: 4px;
1017
- }
1018
- .card-field {
1019
- display: flex;
1020
- gap: 8px;
1021
- font-size: 12px;
1022
- }
1023
- .card-field-label {
1024
- color: #64748b;
1025
- font-weight: 500;
1026
- }
1027
- .card-field-value {
1028
- color: #475569;
1029
- }
1030
- .card-description {
1031
- color: #64748b;
1032
- font-size: 12px;
1033
- margin-top: 8px;
1034
- margin: 0;
1035
- }
1036
- .card-list {
1037
- width: 100%;
1038
- }
1039
- .card-list-title {
1040
- font-weight: 600;
1041
- margin-bottom: 12px;
1042
- font-size: 14px;
1043
- color: #1a1a1a;
1044
- margin-top: 0;
1045
- }
1046
- .card-list-description {
1047
- color: #64748b;
1048
- margin-bottom: 12px;
1049
- font-size: 12px;
1050
- margin-top: 0;
1051
- }
1052
- .card-grid {
1053
- display: grid;
1054
- grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
1055
- gap: 12px;
1056
- }
1057
- .card-item {
1058
- font-size: 12px;
1059
- border: 1px solid #e0e0e0;
1060
- border-radius: 12px;
1061
- padding: 16px;
1062
- background-color: #ffffff;
1063
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
1064
- overflow: hidden;
1065
- }
1066
- .card-item-content {
1067
- display: flex;
1068
- gap: 12px;
1069
- }
1070
- .card-item-image {
1071
- width: 64px;
1072
- height: 64px;
1073
- border-radius: 8px;
1074
- object-fit: cover;
1075
- flex-shrink: 0;
1076
- }
1077
- .card-item-info {
1078
- flex: 1;
1079
- min-width: 0;
1080
- }
1081
- .card-item-title {
1082
- font-weight: 600;
1083
- font-size: 14px;
1084
- margin-bottom: 4px;
1085
- overflow: hidden;
1086
- text-overflow: ellipsis;
1087
- white-space: nowrap;
1088
- color: #1a1a1a;
1089
- margin-top: 0;
1090
- }
1091
- .card-item-subtitle {
1092
- color: #64748b;
1093
- font-size: 12px;
1094
- margin: 0;
1095
- }
1096
- .card-item-legacy {
1097
- display: flex;
1098
- justify-content: space-between;
1099
- gap: 8px;
1100
- font-size: 12px;
1101
- }
1102
- .card-item-legacy-label {
1103
- color: #64748b;
1104
- margin: 0;
1105
- }
1106
- .card-item-legacy-value {
1107
- font-weight: 500;
1108
- color: #1a1a1a;
1109
- margin: 0;
1110
- }
1111
- .field-image {
1112
- width: 24px;
1113
- height: 24px;
1114
- border-radius: 999px;
1115
- object-fit: cover;
1116
- }
1117
- .field-link {
1118
- text-decoration: underline;
1119
- }
1120
- .field-badge {
1121
- display: inline-block;
1122
- padding: 2px 6px;
1123
- border-radius: 999px;
1124
- font-size: 10px;
1125
- font-weight: 500;
1126
- }
1127
- .field-badge.success {
1128
- background-color: #e0fce5;
1129
- color: #1a7f36;
1130
- }
1131
- .field-badge.warning {
1132
- background-color: #fff7d6;
1133
- color: #8a6a00;
1134
- }
1135
- .field-badge.danger {
1136
- background-color: #ffe4e4;
1137
- color: #b42318;
1138
- }
1139
- .field-badge:not(.success):not(.warning):not(.danger) {
1140
- background-color: #f2f2f2;
1141
- color: #333;
1142
- }
1143
- .field-list {
1144
- margin: 0;
1145
- padding-left: 16px;
1146
- }
1147
- .generative-ui-container {
1148
- display: flex;
1149
- flex-direction: column;
1150
- gap: 16px;
1151
- width: 100%;
1152
- }
1153
- .generative-ui-header {
1154
- margin-bottom: 12px;
1155
- }
1156
- .generative-ui-title {
1157
- font-size: 18px;
1158
- font-weight: 600;
1159
- color: #0f172a;
1160
- margin: 0 0 8px 0;
1161
- }
1162
- .generative-ui-description {
1163
- font-size: 14px;
1164
- color: #475569;
1165
- margin: 0;
1166
- line-height: 1.5;
1167
- }
1168
- .gen-ui-text {
1169
- font-size: 13px;
1170
- color: #1e293b;
1171
- line-height: 1.6;
1172
- margin: 0;
1173
- }
1174
- .gen-ui-input-wrapper {
1175
- display: flex;
1176
- flex-direction: column;
1177
- gap: 8px;
1178
- }
1179
- .gen-ui-input-label {
1180
- font-size: 12px;
1181
- font-weight: 500;
1182
- color: #334155;
1183
- margin: 0;
1184
- }
1185
- .gen-ui-input,
1186
- .gen-ui-textarea {
1187
- width: 100%;
1188
- padding: 10px 12px;
1189
- border: 1px solid #cbd5e1;
1190
- border-radius: 8px;
1191
- font-size: 13px;
1192
- color: #0f172a;
1193
- background-color: #ffffff;
1194
- outline: none;
1195
- transition: border-color 0.2s ease, box-shadow 0.2s ease;
1196
- font-family: inherit;
1197
- }
1198
- .gen-ui-input::placeholder,
1199
- .gen-ui-textarea::placeholder {
1200
- color: #94a3b8;
1201
- }
1202
- .gen-ui-input:focus,
1203
- .gen-ui-textarea:focus {
1204
- border-color: #3b82f6;
1205
- box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
1206
- }
1207
- .gen-ui-input:disabled,
1208
- .gen-ui-textarea:disabled {
1209
- background-color: #f1f5f9;
1210
- cursor: not-allowed;
1211
- opacity: 0.6;
1212
- }
1213
- .gen-ui-textarea {
1214
- min-height: 80px;
1215
- resize: vertical;
1216
- }
1217
- .gen-ui-select-wrapper {
1218
- display: flex;
1219
- flex-direction: column;
1220
- gap: 8px;
1221
- }
1222
- .gen-ui-select-label {
1223
- font-size: 12px;
1224
- font-weight: 500;
1225
- color: #334155;
1226
- margin: 0;
1227
- }
1228
- .gen-ui-select {
1229
- width: 100%;
1230
- padding: 10px 12px;
1231
- border: 1px solid #cbd5e1;
1232
- border-radius: 8px;
1233
- font-size: 13px;
1234
- color: #0f172a;
1235
- background-color: #ffffff;
1236
- outline: none;
1237
- transition: border-color 0.2s ease, box-shadow 0.2s ease;
1238
- cursor: pointer;
1239
- font-family: inherit;
1240
- }
1241
- .gen-ui-select:focus {
1242
- border-color: #3b82f6;
1243
- box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
1244
- }
1245
- .gen-ui-select:disabled {
1246
- background-color: #f1f5f9;
1247
- cursor: not-allowed;
1248
- opacity: 0.6;
1249
- }
1250
- .gen-ui-button {
1251
- display: inline-flex;
1252
- align-items: center;
1253
- justify-content: center;
1254
- padding: 10px 16px;
1255
- border-radius: 8px;
1256
- font-size: 13px;
1257
- font-weight: 500;
1258
- border: none;
1259
- cursor: pointer;
1260
- transition: all 0.2s ease;
1261
- font-family: inherit;
1262
- outline: none;
1263
- background: #2563eb;
1264
- color: #ffffff;
1265
- }
1266
- .gen-ui-button:hover {
1267
- background: #1d4ed8;
1268
- }
1269
- .gen-ui-button:active {
1270
- transform: scale(0.98);
1271
- }
1272
- .gen-ui-button:disabled {
1273
- background: #cbd5e1;
1274
- cursor: not-allowed;
1275
- opacity: 0.6;
1276
- }
1277
- .gen-ui-card {
1278
- border: 1px solid #e2e8f0;
1279
- border-radius: 12px;
1280
- padding: 16px;
1281
- background-color: #ffffff;
1282
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
1283
- transition: box-shadow 0.2s ease;
1284
- }
1285
- .gen-ui-card:hover {
1286
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
1287
- }
1288
- .gen-ui-card-title {
1289
- font-size: 16px;
1290
- font-weight: 600;
1291
- color: #0f172a;
1292
- margin: 0 0 8px 0;
1293
- }
1294
- .gen-ui-card-content {
1295
- font-size: 13px;
1296
- color: #334155;
1297
- margin: 0;
1298
- line-height: 1.5;
1299
- }
1300
- .gen-ui-list {
1301
- list-style-type: disc;
1302
- padding-left: 20px;
1303
- margin: 0;
1304
- }
1305
- .gen-ui-list-item {
1306
- font-size: 13px;
1307
- color: #1e293b;
1308
- line-height: 1.6;
1309
- margin-bottom: 4px;
1310
- }
1311
- .gen-ui-list-item:last-child {
1312
- margin-bottom: 0;
1313
- }
1314
- .gen-ui-image {
1315
- max-width: 100%;
1316
- height: auto;
1317
- border-radius: 8px;
1318
- display: block;
1319
- }
1320
- .gen-ui-link {
1321
- color: #2563eb;
1322
- text-decoration: none;
1323
- font-size: 13px;
1324
- transition: color 0.2s ease;
1325
- }
1326
- .gen-ui-link:hover {
1327
- color: #1d4ed8;
1328
- text-decoration: underline;
1329
- }
1330
- .gen-ui-link:visited {
1331
- color: #2563eb;
1332
- }
1333
- .gen-ui-table-wrapper {
1334
- width: 100%;
1335
- overflow-x: auto;
1336
- border: 1px solid #e2e8f0;
1337
- border-radius: 12px;
1338
- background-color: #ffffff;
1339
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
1340
- }
1341
- .gen-ui-table {
1342
- width: 100%;
1343
- border-collapse: collapse;
1344
- min-width: 100%;
1345
- }
1346
- .gen-ui-table-header {
1347
- background-color: #f8fafc;
1348
- }
1349
- .gen-ui-table-th {
1350
- padding: 12px 16px;
1351
- text-align: left;
1352
- font-size: 12px;
1353
- font-weight: 600;
1354
- color: #334155;
1355
- border-bottom: 2px solid #e2e8f0;
1356
- white-space: nowrap;
1357
- }
1358
- .gen-ui-table-body tr {
1359
- transition: background-color 0.2s ease;
1360
- }
1361
- .gen-ui-table-body tr:hover {
1362
- background-color: #f8fafc;
1363
- }
1364
- .gen-ui-table-body tr:not(:last-child) {
1365
- border-bottom: 1px solid #e2e8f0;
1366
- }
1367
- .gen-ui-table-td {
1368
- padding: 12px 16px;
1369
- font-size: 13px;
1370
- color: #1e293b;
1371
- vertical-align: middle;
1372
- }
1373
- .gen-ui-form {
1374
- display: flex;
1375
- flex-direction: column;
1376
- gap: 16px;
1377
- width: 100%;
1378
- }
1379
- /*# sourceMappingURL=index.css.map */