g-ai-robot3 1.1.3 → 1.1.4
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/README.md +1 -0
- package/dist/components/QaDialog.vue.d.ts +5 -0
- package/dist/g-ai-robot3.es.js +10 -6
- package/dist/index.css +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.vue.d.ts +3 -0
- package/dist/type.d.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -104,6 +104,7 @@ export default defineConfig({
|
|
|
104
104
|
| `systemName` | 系统标识 | `string` | `"g-ai-robot3"` |
|
|
105
105
|
| `placementBottom` | 对话框底部距离 | `number` | `100` |
|
|
106
106
|
| `placementLeft` | 对话框左侧距离 | `number` | `450` |
|
|
107
|
+
| `showFollowUpQuestions` | 是否显示关联问题 | `boolean` | `true` |
|
|
107
108
|
| `useAudio` | 是否启用音频功能 | `boolean` | `true` |
|
|
108
109
|
| `space` | 监听间隔(ms)(已废弃) | `number` | `3000` |
|
|
109
110
|
| `mode` | 交互模式(默认 `video`,其他已废弃) | `string` | `"video"` |
|
|
@@ -12,6 +12,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
12
|
isLocal?: boolean | undefined;
|
|
13
13
|
conversationList?: ConversationItem[] | undefined;
|
|
14
14
|
followUpQuestions?: string[] | undefined;
|
|
15
|
+
showFollowUpQuestions?: boolean | undefined;
|
|
15
16
|
promptItems?: any[] | undefined;
|
|
16
17
|
input?: string | undefined;
|
|
17
18
|
inputRecognitionType?: string | undefined;
|
|
@@ -28,6 +29,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
28
29
|
isLocal: boolean;
|
|
29
30
|
conversationList: () => never[];
|
|
30
31
|
followUpQuestions: () => never[];
|
|
32
|
+
showFollowUpQuestions: boolean;
|
|
31
33
|
promptItems: () => never[];
|
|
32
34
|
input: string;
|
|
33
35
|
inputRecognitionType: string;
|
|
@@ -60,6 +62,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
60
62
|
isLocal?: boolean | undefined;
|
|
61
63
|
conversationList?: ConversationItem[] | undefined;
|
|
62
64
|
followUpQuestions?: string[] | undefined;
|
|
65
|
+
showFollowUpQuestions?: boolean | undefined;
|
|
63
66
|
promptItems?: any[] | undefined;
|
|
64
67
|
input?: string | undefined;
|
|
65
68
|
inputRecognitionType?: string | undefined;
|
|
@@ -76,6 +79,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
76
79
|
isLocal: boolean;
|
|
77
80
|
conversationList: () => never[];
|
|
78
81
|
followUpQuestions: () => never[];
|
|
82
|
+
showFollowUpQuestions: boolean;
|
|
79
83
|
promptItems: () => never[];
|
|
80
84
|
input: string;
|
|
81
85
|
inputRecognitionType: string;
|
|
@@ -101,6 +105,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
101
105
|
placementBottom: number;
|
|
102
106
|
placementLeft: number;
|
|
103
107
|
useAudio: boolean;
|
|
108
|
+
showFollowUpQuestions: boolean;
|
|
104
109
|
dialogCss: CSSProperties;
|
|
105
110
|
isGettingAnswer: boolean;
|
|
106
111
|
isLocal: boolean;
|
package/dist/g-ai-robot3.es.js
CHANGED
|
@@ -2294,7 +2294,8 @@ const z6 = {
|
|
|
2294
2294
|
suspensionStyle: {},
|
|
2295
2295
|
initialQuestion: {},
|
|
2296
2296
|
streamChunks: {},
|
|
2297
|
-
conversations: {}
|
|
2297
|
+
conversations: {},
|
|
2298
|
+
showFollowUpQuestions: { type: Boolean }
|
|
2298
2299
|
},
|
|
2299
2300
|
setup(e, { expose: n }) {
|
|
2300
2301
|
const t = Le("globalAvatarId"), o = Le("isWaitingForResponse"), i = _(() => Zi(t == null ? void 0 : t.value)), r = e;
|
|
@@ -46703,6 +46704,7 @@ const Ui = (e) => {
|
|
|
46703
46704
|
isLocal: { type: Boolean, default: !1 },
|
|
46704
46705
|
conversationList: { default: () => [] },
|
|
46705
46706
|
followUpQuestions: { default: () => [] },
|
|
46707
|
+
showFollowUpQuestions: { type: Boolean, default: !0 },
|
|
46706
46708
|
promptItems: { default: () => [] },
|
|
46707
46709
|
input: { default: "" },
|
|
46708
46710
|
inputRecognitionType: { default: "end" },
|
|
@@ -46885,7 +46887,7 @@ const Ui = (e) => {
|
|
|
46885
46887
|
}, 1032, ["content", "messageRender"]),
|
|
46886
46888
|
y(Lt, { name: "prompts-rise" }, {
|
|
46887
46889
|
default: ci(() => [
|
|
46888
|
-
x.type === "aiAnswer" && w === g.conversationList.length - 1 && g.followUpQuestions.length > 0 ? (nn(), mn("div", lU, [
|
|
46890
|
+
x.type === "aiAnswer" && w === g.conversationList.length - 1 && g.followUpQuestions.length > 0 && g.showFollowUpQuestions ? (nn(), mn("div", lU, [
|
|
46889
46891
|
y(xe($S), {
|
|
46890
46892
|
title: "✨ 关联问题",
|
|
46891
46893
|
items: g.promptItems,
|
|
@@ -46988,7 +46990,7 @@ const Ui = (e) => {
|
|
|
46988
46990
|
}, 8, ["theme"])
|
|
46989
46991
|
], 4));
|
|
46990
46992
|
}
|
|
46991
|
-
}), wU = /* @__PURE__ */ Nu(xU, [["__scopeId", "data-v-
|
|
46993
|
+
}), wU = /* @__PURE__ */ Nu(xU, [["__scopeId", "data-v-6f40fc2b"]]);
|
|
46992
46994
|
function CU(e) {
|
|
46993
46995
|
const n = te(""), t = _(() => ({
|
|
46994
46996
|
...e().cozeInfo,
|
|
@@ -72890,7 +72892,8 @@ const OG = { class: "robot" }, EG = {
|
|
|
72890
72892
|
suspensionStyle: {},
|
|
72891
72893
|
initialQuestion: { default: void 0 },
|
|
72892
72894
|
streamChunks: { default: () => [] },
|
|
72893
|
-
conversations: { default: () => [] }
|
|
72895
|
+
conversations: { default: () => [] },
|
|
72896
|
+
showFollowUpQuestions: { type: Boolean, default: !0 }
|
|
72894
72897
|
},
|
|
72895
72898
|
emits: ["agent-response"],
|
|
72896
72899
|
setup(e, { expose: n, emit: t }) {
|
|
@@ -73197,6 +73200,7 @@ const OG = { class: "robot" }, EG = {
|
|
|
73197
73200
|
"is-local": h.value,
|
|
73198
73201
|
"conversation-list": xe(R),
|
|
73199
73202
|
"follow-up-questions": xe(V),
|
|
73203
|
+
"show-follow-up-questions": J.showFollowUpQuestions,
|
|
73200
73204
|
"prompt-items": xe(Y),
|
|
73201
73205
|
input: xe(H),
|
|
73202
73206
|
"onUpdate:input": fe[2] || (fe[2] = ($e) => Iy(H) ? H.value = $e : null),
|
|
@@ -73214,13 +73218,13 @@ const OG = { class: "robot" }, EG = {
|
|
|
73214
73218
|
onInputChange: xe(ve),
|
|
73215
73219
|
onPromptClick: xe(ue),
|
|
73216
73220
|
onDragPosition: ze
|
|
73217
|
-
}, null, 8, ["title", "use-audio", "dialog-box-theme", "placement-left", "placement-bottom", "dialog-css", "is-getting-answer", "is-local", "conversation-list", "follow-up-questions", "prompt-items", "input", "input-recognition-type", "audio-sound-state", "audio-sound-type", "onClose", "onSend", "onClear", "onStopResponse", "onResetQa", "onPlayAudio", "onStartRecognition", "onStopRecognition", "onInputChange", "onPromptClick"])) : fn("", !0)
|
|
73221
|
+
}, null, 8, ["title", "use-audio", "dialog-box-theme", "placement-left", "placement-bottom", "dialog-css", "is-getting-answer", "is-local", "conversation-list", "follow-up-questions", "show-follow-up-questions", "prompt-items", "input", "input-recognition-type", "audio-sound-state", "audio-sound-type", "onClose", "onSend", "onClear", "onStopResponse", "onResetQa", "onPlayAudio", "onStartRecognition", "onStopRecognition", "onInputChange", "onPromptClick"])) : fn("", !0)
|
|
73218
73222
|
]),
|
|
73219
73223
|
_: 1
|
|
73220
73224
|
}, 8, ["onAfterLeave"])
|
|
73221
73225
|
], 36));
|
|
73222
73226
|
}
|
|
73223
|
-
}), jG = /* @__PURE__ */ Nu(kG, [["__scopeId", "data-v-
|
|
73227
|
+
}), jG = /* @__PURE__ */ Nu(kG, [["__scopeId", "data-v-d9cbb163"]]), Py = jG;
|
|
73224
73228
|
Py.install = (e) => {
|
|
73225
73229
|
e.component("GAiRobot3", Py);
|
|
73226
73230
|
};
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.digital-human[data-v-6160dfe0]{z-index:0;position:relative;display:flex;align-items:center;justify-content:center}.digital-human #video[data-v-6160dfe0]{position:absolute;left:0;top:0}.digital-human #output-canvas[data-v-6160dfe0]{opacity:1;transition:opacity 6s ease;width:300px;height:150px}.digital-human #output-canvas.fade-out[data-v-6160dfe0]{opacity:0;pointer-events:none}.digital-human .xiaogVideo[data-v-6160dfe0],.digital-human img[data-v-6160dfe0]{position:absolute;left:0;top:0}.digital-human .statusImg[data-v-6160dfe0]{z-index:9998;position:absolute;width:30%;height:30%;top:0%;left:0%;-webkit-user-select:auto!important;user-select:auto!important;pointer-events:auto!important}.digital-human .QstatusImg[data-v-6160dfe0]{width:29%!important;height:20%!important}[data-v-cafadabb] .ant-bubble-content{pointer-events:auto}[data-v-cafadabb] .table-container{width:100%;max-width:100%;overflow-x:auto;touch-action:pan-x;-webkit-overflow-scrolling:touch;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(92.03deg,#77f1ff8c -2.18%,#edfaffd9 48.06%,#5ba8ff73 107.05%)}[data-v-cafadabb] .table-container .markdown-table table{min-width:max-content}[data-v-cafadabb] .markdown-table .ant-table-tbody>tr>td{padding:8px 16px;height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background-color:#fff!important}[data-v-cafadabb] .markdown-table .ant-table-thead>tr>th{background-color:#f5f5f5!important;font-weight:700;padding:8px 16px;height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.suspension-content[data-v-cafadabb]{overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none;position:absolute;left:72%;bottom:85%;width:220px;display:flex;flex-direction:column-reverse}.suspension-content[data-v-cafadabb]::-webkit-scrollbar{display:none}.useCustom-dialog[data-v-cafadabb]{pointer-events:none;z-index:1}.useCustom-dialog .bubble-item[data-v-cafadabb]{margin-bottom:6px}.useCustom-dialog p[data-v-cafadabb]{margin:0!important;padding:0}.useCustom-dialog[data-v-cafadabb] .ant-bubble .ant-bubble-content-filled,.useCustom-dialog[data-v-cafadabb] .ant-bubble .ant-bubble-content-outlined{background:#062e404d;border:1px solid rgba(220,237,255,.3);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border-radius:12px;color:#fff}.useCustom-dialog[data-v-cafadabb] .ant-bubble-content.ant-bubble-content-outlined p,.useCustom-dialog[data-v-cafadabb] .ant-bubble-content.ant-bubble-content-filled p{margin:0!important;padding:0}.suspension-msg-bubble[data-v-cafadabb]{pointer-events:none;z-index:1}.suspension-msg-bubble .bubble-item[data-v-cafadabb]{margin-bottom:5px}.suspension-msg-bubble p[data-v-cafadabb]{margin:0!important;padding:0}.suspension-msg-bubble[data-v-cafadabb] .ant-bubble .ant-bubble-content-filled{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:linear-gradient(92.03deg,#77f1ff40 -2.18%,#edfaff40 48.06%,#5ba8ff40 107.05%);border:1px solid rgba(255,255,255,.6);border-radius:12px}.suspension-msg-bubble[data-v-cafadabb] .ant-bubble .ant-bubble-content-outlined{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff4d;border:1px solid rgba(255,255,255,.6);border-radius:12px}.suspension-msg-bubble[data-v-cafadabb] .ant-bubble-content.ant-bubble-content-filled p,.suspension-msg-bubble[data-v-cafadabb] .ant-bubble-content.ant-bubble-content-outlined p{margin:0!important;padding:0}.bubble-move[data-v-cafadabb],.bubble-enter-active[data-v-cafadabb],.bubble-leave-active[data-v-cafadabb]{transition:all .5s ease}.bubble-enter-from[data-v-cafadabb],.bubble-leave-to[data-v-cafadabb]{opacity:0;transform:translate(30px)}.bubble-leave-active[data-v-cafadabb]{position:absolute}.ellipsisText{display:inline;letter-spacing:2px}.ellipsisText:after{content:"···";animation:loading-animation 1s infinite linear}@keyframes loading-animation{0%{content:"·"}50%{content:"··"}to{content:"···"}}.qa-extra-pre{background:#f4f4f5;padding:6px;border-radius:6px;overflow:auto;white-space:pre-wrap;margin-top:4px}.qa-knowledge-item summary{display:flex;align-items:center;color:#666;cursor:pointer}.qa-knowledge-item summary::-webkit-details-marker{display:none}.qa-knowledge-item summary::marker{content:""}.qa-knowledge-item .qa-arrow{color:#999;font-size:16px;margin-right:6px;transition:transform .2s ease;display:inline-block}.qa-knowledge-item:not([open]) .qa-arrow{transform:rotate(-90deg)}.qa-knowledge-number{color:#666;margin-right:6px}.talk_main[data-v-0444bafe]{position:absolute;width:400px;z-index:10000;height:600px;resize:both;overflow:auto;min-width:360px;min-height:320px;max-width:80vw;max-height:90vh;background:#f5f6f766;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.55);box-shadow:0 8px 32px #0476ed1f;border-radius:8px}.talk_main header[data-v-0444bafe]{height:44px;background:linear-gradient(to right,#ebf1ff66,#e5faf866,#f2ebfe66);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid rgba(255,255,255,.5);display:flex;padding:0 16px;align-items:center;justify-content:space-between;cursor:move;color:#333}.talk_main header span[data-v-0444bafe]{font-size:16px;font-weight:700;color:#333}.talk_main header span.close[data-v-0444bafe]{color:#666;font-size:18px;line-height:1;display:flex;align-items:center;cursor:pointer}.talk_main header span.close[data-v-0444bafe]:hover{color:#333}.talk_main header span.close .anticon.disabled[data-v-0444bafe]{cursor:not-allowed;opacity:.4;pointer-events:none}.talk_main .clickable-image[data-v-0444bafe]{cursor:pointer;width:80px;height:auto;border-radius:5px;transition:transform .2s}.talk_main .clickable-image[data-v-0444bafe]:hover{transform:scale(1.1)}.talk_main .image-viewer-overlay[data-v-0444bafe]{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:9999}.talk_main .image-viewer[data-v-0444bafe]{position:relative}.talk_main .large-image[data-v-0444bafe]{max-width:90%;max-height:90%;border-radius:8px}.talk_main .qa_body[data-v-0444bafe]{list-style:none;padding:16px;box-sizing:border-box;margin:0;width:100%;height:calc(100% - 116px);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#c1c1c1 #e1e1e1}.talk_main .qa_body[data-v-0444bafe]::-webkit-scrollbar{width:8px;background-color:#f9f9f9}.talk_main .qa_body[data-v-0444bafe]::-webkit-scrollbar-track{background:#e1e1e1;border-radius:10px}.talk_main .qa_body[data-v-0444bafe]::-webkit-scrollbar-thumb{background-color:#c1c1c1;border-radius:10px}.talk_main .qa_body li[data-v-0444bafe]{display:flex;margin-bottom:24px;justify-content:flex-end;gap:10px;min-width:0}.talk_main .qa_body li>div[data-v-0444bafe]:not(.is_icon){min-width:0;max-width:100%}.talk_main .qa_body li[data-v-0444bafe] .ant-bubble-content.ant-bubble-content-filled{max-width:100%;box-sizing:border-box;box-shadow:0 4px 20px #0476ed29;border:1px solid;border-image-source:linear-gradient(180deg,#ffffff 0%,rgba(255,255,255,.5) 104.31%);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(92.03deg,#77f1ff8c -2.18%,#edfaffd9 48.06%,#5ba8ff73 107.05%)}.talk_main .qa_body li[data-v-0444bafe] .ant-bubble-content.ant-bubble-content-filled p{margin:0!important;padding:0}.talk_main .qa_body li[data-v-0444bafe] .ant-bubble-content.ant-bubble-content-outlined{max-width:100%;box-sizing:border-box}.talk_main .qa_body li[data-v-0444bafe] .ant-bubble-content.ant-bubble-content-outlined p{margin:0!important;padding:0}.talk_main .qa_body li[data-v-0444bafe] .ant-bubble-wrapper,.talk_main .qa_body li[data-v-0444bafe] .ant-bubble{max-width:100%}.talk_main .qa_body li[data-v-0444bafe] .table-container{width:100%;max-width:100%;min-width:0;overflow-x:auto;touch-action:pan-x;-webkit-overflow-scrolling:touch;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(92.03deg,#77f1ff8c -2.18%,#edfaffd9 48.06%,#5ba8ff73 107.05%)}.talk_main .qa_body li[data-v-0444bafe] .table-container .markdown-table table{min-width:max-content}.talk_main .qa_body li[data-v-0444bafe] .markdown-table .ant-table-tbody>tr>td{padding:8px 16px;height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background-color:#fff!important}.talk_main .qa_body li[data-v-0444bafe] .markdown-table .ant-table-thead>tr>th{background-color:#f5f5f5!important;font-weight:700;padding:8px 16px;height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.talk_main .qa_body li .copyBtn[data-v-0444bafe]{font-size:18px;cursor:pointer;margin-right:10px}.talk_main .qa_body li .copyBtn[data-v-0444bafe]:hover{color:#1890ff;transform:scale(1.1)}.talk_main .qa_body li .is_icon[data-v-0444bafe]{width:30px;height:30px;border-radius:50%;color:#fff;display:flex}.talk_main .qa_body li.is_ai[data-v-0444bafe]{justify-content:flex-start;overflow:hidden}.talk_main .qa_body li.is_ai .text_main[data-v-0444bafe]{box-shadow:0 4px 20px #0476ed29;border:1px solid;border-image-source:linear-gradient(180deg,#ffffff 0%,rgba(255,255,255,.5) 104.31%);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(92.03deg,#77f1ff8c -2.18%,#edfaffd9 48.06%,#5ba8ff73 107.05%)}.talk_main .qa_body li.is_ai .text_main>.value[data-v-0444bafe]{white-space:pre-wrap}.talk_main .qa_body li .text_main[data-v-0444bafe]{padding:10px;max-width:calc(100% - 100px);border:1px solid;margin:0 8px;border-image-source:linear-gradient(90deg,#ffffff 0%,rgba(255,255,255,.5) 100%);box-shadow:0 4px 20px #0476ed29;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(90.81deg,#f4fcffd9 1.75%,#ffffffe6 32.33%,#eef6ffd9 102.86%);border-radius:6px}.talk_main .qa_body li .text_main>.value[data-v-0444bafe]{display:flex;align-items:center;overflow-wrap:break-word;word-wrap:break-word;font-size:14px;font-weight:400}.talk_main .qa_body li .text_main .btn i[data-v-0444bafe]{font-size:14px;font-weight:400;color:#037aff;margin-right:10px;cursor:pointer;text-decoration:underline}.talk_main .qa_body li .text_main .btn i.open[data-v-0444bafe]{filter:hue-rotate(180deg);animation:opacityCss 2s linear infinite}.talk_main #playChart[data-v-0444bafe]{width:calc(100% - 32px);height:40px;left:16px;display:inline-block;bottom:100px;position:absolute;visibility:hidden;border:1px solid #ccc;vertical-align:bottom}.talk_main #playChart.show[data-v-0444bafe]{visibility:visible}.talk_main #playChart.hiddle[data-v-0444bafe]{visibility:hidden}.talk_main .qa_input[data-v-0444bafe]{padding:10px 16px;display:flex;align-items:center;justify-content:space-between;position:absolute;bottom:0;left:0;right:0;box-sizing:border-box;background:linear-gradient(to right,#ebf1ff66,#e5faf866,#f2ebfe66);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid rgba(255,255,255,.5)}.talk_main .qa_input textarea[data-v-0444bafe]{width:100%;max-height:68px;resize:none;background-color:#fff6;border:1px solid rgba(220,223,230,.8);color:#606266;padding:6px}.talk_main .qa_input textarea[data-v-0444bafe]:focus{outline:none;border-color:#409effcc;background-color:#ffffffb3}.talk_main .qa_input .clear[data-v-0444bafe]{margin-right:5px}.talk_main .qa_input .clear img[data-v-0444bafe]{height:30px;width:30px;cursor:pointer}.talk_main .qa_input .clear img.disabled[data-v-0444bafe]{cursor:not-allowed}.talk_main .qa_input .is_icon[data-v-0444bafe]{width:30px}.talk_main .qa_input .is_icon p[data-v-0444bafe]{display:flex;align-items:center;justify-content:flex-end;margin:6px 0}.talk_main .qa_input .is_icon p[data-v-0444bafe]:nth-of-type(1){position:relative}.talk_main .qa_input .is_icon p i[data-v-0444bafe],.talk_main .qa_input .is_icon p .anticon[data-v-0444bafe]{font-size:20px;color:#606266}.talk_main .qa_input .is_icon p img[data-v-0444bafe]{width:20px;height:20px;cursor:pointer}.talk_main .qa_input .is_icon p img.close[data-v-0444bafe]{filter:hue-rotate(180deg);animation:opacityCss 2s linear infinite}.talk_main .qa_input .is_icon p.send img.disabled[data-v-0444bafe]{cursor:not-allowed}.talk_main .qa_input .is_icon p i[data-v-0444bafe]{cursor:pointer}.qa-extra-container[data-v-0444bafe]{display:block;width:100%}.qa-extra-header[data-v-0444bafe]{display:flex;align-items:center;gap:8px}.qa-extra-empty[data-v-0444bafe]{color:#999;font-size:12px;margin-left:4px}.qa-extra-body[data-v-0444bafe]{margin-top:6px}.qa-section[data-v-0444bafe]{padding-top:6px}.qa-section+.qa-section[data-v-0444bafe]{margin-top:6px}.qa-section summary[data-v-0444bafe]{display:flex;justify-content:space-between;align-items:center;font-weight:600;color:#666;cursor:pointer}.qa-section summary[data-v-0444bafe]::-webkit-details-marker{display:none}.qa-section summary[data-v-0444bafe]::marker{content:""}.qa-section pre[data-v-0444bafe]{background:#f7f7f7;padding:6px;border-radius:6px;overflow:auto;white-space:pre-wrap;margin-top:4px}.qa-status-success[data-v-0444bafe]{color:#13ce66}.qa-status-running[data-v-0444bafe]{color:#666}.stop-response-btn[data-v-0444bafe]{position:absolute;top:-15px;right:50%;transform:translate(50%);border:1px solid #dddddd;border-radius:8px;padding:4px 8px;font-size:14px;color:#333;background:#fff;cursor:pointer;-webkit-user-select:auto!important;user-select:auto!important;pointer-events:auto!important;white-space:nowrap}.stop-response-btn[data-v-0444bafe]:hover{background:#f5f5f5}.prompts-rise-enter-active[data-v-0444bafe]{transition:opacity .4s ease,transform .4s cubic-bezier(.16,1,.3,1)}.prompts-rise-enter-from[data-v-0444bafe]{opacity:0;transform:translateY(14px)}.prompts-rise-enter-to[data-v-0444bafe]{opacity:1;transform:translateY(0)}.model-type-toggle{position:absolute;top:34px;left:170px}.model-type-toggle .ant-switch-inner{white-space:nowrap;color:#fff;font-size:12px}.model-type-toggle.ant-switch{background-color:#13ce66}.model-type-toggle.ant-switch-checked{background-color:#409eff}.model-type-toggle.ant-switch:hover{background-color:#13ce66}.model-type-toggle.ant-switch-checked:hover{background-color:#409eff}#g-ai-robot[data-v-f6dee827]{position:fixed}#g-ai-robot .robot[data-v-f6dee827]{cursor:pointer;z-index:9990;touch-action:none}#g-ai-robot .robot .digital-human-wrap[data-v-f6dee827]{position:relative}#g-ai-robot .robot .digital-human-wrap .dialogImg[data-v-f6dee827]{z-index:9998;position:absolute;width:15%;height:auto;top:18%;left:73%;-webkit-user-select:auto!important;user-select:auto!important;pointer-events:auto!important}#g-ai-robot .robot .digital-human-wrap .disabled[data-v-f6dee827]{cursor:not-allowed}#g-ai-robot .robot .digital-human-wrap .statusImg[data-v-f6dee827]{z-index:9998;position:absolute;width:30%;height:30%}#g-ai-robot .robot .digital-human-wrap .QstatusImg[data-v-f6dee827]{width:29%!important;height:20%!important}#g-ai-robot .robot.disabled[data-v-f6dee827]{cursor:not-allowed}#g-ai-robot .robot img[data-v-f6dee827]{height:100px;width:100px}#g-ai-robot .robot .table-container[data-v-f6dee827]{touch-action:pan-x}@keyframes rotateCss-f6dee827{0%{transform:rotate(0)}25%{transform:rotate(90deg)}50%{transform:rotate(180deg)}70%{transform:rotate(270deg)}to{transform:rotate(360deg)}}@keyframes dialog-dock-in-f6dee827{0%{opacity:0;transform:scale(.15)}50%{opacity:1}75%{transform:scale(1.03)}to{opacity:1;transform:scale(1)}}@keyframes dialog-dock-out-f6dee827{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.15)}}.dialog-dock-enter-active[data-v-f6dee827]{animation:dialog-dock-in-f6dee827 .38s cubic-bezier(.16,1,.3,1) forwards;transform-origin:bottom left}.dialog-dock-leave-active[data-v-f6dee827]{animation:dialog-dock-out-f6dee827 .26s cubic-bezier(.55,0,1,.45) forwards;transform-origin:bottom left}
|
|
1
|
+
.digital-human[data-v-6160dfe0]{z-index:0;position:relative;display:flex;align-items:center;justify-content:center}.digital-human #video[data-v-6160dfe0]{position:absolute;left:0;top:0}.digital-human #output-canvas[data-v-6160dfe0]{opacity:1;transition:opacity 6s ease;width:300px;height:150px}.digital-human #output-canvas.fade-out[data-v-6160dfe0]{opacity:0;pointer-events:none}.digital-human .xiaogVideo[data-v-6160dfe0],.digital-human img[data-v-6160dfe0]{position:absolute;left:0;top:0}.digital-human .statusImg[data-v-6160dfe0]{z-index:9998;position:absolute;width:30%;height:30%;top:0%;left:0%;-webkit-user-select:auto!important;user-select:auto!important;pointer-events:auto!important}.digital-human .QstatusImg[data-v-6160dfe0]{width:29%!important;height:20%!important}[data-v-cafadabb] .ant-bubble-content{pointer-events:auto}[data-v-cafadabb] .table-container{width:100%;max-width:100%;overflow-x:auto;touch-action:pan-x;-webkit-overflow-scrolling:touch;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(92.03deg,#77f1ff8c -2.18%,#edfaffd9 48.06%,#5ba8ff73 107.05%)}[data-v-cafadabb] .table-container .markdown-table table{min-width:max-content}[data-v-cafadabb] .markdown-table .ant-table-tbody>tr>td{padding:8px 16px;height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background-color:#fff!important}[data-v-cafadabb] .markdown-table .ant-table-thead>tr>th{background-color:#f5f5f5!important;font-weight:700;padding:8px 16px;height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.suspension-content[data-v-cafadabb]{overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none;position:absolute;left:72%;bottom:85%;width:220px;display:flex;flex-direction:column-reverse}.suspension-content[data-v-cafadabb]::-webkit-scrollbar{display:none}.useCustom-dialog[data-v-cafadabb]{pointer-events:none;z-index:1}.useCustom-dialog .bubble-item[data-v-cafadabb]{margin-bottom:6px}.useCustom-dialog p[data-v-cafadabb]{margin:0!important;padding:0}.useCustom-dialog[data-v-cafadabb] .ant-bubble .ant-bubble-content-filled,.useCustom-dialog[data-v-cafadabb] .ant-bubble .ant-bubble-content-outlined{background:#062e404d;border:1px solid rgba(220,237,255,.3);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border-radius:12px;color:#fff}.useCustom-dialog[data-v-cafadabb] .ant-bubble-content.ant-bubble-content-outlined p,.useCustom-dialog[data-v-cafadabb] .ant-bubble-content.ant-bubble-content-filled p{margin:0!important;padding:0}.suspension-msg-bubble[data-v-cafadabb]{pointer-events:none;z-index:1}.suspension-msg-bubble .bubble-item[data-v-cafadabb]{margin-bottom:5px}.suspension-msg-bubble p[data-v-cafadabb]{margin:0!important;padding:0}.suspension-msg-bubble[data-v-cafadabb] .ant-bubble .ant-bubble-content-filled{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:linear-gradient(92.03deg,#77f1ff40 -2.18%,#edfaff40 48.06%,#5ba8ff40 107.05%);border:1px solid rgba(255,255,255,.6);border-radius:12px}.suspension-msg-bubble[data-v-cafadabb] .ant-bubble .ant-bubble-content-outlined{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff4d;border:1px solid rgba(255,255,255,.6);border-radius:12px}.suspension-msg-bubble[data-v-cafadabb] .ant-bubble-content.ant-bubble-content-filled p,.suspension-msg-bubble[data-v-cafadabb] .ant-bubble-content.ant-bubble-content-outlined p{margin:0!important;padding:0}.bubble-move[data-v-cafadabb],.bubble-enter-active[data-v-cafadabb],.bubble-leave-active[data-v-cafadabb]{transition:all .5s ease}.bubble-enter-from[data-v-cafadabb],.bubble-leave-to[data-v-cafadabb]{opacity:0;transform:translate(30px)}.bubble-leave-active[data-v-cafadabb]{position:absolute}.ellipsisText{display:inline;letter-spacing:2px}.ellipsisText:after{content:"···";animation:loading-animation 1s infinite linear}@keyframes loading-animation{0%{content:"·"}50%{content:"··"}to{content:"···"}}.qa-extra-pre{background:#f4f4f5;padding:6px;border-radius:6px;overflow:auto;white-space:pre-wrap;margin-top:4px}.qa-knowledge-item summary{display:flex;align-items:center;color:#666;cursor:pointer}.qa-knowledge-item summary::-webkit-details-marker{display:none}.qa-knowledge-item summary::marker{content:""}.qa-knowledge-item .qa-arrow{color:#999;font-size:16px;margin-right:6px;transition:transform .2s ease;display:inline-block}.qa-knowledge-item:not([open]) .qa-arrow{transform:rotate(-90deg)}.qa-knowledge-number{color:#666;margin-right:6px}.talk_main[data-v-6f40fc2b]{position:absolute;width:400px;z-index:10000;height:600px;resize:both;overflow:auto;min-width:360px;min-height:320px;max-width:80vw;max-height:90vh;background:#f5f6f766;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.55);box-shadow:0 8px 32px #0476ed1f;border-radius:8px}.talk_main header[data-v-6f40fc2b]{height:44px;background:linear-gradient(to right,#ebf1ff66,#e5faf866,#f2ebfe66);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid rgba(255,255,255,.5);display:flex;padding:0 16px;align-items:center;justify-content:space-between;cursor:move;color:#333}.talk_main header span[data-v-6f40fc2b]{font-size:16px;font-weight:700;color:#333}.talk_main header span.close[data-v-6f40fc2b]{color:#666;font-size:18px;line-height:1;display:flex;align-items:center;cursor:pointer}.talk_main header span.close[data-v-6f40fc2b]:hover{color:#333}.talk_main header span.close .anticon.disabled[data-v-6f40fc2b]{cursor:not-allowed;opacity:.4;pointer-events:none}.talk_main .clickable-image[data-v-6f40fc2b]{cursor:pointer;width:80px;height:auto;border-radius:5px;transition:transform .2s}.talk_main .clickable-image[data-v-6f40fc2b]:hover{transform:scale(1.1)}.talk_main .image-viewer-overlay[data-v-6f40fc2b]{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:9999}.talk_main .image-viewer[data-v-6f40fc2b]{position:relative}.talk_main .large-image[data-v-6f40fc2b]{max-width:90%;max-height:90%;border-radius:8px}.talk_main .qa_body[data-v-6f40fc2b]{list-style:none;padding:16px;box-sizing:border-box;margin:0;width:100%;height:calc(100% - 116px);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#c1c1c1 #e1e1e1}.talk_main .qa_body[data-v-6f40fc2b]::-webkit-scrollbar{width:8px;background-color:#f9f9f9}.talk_main .qa_body[data-v-6f40fc2b]::-webkit-scrollbar-track{background:#e1e1e1;border-radius:10px}.talk_main .qa_body[data-v-6f40fc2b]::-webkit-scrollbar-thumb{background-color:#c1c1c1;border-radius:10px}.talk_main .qa_body li[data-v-6f40fc2b]{display:flex;margin-bottom:24px;justify-content:flex-end;gap:10px;min-width:0}.talk_main .qa_body li>div[data-v-6f40fc2b]:not(.is_icon){min-width:0;max-width:100%}.talk_main .qa_body li[data-v-6f40fc2b] .ant-bubble-content.ant-bubble-content-filled{max-width:100%;box-sizing:border-box;box-shadow:0 4px 20px #0476ed29;border:1px solid;border-image-source:linear-gradient(180deg,#ffffff 0%,rgba(255,255,255,.5) 104.31%);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(92.03deg,#77f1ff8c -2.18%,#edfaffd9 48.06%,#5ba8ff73 107.05%)}.talk_main .qa_body li[data-v-6f40fc2b] .ant-bubble-content.ant-bubble-content-filled p{margin:0!important;padding:0}.talk_main .qa_body li[data-v-6f40fc2b] .ant-bubble-content.ant-bubble-content-outlined{max-width:100%;box-sizing:border-box}.talk_main .qa_body li[data-v-6f40fc2b] .ant-bubble-content.ant-bubble-content-outlined p{margin:0!important;padding:0}.talk_main .qa_body li[data-v-6f40fc2b] .ant-bubble-wrapper,.talk_main .qa_body li[data-v-6f40fc2b] .ant-bubble{max-width:100%}.talk_main .qa_body li[data-v-6f40fc2b] .table-container{width:100%;max-width:100%;min-width:0;overflow-x:auto;touch-action:pan-x;-webkit-overflow-scrolling:touch;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(92.03deg,#77f1ff8c -2.18%,#edfaffd9 48.06%,#5ba8ff73 107.05%)}.talk_main .qa_body li[data-v-6f40fc2b] .table-container .markdown-table table{min-width:max-content}.talk_main .qa_body li[data-v-6f40fc2b] .markdown-table .ant-table-tbody>tr>td{padding:8px 16px;height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background-color:#fff!important}.talk_main .qa_body li[data-v-6f40fc2b] .markdown-table .ant-table-thead>tr>th{background-color:#f5f5f5!important;font-weight:700;padding:8px 16px;height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.talk_main .qa_body li .copyBtn[data-v-6f40fc2b]{font-size:18px;cursor:pointer;margin-right:10px}.talk_main .qa_body li .copyBtn[data-v-6f40fc2b]:hover{color:#1890ff;transform:scale(1.1)}.talk_main .qa_body li .is_icon[data-v-6f40fc2b]{width:30px;height:30px;border-radius:50%;color:#fff;display:flex}.talk_main .qa_body li.is_ai[data-v-6f40fc2b]{justify-content:flex-start;overflow:hidden}.talk_main .qa_body li.is_ai .text_main[data-v-6f40fc2b]{box-shadow:0 4px 20px #0476ed29;border:1px solid;border-image-source:linear-gradient(180deg,#ffffff 0%,rgba(255,255,255,.5) 104.31%);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(92.03deg,#77f1ff8c -2.18%,#edfaffd9 48.06%,#5ba8ff73 107.05%)}.talk_main .qa_body li.is_ai .text_main>.value[data-v-6f40fc2b]{white-space:pre-wrap}.talk_main .qa_body li .text_main[data-v-6f40fc2b]{padding:10px;max-width:calc(100% - 100px);border:1px solid;margin:0 8px;border-image-source:linear-gradient(90deg,#ffffff 0%,rgba(255,255,255,.5) 100%);box-shadow:0 4px 20px #0476ed29;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(90.81deg,#f4fcffd9 1.75%,#ffffffe6 32.33%,#eef6ffd9 102.86%);border-radius:6px}.talk_main .qa_body li .text_main>.value[data-v-6f40fc2b]{display:flex;align-items:center;overflow-wrap:break-word;word-wrap:break-word;font-size:14px;font-weight:400}.talk_main .qa_body li .text_main .btn i[data-v-6f40fc2b]{font-size:14px;font-weight:400;color:#037aff;margin-right:10px;cursor:pointer;text-decoration:underline}.talk_main .qa_body li .text_main .btn i.open[data-v-6f40fc2b]{filter:hue-rotate(180deg);animation:opacityCss 2s linear infinite}.talk_main #playChart[data-v-6f40fc2b]{width:calc(100% - 32px);height:40px;left:16px;display:inline-block;bottom:100px;position:absolute;visibility:hidden;border:1px solid #ccc;vertical-align:bottom}.talk_main #playChart.show[data-v-6f40fc2b]{visibility:visible}.talk_main #playChart.hiddle[data-v-6f40fc2b]{visibility:hidden}.talk_main .qa_input[data-v-6f40fc2b]{padding:10px 16px;display:flex;align-items:center;justify-content:space-between;position:absolute;bottom:0;left:0;right:0;box-sizing:border-box;background:linear-gradient(to right,#ebf1ff66,#e5faf866,#f2ebfe66);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid rgba(255,255,255,.5)}.talk_main .qa_input textarea[data-v-6f40fc2b]{width:100%;max-height:68px;resize:none;background-color:#fff6;border:1px solid rgba(220,223,230,.8);color:#606266;padding:6px}.talk_main .qa_input textarea[data-v-6f40fc2b]:focus{outline:none;border-color:#409effcc;background-color:#ffffffb3}.talk_main .qa_input .clear[data-v-6f40fc2b]{margin-right:5px}.talk_main .qa_input .clear img[data-v-6f40fc2b]{height:30px;width:30px;cursor:pointer}.talk_main .qa_input .clear img.disabled[data-v-6f40fc2b]{cursor:not-allowed}.talk_main .qa_input .is_icon[data-v-6f40fc2b]{width:30px}.talk_main .qa_input .is_icon p[data-v-6f40fc2b]{display:flex;align-items:center;justify-content:flex-end;margin:6px 0}.talk_main .qa_input .is_icon p[data-v-6f40fc2b]:nth-of-type(1){position:relative}.talk_main .qa_input .is_icon p i[data-v-6f40fc2b],.talk_main .qa_input .is_icon p .anticon[data-v-6f40fc2b]{font-size:20px;color:#606266}.talk_main .qa_input .is_icon p img[data-v-6f40fc2b]{width:20px;height:20px;cursor:pointer}.talk_main .qa_input .is_icon p img.close[data-v-6f40fc2b]{filter:hue-rotate(180deg);animation:opacityCss 2s linear infinite}.talk_main .qa_input .is_icon p.send img.disabled[data-v-6f40fc2b]{cursor:not-allowed}.talk_main .qa_input .is_icon p i[data-v-6f40fc2b]{cursor:pointer}.qa-extra-container[data-v-6f40fc2b]{display:block;width:100%}.qa-extra-header[data-v-6f40fc2b]{display:flex;align-items:center;gap:8px}.qa-extra-empty[data-v-6f40fc2b]{color:#999;font-size:12px;margin-left:4px}.qa-extra-body[data-v-6f40fc2b]{margin-top:6px}.qa-section[data-v-6f40fc2b]{padding-top:6px}.qa-section+.qa-section[data-v-6f40fc2b]{margin-top:6px}.qa-section summary[data-v-6f40fc2b]{display:flex;justify-content:space-between;align-items:center;font-weight:600;color:#666;cursor:pointer}.qa-section summary[data-v-6f40fc2b]::-webkit-details-marker{display:none}.qa-section summary[data-v-6f40fc2b]::marker{content:""}.qa-section pre[data-v-6f40fc2b]{background:#f7f7f7;padding:6px;border-radius:6px;overflow:auto;white-space:pre-wrap;margin-top:4px}.qa-status-success[data-v-6f40fc2b]{color:#13ce66}.qa-status-running[data-v-6f40fc2b]{color:#666}.stop-response-btn[data-v-6f40fc2b]{position:absolute;top:-15px;right:50%;transform:translate(50%);border:1px solid #dddddd;border-radius:8px;padding:4px 8px;font-size:14px;color:#333;background:#fff;cursor:pointer;-webkit-user-select:auto!important;user-select:auto!important;pointer-events:auto!important;white-space:nowrap}.stop-response-btn[data-v-6f40fc2b]:hover{background:#f5f5f5}.prompts-rise-enter-active[data-v-6f40fc2b]{transition:opacity .4s ease,transform .4s cubic-bezier(.16,1,.3,1)}.prompts-rise-enter-from[data-v-6f40fc2b]{opacity:0;transform:translateY(14px)}.prompts-rise-enter-to[data-v-6f40fc2b]{opacity:1;transform:translateY(0)}.model-type-toggle{position:absolute;top:34px;left:170px}.model-type-toggle .ant-switch-inner{white-space:nowrap;color:#fff;font-size:12px}.model-type-toggle.ant-switch{background-color:#13ce66}.model-type-toggle.ant-switch-checked{background-color:#409eff}.model-type-toggle.ant-switch:hover{background-color:#13ce66}.model-type-toggle.ant-switch-checked:hover{background-color:#409eff}#g-ai-robot[data-v-d9cbb163]{position:fixed}#g-ai-robot .robot[data-v-d9cbb163]{cursor:pointer;z-index:9990;touch-action:none}#g-ai-robot .robot .digital-human-wrap[data-v-d9cbb163]{position:relative}#g-ai-robot .robot .digital-human-wrap .dialogImg[data-v-d9cbb163]{z-index:9998;position:absolute;width:15%;height:auto;top:18%;left:73%;-webkit-user-select:auto!important;user-select:auto!important;pointer-events:auto!important}#g-ai-robot .robot .digital-human-wrap .disabled[data-v-d9cbb163]{cursor:not-allowed}#g-ai-robot .robot .digital-human-wrap .statusImg[data-v-d9cbb163]{z-index:9998;position:absolute;width:30%;height:30%}#g-ai-robot .robot .digital-human-wrap .QstatusImg[data-v-d9cbb163]{width:29%!important;height:20%!important}#g-ai-robot .robot.disabled[data-v-d9cbb163]{cursor:not-allowed}#g-ai-robot .robot img[data-v-d9cbb163]{height:100px;width:100px}#g-ai-robot .robot .table-container[data-v-d9cbb163]{touch-action:pan-x}@keyframes rotateCss-d9cbb163{0%{transform:rotate(0)}25%{transform:rotate(90deg)}50%{transform:rotate(180deg)}70%{transform:rotate(270deg)}to{transform:rotate(360deg)}}@keyframes dialog-dock-in-d9cbb163{0%{opacity:0;transform:scale(.15)}50%{opacity:1}75%{transform:scale(1.03)}to{opacity:1;transform:scale(1)}}@keyframes dialog-dock-out-d9cbb163{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.15)}}.dialog-dock-enter-active[data-v-d9cbb163]{animation:dialog-dock-in-d9cbb163 .38s cubic-bezier(.16,1,.3,1) forwards;transform-origin:bottom left}.dialog-dock-leave-active[data-v-d9cbb163]{animation:dialog-dock-out-d9cbb163 .26s cubic-bezier(.55,0,1,.45) forwards;transform-origin:bottom left}
|
package/dist/index.d.ts
CHANGED
|
@@ -195,6 +195,10 @@ declare const GAiRobot3: {
|
|
|
195
195
|
type: import("vue").PropType<import("./type").ConversationInput[]>;
|
|
196
196
|
default: () => never[];
|
|
197
197
|
};
|
|
198
|
+
showFollowUpQuestions: {
|
|
199
|
+
type: import("vue").PropType<boolean>;
|
|
200
|
+
default: boolean;
|
|
201
|
+
};
|
|
198
202
|
}>> & Readonly<{
|
|
199
203
|
"onAgent-response"?: ((params: any) => any) | undefined;
|
|
200
204
|
}>, {
|
|
@@ -237,6 +241,7 @@ declare const GAiRobot3: {
|
|
|
237
241
|
initialQuestion: string;
|
|
238
242
|
streamChunks: import("./type").StreamChunk[];
|
|
239
243
|
conversations: import("./type").ConversationInput[];
|
|
244
|
+
showFollowUpQuestions: boolean;
|
|
240
245
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
241
246
|
P: {};
|
|
242
247
|
B: {};
|
|
@@ -439,6 +444,10 @@ declare const GAiRobot3: {
|
|
|
439
444
|
type: import("vue").PropType<import("./type").ConversationInput[]>;
|
|
440
445
|
default: () => never[];
|
|
441
446
|
};
|
|
447
|
+
showFollowUpQuestions: {
|
|
448
|
+
type: import("vue").PropType<boolean>;
|
|
449
|
+
default: boolean;
|
|
450
|
+
};
|
|
442
451
|
}>> & Readonly<{
|
|
443
452
|
"onAgent-response"?: ((params: any) => any) | undefined;
|
|
444
453
|
}>, {
|
|
@@ -479,6 +488,7 @@ declare const GAiRobot3: {
|
|
|
479
488
|
initialQuestion: string;
|
|
480
489
|
streamChunks: import("./type").StreamChunk[];
|
|
481
490
|
conversations: import("./type").ConversationInput[];
|
|
491
|
+
showFollowUpQuestions: boolean;
|
|
482
492
|
}>;
|
|
483
493
|
__isFragment?: undefined;
|
|
484
494
|
__isTeleport?: undefined;
|
|
@@ -678,6 +688,10 @@ declare const GAiRobot3: {
|
|
|
678
688
|
type: import("vue").PropType<import("./type").ConversationInput[]>;
|
|
679
689
|
default: () => never[];
|
|
680
690
|
};
|
|
691
|
+
showFollowUpQuestions: {
|
|
692
|
+
type: import("vue").PropType<boolean>;
|
|
693
|
+
default: boolean;
|
|
694
|
+
};
|
|
681
695
|
}>> & Readonly<{
|
|
682
696
|
"onAgent-response"?: ((params: any) => any) | undefined;
|
|
683
697
|
}>, {
|
|
@@ -720,6 +734,7 @@ declare const GAiRobot3: {
|
|
|
720
734
|
initialQuestion: string;
|
|
721
735
|
streamChunks: import("./type").StreamChunk[];
|
|
722
736
|
conversations: import("./type").ConversationInput[];
|
|
737
|
+
showFollowUpQuestions: boolean;
|
|
723
738
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
724
739
|
$slots: {
|
|
725
740
|
reference?(_: {}): any;
|
package/dist/index.vue.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
39
39
|
initialQuestion: undefined;
|
|
40
40
|
streamChunks: () => never[];
|
|
41
41
|
conversations: () => never[];
|
|
42
|
+
showFollowUpQuestions: boolean;
|
|
42
43
|
eventFun: () => never[];
|
|
43
44
|
}>>, {
|
|
44
45
|
/** 直接与 qaServer(searchTextNew)发起流式问答,无需唤醒词 */
|
|
@@ -86,6 +87,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
86
87
|
initialQuestion: undefined;
|
|
87
88
|
streamChunks: () => never[];
|
|
88
89
|
conversations: () => never[];
|
|
90
|
+
showFollowUpQuestions: boolean;
|
|
89
91
|
eventFun: () => never[];
|
|
90
92
|
}>>> & Readonly<{
|
|
91
93
|
"onAgent-response"?: ((params: any) => any) | undefined;
|
|
@@ -123,6 +125,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
123
125
|
initialQuestion: string;
|
|
124
126
|
streamChunks: import("./type").StreamChunk[];
|
|
125
127
|
conversations: import("./type").ConversationInput[];
|
|
128
|
+
showFollowUpQuestions: boolean;
|
|
126
129
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
127
130
|
reference?(_: {}): any;
|
|
128
131
|
}>;
|
package/dist/type.d.ts
CHANGED
|
@@ -92,6 +92,8 @@ export interface Dialogbox {
|
|
|
92
92
|
streamChunks?: StreamChunk[];
|
|
93
93
|
/** 外部传入的对话列表,支持多次追加。每项包含 question 和 chunks,可替代 initialQuestion + streamChunks */
|
|
94
94
|
conversations?: ConversationInput[];
|
|
95
|
+
/** 是否显示关联问题,默认true */
|
|
96
|
+
showFollowUpQuestions?: boolean;
|
|
95
97
|
}
|
|
96
98
|
/** 流式消息类型枚举 */
|
|
97
99
|
export declare const MESSAGE_TYPES: {
|