@glodon-aiot/agent-cli-ui 3.4.0-alpha.2 → 3.4.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/AgentClientUI.mjs +59 -54
- package/dist/es/Dialog/AgentChat/Tools/SessionHistoryDrawer/index.mjs +45 -66
- package/dist/es/Dialog/AgentChat/index.mjs +415 -382
- package/dist/es/Dialog/SessionList/index.mjs +144 -143
- package/dist/es/Dialog/index.mjs +99 -93
- package/dist/es/QuillEditor/index.mjs +19 -17
- package/dist/es/index.mjs +97 -97
- package/dist/es/packages/agent-cli-ui/package.json.mjs +3 -3
- package/dist/es/packages/react-components/dist/es/index.mjs +1 -1
- package/dist/es/src/style10.css +1 -1
- 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/style18.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 -1
- package/dist/es/src/style22.css +1 -1
- package/dist/es/src/style27.css +1 -1
- package/dist/es/src/style28.css +1 -1
- package/dist/es/src/style29.css +1 -1
- package/dist/es/src/style30.css +1 -1
- package/dist/es/src/style31.css +1 -1
- package/dist/es/src/style5.css +1 -1
- package/dist/es/src/style6.css +1 -1
- package/dist/es/src/style7.css +1 -1
- package/dist/es/src/style8.css +1 -1
- package/dist/lib/index.css +1 -1
- package/dist/lib/index.js +56 -56
- package/dist/src/AgentClientUI.d.ts +1 -0
- package/dist/src/Dialog/AgentChat/Tools/SessionHistoryDrawer/index.d.ts +2 -0
- package/dist/src/Dialog/AgentChat/index.d.ts +4 -1
- package/dist/src/Dialog/index.d.ts +1 -0
- package/dist/src/QuillEditor/index.d.ts +1 -0
- package/package.json +3 -3
|
@@ -1,240 +1,241 @@
|
|
|
1
1
|
var ot = Object.defineProperty;
|
|
2
2
|
var G = Object.getOwnPropertySymbols;
|
|
3
|
-
var it = Object.prototype.hasOwnProperty,
|
|
3
|
+
var it = Object.prototype.hasOwnProperty, nt = Object.prototype.propertyIsEnumerable;
|
|
4
4
|
var $ = (k, r, e) => r in k ? ot(k, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : k[r] = e, q = (k, r) => {
|
|
5
5
|
for (var e in r || (r = {}))
|
|
6
6
|
it.call(r, e) && $(k, e, r[e]);
|
|
7
7
|
if (G)
|
|
8
8
|
for (var e of G(r))
|
|
9
|
-
|
|
9
|
+
nt.call(r, e) && $(k, e, r[e]);
|
|
10
10
|
return k;
|
|
11
11
|
};
|
|
12
|
-
var x = (k, r, e) => new Promise((
|
|
13
|
-
var w = (
|
|
12
|
+
var x = (k, r, e) => new Promise((o, E) => {
|
|
13
|
+
var w = (y) => {
|
|
14
14
|
try {
|
|
15
|
-
|
|
16
|
-
} catch (
|
|
17
|
-
|
|
15
|
+
M(e.next(y));
|
|
16
|
+
} catch (A) {
|
|
17
|
+
E(A);
|
|
18
18
|
}
|
|
19
|
-
}, T = (
|
|
19
|
+
}, T = (y) => {
|
|
20
20
|
try {
|
|
21
|
-
|
|
22
|
-
} catch (
|
|
23
|
-
|
|
21
|
+
M(e.throw(y));
|
|
22
|
+
} catch (A) {
|
|
23
|
+
E(A);
|
|
24
24
|
}
|
|
25
|
-
},
|
|
26
|
-
|
|
25
|
+
}, M = (y) => y.done ? o(y.value) : Promise.resolve(y.value).then(w, T);
|
|
26
|
+
M((e = e.apply(k, r)).next());
|
|
27
27
|
});
|
|
28
|
-
import { jsx as
|
|
29
|
-
import { forwardRef as
|
|
28
|
+
import { jsx as s, jsxs as O } from "react/jsx-runtime";
|
|
29
|
+
import { forwardRef as lt, useState as C, useContext as ct, useEffect as P, useImperativeHandle as st, useMemo as rt } from "react";
|
|
30
30
|
import { Button as mt, Popconfirm as J, Input as pt, Space as ht } from "antd";
|
|
31
|
-
import
|
|
31
|
+
import f from "dayjs";
|
|
32
32
|
import ft from "classnames";
|
|
33
33
|
import Q from "../../components/Iconfont/index.mjs";
|
|
34
34
|
import yt from "../../context.mjs";
|
|
35
35
|
/* empty css */import { useMemoizedFn as W } from "ahooks";
|
|
36
36
|
import { NET_OPEN_STATUS as X } from "../../constant.mjs";
|
|
37
|
-
const vt =
|
|
37
|
+
const vt = lt((k, r) => {
|
|
38
38
|
const {
|
|
39
39
|
currentSession: e,
|
|
40
|
-
setCurrentSession:
|
|
41
|
-
checkKnowledges:
|
|
40
|
+
setCurrentSession: o,
|
|
41
|
+
checkKnowledges: E,
|
|
42
42
|
application: w,
|
|
43
43
|
networkStatus: T,
|
|
44
|
-
isShowHeader:
|
|
45
|
-
sessions:
|
|
44
|
+
isShowHeader: M = !0,
|
|
45
|
+
sessions: y,
|
|
46
46
|
// 👈 从外部接收
|
|
47
|
-
setSessions:
|
|
47
|
+
setSessions: A,
|
|
48
48
|
// 👈 从外部接收
|
|
49
49
|
afterSessionClick: Y,
|
|
50
50
|
sessionId: L
|
|
51
|
-
} = k, [V,
|
|
52
|
-
agentClient:
|
|
51
|
+
} = k, [V, B] = C(), {
|
|
52
|
+
agentClient: u,
|
|
53
53
|
mode: Z,
|
|
54
54
|
features: a
|
|
55
|
-
} = ct(yt), [
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
55
|
+
} = ct(yt), [H, _] = C(E), K = W((t) => {
|
|
56
|
+
t.id && A((d) => [...d.map((n) => {
|
|
57
|
+
var l;
|
|
58
|
+
return ((l = n.data) == null ? void 0 : l.id) === t.id && (n.data = q({}, t)), n;
|
|
59
|
+
})].sort((n, l) => {
|
|
60
|
+
var g, m;
|
|
61
|
+
const b = f((g = n.data) == null ? void 0 : g.createdAt).valueOf();
|
|
62
|
+
return f((m = l.data) == null ? void 0 : m.createdAt).valueOf() - b;
|
|
63
|
+
}));
|
|
63
64
|
});
|
|
64
65
|
P(() => {
|
|
65
|
-
|
|
66
|
+
u == null || u.getSessions().then((t) => x(void 0, null, function* () {
|
|
66
67
|
var d;
|
|
67
|
-
if (
|
|
68
|
-
const
|
|
69
|
-
L ||
|
|
68
|
+
if (A([...t]), !((d = e == null ? void 0 : e.data) != null && d.id) && (t != null && t.length) && Z === "inlay") {
|
|
69
|
+
const i = t[0];
|
|
70
|
+
L || o == null || o(i);
|
|
70
71
|
} else
|
|
71
|
-
e === void 0 && (L ||
|
|
72
|
+
e === void 0 && (L || o == null || o(null));
|
|
72
73
|
}));
|
|
73
74
|
}, [L]), P(() => {
|
|
74
75
|
var t;
|
|
75
|
-
if (!((t = e == null ? void 0 : e.data) != null && t.id) &&
|
|
76
|
+
if (!((t = e == null ? void 0 : e.data) != null && t.id) && E === void 0) {
|
|
76
77
|
const d = typeof (a == null ? void 0 : a.knowledges) == "object" && a.knowledges.default || void 0;
|
|
77
|
-
|
|
78
|
+
_(d);
|
|
78
79
|
return;
|
|
79
80
|
}
|
|
80
|
-
|
|
81
|
-
}, [
|
|
82
|
-
e == null || e.addEventListener("data:updated",
|
|
81
|
+
_(E);
|
|
82
|
+
}, [E]), P(() => {
|
|
83
|
+
e == null || e.addEventListener("data:updated", K);
|
|
83
84
|
}, [e]), st(r, () => ({
|
|
84
85
|
create(t) {
|
|
85
|
-
return
|
|
86
|
+
return z(t).then((d) => (o == null || o(d), d));
|
|
86
87
|
},
|
|
87
|
-
list: () => Promise.resolve(
|
|
88
|
+
list: () => Promise.resolve(y)
|
|
88
89
|
}));
|
|
89
|
-
const
|
|
90
|
+
const z = (t) => {
|
|
90
91
|
const d = typeof (a == null ? void 0 : a.connectNetwork) == "object" && typeof (a == null ? void 0 : a.connectNetwork.default) == "boolean" ? a.connectNetwork.default : !1;
|
|
91
|
-
return new Promise((
|
|
92
|
-
var
|
|
93
|
-
const
|
|
92
|
+
return new Promise((i) => x(void 0, null, function* () {
|
|
93
|
+
var l;
|
|
94
|
+
const v = typeof (a == null ? void 0 : a.promptVariables) == "object" ? (a == null ? void 0 : a.promptVariables.default) || [] : void 0, n = yield u == null ? void 0 : u.loadSession("", {
|
|
94
95
|
name: t == null ? void 0 : t.name,
|
|
95
96
|
// @ts-ignore netOpen入参是number 响应是boolen
|
|
96
97
|
// 只有对话有联网 其它没有
|
|
97
98
|
// 不传netOpen会默认取defaultNetOpen
|
|
98
99
|
netOpen: (w == null ? void 0 : w.type) === 0 ? t != null && t.netOpen ? t.netOpen : d ? X.OPEN : X.CLOSE : void 0,
|
|
99
|
-
knowledges: (
|
|
100
|
-
promptVariables:
|
|
100
|
+
knowledges: (l = e == null ? void 0 : e.data) != null && l.id ? t == null ? void 0 : t.knowledges : H,
|
|
101
|
+
promptVariables: v
|
|
101
102
|
});
|
|
102
|
-
|
|
103
|
-
|
|
103
|
+
n == null || n.addEventListener("data:created", () => x(void 0, null, function* () {
|
|
104
|
+
A([n, ...y]), i(n);
|
|
104
105
|
}));
|
|
105
106
|
}));
|
|
106
|
-
},
|
|
107
|
-
|
|
108
|
-
knowledges:
|
|
107
|
+
}, S = () => {
|
|
108
|
+
z({
|
|
109
|
+
knowledges: H
|
|
109
110
|
}).then((t) => {
|
|
110
|
-
|
|
111
|
+
o == null || o(t);
|
|
111
112
|
});
|
|
112
|
-
},
|
|
113
|
-
|
|
114
|
-
var
|
|
115
|
-
const d =
|
|
116
|
-
var
|
|
117
|
-
return ((
|
|
113
|
+
}, I = (t) => {
|
|
114
|
+
u == null || u.removeSession(t, !0).then(() => x(void 0, null, function* () {
|
|
115
|
+
var i, v;
|
|
116
|
+
const d = y.filter((n) => {
|
|
117
|
+
var l, b;
|
|
118
|
+
return ((l = n.data) == null ? void 0 : l.id) !== ((b = t.data) == null ? void 0 : b.id);
|
|
118
119
|
});
|
|
119
|
-
((
|
|
120
|
+
((i = t.data) == null ? void 0 : i.id) === ((v = e == null ? void 0 : e.data) == null ? void 0 : v.id) && (d != null && d.length ? o == null || o(d[0]) : o == null || o(null)), A([...d]);
|
|
120
121
|
}));
|
|
121
122
|
}, tt = (t) => {
|
|
122
123
|
var d;
|
|
123
|
-
|
|
124
|
+
B((d = t.data) == null ? void 0 : d.name);
|
|
124
125
|
}, et = (t) => {
|
|
125
|
-
V && (t.rename(V), t == null || t.addEventListener("data:updated",
|
|
126
|
+
V && (t.rename(V), t == null || t.addEventListener("data:updated", K));
|
|
126
127
|
}, at = (t) => x(void 0, null, function* () {
|
|
127
|
-
|
|
128
|
+
o == null || o(t), Y == null || Y(t);
|
|
128
129
|
}), dt = (t) => {
|
|
129
|
-
|
|
130
|
+
B(t.target.value);
|
|
130
131
|
};
|
|
131
132
|
P(() => {
|
|
132
|
-
var d,
|
|
133
|
+
var d, i, v, n;
|
|
133
134
|
if (!(e != null && e.id))
|
|
134
135
|
return;
|
|
135
136
|
const t = {};
|
|
136
|
-
typeof (a == null ? void 0 : a.knowledges) == "object" && ((d = a == null ? void 0 : a.knowledges) != null && d.default) && (t.knowledges = (
|
|
137
|
+
typeof (a == null ? void 0 : a.knowledges) == "object" && ((d = a == null ? void 0 : a.knowledges) != null && d.default) && (t.knowledges = (i = a == null ? void 0 : a.knowledges) == null ? void 0 : i.default), typeof (a == null ? void 0 : a.promptVariables) == "object" && ((v = a == null ? void 0 : a.promptVariables) != null && v.default) && (t.promptVariables = (n = a == null ? void 0 : a.promptVariables) == null ? void 0 : n.default), u == null || u.loadSession(e.id, t);
|
|
137
138
|
}, [e]);
|
|
138
139
|
const F = W((t) => {
|
|
139
|
-
const d =
|
|
140
|
-
return t.forEach((
|
|
141
|
-
var
|
|
142
|
-
const
|
|
143
|
-
if (
|
|
144
|
-
|
|
145
|
-
else if (
|
|
146
|
-
|
|
147
|
-
else if (
|
|
148
|
-
|
|
140
|
+
const d = f().endOf("day"), i = d.subtract(1, "day"), v = d.subtract(7, "day"), n = d.subtract(30, "day"), l = [], b = [], j = [], g = [], m = {};
|
|
141
|
+
return t.forEach((c) => {
|
|
142
|
+
var N;
|
|
143
|
+
const p = f((N = c.data) == null ? void 0 : N.createdAt);
|
|
144
|
+
if (p.isAfter(i))
|
|
145
|
+
b.push(c);
|
|
146
|
+
else if (p.isAfter(v))
|
|
147
|
+
j.push(c);
|
|
148
|
+
else if (p.isAfter(n))
|
|
149
|
+
g.push(c);
|
|
149
150
|
else {
|
|
150
|
-
const
|
|
151
|
-
|
|
151
|
+
const h = p.format("YYYY-MM");
|
|
152
|
+
m[h] || (m[h] = []), m[h].push(c);
|
|
152
153
|
}
|
|
153
|
-
}),
|
|
154
|
+
}), b.length > 0 && l.push({
|
|
154
155
|
title: "今天",
|
|
155
|
-
sessions:
|
|
156
|
-
var
|
|
157
|
-
return
|
|
156
|
+
sessions: b.sort((c, p) => {
|
|
157
|
+
var N, h;
|
|
158
|
+
return f((N = p.data) == null ? void 0 : N.createdAt).valueOf() - f((h = c.data) == null ? void 0 : h.createdAt).valueOf();
|
|
158
159
|
}),
|
|
159
160
|
key: "today"
|
|
160
|
-
}),
|
|
161
|
+
}), j.length > 0 && l.push({
|
|
161
162
|
title: "7天内",
|
|
162
|
-
sessions:
|
|
163
|
-
var
|
|
164
|
-
return
|
|
163
|
+
sessions: j.sort((c, p) => {
|
|
164
|
+
var N, h;
|
|
165
|
+
return f((N = p.data) == null ? void 0 : N.createdAt).valueOf() - f((h = c.data) == null ? void 0 : h.createdAt).valueOf();
|
|
165
166
|
}),
|
|
166
167
|
key: "seven-days"
|
|
167
|
-
}),
|
|
168
|
+
}), g.length > 0 && l.push({
|
|
168
169
|
title: "30天内",
|
|
169
|
-
sessions:
|
|
170
|
-
var
|
|
171
|
-
return
|
|
170
|
+
sessions: g.sort((c, p) => {
|
|
171
|
+
var N, h;
|
|
172
|
+
return f((N = p.data) == null ? void 0 : N.createdAt).valueOf() - f((h = c.data) == null ? void 0 : h.createdAt).valueOf();
|
|
172
173
|
}),
|
|
173
174
|
key: "thirty-days"
|
|
174
|
-
}), Object.keys(
|
|
175
|
-
const
|
|
175
|
+
}), Object.keys(m).sort((c, p) => p.localeCompare(c)).forEach((c) => {
|
|
176
|
+
const p = m[c].sort((N, h) => {
|
|
176
177
|
var R, U;
|
|
177
|
-
return
|
|
178
|
+
return f((R = h.data) == null ? void 0 : R.createdAt).valueOf() - f((U = N.data) == null ? void 0 : U.createdAt).valueOf();
|
|
178
179
|
});
|
|
179
|
-
|
|
180
|
-
title:
|
|
181
|
-
sessions:
|
|
182
|
-
key: `month-${
|
|
180
|
+
l.push({
|
|
181
|
+
title: f(c).format("YYYY年MM月"),
|
|
182
|
+
sessions: p,
|
|
183
|
+
key: `month-${c}`
|
|
183
184
|
});
|
|
184
|
-
}),
|
|
185
|
-
}), D = rt(() => F(
|
|
186
|
-
return /* @__PURE__ */
|
|
185
|
+
}), l;
|
|
186
|
+
}), D = rt(() => F(y), [y, F]);
|
|
187
|
+
return /* @__PURE__ */ s("div", {
|
|
187
188
|
className: "bot-session-container",
|
|
188
|
-
children: /* @__PURE__ */
|
|
189
|
+
children: /* @__PURE__ */ O("div", {
|
|
189
190
|
className: "agent-sessions",
|
|
190
|
-
children: [
|
|
191
|
+
children: [M && (a == null ? void 0 : a.siderTitle) && /* @__PURE__ */ s("div", {
|
|
191
192
|
className: "sessions-header",
|
|
192
|
-
children: /* @__PURE__ */
|
|
193
|
+
children: /* @__PURE__ */ s("div", {
|
|
193
194
|
className: "session-header-title",
|
|
194
195
|
children: (w == null ? void 0 : w.name) || "-"
|
|
195
196
|
})
|
|
196
|
-
}), /* @__PURE__ */
|
|
197
|
+
}), /* @__PURE__ */ O("div", {
|
|
197
198
|
className: "sessions-main",
|
|
198
|
-
children: [
|
|
199
|
+
children: [M && /* @__PURE__ */ s("div", {
|
|
199
200
|
className: "session-header-btn-wrapper",
|
|
200
|
-
children: /* @__PURE__ */
|
|
201
|
+
children: /* @__PURE__ */ s(mt, {
|
|
201
202
|
className: "session-header-btn",
|
|
202
|
-
onClick:
|
|
203
|
+
onClick: S,
|
|
203
204
|
type: "primary",
|
|
204
205
|
children: "+ 新会话"
|
|
205
206
|
})
|
|
206
207
|
}), D == null ? void 0 : D.map((t) => {
|
|
207
208
|
var d;
|
|
208
|
-
return /* @__PURE__ */
|
|
209
|
+
return /* @__PURE__ */ O("div", {
|
|
209
210
|
className: "session-group",
|
|
210
|
-
children: [/* @__PURE__ */
|
|
211
|
+
children: [/* @__PURE__ */ s("div", {
|
|
211
212
|
className: "group-header",
|
|
212
213
|
style: {
|
|
213
|
-
top:
|
|
214
|
+
top: M ? 48 : 0
|
|
214
215
|
},
|
|
215
216
|
children: t.title
|
|
216
|
-
}), (d = t.sessions) == null ? void 0 : d.map((
|
|
217
|
-
var
|
|
218
|
-
return /* @__PURE__ */
|
|
217
|
+
}), (d = t.sessions) == null ? void 0 : d.map((i) => {
|
|
218
|
+
var v, n, l, b, j, g;
|
|
219
|
+
return /* @__PURE__ */ s("div", {
|
|
219
220
|
className: ft({
|
|
220
221
|
"session-item": !0,
|
|
221
|
-
"session-item__active": ((
|
|
222
|
+
"session-item__active": ((v = i.data) == null ? void 0 : v.id) === ((n = e == null ? void 0 : e.data) == null ? void 0 : n.id)
|
|
222
223
|
}),
|
|
223
|
-
onClick: () => at(
|
|
224
|
-
children: /* @__PURE__ */
|
|
224
|
+
onClick: () => at(i),
|
|
225
|
+
children: /* @__PURE__ */ O("div", {
|
|
225
226
|
className: "session-item-wrapper",
|
|
226
|
-
children: [/* @__PURE__ */
|
|
227
|
+
children: [/* @__PURE__ */ O("div", {
|
|
227
228
|
className: "session-item-top",
|
|
228
|
-
children: [/* @__PURE__ */
|
|
229
|
+
children: [/* @__PURE__ */ s("span", {
|
|
229
230
|
className: "item-top-title",
|
|
230
|
-
children: ((
|
|
231
|
-
}), /* @__PURE__ */
|
|
231
|
+
children: ((l = i.data) == null ? void 0 : l.name) || "-"
|
|
232
|
+
}), /* @__PURE__ */ O("div", {
|
|
232
233
|
className: "item-top-action",
|
|
233
|
-
onClick: (
|
|
234
|
-
children: [/* @__PURE__ */
|
|
235
|
-
getPopupContainer: (
|
|
234
|
+
onClick: (m) => m.stopPropagation(),
|
|
235
|
+
children: [/* @__PURE__ */ s(J, {
|
|
236
|
+
getPopupContainer: (m) => m.parentNode,
|
|
236
237
|
icon: !1,
|
|
237
|
-
title: /* @__PURE__ */
|
|
238
|
+
title: /* @__PURE__ */ s(pt, {
|
|
238
239
|
placeholder: "请输入内容",
|
|
239
240
|
autoComplete: "off",
|
|
240
241
|
showCount: !0,
|
|
@@ -242,28 +243,28 @@ const vt = nt((k, r) => {
|
|
|
242
243
|
onChange: dt,
|
|
243
244
|
maxLength: 15
|
|
244
245
|
}),
|
|
245
|
-
onConfirm: () => et(
|
|
246
|
-
children: /* @__PURE__ */
|
|
246
|
+
onConfirm: () => et(i),
|
|
247
|
+
children: /* @__PURE__ */ s(Q, {
|
|
247
248
|
type: "icon-bianji2",
|
|
248
|
-
onClick: () => tt(
|
|
249
|
+
onClick: () => tt(i),
|
|
249
250
|
className: "icon-action",
|
|
250
251
|
style: {
|
|
251
252
|
marginRight: "8px"
|
|
252
253
|
}
|
|
253
254
|
})
|
|
254
|
-
}), /* @__PURE__ */
|
|
255
|
-
getPopupContainer: (
|
|
255
|
+
}), /* @__PURE__ */ s(J, {
|
|
256
|
+
getPopupContainer: (m) => m.parentNode,
|
|
256
257
|
icon: !1,
|
|
257
|
-
title: /* @__PURE__ */
|
|
258
|
+
title: /* @__PURE__ */ O(ht, {
|
|
258
259
|
direction: "vertical",
|
|
259
|
-
children: [/* @__PURE__ */
|
|
260
|
+
children: [/* @__PURE__ */ s("div", {
|
|
260
261
|
children: "删除确认?"
|
|
261
|
-
}), /* @__PURE__ */
|
|
262
|
+
}), /* @__PURE__ */ s("div", {
|
|
262
263
|
children: "会话删除后不可恢复,请确认是否删除!"
|
|
263
264
|
})]
|
|
264
265
|
}),
|
|
265
|
-
onConfirm: () =>
|
|
266
|
-
children: /* @__PURE__ */
|
|
266
|
+
onConfirm: () => I(i),
|
|
267
|
+
children: /* @__PURE__ */ s(Q, {
|
|
267
268
|
style: {
|
|
268
269
|
fontSize: "18px"
|
|
269
270
|
},
|
|
@@ -272,18 +273,18 @@ const vt = nt((k, r) => {
|
|
|
272
273
|
})
|
|
273
274
|
})]
|
|
274
275
|
})]
|
|
275
|
-
}), /* @__PURE__ */
|
|
276
|
+
}), /* @__PURE__ */ O("div", {
|
|
276
277
|
className: "session-item-bottom",
|
|
277
|
-
children: [/* @__PURE__ */
|
|
278
|
+
children: [/* @__PURE__ */ s("span", {
|
|
278
279
|
className: "item-bottom-desc",
|
|
279
|
-
children: ((
|
|
280
|
-
}), /* @__PURE__ */
|
|
280
|
+
children: ((b = i.data) == null ? void 0 : b.finialMessage) || "-"
|
|
281
|
+
}), /* @__PURE__ */ s("span", {
|
|
281
282
|
className: "item-bottom-time",
|
|
282
|
-
children:
|
|
283
|
+
children: f((j = i.data) == null ? void 0 : j.createdAt).format("MM/DD HH:mm:ss")
|
|
283
284
|
})]
|
|
284
285
|
})]
|
|
285
286
|
})
|
|
286
|
-
}, (
|
|
287
|
+
}, (g = i.data) == null ? void 0 : g.id);
|
|
287
288
|
})]
|
|
288
289
|
}, t.key);
|
|
289
290
|
})]
|