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