@zero-library/chat-copilot 1.0.12 → 1.0.14
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.cjs.js +458 -505
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +198 -4
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +75 -18
- package/dist/index.d.ts +75 -18
- package/dist/index.esm.js +462 -509
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -61,6 +61,9 @@
|
|
|
61
61
|
background-color: rgba(0, 0, 0, 0.1);
|
|
62
62
|
transition-delay: 0s;
|
|
63
63
|
}
|
|
64
|
+
.styles_module_chatSender.ant-sender .ant-sender-footer {
|
|
65
|
+
padding: 6px;
|
|
66
|
+
}
|
|
64
67
|
.styles_module_chatSender.ant-sender:focus-within {
|
|
65
68
|
box-shadow: none;
|
|
66
69
|
}
|
|
@@ -261,6 +264,24 @@
|
|
|
261
264
|
transition: all 0.3s;
|
|
262
265
|
cursor: pointer;
|
|
263
266
|
}
|
|
267
|
+
.styles_module_resourceBtn .styles_module_divider {
|
|
268
|
+
margin: 0;
|
|
269
|
+
background-color: #eee;
|
|
270
|
+
height: 10px;
|
|
271
|
+
transform: translateY(1px);
|
|
272
|
+
}
|
|
273
|
+
.styles_module_resourceBtn .styles_module_count {
|
|
274
|
+
font-size: 10px;
|
|
275
|
+
font-weight: 500;
|
|
276
|
+
background-color: var(--ant-color-primary);
|
|
277
|
+
width: 14px;
|
|
278
|
+
height: 14px;
|
|
279
|
+
display: flex;
|
|
280
|
+
align-items: center;
|
|
281
|
+
justify-content: center;
|
|
282
|
+
border-radius: 50%;
|
|
283
|
+
color: #fff;
|
|
284
|
+
}
|
|
264
285
|
.styles_module_resourceBtnActive {
|
|
265
286
|
background-color: var(--ant-color-primary);
|
|
266
287
|
color: #fff;
|
|
@@ -272,13 +293,10 @@
|
|
|
272
293
|
margin: 0 auto;
|
|
273
294
|
}
|
|
274
295
|
.styles_module_logoArea {
|
|
275
|
-
margin-bottom: 1.5rem;
|
|
276
|
-
display: flex;
|
|
277
|
-
flex-direction: column;
|
|
278
296
|
align-items: center;
|
|
279
297
|
justify-content: center;
|
|
280
298
|
text-align: center;
|
|
281
|
-
margin-top:
|
|
299
|
+
margin-top: 5rem;
|
|
282
300
|
}
|
|
283
301
|
.styles_module_logoArea .styles_module_logoContainer {
|
|
284
302
|
position: relative;
|
|
@@ -358,6 +376,182 @@
|
|
|
358
376
|
.styles_module_senderReferenceHeaderContent {
|
|
359
377
|
padding: 0 !important;
|
|
360
378
|
}
|
|
379
|
+
.styles_module_customModal .ant-modal-close:focus,
|
|
380
|
+
.customModal .ant-modal-close:focus-visible {
|
|
381
|
+
outline: none !important;
|
|
382
|
+
box-shadow: none !important;
|
|
383
|
+
}
|
|
384
|
+
.styles_module_customModal .ant-modal-container {
|
|
385
|
+
padding: 0;
|
|
386
|
+
}
|
|
387
|
+
.styles_module_customModal .ant-modal-body {
|
|
388
|
+
padding: 0;
|
|
389
|
+
height: 75vh;
|
|
390
|
+
border-radius: 20px;
|
|
391
|
+
min-height: 600px;
|
|
392
|
+
overflow: hidden;
|
|
393
|
+
}
|
|
394
|
+
.styles_module_customModal .ant-modal-footer {
|
|
395
|
+
margin-top: 0;
|
|
396
|
+
}
|
|
397
|
+
.styles_module_layout {
|
|
398
|
+
height: 100%;
|
|
399
|
+
width: 100%;
|
|
400
|
+
background: #f5f5f5;
|
|
401
|
+
display: flex;
|
|
402
|
+
}
|
|
403
|
+
.styles_module_layout .styles_module_sider {
|
|
404
|
+
background-color: #fff !important;
|
|
405
|
+
border-right: 1px solid #f0f0f0;
|
|
406
|
+
height: 100%;
|
|
407
|
+
}
|
|
408
|
+
.styles_module_layout .styles_module_sider .ant-layout-sider-children {
|
|
409
|
+
display: flex;
|
|
410
|
+
flex-direction: column;
|
|
411
|
+
height: 100%;
|
|
412
|
+
}
|
|
413
|
+
.styles_module_layout .styles_module_sider .styles_module_categoryName {
|
|
414
|
+
margin-left: 8px;
|
|
415
|
+
font-size: 14px;
|
|
416
|
+
color: #333;
|
|
417
|
+
}
|
|
418
|
+
.styles_module_layout .styles_module_sider .styles_module_siderContent {
|
|
419
|
+
flex: 1;
|
|
420
|
+
overflow-y: auto;
|
|
421
|
+
padding: 0 12px;
|
|
422
|
+
}
|
|
423
|
+
.styles_module_layout .styles_module_sider .styles_module_siderContent .styles_module_categoryItem {
|
|
424
|
+
align-items: center;
|
|
425
|
+
padding: 8px 12px;
|
|
426
|
+
border-radius: 8px;
|
|
427
|
+
cursor: pointer;
|
|
428
|
+
transition: all 0.2s;
|
|
429
|
+
}
|
|
430
|
+
.styles_module_layout .styles_module_sider .styles_module_siderContent .styles_module_categoryItem:hover {
|
|
431
|
+
background-color: #f5f5f5;
|
|
432
|
+
}
|
|
433
|
+
.styles_module_layout .styles_module_sider .styles_module_siderContent .styles_module_categoryActive {
|
|
434
|
+
background-color: #e6f4ff;
|
|
435
|
+
}
|
|
436
|
+
.styles_module_layout .styles_module_sider .styles_module_siderContent .styles_module_categoryActive:hover {
|
|
437
|
+
background-color: #e6f4ff;
|
|
438
|
+
}
|
|
439
|
+
.styles_module_layout .styles_module_sider .styles_module_siderContent .styles_module_categoryActive .styles_module_categoryName {
|
|
440
|
+
color: #1677ff;
|
|
441
|
+
font-weight: 500;
|
|
442
|
+
}
|
|
443
|
+
.styles_module_layout .styles_module_sider .styles_module_siderContent .styles_module_roundCheckbox .ant-checkbox-inner {
|
|
444
|
+
border-radius: 50%;
|
|
445
|
+
}
|
|
446
|
+
.styles_module_content {
|
|
447
|
+
display: flex;
|
|
448
|
+
flex-direction: column;
|
|
449
|
+
background-color: #fff;
|
|
450
|
+
height: 100%;
|
|
451
|
+
padding: 20px;
|
|
452
|
+
padding-top: 0;
|
|
453
|
+
gap: 16px;
|
|
454
|
+
}
|
|
455
|
+
.styles_module_content .styles_module_searchInput {
|
|
456
|
+
width: 300px;
|
|
457
|
+
}
|
|
458
|
+
.styles_module_content .styles_module_selectedCount {
|
|
459
|
+
font-size: 12px;
|
|
460
|
+
}
|
|
461
|
+
.styles_module_content .styles_module_tagsArea {
|
|
462
|
+
width: 100%;
|
|
463
|
+
max-height: 60px;
|
|
464
|
+
overflow: hidden;
|
|
465
|
+
display: flex;
|
|
466
|
+
}
|
|
467
|
+
.styles_module_content .styles_module_tagsArea .styles_module_tagContainer {
|
|
468
|
+
width: calc(100% - 40px);
|
|
469
|
+
}
|
|
470
|
+
.styles_module_content .styles_module_tagsArea .styles_module_tagContainer .styles_module_tag {
|
|
471
|
+
font-size: 13px;
|
|
472
|
+
border-radius: 4px;
|
|
473
|
+
display: flex;
|
|
474
|
+
align-items: center;
|
|
475
|
+
margin: 0;
|
|
476
|
+
}
|
|
477
|
+
.styles_module_content .styles_module_tagsArea .styles_module_expandBtnWrapper {
|
|
478
|
+
display: flex;
|
|
479
|
+
align-items: flex-end;
|
|
480
|
+
padding-bottom: 8px;
|
|
481
|
+
}
|
|
482
|
+
.styles_module_content .styles_module_tagsArea .styles_module_expandBtn {
|
|
483
|
+
background-color: #f5f5f5;
|
|
484
|
+
font-size: 13px;
|
|
485
|
+
border: none;
|
|
486
|
+
}
|
|
487
|
+
.styles_module_content .styles_module_tagsArea .styles_module_expandBtn:hover {
|
|
488
|
+
border: none !important;
|
|
489
|
+
background-color: #f5f5f5 !important;
|
|
490
|
+
}
|
|
491
|
+
.styles_module_content .styles_module_tagsExpanded {
|
|
492
|
+
max-height: none;
|
|
493
|
+
overflow: visible;
|
|
494
|
+
}
|
|
495
|
+
.styles_module_content .styles_module_listArea {
|
|
496
|
+
flex: 1;
|
|
497
|
+
overflow-y: auto;
|
|
498
|
+
background-color: #fafafa;
|
|
499
|
+
border-radius: 12px;
|
|
500
|
+
padding: 16px;
|
|
501
|
+
}
|
|
502
|
+
.styles_module_content .styles_module_listArea .styles_module_listInner {
|
|
503
|
+
padding-bottom: 16px;
|
|
504
|
+
}
|
|
505
|
+
.styles_module_content .styles_module_listArea .styles_module_listItem {
|
|
506
|
+
width: 100%;
|
|
507
|
+
background-color: #fff;
|
|
508
|
+
border-radius: 8px;
|
|
509
|
+
padding: 10px;
|
|
510
|
+
display: flex;
|
|
511
|
+
cursor: pointer;
|
|
512
|
+
transition: all 0.2s;
|
|
513
|
+
position: relative;
|
|
514
|
+
}
|
|
515
|
+
.styles_module_content .styles_module_listArea .styles_module_listItem:hover {
|
|
516
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
|
|
517
|
+
background-color: #e6f4ff;
|
|
518
|
+
}
|
|
519
|
+
.styles_module_content .styles_module_listArea .styles_module_listItemSelected {
|
|
520
|
+
background-color: #eee;
|
|
521
|
+
}
|
|
522
|
+
.styles_module_content .styles_module_listArea .styles_module_itemIconWrapper {
|
|
523
|
+
width: 40px;
|
|
524
|
+
height: 40px;
|
|
525
|
+
border-radius: 8px;
|
|
526
|
+
background-color: #e6f4ff;
|
|
527
|
+
color: #1677ff;
|
|
528
|
+
display: flex;
|
|
529
|
+
align-items: center;
|
|
530
|
+
justify-content: center;
|
|
531
|
+
font-size: 20px;
|
|
532
|
+
margin-right: 12px;
|
|
533
|
+
flex-shrink: 0;
|
|
534
|
+
}
|
|
535
|
+
.styles_module_content .styles_module_listArea .styles_module_itemInfo {
|
|
536
|
+
flex: 1;
|
|
537
|
+
min-width: 0;
|
|
538
|
+
gap: 2px;
|
|
539
|
+
}
|
|
540
|
+
.styles_module_content .styles_module_listArea .styles_module_itemInfo .styles_module_itemDesc {
|
|
541
|
+
font-size: 12px;
|
|
542
|
+
color: #999;
|
|
543
|
+
}
|
|
544
|
+
.styles_module_footer {
|
|
545
|
+
border-top: 1px solid #f0f0f0;
|
|
546
|
+
padding: 10px 20px;
|
|
547
|
+
justify-content: flex-end;
|
|
548
|
+
align-items: center;
|
|
549
|
+
}
|
|
550
|
+
.styles_module_titleContainer {
|
|
551
|
+
padding: 16px 32px 0 20px;
|
|
552
|
+
border-bottom: 1px solid #f0f0f0;
|
|
553
|
+
align-items: center;
|
|
554
|
+
}
|
|
361
555
|
|
|
362
556
|
/* src/components/CustomComponents/XMarkdown/styles.module.less */
|
|
363
557
|
.styles_module_appCard {
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/styles.module.less","../src/ui/common/styles.module.less","../src/components/CustomComponents/XMarkdown/styles.module.less","../src/components/XMarkdown/styles.module.less","../src/components/CustomComponents/tool-renders/index.module.less","../src/ui/layouts/components/styles.module.less","../src/ui/layouts/index.module.less"],"sourcesContent":["@keyframes loading-line {\n from {\n background-position: 200% 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-content {\n padding: 0 !important;\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-progress .ant-progress-text {\n display: none;\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-progress .ant-progress-circle {\n animation: spin 2s linear infinite;\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-attachment-list-card-content {\n gap: 4px;\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-attachment-list-card-content .ant-attachment-list-card-desc {\n width: 15px;\n height: 15px;\n border: 2px solid transparent;\n border-color: #1890ff;\n border-radius: 50%;\n animation: spin 1s linear infinite;\n box-sizing: border-box;\n position: relative;\n clip-path: inset(0 0 30% 0);\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-attachment-list-card-content .ant-attachment-list-card-desc .ant-attachment-list-card-ellipsis-prefix {\n display: none;\n}\n.chatSender:global.ant-sender .ant-sender-input {\n scrollbar-width: thin;\n scrollbar-color: transparent transparent;\n}\n.chatSender:global.ant-sender .ant-sender-input::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n}\n.chatSender:global.ant-sender .ant-sender-input::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0);\n border-radius: 4px;\n transition: background-color 0.3s ease 0.3s;\n}\n.chatSender:global.ant-sender .ant-sender-input::-webkit-scrollbar-track {\n background: transparent;\n}\n.chatSender:global.ant-sender .ant-sender-input:hover {\n scrollbar-color: rgba(0, 0, 0, 0.1) transparent;\n}\n.chatSender:global.ant-sender .ant-sender-input:hover::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.1);\n transition-delay: 0s;\n}\n.chatSender:global.ant-sender:focus-within {\n box-shadow: none;\n}\n.runStartedNode {\n padding: 2px 12px;\n border-radius: 4px;\n background: linear-gradient(90deg, transparent 25%, #e6f4ff 50%, transparent 75%);\n background-size: 200% 100%;\n animation: shimmer-bg 2s infinite linear;\n display: flex;\n width: 100px;\n min-height: 28px;\n box-sizing: border-box;\n overflow: hidden;\n}\n.runStartedNode :global .anticon-loading {\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.runStartedNode :global .anticon-loading svg {\n width: 14px;\n height: 14px;\n}\n@keyframes shimmer-bg {\n 0% {\n background-position: 200% 0;\n }\n 100% {\n background-position: -200% 0;\n }\n}\n.chatQuoteMsg {\n margin-top: 0;\n padding-top: 0 !important;\n}\n.chatQuoteMsg:global.ant-bubble > .ant-bubble-body > .ant-bubble-content {\n min-height: auto;\n background-color: var(--ant-color-fill-tertiary) !important;\n color: var(--ant-color-text-tertiary);\n}\n.chatQuoteMsg .quoteTooltip {\n max-width: 100%;\n border: 1px solid #000;\n}\n.chatQuoteMsg .quoteTooltip .quoteTooltipContainer {\n max-height: 200px;\n overflow-y: auto;\n background-color: #fff;\n color: #000;\n}\n",".chatHeader {\n padding: 8px 16px;\n border-bottom: 1px solid #eee;\n}\n.chatHeader .chatTitle {\n font-size: 16px;\n font-weight: bold;\n}\n.chatHeader .popover {\n max-height: 500px;\n width: 300px;\n display: flex;\n flex-direction: column;\n padding: 0;\n}\n.chatHeader .popover :global .ant-popover-content {\n min-height: 0;\n display: flex;\n flex-direction: column;\n}\n.conversationListPanel {\n width: 300px;\n max-width: 100%;\n border-right: 1px dashed #eee;\n}\n.conversationListPanel .createConversationButton {\n height: 38px;\n background-color: var(--ant-color-primary-bg);\n border-radius: var(--ant-border-radius-lg);\n color: var(--ant-color-primary);\n font-weight: bold;\n}\n.conversationListPanel .conversations {\n padding: 0 16px;\n height: 100%;\n overflow: auto;\n}\n.conversationListPanel .conversations :global .ant-conversations-group-title {\n padding: 0;\n}\n.conversationListPanel .conversations :global .ant-conversations-group-title .ant-typography {\n color: #878aab;\n}\n.conversationListPanel .conversations :global .ant-conversations-list .ant-conversations-item {\n padding-left: 16px;\n touch-action: manipulation !important;\n}\n.conversationListPanel .conversations :global .ant-conversations-list .ant-conversations-item .ant-conversations-label {\n color: rgba(0, 0, 0, 0.88);\n}\n.conversationListPanel .conversations :global .ant-conversations-list .ant-conversations-item.ant-conversations-item-active .ant-conversations-label {\n color: var(--ant-color-primary);\n}\n.chatWelcomeWrap {\n height: 100%;\n max-width: 1000px;\n min-width: 320px;\n width: calc(100% - 24px);\n margin: 0 auto;\n}\n.chatWelcomeWrap :global .ant-prompts .ant-prompts-list {\n overflow: auto;\n}\n.chatWelcomeWrap .chatWelcome :global .ant-welcome-icon > img {\n border-radius: 10px;\n max-width: initial;\n}\n.promptItem {\n width: 100%;\n max-width: 100%;\n}\n.promptItem :global .ant-prompts-item {\n max-width: 100%;\n white-space: normal;\n height: auto;\n}\n.bubbleList {\n width: 100%;\n}\n.bubbleList:global.ant-bubble-list {\n width: 100%;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble-list-scroll-box .ant-bubble-list-scroll-content {\n max-width: 1000px;\n min-width: 320px;\n width: calc(100% - 12px);\n margin: 0 auto;\n padding-right: 0;\n padding-left: 10px;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble-list-scroll-box .ant-bubble-list-scroll-content > .ant-bubble > .ant-bubble-body {\n width: 100%;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble {\n padding-top: 8px;\n padding-bottom: 0;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble:hover .message-actions {\n opacity: 1;\n pointer-events: auto;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-start {\n padding-inline-end: 0%;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-start .ant-bubble-body {\n width: 100%;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-start .ant-bubble-content {\n background-color: transparent;\n padding: 0;\n padding-bottom: 0;\n min-height: 0;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-end .ant-bubble-content {\n background-color: var(--ant-color-primary-bg, #e6f4ff);\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-end .ant-bubble-content-borderless {\n background-color: transparent;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-end .ant-bubble-content-borderless .ant-file-card-list-content {\n padding: 0;\n}\n.messageActions {\n opacity: 0;\n pointer-events: none;\n transition: opacity 0.2s ease;\n}\n.resourceBtn {\n align-items: center;\n gap: 6px;\n padding: 4px 8px;\n font-size: 13px;\n font-weight: 500;\n color: #475569;\n /* text-slate-600 */\n background-color: #f1f5f9;\n /* bg-slate-100/60 */\n border: 1px solid #e2e8f0;\n /* border-slate-200/50 */\n border-radius: 12px;\n /* rounded-xl */\n transition: all 0.3s;\n cursor: pointer;\n}\n.resourceBtnActive {\n background-color: var(--ant-color-primary);\n color: #fff;\n}\n.userInputCollapse {\n width: calc(100% - 24px);\n max-width: 1000px;\n min-width: 320px;\n margin: 0 auto;\n}\n.logoArea {\n margin-bottom: 1.5rem;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n text-align: center;\n margin-top: 40px;\n}\n.logoArea .logoContainer {\n position: relative;\n margin-bottom: 1.5rem;\n cursor: pointer;\n}\n.logoArea .logoContainer .staticHalo {\n position: absolute;\n inset: 0;\n background-color: var(--ant-color-primary);\n filter: blur(24px);\n opacity: 0.2;\n transition: opacity 700ms;\n border-radius: 9999px;\n}\n.logoArea .logoContainer .logoHoverWrapper {\n position: relative;\n z-index: 10;\n padding: 0.5rem;\n transition: all 500ms ease-out;\n transform: scale(1) translateY(0);\n}\n.logoArea .logoContainer .logoHoverWrapper .logoImage {\n width: 6rem;\n height: 6rem;\n object-fit: contain;\n filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));\n transition: all 500ms;\n}\n.logoArea .logoContainer:hover .staticHalo {\n opacity: 0.5;\n}\n.logoArea .logoContainer:hover .logoHoverWrapper {\n transform: scale(1.1) translateY(-0.5rem);\n}\n.logoArea .logoContainer:hover .logoImage {\n filter: drop-shadow(0 10px 20px rgba(18, 124, 183, 0.4));\n}\n.logoArea .greetingTitle {\n margin-bottom: 0.75rem;\n font-size: 2.25rem;\n line-height: 2.5rem;\n font-weight: 700;\n letter-spacing: -0.025em;\n color: #1e293b;\n}\n@media (width >= 768px) {\n .logoArea .greetingTitle {\n font-size: 3rem;\n line-height: 1;\n }\n}\n.logoArea .greetingTitle .gradientText {\n color: transparent;\n background-clip: text;\n background-image: linear-gradient(to right, var(--ant-color-primary), #3b82f6);\n}\n.logoArea .greetingSubtitle {\n font-size: 1.125rem;\n line-height: 1.75rem;\n font-weight: 500;\n color: #64748b;\n}\n@media (width >= 768px) {\n .logoArea .greetingSubtitle {\n font-size: 1.25rem;\n line-height: 1.75rem;\n }\n}\n.senderReferenceHeaderTitle:global > .ant-sender-header-title {\n overflow: hidden;\n}\n.senderReferenceHeaderContent {\n padding: 0 !important;\n}\n",".appCard {\n width: 180px;\n border-radius: 10px;\n border: 1px solid #d7d7d7;\n background-color: #fafafa;\n font-size: 16px;\n cursor: pointer;\n margin: 8px;\n padding: 12px 8px;\n}\n.appCard > div {\n max-width: 100%;\n}\n.appCard > img {\n height: 30px;\n}\n.fileView {\n width: 200px;\n padding: 4px 8px;\n cursor: pointer;\n background-color: #f5f3f3;\n border-radius: 6px;\n}\n.fileEdit {\n margin: 12px 0;\n border-radius: 6px;\n border: 1px solid #f2f2f2;\n}\n.fileEdit .fileEditHeader {\n padding: 2px 8px;\n background-color: #f2f2f2;\n}\n.fileEdit .fileEditContent {\n padding: 8px;\n background-color: #fafafa;\n}\n.mdEdit {\n margin: 10px 0;\n background-color: rgba(242, 242, 242, 0.2);\n border: 1px solid #f2f2f2;\n padding: 10px;\n border-radius: 4px;\n}\n.chart {\n padding: 10px;\n max-width: 100%;\n min-width: 350px;\n overflow-x: scroll;\n display: inline-block;\n border-radius: 12px;\n border: 1px solid #e5e9f0;\n background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);\n margin: 12px 0;\n}\n.chart .chartSkeleton {\n width: 100% !important;\n}\n.chart .chartSkeleton .chartSkeletonIcon {\n font-size: 40px;\n color: #bfbfbf;\n}\n",".xMarkdownStyle :global {\n /* stylelint-disable-next-line selector-class-pattern */\n}\n.xMarkdownStyle :global .ant-codeHighlighter-code code,\n.xMarkdownStyle :global .ant-codeHighlighter-code pre,\n.xMarkdownStyle :global .ant-codeHighlighter-code [class*='language-'] {\n background-color: transparent !important;\n}\n",".iconContainer {\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--ant-border-radius-sm);\n overflow: hidden;\n flex-shrink: 0;\n gap: 20;\n}\n.toolName {\n font-size: 12px;\n color: var(--ant-color-text-secondary);\n flex: 1;\n line-height: 22px;\n}\n.duration {\n font-size: 12px;\n color: var(--ant-color-text-tertiary);\n flex-shrink: 0;\n}\n.statusIcon {\n font-size: 12px;\n display: flex;\n align-items: center;\n margin-left: 20px;\n}\n.sectionLabel {\n font-size: 12px;\n color: var(--ant-color-text-tertiary);\n margin-bottom: 4px;\n display: block;\n}\n.markdownContainer {\n max-width: 100%;\n overflow-x: auto;\n font-size: 12px;\n opacity: 0.85;\n}\n.sectionBlock {\n display: block;\n}\n.todoList {\n background-color: var(--ant-color-fill-alter);\n border-radius: var(--ant-border-radius);\n border: 1px solid var(--ant-color-border-secondary);\n margin-top: 4px;\n}\n.todoItem {\n padding: 8px 12px;\n border-bottom: 1px solid var(--ant-color-border-secondary);\n display: flex;\n align-items: flex-start;\n gap: 8px;\n}\n.todoItem:last-child {\n border-bottom: none;\n}\n.statusIconWrapper {\n margin-top: 2px;\n}\n.todoContent {\n flex: 1;\n min-width: 0;\n}\n.todoText {\n font-size: 13px;\n color: var(--ant-color-text);\n}\n.todoText.completed {\n color: var(--ant-color-text-tertiary);\n text-decoration: line-through;\n}\n.emptyText {\n font-size: 12px;\n}\n",".bodyWidth {\n width: 100%;\n height: 100%;\n}\n.inputContainer {\n max-width: 1000px;\n min-width: 320px;\n width: calc(100% - 24px);\n}\n.disclaimerNotice {\n font-size: 12px;\n text-align: center;\n color: #bfbfbf;\n}\n.previewHeader {\n padding: 8px;\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);\n align-items: center;\n}\n.previewHeader .previewHeaderTitle {\n font-size: 16px;\n font-weight: bold;\n}\n.previewHeader .actionIcon {\n font-size: 16px;\n cursor: pointer;\n color: var(--ant-color-text-tertiary);\n transition: transform 0.3s ease;\n}\n.previewHeader .actionIcon:hover {\n color: var(--ant-color-text);\n}\n",".chatLayout {\n background-color: transparent;\n height: 100%;\n width: 100%;\n}\n.spinWrapper {\n height: 100%;\n}\n.spinWrapper :global .ant-spin-container {\n height: 100%;\n}\n.fullScroll {\n overflow: auto;\n flex: 1;\n height: 100%;\n}\n.animatedSplitter :global(.ant-splitter-panel) {\n transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;\n}\n.animatedSplitter :global(.ant-splitter-bar) {\n transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;\n}\n.hideSplitterBar :global(.ant-splitter-bar) {\n display: none !important;\n}\n"],"mappings":";AAAA,WAAWA;AACT;AACE,yBAAqB,KAAK;AAC5B;AACA;AACE,yBAAqB,EAAE;AACzB;AACF;AACA,WAAWC;AACT;AACE,eAAW,OAAO;AACpB;A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AAQ;AACrD,UAAQ,KAAK;AACf;AACA,CAXCA,oBAWM,CAACC;AACN,SAAO;AACT;AACA,CAdCD,oBAcM,CAHCC,4BAGc,CAACC;AACrB,aAAW;AACX,SAAO;AACT;;;AC5DA,CAACC;AAED;AACA,CAHCA,6BAGuB,CAAC,yBAAyB;AAClD,CAAC,eAAuB,CADC,yBACyB;AAClD,CADC,eACuB,CAFC,yBAEyB,CAAC;AACjD,oBAAkB;AACpB;;;ACPA,CAACC;AACC,SAAO;AACP,UAAQ;AACR,WAAS;AACT,eAAa;AACb,mBAAiB;AACjB,iBAAe,IAAI;AACnB,YAAU;AACV,eAAa;AACb,OAAK;AACP;AACA,CAACC;AACC,aAAW;AACX,SAAO,IAAI;AACX,QAAM;AACN,eAAa;AACf;AACA,CAACC;AACC,aAAW;AACX,SAAO,IAAI;AACX,eAAa;AACf;AACA,CAACC;AACC,aAAW;AACX,WAAS;AACT,eAAa;AACb,eAAa;AACf;AACA,CAACC;AACC,aAAW;AACX,SAAO,IAAI;AACX,iBAAe;AACf,WAAS;AACX;AACA,CAACC;AACC,aAAW;AACX,cAAY;AACZ,aAAW;AACX,WAAS;AACX;AACA,CAACC;AACC,WAAS;AACX;AACA,CAACC;AACC,oBAAkB,IAAI;AACtB,iBAAe,IAAI;AACnB,UAAQ,IAAI,MAAM,IAAI;AACtB,cAAY;AACd;AACA,CAACC;AACC,WAAS,IAAI;AACb,iBAAe,IAAI,MAAM,IAAI;AAC7B,WAAS;AACT,eAAa;AACb,OAAK;AACP;AACA,CAPCA,qBAOQ;AACP,iBAAe;AACjB;AACA,CAACC;AACC,cAAY;AACd;AACA,CAACC;AACC,QAAM;AACN,aAAW;AACb;AACA,CAACC;AACC,aAAW;AACX,SAAO,IAAI;AACb;AACA,CAJCA,qBAIQ,CAACC;AACR,SAAO,IAAI;AACX,mBAAiB;AACnB;AACA,CAACC;AACC,aAAW;AACb;;;AC5EA,CAACC;AACC,SAAO;AACP,UAAQ;AACV;AACA,CAACC;AACC,aAAW;AACX,aAAW;AACX,SAAO,KAAK,KAAK,EAAE;AACrB;AACA,CAACC;AACC,aAAW;AACX,cAAY;AACZ,SAAO;AACT;AACA,CAACC;AACC,WAAS;AACT,cAAY,EAAE,IAAI,IAAI,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AACpC,eAAa;AACf;AACA,CALCA,4BAKc,CAACC;AACd,aAAW;AACX,eAAa;AACf;AACA,CATCD,4BASc,CAACE;AACd,aAAW;AACX,UAAQ;AACR,SAAO,IAAI;AACX,cAAY,UAAU,KAAK;AAC7B;AACA,CAfCF,4BAec,CANCE,wBAMU;AACxB,SAAO,IAAI;AACb;;;AC/BA,CAACC;AACC,oBAAkB;AAClB,UAAQ;AACR,SAAO;AACT;AACA,CAACC;AACC,UAAQ;AACV;AACA,CAHCA,yBAGoB,CAAC;AACpB,UAAQ;AACV;AACA,CAACC;AACC,YAAU;AACV,QAAM;AACN,UAAQ;AACV;AACA,CAACC,8BAAyB,CAAC;AACzB,cAAY,IAAI,KAAK,aAAa,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE;AAC/C;AACA,CAHCA,8BAGyB,CAAC;AACzB,cAAY,IAAI,KAAK,aAAa,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE;AAC/C;AACA,CAACC,6BAAwB,CAHE;AAIzB,WAAS;AACX;","names":["loading-line","spin","chatAttachments","chatSender","runStartedNode","shimmer-bg","chatQuoteMsg","quoteTooltip","quoteTooltipContainer","chatHeader","chatTitle","popover","conversationListPanel","createConversationButton","conversations","chatWelcomeWrap","chatWelcome","promptItem","bubbleList","messageActions","resourceBtn","resourceBtnActive","userInputCollapse","logoArea","logoContainer","staticHalo","logoHoverWrapper","logoImage","greetingTitle","gradientText","greetingSubtitle","senderReferenceHeaderTitle","senderReferenceHeaderContent","appCard","fileView","fileEdit","fileEditHeader","fileEditContent","mdEdit","chart","chartSkeleton","chartSkeletonIcon","xMarkdownStyle","iconContainer","toolName","duration","statusIcon","sectionLabel","markdownContainer","sectionBlock","todoList","todoItem","statusIconWrapper","todoContent","todoText","completed","emptyText","bodyWidth","inputContainer","disclaimerNotice","previewHeader","previewHeaderTitle","actionIcon","chatLayout","spinWrapper","fullScroll","animatedSplitter","hideSplitterBar"]}
|
|
1
|
+
{"version":3,"sources":["../src/components/styles.module.less","../src/ui/common/styles.module.less","../src/components/CustomComponents/XMarkdown/styles.module.less","../src/components/XMarkdown/styles.module.less","../src/components/CustomComponents/tool-renders/index.module.less","../src/ui/layouts/components/styles.module.less","../src/ui/layouts/index.module.less"],"sourcesContent":["@keyframes loading-line {\n from {\n background-position: 200% 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-content {\n padding: 0 !important;\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-progress .ant-progress-text {\n display: none;\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-progress .ant-progress-circle {\n animation: spin 2s linear infinite;\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-attachment-list-card-content {\n gap: 4px;\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-attachment-list-card-content .ant-attachment-list-card-desc {\n width: 15px;\n height: 15px;\n border: 2px solid transparent;\n border-color: #1890ff;\n border-radius: 50%;\n animation: spin 1s linear infinite;\n box-sizing: border-box;\n position: relative;\n clip-path: inset(0 0 30% 0);\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-attachment-list-card-content .ant-attachment-list-card-desc .ant-attachment-list-card-ellipsis-prefix {\n display: none;\n}\n.chatSender:global.ant-sender .ant-sender-input {\n scrollbar-width: thin;\n scrollbar-color: transparent transparent;\n}\n.chatSender:global.ant-sender .ant-sender-input::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n}\n.chatSender:global.ant-sender .ant-sender-input::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0);\n border-radius: 4px;\n transition: background-color 0.3s ease 0.3s;\n}\n.chatSender:global.ant-sender .ant-sender-input::-webkit-scrollbar-track {\n background: transparent;\n}\n.chatSender:global.ant-sender .ant-sender-input:hover {\n scrollbar-color: rgba(0, 0, 0, 0.1) transparent;\n}\n.chatSender:global.ant-sender .ant-sender-input:hover::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.1);\n transition-delay: 0s;\n}\n.chatSender:global.ant-sender .ant-sender-footer {\n padding: 6px;\n}\n.chatSender:global.ant-sender:focus-within {\n box-shadow: none;\n}\n.runStartedNode {\n padding: 2px 12px;\n border-radius: 4px;\n background: linear-gradient(90deg, transparent 25%, #e6f4ff 50%, transparent 75%);\n background-size: 200% 100%;\n animation: shimmer-bg 2s infinite linear;\n display: flex;\n width: 100px;\n min-height: 28px;\n box-sizing: border-box;\n overflow: hidden;\n}\n.runStartedNode :global .anticon-loading {\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.runStartedNode :global .anticon-loading svg {\n width: 14px;\n height: 14px;\n}\n@keyframes shimmer-bg {\n 0% {\n background-position: 200% 0;\n }\n 100% {\n background-position: -200% 0;\n }\n}\n.chatQuoteMsg {\n margin-top: 0;\n padding-top: 0 !important;\n}\n.chatQuoteMsg:global.ant-bubble > .ant-bubble-body > .ant-bubble-content {\n min-height: auto;\n background-color: var(--ant-color-fill-tertiary) !important;\n color: var(--ant-color-text-tertiary);\n}\n.chatQuoteMsg .quoteTooltip {\n max-width: 100%;\n border: 1px solid #000;\n}\n.chatQuoteMsg .quoteTooltip .quoteTooltipContainer {\n max-height: 200px;\n overflow-y: auto;\n background-color: #fff;\n color: #000;\n}\n",".chatHeader {\n padding: 8px 16px;\n border-bottom: 1px solid #eee;\n}\n.chatHeader .chatTitle {\n font-size: 16px;\n font-weight: bold;\n}\n.chatHeader .popover {\n max-height: 500px;\n width: 300px;\n display: flex;\n flex-direction: column;\n padding: 0;\n}\n.chatHeader .popover :global .ant-popover-content {\n min-height: 0;\n display: flex;\n flex-direction: column;\n}\n.conversationListPanel {\n width: 300px;\n max-width: 100%;\n border-right: 1px dashed #eee;\n}\n.conversationListPanel .createConversationButton {\n height: 38px;\n background-color: var(--ant-color-primary-bg);\n border-radius: var(--ant-border-radius-lg);\n color: var(--ant-color-primary);\n font-weight: bold;\n}\n.conversationListPanel .conversations {\n padding: 0 16px;\n height: 100%;\n overflow: auto;\n}\n.conversationListPanel .conversations :global .ant-conversations-group-title {\n padding: 0;\n}\n.conversationListPanel .conversations :global .ant-conversations-group-title .ant-typography {\n color: #878aab;\n}\n.conversationListPanel .conversations :global .ant-conversations-list .ant-conversations-item {\n padding-left: 16px;\n touch-action: manipulation !important;\n}\n.conversationListPanel .conversations :global .ant-conversations-list .ant-conversations-item .ant-conversations-label {\n color: rgba(0, 0, 0, 0.88);\n}\n.conversationListPanel .conversations :global .ant-conversations-list .ant-conversations-item.ant-conversations-item-active .ant-conversations-label {\n color: var(--ant-color-primary);\n}\n.chatWelcomeWrap {\n height: 100%;\n max-width: 1000px;\n min-width: 320px;\n width: calc(100% - 24px);\n margin: 0 auto;\n}\n.chatWelcomeWrap :global .ant-prompts .ant-prompts-list {\n overflow: auto;\n}\n.chatWelcomeWrap .chatWelcome :global .ant-welcome-icon > img {\n border-radius: 10px;\n max-width: initial;\n}\n.promptItem {\n width: 100%;\n max-width: 100%;\n}\n.promptItem :global .ant-prompts-item {\n max-width: 100%;\n white-space: normal;\n height: auto;\n}\n.bubbleList {\n width: 100%;\n}\n.bubbleList:global.ant-bubble-list {\n width: 100%;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble-list-scroll-box .ant-bubble-list-scroll-content {\n max-width: 1000px;\n min-width: 320px;\n width: calc(100% - 12px);\n margin: 0 auto;\n padding-right: 0;\n padding-left: 10px;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble-list-scroll-box .ant-bubble-list-scroll-content > .ant-bubble > .ant-bubble-body {\n width: 100%;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble {\n padding-top: 8px;\n padding-bottom: 0;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble:hover .message-actions {\n opacity: 1;\n pointer-events: auto;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-start {\n padding-inline-end: 0%;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-start .ant-bubble-body {\n width: 100%;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-start .ant-bubble-content {\n background-color: transparent;\n padding: 0;\n padding-bottom: 0;\n min-height: 0;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-end .ant-bubble-content {\n background-color: var(--ant-color-primary-bg, #e6f4ff);\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-end .ant-bubble-content-borderless {\n background-color: transparent;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-end .ant-bubble-content-borderless .ant-file-card-list-content {\n padding: 0;\n}\n.messageActions {\n opacity: 0;\n pointer-events: none;\n transition: opacity 0.2s ease;\n}\n.resourceBtn {\n align-items: center;\n gap: 6px;\n padding: 4px 8px;\n font-size: 13px;\n font-weight: 500;\n color: #475569;\n /* text-slate-600 */\n background-color: #f1f5f9;\n /* bg-slate-100/60 */\n border: 1px solid #e2e8f0;\n /* border-slate-200/50 */\n border-radius: 12px;\n /* rounded-xl */\n transition: all 0.3s;\n cursor: pointer;\n}\n.resourceBtn .divider {\n margin: 0;\n background-color: #eee;\n height: 10px;\n transform: translateY(1px);\n}\n.resourceBtn .count {\n font-size: 10px;\n font-weight: 500;\n background-color: var(--ant-color-primary);\n /* text-teal-500 */\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n color: #fff;\n}\n.resourceBtnActive {\n background-color: var(--ant-color-primary);\n color: #fff;\n}\n.userInputCollapse {\n width: calc(100% - 24px);\n max-width: 1000px;\n min-width: 320px;\n margin: 0 auto;\n}\n.logoArea {\n align-items: center;\n justify-content: center;\n text-align: center;\n margin-top: 5rem;\n}\n.logoArea .logoContainer {\n position: relative;\n margin-bottom: 1.5rem;\n cursor: pointer;\n}\n.logoArea .logoContainer .staticHalo {\n position: absolute;\n inset: 0;\n background-color: var(--ant-color-primary);\n filter: blur(24px);\n opacity: 0.2;\n transition: opacity 700ms;\n border-radius: 9999px;\n}\n.logoArea .logoContainer .logoHoverWrapper {\n position: relative;\n z-index: 10;\n padding: 0.5rem;\n transition: all 500ms ease-out;\n transform: scale(1) translateY(0);\n}\n.logoArea .logoContainer .logoHoverWrapper .logoImage {\n width: 6rem;\n height: 6rem;\n object-fit: contain;\n filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));\n transition: all 500ms;\n}\n.logoArea .logoContainer:hover .staticHalo {\n opacity: 0.5;\n}\n.logoArea .logoContainer:hover .logoHoverWrapper {\n transform: scale(1.1) translateY(-0.5rem);\n}\n.logoArea .logoContainer:hover .logoImage {\n filter: drop-shadow(0 10px 20px rgba(18, 124, 183, 0.4));\n}\n.logoArea .greetingTitle {\n margin-bottom: 0.75rem;\n font-size: 2.25rem;\n line-height: 2.5rem;\n font-weight: 700;\n letter-spacing: -0.025em;\n color: #1e293b;\n}\n@media (width >= 768px) {\n .logoArea .greetingTitle {\n font-size: 3rem;\n line-height: 1;\n }\n}\n.logoArea .greetingTitle .gradientText {\n color: transparent;\n background-clip: text;\n background-image: linear-gradient(to right, var(--ant-color-primary), #3b82f6);\n}\n.logoArea .greetingSubtitle {\n font-size: 1.125rem;\n line-height: 1.75rem;\n font-weight: 500;\n color: #64748b;\n}\n@media (width >= 768px) {\n .logoArea .greetingSubtitle {\n font-size: 1.25rem;\n line-height: 1.75rem;\n }\n}\n.senderReferenceHeaderTitle:global > .ant-sender-header-title {\n overflow: hidden;\n}\n.senderReferenceHeaderContent {\n padding: 0 !important;\n}\n.customModal :global .ant-modal-close:focus,\n.customModal :global .ant-modal-close:focus-visible {\n outline: none !important;\n box-shadow: none !important;\n}\n.customModal :global(.ant-modal-container) {\n padding: 0;\n}\n.customModal :global(.ant-modal-body) {\n padding: 0;\n height: 75vh;\n border-radius: 20px;\n min-height: 600px;\n overflow: hidden;\n}\n.customModal :global(.ant-modal-footer) {\n margin-top: 0;\n}\n.layout {\n height: 100%;\n width: 100%;\n background: #f5f5f5;\n display: flex;\n}\n.layout .sider {\n background-color: #fff !important;\n border-right: 1px solid #f0f0f0;\n height: 100%;\n}\n.layout .sider :global .ant-layout-sider-children {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.layout .sider .categoryName {\n margin-left: 8px;\n font-size: 14px;\n color: #333;\n}\n.layout .sider .siderContent {\n flex: 1;\n overflow-y: auto;\n padding: 0 12px;\n}\n.layout .sider .siderContent .categoryItem {\n align-items: center;\n padding: 8px 12px;\n border-radius: 8px;\n cursor: pointer;\n transition: all 0.2s;\n}\n.layout .sider .siderContent .categoryItem:hover {\n background-color: #f5f5f5;\n}\n.layout .sider .siderContent .categoryActive {\n background-color: #e6f4ff;\n}\n.layout .sider .siderContent .categoryActive:hover {\n background-color: #e6f4ff;\n}\n.layout .sider .siderContent .categoryActive .categoryName {\n color: #1677ff;\n font-weight: 500;\n}\n.layout .sider .siderContent .roundCheckbox :global .ant-checkbox-inner {\n border-radius: 50%;\n}\n.content {\n display: flex;\n flex-direction: column;\n background-color: #fff;\n height: 100%;\n padding: 20px;\n padding-top: 0;\n gap: 16px;\n}\n.content .searchInput {\n width: 300px;\n}\n.content .selectedCount {\n font-size: 12px;\n}\n.content .tagsArea {\n width: 100%;\n max-height: 60px;\n overflow: hidden;\n display: flex;\n}\n.content .tagsArea .tagContainer {\n width: calc(100% - 40px);\n}\n.content .tagsArea .tagContainer .tag {\n font-size: 13px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n margin: 0;\n}\n.content .tagsArea .expandBtnWrapper {\n display: flex;\n align-items: flex-end;\n padding-bottom: 8px;\n}\n.content .tagsArea .expandBtn {\n background-color: #f5f5f5;\n font-size: 13px;\n border: none;\n}\n.content .tagsArea .expandBtn:hover {\n border: none !important;\n background-color: #f5f5f5 !important;\n}\n.content .tagsExpanded {\n max-height: none;\n overflow: visible;\n}\n.content .listArea {\n flex: 1;\n overflow-y: auto;\n background-color: #fafafa;\n border-radius: 12px;\n padding: 16px;\n}\n.content .listArea .listInner {\n padding-bottom: 16px;\n}\n.content .listArea .listItem {\n width: 100%;\n background-color: #fff;\n border-radius: 8px;\n padding: 10px;\n display: flex;\n cursor: pointer;\n transition: all 0.2s;\n position: relative;\n}\n.content .listArea .listItem:hover {\n box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);\n background-color: #e6f4ff;\n}\n.content .listArea .listItemSelected {\n background-color: #eee;\n}\n.content .listArea .itemIconWrapper {\n width: 40px;\n height: 40px;\n border-radius: 8px;\n background-color: #e6f4ff;\n color: #1677ff;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 20px;\n margin-right: 12px;\n flex-shrink: 0;\n}\n.content .listArea .itemInfo {\n flex: 1;\n min-width: 0;\n gap: 2px;\n}\n.content .listArea .itemInfo .itemDesc {\n font-size: 12px;\n color: #999;\n}\n.footer {\n border-top: 1px solid #f0f0f0;\n padding: 10px 20px;\n justify-content: flex-end;\n align-items: center;\n}\n.titleContainer {\n padding: 16px 32px 0 20px;\n border-bottom: 1px solid #f0f0f0;\n align-items: center;\n}\n",".appCard {\n width: 180px;\n border-radius: 10px;\n border: 1px solid #d7d7d7;\n background-color: #fafafa;\n font-size: 16px;\n cursor: pointer;\n margin: 8px;\n padding: 12px 8px;\n}\n.appCard > div {\n max-width: 100%;\n}\n.appCard > img {\n height: 30px;\n}\n.fileView {\n width: 200px;\n padding: 4px 8px;\n cursor: pointer;\n background-color: #f5f3f3;\n border-radius: 6px;\n}\n.fileEdit {\n margin: 12px 0;\n border-radius: 6px;\n border: 1px solid #f2f2f2;\n}\n.fileEdit .fileEditHeader {\n padding: 2px 8px;\n background-color: #f2f2f2;\n}\n.fileEdit .fileEditContent {\n padding: 8px;\n background-color: #fafafa;\n}\n.mdEdit {\n margin: 10px 0;\n background-color: rgba(242, 242, 242, 0.2);\n border: 1px solid #f2f2f2;\n padding: 10px;\n border-radius: 4px;\n}\n.chart {\n padding: 10px;\n max-width: 100%;\n min-width: 350px;\n overflow-x: scroll;\n display: inline-block;\n border-radius: 12px;\n border: 1px solid #e5e9f0;\n background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);\n margin: 12px 0;\n}\n.chart .chartSkeleton {\n width: 100% !important;\n}\n.chart .chartSkeleton .chartSkeletonIcon {\n font-size: 40px;\n color: #bfbfbf;\n}\n",".xMarkdownStyle :global {\n /* stylelint-disable-next-line selector-class-pattern */\n}\n.xMarkdownStyle :global .ant-codeHighlighter-code code,\n.xMarkdownStyle :global .ant-codeHighlighter-code pre,\n.xMarkdownStyle :global .ant-codeHighlighter-code [class*='language-'] {\n background-color: transparent !important;\n}\n",".iconContainer {\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--ant-border-radius-sm);\n overflow: hidden;\n flex-shrink: 0;\n gap: 20;\n}\n.toolName {\n font-size: 12px;\n color: var(--ant-color-text-secondary);\n flex: 1;\n line-height: 22px;\n}\n.duration {\n font-size: 12px;\n color: var(--ant-color-text-tertiary);\n flex-shrink: 0;\n}\n.statusIcon {\n font-size: 12px;\n display: flex;\n align-items: center;\n margin-left: 20px;\n}\n.sectionLabel {\n font-size: 12px;\n color: var(--ant-color-text-tertiary);\n margin-bottom: 4px;\n display: block;\n}\n.markdownContainer {\n max-width: 100%;\n overflow-x: auto;\n font-size: 12px;\n opacity: 0.85;\n}\n.sectionBlock {\n display: block;\n}\n.todoList {\n background-color: var(--ant-color-fill-alter);\n border-radius: var(--ant-border-radius);\n border: 1px solid var(--ant-color-border-secondary);\n margin-top: 4px;\n}\n.todoItem {\n padding: 8px 12px;\n border-bottom: 1px solid var(--ant-color-border-secondary);\n display: flex;\n align-items: flex-start;\n gap: 8px;\n}\n.todoItem:last-child {\n border-bottom: none;\n}\n.statusIconWrapper {\n margin-top: 2px;\n}\n.todoContent {\n flex: 1;\n min-width: 0;\n}\n.todoText {\n font-size: 13px;\n color: var(--ant-color-text);\n}\n.todoText.completed {\n color: var(--ant-color-text-tertiary);\n text-decoration: line-through;\n}\n.emptyText {\n font-size: 12px;\n}\n",".bodyWidth {\n width: 100%;\n height: 100%;\n}\n.inputContainer {\n max-width: 1000px;\n min-width: 320px;\n width: calc(100% - 24px);\n}\n.disclaimerNotice {\n font-size: 12px;\n text-align: center;\n color: #bfbfbf;\n}\n.previewHeader {\n padding: 8px;\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);\n align-items: center;\n}\n.previewHeader .previewHeaderTitle {\n font-size: 16px;\n font-weight: bold;\n}\n.previewHeader .actionIcon {\n font-size: 16px;\n cursor: pointer;\n color: var(--ant-color-text-tertiary);\n transition: transform 0.3s ease;\n}\n.previewHeader .actionIcon:hover {\n color: var(--ant-color-text);\n}\n",".chatLayout {\n background-color: transparent;\n height: 100%;\n width: 100%;\n}\n.spinWrapper {\n height: 100%;\n}\n.spinWrapper :global .ant-spin-container {\n height: 100%;\n}\n.fullScroll {\n overflow: auto;\n flex: 1;\n height: 100%;\n}\n.animatedSplitter :global(.ant-splitter-panel) {\n transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;\n}\n.animatedSplitter :global(.ant-splitter-bar) {\n transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;\n}\n.hideSplitterBar :global(.ant-splitter-bar) {\n display: none !important;\n}\n"],"mappings":";AAAA,WAAWA;AACT;AACE,yBAAqB,KAAK;AAC5B;AACA;AACE,yBAAqB,EAAE;AACzB;AACF;AACA,WAAWC;AACT;AACE,eAAW,OAAO;AACpB;AACF;AACA,CAACC,8BAAuB,EAAE,CAAC,oBAAoB,CAAC;AAC9C,WAAS;AACX;AACA,CAHCA,8BAGuB,EAAE,CAHC,o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,eAAa;AACf;AACA,CAACC;AACC,aAAW;AACX,SAAO,IAAI;AACX,eAAa;AACf;AACA,CAACC;AACC,aAAW;AACX,WAAS;AACT,eAAa;AACb,eAAa;AACf;AACA,CAACC;AACC,aAAW;AACX,SAAO,IAAI;AACX,iBAAe;AACf,WAAS;AACX;AACA,CAACC;AACC,aAAW;AACX,cAAY;AACZ,aAAW;AACX,WAAS;AACX;AACA,CAACC;AACC,WAAS;AACX;AACA,CAACC;AACC,oBAAkB,IAAI;AACtB,iBAAe,IAAI;AACnB,UAAQ,IAAI,MAAM,IAAI;AACtB,cAAY;AACd;AACA,CAACC;AACC,WAAS,IAAI;AACb,iBAAe,IAAI,MAAM,IAAI;AAC7B,WAAS;AACT,eAAa;AACb,OAAK;AACP;AACA,CAPCA,qBAOQ;AACP,iBAAe;AACjB;AACA,CAACC;AACC,cAAY;AACd;AACA,CAACC;AACC,QAAM;AACN,aAAW;AACb;AACA,CAACC;AACC,aAAW;AACX,SAAO,IAAI;AACb;AACA,CAJCA,qBAIQ,CAACC;AACR,SAAO,IAAI;AACX,mBAAiB;AACnB;AACA,CAACC;AACC,aAAW;AACb;;;AC5EA,CAACC;AACC,SAAO;AACP,UAAQ;AACV;AACA,CAACC;AACC,aAAW;AACX,aAAW;AACX,SAAO,KAAK,KAAK,EAAE;AACrB;AACA,CAACC;AACC,aAAW;AACX,cAAY;AACZ,SAAO;AACT;AACA,CAACC;AACC,WAAS;AACT,cAAY,EAAE,IAAI,IAAI,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AACpC,eAAa;AACf;AACA,CALCA,4BAKc,CAACC;AACd,aAAW;AACX,eAAa;AACf;AACA,CATCD,4BASc,CAACE;AACd,aAAW;AACX,UAAQ;AACR,SAAO,IAAI;AACX,cAAY,UAAU,KAAK;AAC7B;AACA,CAfCF,4BAec,CANCE,wBAMU;AACxB,SAAO,IAAI;AACb;;;AC/BA,CAACC;AACC,oBAAkB;AAClB,UAAQ;AACR,SAAO;AACT;AACA,CAACC;AACC,UAAQ;AACV;AACA,CAHCA,yBAGoB,CAAC;AACpB,UAAQ;AACV;AACA,CAACC;AACC,YAAU;AACV,QAAM;AACN,UAAQ;AACV;AACA,CAACC,8BAAyB,CAAC;AACzB,cAAY,IAAI,KAAK,aAAa,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE;AAC/C;AACA,CAHCA,8BAGyB,CAAC;AACzB,cAAY,IAAI,KAAK,aAAa,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE;AAC/C;AACA,CAACC,6BAAwB,CAHE;AAIzB,WAAS;AACX;","names":["loading-line","spin","chatAttachments","chatSender","runStartedNode","shimmer-bg","chatQuoteMsg","quoteTooltip","quoteTooltipContainer","chatHeader","chatTitle","popover","conversationListPanel","createConversationButton","conversations","chatWelcomeWrap","chatWelcome","promptItem","bubbleList","messageActions","resourceBtn","divider","count","resourceBtnActive","userInputCollapse","logoArea","logoContainer","staticHalo","logoHoverWrapper","logoImage","greetingTitle","gradientText","greetingSubtitle","senderReferenceHeaderTitle","senderReferenceHeaderContent","customModal","layout","sider","categoryName","siderContent","categoryItem","categoryActive","roundCheckbox","content","searchInput","selectedCount","tagsArea","tagContainer","tag","expandBtnWrapper","expandBtn","tagsExpanded","listArea","listInner","listItem","listItemSelected","itemIconWrapper","itemInfo","itemDesc","footer","titleContainer","appCard","fileView","fileEdit","fileEditHeader","fileEditContent","mdEdit","chart","chartSkeleton","chartSkeletonIcon","xMarkdownStyle","iconContainer","toolName","duration","statusIcon","sectionLabel","markdownContainer","sectionBlock","todoList","todoItem","statusIconWrapper","todoContent","todoText","completed","emptyText","bodyWidth","inputContainer","disclaimerNotice","previewHeader","previewHeaderTitle","actionIcon","chatLayout","spinWrapper","fullScroll","animatedSplitter","hideSplitterBar"]}
|
package/dist/index.d.mts
CHANGED
|
@@ -11,20 +11,14 @@ declare enum AgentTypeEnum {
|
|
|
11
11
|
AUTONOMOUS = 2
|
|
12
12
|
}
|
|
13
13
|
declare enum LibraryTypeEnum {
|
|
14
|
-
|
|
14
|
+
KNOWLEDGE = 1,
|
|
15
|
+
PROJECT = 2
|
|
15
16
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
interface Variable {
|
|
23
|
-
name: string;
|
|
24
|
-
type: 'STRING' | 'LONG' | 'NUMBER' | 'BOOLEAN' | 'FILE' | 'ARRAY_FILE' | 'OBJECT' | 'ARRAY' | 'ARRAY_STRING' | 'ARRAY_NUMBER' | 'ARRAY_DECIMAL' | 'ARRAY_BOOLEAN' | 'ARRAY_OBJECT';
|
|
25
|
-
value?: any;
|
|
26
|
-
enableEdit?: boolean;
|
|
27
|
-
rules?: VariableRule[];
|
|
17
|
+
declare enum TagTypeEnum {
|
|
18
|
+
AGENT = 1,
|
|
19
|
+
KNOWLEDGE = 2,
|
|
20
|
+
SKILL = 3,
|
|
21
|
+
PROJECT = 4
|
|
28
22
|
}
|
|
29
23
|
|
|
30
24
|
interface ModelConfig {
|
|
@@ -41,14 +35,12 @@ interface FileUploadConfig {
|
|
|
41
35
|
interface AgentSpec {
|
|
42
36
|
model: ModelConfig;
|
|
43
37
|
knowledge: {
|
|
44
|
-
mode: number;
|
|
45
38
|
items: {
|
|
46
39
|
id: string;
|
|
47
40
|
name: string;
|
|
48
41
|
}[];
|
|
49
42
|
};
|
|
50
43
|
skills: {
|
|
51
|
-
mode: number;
|
|
52
44
|
items: {
|
|
53
45
|
id: string;
|
|
54
46
|
}[];
|
|
@@ -75,7 +67,19 @@ interface AgentInfo {
|
|
|
75
67
|
tagIds?: string[];
|
|
76
68
|
spec?: AgentSpec;
|
|
77
69
|
config?: AgentConfig;
|
|
78
|
-
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
interface VariableRule {
|
|
73
|
+
type: 'required' | 'email' | 'pattern' | 'max' | 'min' | 'length' | 'size' | 'enum';
|
|
74
|
+
value?: string | number | boolean;
|
|
75
|
+
message?: string;
|
|
76
|
+
}
|
|
77
|
+
interface Variable {
|
|
78
|
+
name: string;
|
|
79
|
+
type: 'STRING' | 'LONG' | 'NUMBER' | 'BOOLEAN' | 'FILE' | 'ARRAY_FILE' | 'OBJECT' | 'ARRAY' | 'ARRAY_STRING' | 'ARRAY_NUMBER' | 'ARRAY_DECIMAL' | 'ARRAY_BOOLEAN' | 'ARRAY_OBJECT';
|
|
80
|
+
value?: any;
|
|
81
|
+
enableEdit?: boolean;
|
|
82
|
+
rules?: VariableRule[];
|
|
79
83
|
}
|
|
80
84
|
|
|
81
85
|
/**
|
|
@@ -164,6 +168,11 @@ declare const createChatService: (request: ReturnType<typeof createRequest>, con
|
|
|
164
168
|
chatUpload: (agentId: string, data: FormData, conversationId: string, signal?: AbortSignal) => Promise<R<InputFile[]>>;
|
|
165
169
|
getPreviewUrl: (agentId: string, conversationId: string, path: string) => string;
|
|
166
170
|
docQuery: (params: string) => Promise<R<DocType>>;
|
|
171
|
+
listSkills: (params?: ListSkillReq) => Promise<R<Skill[]>>;
|
|
172
|
+
listLibrarys: (params?: ListLibraryReq) => Promise<R<Library[]>>;
|
|
173
|
+
listTags: (params: {
|
|
174
|
+
tagType: TagTypeEnum;
|
|
175
|
+
}) => Promise<R<WorkspaceTag[]>>;
|
|
167
176
|
};
|
|
168
177
|
|
|
169
178
|
type RequestInstance = ReturnType<typeof createChatService>;
|
|
@@ -1315,11 +1324,14 @@ interface ChatLayoutHeader {
|
|
|
1315
1324
|
/** 是否显示关闭按钮 */
|
|
1316
1325
|
closeBtn?: boolean;
|
|
1317
1326
|
/** 新建会话按钮渲染控制 */
|
|
1318
|
-
newConversationBtn?: RenderControl<void,
|
|
1327
|
+
newConversationBtn?: RenderControl<void, CustomButtonProps>;
|
|
1319
1328
|
/** 是否显示智能体性格选择 */
|
|
1320
1329
|
agentCharacter?: boolean;
|
|
1321
1330
|
/** 是否显示会话列表按钮 */
|
|
1322
|
-
conversationListBtn?:
|
|
1331
|
+
conversationListBtn?: RenderControl<void, ButtonProps>;
|
|
1332
|
+
}
|
|
1333
|
+
interface CustomButtonProps extends Omit<ButtonProps, 'icon'> {
|
|
1334
|
+
icon?: () => ReactNode;
|
|
1323
1335
|
}
|
|
1324
1336
|
/**
|
|
1325
1337
|
* 聊天布局输入框配置接口
|
|
@@ -1353,6 +1365,10 @@ interface ChatLayoutSender {
|
|
|
1353
1365
|
knowledgeBtn?: RenderControl<void, void>;
|
|
1354
1366
|
/** 发送按钮属性配置函数 */
|
|
1355
1367
|
sendBtnProps?: () => ButtonProps;
|
|
1368
|
+
/** 模型下拉选择配置控制 */
|
|
1369
|
+
modelSelect?: RenderControl<void, void>;
|
|
1370
|
+
/** 深度思考按钮渲染控制 */
|
|
1371
|
+
reasonBtn?: RenderControl<void, void>;
|
|
1356
1372
|
}
|
|
1357
1373
|
/**
|
|
1358
1374
|
* 消息列表欢迎信息配置
|
|
@@ -1500,6 +1516,47 @@ interface DocType {
|
|
|
1500
1516
|
/** 文档字数 */
|
|
1501
1517
|
wordCount?: number;
|
|
1502
1518
|
}
|
|
1519
|
+
interface ListSkillReq extends PageReq {
|
|
1520
|
+
name?: string;
|
|
1521
|
+
tagIds?: string[];
|
|
1522
|
+
}
|
|
1523
|
+
interface ListLibraryReq extends PageReq {
|
|
1524
|
+
libraryType?: number;
|
|
1525
|
+
tagIds?: string[];
|
|
1526
|
+
name?: string;
|
|
1527
|
+
}
|
|
1528
|
+
interface Skill {
|
|
1529
|
+
id: string;
|
|
1530
|
+
parentId: number;
|
|
1531
|
+
name: string;
|
|
1532
|
+
aliasName?: string;
|
|
1533
|
+
description: string;
|
|
1534
|
+
content: string;
|
|
1535
|
+
tokenSize: number;
|
|
1536
|
+
hitCount: number;
|
|
1537
|
+
state: number;
|
|
1538
|
+
tagIds?: string[];
|
|
1539
|
+
fileHash: string;
|
|
1540
|
+
type: number;
|
|
1541
|
+
hashUpdate?: boolean;
|
|
1542
|
+
createdAt: string;
|
|
1543
|
+
updatedAt: string;
|
|
1544
|
+
isOwner?: boolean;
|
|
1545
|
+
}
|
|
1546
|
+
interface Library {
|
|
1547
|
+
id: string;
|
|
1548
|
+
name: string;
|
|
1549
|
+
description: string;
|
|
1550
|
+
libraryType: number;
|
|
1551
|
+
icon: string;
|
|
1552
|
+
tagIds?: string[];
|
|
1553
|
+
createdAt: string;
|
|
1554
|
+
}
|
|
1555
|
+
interface WorkspaceTag {
|
|
1556
|
+
id: string;
|
|
1557
|
+
name?: string;
|
|
1558
|
+
tagType?: TagTypeEnum;
|
|
1559
|
+
}
|
|
1503
1560
|
|
|
1504
1561
|
/**
|
|
1505
1562
|
* 附件组件属性接口
|
package/dist/index.d.ts
CHANGED
|
@@ -11,20 +11,14 @@ declare enum AgentTypeEnum {
|
|
|
11
11
|
AUTONOMOUS = 2
|
|
12
12
|
}
|
|
13
13
|
declare enum LibraryTypeEnum {
|
|
14
|
-
|
|
14
|
+
KNOWLEDGE = 1,
|
|
15
|
+
PROJECT = 2
|
|
15
16
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
interface Variable {
|
|
23
|
-
name: string;
|
|
24
|
-
type: 'STRING' | 'LONG' | 'NUMBER' | 'BOOLEAN' | 'FILE' | 'ARRAY_FILE' | 'OBJECT' | 'ARRAY' | 'ARRAY_STRING' | 'ARRAY_NUMBER' | 'ARRAY_DECIMAL' | 'ARRAY_BOOLEAN' | 'ARRAY_OBJECT';
|
|
25
|
-
value?: any;
|
|
26
|
-
enableEdit?: boolean;
|
|
27
|
-
rules?: VariableRule[];
|
|
17
|
+
declare enum TagTypeEnum {
|
|
18
|
+
AGENT = 1,
|
|
19
|
+
KNOWLEDGE = 2,
|
|
20
|
+
SKILL = 3,
|
|
21
|
+
PROJECT = 4
|
|
28
22
|
}
|
|
29
23
|
|
|
30
24
|
interface ModelConfig {
|
|
@@ -41,14 +35,12 @@ interface FileUploadConfig {
|
|
|
41
35
|
interface AgentSpec {
|
|
42
36
|
model: ModelConfig;
|
|
43
37
|
knowledge: {
|
|
44
|
-
mode: number;
|
|
45
38
|
items: {
|
|
46
39
|
id: string;
|
|
47
40
|
name: string;
|
|
48
41
|
}[];
|
|
49
42
|
};
|
|
50
43
|
skills: {
|
|
51
|
-
mode: number;
|
|
52
44
|
items: {
|
|
53
45
|
id: string;
|
|
54
46
|
}[];
|
|
@@ -75,7 +67,19 @@ interface AgentInfo {
|
|
|
75
67
|
tagIds?: string[];
|
|
76
68
|
spec?: AgentSpec;
|
|
77
69
|
config?: AgentConfig;
|
|
78
|
-
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
interface VariableRule {
|
|
73
|
+
type: 'required' | 'email' | 'pattern' | 'max' | 'min' | 'length' | 'size' | 'enum';
|
|
74
|
+
value?: string | number | boolean;
|
|
75
|
+
message?: string;
|
|
76
|
+
}
|
|
77
|
+
interface Variable {
|
|
78
|
+
name: string;
|
|
79
|
+
type: 'STRING' | 'LONG' | 'NUMBER' | 'BOOLEAN' | 'FILE' | 'ARRAY_FILE' | 'OBJECT' | 'ARRAY' | 'ARRAY_STRING' | 'ARRAY_NUMBER' | 'ARRAY_DECIMAL' | 'ARRAY_BOOLEAN' | 'ARRAY_OBJECT';
|
|
80
|
+
value?: any;
|
|
81
|
+
enableEdit?: boolean;
|
|
82
|
+
rules?: VariableRule[];
|
|
79
83
|
}
|
|
80
84
|
|
|
81
85
|
/**
|
|
@@ -164,6 +168,11 @@ declare const createChatService: (request: ReturnType<typeof createRequest>, con
|
|
|
164
168
|
chatUpload: (agentId: string, data: FormData, conversationId: string, signal?: AbortSignal) => Promise<R<InputFile[]>>;
|
|
165
169
|
getPreviewUrl: (agentId: string, conversationId: string, path: string) => string;
|
|
166
170
|
docQuery: (params: string) => Promise<R<DocType>>;
|
|
171
|
+
listSkills: (params?: ListSkillReq) => Promise<R<Skill[]>>;
|
|
172
|
+
listLibrarys: (params?: ListLibraryReq) => Promise<R<Library[]>>;
|
|
173
|
+
listTags: (params: {
|
|
174
|
+
tagType: TagTypeEnum;
|
|
175
|
+
}) => Promise<R<WorkspaceTag[]>>;
|
|
167
176
|
};
|
|
168
177
|
|
|
169
178
|
type RequestInstance = ReturnType<typeof createChatService>;
|
|
@@ -1315,11 +1324,14 @@ interface ChatLayoutHeader {
|
|
|
1315
1324
|
/** 是否显示关闭按钮 */
|
|
1316
1325
|
closeBtn?: boolean;
|
|
1317
1326
|
/** 新建会话按钮渲染控制 */
|
|
1318
|
-
newConversationBtn?: RenderControl<void,
|
|
1327
|
+
newConversationBtn?: RenderControl<void, CustomButtonProps>;
|
|
1319
1328
|
/** 是否显示智能体性格选择 */
|
|
1320
1329
|
agentCharacter?: boolean;
|
|
1321
1330
|
/** 是否显示会话列表按钮 */
|
|
1322
|
-
conversationListBtn?:
|
|
1331
|
+
conversationListBtn?: RenderControl<void, ButtonProps>;
|
|
1332
|
+
}
|
|
1333
|
+
interface CustomButtonProps extends Omit<ButtonProps, 'icon'> {
|
|
1334
|
+
icon?: () => ReactNode;
|
|
1323
1335
|
}
|
|
1324
1336
|
/**
|
|
1325
1337
|
* 聊天布局输入框配置接口
|
|
@@ -1353,6 +1365,10 @@ interface ChatLayoutSender {
|
|
|
1353
1365
|
knowledgeBtn?: RenderControl<void, void>;
|
|
1354
1366
|
/** 发送按钮属性配置函数 */
|
|
1355
1367
|
sendBtnProps?: () => ButtonProps;
|
|
1368
|
+
/** 模型下拉选择配置控制 */
|
|
1369
|
+
modelSelect?: RenderControl<void, void>;
|
|
1370
|
+
/** 深度思考按钮渲染控制 */
|
|
1371
|
+
reasonBtn?: RenderControl<void, void>;
|
|
1356
1372
|
}
|
|
1357
1373
|
/**
|
|
1358
1374
|
* 消息列表欢迎信息配置
|
|
@@ -1500,6 +1516,47 @@ interface DocType {
|
|
|
1500
1516
|
/** 文档字数 */
|
|
1501
1517
|
wordCount?: number;
|
|
1502
1518
|
}
|
|
1519
|
+
interface ListSkillReq extends PageReq {
|
|
1520
|
+
name?: string;
|
|
1521
|
+
tagIds?: string[];
|
|
1522
|
+
}
|
|
1523
|
+
interface ListLibraryReq extends PageReq {
|
|
1524
|
+
libraryType?: number;
|
|
1525
|
+
tagIds?: string[];
|
|
1526
|
+
name?: string;
|
|
1527
|
+
}
|
|
1528
|
+
interface Skill {
|
|
1529
|
+
id: string;
|
|
1530
|
+
parentId: number;
|
|
1531
|
+
name: string;
|
|
1532
|
+
aliasName?: string;
|
|
1533
|
+
description: string;
|
|
1534
|
+
content: string;
|
|
1535
|
+
tokenSize: number;
|
|
1536
|
+
hitCount: number;
|
|
1537
|
+
state: number;
|
|
1538
|
+
tagIds?: string[];
|
|
1539
|
+
fileHash: string;
|
|
1540
|
+
type: number;
|
|
1541
|
+
hashUpdate?: boolean;
|
|
1542
|
+
createdAt: string;
|
|
1543
|
+
updatedAt: string;
|
|
1544
|
+
isOwner?: boolean;
|
|
1545
|
+
}
|
|
1546
|
+
interface Library {
|
|
1547
|
+
id: string;
|
|
1548
|
+
name: string;
|
|
1549
|
+
description: string;
|
|
1550
|
+
libraryType: number;
|
|
1551
|
+
icon: string;
|
|
1552
|
+
tagIds?: string[];
|
|
1553
|
+
createdAt: string;
|
|
1554
|
+
}
|
|
1555
|
+
interface WorkspaceTag {
|
|
1556
|
+
id: string;
|
|
1557
|
+
name?: string;
|
|
1558
|
+
tagType?: TagTypeEnum;
|
|
1559
|
+
}
|
|
1503
1560
|
|
|
1504
1561
|
/**
|
|
1505
1562
|
* 附件组件属性接口
|