@farris/x-ui 0.1.4 → 0.1.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.
@@ -13,7 +13,7 @@ var Fu = (e, t, n, u) => ({
13
13
  return w(e, t, u);
14
14
  }
15
15
  });
16
- import { defineComponent as ue, ref as $, createVNode as f, h as ru, watch as ie, onMounted as Fe, reactive as Ml, computed as O, onUnmounted as Wt, createTextVNode as ce, Fragment as at, nextTick as Ee, onBeforeUnmount as on, Teleport as ns, withDirectives as us, vShow as is, mergeProps as rs, shallowRef as bu, resolveComponent as Oo, provide as mt, inject as he, useId as Bl, toRef as zl } from "vue";
16
+ import { defineComponent as ue, ref as $, createVNode as f, h as ru, watch as ie, onMounted as Fe, reactive as Ml, computed as O, onUnmounted as Wt, createTextVNode as ce, Fragment as at, nextTick as Ee, onBeforeUnmount as an, Teleport as ns, withDirectives as us, vShow as is, mergeProps as rs, shallowRef as bu, resolveComponent as Oo, provide as mt, inject as he, useId as Bl, toRef as zl } from "vue";
17
17
  const Nl = {
18
18
  content: {
19
19
  type: Object,
@@ -4284,7 +4284,7 @@ function Ns() {
4284
4284
  } catch {
4285
4285
  v(S);
4286
4286
  }
4287
- }, an = function(S, U) {
4287
+ }, sn = function(S, U) {
4288
4288
  try {
4289
4289
  $n(t.removed, {
4290
4290
  attribute: U.getAttributeNode(S),
@@ -4432,22 +4432,22 @@ function Ns() {
4432
4432
  value: Ht
4433
4433
  } = He, yn = Se(Ae), Ui = Ht;
4434
4434
  let Be = Ae === "value" ? Ui : df(Ui);
4435
- if (J.attrName = yn, J.attrValue = Be, J.keepAttr = !0, J.forceKeepAttr = void 0, jt(L.uponSanitizeAttribute, S, J), Be = J.attrValue, go && (yn === "id" || yn === "name") && (an(Ae, S), Be = El + Be), pt && Ge(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Be)) {
4436
- an(Ae, S);
4435
+ if (J.attrName = yn, J.attrValue = Be, J.keepAttr = !0, J.forceKeepAttr = void 0, jt(L.uponSanitizeAttribute, S, J), Be = J.attrValue, go && (yn === "id" || yn === "name") && (sn(Ae, S), Be = El + Be), pt && Ge(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Be)) {
4436
+ sn(Ae, S);
4437
4437
  continue;
4438
4438
  }
4439
4439
  if (yn === "attributename" && er(Be, "href")) {
4440
- an(Ae, S);
4440
+ sn(Ae, S);
4441
4441
  continue;
4442
4442
  }
4443
4443
  if (J.forceKeepAttr)
4444
4444
  continue;
4445
4445
  if (!J.keepAttr) {
4446
- an(Ae, S);
4446
+ sn(Ae, S);
4447
4447
  continue;
4448
4448
  }
4449
4449
  if (!Te && Ge(/\/>/i, Be)) {
4450
- an(Ae, S);
4450
+ sn(Ae, S);
4451
4451
  continue;
4452
4452
  }
4453
4453
  Le && Iu([I, C, P], (Lo) => {
@@ -4455,7 +4455,7 @@ function Ns() {
4455
4455
  });
4456
4456
  const To = Se(S.nodeName);
4457
4457
  if (!So(To, yn, Be)) {
4458
- an(Ae, S);
4458
+ sn(Ae, S);
4459
4459
  continue;
4460
4460
  }
4461
4461
  if (y && typeof m == "object" && typeof m.getAttributeType == "function" && !Ke)
@@ -4473,7 +4473,7 @@ function Ns() {
4473
4473
  try {
4474
4474
  Ke ? S.setAttributeNS(Ke, Ae, Be) : S.setAttribute(Ae, Be), $i(S) ? St(S) : ea(t.removed);
4475
4475
  } catch {
4476
- an(Ae, S);
4476
+ sn(Ae, S);
4477
4477
  }
4478
4478
  }
4479
4479
  jt(L.afterSanitizeAttributes, S, null);
@@ -5833,7 +5833,7 @@ const Jn = /* @__PURE__ */ ue({
5833
5833
  } catch (b) {
5834
5834
  A(b);
5835
5835
  }
5836
- }), on(async () => {
5836
+ }), an(async () => {
5837
5837
  try {
5838
5838
  x(), p();
5839
5839
  } catch (b) {
@@ -6272,12 +6272,13 @@ const Ph = /* @__PURE__ */ ue({
6272
6272
  default: "full"
6273
6273
  }
6274
6274
  };
6275
- function pn({
6276
- status: e
6275
+ function rn({
6276
+ status: e,
6277
+ variant: t = ""
6277
6278
  }) {
6278
- const t = `f-chat-todo-status-icon f-chat-todo-status-${e.toLowerCase()}`;
6279
- return f("span", {
6280
- class: t,
6279
+ let n = "";
6280
+ return t ? n = `f-chat-todo-status-icon f-chat-todo-status-${e.toLowerCase()} variant--${t.toLowerCase()} ` : n = `f-chat-todo-status-icon f-chat-todo-status-${e.toLowerCase()}`, f("span", {
6281
+ class: n,
6281
6282
  "aria-hidden": !0
6282
6283
  }, null);
6283
6284
  }
@@ -6364,8 +6365,9 @@ const ya = 100, Bh = /* @__PURE__ */ ue({
6364
6365
  });
6365
6366
  const T = () => {
6366
6367
  l.value = !l.value;
6367
- }, F = () => A.value ? null : f(pn, {
6368
- status: "Working"
6368
+ }, F = () => A.value ? null : f(rn, {
6369
+ status: "Working",
6370
+ variant: "thinking"
6369
6371
  }, null), D = () => !g.value || !l.value ? null : f("div", {
6370
6372
  class: "f-chat-bubble-thinking-content"
6371
6373
  }, [f("div", {
@@ -6390,9 +6392,9 @@ const ya = 100, Bh = /* @__PURE__ */ ue({
6390
6392
  class: "f-chat-bubble-thinking-title",
6391
6393
  innerHTML: b.value
6392
6394
  }, null), g.value && f("i", {
6393
- class: "fx-icon fx-icon-arrow-right",
6395
+ class: "fx-icon fx-icon-foldup",
6394
6396
  style: {
6395
- transform: l.value ? "rotate(90deg)" : "rotate(0deg)",
6397
+ transform: l.value ? "rotate(180deg)" : "rotate(0deg)",
6396
6398
  transition: "all 0.3s ease-in-out"
6397
6399
  }
6398
6400
  }, null)]), D()]);
@@ -6933,8 +6935,9 @@ const Mr = /* @__PURE__ */ ue({
6933
6935
  showLoading: e.showLoading,
6934
6936
  showLabel: e.showLabel,
6935
6937
  outputMode: e.outputMode
6936
- }, null), !e.todoList || e.todoList.length === 0 && f(at, null, [e.showLoading && f(pn, {
6937
- status: e.status ?? "Done"
6938
+ }, null), !e.todoList || e.todoList.length === 0 && f(at, null, [e.showLoading && f(rn, {
6939
+ status: e.status ?? "Done",
6940
+ variant: "todo"
6938
6941
  }, null), d.value ? f("div", {
6939
6942
  class: "f-chat-todo-task-wrapper"
6940
6943
  }, [f("span", {
@@ -7010,9 +7013,9 @@ const Mr = /* @__PURE__ */ ue({
7010
7013
  }
7011
7014
  function m() {
7012
7015
  return e.detailViewMode === "expand" ? f("i", {
7013
- class: "fx-icon fx-icon-arrow-right",
7016
+ class: "fx-icon fx-icon-foldup",
7014
7017
  style: {
7015
- transform: a.value ? "rotate(90deg)" : "rotate(0deg)",
7018
+ transform: a.value ? "rotate(180deg)" : "rotate(0deg)",
7016
7019
  transition: "all 0.3s ease-in-out"
7017
7020
  }
7018
7021
  }, null) : null;
@@ -7039,12 +7042,14 @@ const Mr = /* @__PURE__ */ ue({
7039
7042
  };
7040
7043
  });
7041
7044
  function A() {
7042
- return e.showLoading ? e.loading ? e.loading : x.value ? f(pn, {
7043
- status: "Done"
7045
+ return e.showLoading ? e.loading ? e.loading : x.value ? f(rn, {
7046
+ status: "Done",
7047
+ variant: "todo"
7044
7048
  }, null) : e.status === "Done" ? f("img", {
7045
7049
  src: Kh
7046
- }, null) : f(pn, {
7047
- status: e.status
7050
+ }, null) : f(rn, {
7051
+ status: e.status,
7052
+ variant: "todo"
7048
7053
  }, null) : null;
7049
7054
  }
7050
7055
  function b() {
@@ -7208,7 +7213,7 @@ const tu = /* @__PURE__ */ ue({
7208
7213
  let r = setTimeout(() => {
7209
7214
  u.value = !0;
7210
7215
  }, t1);
7211
- on(() => {
7216
+ an(() => {
7212
7217
  r && clearTimeout(r);
7213
7218
  });
7214
7219
  const i = O(() => t.value), o = O(() => u.value && !t.value), a = O(() => n.value ? "执行失败" : i.value ? "执行完成" : "调用中"), s = $(!1), c = O(() => ({
@@ -7243,17 +7248,16 @@ const tu = /* @__PURE__ */ ue({
7243
7248
  class: "f-chat-tool-use-name"
7244
7249
  }, [e.content.toolDescription ?? "tool"]), f("div", {
7245
7250
  class: d.value
7246
- }, [n.value ? f("i", {
7247
- class: "fx-icon fx-icon-fail_line f-chat-tool-use-status-icon",
7248
- "aria-hidden": "true"
7249
- }, null) : f(pn, {
7251
+ }, [n.value ? f(rn, {
7252
+ status: "Error"
7253
+ }, null) : f(rn, {
7250
7254
  status: i.value ? "Done" : o.value ? "Working" : "NotStart"
7251
7255
  }, null), f("span", {
7252
7256
  class: "f-chat-tool-use-status-text"
7253
7257
  }, [a.value])]), f("i", {
7254
- class: "fx-icon fx-icon-arrow-right",
7258
+ class: "fx-icon fx-icon-foldup",
7255
7259
  style: {
7256
- transform: s.value ? "rotate(90deg)" : "rotate(0deg)",
7260
+ transform: s.value ? "rotate(180deg)" : "rotate(0deg)",
7257
7261
  transition: "transform 0.2s ease"
7258
7262
  }
7259
7263
  }, null)]), s.value && f("div", {
@@ -8575,7 +8579,7 @@ const L1 = {
8575
8579
  pin: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-pin ${X}-icon"><path d="M12 17v5"/><path d="M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"/></svg>`,
8576
8580
  "pin-off": `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-pin-off ${X}-icon"><path d="M12 17v5"/><path d="M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89"/><path d="m2 2 20 20"/><path d="M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11"/></svg>`,
8577
8581
  check: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check ${X}-icon"><path d="M20 6 9 17l-5-5"/></svg>`
8578
- }, Tt = (e, t) => typeof t[e] == "string" ? t[e] : L1[e], rn = (e, t, n = "") => {
8582
+ }, Tt = (e, t) => typeof t[e] == "string" ? t[e] : L1[e], on = (e, t, n = "") => {
8579
8583
  var r;
8580
8584
  const u = document.getElementById(t.id);
8581
8585
  if (u)
@@ -8588,7 +8592,7 @@ const L1 = {
8588
8592
  }
8589
8593
  }, I1 = (e, t) => {
8590
8594
  var n;
8591
- (n = document.getElementById(t.id)) == null || n.remove(), rn(e, t);
8595
+ (n = document.getElementById(t.id)) == null || n.remove(), on(e, t);
8592
8596
  }, O1 = (e, t) => {
8593
8597
  const n = document.createElement(e);
8594
8598
  return Object.keys(t).forEach((u) => {
@@ -8877,13 +8881,13 @@ var G1 = (e) => !rl.has(e), Vt = (e) => e && e === Math.floor(e) && e > 0 && isF
8877
8881
  pop() {
8878
8882
  return this.heap[--this.length];
8879
8883
  }
8880
- }, Fn = new WeakMap(), le(Ot, Fn, !1), Ot), es, ts, dt, tt, gt, dn, bt, Tn, Ln, vt, De, yt, ke, ye, oe, Ve, nt, Ue, Oe, xt, Re, wt, At, ut, it, kt, Qt, qe, In, q, Ur, fn, Ut, mu, rt, sl, hn, On, gu, qt, Xt, Wr, Ku, Qu, ve, Gr, Zn, Zt, Vr, Rn, q1 = (Rn = class {
8884
+ }, Fn = new WeakMap(), le(Ot, Fn, !1), Ot), es, ts, dt, tt, gt, fn, bt, Tn, Ln, vt, De, yt, ke, ye, oe, Ve, nt, Ue, Oe, xt, Re, wt, At, ut, it, kt, Qt, qe, In, q, Ur, hn, Ut, mu, rt, sl, pn, On, gu, qt, Xt, Wr, Ku, Qu, ve, Gr, Zn, Zt, Vr, Rn, q1 = (Rn = class {
8881
8885
  constructor(t) {
8882
8886
  le(this, q);
8883
8887
  le(this, dt);
8884
8888
  le(this, tt);
8885
8889
  le(this, gt);
8886
- le(this, dn);
8890
+ le(this, fn);
8887
8891
  le(this, bt);
8888
8892
  le(this, Tn);
8889
8893
  le(this, Ln);
@@ -8922,14 +8926,14 @@ var G1 = (e) => !rl.has(e), Vt = (e) => e && e === Math.floor(e) && e > 0 && isF
8922
8926
  le(this, Qt);
8923
8927
  le(this, qe);
8924
8928
  le(this, In);
8925
- le(this, fn, () => {
8929
+ le(this, hn, () => {
8926
8930
  });
8927
8931
  le(this, Ut, () => {
8928
8932
  });
8929
8933
  le(this, mu, () => {
8930
8934
  });
8931
8935
  le(this, rt, () => !1);
8932
- le(this, hn, (t) => {
8936
+ le(this, pn, (t) => {
8933
8937
  });
8934
8938
  le(this, On, (t, n, u) => {
8935
8939
  });
@@ -8949,7 +8953,7 @@ var G1 = (e) => !rl.has(e), Vt = (e) => e && e === Math.floor(e) && e > 0 && isF
8949
8953
  }
8950
8954
  if (b !== void 0 && typeof b != "function") throw new TypeError("memoMethod must be a function if defined");
8951
8955
  if (te(this, Ln, b), A !== void 0 && typeof A != "function") throw new TypeError("fetchMethod must be a function if specified");
8952
- if (te(this, Tn, A), te(this, Qt, !!A), te(this, ke, /* @__PURE__ */ new Map()), te(this, ye, new Array(n).fill(void 0)), te(this, oe, new Array(n).fill(void 0)), te(this, Ve, new G(n)), te(this, nt, new G(n)), te(this, Ue, 0), te(this, Oe, 0), te(this, xt, V1.create(n)), te(this, De, 0), te(this, yt, 0), typeof c == "function" && te(this, gt, c), typeof d == "function" && te(this, dn, d), typeof l == "function" ? (te(this, bt, l), te(this, Re, [])) : (te(this, bt, void 0), te(this, Re, void 0)), te(this, kt, !!w(this, gt)), te(this, In, !!w(this, dn)), te(this, qe, !!w(this, bt)), this.noDisposeOnSet = !!h, this.noUpdateTTL = !!m, this.noDeleteOnFetchRejection = !!g, this.allowStaleOnFetchRejection = !!k, this.allowStaleOnFetchAbort = !!T, this.ignoreFetchAbort = !!F, this.maxEntrySize !== 0) {
8956
+ if (te(this, Tn, A), te(this, Qt, !!A), te(this, ke, /* @__PURE__ */ new Map()), te(this, ye, new Array(n).fill(void 0)), te(this, oe, new Array(n).fill(void 0)), te(this, Ve, new G(n)), te(this, nt, new G(n)), te(this, Ue, 0), te(this, Oe, 0), te(this, xt, V1.create(n)), te(this, De, 0), te(this, yt, 0), typeof c == "function" && te(this, gt, c), typeof d == "function" && te(this, fn, d), typeof l == "function" ? (te(this, bt, l), te(this, Re, [])) : (te(this, bt, void 0), te(this, Re, void 0)), te(this, kt, !!w(this, gt)), te(this, In, !!w(this, fn)), te(this, qe, !!w(this, bt)), this.noDisposeOnSet = !!h, this.noUpdateTTL = !!m, this.noDeleteOnFetchRejection = !!g, this.allowStaleOnFetchRejection = !!k, this.allowStaleOnFetchAbort = !!T, this.ignoreFetchAbort = !!F, this.maxEntrySize !== 0) {
8953
8957
  if (w(this, tt) !== 0 && !Vt(w(this, tt))) throw new TypeError("maxSize must be a positive integer if specified");
8954
8958
  if (!Vt(this.maxEntrySize)) throw new TypeError("maxEntrySize must be a positive integer if specified");
8955
8959
  Z(this, q, sl).call(this);
@@ -9014,7 +9018,7 @@ var G1 = (e) => !rl.has(e), Vt = (e) => e && e === Math.floor(e) && e > 0 && isF
9014
9018
  return w(this, gt);
9015
9019
  }
9016
9020
  get onInsert() {
9017
- return w(this, dn);
9021
+ return w(this, fn);
9018
9022
  }
9019
9023
  get disposeAfter() {
9020
9024
  return w(this, bt);
@@ -9118,7 +9122,7 @@ var G1 = (e) => !rl.has(e), Vt = (e) => e && e === Math.floor(e) && e > 0 && isF
9118
9122
  let { ttl: r = this.ttl, start: i, noDisposeOnSet: o = this.noDisposeOnSet, sizeCalculation: a = this.sizeCalculation, status: s } = u, { noUpdateTTL: c = this.noUpdateTTL } = u, d = w(this, gu).call(this, t, n, u.size || 0, a);
9119
9123
  if (this.maxEntrySize && d > this.maxEntrySize) return s && (s.set = "miss", s.maxEntrySizeExceeded = !0), Z(this, q, Zt).call(this, t, "set"), this;
9120
9124
  let l = w(this, De) === 0 ? void 0 : w(this, ke).get(t);
9121
- if (l === void 0) l = w(this, De) === 0 ? w(this, Oe) : w(this, xt).length !== 0 ? w(this, xt).pop() : w(this, De) === w(this, dt) ? Z(this, q, Ku).call(this, !1) : w(this, De), w(this, ye)[l] = t, w(this, oe)[l] = n, w(this, ke).set(t, l), w(this, Ve)[w(this, Oe)] = l, w(this, nt)[l] = w(this, Oe), te(this, Oe, l), Fu(this, De)._++, w(this, On).call(this, l, d, s), s && (s.set = "add"), c = !1, w(this, In) && ((h = w(this, dn)) == null || h.call(this, n, t, "add"));
9125
+ if (l === void 0) l = w(this, De) === 0 ? w(this, Oe) : w(this, xt).length !== 0 ? w(this, xt).pop() : w(this, De) === w(this, dt) ? Z(this, q, Ku).call(this, !1) : w(this, De), w(this, ye)[l] = t, w(this, oe)[l] = n, w(this, ke).set(t, l), w(this, Ve)[w(this, Oe)] = l, w(this, nt)[l] = w(this, Oe), te(this, Oe, l), Fu(this, De)._++, w(this, On).call(this, l, d, s), s && (s.set = "add"), c = !1, w(this, In) && ((h = w(this, fn)) == null || h.call(this, n, t, "add"));
9122
9126
  else {
9123
9127
  Z(this, q, Zn).call(this, l);
9124
9128
  let g = w(this, oe)[l];
@@ -9128,7 +9132,7 @@ var G1 = (e) => !rl.has(e), Vt = (e) => e && e === Math.floor(e) && e > 0 && isF
9128
9132
  let { __staleWhileFetching: y } = g;
9129
9133
  y !== void 0 && !o && (w(this, kt) && ((m = w(this, gt)) == null || m.call(this, y, t, "set")), w(this, qe) && ((p = w(this, Re)) == null || p.push([y, t, "set"])));
9130
9134
  } else o || (w(this, kt) && ((x = w(this, gt)) == null || x.call(this, g, t, "set")), w(this, qe) && ((v = w(this, Re)) == null || v.push([g, t, "set"])));
9131
- if (w(this, hn).call(this, l), w(this, On).call(this, l, d, s), w(this, oe)[l] = n, s) {
9135
+ if (w(this, pn).call(this, l), w(this, On).call(this, l, d, s), w(this, oe)[l] = n, s) {
9132
9136
  s.set = "replace";
9133
9137
  let y = g && Z(this, q, ve).call(this, g) ? g.__staleWhileFetching : g;
9134
9138
  y !== void 0 && (s.oldValue = y);
@@ -9164,7 +9168,7 @@ var G1 = (e) => !rl.has(e), Vt = (e) => e && e === Math.floor(e) && e > 0 && isF
9164
9168
  let o = w(this, oe)[i];
9165
9169
  if (Z(this, q, ve).call(this, o) && o.__staleWhileFetching === void 0) return !1;
9166
9170
  if (w(this, rt).call(this, i)) r && (r.has = "stale", w(this, Ut).call(this, r, i));
9167
- else return u && w(this, fn).call(this, i), r && (r.has = "hit", w(this, Ut).call(this, r, i)), !0;
9171
+ else return u && w(this, hn).call(this, i), r && (r.has = "hit", w(this, Ut).call(this, r, i)), !0;
9168
9172
  } else r && (r.has = "miss");
9169
9173
  return !1;
9170
9174
  }
@@ -9189,7 +9193,7 @@ var G1 = (e) => !rl.has(e), Vt = (e) => e && e === Math.floor(e) && e > 0 && isF
9189
9193
  return A && (A.fetch = "inflight", G && (A.returnedStale = !0)), G ? k.__staleWhileFetching : k.__returned = k;
9190
9194
  }
9191
9195
  let T = w(this, rt).call(this, y);
9192
- if (!v && !T) return A && (A.fetch = "hit"), Z(this, q, Zn).call(this, y), r && w(this, fn).call(this, y), A && w(this, Ut).call(this, A, y), k;
9196
+ if (!v && !T) return A && (A.fetch = "hit"), Z(this, q, Zn).call(this, y), r && w(this, hn).call(this, y), A && w(this, Ut).call(this, A, y), k;
9193
9197
  let F = Z(this, q, Qu).call(this, t, y, g, x), D = F.__staleWhileFetching !== void 0 && u;
9194
9198
  return A && (A.fetch = T ? "stale" : "refresh", D && T && (A.returnedStale = !0)), D ? F.__staleWhileFetching : F.__returned = F;
9195
9199
  }
@@ -9211,7 +9215,7 @@ var G1 = (e) => !rl.has(e), Vt = (e) => e && e === Math.floor(e) && e > 0 && isF
9211
9215
  let { allowStale: u = this.allowStale, updateAgeOnGet: r = this.updateAgeOnGet, noDeleteOnStaleGet: i = this.noDeleteOnStaleGet, status: o } = n, a = w(this, ke).get(t);
9212
9216
  if (a !== void 0) {
9213
9217
  let s = w(this, oe)[a], c = Z(this, q, ve).call(this, s);
9214
- return o && w(this, Ut).call(this, o, a), w(this, rt).call(this, a) ? (o && (o.get = "stale"), c ? (o && u && s.__staleWhileFetching !== void 0 && (o.returnedStale = !0), u ? s.__staleWhileFetching : void 0) : (i || Z(this, q, Zt).call(this, t, "expire"), o && u && (o.returnedStale = !0), u ? s : void 0)) : (o && (o.get = "hit"), c ? s.__staleWhileFetching : (Z(this, q, Zn).call(this, a), r && w(this, fn).call(this, a), s));
9218
+ return o && w(this, Ut).call(this, o, a), w(this, rt).call(this, a) ? (o && (o.get = "stale"), c ? (o && u && s.__staleWhileFetching !== void 0 && (o.returnedStale = !0), u ? s.__staleWhileFetching : void 0) : (i || Z(this, q, Zt).call(this, t, "expire"), o && u && (o.returnedStale = !0), u ? s : void 0)) : (o && (o.get = "hit"), c ? s.__staleWhileFetching : (Z(this, q, Zn).call(this, a), r && w(this, hn).call(this, a), s));
9215
9219
  } else o && (o.get = "miss");
9216
9220
  }
9217
9221
  delete(t) {
@@ -9220,13 +9224,13 @@ var G1 = (e) => !rl.has(e), Vt = (e) => e && e === Math.floor(e) && e > 0 && isF
9220
9224
  clear() {
9221
9225
  return Z(this, q, Vr).call(this, "delete");
9222
9226
  }
9223
- }, dt = new WeakMap(), tt = new WeakMap(), gt = new WeakMap(), dn = new WeakMap(), bt = new WeakMap(), Tn = new WeakMap(), Ln = new WeakMap(), vt = new WeakMap(), De = new WeakMap(), yt = new WeakMap(), ke = new WeakMap(), ye = new WeakMap(), oe = new WeakMap(), Ve = new WeakMap(), nt = new WeakMap(), Ue = new WeakMap(), Oe = new WeakMap(), xt = new WeakMap(), Re = new WeakMap(), wt = new WeakMap(), At = new WeakMap(), ut = new WeakMap(), it = new WeakMap(), kt = new WeakMap(), Qt = new WeakMap(), qe = new WeakMap(), In = new WeakMap(), q = new WeakSet(), Ur = function() {
9227
+ }, dt = new WeakMap(), tt = new WeakMap(), gt = new WeakMap(), fn = new WeakMap(), bt = new WeakMap(), Tn = new WeakMap(), Ln = new WeakMap(), vt = new WeakMap(), De = new WeakMap(), yt = new WeakMap(), ke = new WeakMap(), ye = new WeakMap(), oe = new WeakMap(), Ve = new WeakMap(), nt = new WeakMap(), Ue = new WeakMap(), Oe = new WeakMap(), xt = new WeakMap(), Re = new WeakMap(), wt = new WeakMap(), At = new WeakMap(), ut = new WeakMap(), it = new WeakMap(), kt = new WeakMap(), Qt = new WeakMap(), qe = new WeakMap(), In = new WeakMap(), q = new WeakSet(), Ur = function() {
9224
9228
  let t = new Yu(w(this, dt)), n = new Yu(w(this, dt));
9225
9229
  te(this, ut, t), te(this, At, n);
9226
9230
  let u = this.ttlAutopurge ? new Array(w(this, dt)) : void 0;
9227
9231
  te(this, it, u), te(this, mu, (a, s, c = w(this, vt).now()) => {
9228
9232
  n[a] = s !== 0 ? c : 0, t[a] = s, r(a, s);
9229
- }), te(this, fn, (a) => {
9233
+ }), te(this, hn, (a) => {
9230
9234
  n[a] = t[a] !== 0 ? w(this, vt).now() : 0, r(a, t[a]);
9231
9235
  });
9232
9236
  let r = this.ttlAutopurge ? (a, s) => {
@@ -9267,9 +9271,9 @@ var G1 = (e) => !rl.has(e), Vt = (e) => e && e === Math.floor(e) && e > 0 && isF
9267
9271
  let s = n[a], c = t[a];
9268
9272
  return !!c && !!s && (i || o()) - s > c;
9269
9273
  });
9270
- }, fn = new WeakMap(), Ut = new WeakMap(), mu = new WeakMap(), rt = new WeakMap(), sl = function() {
9274
+ }, hn = new WeakMap(), Ut = new WeakMap(), mu = new WeakMap(), rt = new WeakMap(), sl = function() {
9271
9275
  let t = new Yu(w(this, dt));
9272
- te(this, yt, 0), te(this, wt, t), te(this, hn, (n) => {
9276
+ te(this, yt, 0), te(this, wt, t), te(this, pn, (n) => {
9273
9277
  te(this, yt, w(this, yt) - t[n]), t[n] = 0;
9274
9278
  }), te(this, gu, (n, u, r, i) => {
9275
9279
  if (Z(this, q, ve).call(this, u)) return 0;
@@ -9285,7 +9289,7 @@ var G1 = (e) => !rl.has(e), Vt = (e) => e && e === Math.floor(e) && e > 0 && isF
9285
9289
  }
9286
9290
  te(this, yt, w(this, yt) + t[n]), r && (r.entrySize = u, r.totalCalculatedSize = w(this, yt));
9287
9291
  });
9288
- }, hn = new WeakMap(), On = new WeakMap(), gu = new WeakMap(), qt = function* ({ allowStale: t = this.allowStale } = {}) {
9292
+ }, pn = new WeakMap(), On = new WeakMap(), gu = new WeakMap(), qt = function* ({ allowStale: t = this.allowStale } = {}) {
9289
9293
  if (w(this, De)) for (let n = w(this, Oe); !(!Z(this, q, Wr).call(this, n) || ((t || !w(this, rt).call(this, n)) && (yield n), n === w(this, Ue))); ) n = w(this, nt)[n];
9290
9294
  }, Xt = function* ({ allowStale: t = this.allowStale } = {}) {
9291
9295
  if (w(this, De)) for (let n = w(this, Ue); !(!Z(this, q, Wr).call(this, n) || ((t || !w(this, rt).call(this, n)) && (yield n), n === w(this, Oe))); ) n = w(this, Ve)[n];
@@ -9294,7 +9298,7 @@ var G1 = (e) => !rl.has(e), Vt = (e) => e && e === Math.floor(e) && e > 0 && isF
9294
9298
  }, Ku = function(t) {
9295
9299
  var i, o, a;
9296
9300
  let n = w(this, Ue), u = w(this, ye)[n], r = w(this, oe)[n];
9297
- return w(this, Qt) && Z(this, q, ve).call(this, r) ? r.__abortController.abort(new Error("evicted")) : (w(this, kt) || w(this, qe)) && (w(this, kt) && ((i = w(this, gt)) == null || i.call(this, r, u, "evict")), w(this, qe) && ((o = w(this, Re)) == null || o.push([r, u, "evict"]))), w(this, hn).call(this, n), (a = w(this, it)) != null && a[n] && (clearTimeout(w(this, it)[n]), w(this, it)[n] = void 0), t && (w(this, ye)[n] = void 0, w(this, oe)[n] = void 0, w(this, xt).push(n)), w(this, De) === 1 ? (te(this, Ue, te(this, Oe, 0)), w(this, xt).length = 0) : te(this, Ue, w(this, Ve)[n]), w(this, ke).delete(u), Fu(this, De)._--, n;
9301
+ return w(this, Qt) && Z(this, q, ve).call(this, r) ? r.__abortController.abort(new Error("evicted")) : (w(this, kt) || w(this, qe)) && (w(this, kt) && ((i = w(this, gt)) == null || i.call(this, r, u, "evict")), w(this, qe) && ((o = w(this, Re)) == null || o.push([r, u, "evict"]))), w(this, pn).call(this, n), (a = w(this, it)) != null && a[n] && (clearTimeout(w(this, it)[n]), w(this, it)[n] = void 0), t && (w(this, ye)[n] = void 0, w(this, oe)[n] = void 0, w(this, xt).push(n)), w(this, De) === 1 ? (te(this, Ue, te(this, Oe, 0)), w(this, xt).length = 0) : te(this, Ue, w(this, Ve)[n]), w(this, ke).delete(u), Fu(this, De)._--, n;
9298
9302
  }, Qu = function(t, n, u, r) {
9299
9303
  let i = n === void 0 ? void 0 : w(this, oe)[n];
9300
9304
  if (Z(this, q, ve).call(this, i)) return i;
@@ -9334,7 +9338,7 @@ var G1 = (e) => !rl.has(e), Vt = (e) => e && e === Math.floor(e) && e > 0 && isF
9334
9338
  let d = w(this, ke).get(t);
9335
9339
  if (d !== void 0) if ((r = w(this, it)) != null && r[d] && (clearTimeout((i = w(this, it)) == null ? void 0 : i[d]), w(this, it)[d] = void 0), u = !0, w(this, De) === 1) Z(this, q, Vr).call(this, n);
9336
9340
  else {
9337
- w(this, hn).call(this, d);
9341
+ w(this, pn).call(this, d);
9338
9342
  let l = w(this, oe)[d];
9339
9343
  if (Z(this, q, ve).call(this, l) ? l.__abortController.abort(new Error("deleted")) : (w(this, kt) || w(this, qe)) && (w(this, kt) && ((o = w(this, gt)) == null || o.call(this, l, t, n)), w(this, qe) && ((a = w(this, Re)) == null || a.push([l, t, n]))), w(this, ke).delete(t), w(this, ye)[d] = void 0, w(this, oe)[d] = void 0, d === w(this, Oe)) te(this, Oe, w(this, nt)[d]);
9340
9344
  else if (d === w(this, Ue)) te(this, Ue, w(this, Ve)[d]);
@@ -9373,7 +9377,7 @@ var G1 = (e) => !rl.has(e), Vt = (e) => e && e === Math.floor(e) && e > 0 && isF
9373
9377
  }
9374
9378
  }, Rn);
9375
9379
  /*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */
9376
- var cn = Object.assign || function(e) {
9380
+ var dn = Object.assign || function(e) {
9377
9381
  for (var t = 1; t < arguments.length; t++) {
9378
9382
  var n = arguments[t];
9379
9383
  for (var u in n)
@@ -9404,7 +9408,7 @@ See: https://github.com/francoischalifour/medium-zoom`);
9404
9408
  var n = t.getBoundingClientRect(), u = n.top, r = n.left, i = n.width, o = n.height, a = t.cloneNode(), s = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0, c = window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0;
9405
9409
  return a.removeAttribute("id"), a.style.position = "absolute", a.style.top = u + s + "px", a.style.left = r + c + "px", a.style.width = i + "px", a.style.height = o + "px", a.style.transform = "", a;
9406
9410
  }, wn = function(t, n) {
9407
- var u = cn({
9411
+ var u = dn({
9408
9412
  bubbles: !1,
9409
9413
  cancelable: !1,
9410
9414
  detail: void 0
@@ -9435,18 +9439,18 @@ See: https://github.com/francoischalifour/medium-zoom`);
9435
9439
  (C === "Escape" || C === "Esc" || C === 27) && p();
9436
9440
  }, a = function() {
9437
9441
  var I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, C = I;
9438
- if (I.background && (G.style.background = I.background), I.container && I.container instanceof Object && (C.container = cn({}, F.container, I.container)), I.template) {
9442
+ if (I.background && (G.style.background = I.background), I.container && I.container instanceof Object && (C.container = dn({}, F.container, I.container)), I.template) {
9439
9443
  var P = Ju(I.template) ? I.template : document.querySelector(I.template);
9440
9444
  C.template = P;
9441
9445
  }
9442
- return F = cn({}, F, C), g.forEach(function(M) {
9446
+ return F = dn({}, F, C), g.forEach(function(M) {
9443
9447
  M.dispatchEvent(wn("medium-zoom:update", {
9444
9448
  detail: { zoom: _ }
9445
9449
  }));
9446
9450
  }), _;
9447
9451
  }, s = function() {
9448
9452
  var I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
9449
- return e(cn({}, F, I));
9453
+ return e(dn({}, F, I));
9450
9454
  }, c = function() {
9451
9455
  for (var I = arguments.length, C = Array(I), P = 0; P < I; P++)
9452
9456
  C[P] = arguments[P];
@@ -9501,10 +9505,10 @@ See: https://github.com/francoischalifour/medium-zoom`);
9501
9505
  }, z = void 0, B = void 0;
9502
9506
  if (F.container)
9503
9507
  if (F.container instanceof Object)
9504
- E = cn({}, E, F.container), z = E.width - E.left - E.right - F.margin * 2, B = E.height - E.top - E.bottom - F.margin * 2;
9508
+ E = dn({}, E, F.container), z = E.width - E.left - E.right - F.margin * 2, B = E.height - E.top - E.bottom - F.margin * 2;
9505
9509
  else {
9506
9510
  var W = Ju(F.container) ? F.container : document.querySelector(F.container), re = W.getBoundingClientRect(), ne = re.width, j = re.height, H = re.left, R = re.top;
9507
- E = cn({}, E, {
9511
+ E = dn({}, E, {
9508
9512
  width: ne,
9509
9513
  height: j,
9510
9514
  left: H,
@@ -9592,7 +9596,7 @@ See: https://github.com/francoischalifour/medium-zoom`);
9592
9596
  template: null
9593
9597
  // If the selector is omitted, it's replaced by the options
9594
9598
  };
9595
- Object.prototype.toString.call(t) === "[object Object]" ? F = t : (t || typeof t == "string") && c(t), F = cn({
9599
+ Object.prototype.toString.call(t) === "[object Object]" ? F = t : (t || typeof t == "string") && c(t), F = dn({
9596
9600
  margin: 0,
9597
9601
  background: "#fff",
9598
9602
  scrollOffset: 40,
@@ -9740,7 +9744,7 @@ const tn = {
9740
9744
  if (e.noEcharts || o)
9741
9745
  return;
9742
9746
  const p = r.echarts.js;
9743
- rn(
9747
+ on(
9744
9748
  "script",
9745
9749
  {
9746
9750
  ...(x = i.echarts) == null ? void 0 : x.js,
@@ -9799,17 +9803,17 @@ const tn = {
9799
9803
  }
9800
9804
  });
9801
9805
  };
9802
- return on(() => {
9806
+ return an(() => {
9803
9807
  h(!0);
9804
9808
  }), { reRenderEcharts: a, replaceEcharts: m };
9805
9809
  }, i2 = (e) => {
9806
9810
  const t = he("highlight"), n = bu(Ct.editorExtensions.highlight.instance);
9807
9811
  return Fe(() => {
9808
- e.noHighlight || n.value || (rn("link", {
9812
+ e.noHighlight || n.value || (on("link", {
9809
9813
  ...t.value.css,
9810
9814
  rel: "stylesheet",
9811
9815
  id: tn.hlcss
9812
- }), rn(
9816
+ }), on(
9813
9817
  "script",
9814
9818
  {
9815
9819
  ...t.value.js,
@@ -9837,7 +9841,7 @@ const tn = {
9837
9841
  if (e.noKatex || t.value)
9838
9842
  return;
9839
9843
  const { editorExtensions: n, editorExtensionsAttrs: u } = Ct;
9840
- rn(
9844
+ on(
9841
9845
  "script",
9842
9846
  {
9843
9847
  ...(r = u.katex) == null ? void 0 : r.js,
@@ -9848,7 +9852,7 @@ const tn = {
9848
9852
  }
9849
9853
  },
9850
9854
  "katex"
9851
- ), rn("link", {
9855
+ ), on("link", {
9852
9856
  ...(i = u.katex) == null ? void 0 : i.css,
9853
9857
  rel: "stylesheet",
9854
9858
  href: n.katex.css,
@@ -9896,7 +9900,7 @@ const tn = {
9896
9900
  if (e.noMermaid || a)
9897
9901
  return;
9898
9902
  const d = r.mermaid.js;
9899
- /\.mjs/.test(d) ? (rn("link", {
9903
+ /\.mjs/.test(d) ? (on("link", {
9900
9904
  ...(l = i.mermaid) == null ? void 0 : l.js,
9901
9905
  rel: "modulepreload",
9902
9906
  href: d,
@@ -9913,7 +9917,7 @@ const tn = {
9913
9917
  message: `Failed to load mermaid module: ${m.message}`,
9914
9918
  error: m
9915
9919
  });
9916
- })) : rn(
9920
+ })) : on(
9917
9921
  "script",
9918
9922
  {
9919
9923
  ...(h = i.mermaid) == null ? void 0 : h.js,
@@ -10460,7 +10464,7 @@ const tn = {
10460
10464
  T.value = `_article-key_${zr()}`, I();
10461
10465
  }
10462
10466
  });
10463
- }), on(() => {
10467
+ }), an(() => {
10464
10468
  D(), G(), clearTimeout(P);
10465
10469
  }), { html: F, key: T };
10466
10470
  }, F2 = (e, t) => {
@@ -10515,7 +10519,7 @@ const tn = {
10515
10519
  });
10516
10520
  };
10517
10521
  };
10518
- on(() => {
10522
+ an(() => {
10519
10523
  r();
10520
10524
  }), ie(
10521
10525
  [t],
@@ -10972,7 +10976,7 @@ const M2 = (e, t, n) => {
10972
10976
  editorId: o
10973
10977
  }), M2(e, t, {
10974
10978
  editorId: o
10975
- }), on(() => {
10979
+ }), an(() => {
10976
10980
  ft.clear(o);
10977
10981
  });
10978
10982
  const a = (l) => {
@@ -11060,9 +11064,9 @@ const B2 = {
11060
11064
  }
11061
11065
  });
11062
11066
  cr.install = (e) => (e.component(cr.name, cr), e);
11063
- var dr = { exports: {} }, we = {}, fr = { exports: {} }, sn = {}, Ia;
11067
+ var dr = { exports: {} }, we = {}, fr = { exports: {} }, ln = {}, Ia;
11064
11068
  function fl() {
11065
- if (Ia) return sn;
11069
+ if (Ia) return ln;
11066
11070
  Ia = 1;
11067
11071
  function e() {
11068
11072
  var i = {};
@@ -11076,7 +11080,7 @@ function fl() {
11076
11080
  function r(i, o) {
11077
11081
  return u.test(o) ? "" : o;
11078
11082
  }
11079
- return sn.whiteList = e(), sn.getDefaultWhiteList = e, sn.onAttr = t, sn.onIgnoreAttr = n, sn.safeAttrValue = r, sn;
11083
+ return ln.whiteList = e(), ln.getDefaultWhiteList = e, ln.onAttr = t, ln.onIgnoreAttr = n, ln.safeAttrValue = r, ln;
11080
11084
  }
11081
11085
  var Oa, Ra;
11082
11086
  function hl() {
@@ -11730,7 +11734,7 @@ const ni = /* @__PURE__ */ ue({
11730
11734
  return Object.keys(((E = e.previewConfig) == null ? void 0 : E.contentMap) ?? {});
11731
11735
  }), c = O(() => s.value.filter((E) => E).length > 0), d = $(), l = $(), h = $(!1);
11732
11736
  let m = null;
11733
- on(() => {
11737
+ an(() => {
11734
11738
  m == null || m(), m = null, I();
11735
11739
  }), ie(() => [o.value, n.value, a.value], () => {
11736
11740
  if (m == null || m(), m = null, a.value) return;
@@ -12046,7 +12050,7 @@ function Em(e) {
12046
12050
  }
12047
12051
  let Q2 = 0;
12048
12052
  const uu = [];
12049
- function ln() {
12053
+ function cn() {
12050
12054
  var e;
12051
12055
  return ((e = uu[uu.length - 1]) == null ? void 0 : e.h) ?? {};
12052
12056
  }
@@ -12063,31 +12067,31 @@ const Dm = {
12063
12067
  */
12064
12068
  showPreview(e) {
12065
12069
  var t, n;
12066
- (n = (t = ln()).showPreview) == null || n.call(t, e);
12070
+ (n = (t = cn()).showPreview) == null || n.call(t, e);
12067
12071
  },
12068
12072
  /** 与 {@link previewLayoutBridge.showPreview} 相同,强调在双栏时只换右侧。 */
12069
12073
  replaceRightPreview(e) {
12070
12074
  var t, n;
12071
- (n = (t = ln()).showPreview) == null || n.call(t, e);
12075
+ (n = (t = cn()).showPreview) == null || n.call(t, e);
12072
12076
  },
12073
12077
  closePreviewPane() {
12074
12078
  var e, t;
12075
- (t = (e = ln()).closePreviewPane) == null || t.call(e);
12079
+ (t = (e = cn()).closePreviewPane) == null || t.call(e);
12076
12080
  },
12077
12081
  closeRightPreview() {
12078
12082
  var e, t;
12079
- (t = (e = ln()).closeRightPreview) == null || t.call(e);
12083
+ (t = (e = cn()).closeRightPreview) == null || t.call(e);
12080
12084
  },
12081
12085
  showFullScreenPreview(e) {
12082
12086
  var t, n;
12083
- (n = (t = ln()).showFullScreenPreview) == null || n.call(t, e);
12087
+ (n = (t = cn()).showFullScreenPreview) == null || n.call(t, e);
12084
12088
  },
12085
12089
  closeFullScreenPreview() {
12086
12090
  var e, t;
12087
- (t = (e = ln()).closeFullScreenPreview) == null || t.call(e);
12091
+ (t = (e = cn()).closeFullScreenPreview) == null || t.call(e);
12088
12092
  },
12089
12093
  isPreviewLayoutActive() {
12090
- return typeof ln().showPreview == "function";
12094
+ return typeof cn().showPreview == "function";
12091
12095
  }
12092
12096
  };
12093
12097
  ni.install = (e) => {
@@ -12710,7 +12714,7 @@ const ii = /* @__PURE__ */ ue({
12710
12714
  });
12711
12715
  }), ie(t, (p) => {
12712
12716
  p && !o.value && Ee(() => h());
12713
- }), on(() => {
12717
+ }), an(() => {
12714
12718
  o.value = !0, l();
12715
12719
  }), ie(() => {
12716
12720
  var p, x;
@@ -12754,7 +12758,7 @@ const ii = /* @__PURE__ */ ue({
12754
12758
  }, [ce("📄")])]), f("span", {
12755
12759
  class: "f-chat-coding-header-expand"
12756
12760
  }, [f("i", {
12757
- class: t.value ? "fx-icon fx-icon-expanddown" : "fx-icon fx-icon-arrow-right"
12761
+ class: t.value ? "fx-icon fx-icon-expanddown" : "fx-icon fx-icon-foldup"
12758
12762
  }, null)])]), f("span", {
12759
12763
  class: "f-chat-coding-header-filename"
12760
12764
  }, [A]), f("span", {
@@ -12846,7 +12850,7 @@ const ri = /* @__PURE__ */ ue({
12846
12850
  expanded: t.value
12847
12851
  }]
12848
12852
  }, [f("i", {
12849
- class: t.value ? "fx-icon fx-icon-expanddown" : "fx-icon fx-icon-arrow-right"
12853
+ class: t.value ? "fx-icon fx-icon-expanddown" : "fx-icon fx-icon-foldup"
12850
12854
  }, null)])])]), l && f("div", {
12851
12855
  class: "f-chat-file-op-operations"
12852
12856
  }, [d.map((h, m) => {
@@ -12882,7 +12886,7 @@ const ri = /* @__PURE__ */ ue({
12882
12886
  expanded: a(m)
12883
12887
  }]
12884
12888
  }, [f("i", {
12885
- class: a(m) ? "fx-icon fx-icon-expanddown" : "fx-icon fx-icon-arrow-right"
12889
+ class: a(m) ? "fx-icon fx-icon-expanddown" : "fx-icon fx-icon-foldup"
12886
12890
  }, null)]) : null])]), ((A = h.details) == null ? void 0 : A.length) && a(m) && f("div", {
12887
12891
  class: "f-chat-file-op-details"
12888
12892
  }, [h.details.map((b, g) => Xp(b) ? f("div", {
@@ -13611,7 +13615,7 @@ const nm = {
13611
13615
  }, null)]), f("span", {
13612
13616
  class: "f-chat-todo-header-expand"
13613
13617
  }, [f("i", {
13614
- class: t.value ? "fx-icon fx-icon-expanddown" : "fx-icon fx-icon-arrow-right"
13618
+ class: t.value ? "fx-icon fx-icon-expanddown" : "fx-icon fx-icon-foldup"
13615
13619
  }, null)])]), f("span", {
13616
13620
  class: "f-chat-todo-header-label"
13617
13621
  }, [ce("待办任务")]), f("span", {
@@ -13692,7 +13696,7 @@ const ci = /* @__PURE__ */ ue({
13692
13696
  class: "f-chat-tool-use-batch-item-text"
13693
13697
  }, [c(d)]), f("div", {
13694
13698
  class: "f-chat-tool-use-batch-item-status"
13695
- }, [f(pn, {
13699
+ }, [f(rn, {
13696
13700
  status: s(d)
13697
13701
  }, null), f("span", null, [a(d)])]), m && f("i", {
13698
13702
  class: "fx-icon fx-icon-arrow-right",
@@ -13707,7 +13711,7 @@ const ci = /* @__PURE__ */ ue({
13707
13711
  class: "f-chat-tool-use-batch-progress"
13708
13712
  }, [f("span", {
13709
13713
  class: "f-chat-tool-use-batch-progress-status"
13710
- }, [f(pn, {
13714
+ }, [f(rn, {
13711
13715
  status: "Working"
13712
13716
  }, null), f("span", null, [ce("生成中…")])]), f("span", {
13713
13717
  class: "f-chat-tool-use-batch-progress-text"