@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.
Files changed (39) hide show
  1. package/dist/es/AgentClientUI.mjs +59 -54
  2. package/dist/es/Dialog/AgentChat/Tools/SessionHistoryDrawer/index.mjs +45 -66
  3. package/dist/es/Dialog/AgentChat/index.mjs +415 -382
  4. package/dist/es/Dialog/SessionList/index.mjs +144 -143
  5. package/dist/es/Dialog/index.mjs +99 -93
  6. package/dist/es/QuillEditor/index.mjs +19 -17
  7. package/dist/es/index.mjs +97 -97
  8. package/dist/es/packages/agent-cli-ui/package.json.mjs +3 -3
  9. package/dist/es/packages/react-components/dist/es/index.mjs +1 -1
  10. package/dist/es/src/style10.css +1 -1
  11. package/dist/es/src/style11.css +1 -1
  12. package/dist/es/src/style12.css +1 -1
  13. package/dist/es/src/style13.css +1 -1
  14. package/dist/es/src/style14.css +1 -1
  15. package/dist/es/src/style15.css +1 -1
  16. package/dist/es/src/style16.css +1 -1
  17. package/dist/es/src/style17.css +1 -1
  18. package/dist/es/src/style18.css +1 -1
  19. package/dist/es/src/style19.css +1 -1
  20. package/dist/es/src/style20.css +1 -1
  21. package/dist/es/src/style21.css +1 -1
  22. package/dist/es/src/style22.css +1 -1
  23. package/dist/es/src/style27.css +1 -1
  24. package/dist/es/src/style28.css +1 -1
  25. package/dist/es/src/style29.css +1 -1
  26. package/dist/es/src/style30.css +1 -1
  27. package/dist/es/src/style31.css +1 -1
  28. package/dist/es/src/style5.css +1 -1
  29. package/dist/es/src/style6.css +1 -1
  30. package/dist/es/src/style7.css +1 -1
  31. package/dist/es/src/style8.css +1 -1
  32. package/dist/lib/index.css +1 -1
  33. package/dist/lib/index.js +56 -56
  34. package/dist/src/AgentClientUI.d.ts +1 -0
  35. package/dist/src/Dialog/AgentChat/Tools/SessionHistoryDrawer/index.d.ts +2 -0
  36. package/dist/src/Dialog/AgentChat/index.d.ts +4 -1
  37. package/dist/src/Dialog/index.d.ts +1 -0
  38. package/dist/src/QuillEditor/index.d.ts +1 -0
  39. 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, lt = Object.prototype.propertyIsEnumerable;
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
- lt.call(r, e) && $(k, e, r[e]);
9
+ nt.call(r, e) && $(k, e, r[e]);
10
10
  return k;
11
11
  };
