@blueking/chat-x 0.0.45-beta.3 → 0.0.45-beta.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/index.js CHANGED
@@ -2314,7 +2314,10 @@ var Ur = () => _(Br), Wr = (() => {
2314
2314
  exit: s,
2315
2315
  toggle: () => n.value ? s() : o()
2316
2316
  };
2317
- }, Kr = Symbol("GLOBAL_CONFIG_TOKEN"), qr = (e) => (A(Kr, e), { supportUpload: e.supportUpload }), Jr = () => _(Kr, void 0), Yr = (e) => {
2317
+ }, Kr = Symbol("GLOBAL_CONFIG_TOKEN"), qr = (e) => (A(Kr, e), {
2318
+ size: e.size,
2319
+ supportUpload: e.supportUpload
2320
+ }), Jr = () => _(Kr, void 0), Yr = (e) => {
2318
2321
  let t = F(0);
2319
2322
  E(() => {
2320
2323
  window.addEventListener("keydown", i, !0);
@@ -8035,44 +8038,48 @@ var Fd = ["src"], Id = {
8035
8038
  var e;
8036
8039
  (e = n.onResume) == null || e.call(n, v(), n.interrupt);
8037
8040
  };
8038
- return (t, n) => (k(), c("section", { class: S(["ai-user-question-card", { "ai-user-question-card--collapsed": i.value }]) }, [l("header", {
8039
- class: "ai-user-question-card__header",
8040
- onClick: C
8041
- }, [l("div", Jf, [f(z(Dn), { class: "ai-user-question-card__help-icon" }), U((k(), c("span", Yf, [d(I(y.value), 1)])), [[z(_i), Y({}, z(r))]])]), l("div", Xf, [l("span", Zf, I(z(u)) + " / " + I(z(p)), 1), f(z(mn), {
8042
- class: "ai-user-question-card__arrow",
8043
- style: w({ transform: i.value ? "rotate(180deg)" : "rotate(-90deg)" }),
8044
- onClick: le(x, ["stop"])
8045
- }, null, 8, ["style"])])]), i.value ? s("", !0) : (k(), c(e, { key: 0 }, [l("div", Qf, [(k(!0), c(e, null, M(z(o), (e, n) => (k(), c("div", {
8046
- key: n,
8047
- class: "ai-user-question-card__question"
8048
- }, [l("div", $f, [l("span", ep, I(n + 1) + ". " + I(e.question), 1), e.multiSelect === void 0 ? s("", !0) : (k(), c("span", tp, I(e.multiSelect ? z(W)("多选") : z(W)("单选")), 1))]), l("div", np, [N(t.$slots, "question", b({ ref_for: !0 }, {
8049
- question: e,
8050
- qIndex: n,
8051
- answer: z(h)(n),
8052
- setAnswer: (e) => z(g)(n, e),
8053
- confirm: T
8054
- }), () => [f(qf, {
8055
- question: e,
8056
- onAnswer: (e) => z(g)(n, e),
8057
- onConfirm: T
8058
- }, null, 8, ["question", "onAnswer"])])])]))), 128))]), l("footer", rp, [f(z(ue), {
8059
- class: "ai-user-question-card__complete",
8060
- disabled: !z(m),
8061
- size: "small",
8062
- theme: "primary",
8063
- onClick: T
8064
- }, {
8065
- default: H(() => [f(z(kn), { class: "ai-user-question-card__enter-icon" }), d(" " + I(z(W)("完成")), 1)]),
8066
- _: 1
8067
- }, 8, ["disabled"]), f(z(ue), {
8068
- class: "ai-user-question-card__skip",
8069
- size: "small",
8070
- text: "",
8071
- onClick: E
8072
- }, {
8073
- default: H(() => [f(z(An), { class: "ai-user-question-card__skip-icon" }), d(" " + I(z(W)("跳过")), 1)]),
8074
- _: 1
8075
- })])], 64))], 2));
8041
+ return (t, n) => (k(), c("section", { class: S(["ai-user-question-card", { "ai-user-question-card--collapsed": i.value }]) }, [
8042
+ l("header", {
8043
+ class: "ai-user-question-card__header",
8044
+ onClick: C
8045
+ }, [l("div", Jf, [f(z(Dn), { class: "ai-user-question-card__help-icon" }), U((k(), c("span", Yf, [d(I(y.value), 1)])), [[z(_i), Y({}, z(r))]])]), l("div", Xf, [l("span", Zf, I(z(u)) + " / " + I(z(p)), 1), f(z(mn), {
8046
+ class: "ai-user-question-card__arrow",
8047
+ style: w({ transform: i.value ? "rotate(180deg)" : "rotate(-90deg)" }),
8048
+ onClick: le(x, ["stop"])
8049
+ }, null, 8, ["style"])])]),
8050
+ U(l("div", Qf, [(k(!0), c(e, null, M(z(o), (e, n) => (k(), c("div", {
8051
+ key: n,
8052
+ class: "ai-user-question-card__question"
8053
+ }, [l("div", $f, [l("span", ep, I(n + 1) + ". " + I(e.question), 1), e.multiSelect === void 0 ? s("", !0) : (k(), c("span", tp, I(e.multiSelect ? z(W)("多选") : z(W)("单选")), 1))]), l("div", np, [N(t.$slots, "question", b({ ref_for: !0 }, {
8054
+ question: e,
8055
+ qIndex: n,
8056
+ answer: z(h)(n),
8057
+ setAnswer: (e) => z(g)(n, e),
8058
+ confirm: T
8059
+ }), () => [f(qf, {
8060
+ question: e,
8061
+ onAnswer: (e) => z(g)(n, e),
8062
+ onConfirm: T
8063
+ }, null, 8, ["question", "onAnswer"])])])]))), 128))], 512), [[ae, !i.value]]),
8064
+ U(l("footer", rp, [f(z(ue), {
8065
+ class: "ai-user-question-card__complete",
8066
+ disabled: !z(m),
8067
+ size: "small",
8068
+ theme: "primary",
8069
+ onClick: T
8070
+ }, {
8071
+ default: H(() => [f(z(kn), { class: "ai-user-question-card__enter-icon" }), d(" " + I(z(W)("完成")), 1)]),
8072
+ _: 1
8073
+ }, 8, ["disabled"]), f(z(ue), {
8074
+ class: "ai-user-question-card__skip",
8075
+ size: "small",
8076
+ text: "",
8077
+ onClick: E
8078
+ }, {
8079
+ default: H(() => [f(z(An), { class: "ai-user-question-card__skip-icon" }), d(" " + I(z(W)("跳过")), 1)]),
8080
+ _: 1
8081
+ })], 512), [[ae, !i.value]])
8082
+ ], 2));
8076
8083
  }
8077
8084
  }), ap = { class: "ai-delete-confirm" }, op = { class: "ai-delete-confirm__title" }, sp = { class: "ai-delete-confirm__desc" }, cp = { class: "ai-delete-confirm__actions" }, lp = /* @__PURE__ */ m({
8078
8085
  __name: "delete-tool",
@@ -9985,16 +9992,16 @@ var Fd = ["src"], Id = {
9985
9992
  _: 1
9986
9993
  }, 8, ["disabled", "loading"])])]));
