@glodon-aiot/agent-cli-ui 3.3.0-beta.13 → 3.3.0-beta.14

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.
Files changed (149) hide show
  1. package/dist/es/AgentClientUI.mjs +17 -17
  2. package/dist/es/{FileItem → Dialog/AgentChat/HistoryItem/FileItem}/index.mjs +34 -40
  3. package/dist/es/Dialog/{SearchReference → AgentChat/HistoryItem/SearchReference}/index.mjs +7 -7
  4. package/dist/es/Dialog/{SessionAction → AgentChat/HistoryItem/SessionAction}/index.mjs +11 -12
  5. package/dist/es/Dialog/{SessionRefer → AgentChat/HistoryItem/SessionRefer}/ReferItem/index.mjs +19 -19
  6. package/dist/es/Dialog/{SessionRefer → AgentChat/HistoryItem/SessionRefer}/index.mjs +3 -3
  7. package/dist/es/Dialog/{SessionRelated → AgentChat/HistoryItem/SessionRelated}/index.mjs +3 -3
  8. package/dist/es/Dialog/{HistoryItem → AgentChat/HistoryItem}/index.mjs +56 -62
  9. package/dist/es/Dialog/{PromptSetting → AgentChat/PromptSetting}/index.mjs +2 -2
  10. package/dist/es/Dialog/{ConnectToNetwork → AgentChat/Tools/ConnectToNetwork}/index.mjs +1 -1
  11. package/dist/es/Dialog/{PromptManager → AgentChat/Tools/PromptManager}/PromptList/PromptListItem.mjs +2 -2
  12. package/dist/es/Dialog/{PromptManager → AgentChat/Tools/PromptManager}/index.mjs +4 -4
  13. package/dist/es/Dialog/{SessionListDrawer → AgentChat/Tools/SessionListDrawer}/HistorySessionList/SessionItem.mjs +24 -30
  14. package/dist/es/Dialog/{SessionListDrawer → AgentChat/Tools/SessionListDrawer}/HistorySessionList/index.mjs +1 -1
  15. package/dist/es/Dialog/{SessionListDrawer → AgentChat/Tools/SessionListDrawer}/index.mjs +1 -1
  16. package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/FileCard/index.mjs +128 -0
  17. package/dist/es/Dialog/{UploadKnowledgeFiles → AgentChat/Tools/UploadKnowledgeFiles}/index.mjs +5 -5
  18. package/dist/es/Dialog/AgentChat/index.mjs +24 -24
  19. package/dist/es/Dialog/SessionList/index.mjs +1 -1
  20. package/dist/es/Dialog/index.mjs +109 -118
  21. package/dist/es/Footer/FooterWarning.mjs +3 -3
  22. package/dist/es/Footer/index.mjs +3 -3
  23. package/dist/es/QuillEditor/index.mjs +11 -11
  24. package/dist/es/components/Copy/index.mjs +1 -1
  25. package/dist/es/{Dialog → components}/FilePreview/index.mjs +16 -16
  26. package/dist/es/{Dialog → components}/KnowledgeList/KnowledgeSelect/index.mjs +1 -1
  27. package/dist/es/{Dialog → components}/KnowledgeList/index.mjs +21 -23
  28. package/dist/es/{Dialog → components}/Recommend/RecommendItem.mjs +31 -37
  29. package/dist/es/{Dialog → components}/Recommend/index.mjs +0 -1
  30. package/dist/es/constant.mjs +16 -8
  31. package/dist/es/index.mjs +26 -33
  32. package/dist/es/src/style10.css +1 -1
  33. package/dist/es/src/style12.css +1 -1
  34. package/dist/es/src/style13.css +1 -1
  35. package/dist/es/src/style14.css +1 -1
  36. package/dist/es/src/style15.css +1 -1
  37. package/dist/es/src/style17.css +1 -1
  38. package/dist/es/src/style18.css +1 -1
  39. package/dist/es/src/style20.css +1 -1
  40. package/dist/es/src/style21.css +1 -1
  41. package/dist/es/src/style22.css +1 -1
  42. package/dist/es/src/style23.css +1 -0
  43. package/dist/es/src/style24.css +1 -1
  44. package/dist/es/src/style25.css +1 -1
  45. package/dist/es/src/style26.css +1 -1
  46. package/dist/es/src/style27.css +1 -1
  47. package/dist/es/src/style28.css +1 -1
  48. package/dist/es/src/style29.css +1 -1
  49. package/dist/es/src/style30.css +1 -1
  50. package/dist/es/src/style31.css +1 -1
  51. package/dist/es/src/style4.css +1 -1
  52. package/dist/es/src/style6.css +1 -1
  53. package/dist/es/src/style7.css +1 -1
  54. package/dist/es/src/style8.css +1 -1
  55. package/dist/es/src/style9.css +1 -1
  56. package/dist/lib/index.css +1 -1
  57. package/dist/lib/index.js +5 -5
  58. package/dist/src/ConnectToNetwork_bac/index.d.ts +13 -0
  59. package/dist/src/Dialog/AgentChat/HistoryItem/FileItem/index.d.ts +11 -0
  60. package/dist/src/Dialog/AgentChat/HistoryItem/InputProgress/index.d.ts +7 -0
  61. package/dist/src/Dialog/AgentChat/HistoryItem/SearchReference/index.d.ts +10 -0
  62. package/dist/src/Dialog/AgentChat/HistoryItem/SessionAction/index.d.ts +13 -0
  63. package/dist/src/Dialog/AgentChat/HistoryItem/SessionRefer/ReferItem/index.d.ts +9 -0
  64. package/dist/src/Dialog/AgentChat/HistoryItem/SessionRefer/index.d.ts +8 -0
  65. package/dist/src/Dialog/AgentChat/HistoryItem/SessionRelated/index.d.ts +9 -0
  66. package/dist/src/Dialog/AgentChat/HistoryItem/index.d.ts +18 -0
  67. package/dist/src/Dialog/AgentChat/PromptSetting/index.d.ts +15 -0
  68. package/dist/src/Dialog/AgentChat/Tools/ConnectToNetwork/index.d.ts +14 -0
  69. package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/EditPromptModal/index.d.ts +11 -0
  70. package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/PrivatePromptList.d.ts +12 -0
  71. package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/PromptListItem.d.ts +13 -0
  72. package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/PublicPromptList.d.ts +12 -0
  73. package/dist/src/Dialog/AgentChat/Tools/PromptManager/index.d.ts +13 -0
  74. package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/NameEditPanel.d.ts +9 -0
  75. package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/SessionItem.d.ts +16 -0
  76. package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/index.d.ts +9 -0
  77. package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/index.d.ts +9 -0
  78. package/dist/src/Dialog/AgentChat/Tools/UploadKnowledgeFiles/ClearModal/index.d.ts +7 -0
  79. package/dist/src/Dialog/AgentChat/Tools/UploadKnowledgeFiles/FileCard/index.d.ts +22 -0
  80. package/dist/src/Dialog/AgentChat/Tools/UploadKnowledgeFiles/index.d.ts +22 -0
  81. package/dist/src/Dialog/AgentChat/index.d.ts +1 -1
  82. package/dist/src/Dialog/FileItem/index.d.ts +11 -0
  83. package/dist/src/Dialog/HistoryItem/FileItem/index.d.ts +11 -0
  84. package/dist/src/Dialog/HistoryItem/InputProgress/index.d.ts +7 -0
  85. package/dist/src/Dialog/HistoryItem/ReferCollapse/index.d.ts +8 -0
  86. package/dist/src/Dialog/HistoryItem/ReferCollapsea/index.d.ts +8 -0
  87. package/dist/src/Dialog/HistoryItem/SearchReference/index.d.ts +10 -0
  88. package/dist/src/Dialog/HistoryItem/SessionAction/index.d.ts +13 -0
  89. package/dist/src/Dialog/HistoryItem/SessionRefer/ReferItem/index.d.ts +9 -0
  90. package/dist/src/Dialog/HistoryItem/SessionRefer/index.d.ts +8 -0
  91. package/dist/src/Dialog/HistoryItem/SessionRelated/index.d.ts +9 -0
  92. package/dist/src/Dialog/InputProgress/index.d.ts +7 -0
  93. package/dist/src/Dialog/SessionList/index.d.ts +1 -1
  94. package/dist/src/Dialog/Tools/ConnectToNetwork/index.d.ts +14 -0
  95. package/dist/src/Dialog/Tools/PromptManager/PromptList/EditPromptModal/index.d.ts +11 -0
  96. package/dist/src/Dialog/Tools/PromptManager/PromptList/PrivatePromptList.d.ts +12 -0
  97. package/dist/src/Dialog/Tools/PromptManager/PromptList/PromptListItem.d.ts +13 -0
  98. package/dist/src/Dialog/Tools/PromptManager/PromptList/PublicPromptList.d.ts +12 -0
  99. package/dist/src/Dialog/Tools/PromptManager/index.d.ts +13 -0
  100. package/dist/src/Dialog/Tools/SessionListDrawer/HistorySessionList/NameEditPanel.d.ts +9 -0
  101. package/dist/src/Dialog/Tools/SessionListDrawer/HistorySessionList/SessionItem.d.ts +16 -0
  102. package/dist/src/Dialog/Tools/SessionListDrawer/HistorySessionList/index.d.ts +9 -0
  103. package/dist/src/Dialog/Tools/SessionListDrawer/index.d.ts +9 -0
  104. package/dist/src/Dialog/Tools/UploadKnowledgeFiles/ClearModal/index.d.ts +7 -0
  105. package/dist/src/Dialog/Tools/UploadKnowledgeFiles/FileCard/index.d.ts +22 -0
  106. package/dist/src/Dialog/Tools/UploadKnowledgeFiles/index.d.ts +22 -0
  107. package/dist/src/Dialog/UploadFilesa/ClearModal/index.d.ts +7 -0
  108. package/dist/src/Dialog/UploadFilesa/index.d.ts +21 -0
  109. package/dist/src/FileCard-bac/index.d.ts +21 -0
  110. package/dist/src/Footer/FooterWarning.d.ts +2 -2
  111. package/dist/src/Greeting-bac/index.d.ts +7 -0
  112. package/dist/src/components/FilePreview/index.d.ts +20 -0
  113. package/dist/src/components/Greeting/index.d.ts +7 -0
  114. package/dist/src/components/Iconfont/font_4108228_z72fskklg2.d.ts +0 -0
  115. package/dist/src/components/Iconfont/font_4439177_7rytwlvbmjj.d.ts +0 -0
  116. package/dist/src/components/Iconfont/index.d.ts +2 -0
  117. package/dist/src/components/KnowledgeDoc/index.d.ts +9 -0
  118. package/dist/src/components/KnowledgeList/KnowledgeSelect/index.d.ts +12 -0
  119. package/dist/src/components/KnowledgeList/index.d.ts +10 -0
  120. package/dist/src/components/Recommend/RecommendItem.d.ts +12 -0
  121. package/dist/src/components/Recommend/index.d.ts +14 -0
  122. package/dist/src/constant.d.ts +7 -1
  123. package/dist/src/index.d.ts +3 -3
  124. package/dist/src/types.d.ts +4 -4
  125. package/dist/src/utils/index.d.ts +0 -6
  126. package/package.json +3 -3
  127. package/dist/es/Dialog/FileCard/index.mjs +0 -134
  128. package/dist/es/Dialog/HistoryContent/index.mjs +0 -13
  129. package/dist/es/Dialog/KnowledgeDoc/index.mjs +0 -45
  130. package/dist/es/Dialog/ReferCollapse/index.mjs +0 -64
  131. package/dist/es/Dialog/SessionListDrawer/HistorySessionList/doc-icons/doc.svg.mjs +0 -4
  132. package/dist/es/Dialog/SessionListDrawer/HistorySessionList/doc-icons/docx.svg.mjs +0 -4
  133. package/dist/es/Dialog/SessionListDrawer/HistorySessionList/doc-icons/pdf.svg.mjs +0 -4
  134. package/dist/es/FileCard/doc-icons/doc.svg.mjs +0 -4
  135. package/dist/es/FileCard/doc-icons/docx.svg.mjs +0 -4
  136. package/dist/es/FileCard/doc-icons/pdf.svg.mjs +0 -4
  137. package/dist/es/src/style32.css +0 -1
  138. package/dist/es/src/style33.css +0 -1
  139. /package/dist/es/{InputProgress → Dialog/AgentChat/HistoryItem/InputProgress}/index.mjs +0 -0
  140. /package/dist/es/Dialog/{PromptManager → AgentChat/Tools/PromptManager}/PromptList/PublicPromptList.mjs +0 -0
  141. /package/dist/es/Dialog/{PromptManager → AgentChat/Tools/PromptManager}/PromptList/access/empty.svg.mjs +0 -0
  142. /package/dist/es/Dialog/{SessionListDrawer → AgentChat/Tools/SessionListDrawer}/HistorySessionList/NameEditPanel.mjs +0 -0
  143. /package/dist/es/Dialog/{UploadKnowledgeFiles → AgentChat/Tools/UploadKnowledgeFiles}/ClearModal/index.mjs +0 -0
  144. /package/dist/es/{Dialog/FileCard → assets}/doc-icons/doc.svg.mjs +0 -0
  145. /package/dist/es/{Dialog/FileCard → assets}/doc-icons/docx.svg.mjs +0 -0
  146. /package/dist/es/{Dialog/FileCard → assets}/doc-icons/pdf.svg.mjs +0 -0
  147. /package/dist/es/{Dialog → components}/Greeting/index.mjs +0 -0
  148. /package/dist/es/{Iconfont → components/Iconfont}/index.mjs +0 -0
  149. /package/dist/es/{Dialog → components}/Recommend/tip.svg.mjs +0 -0
