@evercam/ui 0.0.63-preview-disable-input-when-message-being-generated-0d39145c9 → 0.0.63-preview-disable-input-when-message-being-generated-8e9e274a2
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/components/chat/EChat.vue.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.mjs +4 -13
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -16854,10 +16854,6 @@ const S4 = q.extend({
|
|
|
16854
16854
|
const r = t.slice(e.length);
|
|
16855
16855
|
for (const n of r)
|
|
16856
16856
|
await this.handleNewChunks(n);
|
|
16857
|
-
this.$emit(
|
|
16858
|
-
"is-generating-chunks",
|
|
16859
|
-
this.currentChunkIndex !== this.chunks.filter((n) => n.length > 0).length
|
|
16860
|
-
);
|
|
16861
16857
|
},
|
|
16862
16858
|
deep: !0
|
|
16863
16859
|
},
|
|
@@ -17108,8 +17104,6 @@ var I4 = function() {
|
|
|
17108
17104
|
return e.$emit("animation-start");
|
|
17109
17105
|
}, "is-processing": function(n) {
|
|
17110
17106
|
return e.$emit("is-processing", n);
|
|
17111
|
-
}, "is-generating-chunks": function(n) {
|
|
17112
|
-
return e.$emit("is-generating-chunks", n);
|
|
17113
17107
|
} }, scopedSlots: e._u([{ key: "timestamp", fn: function({ timestamp: n }) {
|
|
17114
17108
|
return [e._t("timestamp", function() {
|
|
17115
17109
|
return [e._v(e._s(n))];
|
|
@@ -17372,13 +17366,12 @@ const Y4 = q4.exports, V4 = q.extend({
|
|
|
17372
17366
|
bodyHeight: 0,
|
|
17373
17367
|
footerHeight: 0,
|
|
17374
17368
|
isWriting: !1,
|
|
17375
|
-
isProcessing: !1
|
|
17376
|
-
isGeneratingChunks: !1
|
|
17369
|
+
isProcessing: !1
|
|
17377
17370
|
};
|
|
17378
17371
|
},
|
|
17379
17372
|
computed: {
|
|
17380
17373
|
isInputDisabled() {
|
|
17381
|
-
return this.readonly || this.isWriting || this.isLoading || this.isProcessing
|
|
17374
|
+
return this.readonly || this.isWriting || this.isLoading || this.isProcessing;
|
|
17382
17375
|
},
|
|
17383
17376
|
ChatMessageRole() {
|
|
17384
17377
|
return Xe;
|
|
@@ -17469,9 +17462,7 @@ var X4 = function() {
|
|
|
17469
17462
|
return [e._v(e._s(l))];
|
|
17470
17463
|
}, { timestamp: l })];
|
|
17471
17464
|
} }], null, !0) });
|
|
17472
|
-
}), e.isLoading ? r("EChatMessage", { attrs: { "is-loading": "", "loading-message": e.loadingMessage, "data-message-id": -1, "show-avatar": e.showCopilotAvatar, role: e.ChatMessageRole.COPILOT, dark: e.dark }, on: { "is-
|
|
17473
|
-
e.isGeneratingChunks = n;
|
|
17474
|
-
}, "is-processing": function(n) {
|
|
17465
|
+
}), e.isLoading ? r("EChatMessage", { attrs: { "is-loading": "", "loading-message": e.loadingMessage, "data-message-id": -1, "show-avatar": e.showCopilotAvatar, role: e.ChatMessageRole.COPILOT, dark: e.dark }, on: { "is-processing": function(n) {
|
|
17475
17466
|
e.isProcessing = n;
|
|
17476
17467
|
} } }) : e._e()], 2), r("EChatFooter", { directives: [{ name: "show", rawName: "v-show", value: !e.readonly, expression: "!readonly" }], ref: "chatFooter", attrs: { dark: e.dark, inline: e.inlineFooter } }, [r("EChatInput", { attrs: { dark: e.dark, disabled: e.isInputDisabled, placeholder: e.inputPlaceholder }, on: { "prompt-changed": function(n) {
|
|
17477
17468
|
return e.$emit("prompt-changed", n);
|
|
@@ -17484,7 +17475,7 @@ var X4 = function() {
|
|
|
17484
17475
|
Q4,
|
|
17485
17476
|
!1,
|
|
17486
17477
|
null,
|
|
17487
|
-
"
|
|
17478
|
+
"5c4518f1",
|
|
17488
17479
|
null,
|
|
17489
17480
|
null
|
|
17490
17481
|
);
|