9987
9994
  }
9988
- }), dg = {
9995
+ }), dg = ["data-ai-size"], fg = {
9989
9996
  key: 0,
9990
9997
  class: "ai-chat-container-loading"
9991
- }, fg = { class: "screen-wrapper" }, pg = {
9998
+ }, pg = { class: "screen-wrapper" }, mg = {
9992
9999
  key: 1,
9993
10000
  class: "ai-welcome-content"
9994
- }, mg = { class: "ai-welcome-title" }, hg = {
10001
+ }, hg = { class: "ai-welcome-title" }, gg = {
9995
10002
  key: 0,
9996
10003
  class: "ai-welcome-remark"
9997
- }, gg = /* @__PURE__ */ m({
10004
+ }, _g = /* @__PURE__ */ m({
9998
10005
  __name: "chat-container",
9999
10006
  props: /* @__PURE__ */ y({
10000
10007
  chatLoading: { type: Boolean },
@@ -10005,6 +10012,7 @@ var Fd = ["src"], Id = {
10005
10012
  openingRemark: {},
10006
10013
  placement: { default: "left" },
10007
10014
  resizeProps: {},
10015
+ size: { default: "small" },
10008
10016
  welcomeTitle: {},
10009
10017
  defaultUploadFiles: {},
10010
10018
  inputMaxHeight: {},
@@ -10070,10 +10078,21 @@ var Fd = ["src"], Id = {
10070
10078
  var e, t, n, r, i;
10071
10079
  return (e = (t = u.getSideRenderComponent) == null ? void 0 : t.call(u, g, (n = (r = L.value.data) == null ? void 0 : r.props) == null ? {} : n)) == null ? (i = L.value.data) == null ? void 0 : i.component : e;
10072
10080
  });
10073
- qr({ supportUpload: a(() => {
10081
+ qr({
10082
+ size: a(() => {
10083
+ var e;
10084
+ return (e = u.size) == null ? "small" : e;
10085
+ }),
10086
+ supportUpload: a(() => {
10087
+ var e;
10088
+ return (e = u.supportUpload) == null ? !1 : e;
10089
+ })
10090
+ }), V(() => {
10074
10091
  var e;
10075
- return (e = u.supportUpload) == null ? !1 : e;
10076
- }) });
10092
+ return (e = u.size) == null ? "small" : e;
10093
+ }, (e) => {
10094
+ typeof document < "u" && (document.body.dataset.aiSize = e);
10095
+ }, { immediate: !0 });
10077
10096
  let D = re(t, "selectedShortcut"), A = re(t, "cite"), j = r;
10078
10097
  fi({ tippyOptions: a(() => {
10079
10098
  var e;
@@ -10173,7 +10192,7 @@ var Fd = ["src"], Id = {
10173
10192
  le.value = e;
10174
10193
  };
10175
10194
  return O(() => {
10176
- oe();
10195
+ oe(), typeof document < "u" && delete document.body.dataset.aiSize;
10177
10196
  }), n({
10178
10197
  selectedTab: L,
10179
10198
  addCustomTab: ne,
@@ -10189,11 +10208,12 @@ var Fd = ["src"], Id = {
10189
10208
  var a, u;
10190
10209
  return k(), c("div", {
10191
10210
  class: "ai-chat-container",
10211
+ "data-ai-size": t.size,
10192
10212
  style: w({
10193
10213
  "--resize-main-width": de.value,
10194
10214
  borderTopColor: z(R) ? "transparent" : "#eaebf0"
10195
10215
  })
10196
- }, [t.chatLoading ? (k(), c("div", dg, [f(ag)])) : (k(), o(z(ve), b({
10216
+ }, [t.chatLoading ? (k(), c("div", fg, [f(ag)])) : (k(), o(z(ve), b({
10197
10217
  key: 1,
10198
10218
  class: ["ai-chat-container-resize-layout", { "ai-is-collapse": z(R) || !((a = se.value) != null && a.length) && ((u = z(pe)) == null ? void 0 : u.length) < 1 || p.value === z(Pt).Share }]
10199
10219
  }, T.value, { onResizing: Ie }), {
@@ -10214,7 +10234,7 @@ var Fd = ["src"], Id = {
10214
10234
  }, {
10215
10235
  setting: H(() => {
10216
10236
  var e;
10217
- return [l("div", fg, [f(yi, {
10237
+ return [l("div", pg, [f(yi, {
10218
10238
  class: "screen-btn",
10219
10239
  "tippy-options": Y(Y({}, t.commonTippyOptions), {}, {
10220
10240
  appendTo: z(_) ? m.value : (e = t.commonTippyOptions) == null ? void 0 : e.appendTo,
@@ -10353,15 +10373,15 @@ var Fd = ["src"], Id = {
10353
10373
  "on-user-shortcut-confirm",
10354
10374
  "render-mode"
10355
10375
  ])) : s("", !0)];
10356
- }) : (k(), c("div", pg, [N(n.$slots, "welcome", C(h({
10376
+ }) : (k(), c("div", mg, [N(n.$slots, "welcome", C(h({
10357
10377
  openingRemark: t.openingRemark,
10358
10378
  welcomeTitle: t.welcomeTitle
10359
10379
  })), () => {
10360
10380
  var e;
10361
10381
  return [
10362
10382
  f(z(Gt)),
10363
- l("h2", mg, I((e = t.welcomeTitle) == null ? z(W)("你好,我是小鲸") : e), 1),
10364
- t.openingRemark ? (k(), c("div", hg, [f(Nl, { content: t.openingRemark }, null, 8, ["content"])])) : s("", !0)
10383
+ l("h2", hg, I((e = t.welcomeTitle) == null ? z(W)("你好,我是小鲸") : e), 1),
10384
+ t.openingRemark ? (k(), c("div", gg, [f(Nl, { content: t.openingRemark }, null, 8, ["content"])])) : s("", !0)
10365
10385
  ];
10366
10386
  })])), p.value === z(Pt).Share ? s("", !0) : (k(), c(e, { key: 2 }, [z(me) ? (k(), o(ug, {
10367
10387
  key: 0,
@@ -10437,10 +10457,10 @@ var Fd = ["src"], Id = {
10437
10457
  ]))], 64))];
10438
10458
  }),
10439
10459
  _: 3
10440
- }, 16, ["class"]))], 4);
10460
+ }, 16, ["class"]))], 12, dg);
10441
10461
  };
10442
10462
  }
10443
- }), _g = { class: "ai-image-preview-group" }, vg = /* @__PURE__ */ m(Y(Y({}, { name: "ImagePreviewGroup" }), {}, {
10463
+ }), vg = { class: "ai-image-preview-group" }, yg = /* @__PURE__ */ m(Y(Y({}, { name: "ImagePreviewGroup" }), {}, {
10444
10464
  __name: "image-preview-group",
10445
10465
  props: {
10446
10466
  maskClosable: {
@@ -10469,7 +10489,7 @@ var Fd = ["src"], Id = {
10469
10489
  let a = [...t.keys()], o = a.map((e) => t.get(e)()), s = a.indexOf(e);
10470
10490
  r.value = o, i.value = s >= 0 ? s : 0, n.value = !0;
10471
10491
  }
10472
- }), (t, a) => (k(), c("div", _g, [N(t.$slots, "default"), n.value ? (k(), o(Bd, {
10492
+ }), (t, a) => (k(), c("div", vg, [N(t.$slots, "default"), n.value ? (k(), o(Bd, {
10473
10493
  key: 0,
10474
10494
  current: i.value,
10475
10495
  "onUpdate:current": a[0] || (a[0] = (e) => i.value = e),
@@ -10492,10 +10512,10 @@ var Fd = ["src"], Id = {
10492
10512
  "show-info"
10493
10513
  ])) : s("", !0)]));
10494
10514
  }
10495
- })), yg = ["alt", "src"], bg = {
10515
+ })), bg = ["alt", "src"], xg = {
10496
10516
  key: 1,
10497
10517
  class: "ai-image-error"
10498
- }, xg = /* @__PURE__ */ m(Y(Y({}, { name: "AiImage" }), {}, {
10518
+ }, Sg = /* @__PURE__ */ m(Y(Y({}, { name: "AiImage" }), {}, {
10499
10519
  __name: "image",
10500
10520
  props: {
10501
10521
  alt: { default: "" },
@@ -10587,8 +10607,8 @@ var Fd = ["src"], Id = {
10587
10607
  style: j,
10588
10608
  onError: M,
10589
10609
  onLoad: ee
10590
- }, null, 40, yg)) : s("", !0),
10591
- h.value === "error" ? (k(), c("div", bg, [f(z(Qt), { class: "ai-image-error-icon" })])) : s("", !0),
10610
+ }, null, 40, bg)) : s("", !0),
10611
+ h.value === "error" ? (k(), c("div", xg, [f(z(Qt), { class: "ai-image-error-icon" })])) : s("", !0),
10592
10612
  h.value === "error" ? (k(), c("div", {
10593
10613
  key: 2,
10594
10614
  class: "ai-image-error-overlay",
@@ -10616,4 +10636,4 @@ var Fd = ["src"], Id = {
10616
10636
  }
10617
10637
  }));
10618
10638
  //#endregion
10619
- export { Gt as AIBluekingBannerIcon, Wt as AIBluekingIcon, G as APPROVAL_STATUS, vt as APPROVAL_STATUS_MAP, Qn as ActiveLikeIcon, $n as ActiveUnLikeIcon, Hn as AgentIcon, xg as AiImage, lr as AiLoading, hr as AiSelection, Ln as ArrowDownIcon, mn as ArrowLeftIcon, Xt as ArrowRightIcon, hn as ArrowRightPreviewIcon, en as BkFlowFailedIcon, nn as BkFlowPendingIcon, rn as BkFlowSkippedIcon, $t as BkFlowSuccessIcon, tn as BkFlowSuspendedIcon, Ct as CHAT_Z_INDEX, Ot as CONST_MESSAGE_TOOLS, At as CONST_UPDATE_TOOLS, kt as CONST_USER_MESSAGE_TOOLS, Ir as CONTAINER_SCROLL_TOKEN, Br as CUSTOM_TAB_TOKEN, gg as ChatContainer, wf as ChatInput, Cn as CheckCircleFillIcon, Gn as CiteIcon, Tn as CloseCircleFillIcon, yn as CloseCircleIcon, Bn as CloseIcon, Zc as CodeContent, Pn as CollapsedIcon, In as ContentLoadingIcon, Nl as ContentRender, Wn as CopyIcon, tr as DEFAULT_SHORTCUTS, nu as Delete, xn as DeleteCircleIcon, Xn as DeleteIcon, bn as DocLinkIcon, Kt as DocumentIcon, fn as DownloadIcon, Tt as EDITOR_MENU_Z_INDEX, wt as EDITOR_Z_INDEX, Vr as EXECUTION_TAB_NAME, Zn as EditIcon, kn as EnterIcon, Fn as ErrorIcon, an as ExecutionIcon, $h as ExecutionSummary, Sn as FileUploadIcon, dn as FitScreenIcon, Rn as FullScreenIcon, Kr as GLOBAL_CONFIG_TOKEN, Nt as HIGHLIGHT_KEYWORD_CLASS_NAME, Dn as HelpDocIcon, xp as HighlightKeyword, ld as IMAGE_PREVIEW_GROUP_KEY, _n as ImageBrokenIcon, il as ImageContent, Qt as ImageErrorIcon, Bd as ImagePreview, vg as ImagePreviewGroup, vn as ImageSizeIcon, On as InfoIcon, ru as InsertText, bh as InterruptMessageRender, gt as InterruptReason, yt as InterruptResumeOperation, Ft as LOADING_MESSAGE_ID, ol as LatexContent, Jn as LikeIcon, Zt as LinkIcon, Mn as LoadingMessageIcon, jt as MAX_UPLOAD_FILES, Mt as MAX_UPLOAD_FILE_SIZE, Al as MarkdownContent, It as MarkdownLanguageMap, cl as MermaidContent, Hh as MessageContainer, _t as MessageContentType, ag as MessageLoading, zh as MessageRender, K as MessageRole, ud as MessageState, q as MessageStatus, bp as MessageTools, fd as MessageToolsStatus, hp as MessageUserFeedback, Un as MoreAgentIcon, Vn as MoreIcon, on as NodeOutputIcon, sn as NodeTabIcon, Of as OTHERS_OPTION_LABEL, _i as OverflowTips, pn as PreviewCloseIcon, qt as PreviewIcon, Kn as RebuildIcon, gn as ReloadIcon, Yt as RemoveIcon, Pt as RenderMode, iu as ReplaceAll, En as RevokedIcon, un as RotateIcon, Dt as SELECTION_Z_INDEX, Et as SHORTCUT_MENU_Z_INDEX, Lr as SHOW_SCROLL_BOTTOM_BTN_DISTANCE, nr as ScrollBtn, ug as SelectionFooter, jn as SendMessageIcon, qn as ShareIcon, fr as ShortcutBtn, yr as ShortcutBtns, Ar as ShortcutRender, An as SkipIcon, Jt as TargetIcon, Nn as ThinkingIcon, wn as TimeIcon, eh as ToolCallRender, er as ToolIconsMap, zn as UnFullScreenIcon, Yn as UnLikeIcon, dd as UploadStatus, xt as UserMultiChoiceQuestionSchema, Vf as UserQuestionAnsweredCard, ip as UserQuestionCard, qf as UserQuestionChoice, Gf as UserQuestionOption, St as UserQuestionSchema, bt as UserSingleChoiceQuestionSchema, Dl as VNodeRenderer, cn as ZoomInIcon, ln as ZoomOutIcon, jf as buildUserQuestionFreeTextResume, dl as commonErrorContent, J as commonSVGProps, Qe as completeMarkdownSyntax, nd as createEditor, Ll as docToString, dt as formatDuration, pt as formatElapsedTime, Ve as formatFileSize, He as formatUploadNotAddedMessage, ft as generateUUID, ut as getCookieByName, Be as getFileExtension, ze as getFilePreviewUrl, ii as getScrollParent, Jr as injectGlobalConfig, mt as isEn, Re as isImageFile, ht as lang, Dc as markdownAnimationAttrs, Pc as markdownItBkInlineStyle, zc as markdownItLatex, Vc as markdownItMermaid, ou as microtask, au as min, Ue as needsMarkdownCompletion, cd as noop, rd as plainSchema, We as removeCompletionSuffix, sd as resourceTypeMap, od as schema, Rl as stringToDoc, W as t, kf as toLetter, jr as useAnimationText, Pr as useClipboard, Fr as useCommandSelection, zr as useContainerScrollConsumer, Rr as useContainerScrollProvider, Ur as useCustomTabConsumer, Hr as useCustomTabProvider, Gr as useFullScreen, qr as useGlobalConfig, Yr as useMenuKeydown, ri as useMessageGroup, gr as useObserverVisibleList, ai as useParentScrolling, Af as useUserQuestion, ad as voidNode };
10639
+ export { Gt as AIBluekingBannerIcon, Wt as AIBluekingIcon, G as APPROVAL_STATUS, vt as APPROVAL_STATUS_MAP, Qn as ActiveLikeIcon, $n as ActiveUnLikeIcon, Hn as AgentIcon, Sg as AiImage, lr as AiLoading, hr as AiSelection, Ln as ArrowDownIcon, mn as ArrowLeftIcon, Xt as ArrowRightIcon, hn as ArrowRightPreviewIcon, en as BkFlowFailedIcon, nn as BkFlowPendingIcon, rn as BkFlowSkippedIcon, $t as BkFlowSuccessIcon, tn as BkFlowSuspendedIcon, Ct as CHAT_Z_INDEX, Ot as CONST_MESSAGE_TOOLS, At as CONST_UPDATE_TOOLS, kt as CONST_USER_MESSAGE_TOOLS, Ir as CONTAINER_SCROLL_TOKEN, Br as CUSTOM_TAB_TOKEN, _g as ChatContainer, wf as ChatInput, Cn as CheckCircleFillIcon, Gn as CiteIcon, Tn as CloseCircleFillIcon, yn as CloseCircleIcon, Bn as CloseIcon, Zc as CodeContent, Pn as CollapsedIcon, In as ContentLoadingIcon, Nl as ContentRender, Wn as CopyIcon, tr as DEFAULT_SHORTCUTS, nu as Delete, xn as DeleteCircleIcon, Xn as DeleteIcon, bn as DocLinkIcon, Kt as DocumentIcon, fn as DownloadIcon, Tt as EDITOR_MENU_Z_INDEX, wt as EDITOR_Z_INDEX, Vr as EXECUTION_TAB_NAME, Zn as EditIcon, kn as EnterIcon, Fn as ErrorIcon, an as ExecutionIcon, $h as ExecutionSummary, Sn as FileUploadIcon, dn as FitScreenIcon, Rn as FullScreenIcon, Kr as GLOBAL_CONFIG_TOKEN, Nt as HIGHLIGHT_KEYWORD_CLASS_NAME, Dn as HelpDocIcon, xp as HighlightKeyword, ld as IMAGE_PREVIEW_GROUP_KEY, _n as ImageBrokenIcon, il as ImageContent, Qt as ImageErrorIcon, Bd as ImagePreview, yg as ImagePreviewGroup, vn as ImageSizeIcon, On as InfoIcon, ru as InsertText, bh as InterruptMessageRender, gt as InterruptReason, yt as InterruptResumeOperation, Ft as LOADING_MESSAGE_ID, ol as LatexContent, Jn as LikeIcon, Zt as LinkIcon, Mn as LoadingMessageIcon, jt as MAX_UPLOAD_FILES, Mt as MAX_UPLOAD_FILE_SIZE, Al as MarkdownContent, It as MarkdownLanguageMap, cl as MermaidContent, Hh as MessageContainer, _t as MessageContentType, ag as MessageLoading, zh as MessageRender, K as MessageRole, ud as MessageState, q as MessageStatus, bp as MessageTools, fd as MessageToolsStatus, hp as MessageUserFeedback, Un as MoreAgentIcon, Vn as MoreIcon, on as NodeOutputIcon, sn as NodeTabIcon, Of as OTHERS_OPTION_LABEL, _i as OverflowTips, pn as PreviewCloseIcon, qt as PreviewIcon, Kn as RebuildIcon, gn as ReloadIcon, Yt as RemoveIcon, Pt as RenderMode, iu as ReplaceAll, En as RevokedIcon, un as RotateIcon, Dt as SELECTION_Z_INDEX, Et as SHORTCUT_MENU_Z_INDEX, Lr as SHOW_SCROLL_BOTTOM_BTN_DISTANCE, nr as ScrollBtn, ug as SelectionFooter, jn as SendMessageIcon, qn as ShareIcon, fr as ShortcutBtn, yr as ShortcutBtns, Ar as ShortcutRender, An as SkipIcon, Jt as TargetIcon, Nn as ThinkingIcon, wn as TimeIcon, eh as ToolCallRender, er as ToolIconsMap, zn as UnFullScreenIcon, Yn as UnLikeIcon, dd as UploadStatus, xt as UserMultiChoiceQuestionSchema, Vf as UserQuestionAnsweredCard, ip as UserQuestionCard, qf as UserQuestionChoice, Gf as UserQuestionOption, St as UserQuestionSchema, bt as UserSingleChoiceQuestionSchema, Dl as VNodeRenderer, cn as ZoomInIcon, ln as ZoomOutIcon, jf as buildUserQuestionFreeTextResume, dl as commonErrorContent, J as commonSVGProps, Qe as completeMarkdownSyntax, nd as createEditor, Ll as docToString, dt as formatDuration, pt as formatElapsedTime, Ve as formatFileSize, He as formatUploadNotAddedMessage, ft as generateUUID, ut as getCookieByName, Be as getFileExtension, ze as getFilePreviewUrl, ii as getScrollParent, Jr as injectGlobalConfig, mt as isEn, Re as isImageFile, ht as lang, Dc as markdownAnimationAttrs, Pc as markdownItBkInlineStyle, zc as markdownItLatex, Vc as markdownItMermaid, ou as microtask, au as min, Ue as needsMarkdownCompletion, cd as noop, rd as plainSchema, We as removeCompletionSuffix, sd as resourceTypeMap, od as schema, Rl as stringToDoc, W as t, kf as toLetter, jr as useAnimationText, Pr as useClipboard, Fr as useCommandSelection, zr as useContainerScrollConsumer, Rr as useContainerScrollProvider, Ur as useCustomTabConsumer, Hr as useCustomTabProvider, Gr as useFullScreen, qr as useGlobalConfig, Yr as useMenuKeydown, ri as useMessageGroup, gr as useObserverVisibleList, ai as useParentScrolling, Af as useUserQuestion, ad as voidNode };