@apform-ui/core 1.10.3 → 1.10.4

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/apform-ui.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var El = Object.defineProperty;
2
2
  var Pl = (I, g, C) => g in I ? El(I, g, { enumerable: !0, configurable: !0, writable: !0, value: C }) : I[g] = C;
3
3
  var GI = (I, g, C) => Pl(I, typeof g != "symbol" ? g + "" : g, C);
4
- import { defineComponent as j, openBlock as m, createElementBlock as W, createElementVNode as Y, ref as t, resolveComponent as _, createBlock as x, normalizeStyle as dI, withCtx as O, normalizeClass as u, renderSlot as ZI, createVNode as II, createTextVNode as gI, toDisplayString as h, unref as $, createCommentVNode as H, shallowRef as jC, onMounted as tg, watch as NI, onUnmounted as mg, h as kI, nextTick as $I, computed as n, Fragment as Q, renderList as q, Teleport as QZ, TransitionGroup as rl, onErrorCaptured as fl, createSlots as UZ, resolveDynamicComponent as vZ, withKeys as QC, withModifiers as UI, resolveDirective as OZ, withDirectives as Gg, reactive as EZ, useAttrs as ql, vShow as _l, onBeforeUnmount as PZ, normalizeProps as vA, guardReactiveProps as OA, useSlots as rZ, vModelText as UC, vModelSelect as $l, inject as Id, toValue as gd } from "vue";
4
+ import { defineComponent as j, openBlock as m, createElementBlock as W, createElementVNode as Y, ref as t, resolveComponent as _, createBlock as x, normalizeStyle as dI, withCtx as O, normalizeClass as u, renderSlot as AI, createVNode as II, createTextVNode as gI, toDisplayString as h, unref as $, createCommentVNode as H, shallowRef as jC, onMounted as tg, watch as NI, onUnmounted as mg, h as kI, nextTick as $I, computed as n, Fragment as Q, renderList as q, Teleport as QZ, TransitionGroup as rl, onErrorCaptured as fl, createSlots as UZ, resolveDynamicComponent as vZ, withKeys as QC, withModifiers as UI, resolveDirective as OZ, withDirectives as Gg, reactive as EZ, useAttrs as ql, vShow as _l, onBeforeUnmount as PZ, normalizeProps as vA, guardReactiveProps as OA, useSlots as rZ, vModelText as UC, vModelSelect as $l, inject as Id, toValue as gd } from "vue";
5
5
  import { ElButton as Cd, ElImageViewer as Ad, ElMessageBox as Zd, ElMessage as IC } from "element-plus";
6
6
  /*! Element Plus Icons Vue v2.3.2 */
