@glodon-aiot/agent-cli-ui 3.2.10-beta.12 → 3.2.10-beta.2
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/es/Dialog/AgentChat/index.mjs +418 -478
- package/dist/es/Dialog/HistoryItem/index.mjs +50 -52
- package/dist/es/Dialog/KnowledgeList/index.mjs +19 -19
- package/dist/es/Dialog/Recommend/RecommendItem.mjs +43 -52
- package/dist/es/Dialog/SearchReference/index.mjs +41 -68
- package/dist/es/Dialog/SessionAction/index.mjs +32 -34
- package/dist/es/Dialog/SessionListDrawer/HistorySessionList/index.mjs +69 -74
- package/dist/es/Dialog/UploadKnowledgeFiles/index.mjs +164 -198
- package/dist/es/Dialog/index.mjs +56 -56
- package/dist/es/FileItem/index.mjs +50 -63
- package/dist/es/Iconfont/index.mjs +2 -2
- package/dist/es/constant.mjs +2 -8
- package/dist/es/index.mjs +48 -49
- package/dist/es/src/style11.css +1 -1
- package/dist/es/src/style12.css +1 -1
- package/dist/es/src/style13.css +1 -1
- package/dist/es/src/style14.css +1 -1
- package/dist/es/src/style15.css +1 -1
- package/dist/es/src/style16.css +1 -1
- package/dist/es/src/style17.css +1 -1
- package/dist/es/src/style19.css +1 -1
- package/dist/es/src/style20.css +1 -1
- package/dist/es/src/style21.css +1 -0
- package/dist/es/src/style22.css +1 -1
- package/dist/es/src/style23.css +0 -1
- package/dist/es/src/style24.css +1 -1
- package/dist/es/src/style25.css +1 -1
- package/dist/es/src/style26.css +1 -1
- package/dist/es/src/style27.css +1 -1
- package/dist/es/src/style28.css +1 -1
- package/dist/es/src/style3.css +1 -1
- package/dist/es/src/style30.css +1 -1
- package/dist/es/src/style31.css +1 -1
- package/dist/es/src/style32.css +1 -1
- package/dist/es/src/style4.css +1 -1
- package/dist/es/src/style5.css +1 -1
- package/dist/es/src/style6.css +1 -1
- package/dist/es/src/style8.css +1 -1
- package/dist/es/src/style9.css +1 -1
- package/dist/lib/index.css +1 -1
- package/dist/lib/index.js +5 -5
- package/dist/src/Dialog/SearchReference/index.d.ts +1 -4
- package/dist/src/types.d.ts +1 -10
- package/package.json +3 -3
- package/dist/src/Iconfont/font_4108228_z72fskklg2.d.ts +0 -0
package/dist/es/constant.mjs
CHANGED
|
@@ -43,9 +43,6 @@ const s = {
|
|
|
43
43
|
referenceFirst: !1,
|
|
44
44
|
isExpand: !1
|
|
45
45
|
},
|
|
46
|
-
searchReference: {
|
|
47
|
-
openTarget: "_blank"
|
|
48
|
-
},
|
|
49
46
|
promptVariables: !0
|
|
50
47
|
},
|
|
51
48
|
features: {
|
|
@@ -67,9 +64,6 @@ const s = {
|
|
|
67
64
|
file: !0,
|
|
68
65
|
itemExpanded: !1
|
|
69
66
|
},
|
|
70
|
-
searchReference: {
|
|
71
|
-
openTarget: "_blank"
|
|
72
|
-
},
|
|
73
67
|
relatedQuesions: !0,
|
|
74
68
|
// dialog only
|
|
75
69
|
footer: {
|
|
@@ -92,9 +86,9 @@ const s = {
|
|
|
92
86
|
defaultInput: {
|
|
93
87
|
text: ""
|
|
94
88
|
}
|
|
95
|
-
}, i = "https://copilot.glodon.com/api/cvforcepd", n = "https://copilot.glodon.com/portal/_/aecpilot/fe/", a = 1024, p = 1024 * 1024,
|
|
89
|
+
}, i = "https://copilot.glodon.com/api/cvforcepd", n = "https://copilot.glodon.com/portal/_/aecpilot/fe/", a = 1024, p = 1024 * 1024, u = 1024 * 1024 * 1024;
|
|
96
90
|
export {
|
|
97
|
-
|
|
91
|
+
u as GB,
|
|
98
92
|
a as KB,
|
|
99
93
|
p as MB,
|
|
100
94
|
t as brand,
|
package/dist/es/index.mjs
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var J = Object.defineProperty, Q = Object.defineProperties;
|
|
2
|
+
var G = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var $ = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var w = (l, i, s) => i in l ?
|
|
4
|
+
var K = Object.prototype.hasOwnProperty, X = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var w = (l, i, s) => i in l ? J(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
|
-
|
|
7
|
+
K.call(i, s) && w(l, s, i[s]);
|
|
8
8
|
if ($)
|
|
9
9
|
for (var s of $(i))
|
|
10
|
-
|
|
10
|
+
X.call(i, s) && w(l, s, i[s]);
|
|
11
11
|
return l;
|
|
12
|
-
}, C = (l, i) =>
|
|
12
|
+
}, C = (l, i) => Q(l, G(i));
|
|
13
13
|
var h = (l, i, s) => (w(l, typeof i != "symbol" ? i + "" : i, s), s);
|
|
14
|
-
import { jsx as O, Fragment as
|
|
14
|
+
import { jsx as O, Fragment as Y } from "react/jsx-runtime";
|
|
15
15
|
import g from "lodash/merge";
|
|
16
16
|
import P from "react-dom";
|
|
17
|
-
import
|
|
18
|
-
import { notification as
|
|
19
|
-
import
|
|
20
|
-
import { defaultUIConfig as
|
|
21
|
-
import { ApiUrl as
|
|
22
|
-
/* empty css */import { AgentClientUIApi as
|
|
23
|
-
import { JWT as
|
|
17
|
+
import Z from "./AgentClientUI.mjs";
|
|
18
|
+
import { notification as R } from "antd";
|
|
19
|
+
import q from "axios";
|
|
20
|
+
import { defaultUIConfig as ee, defaultApiUrl as ie, defaultDovViewerUrl as te } from "./constant.mjs";
|
|
21
|
+
import { ApiUrl as oe } from "./types.mjs";
|
|
22
|
+
/* empty css */import { AgentClientUIApi as se } from "@glodon-aiot/apis";
|
|
23
|
+
import { JWT as re, isExpired as ne } from "./utils/index.mjs";
|
|
24
24
|
const b = {};
|
|
25
|
-
class
|
|
25
|
+
class be {
|
|
26
26
|
constructor(i) {
|
|
27
27
|
h(this, "_token");
|
|
28
28
|
h(this, "_activeSession", null);
|
|
@@ -36,14 +36,14 @@ class we {
|
|
|
36
36
|
h(this, "service");
|
|
37
37
|
h(this, "rId", 0);
|
|
38
38
|
h(this, "_mode", "float");
|
|
39
|
-
h(this, "uiConfig",
|
|
39
|
+
h(this, "uiConfig", ee);
|
|
40
40
|
h(this, "errorHandlers", {});
|
|
41
41
|
h(this, "wrapper", document.createElement("div"));
|
|
42
|
-
var _, y, U, x, S, B, H, z, A, L,
|
|
42
|
+
var _, y, U, x, S, B, H, z, A, L, V, M, N, E, F, D, T, j, W;
|
|
43
43
|
const {
|
|
44
44
|
env: s,
|
|
45
45
|
token: d,
|
|
46
|
-
mode:
|
|
46
|
+
mode: f = "float",
|
|
47
47
|
triggerButton: m,
|
|
48
48
|
size: a,
|
|
49
49
|
apiUrl: r,
|
|
@@ -54,10 +54,10 @@ class we {
|
|
|
54
54
|
} = i;
|
|
55
55
|
this._token = d, this.rId = 0, this._defatulSessionId = p, this.errorHandlers = o(o({}, this.errorHandlers), n);
|
|
56
56
|
const k = {
|
|
57
|
-
sessionOpen:
|
|
58
|
-
sessionList:
|
|
59
|
-
}, I = (U = (y = (_ = e == null ? void 0 : e.botMessageBox) == null ? void 0 : _.footer) == null ? void 0 : y.items) == null ? void 0 : U.find((
|
|
60
|
-
(B = (S = (x = e == null ? void 0 : e.botMessageBox) == null ? void 0 : x.footer) == null ? void 0 : S.items) == null || B.find((
|
|
57
|
+
sessionOpen: f === "float",
|
|
58
|
+
sessionList: f === "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((c) => c.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((c) => c.componentName === "Copy");
|
|
61
61
|
const u = {
|
|
62
62
|
sessionList: e == null ? void 0 : e.sessionList,
|
|
63
63
|
sessionOpen: e == null ? void 0 : e.newSession,
|
|
@@ -69,25 +69,24 @@ class we {
|
|
|
69
69
|
relate: (A = e == null ? void 0 : e.botMessageBox) == null ? void 0 : A.relatedQuesions,
|
|
70
70
|
again: !(I && I.visible === !1),
|
|
71
71
|
reference: {
|
|
72
|
-
iconVisible: (
|
|
73
|
-
referenceFirst: (
|
|
72
|
+
iconVisible: (V = (L = e == null ? void 0 : e.botMessageBox) == null ? void 0 : L.reference) == null ? void 0 : V.file,
|
|
73
|
+
referenceFirst: (M = e == null ? void 0 : e.botMessageBox) == null ? void 0 : M.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
|
-
searchReference: (F = e == null ? void 0 : e.botMessageBox) == null ? void 0 : F.searchReference,
|
|
77
76
|
knowledges: !!(e != null && e.knowledges),
|
|
78
77
|
metadata: e == null ? void 0 : e.metadata,
|
|
79
78
|
greet: e == null ? void 0 : e.greeting,
|
|
80
79
|
imageUpload: e == null ? void 0 : e.imageUpload,
|
|
81
80
|
// connectNetwork: features?.connectNetwork ? true : false,
|
|
82
|
-
promptVariables: (e == null ? void 0 : e.promptVariables) === void 0 ? (
|
|
83
|
-
connectNetwork: (e == null ? void 0 : e.connectNetwork) === void 0 ? (
|
|
81
|
+
promptVariables: (e == null ? void 0 : e.promptVariables) === void 0 ? (F = this.uiConfig.transform) == null ? void 0 : F.promptVariables : (e == null ? void 0 : e.promptVariables) === !0 || typeof (e == null ? void 0 : e.promptVariables) == "object" && ((D = e == null ? void 0 : e.promptVariables) == null ? void 0 : D.visible) !== !1 ? (T = this.uiConfig.transform) == null ? void 0 : T.promptVariables : !1,
|
|
82
|
+
connectNetwork: (e == null ? void 0 : e.connectNetwork) === void 0 ? (j = this.uiConfig.transform) == null ? void 0 : j.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 = {
|
|
85
|
-
sider:
|
|
84
|
+
sider: f === "inlay"
|
|
86
85
|
};
|
|
87
|
-
if (i.header !== void 0 && (v.showHeader = !!i.header), i.sider !== void 0 && (v.sider = !!i.sider), Object.keys(u).forEach((
|
|
88
|
-
u[
|
|
89
|
-
}),
|
|
90
|
-
const
|
|
86
|
+
if (i.header !== void 0 && (v.showHeader = !!i.header), i.sider !== void 0 && (v.sider = !!i.sider), Object.keys(u).forEach((c) => {
|
|
87
|
+
u[c] === void 0 && delete u[c];
|
|
88
|
+
}), f === "inlay") {
|
|
89
|
+
const c = {
|
|
91
90
|
triggerButton: g({
|
|
92
91
|
visible: !1
|
|
93
92
|
}, m),
|
|
@@ -103,20 +102,20 @@ class we {
|
|
|
103
102
|
theme: g(this.uiConfig.theme, b),
|
|
104
103
|
history: !0
|
|
105
104
|
};
|
|
106
|
-
this.uiConfig = C(o(o(o(o({}, this.uiConfig), i),
|
|
105
|
+
this.uiConfig = C(o(o(o(o({}, this.uiConfig), i), c), v), {
|
|
107
106
|
transform: o(o(o(o({}, this.uiConfig.transform), k), i.transform), u)
|
|
108
107
|
}), this.wrapper = this.uiConfig.getContainer();
|
|
109
108
|
} else {
|
|
110
|
-
const
|
|
109
|
+
const c = {
|
|
111
110
|
triggerButton: g(this.uiConfig.triggerButton, m),
|
|
112
111
|
size: g(this.uiConfig.size, o({}, a)),
|
|
113
112
|
theme: g(this.uiConfig.theme, b)
|
|
114
113
|
};
|
|
115
|
-
this.uiConfig = C(o(o(o(o(o({}, this.uiConfig), i),
|
|
114
|
+
this.uiConfig = C(o(o(o(o(o({}, this.uiConfig), i), c), v), u), {
|
|
116
115
|
transform: o(o(o(o({}, this.uiConfig.transform), k), i.transform), u)
|
|
117
116
|
}), this.uiConfig.getContainer().append(this.wrapper);
|
|
118
117
|
}
|
|
119
|
-
this._mode =
|
|
118
|
+
this._mode = f, this.env = s || "prod", this._applicationId = re(d).rid, this.apiUrl = r || oe[this.env] || ie, this.docViewerUrl = t || te, this.service = this.setService(), this.render();
|
|
120
119
|
}
|
|
121
120
|
get token() {
|
|
122
121
|
return this._token;
|
|
@@ -168,7 +167,7 @@ class we {
|
|
|
168
167
|
const n = this.token;
|
|
169
168
|
if (!n)
|
|
170
169
|
return t;
|
|
171
|
-
if (
|
|
170
|
+
if (ne(n)) {
|
|
172
171
|
const p = "token is timeout";
|
|
173
172
|
this.errorHandlers.token ? typeof this.errorHandlers.token == "function" ? this.errorHandlers.token(
|
|
174
173
|
// @ts-ignore
|
|
@@ -185,12 +184,12 @@ class we {
|
|
|
185
184
|
}), t;
|
|
186
185
|
};
|
|
187
186
|
function d(t, n = !0) {
|
|
188
|
-
const e = `${i}${t}`, p =
|
|
187
|
+
const e = `${i}${t}`, p = q.create({
|
|
189
188
|
baseURL: e
|
|
190
189
|
});
|
|
191
190
|
return n && p.interceptors.request.use(s), p;
|
|
192
191
|
}
|
|
193
|
-
const
|
|
192
|
+
const f = (t, n) => {
|
|
194
193
|
if (t === 401) {
|
|
195
194
|
const e = "token is invalid";
|
|
196
195
|
this.errorHandlers.token ? typeof this.errorHandlers.token == "function" ? this.errorHandlers.token(
|
|
@@ -204,14 +203,14 @@ class we {
|
|
|
204
203
|
) : console.error("errorHandlers.token is not a function") : console.error(e);
|
|
205
204
|
}
|
|
206
205
|
}, m = (t, n, e) => {
|
|
207
|
-
t !== 10001 && t !== 10215 && (e || (
|
|
206
|
+
t !== 10001 && t !== 10215 && (e || (R.config({
|
|
208
207
|
getContainer: this.uiConfig.getContainer
|
|
209
|
-
}),
|
|
208
|
+
}), R.error({
|
|
210
209
|
message: n
|
|
211
210
|
})));
|
|
212
211
|
}, a = d("");
|
|
213
|
-
return new
|
|
214
|
-
onHttpStatusError:
|
|
212
|
+
return new se(a, () => this.token, {
|
|
213
|
+
onHttpStatusError: f,
|
|
215
214
|
onAppStatusError: m
|
|
216
215
|
});
|
|
217
216
|
}
|
|
@@ -235,9 +234,9 @@ class we {
|
|
|
235
234
|
this._inputDisabled = !1, this.render();
|
|
236
235
|
}
|
|
237
236
|
render() {
|
|
238
|
-
var s, d,
|
|
237
|
+
var s, d, f, m;
|
|
239
238
|
let i = this.wrapper.getBoundingClientRect().height;
|
|
240
|
-
this.wrapper.style.height = `${i}px`, P.render(/* @__PURE__ */ O(
|
|
239
|
+
this.wrapper.style.height = `${i}px`, P.render(/* @__PURE__ */ O(Z, {
|
|
241
240
|
rId: this.rId,
|
|
242
241
|
sessionId: this._defatulSessionId,
|
|
243
242
|
showHeader: this.uiConfig.showHeader,
|
|
@@ -261,7 +260,7 @@ class we {
|
|
|
261
260
|
docViewerUrl: this.docViewerUrl,
|
|
262
261
|
plugins: this.uiConfig.plugins,
|
|
263
262
|
transform: C(o({}, this.uiConfig.transform), {
|
|
264
|
-
knowledges: ((s = this.uiConfig.features) == null ? void 0 : s.knowledges) === !0 || typeof ((d = this.uiConfig.features) == null ? void 0 : d.knowledges) == "object" && ((m = (
|
|
263
|
+
knowledges: ((s = this.uiConfig.features) == null ? void 0 : s.knowledges) === !0 || typeof ((d = this.uiConfig.features) == null ? void 0 : d.knowledges) == "object" && ((m = (f = this.uiConfig.features) == null ? void 0 : f.knowledges) == null ? void 0 : m.visible) !== !1
|
|
265
264
|
// promptVariables:
|
|
266
265
|
// this.uiConfig.features?.promptVariables === true ||
|
|
267
266
|
// (typeof this.uiConfig.features?.promptVariables === 'object' &&
|
|
@@ -338,9 +337,9 @@ class we {
|
|
|
338
337
|
}), this.wrapper), this._defaultInputText = "";
|
|
339
338
|
}
|
|
340
339
|
destroy(i) {
|
|
341
|
-
P.render(/* @__PURE__ */ O(
|
|
340
|
+
P.render(/* @__PURE__ */ O(Y, {}), this.wrapper, i);
|
|
342
341
|
}
|
|
343
342
|
}
|
|
344
343
|
export {
|
|
345
|
-
|
|
344
|
+
be as default
|
|
346
345
|
};
|
package/dist/es/src/style11.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
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}
|
package/dist/es/src/style12.css
CHANGED
|
@@ -1 +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}
|
package/dist/es/src/style13.css
CHANGED
|
@@ -1 +1 @@
|
|
|
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}
|
package/dist/es/src/style14.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.session-list-component{position:relative;z-index:1}.session-list-component .session-list-overlay .ant-popover-inner-content{padding:8px 10px}.session-list-component .list-overlay-action:hover{color:#9c24f2}
|
package/dist/es/src/style15.css
CHANGED
|
@@ -1 +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}
|
package/dist/es/src/style16.css
CHANGED
|
@@ -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}
|
package/dist/es/src/style17.css
CHANGED
|
@@ -1 +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}
|
package/dist/es/src/style19.css
CHANGED
|
@@ -1 +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}
|
package/dist/es/src/style20.css
CHANGED
|
@@ -1 +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}
|
package/dist/es/src/style21.css
CHANGED
|
@@ -0,0 +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}
|
package/dist/es/src/style22.css
CHANGED
|
@@ -1 +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}
|
package/dist/es/src/style23.css
CHANGED
|
@@ -1 +0,0 @@
|
|
|
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}
|
package/dist/es/src/style24.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.json-display{margin:0;padding:4px}
|
package/dist/es/src/style25.css
CHANGED
|
@@ -1 +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 .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}
|
package/dist/es/src/style26.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
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}
|
package/dist/es/src/style27.css
CHANGED
|
@@ -1 +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}
|
package/dist/es/src/style28.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.refer-collapse{margin-top:16px;border-top:1px solid #e8e9eb;padding:8px 0}.refer-collapse .refer-title{margin-bottom:4px;color:#5c5f66}.refer-collapse .refer-title .refer-title-name{color:#070c14;font-size:12px;font-style:normal;font-weight:400;line-height:150%}.refer-collapse .refer-content,.refer-collapse .refer-content .refer-content-item{color:#84868c}.refer-collapse .ant-collapse-header{padding:4px 0!important}.refer-collapse .ant-collapse-content-box{padding:4px 10px 4px 24px!important}
|
package/dist/es/src/style3.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.chat-header{height:56px;padding:0 24px;border-bottom:1px solid #e8e9eb;display:flex;align-items:center;justify-content:space-between;background:white}.chat-header .header-title{color:#151b26;font-size:16px;font-style:normal;font-weight:700;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
package/dist/es/src/style30.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
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}
|
package/dist/es/src/style31.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.clear-modal .title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:500;text-align:left;color:#161616}.clear-modal .content{font-size:14px;font-weight:400;line-height:22px;text-align:justified;color:#393939}
|
package/dist/es/src/style32.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.file-card{height:38px;min-width:232px;max-width:600px;display:flex;padding:6px 12px 6px 6px;align-items:center;gap:4px;border-radius:6px;background:#ffffff;position:relative}.file-card .analysis{display:flex;justify-content:center;align-items:center;gap:8px;font-size:12px;font-weight:400;line-height:22px;text-align:left;color:#84868c}.file-card .file-icon{height:100%;width:24px}.file-card.small{height:30px;width:150px;padding:3px 6px 3px 3px}.file-card.small .file-icon{width:24px}.file-card .file-desc{flex:1;overflow:hidden}.file-card .file-desc .file-desc-name{color:#5c5f66;font-size:12px;font-style:normal;font-weight:700;line-height:150%}.file-card .file-desc .file-desc-name:hover{cursor:pointer}.file-card .file-desc .file-desc-name:hover .ant-typography{color:#b452ff}.file-card .file-desc .file-desc-size{color:#84868c;font-size:10px;font-style:normal;font-weight:400;line-height:150%}.file-card .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-card .file-remove{cursor:pointer;display:inline-block;width:16px;height:16px;line-height:16px;text-align:center;color:#151b26;display:inline-flex;align-items:center;justify-content:center}.file-card .file-remove:hover{background-color:#fff;color:#b452ff}.file-card .file-failed{display:inline-block;width:16px;height:16px;line-height:16px;text-align:center;color:#dc4446;display:inline-flex;align-items:center;justify-content:center}.file-remove-tooltip .ant-tooltip-content .ant-tooltip-inner{padding:12px}
|
package/dist/es/src/style4.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.bot-session-container{height:100%}.bot-session-container .agent-sessions{height:100%;width:310px;display:flex;flex-direction:column;overflow:hidden;background:white}.bot-session-container .agent-sessions .sessions-header{height:56px;padding:0 16px;border-right:1px solid #e8e9eb;border-bottom:1px solid #e8e9eb;display:flex;justify-content:space-between;align-items:center}.bot-session-container .agent-sessions .sessions-header .session-header-title{color:#151b26;font-size:16px;font-weight:700;line-height:24px}.bot-session-container .agent-sessions .sessions-main{flex:1;border-right:1px solid #e8e9eb;overflow-y:auto}.bot-session-container .agent-sessions .sessions-main .session-item{width:100%;padding:8px 0;cursor:pointer;margin-bottom:4px}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper{width:100%;height:100%;padding:0 16px;height:52px;border-left:3px solid #f9f2ff}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper .session-item-top{color:#fff;font-size:14px;font-weight:700;line-height:22px;height:22px;width:100%;margin-bottom:4px;display:flex;justify-content:space-between}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper .session-item-top .item-top-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:calc(100% - 55px);margin-right:4px;color:#5c5f66}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper .session-item-top .item-top-action{font-size:12px;display:flex;align-items:center}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper .session-item-top .item-top-action .icon-action{color:#9c24f2}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper .session-item-top .item-top-action .icon-action:hover{color:#b452ff}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper .session-item-bottom{font-size:12px;line-height:22px;display:flex}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper .session-item-bottom .item-bottom-desc{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#5c5f66}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper .session-item-bottom .item-bottom-time{flex:0 0 100px;color:#84868c;font-size:12px;line-height:22px;text-align:right}.bot-session-container .agent-sessions .sessions-main .session-item__active{border-radius:4px;background:#f9f2ff}.bot-session-container .agent-sessions .sessions-main .session-item__active .session-item-wrapper{border-left:3px solid #9c24f2}.bot-session-container .agent-sessions .sessions-main .session-item:hover{border-radius:4px;background:#f9f2ff}
|
package/dist/es/src/style5.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.knowledge-select{width:204px;height:28px;border-radius:10px;border:1px solid}.knowledge-select .select-popover{cursor:pointer;width:100%;height:100%;padding:0 8px;display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:400}.knowledge-select .select-popover .select-icon{color:#84868c}.knowledge-select .select-popover .title{line-height:22px;color:#84868c}.knowledge-select .select-popover .content{padding:2px 8px;border-radius:4px;background:#f7f7f9;line-height:18px;color:#84868c}.knowledge-select .ant-popover-placement-bottomRight{padding-top:5px!important}.knowledge-select .ant-popover-placement-bottomRight .ant-popover-arrow{display:none}.knowledge-select .ant-popover-placement-bottomRight .ant-popover-inner .ant-popover-inner-content{height:200px;overflow-y:auto;font-size:14px;font-weight:400;line-height:21px;color:#84868c}
|
package/dist/es/src/style6.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.agent-chat{width:100%;height:100%;display:flex;flex-direction:column;max-width:824px;margin:0 auto;overflow:hidden}.agent-chat .chat-main{flex:1;padding:16px;overflow:hidden;width:100%;transition:all 1s;position:relative}.agent-chat .chat-main .chat-main-wrapper{width:100%;height:100%;overflow-y:auto;overflow-x:hidden}.agent-chat .chat-main .session-stop{display:flex;align-items:center;justify-content:center;position:absolute;left:0;right:0;bottom:4px}.agent-chat .chat-main .back-bottom{transition:all 3.3s;position:absolute;background:white;box-shadow:0 0 5px #ddd;font-size:0;border-radius:50%;width:26px;height:26px;right:4px;bottom:0;display:flex;justify-content:center;align-content:center}.agent-chat .chat-main .main-pannel{width:100%;transition:all 1s}.agent-chat .chat-main .main-empty{width:100%;height:100%;overflow-y:auto}.agent-chat .chat-footer{position:relative;flex:0;padding:0 16px 8px;display:flex}.agent-chat .chat-footer .camera-out-btn:hover,.agent-chat .chat-footer .camera-out-btn:active,.agent-chat .chat-footer .camera-out-btn.active{color:#9c24f2}.agent-chat .chat-footer .chat-footer-input{flex:1;position:relative;width:100%}.agent-chat .chat-footer .chat-footer-input .ant-upload.ant-upload-select-picture-card{width:20px;height:20px;border:none;margin:0}.agent-chat .chat-footer .chat-footer-input .upload-wrapper{height:20px;width:20px;font-size:16px;border:1px solid #9c24f2;color:#9c24f2;border-radius:2px;display:flex;justify-content:center;align-items:center;cursor:pointer}.agent-chat .chat-footer .chat-footer-input .upload-wrapper.upload-wrapper__disabled{border:1px solid #b8babf;color:#b8babf;cursor:not-allowed}.agent-chat .chat-footer .chat-footer-input .input-files{margin-bottom:8px}.agent-chat .chat-footer .footer-upload-action{width:100%;height:28px;display:flex;justify-content:space-between;align-items:center}.agent-chat .chat-footer .footer-upload-action .footer-upload-picture{display:inline-block;width:20px}.agent-chat .chat-footer .footer-upload-action .add-btn{width:70px;height:24px;padding:0;font-size:12px;border-radius:10px 10px 10px 2px}.agent-chat .chat-footer .footer-upload-action .add-btn:disabled,.agent-chat .chat-footer .footer-upload-action .add-btn:disabled:hover{background:#b8babf;color:#fff}.agent-chat .chat-footer .chat-footer-send{position:absolute;right:34px;bottom:16px}
|
package/dist/es/src/style8.css
CHANGED
|
@@ -1 +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}
|
package/dist/es/src/style9.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.quill-editor{position:relative}.quill-editor .ql-container{border-radius:4px}.quill-editor .ql-container:hover{border:1px solid none;outline:0}.quill-editor .quill-editor-send{position:absolute;left:8px;right:8px;bottom:34px;height:0;display:flex;justify-content:space-between}.quill-editor .ql-editor:before{font-style:normal;font-weight:400}.quill-editor .shortcut-direct{width:15px;height:15px;display:flex;align-items:center;justify-content:center}.quill-editor .shortcut-direct .ant-popover-inner-content{padding:0}.quill-editor .shortcut-direct .shortcut-direct-pannel{width:180px;padding:4px 0}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item{display:flex;align-items:center;justify-content:space-between;padding:4px 12px;cursor:pointer}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item .title{color:#393939}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item .text{color:#84868c}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item:hover{background:#f9f2ff}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item__disabled{display:flex;align-items:center;justify-content:space-between;padding:4px 12px;cursor:not-allowed}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item__disabled .title,.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item__disabled .text{color:#b8babf}.quill-editor__active .ql-container{transition:all .3s,height 0;border:1px solid #b452ff;outline:0;box-shadow:none}.inlay .quill-editor .quill-editor-wrapper{max-height:344px;position:relative}.inlay .quill-editor .quill-editor-wrapper .ql-editor{min-height:134px;padding-bottom:32px}.inlay .quill-editor .quill-editor-wrapper__scroll{overflow-y:auto;scrollbar-width:none}.float .quill-editor .quill-editor-wrapper{max-height:200px;position:relative}.float .quill-editor .quill-editor-wrapper .ql-editor{min-height:134px;padding-bottom:24px}.float .quill-editor .quill-editor-wrapper__scroll{overflow-y:auto;scrollbar-width:none}
|