@blueking/chat-x 0.0.45-beta.3 → 0.0.45-beta.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.
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);
@@ -7872,28 +7875,17 @@ var Fd = ["src"], Id = {
7872
7875
  payload: { answers: l() }
7873
7876
  };
7874
7877
  },
7875
- buildSkipPayload: () => {
7876
- var t, n;
7877
- return {
7878
- interruptId: (t = (n = e()) == null ? void 0 : n.id) == null ? "" : t,
7879
- reason: gt.UserQuestion,
7880
- status: "cancelled",
7881
- payload: { answers: [] }
7882
- };
7883
- }
7878
+ buildSkipPayload: () => jf(e())
7879
+ };
7880
+ }, jf = (e) => {
7881
+ var t;
7882
+ return {
7883
+ interruptId: (t = e == null ? void 0 : e.id) == null ? "" : t,
7884
+ reason: gt.UserQuestion,
7885
+ status: "cancelled",
7886
+ payload: { answers: [] }
7884
7887
  };
7885
- }, jf = (e, t) => ({
7886
- interruptId: e.id,
7887
- reason: gt.UserQuestion,
7888
- status: "resolved",
7889
- payload: { answers: [{
7890
- question: "",
7891
- answer: [{
7892
- label: Of,
7893
- description: t
7894
- }]
7895
- }] }
7896
- }), Mf = { class: "ai-user-question-answered" }, Nf = { class: "ai-user-question-answered__header" }, Pf = { class: "ai-user-question-answered__title-wrap" }, Ff = { class: "ai-user-question-answered__title" }, If = { class: "ai-user-question-answered__status" }, Lf = { class: "ai-user-question-answered__body" }, Rf = { class: "ai-user-question-answered__question" }, zf = { class: "ai-user-question-answered__question-text" }, Bf = {
7888
+ }, Mf = { class: "ai-user-question-answered" }, Nf = { class: "ai-user-question-answered__header" }, Pf = { class: "ai-user-question-answered__title-wrap" }, Ff = { class: "ai-user-question-answered__title" }, If = { class: "ai-user-question-answered__status" }, Lf = { class: "ai-user-question-answered__body" }, Rf = { class: "ai-user-question-answered__question" }, zf = { class: "ai-user-question-answered__question-text" }, Bf = {
7897
7889
  key: 0,
7898
7890
  class: "ai-user-question-answered__tag"
7899
7891
  }, Vf = /* @__PURE__ */ m({
@@ -8035,44 +8027,48 @@ var Fd = ["src"], Id = {
8035
8027
  var e;
8036
8028
  (e = n.onResume) == null || e.call(n, v(), n.interrupt);
8037
8029
  };
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));
8030
+ return (t, n) => (k(), c("section", { class: S(["ai-user-question-card", { "ai-user-question-card--collapsed": i.value }]) }, [
8031
+ l("header", {
8032
+ class: "ai-user-question-card__header",
8033
+ onClick: C
8034
+ }, [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), {
8035
+ class: "ai-user-question-card__arrow",
8036
+ style: w({ transform: i.value ? "rotate(180deg)" : "rotate(-90deg)" }),
8037
+ onClick: le(x, ["stop"])
8038
+ }, null, 8, ["style"])])]),
8039
+ U(l("div", Qf, [(k(!0), c(e, null, M(z(o), (e, n) => (k(), c("div", {
8040
+ key: n,
8041
+ class: "ai-user-question-card__question"
8042
+ }, [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 }, {
8043
+ question: e,
8044
+ qIndex: n,
8045
+ answer: z(h)(n),
8046
+ setAnswer: (e) => z(g)(n, e),
8047
+ confirm: T
8048
+ }), () => [f(qf, {
8049
+ question: e,
8050
+ onAnswer: (e) => z(g)(n, e),
8051
+ onConfirm: T
8052
+ }, null, 8, ["question", "onAnswer"])])])]))), 128))], 512), [[ae, !i.value]]),
8053
+ U(l("footer", rp, [f(z(ue), {
8054
+ class: "ai-user-question-card__complete",
8055
+ disabled: !z(m),
8056
+ size: "small",
8057
+ theme: "primary",
8058
+ onClick: T
8059
+ }, {
8060
+ default: H(() => [f(z(kn), { class: "ai-user-question-card__enter-icon" }), d(" " + I(z(W)("完成")), 1)]),
8061
+ _: 1
8062
+ }, 8, ["disabled"]), f(z(ue), {
8063
+ class: "ai-user-question-card__skip",
8064
+ size: "small",
8065
+ text: "",
8066
+ onClick: E
8067
+ }, {
8068
+ default: H(() => [f(z(An), { class: "ai-user-question-card__skip-icon" }), d(" " + I(z(W)("跳过")), 1)]),
8069
+ _: 1
8070
+ })], 512), [[ae, !i.value]])
8071
+ ], 2));
8076
8072
  }