12
- var x = (k, r, e) => new Promise((i, O) => {
13
- var w = (m) => {
12
+ var x = (k, r, e) => new Promise((o, E) => {
13
+ var w = (y) => {
14
14
  try {
15
- E(e.next(m));
16
- } catch (u) {
17
- O(u);
15
+ M(e.next(y));
16
+ } catch (A) {
17
+ E(A);
18
18
  }
19
- }, T = (m) => {
19
+ }, T = (y) => {
20
20
  try {
21
- E(e.throw(m));
22
- } catch (u) {
23
- O(u);
21
+ M(e.throw(y));
22
+ } catch (A) {
23
+ E(A);
24
24
  }
25
- }, E = (m) => m.done ? i(m.value) : Promise.resolve(m.value).then(w, T);
26
- E((e = e.apply(k, r)).next());
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 n, jsxs as A } from "react/jsx-runtime";
29
- import { forwardRef as nt, useState as C, useContext as ct, useEffect as P, useImperativeHandle as st, useMemo as rt } from "react";
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 N from "dayjs";
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 = nt((k, r) => {
37
+ const vt = lt((k, r) => {
38
38
  const {
39
39
  currentSession: e,
40
- setCurrentSession: i,
41
- checkKnowledges: O,
40
+ setCurrentSession: o,
41
+ checkKnowledges: E,
42
42
  application: w,
43
43
  networkStatus: T,
44
- isShowHeader: E = !0,
45
- sessions: m,
44
+ isShowHeader: M = !0,
45
+ sessions: y,
46
46
  // 👈 从外部接收
47
- setSessions: u,
47
+ setSessions: A,
48
48
  // 👈 从外部接收
49
49
  afterSessionClick: Y,
50
50
  sessionId: L
51
- } = k, [V, H] = C(), {
52
- agentClient: v,
51
+ } = k, [V, B] = C(), {
52
+ agentClient: u,
53
53
  mode: Z,
54
54
  features: a
55
- } = ct(yt), [_, K] = C(O), z = W((t) => {
56
- if (!t.id)
57
- return;
58
- const d = m.map((o) => {
59
- var c;
60
- return ((c = o.data) == null ? void 0 : c.id) === t.id && (o.data = q({}, t)), o;
61
- });
62
- u([...d]);
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
- v == null || v.getSessions().then((t) => x(void 0, null, function* () {
66
+ u == null || u.getSessions().then((t) => x(void 0, null, function* () {
66
67
  var d;
67
- if (u([...t]), !((d = e == null ? void 0 : e.data) != null && d.id) && (t != null && t.length) && Z === "inlay") {
68
- const o = t[0];
69
- L || i == null || i(o);
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 || i == null || i(null));
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) && O === void 0) {
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
- K(d);
78
+ _(d);
78
79
  return;
79
80
  }
80
- K(O);
81
- }, [O]), P(() => {
82
- e == null || e.addEventListener("data:updated", z);
81
+ _(E);
82
+ }, [E]), P(() => {
83
+ e == null || e.addEventListener("data:updated", K);
83
84
  }, [e]), st(r, () => ({
84
85
  create(t) {
85
- return B(t).then((d) => (i == null || i(d), d));
86
+ return z(t).then((d) => (o == null || o(d), d));
86
87
  },
87
- list: () => Promise.resolve(m)
88
+ list: () => Promise.resolve(y)
88
89
  }));
89
- const B = (t) => {
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((o) => x(void 0, null, function* () {
92
- var p;
93
- 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
+ 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: (p = e == null ? void 0 : e.data) != null && p.id ? t == null ? void 0 : t.knowledges : _,
100
- promptVariables: c
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
- s == null || s.addEventListener("data:created", () => x(void 0, null, function* () {
103
- u([s, ...m]), o(s);
103
+ n == null || n.addEventListener("data:created", () => x(void 0, null, function* () {
104
+ A([n, ...y]), i(n);
104
105
  }));
105
106
  }));
106
- }, I = () => {
107
- B({
108
- knowledges: _
107
+ }, S = () => {
108
+ z({
109
+ knowledges: H
109
110
  }).then((t) => {
110
- i == null || i(t);
111
+ o == null || o(t);
111
112
  });
112
- }, S = (t) => {
113
- v == null || v.removeSession(t, !0).then(() => x(void 0, null, function* () {
114
- var o, c;
115
- const d = m.filter((s) => {
116
- var p, g;
117
- return ((p = s.data) == null ? void 0 : p.id) !== ((g = t.data) == null ? void 0 : g.id);
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
- ((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)), u([...d]);
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
- H((d = t.data) == null ? void 0 : d.name);
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", z));
126
+ V && (t.rename(V), t == null || t.addEventListener("data:updated", K));
126
127
  }, at = (t) => x(void 0, null, function* () {
127
- i == null || i(t), Y == null || Y(t);
128
+ o == null || o(t), Y == null || Y(t);
128
129
  }), dt = (t) => {
129
- H(t.target.value);
130
+ B(t.target.value);
130
131
  };
131
132
  P(() => {
132
- var d, o, c, s;
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 = (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);
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 = N().endOf("day"), o = d.subtract(1, "day"), c = d.subtract(7, "day"), s = d.subtract(30, "day"), p = [], g = [], M = [], j = [], b = {};
140
- return t.forEach((l) => {
141
- var y;
142
- const h = N((y = l.data) == null ? void 0 : y.createdAt);
143
- if (h.isAfter(o))
144
- g.push(l);
145
- else if (h.isAfter(c))
146
- M.push(l);
147
- else if (h.isAfter(s))
148
- j.push(l);
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 f = h.format("YYYY-MM");
151
- b[f] || (b[f] = []), b[f].push(l);
151
+ const h = p.format("YYYY-MM");
152
+ m[h] || (m[h] = []), m[h].push(c);
152
153
  }
153
- }), g.length > 0 && p.push({
154
+ }), b.length > 0 && l.push({
154
155
  title: "今天",
155
- sessions: g.sort((l, h) => {
156
- var y, f;
157
- return N((y = h.data) == null ? void 0 : y.createdAt).valueOf() - N((f = l.data) == null ? void 0 : f.createdAt).valueOf();
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
- }), M.length > 0 && p.push({
161
+ }), j.length > 0 && l.push({
161
162
  title: "7天内",
162
- sessions: M.sort((l, h) => {
163
- var y, f;
164
- return N((y = h.data) == null ? void 0 : y.createdAt).valueOf() - N((f = l.data) == null ? void 0 : f.createdAt).valueOf();
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
- }), j.length > 0 && p.push({
168
+ }), g.length > 0 && l.push({
168
169
  title: "30天内",
169
- sessions: j.sort((l, h) => {
170
- var y, f;
171
- return N((y = h.data) == null ? void 0 : y.createdAt).valueOf() - N((f = l.data) == null ? void 0 : f.createdAt).valueOf();
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(b).sort((l, h) => h.localeCompare(l)).forEach((l) => {
175
- const h = b[l].sort((y, f) => {
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 N((R = f.data) == null ? void 0 : R.createdAt).valueOf() - N((U = y.data) == null ? void 0 : U.createdAt).valueOf();
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
- p.push({
180
- title: N(l).format("YYYY年MM月"),
181
- sessions: h,
182
- key: `month-${l}`
180
+ l.push({
181
+ title: f(c).format("YYYY年MM月"),
182
+ sessions: p,
183
+ key: `month-${c}`
183
184
  });
184
- }), p;
185
- }), D = rt(() => F(m), [m, F]);
186
- return /* @__PURE__ */ n("div", {
185
+ }), l;
186
+ }), D = rt(() => F(y), [y, F]);
187
+ return /* @__PURE__ */ s("div", {
187
188
  className: "bot-session-container",
188
- children: /* @__PURE__ */ A("div", {
189
+ children: /* @__PURE__ */ O("div", {
189
190
  className: "agent-sessions",
190
- children: [E && (a == null ? void 0 : a.siderTitle) && /* @__PURE__ */ n("div", {
191
+ children: [M && (a == null ? void 0 : a.siderTitle) && /* @__PURE__ */ s("div", {
191
192
  className: "sessions-header",
192
- children: /* @__PURE__ */ n("div", {
193
+ children: /* @__PURE__ */ s("div", {
193
194
  className: "session-header-title",
194
195
  children: (w == null ? void 0 : w.name) || "-"
195
196
  })
196
- }), /* @__PURE__ */ A("div", {
197
+ }), /* @__PURE__ */ O("div", {
197
198
  className: "sessions-main",
198
- children: [E && /* @__PURE__ */ n("div", {
199
+ children: [M && /* @__PURE__ */ s("div", {
199
200
  className: "session-header-btn-wrapper",
200
- children: /* @__PURE__ */ n(mt, {
201
+ children: /* @__PURE__ */ s(mt, {
201
202
  className: "session-header-btn",
202
- onClick: I,
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__ */ A("div", {
209
+ return /* @__PURE__ */ O("div", {
209
210
  className: "session-group",
210
- children: [/* @__PURE__ */ n("div", {
211
+ children: [/* @__PURE__ */ s("div", {
211
212
  className: "group-header",
212
213
  style: {
213
- top: E ? 48 : 0
214
+ top: M ? 48 : 0
214
215
  },
215
216
  children: t.title
216
- }), (d = t.sessions) == null ? void 0 : d.map((o) => {
217
- var c, s, p, g, M, j;
218
- return /* @__PURE__ */ n("div", {
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": ((c = o.data) == null ? void 0 : c.id) === ((s = e == null ? void 0 : e.data) == null ? void 0 : s.id)
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(o),
224
- children: /* @__PURE__ */ A("div", {
224
+ onClick: () => at(i),
225
+ children: /* @__PURE__ */ O("div", {
225
226
  className: "session-item-wrapper",
226
- children: [/* @__PURE__ */ A("div", {
227
+ children: [/* @__PURE__ */ O("div", {
227
228
  className: "session-item-top",
228
- children: [/* @__PURE__ */ n("span", {
229
+ children: [/* @__PURE__ */ s("span", {
229
230
  className: "item-top-title",
230
- children: ((p = o.data) == null ? void 0 : p.name) || "-"
231
- }), /* @__PURE__ */ A("div", {
231
+ children: ((l = i.data) == null ? void 0 : l.name) || "-"
232
+ }), /* @__PURE__ */ O("div", {
232
233
  className: "item-top-action",
233
- onClick: (b) => b.stopPropagation(),
234
- children: [/* @__PURE__ */ n(J, {
235
- getPopupContainer: (b) => b.parentNode,
234
+ onClick: (m) => m.stopPropagation(),
235
+ children: [/* @__PURE__ */ s(J, {
236
+ getPopupContainer: (m) => m.parentNode,
236
237
  icon: !1,
237
- title: /* @__PURE__ */ n(pt, {
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(o),
246
- children: /* @__PURE__ */ n(Q, {
246
+ onConfirm: () => et(i),
247
+ children: /* @__PURE__ */ s(Q, {
247
248
  type: "icon-bianji2",
248
- onClick: () => tt(o),
249
+ onClick: () => tt(i),
249
250
  className: "icon-action",
250
251
  style: {
251
252
  marginRight: "8px"
252
253
  }
253
254
  })
254
- }), /* @__PURE__ */ n(J, {
255
- getPopupContainer: (b) => b.parentNode,
255
+ }), /* @__PURE__ */ s(J, {
256
+ getPopupContainer: (m) => m.parentNode,
256
257
  icon: !1,
257
- title: /* @__PURE__ */ A(ht, {
258
+ title: /* @__PURE__ */ O(ht, {
258
259
  direction: "vertical",
259
- children: [/* @__PURE__ */ n("div", {
260
+ children: [/* @__PURE__ */ s("div", {
260
261
  children: "删除确认?"
261
- }), /* @__PURE__ */ n("div", {
262
+ }), /* @__PURE__ */ s("div", {
262
263
  children: "会话删除后不可恢复,请确认是否删除!"
263
264
  })]
264
265
  }),
265
- onConfirm: () => S(o),
266
- children: /* @__PURE__ */ n(Q, {
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__ */ A("div", {
276
+ }), /* @__PURE__ */ O("div", {
276
277
  className: "session-item-bottom",
277
- children: [/* @__PURE__ */ n("span", {
278
+ children: [/* @__PURE__ */ s("span", {
278
279
  className: "item-bottom-desc",
279
- children: ((g = o.data) == null ? void 0 : g.finialMessage) || "-"
280
- }), /* @__PURE__ */ n("span", {
280
+ children: ((b = i.data) == null ? void 0 : b.finialMessage) || "-"
281
+ }), /* @__PURE__ */ s("span", {
281
282
  className: "item-bottom-time",
282
- children: N((M = o.data) == null ? void 0 : M.createdAt).format("MM/DD HH:mm:ss")
283
+ children: f((j = i.data) == null ? void 0 : j.createdAt).format("MM/DD HH:mm:ss")
283
284
  })]
284
285
  })]
285
286
  })
286
- }, (j = o.data) == null ? void 0 : j.id);
287
+ }, (g = i.data) == null ? void 0 : g.id);
287
288
  })]
288
289
  }, t.key);
289
290
  })]