@zero-library/chat-copilot 3.1.12 → 3.1.13

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 CHANGED
@@ -212,6 +212,261 @@
212
212
  margin: 0 4px;
213
213
  }
214
214
 
215
+ /* src/ui/common/FeatureComponents/style.module.less */
216
+ .style_module_popover {
217
+ max-height: 500px;
218
+ width: 300px;
219
+ display: flex;
220
+ flex-direction: column;
221
+ padding: 0;
222
+ }
223
+ .style_module_popover .ant-popover-content {
224
+ min-height: 0;
225
+ display: flex;
226
+ flex-direction: column;
227
+ }
228
+ .style_module_resourceBtn {
229
+ display: flex;
230
+ align-items: center;
231
+ gap: 6px;
232
+ padding: 4px 8px;
233
+ font-size: 13px;
234
+ font-weight: 500;
235
+ color: #475569;
236
+ background-color: #f1f5f9;
237
+ border: 1px solid #e2e8f0;
238
+ border-radius: 12px;
239
+ transition: all 0.3s;
240
+ cursor: pointer;
241
+ }
242
+ .style_module_resourceBtn .style_module_divider {
243
+ margin: 0;
244
+ background-color: #eee;
245
+ height: 10px;
246
+ transform: translateY(1px);
247
+ }
248
+ .style_module_resourceBtn .style_module_count {
249
+ font-size: 10px;
250
+ font-weight: 500;
251
+ background-color: var(--ant-color-primary);
252
+ width: 14px;
253
+ height: 14px;
254
+ display: flex;
255
+ align-items: center;
256
+ justify-content: center;
257
+ border-radius: 50%;
258
+ color: #fff;
259
+ }
260
+ .style_module_resourceBtnActive {
261
+ background-color: var(--ant-color-primary);
262
+ color: #fff;
263
+ }
264
+ .style_module_customModal .ant-modal-close:focus,
265
+ .customModal .ant-modal-close:focus-visible {
266
+ outline: none !important;
267
+ box-shadow: none !important;
268
+ }
269
+ .style_module_customModal .ant-modal-container {
270
+ padding: 0 !important;
271
+ }
272
+ .style_module_customModal .ant-modal-body {
273
+ padding: 0 !important;
274
+ height: 75vh;
275
+ border-radius: 20px;
276
+ min-height: 600px;
277
+ overflow: hidden;
278
+ }
279
+ .style_module_customModal .ant-modal-footer {
280
+ margin-top: 0 !important;
281
+ }
282
+ .style_module_layout {
283
+ height: 100%;
284
+ width: 100%;
285
+ background: #f5f5f5;
286
+ display: flex;
287
+ }
288
+ .style_module_layout .style_module_sider {
289
+ background-color: #fff !important;
290
+ border-right: 1px solid #f0f0f0;
291
+ height: 100%;
292
+ }
293
+ .style_module_layout .style_module_sider .ant-layout-sider-children {
294
+ display: flex;
295
+ flex-direction: column;
296
+ height: 100%;
297
+ }
298
+ .style_module_layout .style_module_sider .style_module_categoryName {
299
+ margin-left: 8px;
300
+ font-size: 14px;
301
+ color: #333;
302
+ }
303
+ .style_module_layout .style_module_sider .style_module_siderContent {
304
+ flex: 1;
305
+ overflow-y: auto;
306
+ padding: 0 12px;
307
+ }
308
+ .style_module_layout .style_module_sider .style_module_siderContent .style_module_categoryItem {
309
+ align-items: center;
310
+ padding: 8px 12px;
311
+ border-radius: 8px;
312
+ cursor: pointer;
313
+ transition: all 0.2s;
314
+ }
315
+ .style_module_layout .style_module_sider .style_module_siderContent .style_module_categoryItem:hover {
316
+ background-color: #f5f5f5;
317
+ }
318
+ .style_module_layout .style_module_sider .style_module_siderContent .style_module_categoryActive {
319
+ background-color: #e6f4ff;
320
+ }
321
+ .style_module_layout .style_module_sider .style_module_siderContent .style_module_categoryActive:hover {
322
+ background-color: #e6f4ff;
323
+ }
324
+ .style_module_layout .style_module_sider .style_module_siderContent .style_module_categoryActive .style_module_categoryName {
325
+ color: #1677ff;
326
+ font-weight: 500;
327
+ }
328
+ .style_module_layout .style_module_sider .style_module_siderContent .style_module_roundCheckbox .ant-checkbox-inner {
329
+ border-radius: 50%;
330
+ }
331
+ .style_module_content {
332
+ display: flex;
333
+ flex-direction: column;
334
+ background-color: #fff;
335
+ height: 100%;
336
+ padding: 20px;
337
+ padding-top: 0;
338
+ gap: 16px;
339
+ }
340
+ .style_module_content .style_module_searchInput {
341
+ width: 300px;
342
+ }
343
+ .style_module_content .style_module_selectedCount {
344
+ font-size: 12px;
345
+ }
346
+ .style_module_content .style_module_tagsArea {
347
+ width: 100%;
348
+ max-height: 60px;
349
+ overflow: hidden;
350
+ display: flex;
351
+ }
352
+ .style_module_content .style_module_tagsArea .style_module_tagContainer {
353
+ width: calc(100% - 40px);
354
+ }
355
+ .style_module_content .style_module_tagsArea .style_module_tagContainer .style_module_tag {
356
+ font-size: 13px;
357
+ border-radius: 4px;
358
+ display: flex;
359
+ align-items: center;
360
+ margin: 0;
361
+ }
362
+ .style_module_content .style_module_tagsArea .style_module_expandBtnWrapper {
363
+ display: flex;
364
+ align-items: flex-end;
365
+ padding-bottom: 8px;
366
+ }
367
+ .style_module_content .style_module_tagsArea .style_module_expandBtn {
368
+ background-color: #f5f5f5;
369
+ font-size: 13px;
370
+ border: none;
371
+ }
372
+ .style_module_content .style_module_tagsArea .style_module_expandBtn:hover {
373
+ border: none !important;
374
+ background-color: #f5f5f5 !important;
375
+ }
376
+ .style_module_content .style_module_tagsExpanded {
377
+ max-height: none;
378
+ overflow: visible;
379
+ }
380
+ .style_module_content .style_module_listArea {
381
+ flex: 1;
382
+ overflow-y: auto;
383
+ background-color: #fafafa;
384
+ border-radius: 12px;
385
+ padding: 16px;
386
+ }
387
+ .style_module_content .style_module_listArea .style_module_listInner {
388
+ padding-bottom: 16px;
389
+ }
390
+ .style_module_content .style_module_listArea .style_module_listItem {
391
+ width: 100%;
392
+ background-color: #fff;
393
+ border-radius: 8px;
394
+ padding: 10px;
395
+ display: flex;
396
+ cursor: pointer;
397
+ transition: all 0.2s;
398
+ position: relative;
399
+ }
400
+ .style_module_content .style_module_listArea .style_module_listItem:hover {
401
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
402
+ background-color: #e6f4ff;
403
+ }
404
+ .style_module_content .style_module_listArea .style_module_listItemSelected {
405
+ background-color: #eee;
406
+ }
407
+ .style_module_content .style_module_listArea .style_module_itemIconWrapper {
408
+ width: 40px;
409
+ height: 40px;
410
+ border-radius: 8px;
411
+ background-color: #e6f4ff;
412
+ color: #1677ff;
413
+ display: flex;
414
+ align-items: center;
415
+ justify-content: center;
416
+ font-size: 20px;
417
+ margin-right: 12px;
418
+ flex-shrink: 0;
419
+ }
420
+ .style_module_content .style_module_listArea .style_module_itemInfo {
421
+ flex: 1;
422
+ min-width: 0;
423
+ gap: 2px;
424
+ }
425
+ .style_module_content .style_module_listArea .style_module_itemInfo .style_module_itemDesc {
426
+ font-size: 12px;
427
+ color: #999;
428
+ }
429
+ .style_module_footer {
430
+ border-top: 1px solid #f0f0f0;
431
+ padding: 10px 20px;
432
+ justify-content: flex-end;
433
+ align-items: center;
434
+ display: flex;
435
+ }
436
+ .style_module_titleContainer {
437
+ display: flex;
438
+ padding: 16px 32px 0 20px;
439
+ border-bottom: 1px solid #f0f0f0;
440
+ align-items: center;
441
+ }
442
+ .style_module_favoriteCard {
443
+ border-radius: 10px;
444
+ padding: 8px 10px 8px 16px;
445
+ transition: all 0.2s;
446
+ cursor: pointer;
447
+ }
448
+ .style_module_favoriteCard.style_module_favoriteCardActive {
449
+ background: #f2f2f2;
450
+ }
451
+ .style_module_favoriteCard.style_module_favoriteCardActive .style_module_favoriteCardTitle {
452
+ color: var(--ant-color-primary);
453
+ }
454
+ .style_module_favoriteCard:hover {
455
+ background: #f2f2f2;
456
+ }
457
+ .style_module_favoriteCard:hover .style_module_favoriteCardActions {
458
+ opacity: 1;
459
+ }
460
+ .style_module_favoriteCard .style_module_favoriteCardActions {
461
+ opacity: 0;
462
+ transition: all 0.2s;
463
+ }
464
+ .style_module_favoriteCard .style_module_favoriteCardDate {
465
+ font-size: 12px;
466
+ color: #999;
467
+ margin-top: 4px;
468
+ }
469
+
215
470
  /* src/ui/common/styles.module.less */
