@blueking/chat-x 0.0.4 → 0.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.js CHANGED
@@ -11382,13 +11382,13 @@ var sv = ["src"], cv = {
11382
11382
  "update:modelValue"
11383
11383
  ], ["update:cite"]),
11384
11384
  setup(e, { expose: t, emit: n }) {
11385
- re((e) => ({ v4698b472: V(St) }));
11385
+ re((e) => ({ v7f7fd8e1: V(St) }));
11386
11386
  let r = H("aiSlashInputRef"), i = H("filesRef"), o = ie(e, "cite"), d = z(200), f = e, m = n, h = I(f.defaultUploadFiles || []), g = a(() => {
11387
11387
  var e;
11388
11388
  return (e = f.shortcuts) == null ? void 0 : e.find((e) => e.id === f.shortcutId);
11389
11389
  }), v = a(() => {
11390
11390
  var e;
11391
- return ((e = f.modelValue) == null ? void 0 : e.length) < 1 || Array.isArray(f.modelValue) && !Ho(f.modelValue).trim() ? J.Disabled : f.messageStatus;
11391
+ return f.messageStatus && [J.Pending, J.Streaming].includes(f.messageStatus) ? f.messageStatus : ((e = f.modelValue) == null ? void 0 : e.length) < 1 || Array.isArray(f.modelValue) && !Ho(f.modelValue).trim() ? J.Disabled : f.messageStatus;
11392
11392
  });
11393
11393
  ce(() => {
11394
11394
  var e;