@glodon-aiot/dataset-annotation 3.24.0-alpha.5 → 3.25.0-alpha.7
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/components/ClassificationAnnotation/index.mjs +374 -325
- package/dist/es/components/DetectionAnnotation/components/ImageDetail/index.mjs +82 -78
- package/dist/es/components/DetectionAnnotation/components/ImageModal/index.mjs +28 -26
- package/dist/es/components/DetectionAnnotation/components/LabelMaker/index.mjs +173 -166
- package/dist/es/components/DetectionAnnotation/index.mjs +478 -473
- package/dist/es/components/OcrAnnotation/OCRBoxDetail/index.mjs +249 -230
- package/dist/es/components/OcrAnnotation/OcrModal/index.mjs +103 -98
- package/dist/es/components/OcrAnnotation/index.mjs +281 -248
- package/dist/es/components/VLMAnnotationDetail/MarkVLMBoxModal/QADetail/QAGenerationConfig.mjs +169 -149
- package/dist/es/components/VLMAnnotationDetail/VLMDetail/index.mjs +277 -272
- package/dist/es/components/VLMAnnotationDetail/VlmModal/index.mjs +42 -40
- package/dist/es/components/VLMAnnotationDetail/index.mjs +331 -278
- package/dist/es/index.mjs +1 -1
- package/dist/es/utils/checkVlmSampleLabeled.mjs +7 -0
- package/dist/es/utils/scrollSampleIntoView.mjs +16 -0
- package/dist/lib/index.js +4 -4
- package/dist/src/components/DetectionAnnotation/components/ImageDetail/index.d.ts +2 -0
- package/dist/src/components/DetectionAnnotation/components/ImageModal/index.d.ts +2 -0
- package/dist/src/components/OcrAnnotation/OCRBoxDetail/index.d.ts +2 -0
- package/dist/src/components/OcrAnnotation/OcrModal/index.d.ts +1 -0
- package/dist/src/components/VLMAnnotationDetail/VLMDetail/index.d.ts +6 -0
- package/dist/src/components/VLMAnnotationDetail/VlmModal/index.d.ts +5 -0
- package/dist/src/utils/checkVlmSampleLabeled.d.ts +8 -0
- package/dist/src/utils/scrollSampleIntoView.d.ts +9 -0
- package/package.json +2 -2
|
@@ -1,421 +1,469 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var lt = Object.prototype.hasOwnProperty,
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
lt.call(c,
|
|
8
|
-
if (
|
|
9
|
-
for (var
|
|
10
|
-
|
|
1
|
+
var nt = Object.defineProperty, it = Object.defineProperties;
|
|
2
|
+
var ot = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var we = Object.getOwnPropertySymbols;
|
|
4
|
+
var lt = Object.prototype.hasOwnProperty, rt = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Re = (D, c, r) => c in D ? nt(D, c, { enumerable: !0, configurable: !0, writable: !0, value: r }) : D[c] = r, h = (D, c) => {
|
|
6
|
+
for (var r in c || (c = {}))
|
|
7
|
+
lt.call(c, r) && Re(D, r, c[r]);
|
|
8
|
+
if (we)
|
|
9
|
+
for (var r of we(c))
|
|
10
|
+
rt.call(c, r) && Re(D, r, c[r]);
|
|
11
11
|
return D;
|
|
12
|
-
},
|
|
13
|
-
import { jsx as
|
|
14
|
-
import { useRef as
|
|
15
|
-
import { message as
|
|
16
|
-
import
|
|
17
|
-
import { UploadZipsStatus as
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
12
|
+
}, m = (D, c) => it(D, ot(c));
|
|
13
|
+
import { jsx as s, jsxs as E } from "react/jsx-runtime";
|
|
14
|
+
import { useRef as B, useState as u, useEffect as N } from "react";
|
|
15
|
+
import { message as _, ConfigProvider as st, Space as fe, Select as ct, Button as Ee, Tabs as at, Col as dt, Tooltip as ft, Empty as Me, Spin as Ae, Modal as ut } from "antd";
|
|
16
|
+
import ht from "rc-virtual-list";
|
|
17
|
+
import { UploadZipsStatus as te } from "@glodon-aiot/apis";
|
|
18
|
+
import mt from "antd/es/locale/zh_CN";
|
|
19
|
+
import gt from "../../DatasetContext/index.mjs";
|
|
20
|
+
import bt from "../DetectionAnnotation/icon_item_empty.svg.mjs";
|
|
21
21
|
import "./style.less.mjs";
|
|
22
|
-
import { tagColors as
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
|
|
37
|
-
|
|
22
|
+
import { tagColors as ze } from "../../utils/index.mjs";
|
|
23
|
+
import { scrollSampleIntoView as pt, getVirtualListHolder as vt } from "../../utils/scrollSampleIntoView.mjs";
|
|
24
|
+
import { useKeyPress as Ct } from "ahooks";
|
|
25
|
+
import { SearchOutlined as It } from "@ant-design/icons";
|
|
26
|
+
import xt from "../../Common/Page/index.mjs";
|
|
27
|
+
import St from "../PageNav/index.mjs";
|
|
28
|
+
import Lt from "../Thumbnail/index.mjs";
|
|
29
|
+
import yt from "../CompositionInput/index.mjs";
|
|
30
|
+
import Vt from "lodash/merge";
|
|
31
|
+
import { DEFAULT_FILTER_SWITCH as Dt } from "../../constant.mjs";
|
|
32
|
+
import Nt from "../DetectionStatus/index.mjs";
|
|
33
|
+
import kt from "./components/ClassificationImageModal/index.mjs";
|
|
34
|
+
import Tt from "../DetectionAnnotation/components/Labels/index.mjs";
|
|
35
|
+
import wt from "../PicZipImportModal/index.mjs";
|
|
36
|
+
import { Prompt as Rt } from "../hooks/Prompt.mjs";
|
|
37
|
+
const on = (D) => {
|
|
38
|
+
var Ne, ke;
|
|
38
39
|
const {
|
|
39
40
|
services: c,
|
|
40
|
-
datasetId:
|
|
41
|
-
versionId:
|
|
42
|
-
backTo:
|
|
43
|
-
labelManager:
|
|
41
|
+
datasetId: r,
|
|
42
|
+
versionId: ne,
|
|
43
|
+
backTo: Fe,
|
|
44
|
+
labelManager: ue = !1,
|
|
44
45
|
datasetManager: T = !1,
|
|
45
|
-
annotation:
|
|
46
|
-
header:
|
|
46
|
+
annotation: Pe,
|
|
47
|
+
header: v = {
|
|
47
48
|
versionSelect: !1
|
|
48
49
|
}
|
|
49
|
-
} = D,
|
|
50
|
+
} = D, G = Vt(h({}, Dt), D.filterSwitch), K = B(null), ie = B(null), [S, Ue] = u(), [l, J] = u(), [oe, He] = u([]), [he, me] = u(!1), [Z, Be] = u(0), [Q, Ke] = u(0), [d, le] = u(""), [A, Ze] = u(0), [w, ge] = u([]), [C, re] = u([]), [be, q] = u(!1), [O, z] = u(!1), [R, I] = u(-1), [b, x] = u(), [L, y] = u(), [a, V] = u({
|
|
50
51
|
current: 0,
|
|
51
52
|
pageSize: 100
|
|
52
|
-
}), [
|
|
53
|
-
|
|
54
|
-
V((e) => h(
|
|
53
|
+
}), [W, se] = u([]), [$, qe] = u(""), F = B({}), ce = B(void 0), X = B(!1), ae = B(!1), [Oe, We] = u(), [pe, ve] = u(!1), [Ce, $e] = u(!1), [Ie, je] = u(!0), [_e, Ge] = u(!1), [j, Je] = u(""), xe = () => {
|
|
54
|
+
x(void 0), y(void 0), I(-1), q(!1), Y(), setTimeout(() => {
|
|
55
|
+
V((e) => m(h({}, e), {
|
|
55
56
|
current: 1,
|
|
56
57
|
type: void 0
|
|
57
58
|
}));
|
|
58
59
|
}, 10);
|
|
59
60
|
};
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
Ct("Esc", xe), N(() => {
|
|
62
|
+
r && c.cvforceDatahub.getS3Iam(r).then((e) => {
|
|
63
|
+
We(e);
|
|
63
64
|
});
|
|
64
|
-
}, [
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
})]).finally(() =>
|
|
68
|
-
}, [
|
|
65
|
+
}, [r, c.cvforceDatahub]), N(() => {
|
|
66
|
+
r && (me(!0), Promise.all([c.cvforceDatahub.getDatasetsId(r).then(Ue), c.cvforceDatahub.getDatasetsIdVersions(r, 1, 1e3).then((e) => {
|
|
67
|
+
He(e.recordList), J(ne ? e.recordList.find((t) => t.id === ne) : e.recordList[0]);
|
|
68
|
+
})]).finally(() => me(!1)));
|
|
69
|
+
}, [r, ne]), N(() => {
|
|
69
70
|
k();
|
|
70
|
-
}, [
|
|
71
|
-
|
|
72
|
-
}, [
|
|
73
|
-
!
|
|
71
|
+
}, [l == null ? void 0 : l.id, $]), N(() => {
|
|
72
|
+
Y();
|
|
73
|
+
}, [l, d]), N(() => {
|
|
74
|
+
!l || !S || P(m(h({}, a), {
|
|
74
75
|
current: 1
|
|
75
76
|
}));
|
|
76
|
-
}, [
|
|
77
|
-
|
|
77
|
+
}, [S == null ? void 0 : S.id, l == null ? void 0 : l.id, W, $]), N(() => {
|
|
78
|
+
if (X.current) {
|
|
79
|
+
X.current = !1;
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
if (ce.current === a.current) {
|
|
83
|
+
ce.current = void 0, k();
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
P().then(() => {
|
|
78
87
|
}), k();
|
|
79
|
-
}, [
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
88
|
+
}, [a.current]), N(() => {
|
|
89
|
+
let e;
|
|
90
|
+
if (!O) {
|
|
91
|
+
const t = b == null ? void 0 : b.id, n = R;
|
|
92
|
+
x(void 0), y(void 0), q(!1), I(-1), Y(), k(), t !== void 0 && (e = requestAnimationFrame(() => {
|
|
93
|
+
pt(vt(K.current), t, n);
|
|
94
|
+
}));
|
|
95
|
+
}
|
|
96
|
+
return () => {
|
|
97
|
+
e !== void 0 && cancelAnimationFrame(e);
|
|
98
|
+
};
|
|
99
|
+
}, [O]), N(() => {
|
|
100
|
+
if (!l || !S)
|
|
101
|
+
return;
|
|
102
|
+
const e = F.current[d], t = a.pageSize || 100;
|
|
103
|
+
(e && e.page > 1 ? P(m(h({}, a), {
|
|
104
|
+
current: 1,
|
|
105
|
+
pageSize: e.page * t,
|
|
106
|
+
total: void 0
|
|
107
|
+
})).then((o) => (ce.current = e.page, V((i) => m(h({}, i), {
|
|
108
|
+
current: e.page,
|
|
109
|
+
pageSize: t
|
|
110
|
+
})), o)) : P(m(h({}, a), {
|
|
83
111
|
current: 1,
|
|
84
112
|
total: void 0
|
|
85
|
-
})).then((
|
|
86
|
-
if (!(!
|
|
87
|
-
if (
|
|
88
|
-
const
|
|
89
|
-
|
|
113
|
+
}))).then((o) => {
|
|
114
|
+
if (!(!o || !Array.isArray(o)) && !(!b && !O))
|
|
115
|
+
if (o.length > 0) {
|
|
116
|
+
const i = e == null ? void 0 : e.index, f = i !== void 0 && i >= 0 && i < o.length ? i : 0;
|
|
117
|
+
I(f), x(o[f]), y(void 0);
|
|
90
118
|
} else
|
|
91
|
-
|
|
119
|
+
x(void 0), y(void 0), I(-1), V((i) => m(h({}, i), {
|
|
92
120
|
current: 1
|
|
93
121
|
}));
|
|
94
122
|
});
|
|
95
|
-
}, [
|
|
96
|
-
V(
|
|
97
|
-
total:
|
|
98
|
-
}) :
|
|
123
|
+
}, [d]), N(() => {
|
|
124
|
+
V(d === "nocode" ? (e) => m(h({}, e), {
|
|
125
|
+
total: Z
|
|
126
|
+
}) : d === "" ? (e) => m(h({}, e), {
|
|
99
127
|
total: A
|
|
100
|
-
}) :
|
|
101
|
-
total:
|
|
102
|
-
}) : (e) => h(
|
|
103
|
-
total: A -
|
|
128
|
+
}) : d === "pending" ? (e) => m(h({}, e), {
|
|
129
|
+
total: Q
|
|
130
|
+
}) : (e) => m(h({}, e), {
|
|
131
|
+
total: A - Z - Q
|
|
104
132
|
}));
|
|
105
|
-
}, [
|
|
106
|
-
const
|
|
133
|
+
}, [Z, A, Q]);
|
|
134
|
+
const Se = () => {
|
|
107
135
|
var e, t;
|
|
108
|
-
(t = (e =
|
|
136
|
+
(t = (e = K.current) == null ? void 0 : e.getElementsByClassName("rc-virtual-list-holder")[0]) == null || t.scrollTo({
|
|
109
137
|
top: 0
|
|
110
138
|
});
|
|
111
|
-
},
|
|
112
|
-
!
|
|
113
|
-
var t,
|
|
114
|
-
|
|
139
|
+
}, Le = () => {
|
|
140
|
+
!r || !l || c.cvforceDatahub.getDatasetsIdVersionsVid(r, l.id).then((e) => {
|
|
141
|
+
var t, n;
|
|
142
|
+
J(e), Je((n = (t = e.versionAsyncTask) == null ? void 0 : t.state) != null ? n : "");
|
|
115
143
|
});
|
|
116
144
|
};
|
|
117
145
|
N(() => {
|
|
118
|
-
|
|
119
|
-
}, [
|
|
120
|
-
|
|
121
|
-
}, [
|
|
122
|
-
|
|
123
|
-
}, [
|
|
146
|
+
j !== te.Pending && j !== te.Started || _.warning("文件导入中,请刷新页面再试");
|
|
147
|
+
}, [j]), N(() => {
|
|
148
|
+
Ge(!Ie && Ce);
|
|
149
|
+
}, [Ie, Ce]), N(() => {
|
|
150
|
+
r && (l != null && l.id) && Le();
|
|
151
|
+
}, [r, l == null ? void 0 : l.id]);
|
|
124
152
|
const k = () => {
|
|
125
|
-
!
|
|
153
|
+
!r || !l || c.cvforceDatahub.getDatasetsIdVersionsVidLabelcount(r, l.id, {
|
|
126
154
|
label: "allcode",
|
|
127
|
-
searchName:
|
|
155
|
+
searchName: $
|
|
128
156
|
}).then((e) => {
|
|
129
|
-
var
|
|
130
|
-
const t = e == null ? void 0 : e.find((
|
|
131
|
-
|
|
157
|
+
var i, f, p;
|
|
158
|
+
const t = e == null ? void 0 : e.find((g) => g.id === "allcodeid"), n = e == null ? void 0 : e.find((g) => g.id === "nocodeid"), o = e == null ? void 0 : e.find((g) => g.id === "pendingid");
|
|
159
|
+
Ze((i = t == null ? void 0 : t.count) != null ? i : 0), Be((f = n == null ? void 0 : n.count) != null ? f : 0), Ke((p = o == null ? void 0 : o.count) != null ? p : 0);
|
|
132
160
|
});
|
|
133
|
-
},
|
|
134
|
-
if (!(!
|
|
135
|
-
return c.cvforceDatahub.getDatasetsIdVersionsVidLabelcount(
|
|
136
|
-
const
|
|
137
|
-
label:
|
|
138
|
-
count:
|
|
139
|
-
id:
|
|
140
|
-
color:
|
|
161
|
+
}, Y = () => {
|
|
162
|
+
if (!(!r || !(l != null && l.id)))
|
|
163
|
+
return c.cvforceDatahub.getDatasetsIdVersionsVidLabelcount(r, l.id, {}).then((e) => {
|
|
164
|
+
const n = (e || []).filter((o) => o.label !== "nocode").map((o, i) => ({
|
|
165
|
+
label: o.label,
|
|
166
|
+
count: o.count,
|
|
167
|
+
id: o.id,
|
|
168
|
+
color: ze[i % 40]
|
|
141
169
|
}));
|
|
142
|
-
return
|
|
170
|
+
return ge(n), e;
|
|
143
171
|
});
|
|
144
|
-
},
|
|
145
|
-
const
|
|
146
|
-
if (!
|
|
172
|
+
}, P = (e, t) => {
|
|
173
|
+
const n = (e == null ? void 0 : e.current) || a.current, o = (e == null ? void 0 : e.pageSize) || a.pageSize;
|
|
174
|
+
if (!r || !l || !n)
|
|
147
175
|
return Promise.resolve(!1);
|
|
148
|
-
const
|
|
149
|
-
switch (
|
|
176
|
+
const i = W.map((p) => p.label), f = () => {
|
|
177
|
+
switch (d) {
|
|
150
178
|
case "nocode":
|
|
151
179
|
return "nocode";
|
|
152
180
|
case "hascode":
|
|
153
|
-
return
|
|
181
|
+
return i.length ? i : "hascode";
|
|
154
182
|
default:
|
|
155
|
-
return
|
|
183
|
+
return i.length ? i : void 0;
|
|
156
184
|
}
|
|
157
185
|
};
|
|
158
|
-
return
|
|
159
|
-
current:
|
|
160
|
-
pageSize:
|
|
161
|
-
})), c.cvforceDatahub.getDatasetsIdVersionsVidSamples(
|
|
162
|
-
pageNo:
|
|
163
|
-
pageSize:
|
|
164
|
-
labels:
|
|
165
|
-
searchName:
|
|
166
|
-
}).then((
|
|
167
|
-
const
|
|
168
|
-
return
|
|
169
|
-
current:
|
|
170
|
-
pageSize:
|
|
171
|
-
total:
|
|
172
|
-
})), (e == null ? void 0 : e.type) === "next" &&
|
|
186
|
+
return n === 1 && Se(), V((p) => m(h({}, p), {
|
|
187
|
+
current: n,
|
|
188
|
+
pageSize: o
|
|
189
|
+
})), c.cvforceDatahub.getDatasetsIdVersionsVidSamples(r, l.id, {
|
|
190
|
+
pageNo: n,
|
|
191
|
+
pageSize: o,
|
|
192
|
+
labels: f(),
|
|
193
|
+
searchName: $
|
|
194
|
+
}).then((p) => {
|
|
195
|
+
const g = p.recordList || [], M = n === 1 ? g : [...t || C, ...g];
|
|
196
|
+
return re(M), V((ee) => m(h({}, ee), {
|
|
197
|
+
current: n,
|
|
198
|
+
pageSize: o,
|
|
199
|
+
total: p.totalResults
|
|
200
|
+
})), (e == null ? void 0 : e.type) === "next" && g.length && (I(0), x(g[0])), (e == null ? void 0 : e.type) === "prev" && g.length && (I(o - 1), x(g[g.length - 1])), be && R < 0 && g.length && (I(0), x(g[0]), z(!0)), M;
|
|
173
201
|
}).catch(() => !1);
|
|
174
|
-
},
|
|
175
|
-
|
|
202
|
+
}, Qe = (e) => {
|
|
203
|
+
C && (q(!1), I(e), x(C[e]), y(void 0), z(!0), d !== void 0 && (F.current[d] = {
|
|
204
|
+
index: e,
|
|
205
|
+
page: a.current || 1
|
|
206
|
+
}));
|
|
176
207
|
};
|
|
177
208
|
N(() => {
|
|
178
|
-
var t,
|
|
179
|
-
if (!
|
|
209
|
+
var t, n, o;
|
|
210
|
+
if (!L)
|
|
180
211
|
return;
|
|
181
212
|
const e = [];
|
|
182
|
-
(t =
|
|
183
|
-
w != null && w.find((
|
|
184
|
-
}), e.length !== ((
|
|
213
|
+
(t = L.labels) == null || t.forEach((i) => {
|
|
214
|
+
w != null && w.find((f) => f.id === i.id) && e.push(i);
|
|
215
|
+
}), e.length !== ((o = (n = L.labels) == null ? void 0 : n.length) != null ? o : 0) && y(m(h({}, L), {
|
|
185
216
|
labels: e
|
|
186
217
|
}));
|
|
187
218
|
}, [w]);
|
|
188
|
-
const
|
|
189
|
-
if (!
|
|
219
|
+
const de = () => {
|
|
220
|
+
if (ae.current = !1, !l)
|
|
190
221
|
return Promise.resolve(!1);
|
|
191
|
-
const e =
|
|
192
|
-
if (!e || !
|
|
222
|
+
const e = L != null ? L : b;
|
|
223
|
+
if (!e || !L)
|
|
193
224
|
return Promise.resolve(!0);
|
|
194
|
-
const t = (
|
|
195
|
-
if (t.length ===
|
|
196
|
-
var
|
|
197
|
-
return ((
|
|
225
|
+
const t = (b == null ? void 0 : b.labels) || [], n = (L.labels || []).filter((i) => !!i.id);
|
|
226
|
+
if (t.length === n.length && n.every((i, f) => {
|
|
227
|
+
var p;
|
|
228
|
+
return ((p = t[f]) == null ? void 0 : p.id) === i.id;
|
|
198
229
|
}))
|
|
199
230
|
return Promise.resolve(!0);
|
|
200
|
-
const
|
|
201
|
-
labels:
|
|
202
|
-
var
|
|
203
|
-
return h(
|
|
204
|
-
box: (
|
|
231
|
+
const o = m(h({}, e), {
|
|
232
|
+
labels: n.map((i) => {
|
|
233
|
+
var f;
|
|
234
|
+
return m(h({}, i), {
|
|
235
|
+
box: (f = i.box) != null ? f : []
|
|
205
236
|
});
|
|
206
237
|
}),
|
|
207
|
-
isLabeled:
|
|
238
|
+
isLabeled: n.length > 0
|
|
208
239
|
});
|
|
209
|
-
return c.cvforceDatahub.updateSamples(
|
|
210
|
-
var
|
|
211
|
-
|
|
240
|
+
return c.cvforceDatahub.updateSamples(r, l.id, [o]).then(() => {
|
|
241
|
+
var f, p;
|
|
242
|
+
_.success({
|
|
212
243
|
content: "保存成功"
|
|
213
244
|
});
|
|
214
|
-
const
|
|
215
|
-
return
|
|
216
|
-
const
|
|
217
|
-
if (
|
|
218
|
-
return
|
|
219
|
-
if (
|
|
220
|
-
const
|
|
221
|
-
if (V((
|
|
222
|
-
total:
|
|
223
|
-
})),
|
|
224
|
-
|
|
245
|
+
const i = d === "nocode" && ((f = o.labels) == null ? void 0 : f.length) || d === "hascode" && !((p = o.labels) != null && p.length);
|
|
246
|
+
return ae.current = !!i, re((g) => {
|
|
247
|
+
const M = g.findIndex((U) => U.id === o.id);
|
|
248
|
+
if (M === -1)
|
|
249
|
+
return g;
|
|
250
|
+
if (i) {
|
|
251
|
+
const U = g.slice(0, M).concat(g.slice(M + 1));
|
|
252
|
+
if (V((H) => m(h({}, H), {
|
|
253
|
+
total: H.total != null ? Math.max(0, H.total - 1) : void 0
|
|
254
|
+
})), U.length === 0)
|
|
255
|
+
x(void 0), y(void 0), I(-1), z(!1);
|
|
225
256
|
else {
|
|
226
|
-
const
|
|
227
|
-
|
|
257
|
+
const H = Math.min(R, U.length - 1), Te = U[H];
|
|
258
|
+
Te != null && (x(Te), I(H), y(void 0));
|
|
228
259
|
}
|
|
229
|
-
return
|
|
260
|
+
return U;
|
|
230
261
|
}
|
|
231
|
-
const
|
|
232
|
-
return
|
|
233
|
-
}),
|
|
262
|
+
const ee = [...g];
|
|
263
|
+
return ee[M] = o, ee;
|
|
264
|
+
}), i || (x(o), y(o)), !0;
|
|
234
265
|
}).catch(() => !1);
|
|
235
|
-
},
|
|
236
|
-
|
|
237
|
-
|
|
266
|
+
}, ye = () => {
|
|
267
|
+
if (!C)
|
|
268
|
+
return;
|
|
269
|
+
const e = b == null ? void 0 : b.id;
|
|
270
|
+
de().then((t) => {
|
|
271
|
+
if (!t)
|
|
238
272
|
return;
|
|
239
273
|
k();
|
|
240
|
-
const
|
|
241
|
-
|
|
242
|
-
current:
|
|
243
|
-
pageSize:
|
|
274
|
+
const n = ae.current, o = n ? C.filter((p) => p.id !== e) : C, i = n ? R : R + 1, f = a.total != null ? a.total - (n ? 1 : 0) : void 0;
|
|
275
|
+
n && o.length === 0 || (i >= o.length ? f != null && i >= f ? _.error("已经是最后一个了") : P({
|
|
276
|
+
current: a.current + 1,
|
|
277
|
+
pageSize: a.pageSize,
|
|
244
278
|
type: "next"
|
|
245
|
-
},
|
|
246
|
-
Array.isArray(
|
|
279
|
+
}, o).then((p) => {
|
|
280
|
+
Array.isArray(p) && (I(i), x(p[i]), y(void 0), d !== void 0 && (F.current[d] = {
|
|
281
|
+
index: i,
|
|
282
|
+
page: a.current + 1
|
|
283
|
+
}));
|
|
247
284
|
}) : setTimeout(() => {
|
|
248
|
-
|
|
249
|
-
|
|
285
|
+
I(i), x(o[i]), y(void 0), d !== void 0 && (F.current[d] = {
|
|
286
|
+
index: i,
|
|
287
|
+
page: a.current || 1
|
|
288
|
+
});
|
|
289
|
+
}, 200));
|
|
250
290
|
});
|
|
251
|
-
},
|
|
252
|
-
|
|
291
|
+
}, Xe = () => {
|
|
292
|
+
C && de().then((e) => {
|
|
253
293
|
if (!e)
|
|
254
294
|
return;
|
|
255
295
|
k();
|
|
256
|
-
const t =
|
|
257
|
-
t < 0 ?
|
|
258
|
-
|
|
296
|
+
const t = R - 1;
|
|
297
|
+
t < 0 ? _.error("已经是第一个了") : setTimeout(() => {
|
|
298
|
+
I(t), x(C[t]), y(void 0), d !== void 0 && (F.current[d] = {
|
|
299
|
+
index: t,
|
|
300
|
+
page: a.current || 1
|
|
301
|
+
});
|
|
259
302
|
}, 200);
|
|
260
303
|
});
|
|
261
|
-
},
|
|
304
|
+
}, Ye = () => {
|
|
262
305
|
var e;
|
|
263
|
-
if ((e =
|
|
264
|
-
return
|
|
265
|
-
|
|
266
|
-
},
|
|
267
|
-
|
|
306
|
+
if ((e = L == null ? void 0 : L.labels) != null && e.some((t) => !t.id))
|
|
307
|
+
return _.error("请选择标签"), Promise.resolve(!1);
|
|
308
|
+
ye();
|
|
309
|
+
}, et = () => {
|
|
310
|
+
ut.confirm({
|
|
268
311
|
title: "确认要删除当前数据吗?",
|
|
269
312
|
content: "数据包含当前标注的内容和图片,删除后无法恢复,请确认是否删除!",
|
|
270
313
|
onOk: () => {
|
|
271
|
-
!
|
|
272
|
-
const e =
|
|
273
|
-
if (t.splice(e, 1),
|
|
274
|
-
total:
|
|
314
|
+
!b || !l || c.cvforceDatahub.delDatasetsIdVersionsVidSamplesId(r, l.id, b.id).then(() => {
|
|
315
|
+
const e = C.findIndex((n) => n.id === b.id), t = [...C];
|
|
316
|
+
if (t.splice(e, 1), re(t), V((n) => m(h({}, n), {
|
|
317
|
+
total: n.total != null ? n.total - 1 : 0
|
|
275
318
|
})), t.length > 0) {
|
|
276
|
-
const
|
|
277
|
-
|
|
319
|
+
const n = e < t.length ? e : e - 1;
|
|
320
|
+
x(t[n]), I(n);
|
|
278
321
|
} else
|
|
279
|
-
|
|
322
|
+
x(void 0), y(void 0), I(-1), z(!1), V((n) => m(h({}, n), {
|
|
280
323
|
current: 1
|
|
281
324
|
}));
|
|
282
325
|
y(void 0), k();
|
|
283
326
|
});
|
|
284
327
|
}
|
|
285
328
|
});
|
|
286
|
-
},
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
329
|
+
}, Ve = (e) => {
|
|
330
|
+
R >= 0 && d !== void 0 && d !== null && (F.current[d] = {
|
|
331
|
+
index: R,
|
|
332
|
+
page: a.current || 1
|
|
333
|
+
});
|
|
334
|
+
const t = (a.current || 1) !== 1;
|
|
335
|
+
L ? de().then((n) => {
|
|
336
|
+
n && (X.current = t, le(e), k());
|
|
337
|
+
}) : (X.current = t, V((n) => m(h({}, n), {
|
|
290
338
|
current: 1,
|
|
291
339
|
total: void 0
|
|
292
|
-
})),
|
|
293
|
-
},
|
|
340
|
+
})), le(e)), e === "nocode" && se([]);
|
|
341
|
+
}, De = [{
|
|
294
342
|
key: "",
|
|
295
343
|
label: `全部(${A})`,
|
|
296
344
|
children: null
|
|
297
345
|
}, {
|
|
298
346
|
key: "nocode",
|
|
299
|
-
label: `未标注(${
|
|
347
|
+
label: `未标注(${Z})`,
|
|
300
348
|
children: null
|
|
301
349
|
}, {
|
|
302
350
|
key: "hascode",
|
|
303
|
-
label: `已标注(${A -
|
|
351
|
+
label: `已标注(${A - Z - Q})`,
|
|
304
352
|
children: null
|
|
305
|
-
}],
|
|
306
|
-
var
|
|
353
|
+
}], tt = (e) => {
|
|
354
|
+
var n;
|
|
307
355
|
const t = e.currentTarget;
|
|
308
|
-
(
|
|
309
|
-
current:
|
|
356
|
+
(a.total == null || a.total > C.length) && t.scrollHeight - t.scrollTop === ((n = K.current) == null ? void 0 : n.clientHeight) && V((o) => m(h({}, o), {
|
|
357
|
+
current: o.current + 1
|
|
310
358
|
}));
|
|
311
359
|
};
|
|
312
|
-
return /* @__PURE__ */
|
|
313
|
-
locale:
|
|
314
|
-
children: /* @__PURE__ */
|
|
360
|
+
return /* @__PURE__ */ s(st, {
|
|
361
|
+
locale: mt,
|
|
362
|
+
children: /* @__PURE__ */ s(gt.Provider, {
|
|
315
363
|
value: {
|
|
316
|
-
datasetId:
|
|
317
|
-
versionId: (
|
|
318
|
-
no: (
|
|
319
|
-
loading:
|
|
320
|
-
version:
|
|
321
|
-
versions:
|
|
322
|
-
samples:
|
|
323
|
-
pagination:
|
|
364
|
+
datasetId: r,
|
|
365
|
+
versionId: (l == null ? void 0 : l.id) || "",
|
|
366
|
+
no: (l == null ? void 0 : l.no) || "",
|
|
367
|
+
loading: he,
|
|
368
|
+
version: l,
|
|
369
|
+
versions: oe,
|
|
370
|
+
samples: C,
|
|
371
|
+
pagination: a,
|
|
324
372
|
services: c,
|
|
325
373
|
featuresConfig: {
|
|
326
|
-
labelManager:
|
|
374
|
+
labelManager: ue,
|
|
327
375
|
datasetManager: T,
|
|
328
|
-
annotation:
|
|
329
|
-
filterSwitch:
|
|
330
|
-
header:
|
|
376
|
+
annotation: Pe,
|
|
377
|
+
filterSwitch: G,
|
|
378
|
+
header: v,
|
|
331
379
|
exampleSrcRoot: D.exampleSrcRoot
|
|
332
380
|
}
|
|
333
381
|
},
|
|
334
|
-
children:
|
|
382
|
+
children: S ? S.markType === "classification" ? /* @__PURE__ */ s("div", {
|
|
335
383
|
className: "classification-version-detail",
|
|
336
|
-
children: /* @__PURE__ */ E(
|
|
384
|
+
children: /* @__PURE__ */ E(xt, {
|
|
337
385
|
className: "product-details-page",
|
|
338
|
-
header:
|
|
339
|
-
backTo:
|
|
340
|
-
onBackClick:
|
|
386
|
+
header: v !== !1 ? /* @__PURE__ */ s(St, {
|
|
387
|
+
backTo: Fe,
|
|
388
|
+
onBackClick: v != null && v.onBackClick ? () => {
|
|
341
389
|
var e;
|
|
342
|
-
|
|
390
|
+
b && xe(), (e = v == null ? void 0 : v.onBackClick) == null || e.call(v);
|
|
343
391
|
} : void 0,
|
|
344
|
-
left: !
|
|
345
|
-
children: [/* @__PURE__ */
|
|
392
|
+
left: !he && /* @__PURE__ */ E(fe, {
|
|
393
|
+
children: [/* @__PURE__ */ s("span", {
|
|
346
394
|
style: {
|
|
347
395
|
fontWeight: "bold"
|
|
348
396
|
},
|
|
349
|
-
children:
|
|
350
|
-
}), /* @__PURE__ */
|
|
351
|
-
disabled: (
|
|
352
|
-
value:
|
|
397
|
+
children: S == null ? void 0 : S.name
|
|
398
|
+
}), /* @__PURE__ */ s(ct, {
|
|
399
|
+
disabled: (v == null ? void 0 : v.versionSelect) === !1,
|
|
400
|
+
value: l == null ? void 0 : l.id,
|
|
353
401
|
style: {
|
|
354
402
|
width: 70
|
|
355
403
|
},
|
|
356
|
-
options:
|
|
404
|
+
options: oe.map((e) => ({
|
|
357
405
|
label: e.no,
|
|
358
406
|
value: e.id
|
|
359
407
|
})),
|
|
360
408
|
onChange: (e) => {
|
|
361
|
-
var
|
|
362
|
-
const t =
|
|
363
|
-
t && (
|
|
409
|
+
var n;
|
|
410
|
+
const t = oe.find((o) => o.id === e);
|
|
411
|
+
t && (J(t), (n = v == null ? void 0 : v.onVersionChange) == null || n.call(v, t));
|
|
364
412
|
}
|
|
365
413
|
})]
|
|
366
414
|
}),
|
|
367
|
-
right: /* @__PURE__ */ E(
|
|
368
|
-
children: [!
|
|
415
|
+
right: /* @__PURE__ */ E(fe, {
|
|
416
|
+
children: [!b && T && T.add && /* @__PURE__ */ s(Ee, {
|
|
369
417
|
type: "default",
|
|
370
|
-
onClick: () =>
|
|
371
|
-
disabled:
|
|
418
|
+
onClick: () => ve(!0),
|
|
419
|
+
disabled: j === te.Pending || j === te.Started,
|
|
372
420
|
children: "导入数据"
|
|
373
|
-
}), !
|
|
421
|
+
}), !b && T && T.label && /* @__PURE__ */ s(Ee, {
|
|
374
422
|
type: "primary",
|
|
375
423
|
onClick: () => {
|
|
376
|
-
|
|
424
|
+
b || le("nocode"), q(!0), I(-1), d === "nocode" && (C != null && C.length) && (I(0), x(C[0])), z(!0);
|
|
377
425
|
},
|
|
378
426
|
children: "开始标注"
|
|
379
|
-
}), /* @__PURE__ */
|
|
380
|
-
when:
|
|
427
|
+
}), /* @__PURE__ */ s(Rt, {
|
|
428
|
+
when: _e,
|
|
381
429
|
content: "确认要离开此页面吗?",
|
|
382
430
|
subContent: "离开此页面后,将结束导入,放弃未上传的文件,请谨慎操作!"
|
|
383
|
-
}),
|
|
384
|
-
datasetIam:
|
|
385
|
-
datasetId:
|
|
386
|
-
currentVersion:
|
|
387
|
-
tenCode:
|
|
388
|
-
isVisible:
|
|
389
|
-
setIsVisible:
|
|
431
|
+
}), pe && /* @__PURE__ */ s(wt, {
|
|
432
|
+
datasetIam: Oe,
|
|
433
|
+
datasetId: r,
|
|
434
|
+
currentVersion: l,
|
|
435
|
+
tenCode: S == null ? void 0 : S.tenantCode,
|
|
436
|
+
isVisible: pe,
|
|
437
|
+
setIsVisible: ve,
|
|
390
438
|
getVersionListRequest: k,
|
|
391
|
-
setIsConfirm:
|
|
439
|
+
setIsConfirm: je,
|
|
392
440
|
onUploadStatusChange: (e) => {
|
|
393
|
-
|
|
441
|
+
$e(e);
|
|
394
442
|
},
|
|
395
443
|
tableReload: () => {
|
|
396
444
|
var e;
|
|
397
|
-
|
|
445
|
+
l != null && l.id && (Se(), P(m(h({}, a), {
|
|
398
446
|
current: 1
|
|
399
|
-
})), (e =
|
|
447
|
+
})), (e = ie.current) == null || e.fetchLabels());
|
|
400
448
|
},
|
|
401
|
-
loadVersionData:
|
|
402
|
-
markType:
|
|
449
|
+
loadVersionData: Le,
|
|
450
|
+
markType: S == null ? void 0 : S.markType
|
|
403
451
|
})]
|
|
404
452
|
})
|
|
405
453
|
}) : void 0,
|
|
406
|
-
children: [/* @__PURE__ */
|
|
454
|
+
children: [/* @__PURE__ */ s("div", {
|
|
407
455
|
className: "detection-header",
|
|
408
|
-
children: /* @__PURE__ */ E(
|
|
409
|
-
children: [
|
|
456
|
+
children: /* @__PURE__ */ E(fe, {
|
|
457
|
+
children: [G.tabs && /* @__PURE__ */ s(at, {
|
|
410
458
|
className: "header-tab",
|
|
411
|
-
activeKey:
|
|
412
|
-
items:
|
|
413
|
-
onChange:
|
|
414
|
-
}), !
|
|
459
|
+
activeKey: d,
|
|
460
|
+
items: De,
|
|
461
|
+
onChange: Ve
|
|
462
|
+
}), !b && G.search && /* @__PURE__ */ s(yt, {
|
|
415
463
|
placeholder: "请输入图片名称搜索",
|
|
416
|
-
suffix: /* @__PURE__ */
|
|
417
|
-
value:
|
|
418
|
-
onChange:
|
|
464
|
+
suffix: /* @__PURE__ */ s(It, {}),
|
|
465
|
+
value: $,
|
|
466
|
+
onChange: qe,
|
|
419
467
|
allowClear: !0
|
|
420
468
|
})]
|
|
421
469
|
})
|
|
@@ -423,68 +471,69 @@ const Qt = (D) => {
|
|
|
423
471
|
className: "d-row",
|
|
424
472
|
children: [/* @__PURE__ */ E("div", {
|
|
425
473
|
className: "d-right",
|
|
426
|
-
ref:
|
|
427
|
-
children: [
|
|
428
|
-
datasetId:
|
|
429
|
-
isImageDetailVisible:
|
|
474
|
+
ref: K,
|
|
475
|
+
children: [O && /* @__PURE__ */ s(kt, {
|
|
476
|
+
datasetId: r,
|
|
477
|
+
isImageDetailVisible: O,
|
|
430
478
|
setIsImageDetailVisible: z,
|
|
431
|
-
currentSample:
|
|
479
|
+
currentSample: L != null ? L : b,
|
|
432
480
|
labels: w,
|
|
433
|
-
previewMode: !
|
|
434
|
-
filterItems:
|
|
435
|
-
filterMode:
|
|
436
|
-
onFilterChange:
|
|
481
|
+
previewMode: !be,
|
|
482
|
+
filterItems: De,
|
|
483
|
+
filterMode: d,
|
|
484
|
+
onFilterChange: Ve,
|
|
437
485
|
onChange: y,
|
|
438
|
-
onNextClick:
|
|
439
|
-
onPrevClick:
|
|
440
|
-
onSave:
|
|
441
|
-
onEnterEdit: () =>
|
|
442
|
-
onDeleteSample:
|
|
486
|
+
onNextClick: ye,
|
|
487
|
+
onPrevClick: Xe,
|
|
488
|
+
onSave: Ye,
|
|
489
|
+
onEnterEdit: () => q(!0),
|
|
490
|
+
onDeleteSample: et,
|
|
443
491
|
onRefresh: () => {
|
|
444
492
|
var e, t;
|
|
445
|
-
(e =
|
|
493
|
+
(e = Y()) == null || e.then(() => k()), (t = ie.current) == null || t.fetchLabels();
|
|
446
494
|
},
|
|
447
495
|
isPreLabel: !1,
|
|
448
496
|
imgCount: {
|
|
449
497
|
total: A,
|
|
450
|
-
index:
|
|
498
|
+
index: R + 1
|
|
451
499
|
},
|
|
452
|
-
settingHide: !
|
|
500
|
+
settingHide: !ue,
|
|
453
501
|
canLabel: !!(T && T.label),
|
|
454
502
|
canDelete: !!(T && T.delete)
|
|
455
|
-
}),
|
|
503
|
+
}), a.total !== void 0 && a.total > 0 ? /* @__PURE__ */ s(ht, {
|
|
456
504
|
innerProps: {
|
|
457
505
|
className: "d-right-row"
|
|
458
506
|
},
|
|
459
|
-
data:
|
|
507
|
+
data: C,
|
|
460
508
|
itemKey: "id",
|
|
461
|
-
height: (
|
|
462
|
-
onScroll:
|
|
509
|
+
height: (ke = (Ne = K.current) == null ? void 0 : Ne.clientHeight) != null ? ke : 600,
|
|
510
|
+
onScroll: tt,
|
|
463
511
|
children: (e, t) => {
|
|
464
|
-
var
|
|
465
|
-
return /* @__PURE__ */
|
|
512
|
+
var n;
|
|
513
|
+
return /* @__PURE__ */ s(dt, {
|
|
466
514
|
className: "d-right-col",
|
|
467
|
-
|
|
515
|
+
"data-sample-id": e.id,
|
|
516
|
+
onClick: () => Qe(t),
|
|
468
517
|
children: /* @__PURE__ */ E("div", {
|
|
469
518
|
className: "right-col-wrapper",
|
|
470
|
-
children: [/* @__PURE__ */
|
|
519
|
+
children: [/* @__PURE__ */ s("div", {
|
|
471
520
|
className: "detection-status-wrapper",
|
|
472
|
-
children: /* @__PURE__ */
|
|
521
|
+
children: /* @__PURE__ */ s(Nt, {
|
|
473
522
|
sample: e
|
|
474
523
|
})
|
|
475
|
-
}), /* @__PURE__ */
|
|
524
|
+
}), /* @__PURE__ */ s("div", {
|
|
476
525
|
className: "right-col-img",
|
|
477
|
-
children: /* @__PURE__ */
|
|
526
|
+
children: /* @__PURE__ */ s(Lt, {
|
|
478
527
|
fileKey: e.fileKey,
|
|
479
528
|
width: 124,
|
|
480
529
|
thumbnailUrl: e.thumbnailUrl
|
|
481
530
|
})
|
|
482
531
|
}), /* @__PURE__ */ E("div", {
|
|
483
532
|
className: "right-col-text",
|
|
484
|
-
children: [(
|
|
533
|
+
children: [(n = e.labels) != null && n.length ? /* @__PURE__ */ s(ft, {
|
|
485
534
|
placement: "top",
|
|
486
535
|
title: e.labels[0].label,
|
|
487
|
-
children: /* @__PURE__ */
|
|
536
|
+
children: /* @__PURE__ */ s("span", {
|
|
488
537
|
style: {
|
|
489
538
|
display: "inline-block",
|
|
490
539
|
maxWidth: "calc(100% - 25px)",
|
|
@@ -494,45 +543,45 @@ const Qt = (D) => {
|
|
|
494
543
|
},
|
|
495
544
|
children: e.labels[0].label
|
|
496
545
|
})
|
|
497
|
-
}) : /* @__PURE__ */
|
|
546
|
+
}) : /* @__PURE__ */ s("span", {
|
|
498
547
|
style: {
|
|
499
548
|
color: "rgba(0,0,0,0.45)",
|
|
500
549
|
width: "100%"
|
|
501
550
|
},
|
|
502
551
|
children: "无标签"
|
|
503
|
-
}), /* @__PURE__ */
|
|
552
|
+
}), /* @__PURE__ */ s("div", {
|
|
504
553
|
children: t + 1
|
|
505
554
|
})]
|
|
506
555
|
})]
|
|
507
556
|
})
|
|
508
557
|
}, e.id);
|
|
509
558
|
}
|
|
510
|
-
}) : /* @__PURE__ */
|
|
559
|
+
}) : /* @__PURE__ */ s("div", {
|
|
511
560
|
className: "empty",
|
|
512
|
-
children:
|
|
513
|
-
image:
|
|
561
|
+
children: a.total === 0 ? /* @__PURE__ */ s(Me, {
|
|
562
|
+
image: bt,
|
|
514
563
|
description: "暂无数据"
|
|
515
|
-
}) : /* @__PURE__ */
|
|
564
|
+
}) : /* @__PURE__ */ s(Ae, {})
|
|
516
565
|
})]
|
|
517
|
-
}),
|
|
566
|
+
}), d !== "nocode" && G.labels && /* @__PURE__ */ s("div", {
|
|
518
567
|
className: "d-sider",
|
|
519
|
-
children: /* @__PURE__ */
|
|
520
|
-
ref:
|
|
521
|
-
datasetId:
|
|
568
|
+
children: /* @__PURE__ */ s(Tt, {
|
|
569
|
+
ref: ie,
|
|
570
|
+
datasetId: r,
|
|
522
571
|
data: w || [],
|
|
523
|
-
selected:
|
|
572
|
+
selected: W,
|
|
524
573
|
onSelectedChange: (e) => {
|
|
525
|
-
|
|
574
|
+
se((w == null ? void 0 : w.filter((t) => e.find((n) => n.label === t.label))) || []);
|
|
526
575
|
},
|
|
527
576
|
onListChange: () => {
|
|
528
|
-
|
|
529
|
-
const
|
|
530
|
-
label:
|
|
531
|
-
count:
|
|
532
|
-
id:
|
|
533
|
-
color:
|
|
534
|
-
})),
|
|
535
|
-
|
|
577
|
+
l && (c.cvforceDatahub.getDatasetsIdVersionsVidLabelcount(r, l.id, {}).then((e) => {
|
|
578
|
+
const n = (e || []).filter((i) => i.label !== "nocode").map((i, f) => ({
|
|
579
|
+
label: i.label,
|
|
580
|
+
count: i.count,
|
|
581
|
+
id: i.id,
|
|
582
|
+
color: ze[f % 40]
|
|
583
|
+
})), o = W.filter((i) => n.some((f) => f.id === i.id));
|
|
584
|
+
ge(n), W.length !== o.length && se(o);
|
|
536
585
|
}), k());
|
|
537
586
|
},
|
|
538
587
|
isPreLabel: !1
|
|
@@ -540,18 +589,18 @@ const Qt = (D) => {
|
|
|
540
589
|
})]
|
|
541
590
|
})]
|
|
542
591
|
})
|
|
543
|
-
}) : /* @__PURE__ */
|
|
592
|
+
}) : /* @__PURE__ */ s("div", {
|
|
544
593
|
className: "empty",
|
|
545
|
-
children: /* @__PURE__ */
|
|
594
|
+
children: /* @__PURE__ */ s(Me, {
|
|
546
595
|
description: "当前数据集不是 classification(图像分类) 类型"
|
|
547
596
|
})
|
|
548
|
-
}) : /* @__PURE__ */
|
|
597
|
+
}) : /* @__PURE__ */ s("div", {
|
|
549
598
|
className: "empty",
|
|
550
|
-
children: /* @__PURE__ */
|
|
599
|
+
children: /* @__PURE__ */ s(Ae, {})
|
|
551
600
|
})
|
|
552
601
|
})
|
|
553
602
|
});
|
|
554
603
|
};
|
|
555
604
|
export {
|
|
556
|
-
|
|
605
|
+
on as default
|
|
557
606
|
};
|