@blueking/ai-blueking 2.2.3 → 2.2.4-beta.2
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 -1
- package/dist/components/ai-header/index.vue.d.ts.map +1 -1
- package/dist/components/composables/use-message-sender.d.ts.map +1 -1
- package/dist/composables/use-session-handlers.d.ts.map +1 -1
- package/dist/standalone/index.es.min.js +1076 -1051
- package/dist/standalone/index.iife.min.js +10 -15
- package/dist/standalone/index.umd.min.js +10 -15
- package/dist/standalone/style.css +1 -1
- package/dist/vue2/index.es.min.js +677 -652
- package/dist/vue2/index.iife.min.js +8 -13
- package/dist/vue2/index.umd.min.js +8 -13
- package/dist/vue2/style.css +1 -1
- package/dist/vue3/index.es.min.js +11 -4
- package/dist/vue3/index.iife.min.js +9 -14
- package/dist/vue3/index.umd.min.js +3 -3
- package/dist/vue3/style.css +1 -1
- package/package.json +3 -3
|
@@ -2794,7 +2794,10 @@ var hn = { class: "left-section" }, gn = { class: "logo" }, _n = ["src"], vn = {
|
|
|
2794
2794
|
}), (t, n) => (C(), o("div", {
|
|
2795
2795
|
ref_key: "headerRef",
|
|
2796
2796
|
ref: g,
|
|
2797
|
-
class: _(["ai-header drag-handle", {
|
|
2797
|
+
class: _(["ai-header drag-handle", {
|
|
2798
|
+
draggable: f.draggable,
|
|
2799
|
+
"is-aside-expanded": !f.asideCollapsed
|
|
2800
|
+
}])
|
|
2798
2801
|
}, [
|
|
2799
2802
|
s("div", hn, [
|
|
2800
2803
|
s("div", gn, [s("img", {
|
|
@@ -2944,7 +2947,7 @@ var hn = { class: "left-section" }, gn = { class: "logo" }, _n = ["src"], vn = {
|
|
|
2944
2947
|
])
|
|
2945
2948
|
], 2));
|
|
2946
2949
|
}
|
|
2947
|
-
}), [["__scopeId", "data-v-
|
|
2950
|
+
}), [["__scopeId", "data-v-03aace06"]]);
|
|
2948
2951
|
//#endregion
|
|
2949
2952
|
//#region src/bootstrap/agent-bootstrap.ts
|
|
2950
2953
|
function Tn(e) {
|
|
@@ -4173,7 +4176,11 @@ function Yn(e) {
|
|
|
4173
4176
|
//#endregion
|
|
4174
4177
|
//#region src/components/composables/use-message-sender.ts
|
|
4175
4178
|
function Xn(e) {
|
|
4176
|
-
let { emit: t, chatHelper: n, chatBusinessManager: r, getRequestOptions: i, reportError: a, resumeUserQuestionWithInput: o, selectedShortcut: s, selectedResources: c } = e, l = k([[]]), u = k("")
|
|
4179
|
+
let { emit: t, chatHelper: n, chatBusinessManager: r, getRequestOptions: i, reportError: a, resumeUserQuestionWithInput: o, selectedShortcut: s, selectedResources: c } = e, l = k([[]]), u = k("");
|
|
4180
|
+
L(() => n.value?.session.current?.value?.sessionCode, (e, t) => {
|
|
4181
|
+
t && t !== e && (u.value = "");
|
|
4182
|
+
});
|
|
4183
|
+
let d = (e, t) => {
|
|
4177
4184
|
l.value = e, c.value = t;
|
|
4178
4185
|
}, f = async (e, a = {}) => {
|
|
4179
4186
|
if (!r.value || !n.value) throw Error("[ChatBot] Cannot send message: chatBusinessManager not initialized");
|
|
@@ -5334,7 +5341,7 @@ function dr(e) {
|
|
|
5334
5341
|
hasSessionContents: l,
|
|
5335
5342
|
autoGenerateLoading: u,
|
|
5336
5343
|
handleNewChat: async () => {
|
|
5337
|
-
r.value?.exitShareMode(), i.newChat();
|
|
5344
|
+
r.value?.exitShareMode(), r.value?.setCiteText(""), i.newChat();
|
|
5338
5345
|
},
|
|
5339
5346
|
handleNewChatCreated: (e) => {
|
|
5340
5347
|
i.newChatCreated(e);
|