8077
8073
  }), 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
8074
  __name: "delete-tool",
@@ -9985,16 +9981,16 @@ var Fd = ["src"], Id = {
9985
9981
  _: 1
9986
9982
  }, 8, ["disabled", "loading"])])]));
9987
9983
  }
9988
- }), dg = {
9984
+ }), dg = ["data-ai-size"], fg = {
9989
9985
  key: 0,
9990
9986
  class: "ai-chat-container-loading"
9991
- }, fg = { class: "screen-wrapper" }, pg = {
9987
+ }, pg = { class: "screen-wrapper" }, mg = {
9992
9988
  key: 1,
9993
9989
  class: "ai-welcome-content"
9994
- }, mg = { class: "ai-welcome-title" }, hg = {
9990
+ }, hg = { class: "ai-welcome-title" }, gg = {
9995
9991
  key: 0,
9996
9992
  class: "ai-welcome-remark"
9997
- }, gg = /* @__PURE__ */ m({
9993
+ }, _g = /* @__PURE__ */ m({
9998
9994
  __name: "chat-container",
9999
9995
  props: /* @__PURE__ */ y({
10000
9996
  chatLoading: { type: Boolean },
@@ -10005,6 +10001,7 @@ var Fd = ["src"], Id = {
10005
10001
  openingRemark: {},
10006
10002
  placement: { default: "left" },
10007
10003
  resizeProps: {},
10004
+ size: { default: "small" },
10008
10005
  welcomeTitle: {},
10009
10006
  defaultUploadFiles: {},
10010
10007
  inputMaxHeight: {},
@@ -10070,10 +10067,21 @@ var Fd = ["src"], Id = {
10070
10067
  var e, t, n, r, i;
10071
10068
  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
10069
  });
10073
- qr({ supportUpload: a(() => {
10070
+ qr({
10071
+ size: a(() => {
10072
+ var e;
10073
+ return (e = u.size) == null ? "small" : e;
10074
+ }),
10075
+ supportUpload: a(() => {
10076
+ var e;
10077
+ return (e = u.supportUpload) == null ? !1 : e;
10078
+ })
10079
+ }), V(() => {
10074
10080
  var e;
10075
- return (e = u.supportUpload) == null ? !1 : e;
10076
- }) });
10081
+ return (e = u.size) == null ? "small" : e;
10082
+ }, (e) => {
10083
+ typeof document < "u" && (document.body.dataset.aiSize = e);
10084
+ }, { immediate: !0 });
10077
10085
  let D = re(t, "selectedShortcut"), A = re(t, "cite"), j = r;
10078
10086
  fi({ tippyOptions: a(() => {
10079
10087
  var e;
@@ -10126,11 +10134,10 @@ var Fd = ["src"], Id = {
10126
10134
  var e = X(function* (e, t) {
10127
10135
  var n;
10128
10136
  let r = Se.value;
10129
- if (u.onInterruptResume && r && typeof e == "string" && e.trim()) {
10130
- yield u.onInterruptResume(jf(r, e.trim()), r), Oe("", []);
10131
- return;
10132
- }
10133
- return (n = u.onSendMessage) == null ? void 0 : n.call(u, e, t);
10137
+ return (n = u.onSendMessage) == null ? void 0 : n.call(u, e, t, r ? {
10138
+ payload: jf(r),
10139
+ interrupt: r
10140
+ } : void 0);
10134
10141
  });
10135
10142
  return function(t, n) {
10136
10143
  return e.apply(this, arguments);
@@ -10173,7 +10180,7 @@ var Fd = ["src"], Id = {
10173
10180
  le.value = e;
10174
10181
  };
10175
10182
  return O(() => {
10176
- oe();
10183
+ oe(), typeof document < "u" && delete document.body.dataset.aiSize;
10177
10184
  }), n({
10178
10185
  selectedTab: L,
10179
10186
  addCustomTab: ne,
@@ -10189,11 +10196,12 @@ var Fd = ["src"], Id = {
10189
10196
  var a, u;
10190
10197
  return k(), c("div", {
10191
10198
  class: "ai-chat-container",
10199
+ "data-ai-size": t.size,
10192
10200
  style: w({
10193
10201
  "--resize-main-width": de.value,
10194
10202
  borderTopColor: z(R) ? "transparent" : "#eaebf0"
10195
10203
  })
10196
- }, [t.chatLoading ? (k(), c("div", dg, [f(ag)])) : (k(), o(z(ve), b({
10204
+ }, [t.chatLoading ? (k(), c("div", fg, [f(ag)])) : (k(), o(z(ve), b({
10197
10205
  key: 1,
10198
10206
  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
10207
  }, T.value, { onResizing: Ie }), {
@@ -10214,7 +10222,7 @@ var Fd = ["src"], Id = {
10214
10222
  }, {
10215
10223
  setting: H(() => {
10216
10224
  var e;
10217
- return [l("div", fg, [f(yi, {
10225
+ return [l("div", pg, [f(yi, {
10218
10226
  class: "screen-btn",
10219
10227
  "tippy-options": Y(Y({}, t.commonTippyOptions), {}, {
10220
10228
  appendTo: z(_) ? m.value : (e = t.commonTippyOptions) == null ? void 0 : e.appendTo,
@@ -10353,15 +10361,15 @@ var Fd = ["src"], Id = {
10353
10361
  "on-user-shortcut-confirm",
10354
10362
  "render-mode"
10355
10363
  ])) : s("", !0)];
10356
- }) : (k(), c("div", pg, [N(n.$slots, "welcome", C(h({
10364
+ }) : (k(), c("div", mg, [N(n.$slots, "welcome", C(h({
10357
10365
  openingRemark: t.openingRemark,
10358
10366
  welcomeTitle: t.welcomeTitle
10359
10367
  })), () => {
10360
10368
  var e;
10361
10369
  return [
10362
10370
  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)
10371
+ l("h2", hg, I((e = t.welcomeTitle) == null ? z(W)("你好,我是小鲸") : e), 1),
10372
+ t.openingRemark ? (k(), c("div", gg, [f(Nl, { content: t.openingRemark }, null, 8, ["content"])])) : s("", !0)
10365
10373
  ];
10366
10374
  })])), p.value === z(Pt).Share ? s("", !0) : (k(), c(e, { key: 2 }, [z(me) ? (k(), o(ug, {
10367
10375
  key: 0,
@@ -10437,10 +10445,10 @@ var Fd = ["src"], Id = {
10437
10445
  ]))], 64))];
10438
10446
  }),
10439
10447
  _: 3
10440
- }, 16, ["class"]))], 4);
10448
+ }, 16, ["class"]))], 12, dg);
10441
10449
  };
10442
10450
  }
10443
- }), _g = { class: "ai-image-preview-group" }, vg = /* @__PURE__ */ m(Y(Y({}, { name: "ImagePreviewGroup" }), {}, {
10451
+ }), vg = { class: "ai-image-preview-group" }, yg = /* @__PURE__ */ m(Y(Y({}, { name: "ImagePreviewGroup" }), {}, {
10444
10452
  __name: "image-preview-group",
10445
10453
  props: {
10446
10454
  maskClosable: {
@@ -10469,7 +10477,7 @@ var Fd = ["src"], Id = {
10469
10477
  let a = [...t.keys()], o = a.map((e) => t.get(e)()), s = a.indexOf(e);
10470
10478
  r.value = o, i.value = s >= 0 ? s : 0, n.value = !0;
10471
10479
  }
10472
- }), (t, a) => (k(), c("div", _g, [N(t.$slots, "default"), n.value ? (k(), o(Bd, {
10480
+ }), (t, a) => (k(), c("div", vg, [N(t.$slots, "default"), n.value ? (k(), o(Bd, {
10473
10481
  key: 0,
10474
10482
  current: i.value,
10475
10483
  "onUpdate:current": a[0] || (a[0] = (e) => i.value = e),
@@ -10492,10 +10500,10 @@ var Fd = ["src"], Id = {
10492
10500
  "show-info"
10493
10501
  ])) : s("", !0)]));
10494
10502
  }
10495
- })), yg = ["alt", "src"], bg = {
10503
+ })), bg = ["alt", "src"], xg = {
10496
10504
  key: 1,
10497
10505
  class: "ai-image-error"
10498
- }, xg = /* @__PURE__ */ m(Y(Y({}, { name: "AiImage" }), {}, {
10506
+ }, Sg = /* @__PURE__ */ m(Y(Y({}, { name: "AiImage" }), {}, {
10499
10507
  __name: "image",
10500
10508
  props: {
10501
10509
  alt: { default: "" },
@@ -10587,8 +10595,8 @@ var Fd = ["src"], Id = {
10587
10595
  style: j,
10588
10596
  onError: M,
10589
10597
  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),
10598
+ }, null, 40, bg)) : s("", !0),
10599
+ h.value === "error" ? (k(), c("div", xg, [f(z(Qt), { class: "ai-image-error-icon" })])) : s("", !0),
10592
10600
  h.value === "error" ? (k(), c("div", {
10593
10601
  key: 2,
10594
10602
  class: "ai-image-error-overlay",
@@ -10616,4 +10624,4 @@ var Fd = ["src"], Id = {
10616
10624
  }
10617
10625
  }));
10618
10626
  //#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 };
10627
+ 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 buildSkipResumePayload, 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 };