g-ai-robot3 0.1.70 → 0.1.71

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.
@@ -95682,7 +95682,7 @@ const ygt = { class: "robot" }, Igt = {
95682
95682
  }, 200));
95683
95683
  }, G = (It) => {
95684
95684
  const Ot = XC(It, { toneType: "none", type: "array" }).filter((Vt) => Vt !== "," && Vt !== "。" && Vt !== "、").join("").includes("zaijian") ? "再见" : "拜拜";
95685
- f.value.push({ id: Date.now(), type: "user", content: Ot }), Y.value = !1, M(), r(), Gt(), it.value = !1, window.setTimeout(() => {
95685
+ f.value.push({ id: Date.now(), type: "user", content: Ot }), Y.value = !1, M(), r(), Gt(), it.value = !1, p.isExhibitionPro && localStorage.setItem("isWaitingForResponse_data", it.value.toString()), window.setTimeout(() => {
95686
95686
  var Vt, Nt;
95687
95687
  if (f.value.push({ id: Date.now(), type: "aiAnswer", content: "很高兴为您服务,再见!" }), p.mode == "video") {
95688
95688
  let Dt = {
@@ -95718,7 +95718,7 @@ const ygt = { class: "robot" }, Igt = {
95718
95718
  use_tts: "True",
95719
95719
  coze_info: g.value || {}
95720
95720
  };
95721
- Y.value = !0, it.value = !0, f.value.push({ id: Date.now() + 1, type: "aiLocal", content: "" }), p.stream === "True" ? HC(p.qaServer, yt, {
95721
+ Y.value = !0, it.value = !0, p.isExhibitionPro && localStorage.setItem("isWaitingForResponse_data", it.value.toString()), f.value.push({ id: Date.now() + 1, type: "aiLocal", content: "" }), p.stream === "True" ? HC(p.qaServer, yt, {
95722
95722
  signal: D.signal,
95723
95723
  onopen: () => {
95724
95724
  var Ot, Vt, Nt, Dt;
@@ -95753,7 +95753,7 @@ const ygt = { class: "robot" }, Igt = {
95753
95753
  }, 1e3), await ((Wa = S.value) == null ? void 0 : Wa.textToSpeech(Dt))) : i(Vt, !0));
95754
95754
  },
95755
95755
  onclose: () => {
95756
- $.value && $.value.trigger == "after" && $.value.fun(U.value), c.value = !1, it.value = !1;
95756
+ $.value && $.value.trigger == "after" && $.value.fun(U.value), c.value = !1, it.value = !1, p.isExhibitionPro && localStorage.setItem("isWaitingForResponse_data", it.value.toString());
95757
95757
  }
95758
95758
  }) : Wt(yt).then((Ot) => {
95759
95759
  let Vt = Ot.data;
@@ -96122,7 +96122,7 @@ const ygt = { class: "robot" }, Igt = {
96122
96122
  ], 4)) : ta("", !0)
96123
96123
  ], 36));
96124
96124
  }
96125
- }), Th = /* @__PURE__ */ iL(Kgt, [["__scopeId", "data-v-3b679ee6"]]);
96125
+ }), Th = /* @__PURE__ */ iL(Kgt, [["__scopeId", "data-v-dc2a659d"]]);
96126
96126
  Th.name = "GAiRobot3";
96127
96127
  Th.install = function(t) {
96128
96128
  t.component("GAiRobot3", Th);