@blueking/ai-blueking 0.5.5 → 0.5.6

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.
@@ -1,9 +1,9 @@
1
- import { o as kt, q as vt, g as rt, l as I, s as q, a as wt, r as St, t as Et, u as Tt, v as et } from "./vue3-BB49DOTZ.mjs";
1
+ import { o as kt, q as vt, g as rt, l as I, s as q, a as wt, r as St, t as Et, u as Tt, v as et } from "./vue3-uARf6ueg.mjs";
2
2
  import "dayjs";
3
3
  import "dayjs/plugin/isoWeek.js";
4
4
  import "dayjs/plugin/customParseFormat.js";
5
5
  import "dayjs/plugin/advancedFormat.js";
6
- import { i as It } from "./is_dark-Dn1_YKwr.mjs";
6
+ import { i as It } from "./is_dark-BU5TTPPb.mjs";
7
7
  var X = function() {
8
8
  var n = function(k, r, a, h) {
9
9
  for (a = a || {}, h = k.length; h--; a[k[h]] = r)
@@ -9102,7 +9102,7 @@ const mM = { class: "ai-selected-box" }, yM = { class: "ai-selected-tip" }, vM =
9102
9102
  emits: ["send", "update:modelValue", "stop", "height-change", "shortcut-click"],
9103
9103
  setup(t, { emit: e }) {
9104
9104
  a2((V) => ({
9105
- "540d8380": y.value
9105
+ cd3e46f0: y.value
9106
9106
  }));
9107
9107
  const i = e, n = ve(`输入 "/" 唤出 Prompt
9108
9108
  通过 Shift + Enter 进行换行输入`), { enablePopup: r } = U2(), { selectedText: s, citeText: a, setCiteText: o, clearSelection: l, lockSelectedText: u } = Ic(r), h = t, d = Yt(), f = Yt(""), p = Yt(null), g = Yt(0), y = Ri(() => -(g.value + 8) + "px"), A = Yt(!1), x = (V) => {
@@ -9181,7 +9181,7 @@ const mM = { class: "ai-selected-box" }, yM = { class: "ai-selected-tip" }, vM =
9181
9181
  }
9182
9182
  V.key === "Enter" && !V.shiftKey && (V.preventDefault(), H());
9183
9183
  }, H = () => {
9184
- f.value.trim() && ct();
9184
+ !f.value.trim() || h.loading || ct();
9185
9185
  };
9186
9186
  return (V, U) => (Wt(), fe("div", RM, [
9187
9187
  Mt(s).length > 0 ? (Wt(), Rn(kM, {
@@ -9250,7 +9250,7 @@ const mM = { class: "ai-selected-box" }, yM = { class: "ai-selected-tip" }, vM =
9250
9250
  ])
9251
9251
  ]));
9252
9252
  }
9253
- }), jM = /* @__PURE__ */ Bn(VM, [["__scopeId", "data-v-a112aa5a"]]);
9253
+ }), jM = /* @__PURE__ */ Bn(VM, [["__scopeId", "data-v-26298c65"]]);
9254
9254
  function Av(t) {
9255
9255
  for (var e = [], i = 1; i < arguments.length; i++)
9256
9256
  e[i - 1] = arguments[i];
@@ -36911,21 +36911,21 @@ const Pit = function(t) {
36911
36911
  t.match(/^\s*flowchart|graph/) && ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "elk")
36912
36912
  );
36913
36913
  }, jit = async () => {
36914
- const { diagram: t } = await import("./flowchart-elk-definition-170a3958-BKVvAfUW.mjs");
36914
+ const { diagram: t } = await import("./flowchart-elk-definition-170a3958-BoFYA5Az.mjs");
36915
36915
  return { id: J7, diagram: t };
36916
36916
  }, Uit = {
36917
36917
  id: J7,
36918
36918
  detector: Vit,
36919
36919
  loader: jit
36920
36920
  }, Yit = Uit, t_ = "timeline", Hit = (t) => t.match(/^\s*timeline/) !== null, Wit = async () => {
36921
- const { diagram: t } = await import("./timeline-definition-8e5a9bc6-CsEfSv-2.mjs");
36921
+ const { diagram: t } = await import("./timeline-definition-8e5a9bc6-DtKTJxjq.mjs");
36922
36922
  return { id: t_, diagram: t };
36923
36923
  }, Git = {
36924
36924
  id: t_,
36925
36925
  detector: Hit,
36926
36926
  loader: Wit
36927
36927
  }, Qit = Git, e_ = "mindmap", qit = (t) => t.match(/^\s*mindmap/) !== null, Xit = async () => {
36928
- const { diagram: t } = await import("./mindmap-definition-44684416-DG3PuSI0.mjs");
36928
+ const { diagram: t } = await import("./mindmap-definition-44684416-CxWD4_Lk.mjs");
36929
36929
  return { id: e_, diagram: t };
36930
36930
  }, Kit = {
36931
36931
  id: e_,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueking/ai-blueking",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "description": "AI 小鲸",
5
5
  "license": "MIT",
6
6
  "author": "Tencent BlueKing",