@zero-library/chat-copilot 1.0.3 → 1.0.5
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 +3549 -3571
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +166 -137
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +35 -10
- package/dist/index.d.ts +35 -10
- package/dist/index.esm.js +3497 -3518
- package/dist/index.esm.js.map +1 -1
- package/package.json +3 -3
package/dist/index.css
CHANGED
|
@@ -38,6 +38,29 @@
|
|
|
38
38
|
.styles_module_chatAttachments > .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 {
|
|
39
39
|
display: none;
|
|
40
40
|
}
|
|
41
|
+
.styles_module_chatSender.ant-sender .ant-sender-input {
|
|
42
|
+
scrollbar-width: thin;
|
|
43
|
+
scrollbar-color: transparent transparent;
|
|
44
|
+
}
|
|
45
|
+
.styles_module_chatSender.ant-sender .ant-sender-input::-webkit-scrollbar {
|
|
46
|
+
width: 8px;
|
|
47
|
+
height: 8px;
|
|
48
|
+
}
|
|
49
|
+
.styles_module_chatSender.ant-sender .ant-sender-input::-webkit-scrollbar-thumb {
|
|
50
|
+
background-color: rgba(0, 0, 0, 0);
|
|
51
|
+
border-radius: 4px;
|
|
52
|
+
transition: background-color 0.3s ease 0.3s;
|
|
53
|
+
}
|
|
54
|
+
.styles_module_chatSender.ant-sender .ant-sender-input::-webkit-scrollbar-track {
|
|
55
|
+
background: transparent;
|
|
56
|
+
}
|
|
57
|
+
.styles_module_chatSender.ant-sender .ant-sender-input:hover {
|
|
58
|
+
scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
|
|
59
|
+
}
|
|
60
|
+
.styles_module_chatSender.ant-sender .ant-sender-input:hover::-webkit-scrollbar-thumb {
|
|
61
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
62
|
+
transition-delay: 0s;
|
|
63
|
+
}
|
|
41
64
|
.styles_module_chatSender.ant-sender:focus-within {
|
|
42
65
|
box-shadow: none;
|
|
43
66
|
}
|
|
@@ -97,130 +120,6 @@
|
|
|
97
120
|
color: #000;
|
|
98
121
|
}
|
|
99
122
|
|
|
100
|
-
/* src/components/CustomComponents/XMarkdown/styles.module.less */
|
|
101
|
-
.styles_module_appCard {
|
|
102
|
-
width: 180px;
|
|
103
|
-
border-radius: 10px;
|
|
104
|
-
border: 1px solid #d7d7d7;
|
|
105
|
-
background-color: #fafafa;
|
|
106
|
-
font-size: 16px;
|
|
107
|
-
cursor: pointer;
|
|
108
|
-
margin: 8px;
|
|
109
|
-
padding: 12px 8px;
|
|
110
|
-
}
|
|
111
|
-
.styles_module_appCard > div {
|
|
112
|
-
max-width: 100%;
|
|
113
|
-
}
|
|
114
|
-
.styles_module_appCard > img {
|
|
115
|
-
height: 30px;
|
|
116
|
-
}
|
|
117
|
-
.styles_module_fileView {
|
|
118
|
-
width: 200px;
|
|
119
|
-
padding: 4px 8px;
|
|
120
|
-
cursor: pointer;
|
|
121
|
-
background-color: #f5f3f3;
|
|
122
|
-
border-radius: 6px;
|
|
123
|
-
}
|
|
124
|
-
.styles_module_fileEdit {
|
|
125
|
-
margin: 12px 0;
|
|
126
|
-
border-radius: 6px;
|
|
127
|
-
border: 1px solid #f2f2f2;
|
|
128
|
-
}
|
|
129
|
-
.styles_module_fileEdit .styles_module_fileEditHeader {
|
|
130
|
-
padding: 2px 8px;
|
|
131
|
-
background-color: #f2f2f2;
|
|
132
|
-
}
|
|
133
|
-
.styles_module_fileEdit .styles_module_fileEditContent {
|
|
134
|
-
padding: 8px;
|
|
135
|
-
background-color: #fafafa;
|
|
136
|
-
}
|
|
137
|
-
.styles_module_mdEdit {
|
|
138
|
-
margin: 10px 0;
|
|
139
|
-
background-color: rgba(242, 242, 242, 0.2);
|
|
140
|
-
border: 1px solid #f2f2f2;
|
|
141
|
-
padding: 10px;
|
|
142
|
-
border-radius: 4px;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
/* src/components/CustomComponents/tool-renders/index.module.less */
|
|
146
|
-
.index_module_iconContainer {
|
|
147
|
-
width: 20px;
|
|
148
|
-
height: 20px;
|
|
149
|
-
display: flex;
|
|
150
|
-
align-items: center;
|
|
151
|
-
justify-content: center;
|
|
152
|
-
border-radius: var(--ant-border-radius-sm);
|
|
153
|
-
overflow: hidden;
|
|
154
|
-
flex-shrink: 0;
|
|
155
|
-
gap: 20;
|
|
156
|
-
}
|
|
157
|
-
.index_module_toolName {
|
|
158
|
-
font-size: 12px;
|
|
159
|
-
color: var(--ant-color-text-secondary);
|
|
160
|
-
flex: 1;
|
|
161
|
-
line-height: 22px;
|
|
162
|
-
}
|
|
163
|
-
.index_module_duration {
|
|
164
|
-
font-size: 12px;
|
|
165
|
-
color: var(--ant-color-text-tertiary);
|
|
166
|
-
flex-shrink: 0;
|
|
167
|
-
}
|
|
168
|
-
.index_module_statusIcon {
|
|
169
|
-
font-size: 12px;
|
|
170
|
-
display: flex;
|
|
171
|
-
align-items: center;
|
|
172
|
-
margin-left: 20px;
|
|
173
|
-
}
|
|
174
|
-
.index_module_sectionLabel {
|
|
175
|
-
font-size: 12px;
|
|
176
|
-
color: var(--ant-color-text-tertiary);
|
|
177
|
-
margin-bottom: 4px;
|
|
178
|
-
display: block;
|
|
179
|
-
}
|
|
180
|
-
.index_module_markdownContainer {
|
|
181
|
-
max-width: 100%;
|
|
182
|
-
overflow-x: auto;
|
|
183
|
-
font-size: 12px;
|
|
184
|
-
opacity: 0.85;
|
|
185
|
-
}
|
|
186
|
-
.index_module_sectionBlock {
|
|
187
|
-
display: block;
|
|
188
|
-
}
|
|
189
|
-
.index_module_todoList {
|
|
190
|
-
background-color: var(--ant-color-fill-alter);
|
|
191
|
-
border-radius: var(--ant-border-radius);
|
|
192
|
-
border: 1px solid var(--ant-color-border-secondary);
|
|
193
|
-
margin-top: 4px;
|
|
194
|
-
}
|
|
195
|
-
.index_module_todoItem {
|
|
196
|
-
padding: 8px 12px;
|
|
197
|
-
border-bottom: 1px solid var(--ant-color-border-secondary);
|
|
198
|
-
display: flex;
|
|
199
|
-
align-items: flex-start;
|
|
200
|
-
gap: 8px;
|
|
201
|
-
}
|
|
202
|
-
.index_module_todoItem:last-child {
|
|
203
|
-
border-bottom: none;
|
|
204
|
-
}
|
|
205
|
-
.index_module_statusIconWrapper {
|
|
206
|
-
margin-top: 2px;
|
|
207
|
-
}
|
|
208
|
-
.index_module_todoContent {
|
|
209
|
-
flex: 1;
|
|
210
|
-
min-width: 0;
|
|
211
|
-
}
|
|
212
|
-
.index_module_todoText {
|
|
213
|
-
font-size: 13px;
|
|
214
|
-
color: var(--ant-color-text);
|
|
215
|
-
}
|
|
216
|
-
.index_module_todoText.index_module_completed {
|
|
217
|
-
color: var(--ant-color-text-tertiary);
|
|
218
|
-
text-decoration: line-through;
|
|
219
|
-
}
|
|
220
|
-
.index_module_emptyText {
|
|
221
|
-
font-size: 12px;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
123
|
/* src/ui/common/styles.module.less */
|
|
225
124
|
.styles_module_chatHeader {
|
|
226
125
|
padding: 8px 16px;
|
|
@@ -458,6 +357,139 @@
|
|
|
458
357
|
padding: 0 !important;
|
|
459
358
|
}
|
|
460
359
|
|
|
360
|
+
/* src/components/CustomComponents/XMarkdown/styles.module.less */
|
|
361
|
+
.styles_module_appCard {
|
|
362
|
+
width: 180px;
|
|
363
|
+
border-radius: 10px;
|
|
364
|
+
border: 1px solid #d7d7d7;
|
|
365
|
+
background-color: #fafafa;
|
|
366
|
+
font-size: 16px;
|
|
367
|
+
cursor: pointer;
|
|
368
|
+
margin: 8px;
|
|
369
|
+
padding: 12px 8px;
|
|
370
|
+
}
|
|
371
|
+
.styles_module_appCard > div {
|
|
372
|
+
max-width: 100%;
|
|
373
|
+
}
|
|
374
|
+
.styles_module_appCard > img {
|
|
375
|
+
height: 30px;
|
|
376
|
+
}
|
|
377
|
+
.styles_module_fileView {
|
|
378
|
+
width: 200px;
|
|
379
|
+
padding: 4px 8px;
|
|
380
|
+
cursor: pointer;
|
|
381
|
+
background-color: #f5f3f3;
|
|
382
|
+
border-radius: 6px;
|
|
383
|
+
}
|
|
384
|
+
.styles_module_fileEdit {
|
|
385
|
+
margin: 12px 0;
|
|
386
|
+
border-radius: 6px;
|
|
387
|
+
border: 1px solid #f2f2f2;
|
|
388
|
+
}
|
|
389
|
+
.styles_module_fileEdit .styles_module_fileEditHeader {
|
|
390
|
+
padding: 2px 8px;
|
|
391
|
+
background-color: #f2f2f2;
|
|
392
|
+
}
|
|
393
|
+
.styles_module_fileEdit .styles_module_fileEditContent {
|
|
394
|
+
padding: 8px;
|
|
395
|
+
background-color: #fafafa;
|
|
396
|
+
}
|
|
397
|
+
.styles_module_mdEdit {
|
|
398
|
+
margin: 10px 0;
|
|
399
|
+
background-color: rgba(242, 242, 242, 0.2);
|
|
400
|
+
border: 1px solid #f2f2f2;
|
|
401
|
+
padding: 10px;
|
|
402
|
+
border-radius: 4px;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
/* src/components/XMarkdown/styles.module.less */
|
|
406
|
+
.styles_module_xMarkdownStyle {
|
|
407
|
+
}
|
|
408
|
+
.styles_module_xMarkdownStyle .ant-codeHighlighter-code code,
|
|
409
|
+
.xMarkdownStyle .ant-codeHighlighter-code pre,
|
|
410
|
+
.xMarkdownStyle .ant-codeHighlighter-code [class*=language-] {
|
|
411
|
+
background-color: transparent !important;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
/* src/components/CustomComponents/tool-renders/index.module.less */
|
|
415
|
+
.index_module_iconContainer {
|
|
416
|
+
width: 20px;
|
|
417
|
+
height: 20px;
|
|
418
|
+
display: flex;
|
|
419
|
+
align-items: center;
|
|
420
|
+
justify-content: center;
|
|
421
|
+
border-radius: var(--ant-border-radius-sm);
|
|
422
|
+
overflow: hidden;
|
|
423
|
+
flex-shrink: 0;
|
|
424
|
+
gap: 20;
|
|
425
|
+
}
|
|
426
|
+
.index_module_toolName {
|
|
427
|
+
font-size: 12px;
|
|
428
|
+
color: var(--ant-color-text-secondary);
|
|
429
|
+
flex: 1;
|
|
430
|
+
line-height: 22px;
|
|
431
|
+
}
|
|
432
|
+
.index_module_duration {
|
|
433
|
+
font-size: 12px;
|
|
434
|
+
color: var(--ant-color-text-tertiary);
|
|
435
|
+
flex-shrink: 0;
|
|
436
|
+
}
|
|
437
|
+
.index_module_statusIcon {
|
|
438
|
+
font-size: 12px;
|
|
439
|
+
display: flex;
|
|
440
|
+
align-items: center;
|
|
441
|
+
margin-left: 20px;
|
|
442
|
+
}
|
|
443
|
+
.index_module_sectionLabel {
|
|
444
|
+
font-size: 12px;
|
|
445
|
+
color: var(--ant-color-text-tertiary);
|
|
446
|
+
margin-bottom: 4px;
|
|
447
|
+
display: block;
|
|
448
|
+
}
|
|
449
|
+
.index_module_markdownContainer {
|
|
450
|
+
max-width: 100%;
|
|
451
|
+
overflow-x: auto;
|
|
452
|
+
font-size: 12px;
|
|
453
|
+
opacity: 0.85;
|
|
454
|
+
}
|
|
455
|
+
.index_module_sectionBlock {
|
|
456
|
+
display: block;
|
|
457
|
+
}
|
|
458
|
+
.index_module_todoList {
|
|
459
|
+
background-color: var(--ant-color-fill-alter);
|
|
460
|
+
border-radius: var(--ant-border-radius);
|
|
461
|
+
border: 1px solid var(--ant-color-border-secondary);
|
|
462
|
+
margin-top: 4px;
|
|
463
|
+
}
|
|
464
|
+
.index_module_todoItem {
|
|
465
|
+
padding: 8px 12px;
|
|
466
|
+
border-bottom: 1px solid var(--ant-color-border-secondary);
|
|
467
|
+
display: flex;
|
|
468
|
+
align-items: flex-start;
|
|
469
|
+
gap: 8px;
|
|
470
|
+
}
|
|
471
|
+
.index_module_todoItem:last-child {
|
|
472
|
+
border-bottom: none;
|
|
473
|
+
}
|
|
474
|
+
.index_module_statusIconWrapper {
|
|
475
|
+
margin-top: 2px;
|
|
476
|
+
}
|
|
477
|
+
.index_module_todoContent {
|
|
478
|
+
flex: 1;
|
|
479
|
+
min-width: 0;
|
|
480
|
+
}
|
|
481
|
+
.index_module_todoText {
|
|
482
|
+
font-size: 13px;
|
|
483
|
+
color: var(--ant-color-text);
|
|
484
|
+
}
|
|
485
|
+
.index_module_todoText.index_module_completed {
|
|
486
|
+
color: var(--ant-color-text-tertiary);
|
|
487
|
+
text-decoration: line-through;
|
|
488
|
+
}
|
|
489
|
+
.index_module_emptyText {
|
|
490
|
+
font-size: 12px;
|
|
491
|
+
}
|
|
492
|
+
|
|
461
493
|
/* src/ui/layouts/components/styles.module.less */
|
|
462
494
|
.styles_module_bodyWidth {
|
|
463
495
|
width: 100%;
|
|
@@ -474,25 +506,22 @@
|
|
|
474
506
|
color: #bfbfbf;
|
|
475
507
|
}
|
|
476
508
|
.styles_module_previewHeader {
|
|
477
|
-
|
|
478
|
-
|
|
509
|
+
padding: 8px;
|
|
510
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
|
|
479
511
|
align-items: center;
|
|
480
|
-
padding: 0 10px;
|
|
481
512
|
}
|
|
482
|
-
.
|
|
483
|
-
cursor: pointer;
|
|
484
|
-
color: var(--ant-color-text-tertiary);
|
|
485
|
-
transition: color 0.3s;
|
|
513
|
+
.styles_module_previewHeader .styles_module_previewHeaderTitle {
|
|
486
514
|
font-size: 16px;
|
|
515
|
+
font-weight: bold;
|
|
487
516
|
}
|
|
488
|
-
.
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
517
|
+
.styles_module_previewHeader .styles_module_actionIcon {
|
|
518
|
+
font-size: 16px;
|
|
519
|
+
cursor: pointer;
|
|
520
|
+
color: var(--ant-color-text-tertiary);
|
|
492
521
|
transition: transform 0.3s ease;
|
|
493
522
|
}
|
|
494
|
-
.
|
|
495
|
-
|
|
523
|
+
.styles_module_previewHeader .styles_module_actionIcon:hover {
|
|
524
|
+
color: var(--ant-color-text);
|
|
496
525
|
}
|
|
497
526
|
|
|
498
527
|
/* src/ui/layouts/index.module.less */
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/styles.module.less","../src/components/CustomComponents/XMarkdown/styles.module.less","../src/components/CustomComponents/tool-renders/index.module.less","../src/ui/common/styles.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: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",".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",".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",".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-inner-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}\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",".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 height: 40px;\n border-bottom: 1px solid #e2e8f0;\n align-items: center;\n padding: 0 10px;\n}\n.previewCloseBtn {\n cursor: pointer;\n color: var(--ant-color-text-tertiary);\n transition: color 0.3s;\n font-size: 16px;\n}\n.previewCloseBtn:hover {\n color: var(--ant-color-text);\n}\n.previewCloseBtn .closeIcon {\n transition: transform 0.3s ease;\n}\n.previewCloseBtn.rotateIcon:hover .closeIcon {\n transform: rotate(90deg);\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,oBAGoB,CAAC,0CAA0C,CAAC,aAAa,CAAC;AACvG,WAAS;AACX;AACA,CANCA,8BAMuB,EAAE,CANC,oBAMoB,CAHC,0CAG0C,CAHC,aAGa,CAAC;AACvG,aAAW,KAAK,GAAG,OAAO;AAC5B;AACA,CATCA,8BASuB,EAAE,CATC,oBASoB,CANC,0CAM0C,CAAC;AACzF,OAAK;AACP;AACA,CAZCA,8BAYuB,EAAE,CAZC,oBAYoB,CATC,0CAS0C,CAHC,iCAGiC,CAAC;AAC3H,SAAO;AACP,UAAQ;AACR,UAAQ,IAAI,MAAM;AAClB,gBAAc;AACd,iBAAe;AACf,aAAW,KAAK,GAAG,OAAO;AAC1B,cAAY;AACZ,YAAU;AACV,aAAW,MAAM,EAAE,EAAE,IAAI;AAC3B;AACA,CAvBCA,8BAuBuB,EAAE,CAvBC,oBAuBoB,CApBC,0CAoB0C,CAdC,iCAciC,CAXC,8BAW8B,CAAC;AAC1J,WAAS;AACX;AACA,CAACC,wBAAiB,CAAC,UAAU;AAC3B,cAAY;AACd;AACA,CAACC;AACC,WAAS,IAAI;AACb,iBAAe;AACf;AAAA,IAAY;AAAA,MAAgB,KAAK;AAAA,MAAE,YAAY,GAAG;AAAA,MAAE,QAAQ,GAAG;AAAA,MAAE,YAAY;AAC7E,mBAAiB,KAAK;AACtB,aAAW,yBAAW,GAAG,SAAS;AAClC,WAAS;AACT,SAAO;AACP,cAAY;AACZ,cAAY;AACZ,YAAU;AACZ;AACA,CAZCA,6BAYuB,CAA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iB;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,WAAS,IAAI;AACb,iBAAe,IAAI,MAAM;AAC3B;AACA,CAJCA,yBAIW,CAACC;AACX,aAAW;AACX,eAAa;AACf;AACA,CARCD,yBAQW,CAACE;AACX,cAAY;AACZ,SAAO;AACP,WAAS;AACT,kBAAgB;AAChB,WAAS;AACX;AACA,CAfCF,yBAeW,CAPCE,sBAOgB,CAAC;AAC5B,cAAY;AACZ,WAAS;AACT,kBAAgB;AAClB;AACA,CAACC;AACC,SAAO;AACP,aAAW;AACX,gBAAc,IAAI,OAAO;AAC3B;AACA,CALCA,oCAKsB,CAACC;AACtB,UAAQ;AACR,oBAAkB,IAAI;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A,MAAE;AACxE;AACA,CAjECN,uBAiES,CAACO;AACT,aAAW;AACX,eAAa;AACb,eAAa;AACb,SAAO;AACT;AACA,QAAQ,SAAS;AACf,GAxEDP,uBAwEW,CAPDO;AAQP,eAAW;AACX,iBAAa;AACf;AACF;AACA,CAACC,yCAAkC,EAAE,CAAC;AACpC,YAAU;AACZ;AACA,CAACC;AACC,WAAS;AACX;;;AC1OA,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,UAAQ;AACR,iBAAe,IAAI,MAAM;AACzB,eAAa;AACb,WAAS,EAAE;AACb;AACA,CAACC;AACC,UAAQ;AACR,SAAO,IAAI;AACX,cAAY,MAAM;AAClB,aAAW;AACb;AACA,CANCA,6BAMe;AACd,SAAO,IAAI;AACb;AACA,CATCA,8BASgB,CAACC;AAChB,cAAY,UAAU,KAAK;AAC7B;AACA,CAZCD,6BAYe,CAACE,wBAAU,OAAO,CAHhBD;AAIhB,aAAW,OAAO;AACpB;;;AClCA,CAACE;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","appCard","fileView","fileEdit","fileEditHeader","fileEditContent","mdEdit","iconContainer","toolName","duration","statusIcon","sectionLabel","markdownContainer","sectionBlock","todoList","todoItem","statusIconWrapper","todoContent","todoText","completed","emptyText","chatHeader","chatTitle","popover","conversationListPanel","createConversationButton","conversations","chatWelcomeWrap","chatWelcome","promptItem","bubbleList","messageActions","resourceBtn","resourceBtnActive","userInputCollapse","logoArea","logoContainer","staticHalo","logoHoverWrapper","logoImage","greetingTitle","gradientText","greetingSubtitle","senderReferenceHeaderTitle","senderReferenceHeaderContent","bodyWidth","inputContainer","disclaimerNotice","previewHeader","previewCloseBtn","closeIcon","rotateIcon","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: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-inner-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}\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",".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,O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AAa;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","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
|
@@ -2,7 +2,6 @@ import * as react from 'react';
|
|
|
2
2
|
import react__default, { ReactNode } from 'react';
|
|
3
3
|
import { BubbleProps } from '@ant-design/x-v2';
|
|
4
4
|
import { ButtonProps, ThemeConfig } from 'antd';
|
|
5
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
5
|
import { createRequest, RequestConfig, RenderControl } from '@zero-library/common';
|
|
7
6
|
|
|
8
7
|
type ConversationMemberEnum = 'user' | 'agent';
|
|
@@ -135,7 +134,7 @@ interface SenderProps {
|
|
|
135
134
|
/** 文件上传配置 */
|
|
136
135
|
fileUpload?: FileUpload;
|
|
137
136
|
}
|
|
138
|
-
declare const _default$
|
|
137
|
+
declare const _default$2: react.ForwardRefExoticComponent<SenderProps & react.RefAttributes<ChatSenderHandle>>;
|
|
139
138
|
|
|
140
139
|
interface UserInputType {
|
|
141
140
|
inputs: Variable[];
|
|
@@ -349,11 +348,12 @@ interface InputFile {
|
|
|
349
348
|
* 定义通过URL访问的文件信息
|
|
350
349
|
*/
|
|
351
350
|
interface FileUrlType {
|
|
351
|
+
/** 文件后缀名 */
|
|
352
|
+
suffix: string;
|
|
353
|
+
/** 文件访问URL */
|
|
354
|
+
fileUrl: string;
|
|
352
355
|
/** 文件名 */
|
|
353
356
|
fileName: string;
|
|
354
|
-
path: string;
|
|
355
|
-
fileUrl?: string;
|
|
356
|
-
ext?: string;
|
|
357
357
|
}
|
|
358
358
|
interface FirstMessageRenderCtx {
|
|
359
359
|
index: number;
|
|
@@ -367,6 +367,30 @@ interface FirstMessage extends Omit<BubbleProps, 'content' | 'contentRender' | '
|
|
|
367
367
|
/** 动态生成要展示的节点 */
|
|
368
368
|
contentRender?: (ctx: FirstMessageRenderCtx) => ReactNode;
|
|
369
369
|
}
|
|
370
|
+
/**
|
|
371
|
+
* 文件文本类型接口
|
|
372
|
+
* 定义包含文本内容的文件信息
|
|
373
|
+
*/
|
|
374
|
+
interface FileTextType {
|
|
375
|
+
/** 文件内容 */
|
|
376
|
+
content: string;
|
|
377
|
+
/** 文件后缀名 */
|
|
378
|
+
suffix: string;
|
|
379
|
+
/** 文件名 */
|
|
380
|
+
fileName: string;
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* 文件文本类型接口
|
|
384
|
+
* 定义包含文本内容的文件信息
|
|
385
|
+
*/
|
|
386
|
+
interface FileTextType {
|
|
387
|
+
/** 文件内容 */
|
|
388
|
+
content: string;
|
|
389
|
+
/** 文件后缀名 */
|
|
390
|
+
suffix: string;
|
|
391
|
+
/** 文件名 */
|
|
392
|
+
fileName: string;
|
|
393
|
+
}
|
|
370
394
|
/**
|
|
371
395
|
* 消息引用类型
|
|
372
396
|
* 用于消息回复时的引用信息
|
|
@@ -559,6 +583,8 @@ type MessageEvent = RunStartedEvent | TextEvent | FilesEvent | StepStartedEvent
|
|
|
559
583
|
interface ConversationMessage {
|
|
560
584
|
/** 消息ID */
|
|
561
585
|
messageId: string;
|
|
586
|
+
/** 智能体ID */
|
|
587
|
+
agentId: string;
|
|
562
588
|
/** 会话ID */
|
|
563
589
|
conversationId: string;
|
|
564
590
|
/** 执行ID */
|
|
@@ -1181,14 +1207,14 @@ interface ChatHooks {
|
|
|
1181
1207
|
* @param file - 被预览的文件对象, 如果不存在则表示正在关闭预览
|
|
1182
1208
|
* @param isBuiltIn - 是否为内嵌布局
|
|
1183
1209
|
*/
|
|
1184
|
-
onBeforeFilePreview?: (file?: FileUrlType, isBuiltIn?: boolean) => boolean | Promise<boolean> | void;
|
|
1210
|
+
onBeforeFilePreview?: (file?: FileUrlType | FileTextType, isBuiltIn?: boolean) => boolean | Promise<boolean> | void;
|
|
1185
1211
|
/**
|
|
1186
1212
|
* 文件预览后的回调函数
|
|
1187
1213
|
* 在文件预览打开或关闭之后执行,可以用于控制布局等
|
|
1188
1214
|
* @param file - 预览的文件对象, 如果不存在则表示已经关闭预览
|
|
1189
1215
|
* @param isBuiltIn - 是否为内嵌布局
|
|
1190
1216
|
*/
|
|
1191
|
-
onAfterFilePreview?: (file?: FileUrlType, isBuiltIn?: boolean) => void;
|
|
1217
|
+
onAfterFilePreview?: (file?: FileUrlType | FileTextType, isBuiltIn?: boolean) => void;
|
|
1192
1218
|
/**
|
|
1193
1219
|
* 设置引用消息前回调
|
|
1194
1220
|
* 在设置引用消息前调用,返回false可阻止设置
|
|
@@ -1464,7 +1490,7 @@ interface AttachmentsProps {
|
|
|
1464
1490
|
* 附件上传组件
|
|
1465
1491
|
* 支持多文件上传、文件类型验证、文件大小限制等功能
|
|
1466
1492
|
*/
|
|
1467
|
-
declare const _default$
|
|
1493
|
+
declare const _default$1: react.ForwardRefExoticComponent<AttachmentsProps & react.RefAttributes<unknown>>;
|
|
1468
1494
|
|
|
1469
1495
|
interface RoleContent {
|
|
1470
1496
|
role: number;
|
|
@@ -1483,8 +1509,7 @@ interface MessageRenderProps {
|
|
|
1483
1509
|
/** message自定义标记渲染组件 */
|
|
1484
1510
|
customComponents?: ChatLayoutMessageList['customComponents'];
|
|
1485
1511
|
}
|
|
1486
|
-
declare const _default$1: react__default.MemoExoticComponent<({ role, message, messageIndex, loading, containerRef, customComponents }: MessageRenderProps) => react_jsx_runtime.JSX.Element>;
|
|
1487
1512
|
|
|
1488
1513
|
declare const _default: react.ForwardRefExoticComponent<ChatProps & react.RefAttributes<ChatHandle>>;
|
|
1489
1514
|
|
|
1490
|
-
export { type AgentConfig, type AgentInfo, type AgentSpec, _default$
|
|
1515
|
+
export { type AgentConfig, type AgentInfo, type AgentSpec, _default$1 as Attachments, type AttachmentsProps, type ChatConfig, _default as ChatCopilot, type ChatHandle, type ChatHooks, type ChatLayout, type ChatParams, type ChatProps, _default$2 as ChatSender, type ChatServices, type ConversationMessage, type ConversationStrategy, type FileUploadConfig, type InputFile, type MessageRenderProps, type ReferencesType, type RequestInstance, type SenderProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import * as react from 'react';
|
|
|
2
2
|
import react__default, { ReactNode } from 'react';
|
|
3
3
|
import { BubbleProps } from '@ant-design/x-v2';
|
|
4
4
|
import { ButtonProps, ThemeConfig } from 'antd';
|
|
5
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
5
|
import { createRequest, RequestConfig, RenderControl } from '@zero-library/common';
|
|
7
6
|
|
|
8
7
|
type ConversationMemberEnum = 'user' | 'agent';
|
|
@@ -135,7 +134,7 @@ interface SenderProps {
|
|
|
135
134
|
/** 文件上传配置 */
|
|
136
135
|
fileUpload?: FileUpload;
|
|
137
136
|
}
|
|
138
|
-
declare const _default$
|
|
137
|
+
declare const _default$2: react.ForwardRefExoticComponent<SenderProps & react.RefAttributes<ChatSenderHandle>>;
|
|
139
138
|
|
|
140
139
|
interface UserInputType {
|
|
141
140
|
inputs: Variable[];
|
|
@@ -349,11 +348,12 @@ interface InputFile {
|
|
|
349
348
|
* 定义通过URL访问的文件信息
|
|
350
349
|
*/
|
|
351
350
|
interface FileUrlType {
|
|
351
|
+
/** 文件后缀名 */
|
|
352
|
+
suffix: string;
|
|
353
|
+
/** 文件访问URL */
|
|
354
|
+
fileUrl: string;
|
|
352
355
|
/** 文件名 */
|
|
353
356
|
fileName: string;
|
|
354
|
-
path: string;
|
|
355
|
-
fileUrl?: string;
|
|
356
|
-
ext?: string;
|
|
357
357
|
}
|
|
358
358
|
interface FirstMessageRenderCtx {
|
|
359
359
|
index: number;
|
|
@@ -367,6 +367,30 @@ interface FirstMessage extends Omit<BubbleProps, 'content' | 'contentRender' | '
|
|
|
367
367
|
/** 动态生成要展示的节点 */
|
|
368
368
|
contentRender?: (ctx: FirstMessageRenderCtx) => ReactNode;
|
|
369
369
|
}
|
|
370
|
+
/**
|
|
371
|
+
* 文件文本类型接口
|
|
372
|
+
* 定义包含文本内容的文件信息
|
|
373
|
+
*/
|
|
374
|
+
interface FileTextType {
|
|
375
|
+
/** 文件内容 */
|
|
376
|
+
content: string;
|
|
377
|
+
/** 文件后缀名 */
|
|
378
|
+
suffix: string;
|
|
379
|
+
/** 文件名 */
|
|
380
|
+
fileName: string;
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* 文件文本类型接口
|
|
384
|
+
* 定义包含文本内容的文件信息
|
|
385
|
+
*/
|
|
386
|
+
interface FileTextType {
|
|
387
|
+
/** 文件内容 */
|
|
388
|
+
content: string;
|
|
389
|
+
/** 文件后缀名 */
|
|
390
|
+
suffix: string;
|
|
391
|
+
/** 文件名 */
|
|
392
|
+
fileName: string;
|
|
393
|
+
}
|
|
370
394
|
/**
|
|
371
395
|
* 消息引用类型
|
|
372
396
|
* 用于消息回复时的引用信息
|
|
@@ -559,6 +583,8 @@ type MessageEvent = RunStartedEvent | TextEvent | FilesEvent | StepStartedEvent
|
|
|
559
583
|
interface ConversationMessage {
|
|
560
584
|
/** 消息ID */
|
|
561
585
|
messageId: string;
|
|
586
|
+
/** 智能体ID */
|
|
587
|
+
agentId: string;
|
|
562
588
|
/** 会话ID */
|
|
563
589
|
conversationId: string;
|
|
564
590
|
/** 执行ID */
|
|
@@ -1181,14 +1207,14 @@ interface ChatHooks {
|
|
|
1181
1207
|
* @param file - 被预览的文件对象, 如果不存在则表示正在关闭预览
|
|
1182
1208
|
* @param isBuiltIn - 是否为内嵌布局
|
|
1183
1209
|
*/
|
|
1184
|
-
onBeforeFilePreview?: (file?: FileUrlType, isBuiltIn?: boolean) => boolean | Promise<boolean> | void;
|
|
1210
|
+
onBeforeFilePreview?: (file?: FileUrlType | FileTextType, isBuiltIn?: boolean) => boolean | Promise<boolean> | void;
|
|
1185
1211
|
/**
|
|
1186
1212
|
* 文件预览后的回调函数
|
|
1187
1213
|
* 在文件预览打开或关闭之后执行,可以用于控制布局等
|
|
1188
1214
|
* @param file - 预览的文件对象, 如果不存在则表示已经关闭预览
|
|
1189
1215
|
* @param isBuiltIn - 是否为内嵌布局
|
|
1190
1216
|
*/
|
|
1191
|
-
onAfterFilePreview?: (file?: FileUrlType, isBuiltIn?: boolean) => void;
|
|
1217
|
+
onAfterFilePreview?: (file?: FileUrlType | FileTextType, isBuiltIn?: boolean) => void;
|
|
1192
1218
|
/**
|
|
1193
1219
|
* 设置引用消息前回调
|
|
1194
1220
|
* 在设置引用消息前调用,返回false可阻止设置
|
|
@@ -1464,7 +1490,7 @@ interface AttachmentsProps {
|
|
|
1464
1490
|
* 附件上传组件
|
|
1465
1491
|
* 支持多文件上传、文件类型验证、文件大小限制等功能
|
|
1466
1492
|
*/
|
|
1467
|
-
declare const _default$
|
|
1493
|
+
declare const _default$1: react.ForwardRefExoticComponent<AttachmentsProps & react.RefAttributes<unknown>>;
|
|
1468
1494
|
|
|
1469
1495
|
interface RoleContent {
|
|
1470
1496
|
role: number;
|
|
@@ -1483,8 +1509,7 @@ interface MessageRenderProps {
|
|
|
1483
1509
|
/** message自定义标记渲染组件 */
|
|
1484
1510
|
customComponents?: ChatLayoutMessageList['customComponents'];
|
|
1485
1511
|
}
|
|
1486
|
-
declare const _default$1: react__default.MemoExoticComponent<({ role, message, messageIndex, loading, containerRef, customComponents }: MessageRenderProps) => react_jsx_runtime.JSX.Element>;
|
|
1487
1512
|
|
|
1488
1513
|
declare const _default: react.ForwardRefExoticComponent<ChatProps & react.RefAttributes<ChatHandle>>;
|
|
1489
1514
|
|
|
1490
|
-
export { type AgentConfig, type AgentInfo, type AgentSpec, _default$
|
|
1515
|
+
export { type AgentConfig, type AgentInfo, type AgentSpec, _default$1 as Attachments, type AttachmentsProps, type ChatConfig, _default as ChatCopilot, type ChatHandle, type ChatHooks, type ChatLayout, type ChatParams, type ChatProps, _default$2 as ChatSender, type ChatServices, type ConversationMessage, type ConversationStrategy, type FileUploadConfig, type InputFile, type MessageRenderProps, type ReferencesType, type RequestInstance, type SenderProps };
|