7
7
  var ld = /* @__PURE__ */ j({
@@ -122,7 +122,7 @@ const id = /* @__PURE__ */ j({
122
122
  Y("div", {
123
123
  class: u(G.$style.footer)
124
124
  }, [
125
- ZI(G.$slots, "footer", {}, () => [
125
+ AI(G.$slots, "footer", {}, () => [
126
126
  II(i, { onClick: l }, {
127
127
  default: O(() => [
128
128
  gI(h(I.cancelText), 1)
@@ -146,7 +146,7 @@ const id = /* @__PURE__ */ j({
146
146
  Y("div", {
147
147
  class: u(G.$style.body)
148
148
  }, [
149
- ZI(G.$slots, "default")
149
+ AI(G.$slots, "default")
150
150
  ], 2)
151
151
  ]),
152
152
  _: 3
@@ -1811,8 +1811,8 @@ const VG = {
1811
1811
  "data-analysis": Rb,
1812
1812
  reading: Hb,
1813
1813
  flag: yb
1814
- }, BV = Object.keys(ZA).sort();
1815
- function YV(I) {
1814
+ }, YV = Object.keys(ZA).sort();
1815
+ function sV(I) {
1816
1816
  return I in ZA;
1817
1817
  }
1818
1818
  const RI = /* @__PURE__ */ j({
@@ -1879,7 +1879,7 @@ const RI = /* @__PURE__ */ j({
1879
1879
  pagination: Kb
1880
1880
  }, Db = {
1881
1881
  $style: Sb
1882
- }, sV = /* @__PURE__ */ U(Mb, [["__cssModules", Db]]), Fb = /* @__PURE__ */ j({
1882
+ }, wV = /* @__PURE__ */ U(Mb, [["__cssModules", Db]]), Fb = /* @__PURE__ */ j({
1883
1883
  __name: "ConfirmDialog",
1884
1884
  props: {
1885
1885
  modelValue: { type: Boolean },
@@ -1941,7 +1941,7 @@ const RI = /* @__PURE__ */ j({
1941
1941
  message: zb
1942
1942
  }, eb = {
1943
1943
  $style: kb
1944
- }, wV = /* @__PURE__ */ U(Fb, [["__cssModules", eb]]), VV = /* @__PURE__ */ j({
1944
+ }, VV = /* @__PURE__ */ U(Fb, [["__cssModules", eb]]), NV = /* @__PURE__ */ j({
1945
1945
  __name: "FormDialog",
1946
1946
  props: {
1947
1947
  modelValue: { type: Boolean },
@@ -1994,7 +1994,7 @@ const RI = /* @__PURE__ */ j({
1994
1994
  "label-width": I.labelWidth
1995
1995
  }, {
1996
1996
  default: O(() => [
1997
- ZI(c.$slots, "default", { form: I.formData })
1997
+ AI(c.$slots, "default", { form: I.formData })
1998
1998
  ]),
1999
1999
  _: 3
2000
2000
  }, 8, ["model", "rules", "label-width"])
@@ -2035,7 +2035,7 @@ const RI = /* @__PURE__ */ j({
2035
2035
  count: Qb
2036
2036
  }, vb = {
2037
2037
  $style: Ub
2038
- }, NV = /* @__PURE__ */ U(tb, [["__cssModules", vb]]), Ob = ["onClick"], Eb = /* @__PURE__ */ j({
2038
+ }, XV = /* @__PURE__ */ U(tb, [["__cssModules", vb]]), Ob = ["onClick"], Eb = /* @__PURE__ */ j({
2039
2039
  __name: "Toast",
2040
2040
  setup(I, { expose: g }) {
2041
2041
  const C = t([]);
@@ -2099,7 +2099,7 @@ const RI = /* @__PURE__ */ j({
2099
2099
  msg: Cm
2100
2100
  }, Zm = {
2101
2101
  $style: Am
2102
- }, XV = /* @__PURE__ */ U(Eb, [["__cssModules", Zm]]), lm = /* @__PURE__ */ j({
2102
+ }, oV = /* @__PURE__ */ U(Eb, [["__cssModules", Zm]]), lm = /* @__PURE__ */ j({
2103
2103
  __name: "EmptyState",
2104
2104
  props: {
2105
2105
  icon: {},
@@ -2138,7 +2138,7 @@ const RI = /* @__PURE__ */ j({
2138
2138
  key: 3,
2139
2139
  class: u(Z.$style.actions)
2140
2140
  }, [
2141
- ZI(Z.$slots, "default", {}, () => [
2141
+ AI(Z.$slots, "default", {}, () => [
2142
2142
  I.actionText ? (m(), x(d, {
2143
2143
  key: 0,
2144
2144
  type: "primary",
@@ -2163,7 +2163,7 @@ const RI = /* @__PURE__ */ j({
2163
2163
  actions: im
2164
2164
  }, Bm = {
2165
2165
  $style: Wm
2166
- }, cg = /* @__PURE__ */ U(lm, [["__cssModules", Bm]]), oV = j({
2166
+ }, cg = /* @__PURE__ */ U(lm, [["__cssModules", Bm]]), hV = j({
2167
2167
  name: "ErrorBoundary",
2168
2168
  props: {
2169
2169
  /** 自定义上下文信息,用于错误日志 */
@@ -2198,7 +2198,7 @@ const RI = /* @__PURE__ */ j({
2198
2198
  return c ? kI("div", { key: d.value, style: { display: "contents" } }, c) : null;
2199
2199
  };
2200
2200
  }
2201
- }), hV = /* @__PURE__ */ j({
2201
+ }), aV = /* @__PURE__ */ j({
2202
2202
  __name: "StatusTag",
2203
2203
  props: {
2204
2204
  status: {},
@@ -2319,7 +2319,7 @@ const RI = /* @__PURE__ */ j({
2319
2319
  lineTextShort: um
2320
2320
  }, Mm = {
2321
2321
  $style: nm
2322
- }, aV = /* @__PURE__ */ U(Ym, [["__cssModules", Mm]]), Km = /* @__PURE__ */ j({
2322
+ }, RV = /* @__PURE__ */ U(Ym, [["__cssModules", Mm]]), Km = /* @__PURE__ */ j({
2323
2323
  __name: "CardGridSkeleton",
2324
2324
  props: {
2325
2325
  count: { default: 6 },
@@ -2367,7 +2367,7 @@ const RI = /* @__PURE__ */ j({
2367
2367
  textShort: Lm
2368
2368
  }, Tm = {
2369
2369
  $style: tm
2370
- }, RV = /* @__PURE__ */ U(Km, [["__cssModules", Tm]]), xm = ["src", "alt"], jm = { name: "UserAvatar" }, Qm = /* @__PURE__ */ j({
2370
+ }, HV = /* @__PURE__ */ U(Km, [["__cssModules", Tm]]), xm = ["src", "alt"], jm = { name: "UserAvatar" }, Qm = /* @__PURE__ */ j({
2371
2371
  ...jm,
2372
2372
  props: {
2373
2373
  name: { default: "" },
@@ -2408,7 +2408,7 @@ const RI = /* @__PURE__ */ j({
2408
2408
  initial: Pm
2409
2409
  }, fm = {
2410
2410
  $style: rm
2411
- }, HV = /* @__PURE__ */ U(Qm, [["__cssModules", fm]]), qm = ["aria-label"], _m = {
2411
+ }, yV = /* @__PURE__ */ U(Qm, [["__cssModules", fm]]), qm = ["aria-label"], _m = {
2412
2412
  class: "apf-user-panel__avatar",
2413
2413
  "aria-hidden": "true"
2414
2414
  }, $m = { class: "apf-user-panel__name" }, I0 = { class: "apf-user-panel__body" }, g0 = { class: "apf-user-panel__header" }, C0 = {
@@ -2511,7 +2511,7 @@ const RI = /* @__PURE__ */ j({
2511
2511
  ], 2);
2512
2512
  };
2513
2513
  }
2514
- }), yV = /* @__PURE__ */ U(G0, [["__scopeId", "data-v-1bb71f74"]]), c0 = { class: "apf-slider-captcha__panel" }, b0 = {
2514
+ }), uV = /* @__PURE__ */ U(G0, [["__scopeId", "data-v-1bb71f74"]]), c0 = { class: "apf-slider-captcha__panel" }, b0 = {
2515
2515
  key: 0,
2516
2516
  class: "apf-slider-captcha__placeholder"
2517
2517
  }, m0 = {
@@ -2659,7 +2659,7 @@ const RI = /* @__PURE__ */ j({
2659
2659
  ], 2)
2660
2660
  ], 2));
2661
2661
  }
2662
- }), uV = /* @__PURE__ */ U(s0, [["__scopeId", "data-v-c7d9d170"]]), w0 = { class: "apf-time-range-picker__panel" }, V0 = { class: "apf-time-range-picker__actions" }, N0 = /* @__PURE__ */ j({
2662
+ }), nV = /* @__PURE__ */ U(s0, [["__scopeId", "data-v-c7d9d170"]]), w0 = { class: "apf-time-range-picker__panel" }, V0 = { class: "apf-time-range-picker__actions" }, N0 = /* @__PURE__ */ j({
2663
2663
  __name: "TimeRangePicker",
2664
2664
  props: {
2665
2665
  modelValue: {},
@@ -2809,7 +2809,7 @@ const RI = /* @__PURE__ */ j({
2809
2809
  ], 2);
2810
2810
  };
2811
2811
  }
2812
- }), nV = /* @__PURE__ */ U(N0, [["__scopeId", "data-v-cb3adbf3"]]), X0 = {
2812
+ }), MV = /* @__PURE__ */ U(N0, [["__scopeId", "data-v-cb3adbf3"]]), X0 = {
2813
2813
  key: 0,
2814
2814
  class: "apf-content-panel__head"
2815
2815
  }, o0 = {
@@ -2835,11 +2835,11 @@ const RI = /* @__PURE__ */ j({
2835
2835
  I.title || g.$slots.extra ? (m(), W("header", X0, [
2836
2836
  I.title ? (m(), W("span", o0, h(I.title), 1)) : H("", !0),
2837
2837
  g.$slots.extra ? (m(), W("div", h0, [
2838
- ZI(g.$slots, "extra", {}, void 0, !0)
2838
+ AI(g.$slots, "extra", {}, void 0, !0)
2839
2839
  ])) : H("", !0)
2840
2840
  ])) : H("", !0),
2841
2841
  Y("div", a0, [
2842
- ZI(g.$slots, "default", {}, void 0, !0)
2842
+ AI(g.$slots, "default", {}, void 0, !0)
2843
2843
  ])
2844
2844
  ], 2));
2845
2845
  }
@@ -2873,7 +2873,7 @@ const RI = /* @__PURE__ */ j({
2873
2873
  splitLine: "#EBEDF3",
2874
2874
  tooltipBg: "#FFFFFF",
2875
2875
  tooltipText: "#303133"
2876
- }, MV = {
2876
+ }, KV = {
2877
2877
  title: "#303133",
2878
2878
  primary: "#333333",
2879
2879
  regular: "#606266",
@@ -2882,7 +2882,7 @@ const RI = /* @__PURE__ */ j({
2882
2882
  placeholder: "#969FA8",
2883
2883
  disabled: "#C0C4CC",
2884
2884
  inverse: "#FFFFFF"
2885
- }, KV = {
2885
+ }, SV = {
2886
2886
  10: "10px",
2887
2887
  11: "11px",
2888
2888
  12: "12px",
@@ -2895,7 +2895,7 @@ const RI = /* @__PURE__ */ j({
2895
2895
  22: "22px",
2896
2896
  24: "24px",
2897
2897
  28: "28px"
2898
- }, SV = {
2898
+ }, DV = {
2899
2899
  xs: "4px",
2900
2900
  sm: "8px",
2901
2901
  md: "16px",
@@ -2906,32 +2906,32 @@ const RI = /* @__PURE__ */ j({
2906
2906
  10: "10px",
2907
2907
  12: "12px",
2908
2908
  20: "20px"
2909
- }, DV = {
2909
+ }, FV = {
2910
2910
  xs: "24px",
2911
2911
  sm: "28px",
2912
2912
  md: "32px",
2913
2913
  lg: "40px",
2914
2914
  xl: "44px"
2915
- }, FV = {
2915
+ }, pV = {
2916
2916
  header: "56px",
2917
2917
  conversationHeader: "68px",
2918
2918
  dialogFooter: "60px",
2919
2919
  toolbar: "48px",
2920
2920
  tabs: "40px",
2921
2921
  listRow: "48px"
2922
- }, pV = {
2922
+ }, JV = {
2923
2923
  xs: "12px",
2924
2924
  sm: "14px",
2925
2925
  md: "16px",
2926
2926
  lg: "20px",
2927
2927
  xl: "24px"
2928
- }, JV = {
2928
+ }, zV = {
2929
2929
  paddingX: "24px",
2930
2930
  paddingY: "24px",
2931
2931
  headerPaddingTop: "28px",
2932
2932
  sidebarWidth: "240px",
2933
2933
  sidebarWidthCollapsed: "64px"
2934
- }, zV = {
2934
+ }, kV = {
2935
2935
  sm: "2px",
2936
2936
  md: "4px",
2937
2937
  6: "6px",
@@ -2939,11 +2939,11 @@ const RI = /* @__PURE__ */ j({
2939
2939
  lg: "10px",
2940
2940
  xl: "12px",
2941
2941
  full: "999px"
2942
- }, kV = {
2942
+ }, eV = {
2943
2943
  fieldWidth: "220px",
2944
2944
  labelWidth: "96px",
2945
2945
  fieldGap: "6px"
2946
- }, eV = {
2946
+ }, LV = {
2947
2947
  sm: "24px",
2948
2948
  md: "32px",
2949
2949
  lg: "40px",
@@ -2952,11 +2952,11 @@ const RI = /* @__PURE__ */ j({
2952
2952
  sm: "0 1px 2px rgba(0, 0, 0, 0.05)",
2953
2953
  md: "0 4px 12px rgba(0, 0, 0, 0.08)",
2954
2954
  lg: "0 8px 24px rgba(0, 0, 0, 0.12)"
2955
- }, LV = {
2955
+ }, tV = {
2956
2956
  fast: "0.15s",
2957
2957
  normal: "0.25s",
2958
2958
  slow: "0.35s"
2959
- }, tV = {
2959
+ }, TV = {
2960
2960
  dropdown: 1e3,
2961
2961
  sticky: 1020,
2962
2962
  fixed: 1030,
@@ -3218,7 +3218,7 @@ const D0 = {
3218
3218
  key: 2,
3219
3219
  style: dI({ height: `${i.value}px` })
3220
3220
  }, [
3221
- ZI(k.$slots, "empty", {}, () => [
3221
+ AI(k.$slots, "empty", {}, () => [
3222
3222
  II($(cg), { title: "暂无数据" })
3223
3223
  ], !0)
3224
3224
  ], 4))
@@ -3228,7 +3228,7 @@ const D0 = {
3228
3228
  k.$slots["header-actions"] ? {
3229
3229
  name: "extra",
3230
3230
  fn: O(() => [
3231
- ZI(k.$slots, "header-actions", {}, void 0, !0)
3231
+ AI(k.$slots, "header-actions", {}, void 0, !0)
3232
3232
  ]),
3233
3233
  key: "0"
3234
3234
  } : void 0
@@ -3254,7 +3254,7 @@ const D0 = {
3254
3254
  }, null, 4))
3255
3255
  ]));
3256
3256
  }
3257
- }), TV = /* @__PURE__ */ U(F0, [["__scopeId", "data-v-a72b4e2b"]]), p0 = {
3257
+ }), xV = /* @__PURE__ */ U(F0, [["__scopeId", "data-v-a72b4e2b"]]), p0 = {
3258
3258
  key: 0,
3259
3259
  class: "apf-stat-card__bar"
3260
3260
  }, J0 = {
@@ -3358,7 +3358,7 @@ const D0 = {
3358
3358
  _: 1
3359
3359
  }, 40, ["class", "href", "role", "tabindex"]));
3360
3360
  }
3361
- }), xV = /* @__PURE__ */ U(j0, [["__scopeId", "data-v-3e48d232"]]), Q0 = /* @__PURE__ */ j({
3361
+ }), jV = /* @__PURE__ */ U(j0, [["__scopeId", "data-v-3e48d232"]]), Q0 = /* @__PURE__ */ j({
3362
3362
  __name: "SeverityBadge",
3363
3363
  props: {
3364
3364
  severity: {},
@@ -3387,7 +3387,7 @@ const D0 = {
3387
3387
  Y("span", null, h(Z[I.severity]), 1)
3388
3388
  ], 2));
3389
3389
  }
3390
- }), jV = /* @__PURE__ */ U(Q0, [["__scopeId", "data-v-e6c92ddb"]]), U0 = ["onClick"], v0 = { class: "apf-service-grid__body" }, O0 = { class: "apf-service-grid__name" }, E0 = {
3390
+ }), QV = /* @__PURE__ */ U(Q0, [["__scopeId", "data-v-e6c92ddb"]]), U0 = ["onClick"], v0 = { class: "apf-service-grid__body" }, O0 = { class: "apf-service-grid__name" }, E0 = {
3391
3391
  key: 0,
3392
3392
  class: "apf-service-grid__metrics"
3393
3393
  }, P0 = { key: 0 }, r0 = { key: 1 }, f0 = { key: 2 }, q0 = /* @__PURE__ */ j({
@@ -3457,7 +3457,7 @@ const D0 = {
3457
3457
  description: "等待上报或检查筛选条件"
3458
3458
  }));
3459
3459
  }
3460
- }), QV = /* @__PURE__ */ U(q0, [["__scopeId", "data-v-7e1890bc"]]), _0 = { class: "apf-status-timeline" }, $0 = { class: "apf-status-timeline__ticks" }, Ii = /* @__PURE__ */ j({
3460
+ }), UV = /* @__PURE__ */ U(q0, [["__scopeId", "data-v-7e1890bc"]]), _0 = { class: "apf-status-timeline" }, $0 = { class: "apf-status-timeline__ticks" }, Ii = /* @__PURE__ */ j({
3461
3461
  __name: "StatusTimeline",
3462
3462
  props: {
3463
3463
  segments: {},
@@ -3532,7 +3532,7 @@ const D0 = {
3532
3532
  ]);
3533
3533
  };
3534
3534
  }
3535
- }), UV = /* @__PURE__ */ U(Ii, [["__scopeId", "data-v-97b528a0"]]), gi = {
3535
+ }), vV = /* @__PURE__ */ U(Ii, [["__scopeId", "data-v-97b528a0"]]), gi = {
3536
3536
  key: 0,
3537
3537
  class: "apf-log-stream__loading"
3538
3538
  }, Ci = ["onClick"], Ai = { class: "apf-log-stream__ts" }, Zi = { class: "apf-log-stream__service" }, li = ["innerHTML"], di = {
@@ -3584,8 +3584,8 @@ const D0 = {
3584
3584
  return `${D(z.getMonth() + 1)}-${D(z.getDate())} ${D(z.getHours())}:${D(z.getMinutes())}:${D(z.getSeconds())}`;
3585
3585
  }
3586
3586
  function k(R) {
3587
- var AI;
3588
- if (!((AI = C.highlight) != null && AI.trim())) return L(R);
3587
+ var ZI;
3588
+ if (!((ZI = C.highlight) != null && ZI.trim())) return L(R);
3589
3589
  const z = C.highlight.trim(), D = L(R), f = new RegExp(`(${K(z)})`, "gi");
3590
3590
  return D.replace(f, '<mark class="apf-log-stream__mark">$1</mark>');
3591
3591
  }
@@ -3617,18 +3617,18 @@ const D0 = {
3617
3617
  return NI(
3618
3618
  () => C.logs.length,
3619
3619
  async (R, z) => {
3620
- const f = R - (z ?? 0), AI = A.value;
3621
- if (!(!AI || f === 0)) {
3620
+ const f = R - (z ?? 0), ZI = A.value;
3621
+ if (!(!ZI || f === 0)) {
3622
3622
  if (f > 0) {
3623
3623
  if (C.autoScroll)
3624
- await $I(), AI.scrollTop = 0, d.value = 0;
3624
+ await $I(), ZI.scrollTop = 0, d.value = 0;
3625
3625
  else {
3626
- const DI = AI.scrollTop + f * C.rowHeight;
3627
- AI.scrollTop = DI, d.value = DI;
3626
+ const DI = ZI.scrollTop + f * C.rowHeight;
3627
+ ZI.scrollTop = DI, d.value = DI;
3628
3628
  }
3629
3629
  return;
3630
3630
  }
3631
- await $I(), d.value = AI.scrollTop;
3631
+ await $I(), d.value = ZI.scrollTop;
3632
3632
  }
3633
3633
  }
3634
3634
  ), NI(l, (R) => {
@@ -3697,7 +3697,7 @@ const D0 = {
3697
3697
  ])) : H("", !0)
3698
3698
  ], 4));
3699
3699
  }
3700
- }), vV = /* @__PURE__ */ U(mi, [["__scopeId", "data-v-1766eb79"]]), ii = { class: "apf-threshold-slider__meta" }, Wi = { class: "apf-threshold-slider__unit" }, Bi = { class: "apf-threshold-slider__hint" }, Yi = { class: "apf-threshold-slider__row" }, si = /* @__PURE__ */ j({
3700
+ }), OV = /* @__PURE__ */ U(mi, [["__scopeId", "data-v-1766eb79"]]), ii = { class: "apf-threshold-slider__meta" }, Wi = { class: "apf-threshold-slider__unit" }, Bi = { class: "apf-threshold-slider__hint" }, Yi = { class: "apf-threshold-slider__row" }, si = /* @__PURE__ */ j({
3701
3701
  __name: "ThresholdSlider",
3702
3702
  props: {
3703
3703
  type: {},
@@ -3759,7 +3759,7 @@ const D0 = {
3759
3759
  ], 2);
3760
3760
  };
3761
3761
  }
3762
- }), OV = /* @__PURE__ */ U(si, [["__scopeId", "data-v-7098971c"]]), wi = /* @__PURE__ */ j({
3762
+ }), EV = /* @__PURE__ */ U(si, [["__scopeId", "data-v-7098971c"]]), wi = /* @__PURE__ */ j({
3763
3763
  __name: "PageShell",
3764
3764
  props: {
3765
3765
  fill: { type: Boolean, default: !1 }
@@ -3768,7 +3768,7 @@ const D0 = {
3768
3768
  return (g, C) => (m(), W("div", {
3769
3769
  class: u([g.$style.shell, I.fill && g.$style.shellFill])
3770
3770
  }, [
3771
- ZI(g.$slots, "default")
3771
+ AI(g.$slots, "default")
3772
3772
  ], 2));
3773
3773
  }
3774
3774
  }), Vi = "_shell_1qlp7_2", Ni = "_shellFill_1qlp7_10", Xi = {
@@ -3776,7 +3776,7 @@ const D0 = {
3776
3776
  shellFill: Ni
3777
3777
  }, oi = {
3778
3778
  $style: Xi
3779
- }, EV = /* @__PURE__ */ U(wi, [["__cssModules", oi]]), hi = /* @__PURE__ */ j({
3779
+ }, PV = /* @__PURE__ */ U(wi, [["__cssModules", oi]]), hi = /* @__PURE__ */ j({
3780
3780
  __name: "PageHeader",
3781
3781
  props: {
3782
3782
  title: {},
@@ -3799,14 +3799,14 @@ const D0 = {
3799
3799
  key: 0,
3800
3800
  class: u(g.$style.subtitle)
3801
3801
  }, h(I.subtitle), 3)) : H("", !0),
3802
- ZI(g.$slots, "default")
3802
+ AI(g.$slots, "default")
3803
3803
  ], 2),
3804
3804
  g.$slots.actions || g.$slots.extra ? (m(), W("div", {
3805
3805
  key: 0,
3806
3806
  class: u(g.$style.actions)
3807
3807
  }, [
3808
- ZI(g.$slots, "actions"),
3809
- ZI(g.$slots, "extra")
3808
+ AI(g.$slots, "actions"),
3809
+ AI(g.$slots, "extra")
3810
3810
  ], 2)) : H("", !0)
3811
3811
  ], 2)
3812
3812
  ], 2));
@@ -3820,7 +3820,7 @@ const D0 = {
3820
3820
  actions: ni
3821
3821
  }, Ki = {
3822
3822
  $style: Mi
3823
- }, PV = /* @__PURE__ */ U(hi, [["__cssModules", Ki]]), Si = ["onClick"], Di = /* @__PURE__ */ j({
3823
+ }, rV = /* @__PURE__ */ U(hi, [["__cssModules", Ki]]), Si = ["onClick"], Di = /* @__PURE__ */ j({
3824
3824
  __name: "BreadcrumbNav",
3825
3825
  props: {
3826
3826
  items: {}
@@ -3860,7 +3860,7 @@ const D0 = {
3860
3860
  current: zi
3861
3861
  }, ei = {
3862
3862
  $style: ki
3863
- }, rV = /* @__PURE__ */ U(Di, [["__cssModules", ei]]), Li = { class: "apf-filter-bar" }, ti = {
3863
+ }, fV = /* @__PURE__ */ U(Di, [["__cssModules", ei]]), Li = { class: "apf-filter-bar" }, ti = {
3864
3864
  key: 0,
3865
3865
  class: "apf-filter-bar__title"
3866
3866
  }, Ti = { class: "apf-filter-bar__fields" }, xi = { class: "apf-filter-bar__actions" }, ji = /* @__PURE__ */ j({
@@ -3876,10 +3876,10 @@ const D0 = {
3876
3876
  return m(), W("div", Li, [
3877
3877
  I.title ? (m(), W("div", ti, h(I.title), 1)) : H("", !0),
3878
3878
  Y("div", Ti, [
3879
- ZI(Z.$slots, "default", {}, void 0, !0)
3879
+ AI(Z.$slots, "default", {}, void 0, !0)
3880
3880
  ]),
3881
3881
  Y("div", xi, [
3882
- ZI(Z.$slots, "actions", {}, () => [
3882
+ AI(Z.$slots, "actions", {}, () => [
3883
3883
  II(d, {
3884
3884
  type: "primary",
3885
3885
  onClick: A[0] || (A[0] = (l) => C("search"))
@@ -3902,7 +3902,7 @@ const D0 = {
3902
3902
  ]);
3903
3903
  };
3904
3904
  }
3905
- }), fV = /* @__PURE__ */ U(ji, [["__scopeId", "data-v-86218301"]]), Qi = /* @__PURE__ */ j({
3905
+ }), qV = /* @__PURE__ */ U(ji, [["__scopeId", "data-v-86218301"]]), Qi = /* @__PURE__ */ j({
3906
3906
  __name: "CardTable",
3907
3907
  props: {
3908
3908
  loading: { type: Boolean, default: !1 },
@@ -3916,13 +3916,13 @@ const D0 = {
3916
3916
  class: u(["apf-card-table", { "apf-card-table--borderless": I.borderless }]),
3917
3917
  style: dI({ padding: I.padding })
3918
3918
  }, [
3919
- ZI(g.$slots, "default", {}, void 0, !0)
3919
+ AI(g.$slots, "default", {}, void 0, !0)
3920
3920
  ], 6)), [
3921
3921
  [Z, I.loading]
3922
3922
  ]);
3923
3923
  };
3924
3924
  }
3925
- }), qV = /* @__PURE__ */ U(Qi, [["__scopeId", "data-v-fbd06971"]]), Ui = { class: "apf-table-row-actions" }, vi = /* @__PURE__ */ j({
3925
+ }), _V = /* @__PURE__ */ U(Qi, [["__scopeId", "data-v-fbd06971"]]), Ui = { class: "apf-table-row-actions" }, vi = /* @__PURE__ */ j({
3926
3926
  __name: "TableRowActions",
3927
3927
  props: {
3928
3928
  actions: {},
@@ -4005,7 +4005,7 @@ const D0 = {
4005
4005
  ]);
4006
4006
  };
4007
4007
  }
4008
- }), _V = /* @__PURE__ */ U(vi, [["__scopeId", "data-v-06e2a9ce"]]), Oi = { class: "apf-search-form" }, Ei = { class: "apf-search-form__row" }, Pi = { class: "apf-search-form__label" }, ri = { class: "apf-search-form__actions" }, fi = /* @__PURE__ */ j({
4008
+ }), $V = /* @__PURE__ */ U(vi, [["__scopeId", "data-v-06e2a9ce"]]), Oi = { class: "apf-search-form" }, Ei = { class: "apf-search-form__row" }, Pi = { class: "apf-search-form__label" }, ri = { class: "apf-search-form__actions" }, fi = /* @__PURE__ */ j({
4009
4009
  __name: "SearchForm",
4010
4010
  props: {
4011
4011
  fields: {},
@@ -4131,7 +4131,7 @@ const D0 = {
4131
4131
  ]);
4132
4132
  };
4133
4133
  }
4134
- }), $V = /* @__PURE__ */ U(fi, [["__scopeId", "data-v-8a00c2b6"]]), qi = /* @__PURE__ */ j({
4134
+ }), IN = /* @__PURE__ */ U(fi, [["__scopeId", "data-v-8a00c2b6"]]), qi = /* @__PURE__ */ j({
4135
4135
  inheritAttrs: !1,
4136
4136
  __name: "TruncatedTooltipText",
4137
4137
  props: {
@@ -4154,7 +4154,7 @@ const D0 = {
4154
4154
  class: u(["apf-truncated-text", $(g).class]),
4155
4155
  style: dI($(g).style)
4156
4156
  }, [
4157
- ZI(C.$slots, "default", {}, () => [
4157
+ AI(C.$slots, "default", {}, () => [
4158
4158
  gI(h(I.content), 1)
4159
4159
  ], !0)
4160
4160
  ], 6)
@@ -4198,11 +4198,11 @@ ${g.hint.trim()}` : g.label;
4198
4198
  Y("div", {
4199
4199
  class: u(["apf-field-row__control", { "apf-field-row__control--textarea": I.textarea }])
4200
4200
  }, [
4201
- ZI(Z.$slots, "default", {}, void 0, !0)
4201
+ AI(Z.$slots, "default", {}, void 0, !0)
4202
4202
  ], 2)
4203
4203
  ], 2));
4204
4204
  }
4205
- }), IN = /* @__PURE__ */ U(gW, [["__scopeId", "data-v-84b9f50d"]]), CW = ["aria-label"], AW = {
4205
+ }), gN = /* @__PURE__ */ U(gW, [["__scopeId", "data-v-84b9f50d"]]), CW = ["aria-label"], AW = {
4206
4206
  class: "apf-hint-trigger",
4207
4207
  "aria-label": "提示"
4208
4208
  }, ZW = { class: "apf-hint-content" }, lW = /* @__PURE__ */ j({
@@ -4251,14 +4251,14 @@ ${g.hint.trim()}` : g.label;
4251
4251
  ]),
4252
4252
  default: O(() => [
4253
4253
  Y("div", ZW, [
4254
- ZI(g.$slots, "default", {}, void 0, !0)
4254
+ AI(g.$slots, "default", {}, void 0, !0)
4255
4255
  ])
4256
4256
  ]),
4257
4257
  _: 3
4258
4258
  }, 8, ["width"]));
4259
4259
  };
4260
4260
  }
4261
- }), gN = /* @__PURE__ */ U(lW, [["__scopeId", "data-v-38245bc2"]]), dW = { class: "apf-section-toggle" }, GW = { class: "apf-section-toggle__label" }, cW = {
4261
+ }), CN = /* @__PURE__ */ U(lW, [["__scopeId", "data-v-38245bc2"]]), dW = { class: "apf-section-toggle" }, GW = { class: "apf-section-toggle__label" }, cW = {
4262
4262
  key: 0,
4263
4263
  class: "apf-section-toggle__count"
4264
4264
  }, bW = { class: "apf-section-toggle__body" }, mW = /* @__PURE__ */ j({
@@ -4288,13 +4288,13 @@ ${g.hint.trim()}` : g.label;
4288
4288
  I.count !== void 0 ? (m(), W("span", cW, h(I.count), 1)) : H("", !0)
4289
4289
  ]),
4290
4290
  Gg(Y("div", bW, [
4291
- ZI(A.$slots, "default", {}, void 0, !0)
4291
+ AI(A.$slots, "default", {}, void 0, !0)
4292
4292
  ], 512), [
4293
4293
  [_l, C.value]
4294
4294
  ])
4295
4295
  ]));
4296
4296
  }
4297
- }), CN = /* @__PURE__ */ U(mW, [["__scopeId", "data-v-64b3dfe8"]]), iW = {
4297
+ }), AN = /* @__PURE__ */ U(mW, [["__scopeId", "data-v-64b3dfe8"]]), iW = {
4298
4298
  class: "apf-loading-dots",
4299
4299
  "aria-label": "加载中",
4300
4300
  role: "status"
@@ -4312,7 +4312,7 @@ ${g.hint.trim()}` : g.label;
4312
4312
  }, null, 4)), 64))
4313
4313
  ]));
4314
4314
  }
4315
- }), AN = /* @__PURE__ */ U(WW, [["__scopeId", "data-v-df891291"]]), BW = { class: "apf-json-card__body" }, YW = { class: "apf-json-card__title" }, sW = { class: "apf-json-card__summary" }, wW = /* @__PURE__ */ j({
4315
+ }), ZN = /* @__PURE__ */ U(WW, [["__scopeId", "data-v-df891291"]]), BW = { class: "apf-json-card__body" }, YW = { class: "apf-json-card__title" }, sW = { class: "apf-json-card__summary" }, wW = /* @__PURE__ */ j({
4316
4316
  __name: "JsonCard",
4317
4317
  props: {
4318
4318
  title: {},
@@ -4517,7 +4517,7 @@ ${g.hint.trim()}` : g.label;
4517
4517
  ]);
4518
4518
  };
4519
4519
  }
4520
- }), ZN = /* @__PURE__ */ U(aW, [["__scopeId", "data-v-1d125a82"]]);
4520
+ }), lN = /* @__PURE__ */ U(aW, [["__scopeId", "data-v-1d125a82"]]);
4521
4521
  function Rg(I) {
4522
4522
  const g = (I.mimetype || "").toLowerCase(), C = (I.filename || "").toLowerCase();
4523
4523
  return g.startsWith("image/") || /\.(png|jpe?g|gif|webp|bmp)$/.test(C);
@@ -4530,7 +4530,7 @@ function WZ(I) {
4530
4530
  const g = (I.mimetype || "").toLowerCase(), C = (I.filename || "").toLowerCase();
4531
4531
  return C.endsWith(".docx") || C.endsWith(".doc") || C.endsWith(".xlsx") || C.endsWith(".xls") || g.includes("word") || g.includes("sheet") || g.includes("excel");
4532
4532
  }
4533
- function lN(I) {
4533
+ function dN(I) {
4534
4534
  return Rg(I) || Lg(I);
4535
4535
  }
4536
4536
  function lA(I) {
@@ -4679,7 +4679,7 @@ const RW = { class: "apf-pdf-preview" }, HW = { class: "apf-pdf-preview__toolbar
4679
4679
  }, null, 8, JW)
4680
4680
  ], 4))
4681
4681
  ], 64)) : (m(), W(Q, { key: 1 }, [
4682
- s.value ? (m(), W("div", zW, "加载中...")) : a.value ? (m(), W("div", kW, h(a.value), 1)) : I.url ? ZI(e.$slots, "default", { url: I.url }, () => [
4682
+ s.value ? (m(), W("div", zW, "加载中...")) : a.value ? (m(), W("div", kW, h(a.value), 1)) : I.url ? AI(e.$slots, "default", { url: I.url }, () => [
4683
4683
  Y("iframe", {
4684
4684
  class: "apf-pdf-preview__frame",
4685
4685
  src: I.url,
@@ -4819,7 +4819,7 @@ const RW = { class: "apf-pdf-preview" }, HW = { class: "apf-pdf-preview__toolbar
4819
4819
  Y("tbody", null, [
4820
4820
  (m(!0), W(Q, null, q(K.value, (z, D) => (m(), W("tr", { key: D }, [
4821
4821
  Y("td", fW, h(D + 1), 1),
4822
- (m(!0), W(Q, null, q(z, (f, AI) => (m(), W("td", { key: AI }, h(f), 1))), 128))
4822
+ (m(!0), W(Q, null, q(z, (f, ZI) => (m(), W("td", { key: ZI }, h(f), 1))), 128))
4823
4823
  ]))), 128))
4824
4824
  ])
4825
4825
  ])
@@ -4896,7 +4896,7 @@ ${s.text}`).join(`
4896
4896
  })
4897
4897
  ])) : H("", !0),
4898
4898
  G.value ? (m(), W("div", lB, [
4899
- ZI(w.$slots, "pdf", { url: I.pdfUrl }, () => [
4899
+ AI(w.$slots, "pdf", { url: I.pdfUrl }, () => [
4900
4900
  II(cl, {
4901
4901
  url: I.pdfUrl,
4902
4902
  title: I.filename,
@@ -4904,7 +4904,7 @@ ${s.text}`).join(`
4904
4904
  }, null, 8, ["url", "title"])
4905
4905
  ], !0)
4906
4906
  ])) : b.value ? (m(), W("div", dB, [
4907
- ZI(w.$slots, "excel", { url: I.excelUrl }, () => [
4907
+ AI(w.$slots, "excel", { url: I.excelUrl }, () => [
4908
4908
  II($W, { src: I.excelUrl }, null, 8, ["src"])
4909
4909
  ], !0)
4910
4910
  ])) : i.value ? (m(), x(V, {
@@ -4920,7 +4920,7 @@ ${s.text}`).join(`
4920
4920
  ]);
4921
4921
  };
4922
4922
  }
4923
- }), bB = /* @__PURE__ */ U(cB, [["__scopeId", "data-v-83366d94"]]), dN = /* @__PURE__ */ j({
4923
+ }), bB = /* @__PURE__ */ U(cB, [["__scopeId", "data-v-83366d94"]]), GN = /* @__PURE__ */ j({
4924
4924
  __name: "DocumentPreviewDrawer",
4925
4925
  props: {
4926
4926
  modelValue: { type: Boolean },
@@ -4970,14 +4970,14 @@ ${s.text}`).join(`
4970
4970
  A.$slots.pdf ? {
4971
4971
  name: "pdf",
4972
4972
  fn: O((c) => [
4973
- ZI(A.$slots, "pdf", vA(OA(c)))
4973
+ AI(A.$slots, "pdf", vA(OA(c)))
4974
4974
  ]),
4975
4975
  key: "0"
4976
4976
  } : void 0,
4977
4977
  A.$slots.excel ? {
4978
4978
  name: "excel",
4979
4979
  fn: O((c) => [
4980
- ZI(A.$slots, "excel", vA(OA(c)))
4980
+ AI(A.$slots, "excel", vA(OA(c)))
4981
4981
  ]),
4982
4982
  key: "1"
4983
4983
  } : void 0
@@ -5242,7 +5242,7 @@ const NB = {
5242
5242
  onPreview: A[0] || (A[0] = (d) => C("preview", d))
5243
5243
  }, null, 8, ["items", "max"]));
5244
5244
  }
5245
- }), GN = /* @__PURE__ */ U(pB, [["__scopeId", "data-v-27af4171"]]), JB = {
5245
+ }), cN = /* @__PURE__ */ U(pB, [["__scopeId", "data-v-27af4171"]]), JB = {
5246
5246
  key: 0,
5247
5247
  class: "apf-hitl-artifact-panel"
5248
5248
  }, zB = {
@@ -5268,7 +5268,7 @@ const NB = {
5268
5268
  }, null, 8, ["items", "max"])
5269
5269
  ])) : H("", !0);
5270
5270
  }
5271
- }), cN = /* @__PURE__ */ U(kB, [["__scopeId", "data-v-8c940624"]]), eB = { class: "apf-execution-artifact-panel" }, LB = { class: "apf-execution-artifact-panel__head" }, tB = { class: "apf-execution-artifact-panel__title-row" }, TB = { class: "apf-execution-artifact-panel__title" }, xB = {
5271
+ }), bN = /* @__PURE__ */ U(kB, [["__scopeId", "data-v-8c940624"]]), eB = { class: "apf-execution-artifact-panel" }, LB = { class: "apf-execution-artifact-panel__head" }, tB = { class: "apf-execution-artifact-panel__title-row" }, TB = { class: "apf-execution-artifact-panel__title" }, xB = {
5272
5272
  key: 0,
5273
5273
  class: "apf-execution-artifact-panel__count"
5274
5274
  }, jB = {
@@ -5395,7 +5395,7 @@ const NB = {
5395
5395
  }))
5396
5396
  ]));
5397
5397
  }
5398
- }), bN = /* @__PURE__ */ U(OB, [["__scopeId", "data-v-704305fc"]]);
5398
+ }), mN = /* @__PURE__ */ U(OB, [["__scopeId", "data-v-704305fc"]]);
5399
5399
  function cA() {
5400
5400
  return { async: !1, breaks: !1, extensions: null, gfm: !0, hooks: null, pedantic: !1, renderer: null, silent: !1, tokenizer: null, walkTokens: null };
5401
5401
  }
@@ -6834,23 +6834,23 @@ function al() {
6834
6834
  const F = C.createElement("template");
6835
6835
  F.content && F.content.ownerDocument && (C = F.content.ownerDocument);
6836
6836
  }
6837
- let R, z = "", D, f = !1, AI = 0;
6837
+ let R, z = "", D, f = !1, ZI = 0;
6838
6838
  const DI = function() {
6839
- if (AI > 0)
6839
+ if (ZI > 0)
6840
6840
  throw Zg('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.');
6841
6841
  }, FI = function(B) {
6842
- DI(), AI++;
6842
+ DI(), ZI++;
6843
6843
  try {
6844
6844
  return R.createHTML(B);
6845
6845
  } finally {
6846
- AI--;
6846
+ ZI--;
6847
6847
  }
6848
6848
  }, E = function(B) {
6849
- DI(), AI++;
6849
+ DI(), ZI++;
6850
6850
  try {
6851
6851
  return R.createScriptURL(B);
6852
6852
  } finally {
6853
- AI--;
6853
+ ZI--;
6854
6854
  }
6855
6855
  }, r = function() {
6856
6856
  return f || (D = Rs(w, A), f = !0), D;
@@ -7923,8 +7923,8 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
7923
7923
  const DI = await (await fetch(f)).blob(), FI = URL.createObjectURL(DI), E = document.createElement("a");
7924
7924
  E.href = FI, E.download = D.filename || "download", E.rel = "noopener", document.body.appendChild(E), E.click(), E.remove(), URL.revokeObjectURL(FI);
7925
7925
  } catch {
7926
- const AI = document.createElement("a");
7927
- AI.href = f, AI.download = D.filename || "download", AI.target = "_blank", AI.rel = "noopener", document.body.appendChild(AI), AI.click(), AI.remove();
7926
+ const ZI = document.createElement("a");
7927
+ ZI.href = f, ZI.download = D.filename || "download", ZI.target = "_blank", ZI.rel = "noopener", document.body.appendChild(ZI), ZI.click(), ZI.remove();
7928
7928
  }
7929
7929
  }
7930
7930
  function p(D) {
@@ -7958,8 +7958,8 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
7958
7958
  'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
7959
7959
  );
7960
7960
  if (f.length === 0) return;
7961
- const AI = f[0], DI = f[f.length - 1];
7962
- D.shiftKey && document.activeElement === AI ? (D.preventDefault(), DI.focus()) : !D.shiftKey && document.activeElement === DI && (D.preventDefault(), AI.focus());
7961
+ const ZI = f[0], DI = f[f.length - 1];
7962
+ D.shiftKey && document.activeElement === ZI ? (D.preventDefault(), DI.focus()) : !D.shiftKey && document.activeElement === DI && (D.preventDefault(), ZI.focus());
7963
7963
  }
7964
7964
  }
7965
7965
  }
@@ -8039,7 +8039,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8039
8039
  key: 2,
8040
8040
  type: "button",
8041
8041
  class: "apf-preview-action-btn",
8042
- onClick: f[0] || (f[0] = (AI) => y(I.attachment))
8042
+ onClick: f[0] || (f[0] = (ZI) => y(I.attachment))
8043
8043
  }, " 下载 ")) : H("", !0),
8044
8044
  Y("button", {
8045
8045
  ref_key: "closeBtnRef",
@@ -8103,7 +8103,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8103
8103
  key: 1,
8104
8104
  type: "button",
8105
8105
  class: "apf-preview-action-btn apf-preview-action-primary",
8106
- onClick: f[1] || (f[1] = (AI) => y(I.attachment))
8106
+ onClick: f[1] || (f[1] = (ZI) => y(I.attachment))
8107
8107
  }, " 下载 ")) : H("", !0)
8108
8108
  ])
8109
8109
  ])
@@ -8238,7 +8238,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8238
8238
  function R(E) {
8239
8239
  return E.error ? "失败" : E.result !== void 0 ? "已完成" : "处理中";
8240
8240
  }
8241
- const z = t(!1), D = t(!1), f = t(!1), AI = n(
8241
+ const z = t(!1), D = t(!1), f = t(!1), ZI = n(
8242
8242
  () => s.value && C.message.status === "RUNNING" && !!C.message.thinking
8243
8243
  );
8244
8244
  NI(
@@ -8293,8 +8293,8 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8293
8293
  attachments: I.message.attachments,
8294
8294
  onPreview: i
8295
8295
  }, null, 8, ["attachments"])) : H("", !0),
8296
- ZI(E.$slots, "content", {}, () => [
8297
- ZI(E.$slots, "default", {}, () => [
8296
+ AI(E.$slots, "content", {}, () => [
8297
+ AI(E.$slots, "default", {}, () => [
8298
8298
  S.value ? (m(), x(js, {
8299
8299
  key: 0,
8300
8300
  content: S.value
@@ -8416,7 +8416,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8416
8416
  }, null, 8, ["modelValue", "attachment", "gallery"])),
8417
8417
  !d.value && s.value && ((OI = I.message.thinking) != null && OI.trim()) ? (m(), W("div", {
8418
8418
  key: 7,
8419
- class: u(["apf-detail-block", { open: z.value, streaming: AI.value }])
8419
+ class: u(["apf-detail-block", { open: z.value, streaming: ZI.value }])
8420
8420
  }, [
8421
8421
  Y("button", {
8422
8422
  type: "button",
@@ -8426,12 +8426,12 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8426
8426
  }, [
8427
8427
  r[8] || (r[8] = Y("span", { class: "apf-chevron" }, null, -1)),
8428
8428
  r[9] || (r[9] = Y("span", null, "思考过程", -1)),
8429
- AI.value ? (m(), W("span", e2)) : H("", !0)
8429
+ ZI.value ? (m(), W("span", e2)) : H("", !0)
8430
8430
  ], 8, k2),
8431
8431
  Y("div", L2, [
8432
8432
  Y("div", t2, [
8433
8433
  Y("div", {
8434
- class: u(["apf-detail-content", { streaming: AI.value }])
8434
+ class: u(["apf-detail-content", { streaming: ZI.value }])
8435
8435
  }, h(I.message.thinking), 3)
8436
8436
  ])
8437
8437
  ])
@@ -8555,7 +8555,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8555
8555
  }, null, 8, ["message", "run", "sending", "brand-mark", "session-messages", "onOpenProcess"]))), 128))
8556
8556
  ], 512));
8557
8557
  }
8558
- }), mN = /* @__PURE__ */ U(_2, [["__scopeId", "data-v-0957f79a"]]), $2 = {
8558
+ }), iN = /* @__PURE__ */ U(_2, [["__scopeId", "data-v-0957f79a"]]), $2 = {
8559
8559
  key: 0,
8560
8560
  class: "apf-pending-list"
8561
8561
  }, Iw = ["src"], gw = { class: "apf-pending-name" }, Cw = {
@@ -8636,7 +8636,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8636
8636
  Y("div", {
8637
8637
  class: u(["apf-composer-field", { "apf-disabled": I.disabled }])
8638
8638
  }, [
8639
- ZI(p.$slots, "pending", {}, () => [
8639
+ AI(p.$slots, "pending", {}, () => [
8640
8640
  c.value.length ? (m(), W("div", $2, [
8641
8641
  (m(!0), W(Q, null, q(c.value, (R) => (m(), W("div", {
8642
8642
  key: R.id,
@@ -8658,7 +8658,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8658
8658
  ], 2))), 128))
8659
8659
  ])) : H("", !0)
8660
8660
  ], !0),
8661
- ZI(p.$slots, "input", {}, () => [
8661
+ AI(p.$slots, "input", {}, () => [
8662
8662
  a.value ? Gg((m(), W("textarea", {
8663
8663
  key: 0,
8664
8664
  ref_key: "textareaRef",
@@ -8674,7 +8674,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8674
8674
  ], !0),
8675
8675
  Y("div", dw, [
8676
8676
  Y("div", Gw, [
8677
- ZI(p.$slots, "tools", {}, void 0, !0),
8677
+ AI(p.$slots, "tools", {}, void 0, !0),
8678
8678
  Y("input", {
8679
8679
  ref_key: "fileInputRef",
8680
8680
  ref: l,
@@ -8708,7 +8708,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8708
8708
  ], -1)
8709
8709
  ])], 8, cw)) : H("", !0)
8710
8710
  ]),
8711
- ZI(p.$slots, "actions", {}, () => [
8711
+ AI(p.$slots, "actions", {}, () => [
8712
8712
  V.value ? (m(), W("button", {
8713
8713
  key: 0,
8714
8714
  type: "submit",
@@ -8739,7 +8739,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8739
8739
  ]))
8740
8740
  ], 34));
8741
8741
  }
8742
- }), iN = /* @__PURE__ */ U(sw, [["__scopeId", "data-v-e996c32a"]]), ww = {
8742
+ }), WN = /* @__PURE__ */ U(sw, [["__scopeId", "data-v-e996c32a"]]), ww = {
8743
8743
  key: 0,
8744
8744
  class: "apf-run-bar"
8745
8745
  }, Vw = { class: "apf-row" }, Nw = {
@@ -8853,13 +8853,16 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8853
8853
  ])
8854
8854
  ], 2)) : H("", !0);
8855
8855
  }
8856
- }), WN = /* @__PURE__ */ U(Sw, [["__scopeId", "data-v-ca69b479"]]), Dw = {
8856
+ }), BN = /* @__PURE__ */ U(Sw, [["__scopeId", "data-v-ca69b479"]]), Dw = {
8857
8857
  class: "apf-session-sidebar",
8858
8858
  "aria-label": "会话列表"
8859
- }, Fw = { class: "apf-session-sidebar__head" }, pw = { class: "apf-session-sidebar__head-actions" }, Jw = { class: "apf-session-sidebar__list" }, zw = ["onClick"], kw = { class: "apf-session-sidebar__item-title" }, ew = { class: "apf-session-sidebar__item-meta" }, Lw = {
8859
+ }, Fw = { class: "apf-session-sidebar__head" }, pw = { class: "apf-session-sidebar__head-actions" }, Jw = {
8860
+ key: 0,
8861
+ class: "apf-session-sidebar__below-head"
8862
+ }, zw = { class: "apf-session-sidebar__list" }, kw = ["onClick"], ew = { class: "apf-session-sidebar__item-title" }, Lw = { class: "apf-session-sidebar__item-meta" }, tw = {
8860
8863
  key: 0,
8861
8864
  class: "apf-session-sidebar__empty"
8862
- }, tw = /* @__PURE__ */ j({
8865
+ }, Tw = /* @__PURE__ */ j({
8863
8866
  __name: "SessionSidebar",
8864
8867
  props: {
8865
8868
  sessions: {},
@@ -8887,7 +8890,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8887
8890
  Y("div", Fw, [
8888
8891
  Y("strong", null, h(I.title || "会话"), 1),
8889
8892
  Y("div", pw, [
8890
- ZI(A.$slots, "toolbar", {}, void 0, !0),
8893
+ AI(A.$slots, "toolbar", {}, void 0, !0),
8891
8894
  I.hideCreate ? H("", !0) : (m(), x(l, {
8892
8895
  key: 0,
8893
8896
  type: "primary",
@@ -8901,16 +8904,19 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8901
8904
  }))
8902
8905
  ])
8903
8906
  ]),
8904
- Gg((m(), W("div", Jw, [
8907
+ A.$slots["below-head"] ? (m(), W("div", Jw, [
8908
+ AI(A.$slots, "below-head", {}, void 0, !0)
8909
+ ])) : H("", !0),
8910
+ Gg((m(), W("div", zw, [
8905
8911
  (m(!0), W(Q, null, q(I.sessions, (G) => (m(), W("button", {
8906
8912
  key: G.id,
8907
8913
  type: "button",
8908
8914
  class: u(["apf-session-sidebar__item", { "is-active": G.id === I.activeId }]),
8909
8915
  onClick: (b) => C("select", G.id)
8910
8916
  }, [
8911
- Y("span", kw, h(G.title || "未命名会话"), 1),
8912
- Y("div", ew, [
8913
- ZI(A.$slots, "item-meta", { session: G }, () => [
8917
+ Y("span", ew, h(G.title || "未命名会话"), 1),
8918
+ Y("div", Lw, [
8919
+ AI(A.$slots, "item-meta", { session: G }, () => [
8914
8920
  Y("small", null, h(Z(G.updatedAt || G.createdAt)), 1)
8915
8921
  ], !0)
8916
8922
  ]),
@@ -8919,7 +8925,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8919
8925
  onClick: d[1] || (d[1] = UI(() => {
8920
8926
  }, ["stop"]))
8921
8927
  }, [
8922
- ZI(A.$slots, "item-actions", { session: G }, () => [
8928
+ AI(A.$slots, "item-actions", { session: G }, () => [
8923
8929
  I.hideDelete ? H("", !0) : (m(), x(l, {
8924
8930
  key: 0,
8925
8931
  class: "apf-session-sidebar__delete",
@@ -8935,18 +8941,18 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8935
8941
  }, 8, ["onClick"]))
8936
8942
  ], !0)
8937
8943
  ])
8938
- ], 10, zw))), 128)),
8939
- !I.loading && !I.sessions.length ? (m(), W("div", Lw, h(I.emptyText || "暂无会话"), 1)) : H("", !0)
8944
+ ], 10, kw))), 128)),
8945
+ !I.loading && !I.sessions.length ? (m(), W("div", tw, h(I.emptyText || "暂无会话"), 1)) : H("", !0)
8940
8946
  ])), [
8941
8947
  [c, I.loading]
8942
8948
  ])
8943
8949
  ]);
8944
8950
  };
8945
8951
  }
8946
- }), BN = /* @__PURE__ */ U(tw, [["__scopeId", "data-v-05d3ce80"]]), Tw = {
8952
+ }), YN = /* @__PURE__ */ U(Tw, [["__scopeId", "data-v-b00284f7"]]), xw = {
8947
8953
  key: 0,
8948
8954
  class: "apf-processing-drawer__subtitle"
8949
- }, xw = { class: "apf-processing-drawer__body" }, jw = /* @__PURE__ */ j({
8955
+ }, jw = { class: "apf-processing-drawer__body" }, Qw = /* @__PURE__ */ j({
8950
8956
  __name: "ProcessingDrawer",
8951
8957
  props: {
8952
8958
  modelValue: { type: Boolean },
@@ -8968,25 +8974,25 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8968
8974
  "onUpdate:modelValue": A[1] || (A[1] = (l) => C("update:modelValue", l))
8969
8975
  }, {
8970
8976
  default: O(() => [
8971
- I.subtitle ? (m(), W("p", Tw, h(I.subtitle), 1)) : H("", !0),
8977
+ I.subtitle ? (m(), W("p", xw, h(I.subtitle), 1)) : H("", !0),
8972
8978
  I.run ? (m(), x($(hw), {
8973
8979
  key: 1,
8974
8980
  run: I.run,
8975
8981
  sending: I.sending ?? !1,
8976
8982
  onCancel: A[0] || (A[0] = (l) => C("cancel"))
8977
8983
  }, null, 8, ["run", "sending"])) : H("", !0),
8978
- Y("div", xw, [
8979
- ZI(Z.$slots, "default", {}, void 0, !0)
8984
+ Y("div", jw, [
8985
+ AI(Z.$slots, "default", {}, void 0, !0)
8980
8986
  ])
8981
8987
  ]),
8982
8988
  _: 3
8983
8989
  }, 8, ["model-value", "title"]);
8984
8990
  };
8985
8991
  }
8986
- }), YN = /* @__PURE__ */ U(jw, [["__scopeId", "data-v-6036074a"]]), Qw = { class: "apf-conversation-header" }, Uw = { class: "apf-conversation-header__identity" }, vw = { class: "apf-conversation-header__copy" }, Ow = { class: "apf-conversation-header__label" }, Ew = { class: "apf-conversation-header__actions" }, Pw = {
8992
+ }), sN = /* @__PURE__ */ U(Qw, [["__scopeId", "data-v-6036074a"]]), Uw = { class: "apf-conversation-header" }, vw = { class: "apf-conversation-header__identity" }, Ow = { class: "apf-conversation-header__copy" }, Ew = { class: "apf-conversation-header__label" }, Pw = { class: "apf-conversation-header__actions" }, rw = {
8987
8993
  key: 0,
8988
8994
  class: "apf-conversation-header__processing"
8989
- }, rw = /* @__PURE__ */ j({
8995
+ }, fw = /* @__PURE__ */ j({
8990
8996
  __name: "ConversationHeader",
8991
8997
  props: {
8992
8998
  title: {},
@@ -8997,15 +9003,15 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8997
9003
  emits: ["changeAssistant", "toggleDetails", "create"],
8998
9004
  setup(I, { emit: g }) {
8999
9005
  const C = g;
9000
- return (Z, A) => (m(), W("header", Qw, [
9001
- Y("div", Uw, [
9002
- Y("div", vw, [
9003
- Y("span", Ow, h(I.label || "正在使用"), 1),
9006
+ return (Z, A) => (m(), W("header", Uw, [
9007
+ Y("div", vw, [
9008
+ Y("div", Ow, [
9009
+ Y("span", Ew, h(I.label || "正在使用"), 1),
9004
9010
  Y("strong", null, h(I.title || "选择一个智能体开始"), 1)
9005
9011
  ])
9006
9012
  ]),
9007
- Y("div", Ew, [
9008
- I.processing ? (m(), W("span", Pw, [...A[2] || (A[2] = [
9013
+ Y("div", Pw, [
9014
+ I.processing ? (m(), W("span", rw, [...A[2] || (A[2] = [
9009
9015
  Y("i", null, null, -1),
9010
9016
  Y("span", null, "正在处理", -1)
9011
9017
  ])])) : H("", !0),
@@ -9023,16 +9029,16 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
9023
9029
  ])
9024
9030
  ]));
9025
9031
  }
9026
- }), sN = /* @__PURE__ */ U(rw, [["__scopeId", "data-v-d93df7f9"]]), fw = { class: "apf-assistant-picker" }, qw = {
9032
+ }), wN = /* @__PURE__ */ U(fw, [["__scopeId", "data-v-d93df7f9"]]), qw = { class: "apf-assistant-picker" }, _w = {
9027
9033
  key: 0,
9028
9034
  class: "apf-assistant-picker__state"
9029
- }, _w = {
9035
+ }, $w = {
9030
9036
  key: 1,
9031
9037
  class: "apf-assistant-picker__state apf-assistant-picker__state--error"
9032
- }, $w = {
9038
+ }, IV = {
9033
9039
  key: 2,
9034
9040
  class: "apf-assistant-picker__state"
9035
- }, IV = ["onClick"], gV = { class: "apf-assistant-picker__main" }, CV = { class: "apf-assistant-picker__icon-wrap" }, AV = { class: "apf-assistant-picker__info" }, ZV = { class: "apf-assistant-picker__caps" }, lV = /* @__PURE__ */ j({
9041
+ }, gV = ["onClick"], CV = { class: "apf-assistant-picker__main" }, AV = { class: "apf-assistant-picker__icon-wrap" }, ZV = { class: "apf-assistant-picker__info" }, lV = { class: "apf-assistant-picker__caps" }, dV = /* @__PURE__ */ j({
9036
9042
  __name: "AssistantPicker",
9037
9043
  props: {
9038
9044
  items: {},
@@ -9055,12 +9061,12 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
9055
9061
  Z("update:modelValue", G.id), Z("select", G);
9056
9062
  }
9057
9063
  const c = n(() => !C.loading && !C.error && !C.items.length);
9058
- return (G, b) => (m(), W("div", fw, [
9059
- I.loading ? (m(), W("div", qw, [...b[0] || (b[0] = [
9064
+ return (G, b) => (m(), W("div", qw, [
9065
+ I.loading ? (m(), W("div", _w, [...b[0] || (b[0] = [
9060
9066
  Y("p", null, "正在加载智能体…", -1)
9061
- ])])) : I.error ? (m(), W("div", _w, [
9067
+ ])])) : I.error ? (m(), W("div", $w, [
9062
9068
  Y("p", null, h(I.error), 1)
9063
- ])) : c.value ? (m(), W("div", $w, [...b[1] || (b[1] = [
9069
+ ])) : c.value ? (m(), W("div", IV, [...b[1] || (b[1] = [
9064
9070
  Y("p", null, "暂无可用智能体", -1)
9065
9071
  ])])) : H("", !0),
9066
9072
  (m(!0), W(Q, null, q(I.items, (i) => (m(), W("button", {
@@ -9069,17 +9075,17 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
9069
9075
  class: u(["apf-assistant-picker__item", { "is-active": I.modelValue === i.id }]),
9070
9076
  onClick: (w) => l(i)
9071
9077
  }, [
9072
- Y("div", gV, [
9073
- Y("span", CV, [
9078
+ Y("div", CV, [
9079
+ Y("span", AV, [
9074
9080
  II($(RI), {
9075
9081
  name: d(i),
9076
9082
  size: 22
9077
9083
  }, null, 8, ["name"])
9078
9084
  ]),
9079
- Y("span", AV, [
9085
+ Y("span", ZV, [
9080
9086
  Y("b", null, h(i.name), 1),
9081
9087
  Y("small", null, h(i.description || "适合处理一类明确任务"), 1),
9082
- Y("span", ZV, [
9088
+ Y("span", lV, [
9083
9089
  (m(!0), W(Q, null, q(A(i), (w) => (m(), W("span", {
9084
9090
  key: w,
9085
9091
  class: u(["apf-assistant-picker__cap", { "is-confirm": w === "需要确认" }])
@@ -9090,10 +9096,10 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
9090
9096
  Y("span", {
9091
9097
  class: u(["apf-assistant-picker__choose", { "is-selected": I.modelValue === i.id }])
9092
9098
  }, h(I.modelValue === i.id ? "已选择" : "开始使用"), 3)
9093
- ], 10, IV))), 128))
9099
+ ], 10, gV))), 128))
9094
9100
  ]));
9095
9101
  }
9096
- }), wN = /* @__PURE__ */ U(lV, [["__scopeId", "data-v-f05e69c0"]]), dV = { class: "apf-model-picker" }, GV = /* @__PURE__ */ j({
9102
+ }), VN = /* @__PURE__ */ U(dV, [["__scopeId", "data-v-f05e69c0"]]), GV = { class: "apf-model-picker" }, cV = /* @__PURE__ */ j({
9097
9103
  __name: "ModelPicker",
9098
9104
  props: {
9099
9105
  models: {},
@@ -9105,7 +9111,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
9105
9111
  const C = g;
9106
9112
  return (Z, A) => {
9107
9113
  const d = _("el-option"), l = _("el-select");
9108
- return m(), W("label", dV, [
9114
+ return m(), W("label", GV, [
9109
9115
  II(l, {
9110
9116
  "model-value": I.modelValue || void 0,
9111
9117
  disabled: I.loading || !I.models.length,
@@ -9135,11 +9141,11 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
9135
9141
  ]);
9136
9142
  };
9137
9143
  }
9138
- }), VN = /* @__PURE__ */ U(GV, [["__scopeId", "data-v-483ae73d"]]), Rl = Symbol("fg-toast");
9139
- function NN(I) {
9144
+ }), NN = /* @__PURE__ */ U(cV, [["__scopeId", "data-v-483ae73d"]]), Rl = Symbol("fg-toast");
9145
+ function XN(I) {
9140
9146
  return { [Rl]: I };
9141
9147
  }
9142
- function XN() {
9148
+ function oN() {
9143
9149
  const I = Id(Rl);
9144
9150
  return {
9145
9151
  show(g, C = "info", Z) {
@@ -9164,7 +9170,7 @@ function XN() {
9164
9170
  }
9165
9171
  };
9166
9172
  }
9167
- function oN() {
9173
+ function hN() {
9168
9174
  async function I(Z, A = {}) {
9169
9175
  const {
9170
9176
  title: d = "确认操作",
@@ -9205,7 +9211,7 @@ function oN() {
9205
9211
  confirmDanger: C
9206
9212
  };
9207
9213
  }
9208
- function hN() {
9214
+ function aN() {
9209
9215
  return {
9210
9216
  success(I, g = {}) {
9211
9217
  IC({ message: I, type: "success", ...g });
@@ -9221,7 +9227,7 @@ function hN() {
9221
9227
  }
9222
9228
  };
9223
9229
  }
9224
- function aN(I, g = 300) {
9230
+ function RN(I, g = 300) {
9225
9231
  const C = t(null);
9226
9232
  function Z(...A) {
9227
9233
  C.value && clearTimeout(C.value), C.value = setTimeout(() => {
@@ -9232,7 +9238,7 @@ function aN(I, g = 300) {
9232
9238
  C.value && clearTimeout(C.value);
9233
9239
  }), Z;
9234
9240
  }
9235
- function RN(I, g) {
9241
+ function HN(I, g) {
9236
9242
  var c;
9237
9243
  const C = t(1), Z = t((g == null ? void 0 : g.initialPageSize) ?? Gl), A = n(() => {
9238
9244
  const G = I.value, b = (C.value - 1) * Z.value;
@@ -9256,7 +9262,7 @@ function RN(I, g) {
9256
9262
  resetPage: l
9257
9263
  };
9258
9264
  }
9259
- function HN(I = {}) {
9265
+ function yN(I = {}) {
9260
9266
  const { timeout: g = 15e3, silentError: C = !1 } = I, Z = t(!1), A = t(null), d = t(!1), l = n(() => A.value !== null);
9261
9267
  let c = null, G = 0;
9262
9268
  function b() {
@@ -9289,7 +9295,7 @@ function HN(I = {}) {
9289
9295
  reset: s
9290
9296
  };
9291
9297
  }
9292
- function yN(I) {
9298
+ function uN(I) {
9293
9299
  const {
9294
9300
  containerRef: g,
9295
9301
  autoScroll: C = !0,
@@ -9344,7 +9350,7 @@ function yN(I) {
9344
9350
  };
9345
9351
  }
9346
9352
  const tC = /* @__PURE__ */ new Map();
9347
- function uN(I) {
9353
+ function nN(I) {
9348
9354
  const {
9349
9355
  url: g,
9350
9356
  token: C,
@@ -9493,7 +9499,7 @@ function uN(I) {
9493
9499
  k();
9494
9500
  }), { status: G, connect: o, disconnect: k, on: L };
9495
9501
  }
9496
- function nN(I) {
9502
+ function MN(I) {
9497
9503
  if (!I) return "操作失败";
9498
9504
  if (typeof I == "string") return I;
9499
9505
  if (I instanceof Error) return I.message || "操作失败";
@@ -9510,9 +9516,9 @@ function nN(I) {
9510
9516
  }
9511
9517
  return "操作失败";
9512
9518
  }
9513
- const cV = /\/(?:schema-platform\/)?api\/ai\/documents\/([^/?#]+)\/file/i, TZ = /\.(mp4|webm|mov|m4v)(?:\?|#|$|\s)/i, bV = /\.(png|jpe?g|gif|webp|bmp|svg)(?:\?|#|$|\s)/i, TC = /\.pdf(?:\?|#|$|\s)/i, xC = /\.(docx?|xlsx?|csv|txt|md)(?:\?|#|$|\s)/i, xZ = /(?:https?:\/\/[^\s"'<>\]]+|\/(?:schema-platform\/)?api\/ai\/documents\/[^/\s"'<>\]]+\/file)/gi;
9519
+ const bV = /\/(?:schema-platform\/)?api\/ai\/documents\/([^/?#]+)\/file/i, TZ = /\.(mp4|webm|mov|m4v)(?:\?|#|$|\s)/i, mV = /\.(png|jpe?g|gif|webp|bmp|svg)(?:\?|#|$|\s)/i, TC = /\.pdf(?:\?|#|$|\s)/i, xC = /\.(docx?|xlsx?|csv|txt|md)(?:\?|#|$|\s)/i, xZ = /(?:https?:\/\/[^\s"'<>\]]+|\/(?:schema-platform\/)?api\/ai\/documents\/[^/\s"'<>\]]+\/file)/gi;
9514
9520
  function kg(I) {
9515
- const g = I.trim().match(cV);
9521
+ const g = I.trim().match(bV);
9516
9522
  if (g != null && g[1]) return g[1];
9517
9523
  if (/^[0-9a-f]{24}$/i.test(I.trim())) return I.trim();
9518
9524
  }
@@ -9527,7 +9533,7 @@ function og(I) {
9527
9533
  return TC.test(c) || Z.includes("pdf") ? "pdf" : xC.test(c) || /word|sheet|excel|csv|text/.test(Z) ? "office" : "file";
9528
9534
  }
9529
9535
  const d = [g, C].filter(Boolean).join(" ").toLowerCase(), l = Z.toLowerCase();
9530
- return l.startsWith("video/") || TZ.test(d) ? "video" : l.startsWith("image/") || bV.test(d) ? "image" : l.includes("pdf") || TC.test(d) ? "pdf" : xC.test(d) || l.includes("word") || l.includes("sheet") || l.includes("excel") || l.includes("csv") || l.startsWith("text/") ? "office" : kg(g) && !TC.test(g) && !xC.test(g) && !TZ.test(g) ? "image" : "file";
9536
+ return l.startsWith("video/") || TZ.test(d) ? "video" : l.startsWith("image/") || mV.test(d) ? "image" : l.includes("pdf") || TC.test(d) ? "pdf" : xC.test(d) || l.includes("word") || l.includes("sheet") || l.includes("excel") || l.includes("csv") || l.startsWith("text/") ? "office" : kg(g) && !TC.test(g) && !xC.test(g) && !TZ.test(g) ? "image" : "file";
9531
9537
  }
9532
9538
  function _I(I, g, C) {
9533
9539
  var A;
@@ -9549,7 +9555,7 @@ function jZ(I) {
9549
9555
  }
9550
9556
  return null;
9551
9557
  }
9552
- function MN(I, g = "art") {
9558
+ function KN(I, g = "art") {
9553
9559
  if (I == null) return [];
9554
9560
  const C = [], Z = /* @__PURE__ */ new Set();
9555
9561
  let A = 0;
@@ -9644,7 +9650,7 @@ function MN(I, g = "art") {
9644
9650
  }
9645
9651
  return C;
9646
9652
  }
9647
- function KN(I) {
9653
+ function SN(I) {
9648
9654
  return I.map((g, C) => {
9649
9655
  const Z = og({
9650
9656
  url: g.url,
@@ -9663,96 +9669,96 @@ function KN(I) {
9663
9669
  };
9664
9670
  });
9665
9671
  }
9666
- const SN = "1.10.1", DN = "2.14.2", FN = "2026-08-27";
9672
+ const DN = "1.10.1", FN = "2.14.2", pN = "2026-08-27";
9667
9673
  export {
9668
- BV as APP_ICON_NAMES,
9669
- eV as AVATAR_SIZE,
9674
+ YV as APP_ICON_NAMES,
9675
+ LV as AVATAR_SIZE,
9670
9676
  IA as AppDialog,
9671
9677
  RI as AppIcon,
9672
- sV as AppPagination,
9673
- yV as AppUserPanel,
9674
- WN as ApprovalCard,
9678
+ wV as AppPagination,
9679
+ uV as AppUserPanel,
9680
+ BN as ApprovalCard,
9675
9681
  GA as ArtifactGallery,
9676
- wN as AssistantPicker,
9682
+ VN as AssistantPicker,
9677
9683
  y2 as AttachmentPreviewModal,
9678
- zV as BORDER_RADIUS,
9679
- rV as BreadcrumbNav,
9684
+ kV as BORDER_RADIUS,
9685
+ fV as BreadcrumbNav,
9680
9686
  JI as CHART_COLORS,
9681
9687
  QI as COLORS,
9682
- DV as CONTROL_HEIGHT,
9683
- RV as CardGridSkeleton,
9684
- qV as CardTable,
9685
- iN as Composer,
9686
- wV as ConfirmDialog,
9688
+ FV as CONTROL_HEIGHT,
9689
+ HV as CardGridSkeleton,
9690
+ _V as CardTable,
9691
+ WN as Composer,
9692
+ VV as ConfirmDialog,
9687
9693
  H0 as ContentPanel,
9688
- sN as ConversationHeader,
9694
+ wN as ConversationHeader,
9689
9695
  Gl as DEFAULT_PAGE_SIZE,
9690
- LV as DURATION,
9691
- dN as DocumentPreviewDrawer,
9696
+ tV as DURATION,
9697
+ GN as DocumentPreviewDrawer,
9692
9698
  bB as DocumentPreviewPanel,
9693
9699
  d2 as DocumentSummaryList,
9694
- DN as EP_FORK_BASE,
9695
- FN as EP_FORK_DATE,
9700
+ FN as EP_FORK_BASE,
9701
+ pN as EP_FORK_DATE,
9696
9702
  cg as EmptyState,
9697
- oV as ErrorBoundary,
9703
+ hV as ErrorBoundary,
9698
9704
  $W as ExcelPreviewCard,
9699
- bN as ExecutionArtifactPanel,
9700
- KV as FONT_SIZE,
9701
- kV as FORM,
9702
- IN as FieldRow,
9705
+ mN as ExecutionArtifactPanel,
9706
+ SV as FONT_SIZE,
9707
+ eV as FORM,
9708
+ gN as FieldRow,
9703
9709
  nB as FileChip,
9704
- fV as FilterBar,
9705
- NV as FilterTabs,
9706
- VV as FormDialog,
9707
- gN as HintText,
9708
- cN as HitlArtifactPanel,
9710
+ qV as FilterBar,
9711
+ XV as FilterTabs,
9712
+ NV as FormDialog,
9713
+ CN as HintText,
9714
+ bN as HitlArtifactPanel,
9709
9715
  ZA as ICON_MAP,
9710
- pV as ICON_SIZE,
9716
+ JV as ICON_SIZE,
9711
9717
  BB as ImagePreviewCard,
9712
9718
  VW as JsonCard,
9713
9719
  oW as JsonDetailDialog,
9714
- FV as LAYOUT_HEIGHT,
9715
- AN as LoadingDots,
9716
- vV as LogStream,
9720
+ pV as LAYOUT_HEIGHT,
9721
+ ZN as LoadingDots,
9722
+ OV as LogStream,
9717
9723
  qs as MessageAttachmentList,
9718
9724
  f2 as MessageBubble,
9719
- mN as MessageList,
9725
+ iN as MessageList,
9720
9726
  js as MessageParts,
9721
- TV as MetricChart,
9722
- VN as ModelPicker,
9723
- GN as NodeArtifactStrip,
9724
- JV as PAGE,
9727
+ xV as MetricChart,
9728
+ NN as ModelPicker,
9729
+ cN as NodeArtifactStrip,
9730
+ zV as PAGE,
9725
9731
  ub as PAGE_SIZE_OPTIONS,
9726
9732
  nb as PAGINATION_LAYOUT,
9727
- PV as PageHeader,
9728
- EV as PageShell,
9733
+ rV as PageHeader,
9734
+ PV as PageShell,
9729
9735
  cl as PdfPreviewCard,
9730
- YN as ProcessingDrawer,
9736
+ sN as ProcessingDrawer,
9731
9737
  hw as RunStatusBar,
9732
- SN as SCHEMA_UI_VERSION,
9738
+ DN as SCHEMA_UI_VERSION,
9733
9739
  y0 as SHADOWS,
9734
- SV as SPACING,
9735
- ZN as SchemaLitePreview,
9736
- $V as SearchForm,
9737
- CN as SectionToggle,
9738
- QV as ServiceGrid,
9739
- BN as SessionSidebar,
9740
- jV as SeverityBadge,
9741
- aV as Skeleton,
9742
- uV as SliderCaptcha,
9743
- xV as StatCard,
9744
- hV as StatusTag,
9745
- UV as StatusTimeline,
9746
- MV as TEXT_COLORS,
9747
- _V as TableRowActions,
9740
+ DV as SPACING,
9741
+ lN as SchemaLitePreview,
9742
+ IN as SearchForm,
9743
+ AN as SectionToggle,
9744
+ UV as ServiceGrid,
9745
+ YN as SessionSidebar,
9746
+ QV as SeverityBadge,
9747
+ RV as Skeleton,
9748
+ nV as SliderCaptcha,
9749
+ jV as StatCard,
9750
+ aV as StatusTag,
9751
+ vV as StatusTimeline,
9752
+ KV as TEXT_COLORS,
9753
+ $V as TableRowActions,
9748
9754
  RB as TextPreviewCard,
9749
- OV as ThresholdSlider,
9750
- nV as TimeRangePicker,
9751
- XV as Toast,
9755
+ EV as ThresholdSlider,
9756
+ MV as TimeRangePicker,
9757
+ oV as Toast,
9752
9758
  _i as TruncatedTooltipText,
9753
- HV as UserAvatar,
9759
+ yV as UserAvatar,
9754
9760
  wB as VideoPreviewCard,
9755
- tV as Z_INDEX,
9761
+ TV as Z_INDEX,
9756
9762
  og as detectArtifactKind,
9757
9763
  kg as extractDocumentId,
9758
9764
  lA as fileKind,
@@ -9760,22 +9766,22 @@ export {
9760
9766
  Rg as isImage,
9761
9767
  WZ as isOffice,
9762
9768
  Lg as isPdf,
9763
- lN as isPreviewable,
9764
- YV as isRegisteredAppIcon,
9765
- KN as normalizeAttachments,
9766
- MN as normalizeNodeOutput,
9767
- NN as provideToast,
9769
+ dN as isPreviewable,
9770
+ sV as isRegisteredAppIcon,
9771
+ SN as normalizeAttachments,
9772
+ KN as normalizeNodeOutput,
9773
+ XN as provideToast,
9768
9774
  us as renderMarkdown,
9769
- nN as resolveApiErrorMessage,
9775
+ MN as resolveApiErrorMessage,
9770
9776
  ys as splitTextAndCodeBlocks,
9771
9777
  jZ as tryParseJsonText,
9772
- yN as useChatScroll,
9773
- RN as useClientPagination,
9778
+ uN as useChatScroll,
9779
+ HN as useClientPagination,
9774
9780
  VB as useClipboard,
9775
- oN as useConfirm,
9776
- HN as useDataLoading,
9777
- aN as useDebounceFn,
9778
- hN as useMessage,
9779
- uN as useRealtime,
9780
- XN as useToast
9781
+ hN as useConfirm,
9782
+ yN as useDataLoading,
9783
+ RN as useDebounceFn,
9784
+ aN as useMessage,
9785
+ nN as useRealtime,
9786
+ oN as useToast
9781
9787
  };