216
471
  .styles_module_chatHeader {
217
472
  padding: 8px 16px;
@@ -443,234 +698,6 @@
443
698
  padding: 0 !important;
444
699
  }
445
700
 
446
- /* src/ui/common/FeatureComponents/style.module.less */
447
- .style_module_popover {
448
- max-height: 500px;
449
- width: 300px;
450
- display: flex;
451
- flex-direction: column;
452
- padding: 0;
453
- }
454
- .style_module_popover .ant-popover-content {
455
- min-height: 0;
456
- display: flex;
457
- flex-direction: column;
458
- }
459
- .style_module_resourceBtn {
460
- display: flex;
461
- align-items: center;
462
- gap: 6px;
463
- padding: 4px 8px;
464
- font-size: 13px;
465
- font-weight: 500;
466
- color: #475569;
467
- background-color: #f1f5f9;
468
- border: 1px solid #e2e8f0;
469
- border-radius: 12px;
470
- transition: all 0.3s;
471
- cursor: pointer;
472
- }
473
- .style_module_resourceBtn .style_module_divider {
474
- margin: 0;
475
- background-color: #eee;
476
- height: 10px;
477
- transform: translateY(1px);
478
- }
479
- .style_module_resourceBtn .style_module_count {
480
- font-size: 10px;
481
- font-weight: 500;
482
- background-color: var(--ant-color-primary);
483
- width: 14px;
484
- height: 14px;
485
- display: flex;
486
- align-items: center;
487
- justify-content: center;
488
- border-radius: 50%;
489
- color: #fff;
490
- }
491
- .style_module_resourceBtnActive {
492
- background-color: var(--ant-color-primary);
493
- color: #fff;
494
- }
495
- .style_module_customModal .ant-modal-close:focus,
496
- .customModal .ant-modal-close:focus-visible {
497
- outline: none !important;
498
- box-shadow: none !important;
499
- }
500
- .style_module_customModal .ant-modal-container {
501
- padding: 0 !important;
502
- }
503
- .style_module_customModal .ant-modal-body {
504
- padding: 0 !important;
505
- height: 75vh;
506
- border-radius: 20px;
507
- min-height: 600px;
508
- overflow: hidden;
509
- }
510
- .style_module_customModal .ant-modal-footer {
511
- margin-top: 0 !important;
512
- }
513
- .style_module_layout {
514
- height: 100%;
515
- width: 100%;
516
- background: #f5f5f5;
517
- display: flex;
518
- }
519
- .style_module_layout .style_module_sider {
520
- background-color: #fff !important;
521
- border-right: 1px solid #f0f0f0;
522
- height: 100%;
523
- }
524
- .style_module_layout .style_module_sider .ant-layout-sider-children {
525
- display: flex;
526
- flex-direction: column;
527
- height: 100%;
528
- }
529
- .style_module_layout .style_module_sider .style_module_categoryName {
530
- margin-left: 8px;
531
- font-size: 14px;
532
- color: #333;
533
- }
534
- .style_module_layout .style_module_sider .style_module_siderContent {
535
- flex: 1;
536
- overflow-y: auto;
537
- padding: 0 12px;
538
- }
539
- .style_module_layout .style_module_sider .style_module_siderContent .style_module_categoryItem {
540
- align-items: center;
541
- padding: 8px 12px;
542
- border-radius: 8px;
543
- cursor: pointer;
544
- transition: all 0.2s;
545
- }
546
- .style_module_layout .style_module_sider .style_module_siderContent .style_module_categoryItem:hover {
547
- background-color: #f5f5f5;
548
- }
549
- .style_module_layout .style_module_sider .style_module_siderContent .style_module_categoryActive {
550
- background-color: #e6f4ff;
551
- }
552
- .style_module_layout .style_module_sider .style_module_siderContent .style_module_categoryActive:hover {
553
- background-color: #e6f4ff;
554
- }
555
- .style_module_layout .style_module_sider .style_module_siderContent .style_module_categoryActive .style_module_categoryName {
556
- color: #1677ff;
557
- font-weight: 500;
558
- }
559
- .style_module_layout .style_module_sider .style_module_siderContent .style_module_roundCheckbox .ant-checkbox-inner {
560
- border-radius: 50%;
561
- }
562
- .style_module_content {
563
- display: flex;
564
- flex-direction: column;
565
- background-color: #fff;
566
- height: 100%;
567
- padding: 20px;
568
- padding-top: 0;
569
- gap: 16px;
570
- }
571
- .style_module_content .style_module_searchInput {
572
- width: 300px;
573
- }
574
- .style_module_content .style_module_selectedCount {
575
- font-size: 12px;
576
- }
577
- .style_module_content .style_module_tagsArea {
578
- width: 100%;
579
- max-height: 60px;
580
- overflow: hidden;
581
- display: flex;
582
- }
583
- .style_module_content .style_module_tagsArea .style_module_tagContainer {
584
- width: calc(100% - 40px);
585
- }
586
- .style_module_content .style_module_tagsArea .style_module_tagContainer .style_module_tag {
587
- font-size: 13px;
588
- border-radius: 4px;
589
- display: flex;
590
- align-items: center;
591
- margin: 0;
592
- }
593
- .style_module_content .style_module_tagsArea .style_module_expandBtnWrapper {
594
- display: flex;
595
- align-items: flex-end;
596
- padding-bottom: 8px;
597
- }
598
- .style_module_content .style_module_tagsArea .style_module_expandBtn {
599
- background-color: #f5f5f5;
600
- font-size: 13px;
601
- border: none;
602
- }
603
- .style_module_content .style_module_tagsArea .style_module_expandBtn:hover {
604
- border: none !important;
605
- background-color: #f5f5f5 !important;
606
- }
607
- .style_module_content .style_module_tagsExpanded {
608
- max-height: none;
609
- overflow: visible;
610
- }
611
- .style_module_content .style_module_listArea {
612
- flex: 1;
613
- overflow-y: auto;
614
- background-color: #fafafa;
615
- border-radius: 12px;
616
- padding: 16px;
617
- }
618
- .style_module_content .style_module_listArea .style_module_listInner {
619
- padding-bottom: 16px;
620
- }
621
- .style_module_content .style_module_listArea .style_module_listItem {
622
- width: 100%;
623
- background-color: #fff;
624
- border-radius: 8px;
625
- padding: 10px;
626
- display: flex;
627
- cursor: pointer;
628
- transition: all 0.2s;
629
- position: relative;
630
- }
631
- .style_module_content .style_module_listArea .style_module_listItem:hover {
632
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
633
- background-color: #e6f4ff;
634
- }
635
- .style_module_content .style_module_listArea .style_module_listItemSelected {
636
- background-color: #eee;
637
- }
638
- .style_module_content .style_module_listArea .style_module_itemIconWrapper {
639
- width: 40px;
640
- height: 40px;
641
- border-radius: 8px;
642
- background-color: #e6f4ff;
643
- color: #1677ff;
644
- display: flex;
645
- align-items: center;
646
- justify-content: center;
647
- font-size: 20px;
648
- margin-right: 12px;
649
- flex-shrink: 0;
650
- }
651
- .style_module_content .style_module_listArea .style_module_itemInfo {
652
- flex: 1;
653
- min-width: 0;
654
- gap: 2px;
655
- }
656
- .style_module_content .style_module_listArea .style_module_itemInfo .style_module_itemDesc {
657
- font-size: 12px;
658
- color: #999;
659
- }
660
- .style_module_footer {
661
- border-top: 1px solid #f0f0f0;
662
- padding: 10px 20px;
663
- justify-content: flex-end;
664
- align-items: center;
665
- display: flex;
666
- }
667
- .style_module_titleContainer {
668
- display: flex;
669
- padding: 16px 32px 0 20px;
670
- border-bottom: 1px solid #f0f0f0;
671
- align-items: center;
672
- }
673
-
674
701
  /* src/components/CustomComponents/XMarkdown/styles.module.less */
675
702
  .styles_module_appCard {
676
703
  width: 180px;