@@ -1,21 +1,19 @@
1
- import { jsxs as x, jsx as A } from "react/jsx-runtime";
2
- import { useContext as H, useState as i, useEffect as v } from "react";
1
+ import { jsxs as u, jsx as A } from "react/jsx-runtime";
2
+ import { useContext as H, useState as r, useEffect as v } from "react";
3
3
  /* empty css */import K from "../../context.mjs";
4
4
  import { Space as q } from "antd";
5
5
  import z from "./KnowledgeSelect/index.mjs";
6
- const P = (y) => {
7
- var j, u;
6
+ const M = (y) => {
7
+ var j, x;
8
8
  const {
9
9
  currentSession: t,
10
10
  application: o,
11
- setCurrentSession: B,
12
- reload: D,
13
11
  setCheckKnowledges: g
14
12
  } = y, {
15
- mode: C,
13
+ mode: h,
16
14
  transform: w,
17
15
  features: n
18
- } = H(K), [d, k] = i([]), [r, p] = i(typeof (n == null ? void 0 : n.knowledges) == "object" ? ((j = n.knowledges.default) == null ? void 0 : j.map((e) => e.id)) || [] : []), [E, c] = i(0), [h, b] = i(!1);
16
+ } = H(K), [d, k] = r([]), [f, p] = r(typeof (n == null ? void 0 : n.knowledges) == "object" ? ((j = n.knowledges.default) == null ? void 0 : j.map((e) => e.id)) || [] : []), [E, c] = r(0), [C, b] = r(!1);
19
17
  v(() => {
20
18
  if (!(o != null && o.id))
21
19
  return;
@@ -26,29 +24,29 @@ const P = (y) => {
26
24
  k(s);
27
25
  const l = typeof (n == null ? void 0 : n.knowledges) == "object" && n.knowledges.default || s;
28
26
  if (!t) {
29
- p(l.map((f) => f.id)), c(l.length), g == null || g(l);
27
+ p(l.map((i) => i.id)), c(l.length), g == null || g(l);
30
28
  return;
31
29
  }
32
30
  const a = () => {
33
- const f = t.knowledges || l;
34
- c(f.length);
35
- const F = f.map((N) => N.id);
36
- p(F);
31
+ const i = t.knowledges || l;
32
+ c(i.length);
33
+ const N = i.map((S) => S.id);
34
+ p(N);
37
35
  };
38
36
  return a(), t.addEventListener("data:updated", a), () => {
39
37
  t == null || t.removeEventListener("data:updated", a);
40
38
  };
41
39
  }, [o, t]), v(() => {
42
40
  var m;
43
- if (!h || (b(!1), !(o != null && o.id)))
41
+ if (!C || (b(!1), !(o != null && o.id)))
44
42
  return;
45
43
  const e = [];
46
- r == null || r.map((s) => {
44
+ f == null || f.map((s) => {
47
45
  const l = d == null ? void 0 : d.find((a) => a.id === s);
48
46
  e.push(l);
49
47
  }), (m = t == null ? void 0 : t.data) != null && m.id && t.setKnowledges(e);
50
- }, [h]);
51
- const S = (e) => {
48
+ }, [C]);
49
+ const F = (e) => {
52
50
  b(!0), p(e);
53
51
  const m = [];
54
52
  e == null || e.map((s) => {
@@ -56,20 +54,20 @@ const P = (y) => {
56
54
  m.push(l);
57
55
  }), g == null || g(m), c(e.length);
58
56
  };
59
- return /* @__PURE__ */ x("div", {
57
+ return /* @__PURE__ */ u("div", {
60
58
  className: "chat-header",
61
- children: [/* @__PURE__ */ x(q, {
59
+ children: [/* @__PURE__ */ u(q, {
62
60
  className: "header-title",
63
- children: [C === "inlay" && ((u = t == null ? void 0 : t.data) == null ? void 0 : u.name), C === "float" && (o == null ? void 0 : o.name)]
61
+ children: [h === "inlay" && ((x = t == null ? void 0 : t.data) == null ? void 0 : x.name), h === "float" && (o == null ? void 0 : o.name)]
64
62
  }), (w == null ? void 0 : w.knowledges) && d.length !== 0 && /* @__PURE__ */ A(z, {
65
63
  disabled: typeof (n == null ? void 0 : n.knowledges) == "object" && (n == null ? void 0 : n.knowledges.diabled) || !1,
66
- checkedValues: r,
64
+ checkedValues: f,
67
65
  currKnowledgeList: d,
68
66
  selectCount: E,
69
- onSelectChange: S
67
+ onSelectChange: F
70
68
  })]
71
69
  });
72
70
  };
73
71
  export {
74
- P as default
72
+ M as default
75
73
  };
@@ -1,37 +1,31 @@
1
- import { jsxs as u, jsx as i } from "react/jsx-runtime";
1
+ import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as h, useContext as v, useEffect as y } from "react";
3
3
  /* empty css */import { Space as N, message as a, Typography as p } from "antd";
4
- import q from "../FileCard/doc-icons/pdf.svg.mjs";
5
- import x from "../FileCard/doc-icons/doc.svg.mjs";
6
- import w from "../FileCard/doc-icons/docx.svg.mjs";
7
4
  import r from "classnames";
8
- import { getFileExtension as C } from "../../utils/index.mjs";
9
- import I from "../../context.mjs";
10
- const P = {
11
- doc: x,
12
- docx: w,
13
- pdf: q
14
- }, T = (f) => {
15
- var d;
5
+ import { getFileExtension as q } from "../../utils/index.mjs";
6
+ import x from "../../context.mjs";
7
+ import { FILE_ICONS as C } from "../../constant.mjs";
8
+ const j = (f) => {
9
+ var u;
16
10
  const {
17
11
  item: e,
18
12
  isRecommendClearing: g,
19
- isOnlyQuestion: o,
20
- question: t,
13
+ isOnlyQuestion: i,
14
+ question: o,
21
15
  setQuestion: c,
22
- onItemClick: n
23
- } = f, [s, m] = h(!1), {
16
+ onItemClick: s
17
+ } = f, [n, m] = h(!1), {
24
18
  popupContainer: l
25
- } = v(I);
19
+ } = v(x);
26
20
  return y(() => {
27
21
  e && (!e.icon && !e.file.url && !e.name ? m(!0) : m(!1));
28
- }, [e]), /* @__PURE__ */ u(N, {
22
+ }, [e]), /* @__PURE__ */ d(N, {
29
23
  direction: "vertical",
30
- size: o || !o && s ? 0 : 4,
24
+ size: i || !i && n ? 0 : 4,
31
25
  className: r({
32
26
  "question-pannel": !0,
33
- "question-pannel__active": (t == null ? void 0 : t.id) === e.id,
34
- "multiline-question-pannel": !o && s
27
+ "question-pannel__active": (o == null ? void 0 : o.id) === e.id,
28
+ "multiline-question-pannel": !i && n
35
29
  }),
36
30
  onClick: () => {
37
31
  if (g) {
@@ -42,22 +36,22 @@ const P = {
42
36
  });
43
37
  return;
44
38
  }
45
- (t == null ? void 0 : t.id) === e.id ? (c(void 0), n == null || n(void 0)) : (c(e), n == null || n(e));
39
+ (o == null ? void 0 : o.id) === e.id ? (c(void 0), s == null || s(void 0)) : (c(e), s == null || s(e));
46
40
  },
47
- children: [/* @__PURE__ */ u("div", {
41
+ children: [/* @__PURE__ */ d("div", {
48
42
  className: r({
49
43
  "question-top": !0,
50
- "not-have-top": o || !o && s
44
+ "not-have-top": i || !i && n
51
45
  }),
52
- children: [!!(e != null && e.icon) && /* @__PURE__ */ i("div", {
46
+ children: [!!(e != null && e.icon) && /* @__PURE__ */ t("div", {
53
47
  className: "question-top-tip",
54
- children: /* @__PURE__ */ i("img", {
48
+ children: /* @__PURE__ */ t("img", {
55
49
  src: e.icon,
56
50
  alt: ""
57
51
  })
58
- }), /* @__PURE__ */ i("div", {
52
+ }), /* @__PURE__ */ t("div", {
59
53
  className: "question-top-title",
60
- children: /* @__PURE__ */ i(p.Paragraph, {
54
+ children: /* @__PURE__ */ t(p.Paragraph, {
61
55
  style: {
62
56
  margin: 0,
63
57
  width: "100%"
@@ -68,28 +62,28 @@ const P = {
68
62
  },
69
63
  children: e.name
70
64
  })
71
- }), /* @__PURE__ */ i("div", {
65
+ }), /* @__PURE__ */ t("div", {
72
66
  className: r({
73
67
  "question-top-type": !0,
74
- "question-only-plus-file": !o && !e.icon && !e.name
68
+ "question-only-plus-file": !i && !e.icon && !e.name
75
69
  }),
76
- children: !!((d = e.file) != null && d.url) && /* @__PURE__ */ i("img", {
70
+ children: !!((u = e.file) != null && u.url) && /* @__PURE__ */ t("img", {
77
71
  className: "file-icon",
78
- src: P[C(e.file.url) || ""]
72
+ src: C[q(e.file.url) || ""]
79
73
  })
80
74
  })]
81
- }), /* @__PURE__ */ i("div", {
75
+ }), /* @__PURE__ */ t("div", {
82
76
  className: r({
83
77
  "question-bottom": !0,
84
- "multiline-question": !o && s
78
+ "multiline-question": !i && n
85
79
  }),
86
- children: /* @__PURE__ */ i(p.Paragraph, {
80
+ children: /* @__PURE__ */ t(p.Paragraph, {
87
81
  style: {
88
82
  margin: 0,
89
83
  width: "100%"
90
84
  },
91
85
  ellipsis: {
92
- rows: !o && s ? 3 : 1,
86
+ rows: !i && n ? 3 : 1,
93
87
  tooltip: {
94
88
  overlayClassName: "recommend-tooltip-overlay"
95
89
  }
@@ -100,5 +94,5 @@ const P = {
100
94
  });
101
95
  };
102
96
  export {
103
- T as default
97
+ j as default
104
98
  };
@@ -5,7 +5,6 @@ import q from "./tip.svg.mjs";
5
5
  import v from "./RecommendItem.mjs";
6
6
  const x = I((a, u) => {
7
7
  const {
8
- sid: y,
9
8
  onItemClick: f,
10
9
  data: s,
11
10
  isRecommendClearing: p
@@ -1,6 +1,9 @@
1
1
  import e from "./assets/icon.svg.mjs";
2
2
  import t from "./assets/brand.svg.mjs";
3
- const s = {
3
+ import o from "./assets/doc-icons/pdf.svg.mjs";
4
+ import r from "./assets/doc-icons/doc.svg.mjs";
5
+ import n from "./assets/doc-icons/docx.svg.mjs";
6
+ const u = {
4
7
  triggerButton: {
5
8
  visible: !0
6
9
  },
@@ -92,14 +95,19 @@ const s = {
92
95
  defaultInput: {
93
96
  text: ""
94
97
  }
95
- }, i = "https://copilot.glodon.com/api/cvforcepd", n = "https://copilot.glodon.com/portal/_/aecpilot/fe/", a = 1024, p = 1024 * 1024, l = 1024 * 1024 * 1024;
98
+ }, c = "https://copilot.glodon.com/api/cvforcepd", f = "https://copilot.glodon.com/portal/_/aecpilot/fe/", m = 1024, d = 1024 * 1024, g = 1024 * 1024 * 1024, h = {
99
+ doc: r,
100
+ docx: n,
101
+ pdf: o
102
+ };
96
103
  export {
97
- l as GB,
98
- a as KB,
99
- p as MB,
104
+ h as FILE_ICONS,
105
+ g as GB,
106
+ m as KB,
107
+ d as MB,
100
108
  t as brand,
101
- i as defaultApiUrl,
102
- n as defaultDovViewerUrl,
103
- s as defaultUIConfig,
109
+ c as defaultApiUrl,
110
+ f as defaultDovViewerUrl,
111
+ u as defaultUIConfig,
104
112
  e as icon
105
113
  };
package/dist/es/index.mjs CHANGED
@@ -2,24 +2,24 @@ var Q = Object.defineProperty, G = Object.defineProperties;
2
2
  var K = Object.getOwnPropertyDescriptors;
3
3
  var $ = Object.getOwnPropertySymbols;
4
4
  var X = Object.prototype.hasOwnProperty, Y = Object.prototype.propertyIsEnumerable;
5
- var w = (g, i, s) => i in g ? Q(g, i, { enumerable: !0, configurable: !0, writable: !0, value: s }) : g[i] = s, o = (g, i) => {
5
+ var w = (l, i, s) => i in l ? Q(l, i, { enumerable: !0, configurable: !0, writable: !0, value: s }) : l[i] = s, o = (l, i) => {
6
6
  for (var s in i || (i = {}))
7
- X.call(i, s) && w(g, s, i[s]);
7
+ X.call(i, s) && w(l, s, i[s]);
8
8
  if ($)
9
9
  for (var s of $(i))
10
- Y.call(i, s) && w(g, s, i[s]);
11
- return g;
12
- }, C = (g, i) => G(g, K(i));
13
- var h = (g, i, s) => (w(g, typeof i != "symbol" ? i + "" : i, s), s);
10
+ Y.call(i, s) && w(l, s, i[s]);
11
+ return l;
12
+ }, C = (l, i) => G(l, K(i));
13
+ var h = (l, i, s) => (w(l, typeof i != "symbol" ? i + "" : i, s), s);
14
14
  import { jsx as O, Fragment as Z } from "react/jsx-runtime";
15
- import l from "lodash/merge";
15
+ import g from "lodash/merge";
16
16
  import P from "react-dom";
17
17
  import q from "./AgentClientUI.mjs";
18
18
  import { notification as J } from "antd";
19
19
  import ee from "axios";
20
20
  import { defaultUIConfig as ie, defaultApiUrl as te, defaultDovViewerUrl as oe } from "./constant.mjs";
21
21
  import { ApiUrl as se } from "./types.mjs";
22
- /* empty css */import { AgentClientUIApi as re } from "@glodon-aiot/apis";
22
+ /* empty css */import { BotClientApi as re } from "@glodon-aiot/apis";
23
23
  import { JWT as ne, isExpired as ae } from "./utils/index.mjs";
24
24
  const b = {};
25
25
  class we {
@@ -39,7 +39,7 @@ class we {
39
39
  h(this, "uiConfig", ie);
40
40
  h(this, "errorHandlers", {});
41
41
  h(this, "wrapper", document.createElement("div"));
42
- var _, y, U, x, S, B, H, z, A, L, M, V, N, E, F, D, T, j, R, W;
42
+ var _, y, x, U, S, B, H, z, L, M, V, A, N, E, F, D, T, j, R, W;
43
43
  const {
44
44
  env: s,
45
45
  token: d,
@@ -56,8 +56,8 @@ class we {
56
56
  const k = {
57
57
  sessionOpen: c === "float",
58
58
  sessionList: c === "float"
59
- }, I = (U = (y = (_ = e == null ? void 0 : e.botMessageBox) == null ? void 0 : _.footer) == null ? void 0 : y.items) == null ? void 0 : U.find((f) => f.componentName === "AnswerAgain");
60
- (B = (S = (x = e == null ? void 0 : e.botMessageBox) == null ? void 0 : x.footer) == null ? void 0 : S.items) == null || B.find((f) => f.componentName === "Copy");
59
+ }, I = (x = (y = (_ = e == null ? void 0 : e.botMessageBox) == null ? void 0 : _.footer) == null ? void 0 : y.items) == null ? void 0 : x.find((f) => f.componentName === "AnswerAgain");
60
+ (B = (S = (U = e == null ? void 0 : e.botMessageBox) == null ? void 0 : U.footer) == null ? void 0 : S.items) == null || B.find((f) => f.componentName === "Copy");
61
61
  const u = {
62
62
  sessionList: e == null ? void 0 : e.sessionList,
63
63
  sessionOpen: e == null ? void 0 : e.newSession,
@@ -66,11 +66,11 @@ class we {
66
66
  userEdit: (z = e == null ? void 0 : e.userMessageBox) == null ? void 0 : z.editAgain,
67
67
  userPrompt: e == null ? void 0 : e.fileUpload,
68
68
  prompt: e == null ? void 0 : e.prompts,
69
- relate: (A = e == null ? void 0 : e.botMessageBox) == null ? void 0 : A.relatedQuesions,
69
+ relate: (L = e == null ? void 0 : e.botMessageBox) == null ? void 0 : L.relatedQuesions,
70
70
  again: !(I && I.visible === !1),
71
71
  reference: {
72
- iconVisible: (M = (L = e == null ? void 0 : e.botMessageBox) == null ? void 0 : L.reference) == null ? void 0 : M.file,
73
- referenceFirst: (V = e == null ? void 0 : e.botMessageBox) == null ? void 0 : V.referenceFirst,
72
+ iconVisible: (V = (M = e == null ? void 0 : e.botMessageBox) == null ? void 0 : M.reference) == null ? void 0 : V.file,
73
+ referenceFirst: (A = e == null ? void 0 : e.botMessageBox) == null ? void 0 : A.referenceFirst,
74
74
  isExpand: (E = (N = e == null ? void 0 : e.botMessageBox) == null ? void 0 : N.reference) == null ? void 0 : E.itemExpanded
75
75
  },
76
76
  searchReference: (F = e == null ? void 0 : e.botMessageBox) == null ? void 0 : F.searchReference,
@@ -78,7 +78,6 @@ class we {
78
78
  metadata: e == null ? void 0 : e.metadata,
79
79
  greet: e == null ? void 0 : e.greeting,
80
80
  imageUpload: e == null ? void 0 : e.imageUpload,
81
- // connectNetwork: features?.connectNetwork ? true : false,
82
81
  promptVariables: (e == null ? void 0 : e.promptVariables) === void 0 ? (D = this.uiConfig.transform) == null ? void 0 : D.promptVariables : (e == null ? void 0 : e.promptVariables) === !0 || typeof (e == null ? void 0 : e.promptVariables) == "object" && ((T = e == null ? void 0 : e.promptVariables) == null ? void 0 : T.visible) !== !1 ? (j = this.uiConfig.transform) == null ? void 0 : j.promptVariables : !1,
83
82
  connectNetwork: (e == null ? void 0 : e.connectNetwork) === void 0 ? (R = this.uiConfig.transform) == null ? void 0 : R.connectNetwork : (e == null ? void 0 : e.connectNetwork) === !0 || (typeof (e == null ? void 0 : e.connectNetwork) == "object" && typeof (e == null ? void 0 : e.connectNetwork.visible) == "boolean" ? e == null ? void 0 : e.connectNetwork.visible : (W = this.uiConfig.transform) == null ? void 0 : W.connectNetwork)
84
83
  }, v = {
@@ -88,19 +87,19 @@ class we {
88
87
  u[f] === void 0 && delete u[f];
89
88
  }), c === "inlay") {
90
89
  const f = {
91
- triggerButton: l({
90
+ triggerButton: g({
92
91
  visible: !1
93
92
  }, m),
94
93
  open: !0,
95
94
  resizable: !1,
96
- size: l({
95
+ size: g({
97
96
  width: "100%",
98
97
  height: "100%",
99
98
  maxWidth: "100%",
100
99
  maxHeight: "100%",
101
100
  minWidth: "100%"
102
101
  }, a),
103
- theme: l(this.uiConfig.theme, b),
102
+ theme: g(this.uiConfig.theme, b),
104
103
  history: !0
105
104
  };
106
105
  this.uiConfig = C(o(o(o(o({}, this.uiConfig), i), f), v), {
@@ -108,9 +107,9 @@ class we {
108
107
  }), this.wrapper = this.uiConfig.getContainer();
109
108
  } else {
110
109
  const f = {
111
- triggerButton: l(this.uiConfig.triggerButton, m),
112
- size: l(this.uiConfig.size, o({}, a)),
113
- theme: l(this.uiConfig.theme, b)
110
+ triggerButton: g(this.uiConfig.triggerButton, m),
111
+ size: g(this.uiConfig.size, o({}, a)),
112
+ theme: g(this.uiConfig.theme, b)
114
113
  };
115
114
  this.uiConfig = C(o(o(o(o(o({}, this.uiConfig), i), f), v), u), {
116
115
  transform: o(o(o(o({}, this.uiConfig.transform), k), i.transform), u)
@@ -130,27 +129,27 @@ class we {
130
129
  set mode(i) {
131
130
  if (i === "inlay") {
132
131
  const s = {
133
- triggerButton: l({
132
+ triggerButton: g({
134
133
  visible: !1
135
134
  }, this.uiConfig.triggerButton),
136
135
  open: !0,
137
136
  resizable: !1,
138
- size: l({
137
+ size: g({
139
138
  width: "100%",
140
139
  height: "100%",
141
140
  maxWidth: "100%",
142
141
  maxHeight: "100%",
143
142
  minWidth: "100%"
144
143
  }, this.uiConfig.size),
145
- theme: l(this.uiConfig.theme, b),
144
+ theme: g(this.uiConfig.theme, b),
146
145
  history: !0
147
146
  };
148
147
  this.uiConfig = o(o({}, this.uiConfig), s), this.wrapper = this.uiConfig.getContainer();
149
148
  } else {
150
149
  const s = {
151
- triggerButton: l(this.uiConfig.triggerButton, this.uiConfig.triggerButton),
152
- size: l(this.uiConfig.size, o({}, this.uiConfig.size)),
153
- theme: l(this.uiConfig.theme, b)
150
+ triggerButton: g(this.uiConfig.triggerButton, this.uiConfig.triggerButton),
151
+ size: g(this.uiConfig.size, o({}, this.uiConfig.size)),
152
+ theme: g(this.uiConfig.theme, b)
154
153
  };
155
154
  this.uiConfig = o(o({}, this.uiConfig), s), this._mode === "inlay" && this.wrapper.remove(), this.uiConfig.getContainer().append(this.wrapper);
156
155
  }
@@ -263,12 +262,6 @@ class we {
263
262
  mcp: this.uiConfig.mcp,
264
263
  transform: C(o({}, this.uiConfig.transform), {
265
264
  knowledges: ((s = this.uiConfig.features) == null ? void 0 : s.knowledges) === !0 || typeof ((d = this.uiConfig.features) == null ? void 0 : d.knowledges) == "object" && ((m = (c = this.uiConfig.features) == null ? void 0 : c.knowledges) == null ? void 0 : m.visible) !== !1
266
- // promptVariables:
267
- // this.uiConfig.features?.promptVariables === true ||
268
- // (typeof this.uiConfig.features?.promptVariables === 'object' &&
269
- // this.uiConfig.features?.promptVariables?.visible !== false)
270
- // ? true
271
- // : false,
272
265
  }),
273
266
  features: this.uiConfig.features,
274
267
  disabled: this._inputDisabled,
@@ -1 +1 @@
1
- .file-preview{width:auto;border-radius:6px;border:1px solid #e8e9eb;background:#ffffff;position:relative;display:inline-block;max-height:80px}.file-preview .file-icon{height:100%;width:48px}.file-preview.small{height:30px;width:150px;padding:3px 6px 3px 3px}.file-preview.small .file-icon{width:24px}.file-preview .file-desc{flex:1;overflow:hidden}.file-preview .file-desc .file-desc-name{color:#5c5f66;font-size:12px;font-style:normal;font-weight:700;line-height:150%;margin-bottom:4px}.file-preview .file-desc .file-desc-size{color:#84868c;font-size:10px;font-style:normal;font-weight:400;line-height:150%}.file-preview .file-action{position:absolute;right:-8px;top:-8px}.file-preview .file-process{background-color:#f7f7f9;border-radius:8px;width:16px;height:16px;line-height:16px;text-align:center;display:inline-flex;align-items:center;justify-content:center}.file-preview .file-remove{display:inline-block;border-radius:10px;width:20px;height:20px;line-height:20px;text-align:center;color:#84868c;border:1px solid #e8e9eb;display:inline-flex;align-items:center;justify-content:center;background-color:#f7f7f9}.file-preview .file-remove:hover{background-color:#fff;color:#b452ff}.file-remove-tooltip .ant-tooltip-content .ant-tooltip-inner{padding:12px}
1
+ .inlay .questions,.float .questions{width:100%}.questions .question-tip{display:flex;align-items:center;margin-bottom:10px;height:24px;color:#84868c}.questions .question-tip img{width:24px;height:24px}.questions .question-row{max-height:260px;overflow-y:auto}.questions .question-pannel{background:white;padding:12px;border-radius:8px;width:100%;cursor:pointer;border:1px solid transparent}.questions .question-pannel .question-top{font-size:16px;height:32px;color:#070c14;font-weight:700;display:flex;width:100%}.questions .question-pannel .question-top .question-top-tip{flex:0 0 24px;margin-right:8px}.questions .question-pannel .question-top .question-top-title{flex:0 0 1;overflow:hidden;display:flex;align-items:center}.questions .question-pannel .question-top .question-top-type{margin-left:8px;flex:0 0 24px}.questions .question-pannel .question-top .question-only-plus-file{margin-left:0}.questions .question-pannel .question-top img{width:24px}.questions .question-pannel .not-have-top{display:none}.questions .question-pannel .question-bottom{font-size:14px;color:#070c14;line-height:21px}.questions .question-pannel .multiline-question{height:56px;margin-top:-7px}.questions .question-pannel__active{border:1px solid #b452ff;transition:all .25s}.questions .multiline-question-pannel{padding:16px 12px}.recommend-tooltip-overlay .ant-tooltip-inner{max-width:400px;max-height:300px;overflow-y:auto}
@@ -1 +1 @@
1
- .prompt-btn:hover,.prompt-btn:active,.prompt-btn.active{color:#9c24f2}.propmt-manage-popover .ant-popover-title{display:flex;align-items:center;font-size:16px;border:none}.propmt-manage-popover .ant-popover-title .prompt-popover-title{width:100%;display:flex;justify-content:space-between}.propmt-manage-popover .ant-popover-inner-content{padding:0;width:100%}.propmt-manage-popover .ant-popover-arrow{display:none}.propmt-manage-popover .ant-tabs-nav:before{border:0}
1
+ .prompt-modal .title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:500;text-align:left;color:#161616}.prompt-modal .content{font-size:14px;font-weight:400;line-height:22px;text-align:justified;color:#393939}
@@ -1 +1 @@
1
- .history-item{margin-bottom:16px}.history-item .history-item-user{width:100%}.history-item .history-item-user .item-user-panel{display:flex;justify-content:flex-end}.history-item .history-item-user .item-user-panel .item-user-content{background:#f9f2ff;padding:12px;border-radius:12px 2px 12px 12px;border:1px solid #9c24f2;display:inline-block;width:auto;max-width:100%;color:#070c14;white-space:pre-wrap}.history-item .history-item-user .item-user-file{display:flex-end;margin-top:10px}.history-item .history-item-user ::selection{background-color:#b1d7ffb3;color:#fff}.history-item .history-item-bot{width:100%;border-radius:2px 12px 12px;background:white;padding:0 12px}.history-item .history-item-bot .item-bot-plugin{padding-top:12px}.history-item .history-item-bot .item-bot-plugin .bot-plugin-status .plugin-status-success{display:inline-block;width:14px;height:14px;color:#fff;background:#47d1cb;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.history-item .history-item-bot .item-bot-plugin .bot-plugin-status .plugin-status-error{display:inline-block;width:14px;height:14px;color:#fff;background:#f95b81;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.history-item .history-item-bot .item-bot-plugin .bot-plugin-status .plugin-status-loading{display:inline-block;width:14px;height:14px;color:#477bff;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.history-item .history-item-bot .item-bot-plugin .bot-plugin-title{font-weight:700;color:#000000a6}.history-item .history-item-bot .item-bot-plugin .bot-plugin-action{border:1px solid #00000026;border-radius:4px;color:#000000e0;padding:1px 8px}.history-item .history-item-bot .item-bot-plugin .ant-collapse-header{padding:0;height:38px;display:flex;align-items:center}.history-item .history-item-bot .item-bot-plugin .ant-collapse-content-box{padding:0}.history-item .history-item-bot .item-bot-plugin .bot-plugin-content{height:32px;line-height:32px;font-weight:700}.history-item .history-item-bot .item-bot-plugin .bot-plugin-json{background:white}.history-item .history-item-bot .item-bot-net{padding-top:12px}.history-item .history-item-bot .item-bot-content{width:100%;border-radius:2px 12px 12px;background:white;padding:12px 0;word-wrap:break-word}.history-item .history-item-bot .item-bot-content .content-think{margin-bottom:12px}.history-item .history-item-bot .item-bot-content .content-think .think-top{font-size:14px;line-height:24px;color:#070c14;display:flex;align-items:center;margin-bottom:12px;cursor:pointer}.history-item .history-item-bot .item-bot-content .content-think .think-top img{width:24px;margin-right:4px}.history-item .history-item-bot .item-bot-content .content-think .think-top .think-action{margin-left:8px}.history-item .history-item-bot .item-bot-content .content-think .think-bottom{font-size:14px;line-height:150%;color:#999;position:relative}.history-item .history-item-bot .item-bot-content .content-think .think-bottom .bottom-left{background:#d9d9d9;width:1px;position:absolute;left:10px;top:4px;bottom:4px}.history-item .history-item-bot .item-bot-content .content-think .think-bottom .bottom-left .thinking{position:absolute;left:-5px;top:0;width:12px;height:12px;background:#b752ea;border-radius:50%}.history-item .history-item-bot .item-bot-content .content-think .think-bottom .bottom-left .thinked{position:absolute;z-index:100;left:-5px;top:0;width:12px;height:12px;background:#04d68d;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;font-size:8px}.history-item .history-item-bot .item-bot-content .content-think .think-bottom .bottom-right{padding-left:22px}.history-item .ant-collapse-item{border-radius:4px;background-color:#f5f5f5;margin-bottom:8px;padding:0 0 0 8px}.history-item .ant-collapse-item .ant-collapse-content{padding-bottom:8px}.history-item .ant-collapse-item:last-child{margin-bottom:0}.history-item .ant-collapse-header-text{width:100%}.inlay .history-item__user{display:flex;justify-content:flex-end}.inlay .history-item-user,.inlay .history-item-bot{max-width:calc(100% - 64px)}.session-item-overlay-popover .ant-popover-inner-content{padding:6px}.session-item-overlay-popover .ant-popover-arrow{display:none}
1
+ .prompt-setting-panel{display:flex;align-items:center;justify-content:center}.agent-prompt{margin:12px 12px 0;padding:12px;border-radius:4px;border:1px solid #e8e9eb;background:#fff;flex:1;max-width:824px}.agent-prompt .prompt-header{font-size:16px;line-height:24px;font-weight:600;color:#84868c}.agent-prompt .prompt-header .prompt-btn{color:#84868c}.agent-prompt .prompt-header .prompt-title{color:#5c5f66;font-style:normal;line-height:150%}.agent-prompt .prompt-form{max-height:160px;overflow-y:auto;margin-top:12px}.agent-prompt .prompt-form .ant-form-item{margin-left:15px}.agent-prompt .icon-prompt-question{cursor:pointer}
@@ -1 +1 @@
1
- .footer-upload{display:flex;justify-content:center;align-items:center}.footer-upload .upload-enter{padding:0;height:24px;width:24px;display:flex;justify-content:center;align-items:center;cursor:pointer}.footer-upload .upload-enter.disabled{color:#b8babf;cursor:not-allowed}.footer-upload .upload-enter:hover{background:#ebebeb;border-radius:4px}.file-upload{width:100%;display:flex;flex-direction:column}.file-upload .ant-upload-drag{background-color:#fff;border:unset}.file-upload .ant-upload-drag .ant-upload-btn{padding:0}.file-upload .file-upload-icon{font-size:35px;color:#d3d3d3}.file-upload .file-upload-action{display:flex;justify-content:center;align-items:center;margin-bottom:12px}.file-upload .file-upload-desc{text-align:left;display:flex;flex-direction:column;font-weight:400;font-size:12px;margin:0 auto;color:#84868c;width:232px;line-height:18px;padding-left:20px}.file-upload .file-upload-desc .item-upload-desc{line-height:150%}.file-upload .file-upload-desc .item-upload-desc__1{display:flex;align-items:center}.file-upload .upload-wrapper{height:300px;overflow-y:auto;overflow-x:hidden}.file-upload .upload-wrapper .upload-main{flex:1;width:100%;overflow-y:auto;margin-bottom:16px}.file-upload .upload-wrapper .upload-main .upload-pannel{width:100%}.file-upload .upload-wrapper .upload-main .upload-empty{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.file-upload .upload-wrapper .upload-main .upload-item{cursor:pointer}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-file-icon{display:inline-block;width:10px}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-name{margin-left:10px;display:inline-block;max-width:230px;word-break:break-all}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-upload-delete{display:inline-block;width:10px;color:#9c24f2;display:none}.file-upload .upload-wrapper .upload-main .upload-item:hover{background:rgba(0,0,0,.04)}.file-upload .upload-wrapper .upload-main .upload-item:hover .upload-item-upload-delete{display:inline-block}.card-title{display:flex;justify-content:space-between;align-items:center;color:#393939;font-size:14px}.card-title .name{font-weight:500}.card-title .actions{font-weight:400;display:flex;gap:12px}.card-title .actions .action{padding:4px 2px;cursor:pointer}.card-title .actions .action .detail{display:flex;gap:6px;align-items:center}.split-line{width:100%;height:1px;border:.5px solid #e8e9eb}.upload-popover{z-index:1}
1
+ .home-footer{background:#f5f5f5;width:100%;max-width:824px;margin:0 auto}.home-footer .footer-textarea{position:relative;background:white}.home-footer .footer-textarea .input-textview{min-height:134px;max-height:344px;resize:none;font-size:14px;border:1px solid transparent}.home-footer .footer-textarea .input-textview:focus,.home-footer .footer-textarea .input-textview:active,.home-footer .footer-textarea .input-textview.ant-input-focused{border:1px solid #b452ff;outline:0;box-shadow:none}.home-footer .footer-textarea .input-textview:hover{border:1px solid #b452ff;outline:0;box-shadow:0 0 0 2px #9c24f233}.home-footer .footer-textarea .footer-send{position:absolute;right:0;bottom:0;width:40px;height:130px}.home-footer .footer-textarea .footer-send .send-wrapper{height:16px;width:16px;font-size:16px;border-radius:6px;display:flex;justify-content:center;align-items:center;position:absolute;bottom:8px;right:12px;cursor:pointer;color:#b452ff}.home-footer .footer-textarea .footer-send .send-wrapper__disabled{height:16px;width:16px;font-size:16px;color:#b8babf;background:transparent}.home-footer .footer-warning{display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:400;line-height:18px;text-align:left;color:#999}.inlay .home-footer .footer-textarea .input-textview{min-height:134px;max-height:344px}.float .home-footer .footer-textarea .input-textview{min-height:134px;max-height:200px}
@@ -1 +1 @@
1
- .prompt-modal .title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:500;text-align:left;color:#161616}.prompt-modal .content{font-size:14px;font-weight:400;line-height:22px;text-align:justified;color:#393939}
1
+ .connect{position:relative}.connect .net-tip{position:absolute;top:-45px;left:50%;transform:translate(-88%);white-space:nowrap;background:#ffffff;padding:8px;border-radius:4px;box-shadow:0 2px 8px #00000026;z-index:10}
@@ -1 +1 @@
1
- .prompt-setting-panel{display:flex;align-items:center;justify-content:center}.agent-prompt{margin:12px 12px 0;padding:12px;border-radius:4px;border:1px solid #e8e9eb;background:#fff;flex:1;max-width:824px}.agent-prompt .prompt-header{font-size:16px;line-height:24px;font-weight:600;color:#84868c}.agent-prompt .prompt-header .prompt-btn{color:#84868c}.agent-prompt .prompt-header .prompt-title{color:#5c5f66;font-style:normal;line-height:150%}.agent-prompt .prompt-form{max-height:160px;overflow-y:auto;margin-top:12px}.agent-prompt .prompt-form .ant-form-item{margin-left:15px}.agent-prompt .icon-prompt-question{cursor:pointer}
1
+ .footer-upload{display:flex;justify-content:center;align-items:center}.footer-upload .upload-enter{padding:0;height:24px;width:24px;display:flex;justify-content:center;align-items:center;cursor:pointer}.footer-upload .upload-enter.disabled{color:#b8babf;cursor:not-allowed}.footer-upload .upload-enter:hover{background:#ebebeb;border-radius:4px}.file-upload{width:100%;display:flex;flex-direction:column}.file-upload .ant-upload-drag{background-color:#fff;border:unset}.file-upload .ant-upload-drag .ant-upload-btn{padding:0}.file-upload .file-upload-icon{font-size:35px;color:#d3d3d3}.file-upload .file-upload-action{display:flex;justify-content:center;align-items:center;margin-bottom:12px}.file-upload .file-upload-desc{text-align:left;display:flex;flex-direction:column;font-weight:400;font-size:12px;margin:0 auto;color:#84868c;width:232px;line-height:18px;padding-left:20px}.file-upload .file-upload-desc .item-upload-desc{line-height:150%}.file-upload .file-upload-desc .item-upload-desc__1{display:flex;align-items:center}.file-upload .upload-wrapper{height:300px;overflow-y:auto;overflow-x:hidden}.file-upload .upload-wrapper .upload-main{flex:1;width:100%;overflow-y:auto;margin-bottom:16px}.file-upload .upload-wrapper .upload-main .upload-pannel{width:100%}.file-upload .upload-wrapper .upload-main .upload-empty{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.file-upload .upload-wrapper .upload-main .upload-item{cursor:pointer}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-file-icon{display:inline-block;width:10px}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-name{margin-left:10px;display:inline-block;max-width:230px;word-break:break-all}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-upload-delete{display:inline-block;width:10px;color:#9c24f2;display:none}.file-upload .upload-wrapper .upload-main .upload-item:hover{background:rgba(0,0,0,.04)}.file-upload .upload-wrapper .upload-main .upload-item:hover .upload-item-upload-delete{display:inline-block}.card-title{display:flex;justify-content:space-between;align-items:center;color:#393939;font-size:14px}.card-title .name{font-weight:500}.card-title .actions{font-weight:400;display:flex;gap:12px}.card-title .actions .action{padding:4px 2px;cursor:pointer}.card-title .actions .action .detail{display:flex;gap:6px;align-items:center}.split-line{width:100%;height:1px;border:.5px solid #e8e9eb}.upload-popover{z-index:1}
@@ -1 +1 @@
1
- .connect{position:relative}.connect .net-tip{position:absolute;top:-45px;left:50%;transform:translate(-88%);white-space:nowrap;background:#ffffff;padding:8px;border-radius:4px;box-shadow:0 2px 8px #00000026;z-index:10}
1
+ .prompt-btn:hover,.prompt-btn:active,.prompt-btn.active{color:#9c24f2}.propmt-manage-popover .ant-popover-title{display:flex;align-items:center;font-size:16px;border:none}.propmt-manage-popover .ant-popover-title .prompt-popover-title{width:100%;display:flex;justify-content:space-between}.propmt-manage-popover .ant-popover-inner-content{padding:0;width:100%}.propmt-manage-popover .ant-popover-arrow{display:none}.propmt-manage-popover .ant-tabs-nav:before{border:0}
@@ -1 +1 @@
1
- .prompt-list-wrap{width:100%;height:250px}.prompt-list-wrap .prompt-list{height:204px;overflow:auto;width:100%}.prompt-list-wrap .prompt-list-footer{height:46px;display:flex;align-items:center;border-top:1px solid #f0f0f0;padding:0 16px;margin:0 -16px}.prompt-list-wrap .prompt-list-item{height:51px;padding:4px;display:flex;justify-content:space-between;overflow:hidden}.prompt-list-wrap .prompt-list-item-body{flex-grow:1;overflow:hidden}.prompt-list-wrap .prompt-list-item-title{font-size:14px}.prompt-list-wrap .prompt-list-item-title .hightlight{color:#9c24f2}.prompt-list-wrap .prompt-list-item-context{line-height:21px;font-size:12px;width:100%}.prompt-list-wrap .prompt-list-item-actions{display:none;align-items:center}.prompt-list-wrap .prompt-list-item-actions .ant-btn{color:#9c24f2}.prompt-list-wrap .prompt-list-item:hover{background-color:#f9f2ff;cursor:pointer}.prompt-list-wrap .prompt-list-item:hover .prompt-list-item-actions{display:flex}.prompt-list-wrap .prompt-list-empty{max-width:500px;margin:0 auto;overflow:hidden}.prompt-list-wrap .prompt-list-empty-tips{height:124px;overflow:hidden;width:100%;display:flex;flex-direction:row;justify-content:space-around;align-items:flex-end}.prompt-list-wrap .prompt-list-empty-tips-item{width:200px;font-size:12px;display:flex;flex-direction:column}.prompt-list-wrap .prompt-list-empty-tips-item img{max-width:100%;margin-bottom:16px}.prompt-list-wrap .add-prompt-btn{padding-left:0}
1
+ .file-item{height:64px;border-radius:6px;overflow:hidden;padding:12px;display:flex;background:white;cursor:pointer}.file-item .item-left{flex:0 0 40px;margin-right:8px}.file-item .item-left .file-icon{width:100%}.file-item .item-main{flex:1;overflow:hidden}.file-item .item-main .file-name{width:100%;font-size:14px;color:#070c14;font-weight:700;line-height:18px;margin-bottom:4px}.file-item .item-main .file-desc{font-size:12px;height:15px;color:#84868c}
@@ -1 +1 @@
1
- .json-display{margin:0;padding:4px}
1
+ .session-refer{padding:12px 0;border-top:1px solid #e8e9eb}.session-refer .session-refer-header{color:#070c14;margin-bottom:12px;height:18px;display:flex;align-items:center}.session-refer .session-refer-header .refer-header-title{font-style:normal;font-weight:400;line-height:150%}.session-refer .session-refer-content .refer-markdown p{color:#84868c;line-height:150%}.session-refer .ant-collapse-header{padding:4px 0!important}.session-refer .ant-collapse-content-box{padding:4px 10px 4px 24px!important}
@@ -1 +1 @@
1
- .session-refer{padding:12px 0;border-top:1px solid #e8e9eb}.session-refer .session-refer-header{color:#070c14;margin-bottom:12px;height:18px;display:flex;align-items:center}.session-refer .session-refer-header .refer-header-title{font-style:normal;font-weight:400;line-height:150%}.session-refer .session-refer-content .refer-markdown p{color:#84868c;line-height:150%}.session-refer .ant-collapse-header{padding:4px 0!important}.session-refer .ant-collapse-content-box{padding:4px 10px 4px 24px!important}
1
+ .session-action{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e8e9eb;color:#84868c}.session-action .session-action-again{cursor:pointer;user-select:none}.session-action .session-action-again:hover{color:#b452ff}.session-action .session-action-comment{border-radius:4px;padding:4px}.session-action .session-action-comment .action-comment-feedback{font-size:16px}.session-action .session-action-comment .action-comment-feedback .comment-feedback-item{display:inline-block;width:100%;height:100%;cursor:pointer}.session-action .session-action-comment .action-comment-feedback .comment-feedback-item:hover{color:#b452ff}.session-action .session-action-comment .action-comment-feedback .comment-feedback-item__active{color:#9c24f2}.cai-pannel{width:260px;overflow:hidden}.cai-pannel .cai-error{color:#f33e3e;margin-bottom:12px}.cai-pannel .cai-title{margin-bottom:12px}.cai-pannel .cai-title .cai-require{color:#f33e3e}.cai-pannel .cai-title .cai-question{color:#070c14;text-align:center;font-size:14px}.cai-pannel .cai-list{display:flex;flex-wrap:wrap}.cai-pannel .cai-list .cai-item{padding:6px 8px;border-radius:4px;border:1px solid #e8e9eb;margin-bottom:12px;margin-right:12px;cursor:pointer}.cai-pannel .cai-list .cai-item:hover{color:#b452ff;border:1px solid #b452ff}.cai-pannel .cai-list .cai-item__active{color:#8614cc;border:1px solid #8614cc}.chat-item:last-child{margin-bottom:0}
@@ -0,0 +1 @@
1
+ .markdown{word-break:break-all}.markdown :last-child{margin-bottom:0}.markdown div,.markdown hr,.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6,.markdown p,.markdown table,.markdown code,.markdown img,.markdown address,.markdown blockquote,.markdown dir,.markdown menu,.markdown pre,.markdown ul,.markdown ol,.markdown li,.markdown dl{margin-bottom:12px;line-height:150%;white-space:pre-wrap}.markdown div:last-child,.markdown hr:last-child,.markdown h1:last-child,.markdown h2:last-child,.markdown h3:last-child,.markdown h4:last-child,.markdown h5:last-child,.markdown h6:last-child,.markdown p:last-child,.markdown table:last-child,.markdown code:last-child,.markdown img:last-child,.markdown address:last-child,.markdown blockquote:last-child,.markdown dir:last-child,.markdown menu:last-child,.markdown pre:last-child,.markdown ul:last-child,.markdown ol:last-child,.markdown li:last-child,.markdown dl:last-child{margin-bottom:0}.markdown ul,.markdown ol{padding-inline-start:20px}.markdown ul{list-style-type:disc}.markdown ol{list-style-type:decimal}.markdown ul,.markdown li{white-space:normal;margin-bottom:8px}.markdown table{display:block;border-collapse:collapse;border-radius:4px;max-width:100%;overflow:auto;width:max-content}.markdown td,.markdown th{border:1px solid #e8e9eb;padding:6px 13px;text-align:left}.markdown tr{color:#151b26;background-color:#fff}.markdown th{background-color:#f9f2ff;color:#000}.markdown tr:hover td{background-color:#fff}.markdown p code{background:#f9f2ff;border-radius:4px;padding:4px;display:inline;font-size:12px;color:#070c14}.markdown .markdown-code-title{margin:0;padding:0 16px;height:36px;border-radius:8px 8px 0 0;background:#f9f2ff;display:flex;align-items:center;justify-content:space-between;line-height:21px;font-weight:500;color:#070c14}.markdown .markdown-code-context{padding:16px;background:rgba(249,242,255,.3)!important;margin:0!important;border-radius:0 0 8px 8px}.markdown .markdown-code-context code{margin:0;font-size:85%;background:none;font-size:14px}.markdown .markdown-code-context code>span{flex-wrap:wrap}.markdown p{white-space:pre-line}.markdown pre code.hljs{display:block;overflow-x:auto;padding:1em}.markdown p{line-height:150%;height:auto!important}.markdown img{max-width:100%}.markdown a,.markdown a:hover{color:#0f64ff}.markdown code.hljs{padding:3px 5px}.markdown .hljs{background:rgba(249,242,255,.3);color:#000}.markdown .hljs-comment{color:#697070}.markdown .hljs-tag,.markdown .hljs-punctuation{color:#000a}.markdown .hljs-tag .hljs-name,.markdown .hljs-tag .hljs-attr{color:#000}.markdown .hljs-keyword,.markdown .hljs-attribute,.markdown .hljs-selector-tag,.markdown .hljs-meta .hljs-keyword,.markdown .hljs-doctag,.markdown .hljs-name{font-weight:700}.markdown .hljs-type,.markdown .hljs-string,.markdown .hljs-number,.markdown .hljs-selector-id,.markdown .hljs-selector-class,.markdown .hljs-quote,.markdown .hljs-template-tag,.markdown .hljs-deletion{color:#800}.markdown .hljs-title,.markdown .hljs-section{color:#800;font-weight:700}.markdown .hljs-regexp,.markdown .hljs-symbol,.markdown .hljs-variable,.markdown .hljs-template-variable,.markdown .hljs-link,.markdown .hljs-selector-attr,.markdown .hljs-operator,.markdown .hljs-selector-pseudo{color:#ab5656}.markdown .hljs-literal{color:#695}.markdown .hljs-built_in,.markdown .hljs-bullet,.markdown .hljs-code,.markdown .hljs-addition{color:#397300}.markdown .hljs-meta{color:#1f7199}.markdown .hljs-meta .hljs-string{color:#38a}.markdown .hljs-emphasis{font-style:italic}.markdown .hljs-strong{font-weight:700}.markdown .ant-image{margin-bottom:6px!important}.markdown .ant-image .ant-image-img{margin-bottom:0!important}
@@ -1 +1 @@
1
- .search-reference .bot-net-panel{user-select:none;margin-bottom:10px;width:180px;height:32px;background:white;line-height:32px;display:flex;justify-content:space-between;padding:0 12px;cursor:pointer}.search-reference .bot-net-main{background:white;padding:12px;line-height:22px}.search-reference .bot-net-main .text .link{cursor:pointer;color:#0f64ff}.search-reference .think-top{font-size:14px;line-height:24px;color:#070c14;display:flex;align-items:center;margin-bottom:12px;cursor:pointer}.search-reference .think-top img{width:24px;margin-right:4px}.search-reference .think-top .think-action{margin-left:8px}.search-reference .thinking{width:12px;height:12px;background:#b752ea;border-radius:50%;margin:6px}.search-reference .thinked{width:12px;height:12px;background:#04d68d;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;font-size:8px;margin:6px}.search-reference .thinked.error{background:#f33e3e}.search-reference .item-bot-plugin{line-height:24px}.search-reference .item-bot-plugin .bot-plugin-status .icon-search{font-size:24px}.search-reference .item-bot-plugin .bot-plugin-status .plugin-status-success{display:inline-block;width:14px;height:14px;color:#fff;background:#47d1cb;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.search-reference .item-bot-plugin .bot-plugin-status .plugin-status-error{display:inline-block;width:14px;height:14px;color:#fff;background:#f95b81;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.search-reference .item-bot-plugin .bot-plugin-status .plugin-status-loading{display:inline-block;width:14px;height:14px;color:#477bff;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.search-reference .item-bot-plugin .bot-plugin-title{font-weight:700;color:#000000a6}.search-reference .item-bot-plugin .bot-plugin-action{border:1px solid #00000026;border-radius:4px;color:#000000e0;padding:1px 8px}.search-reference .item-bot-plugin .ant-collapse-header{padding:0;height:38px;display:flex;align-items:center}.search-reference .item-bot-plugin .ant-collapse-content-box{padding:0}.search-reference .item-bot-plugin .bot-plugin-content{height:32px;line-height:32px;font-weight:700}.search-reference .item-bot-plugin .bot-plugin-json{background:white}.search-reference .ant-collapse-item{padding:0 8px}.search-reference-list{margin-right:8px;border-radius:6px}.search-reference-list-item{display:flex;flex-direction:column;padding:12px 8px 8px;gap:0px 10px;flex-wrap:wrap;align-content:flex-start;border-radius:6px;background:#FFFFFF;box-sizing:border-box;border:1px solid #E5E7EB;margin-bottom:8px}.search-reference-list-item :last-child{margin-bottom:0}.search-reference-list-item :hover{cursor:pointer}.search-reference-list-item-footer{display:flex;justify-content:space-between;padding:0;row-gap:0px;flex-wrap:wrap;align-content:flex-start;z-index:0;line-height:24px;align-items:center}.search-reference-list-item-footer .logo{width:24px;height:24px}.search-reference-list-item-footer .name{font-family:Roboto;font-size:12x;font-weight:400;line-height:24px;letter-spacing:normal;color:#4b5563}.search-reference-list-item-footer .time{font-family:Roboto;font-size:12x;font-weight:400;line-height:24px;letter-spacing:normal;color:#9ca3af}.search-reference-list-item-title{font-family:Roboto;font-size:16px;font-weight:600;line-height:28px;letter-spacing:normal;color:#000}.search-reference-list-item-title .number{margin-right:4px}.search-reference-list-item-content{font-family:Roboto;font-size:14px;font-weight:400;line-height:24px;letter-spacing:normal;color:#4b5563;padding:0 8px;display:inline-block}
1
+ .json-display{margin:0;padding:4px}
@@ -1 +1 @@
1
- .markdown{word-break:break-all}.markdown :last-child{margin-bottom:0}.markdown div,.markdown hr,.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6,.markdown p,.markdown table,.markdown code,.markdown img,.markdown address,.markdown blockquote,.markdown dir,.markdown menu,.markdown pre,.markdown ul,.markdown ol,.markdown li,.markdown dl{margin-bottom:12px;line-height:150%;white-space:pre-wrap}.markdown div:last-child,.markdown hr:last-child,.markdown h1:last-child,.markdown h2:last-child,.markdown h3:last-child,.markdown h4:last-child,.markdown h5:last-child,.markdown h6:last-child,.markdown p:last-child,.markdown table:last-child,.markdown code:last-child,.markdown img:last-child,.markdown address:last-child,.markdown blockquote:last-child,.markdown dir:last-child,.markdown menu:last-child,.markdown pre:last-child,.markdown ul:last-child,.markdown ol:last-child,.markdown li:last-child,.markdown dl:last-child{margin-bottom:0}.markdown ul,.markdown ol{padding-inline-start:20px}.markdown ul{list-style-type:disc}.markdown ol{list-style-type:decimal}.markdown ul,.markdown li{white-space:normal;margin-bottom:8px}.markdown table{display:block;border-collapse:collapse;border-radius:4px;max-width:100%;overflow:auto;width:max-content}.markdown td,.markdown th{border:1px solid #e8e9eb;padding:6px 13px;text-align:left}.markdown tr{color:#151b26;background-color:#fff}.markdown th{background-color:#f9f2ff;color:#000}.markdown tr:hover td{background-color:#fff}.markdown p code{background:#f9f2ff;border-radius:4px;padding:4px;display:inline;font-size:12px;color:#070c14}.markdown .markdown-code-title{margin:0;padding:0 16px;height:36px;border-radius:8px 8px 0 0;background:#f9f2ff;display:flex;align-items:center;justify-content:space-between;line-height:21px;font-weight:500;color:#070c14}.markdown .markdown-code-context{padding:16px;background:rgba(249,242,255,.3)!important;margin:0!important;border-radius:0 0 8px 8px}.markdown .markdown-code-context code{margin:0;font-size:85%;background:none;font-size:14px}.markdown .markdown-code-context code>span{flex-wrap:wrap}.markdown p{white-space:pre-line}.markdown pre code.hljs{display:block;overflow-x:auto;padding:1em}.markdown p{line-height:150%;height:auto!important}.markdown img{max-width:100%}.markdown a,.markdown a:hover{color:#0f64ff}.markdown code.hljs{padding:3px 5px}.markdown .hljs{background:rgba(249,242,255,.3);color:#000}.markdown .hljs-comment{color:#697070}.markdown .hljs-tag,.markdown .hljs-punctuation{color:#000a}.markdown .hljs-tag .hljs-name,.markdown .hljs-tag .hljs-attr{color:#000}.markdown .hljs-keyword,.markdown .hljs-attribute,.markdown .hljs-selector-tag,.markdown .hljs-meta .hljs-keyword,.markdown .hljs-doctag,.markdown .hljs-name{font-weight:700}.markdown .hljs-type,.markdown .hljs-string,.markdown .hljs-number,.markdown .hljs-selector-id,.markdown .hljs-selector-class,.markdown .hljs-quote,.markdown .hljs-template-tag,.markdown .hljs-deletion{color:#800}.markdown .hljs-title,.markdown .hljs-section{color:#800;font-weight:700}.markdown .hljs-regexp,.markdown .hljs-symbol,.markdown .hljs-variable,.markdown .hljs-template-variable,.markdown .hljs-link,.markdown .hljs-selector-attr,.markdown .hljs-operator,.markdown .hljs-selector-pseudo{color:#ab5656}.markdown .hljs-literal{color:#695}.markdown .hljs-built_in,.markdown .hljs-bullet,.markdown .hljs-code,.markdown .hljs-addition{color:#397300}.markdown .hljs-meta{color:#1f7199}.markdown .hljs-meta .hljs-string{color:#38a}.markdown .hljs-emphasis{font-style:italic}.markdown .hljs-strong{font-weight:700}.markdown .ant-image{margin-bottom:6px!important}.markdown .ant-image .ant-image-img{margin-bottom:0!important}
1
+ .search-reference .bot-net-panel{user-select:none;margin-bottom:10px;width:180px;height:32px;background:white;line-height:32px;display:flex;justify-content:space-between;padding:0 12px;cursor:pointer}.search-reference .bot-net-main{background:white;padding:12px;line-height:22px}.search-reference .bot-net-main .text .link{cursor:pointer;color:#0f64ff}.search-reference .think-top{font-size:14px;line-height:24px;color:#070c14;display:flex;align-items:center;margin-bottom:12px;cursor:pointer}.search-reference .think-top img{width:24px;margin-right:4px}.search-reference .think-top .think-action{margin-left:8px}.search-reference .thinking{width:12px;height:12px;background:#b752ea;border-radius:50%;margin:6px}.search-reference .thinked{width:12px;height:12px;background:#04d68d;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;font-size:8px;margin:6px}.search-reference .thinked.error{background:#f33e3e}.search-reference .item-bot-plugin{line-height:24px}.search-reference .item-bot-plugin .bot-plugin-status .icon-search{font-size:24px}.search-reference .item-bot-plugin .bot-plugin-status .plugin-status-success{display:inline-block;width:14px;height:14px;color:#fff;background:#47d1cb;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.search-reference .item-bot-plugin .bot-plugin-status .plugin-status-error{display:inline-block;width:14px;height:14px;color:#fff;background:#f95b81;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.search-reference .item-bot-plugin .bot-plugin-status .plugin-status-loading{display:inline-block;width:14px;height:14px;color:#477bff;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.search-reference .item-bot-plugin .bot-plugin-title{font-weight:700;color:#000000a6}.search-reference .item-bot-plugin .bot-plugin-action{border:1px solid #00000026;border-radius:4px;color:#000000e0;padding:1px 8px}.search-reference .item-bot-plugin .ant-collapse-header{padding:0;height:38px;display:flex;align-items:center}.search-reference .item-bot-plugin .ant-collapse-content-box{padding:0}.search-reference .item-bot-plugin .bot-plugin-content{height:32px;line-height:32px;font-weight:700}.search-reference .item-bot-plugin .bot-plugin-json{background:white}.search-reference .ant-collapse-item{padding:0 8px}.search-reference-list{margin-right:8px;border-radius:6px}.search-reference-list-item{display:flex;flex-direction:column;padding:12px 8px 8px;gap:0px 10px;flex-wrap:wrap;align-content:flex-start;border-radius:6px;background:#FFFFFF;box-sizing:border-box;border:1px solid #E5E7EB;margin-bottom:8px}.search-reference-list-item :last-child{margin-bottom:0}.search-reference-list-item :hover{cursor:pointer}.search-reference-list-item-footer{display:flex;justify-content:space-between;padding:0;row-gap:0px;flex-wrap:wrap;align-content:flex-start;z-index:0;line-height:24px;align-items:center}.search-reference-list-item-footer .logo{width:24px;height:24px}.search-reference-list-item-footer .name{font-family:Roboto;font-size:12x;font-weight:400;line-height:24px;letter-spacing:normal;color:#4b5563}.search-reference-list-item-footer .time{font-family:Roboto;font-size:12x;font-weight:400;line-height:24px;letter-spacing:normal;color:#9ca3af}.search-reference-list-item-title{font-family:Roboto;font-size:16px;font-weight:600;line-height:28px;letter-spacing:normal;color:#000}.search-reference-list-item-title .number{margin-right:4px}.search-reference-list-item-content{font-family:Roboto;font-size:14px;font-weight:400;line-height:24px;letter-spacing:normal;color:#4b5563;padding:0 8px;display:inline-block}
@@ -1 +1 @@
1
- .file-item{height:64px;border-radius:6px;overflow:hidden;padding:12px;display:flex;background:white;cursor:pointer}.file-item .item-left{flex:0 0 40px;margin-right:8px}.file-item .item-left .file-icon{width:100%}.file-item .item-main{flex:1;overflow:hidden}.file-item .item-main .file-name{width:100%;font-size:14px;color:#070c14;font-weight:700;line-height:18px;margin-bottom:4px}.file-item .item-main .file-desc{font-size:12px;height:15px;color:#84868c}
1
+ .session-related{padding-bottom:12px}.session-related .session-related-header{height:18px;padding:0}.session-related .session-related-main .question-main-item{color:#0f64ff;display:flex;align-items:center;cursor:pointer}.session-related .session-related-main .question-main-item:before{content:"";display:block;background:#0f64ff;width:4px;height:4px;border-radius:50%;margin:0 8px;cursor:pointer}
@@ -1 +1 @@
1
- .session-related{padding-bottom:12px}.session-related .session-related-header{height:18px;padding:0}.session-related .session-related-main .question-main-item{color:#0f64ff;display:flex;align-items:center;cursor:pointer}.session-related .session-related-main .question-main-item:before{content:"";display:block;background:#0f64ff;width:4px;height:4px;border-radius:50%;margin:0 8px;cursor:pointer}
1
+ .ant-drawer-content-wrapper{height:calc(100% - 54px)!important;border-radius:12px 12px 0 0}.ant-drawer-content-wrapper .ant-drawer-header{padding:12px 16px;border-bottom:none}.ant-drawer-content-wrapper .ant-drawer-header .ant-drawer-header-title{justify-content:space-between;flex-direction:row-reverse;font-size:16px;color:#393939}.ant-drawer-content-wrapper .ant-drawer-header .ant-drawer-header-title .ant-drawer-close{margin:0;padding:0}.ant-drawer-content-wrapper .ant-drawer-body{padding:0 16px 26px}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel{max-height:124px;width:100%;padding:2px 0;border-bottom:1px solid #e8e9eb}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .session-item-space{padding:10px 0;overflow:hidden}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel:hover{cursor:pointer}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .ant-space{width:100%}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question{font-size:14px;font-weight:700;line-height:21px;color:#070c14;width:100%;display:flex;align-items:center;justify-content:space-between}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .ant-tag{width:58px;height:24px;padding:1px 8px;border-radius:4px;font-size:14px;font-weight:400;background-color:#9c24f2;color:#fff}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .session-item-name{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .icons-bar{display:flex}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .icons-bar .ant-btn{margin:0 3px}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .ant-btn{width:20px;height:20px;padding:0;font-size:12px;color:#000}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .name-edit-panel{width:100%;position:relative}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .name-edit-panel .name-edit-input{width:100%}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .name-edit-panel .name-edit-input .ant-input-show-count-suffix{font-size:12px;font-weight:400;color:#e0e0e0;margin-right:60px}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .name-edit-panel .ant-btn{position:absolute;right:12px;top:7px;z-index:999}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .name-edit-panel .ant-btn .anticon{font-size:14px}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-answer{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#84868c}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-file{font-size:12px;color:#84868c}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-file .file-icon{width:16px;height:16px}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-file .file-name{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-file .ant-tag{font-size:10px;border:1px solid #84868c;background-color:transparent;color:#84868c}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-file .file-status-icon{position:absolute;left:6px;top:-2px;border-radius:10px;border:1px solid #fff}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-file .success-file-icon{color:#45cc27}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-file .failed-file-icon{color:#dc4446}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-file .loading-file-icon{height:12px;width:12px;font-size:10px;background-color:#fff}.ant-drawer-content-wrapper .ant-drawer-body .current-item{margin:2px 0}.ant-drawer-content-wrapper .ant-drawer-body .current-item .session-item-space{border-radius:8px;background-color:#f9f2ff;padding:8px}.loading-panel .ant-drawer-body{display:flex;justify-content:center;align-items:center}