@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 { r as kt, t as vt, a as rt, l as I, s as q, b as wt, u as St, v as Et, w as Tt, x as et } from "./vue2-21-B3Ywh.mjs";
1
+ import { r as kt, t as vt, a as rt, l as I, s as q, b as wt, u as St, v as Et, w as Tt, x as et } from "./vue2-BKakJqVA.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-Bd6VPPEf.mjs";
6
+ import { i as It } from "./is_dark-C_2Q9Ln3.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)
@@ -27054,7 +27054,7 @@ const qct = { class: "ai-selected-box" }, Qct = { class: "ai-selected-tip" }, Kc
27054
27054
  emits: ["send", "update:modelValue", "stop", "height-change", "shortcut-click"],
27055
27055
  setup(t, { emit: e }) {
27056
27056
  M3((L) => ({
27057
- "540d8380": g.value
27057
+ cd3e46f0: g.value
27058
27058
  }));
27059
27059
  const n = e, r = Fe(`输入 "/" 唤出 Prompt
27060
27060
  通过 Shift + Enter 进行换行输入`), { enablePopup: i } = Hb(), { selectedText: o, citeText: a, setCiteText: s, clearSelection: l, lockSelectedText: u } = Bd(i), h = t, f = de(), p = de(""), d = de(null), m = de(0), g = cr(() => -(m.value + 8) + "px"), v = de(!1), b = (L) => {
@@ -27133,7 +27133,7 @@ const qct = { class: "ai-selected-box" }, Qct = { class: "ai-selected-tip" }, Kc
27133
27133
  }
27134
27134
  L.key === "Enter" && !L.shiftKey && (L.preventDefault(), z());
27135
27135
  }, z = () => {
27136
- p.value.trim() && R();
27136
+ !p.value.trim() || h.loading || R();
27137
27137
  };
27138
27138
  return (L, B) => (Ae(), Me("div", dut, [
27139
27139
  jt(o).length > 0 ? (Ae(), vi(eut, {
@@ -27202,7 +27202,7 @@ const qct = { class: "ai-selected-box" }, Qct = { class: "ai-selected-tip" }, Kc
27202
27202
  ])
27203
27203
  ]));
27204
27204
  }
27205
- }), but = /* @__PURE__ */ mi(vut, [["__scopeId", "data-v-a112aa5a"]]);
27205
+ }), but = /* @__PURE__ */ mi(vut, [["__scopeId", "data-v-26298c65"]]);
27206
27206
  function YO(t) {
27207
27207
  for (var e = [], n = 1; n < arguments.length; n++)
27208
27208
  e[n - 1] = arguments[n];
@@ -54863,21 +54863,21 @@ const pSt = function(t) {
54863
54863
  t.match(/^\s*flowchart|graph/) && ((n = e == null ? void 0 : e.flowchart) == null ? void 0 : n.defaultRenderer) === "elk")
54864
54864
  );
54865
54865
  }, ySt = async () => {
54866
- const { diagram: t } = await import("./flowchart-elk-definition-170a3958-B4gZ4zOq.mjs");
54866
+ const { diagram: t } = await import("./flowchart-elk-definition-170a3958-CLyqba-j.mjs");
54867
54867
  return { id: kI, diagram: t };
54868
54868
  }, vSt = {
54869
54869
  id: kI,
54870
54870
  detector: gSt,
54871
54871
  loader: ySt
54872
54872
  }, bSt = vSt, SI = "timeline", ASt = (t) => t.match(/^\s*timeline/) !== null, xSt = async () => {
54873
- const { diagram: t } = await import("./timeline-definition-8e5a9bc6-C6LbfPrA.mjs");
54873
+ const { diagram: t } = await import("./timeline-definition-8e5a9bc6-oS8gDjk2.mjs");
54874
54874
  return { id: SI, diagram: t };
54875
54875
  }, wSt = {
54876
54876
  id: SI,
54877
54877
  detector: ASt,
54878
54878
  loader: xSt
54879
54879
  }, _St = wSt, CI = "mindmap", TSt = (t) => t.match(/^\s*mindmap/) !== null, ESt = async () => {
54880
- const { diagram: t } = await import("./mindmap-definition-44684416-DnCCRpqV.mjs");
54880
+ const { diagram: t } = await import("./mindmap-definition-44684416-B78YSren.mjs");
54881
54881
  return { id: CI, diagram: t };
54882
54882
  }, kSt = {
54883
54883
  id: CI,
@@ -1,4 +1,4 @@
1
- import { p as wMe, d as gMe, s as bI, l as K1, g as J1n, i as pMe, a as vMe, b as Y1n, e as mMe, c as kMe, f as Uee, h as yMe, j as Q1n, k as $H, m as jMe, n as EMe } from "./vue3-BB49DOTZ.mjs";
1
+ import { p as wMe, d as gMe, s as bI, l as K1, g as J1n, i as pMe, a as vMe, b as Y1n, e as mMe, c as kMe, f as Uee, h as yMe, j as Q1n, k as $H, m as jMe, n as EMe } from "./vue3-uARf6ueg.mjs";
2
2
  import { g as CMe, c as Hee } from "./_commonjsHelpers-DaMA6jEr.mjs";
3
3
  import "dayjs";
4
4
  import "dayjs/plugin/isoWeek.js";
@@ -1,5 +1,5 @@
1
1
  import "bkui-vue";
2
- import { A as a } from "./vue3-BB49DOTZ.mjs";
2
+ import { A as a } from "./vue3-uARf6ueg.mjs";
3
3
  export {
4
4
  a as default
5
5
  };