@glodon-aiot/dataset-annotation 3.19.2-alpha.2 → 3.19.2-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.
@@ -1,12 +1,12 @@
1
- var Al = Object.defineProperty;
1
+ var Bl = Object.defineProperty;
2
2
  var Ie = Object.getOwnPropertySymbols;
3
- var yl = Object.prototype.hasOwnProperty, $l = Object.prototype.propertyIsEnumerable;
4
- var Ze = (y, l, s) => l in y ? Al(y, l, { enumerable: !0, configurable: !0, writable: !0, value: s }) : y[l] = s, _e = (y, l) => {
3
+ var Al = Object.prototype.hasOwnProperty, yl = Object.prototype.propertyIsEnumerable;
4
+ var Ze = (y, l, s) => l in y ? Bl(y, l, { enumerable: !0, configurable: !0, writable: !0, value: s }) : y[l] = s, _e = (y, l) => {
5
5
  for (var s in l || (l = {}))
6
- yl.call(l, s) && Ze(y, s, l[s]);
6
+ Al.call(l, s) && Ze(y, s, l[s]);
7
7
  if (Ie)
8
8
  for (var s of Ie(l))
9
- $l.call(l, s) && Ze(y, s, l[s]);
9
+ yl.call(l, s) && Ze(y, s, l[s]);
10
10
  return y;
11
11
  };
12
12
  var Ce = (y, l, s) => new Promise((g, I) => {
@@ -26,24 +26,24 @@ var Ce = (y, l, s) => new Promise((g, I) => {
26
26
  k((s = s.apply(y, l)).next());
27
27
  });
28
28
  import { jsxs as d, Fragment as Y, jsx as e } from "react/jsx-runtime";
29
- import { useContext as vl, useState as p, useRef as Sl, useEffect as V } from "react";
30
- import { Form as U, message as T, Modal as ee, Button as O, Radio as N, Tooltip as Nl, Space as Ke, Upload as Ge, Row as Ee, Col as Fl, Spin as xl, Result as qe } from "antd";
29
+ import { useContext as $l, useState as p, useRef as vl, useEffect as V } from "react";
30
+ import { Form as U, message as T, Modal as ee, Button as O, Radio as F, Tooltip as Sl, Space as Ke, Upload as Ge, Row as Ee, Col as Nl, Spin as Fl, Result as qe } from "antd";
31
31
  import "./style.less.mjs";
32
- import { InfoCircleOutlined as jl, CloudUploadOutlined as Ll, PaperClipOutlined as kl, DeleteOutlined as Ul, PlusOutlined as Tl } from "@ant-design/icons";
33
- import Vl from "browser-md5-file";
32
+ import { InfoCircleOutlined as xl, CloudUploadOutlined as jl, PaperClipOutlined as Ll, DeleteOutlined as kl, PlusOutlined as Ul } from "@ant-design/icons";
33
+ import Tl from "browser-md5-file";
34
34
  import { initMinio as Je, putObjectBuffer as We } from "@glodon-aiot/minio";
35
- import Ol from "./pic_zip.svg.mjs";
36
- import Rl from "./pic_zip_json.svg.mjs";
37
- import Dl from "./pic_vlm_json_zip.svg.mjs";
38
- import Ml from "./pic_vlm_zip.svg.mjs";
39
- import Pl from "./pic_vlm_dwg_zip.svg.mjs";
35
+ import Vl from "./pic_zip.svg.mjs";
36
+ import Ol from "./pic_zip_json.svg.mjs";
37
+ import Rl from "./pic_vlm_json_zip.svg.mjs";
38
+ import Dl from "./pic_vlm_zip.svg.mjs";
39
+ import Ml from "./pic_vlm_dwg_zip.svg.mjs";
40
40
  import { MB as Qe, GB as Xe } from "../../constant.mjs";
41
- import { fileSuffixToLowerCase as Il } from "../../utils/index.mjs";
42
- import Zl from "../../DatasetContext/index.mjs";
43
- import { EXAMPLE_SRC_ROOT as _l } from "../../featuresConfig.mjs";
44
- import { getImportConfig as Kl } from "./config.mjs";
41
+ import { fileSuffixToLowerCase as Pl } from "../../utils/index.mjs";
42
+ import Il from "../../DatasetContext/index.mjs";
43
+ import { EXAMPLE_SRC_ROOT as Zl } from "../../featuresConfig.mjs";
44
+ import { getImportConfig as _l } from "./config.mjs";
45
45
  let z = 0, J = 0, R = 0, W = 0;
46
- const ft = (y) => {
46
+ const mt = (y) => {
47
47
  const {
48
48
  datasetIam: l,
49
49
  datasetId: s,
@@ -67,14 +67,14 @@ const ft = (y) => {
67
67
  featuresConfig: {
68
68
  exampleSrcRoot: Be
69
69
  } = {
70
- exampleSrcRoot: _l
70
+ exampleSrcRoot: Zl
71
71
  }
72
- } = vl(Zl), [v, Ye] = p(0), [S, el] = p(0), [te, ll] = p([]), [P, tl] = p(), [Ae, Gl] = p([]), [ie, X] = p(!1), [ye, se] = p(!1), [_, ne] = p(!1), [oe, il] = p(0), [sl, nl] = p(0), [ae, $e] = p(-1), [re, ql] = p([]), [ve, Jl] = p([]), [Se, ce] = p(!1), ol = new Vl(), [K] = U.useForm(), r = U.useWatch("acceptType", K), F = U.useWatch("labelState", K), de = U.useWatch("labelFormat", K), [B, pe] = p([]), [j, ue] = p([]), [me, al] = p(), [Ne, Fe] = p(0), [xe, je] = p(!1), [Wl, Le] = p(""), [rl, ke] = p(!1), [Ue, cl] = p(
72
+ } = $l(Il), [v, Ye] = p(0), [S, el] = p(0), [te, ll] = p([]), [P, tl] = p(), [Ae, Kl] = p([]), [ie, X] = p(!1), [ye, se] = p(!1), [_, ne] = p(!1), [oe, il] = p(0), [sl, nl] = p(0), [ae, $e] = p(-1), [re, Gl] = p([]), [ve, ql] = p([]), [Se, ce] = p(!1), ol = new Tl(), [K] = U.useForm(), r = U.useWatch("acceptType", K), x = U.useWatch("labelState", K), de = U.useWatch("labelFormat", K), [B, pe] = p([]), [j, ue] = p([]), [me, al] = p(), [Ne, Fe] = p(0), [xe, je] = p(!1), [Jl, Le] = p(""), [rl, ke] = p(!1), [Ue, cl] = p(
73
73
  "unlabeled"
74
74
  /* Unlabeled */
75
- ), fe = Sl(!0), {
75
+ ), fe = vl(!0), {
76
76
  Dragger: dl
77
- } = Ge, m = Kl(c, de, k), he = m.imageMimeTypes, Te = m.imageAccept, ge = m.maxImageSize;
77
+ } = Ge, m = _l(c, de, k), he = m.imageMimeTypes, Te = m.imageAccept, ge = m.maxImageSize;
78
78
  V(() => {
79
79
  z = 0, J = 0, R = 0, W = 0, ne(!1), Z && (fe.current = !1, Q && Q());
80
80
  }, [Z]);
@@ -98,9 +98,9 @@ const ft = (y) => {
98
98
  const h = he.some((L) => L === w.type), A = w.size <= ge;
99
99
  h ? A || (a = a + 1, n.splice(n.findIndex((L) => L.name === w.name), 1)) : (f = f + 1, n.splice(n.findIndex((L) => L.name === w.name), 1));
100
100
  }), n.length > 100 && n.splice(100, n.length), Ye(f), el(a), J === t.length && (ce(!0), J = 0);
101
- const E = he.some((w) => w === i.type), x = i.size <= ge;
101
+ const E = he.some((w) => w === i.type), N = i.size <= ge;
102
102
  if (E) {
103
- if (!x)
103
+ if (!N)
104
104
  return !1;
105
105
  } else
106
106
  return !1;
@@ -175,11 +175,11 @@ const ft = (y) => {
175
175
  const n = Ae.find((A) => A.md5 === a);
176
176
  if (!n)
177
177
  return f();
178
- const b = n.name, C = b.substring(b.indexOf(".")), E = te.find((A) => A.name === b), x = {
178
+ const b = n.name, C = b.substring(b.indexOf(".")), E = te.find((A) => A.name === b), N = {
179
179
  "Content-Type": "application/octet-stream",
180
180
  "X-Amz-Meta-Width": E == null ? void 0 : E.width,
181
181
  "X-Amz-Meta-Height": E == null ? void 0 : E.height
182
- }, w = `dataset/${s}/sample/${a}${Il(C)}`;
182
+ }, w = `dataset/${s}/sample/${a}${Pl(C)}`;
183
183
  delete n.md5;
184
184
  const h = new FileReader();
185
185
  h.readAsArrayBuffer(n), h.onload = (A) => {
@@ -188,7 +188,7 @@ const ft = (y) => {
188
188
  useSSL: l == null ? void 0 : l.useSSL,
189
189
  accessKey: l == null ? void 0 : l.accessKey,
190
190
  secretKey: l == null ? void 0 : l.secretKey
191
- }), We(I, w, A.target.result, x, (L, G) => {
191
+ }), We(I, w, A.target.result, N, (L, G) => {
192
192
  X(!0), t += 1, L && (i += 1, nl(i)), il(t), ve.push({
193
193
  labels: [],
194
194
  fileKey: `${I}/${w}`,
@@ -235,21 +235,21 @@ const ft = (y) => {
235
235
  secretKey: l == null ? void 0 : l.secretKey
236
236
  }, n = (l == null ? void 0 : l.prefix) + ((C = i[0]) == null ? void 0 : C.name), b = new FileReader();
237
237
  b.readAsArrayBuffer(t), b.onload = (E) => {
238
- Je(f), We(l == null ? void 0 : l.bucket, n, E.target.result, a, (x, w) => {
239
- if (x)
240
- console.log(x);
238
+ Je(f), We(l == null ? void 0 : l.bucket, n, E.target.result, a, (N, w) => {
239
+ if (N)
240
+ console.log(N);
241
241
  else {
242
242
  if (fe.current)
243
243
  return;
244
244
  X(!0), c === "vlm" ? u == null || u.postVlmUploadPicsZip(s, g.id, {
245
245
  zipUrl: (l == null ? void 0 : l.bucket) + "/" + n,
246
- type: F === "labeled" ? 2 : 1
246
+ type: x === "labeled" ? 2 : 1
247
247
  }).then((h) => {
248
248
  De(h), Le(h);
249
249
  }) : u == null || u.postUploadPicsZip(s, g.id, _e({
250
250
  zipUrls: [(l == null ? void 0 : l.bucket) + "/" + n]
251
251
  }, (c === "ocr" || c === "detection" || c === "classification") && {
252
- type: F === "labeled" ? 1 : 0
252
+ type: x === "labeled" ? 1 : 0
253
253
  })).then((h) => {
254
254
  De(h), Le(h);
255
255
  });
@@ -286,7 +286,7 @@ const ft = (y) => {
286
286
  }, Me = () => {
287
287
  D(), X(!1), $(!1), we && we(), Q && Q();
288
288
  }, bl = /* @__PURE__ */ d("div", {
289
- children: [/* @__PURE__ */ e(Tl, {}), /* @__PURE__ */ e("div", {
289
+ children: [/* @__PURE__ */ e(Ul, {}), /* @__PURE__ */ e("div", {
290
290
  style: {
291
291
  marginTop: 8
292
292
  },
@@ -298,7 +298,7 @@ const ft = (y) => {
298
298
  const t = j.filter((o) => o.uid !== i.uid);
299
299
  ue(t);
300
300
  }, El = () => {
301
- F === "labeled" ? c === "vlm" ? de === "dwg-json" ? window.location.href = "https://sjzn-cv-data.obs.cn-north-4.myhuaweicloud.com/dataset_data/%E5%B7%A5%E7%A8%8B%E5%8C%96%E5%9B%BE%E7%BA%B8%E6%95%B0%E6%8D%AE%E7%A4%BA%E4%BE%8B%E6%95%B0%E6%8D%AE.zip" : k === "VQA" ? window.location.href = "https://sjzn-cv-data.obs.cn-north-4.myhuaweicloud.com/dataset_data/VLM-VQA%E6%A0%87%E6%B3%A8%E6%95%B0%E6%8D%AE%E7%A4%BA%E4%BE%8B.zip" : window.location.href = "https://sjzn-cv-data.obs.cn-north-4.myhuaweicloud.com:443/dataset_data/%E6%9C%89%E6%A0%87%E6%B3%A8%E7%A4%BA%E4%BE%8B.zip" : c === "detection" ? window.location.href = "https://sjzn-cv-data.obs.cn-north-4.myhuaweicloud.com:443/dataset_data/detection/%E6%A0%87%E6%B3%A8%E7%A4%BA%E4%BE%8B.zip" : c === "classification" ? window.location.href = "https://sjzn-cv-data.obs.cn-north-4.myhuaweicloud.com:443/dataset_data/classification/%E6%9C%89%E6%A0%87%E6%B3%A8%E7%A4%BA%E4%BE%8B.zip" : window.location.href = `${Be}/%E6%A0%87%E6%B3%A8%E6%A0%BC%E5%BC%8F%E7%A4%BA%E4%BE%8B.zip` : c === "vlm" ? window.location.href = "https://sjzn-cv-data.obs.cn-north-4.myhuaweicloud.com:443/dataset_data/%E6%97%A0%E6%A0%87%E6%B3%A8%E7%A4%BA%E4%BE%8B.zip" : window.location.href = `${Be}/%E7%A4%BA%E4%BE%8B%E5%8E%8B%E7%BC%A9%E5%8C%85.zip`;
301
+ x === "labeled" ? c === "vlm" ? de === "dwg-json" ? window.location.href = "https://sjzn-cv-data.obs.cn-north-4.myhuaweicloud.com/dataset_data/%E5%B7%A5%E7%A8%8B%E5%8C%96%E5%9B%BE%E7%BA%B8%E6%95%B0%E6%8D%AE%E7%A4%BA%E4%BE%8B%E6%95%B0%E6%8D%AE.zip" : k === "VQA" ? window.location.href = "https://sjzn-cv-data.obs.cn-north-4.myhuaweicloud.com/dataset_data/VLM-VQA%E6%A0%87%E6%B3%A8%E6%95%B0%E6%8D%AE%E7%A4%BA%E4%BE%8B.zip" : window.location.href = "https://sjzn-cv-data.obs.cn-north-4.myhuaweicloud.com:443/dataset_data/%E6%9C%89%E6%A0%87%E6%B3%A8%E7%A4%BA%E4%BE%8B.zip" : c === "detection" ? window.location.href = "https://sjzn-cv-data.obs.cn-north-4.myhuaweicloud.com:443/dataset_data/detection/%E6%A0%87%E6%B3%A8%E7%A4%BA%E4%BE%8B.zip" : c === "classification" ? window.location.href = "https://sjzn-cv-data.obs.cn-north-4.myhuaweicloud.com:443/dataset_data/classification/%E6%9C%89%E6%A0%87%E6%B3%A8%E7%A4%BA%E4%BE%8B.zip" : window.location.href = `${Be}/%E6%A0%87%E6%B3%A8%E6%A0%BC%E5%BC%8F%E7%A4%BA%E4%BE%8B.zip` : c === "vlm" ? window.location.href = "https://sjzn-cv-data.obs.cn-north-4.myhuaweicloud.com:443/dataset_data/%E6%97%A0%E6%A0%87%E6%B3%A8%E7%A4%BA%E4%BE%8B.zip" : window.location.href = `${Be}/%E7%A4%BA%E4%BE%8B%E5%8E%8B%E7%BC%A9%E5%8C%85.zip`;
302
302
  }, wl = () => {
303
303
  D(), je(!1), X(!1), $(!1);
304
304
  }, Pe = c === "vlm" ? "jsonl" : m.labelFormat || "json";
@@ -316,17 +316,17 @@ const ft = (y) => {
316
316
  }
317
317
  if (!t)
318
318
  return "";
319
- const x = t.formatErrorCount || 0, w = t.successCount || 0, h = t.repeatCount || 0, A = t.failedCount || 0, L = t.hasLabelCount || 0;
319
+ const N = t.formatErrorCount || 0, w = t.successCount || 0, h = t.repeatCount || 0, A = t.failedCount || 0, L = t.hasLabelCount || 0;
320
320
  if (C === "vlm" && E === "VQA")
321
321
  if (o === "labeled") {
322
- const q = t.count || 0, H = t.unusedImageCount || 0, Bl = t.labelErrorCount || 0;
323
- return `数据导入完成:共 ${q} 条,成功 ${w} 条,去重 ${h} 条,失败 ${A} 条;JSONL 格式错误 ${Bl} 条;未引用图片 ${H} 张。`;
322
+ const q = t.count || 0, H = t.unusedImageCount || 0;
323
+ return `数据导入完成:共 ${q} 条,成功 ${w} 条,去重 ${h} 条,失败 ${A} 条;JSONL 格式错误 ${N} 条;未引用图片 ${H} 张。`;
324
324
  } else
325
- return `数据导入完成:成功 ${w} 张,格式不符合 ${x} 张,去重 ${h} 张,失败 ${A} 张。`;
326
- let G = `数据导入完成,格式不符合的图片${x}个,成功${w}个,去重${h}个,失败${A}个`;
325
+ return `数据导入完成:成功 ${w} 张,格式不符合 ${N} 张,去重 ${h} 张,失败 ${A} 张。`;
326
+ let G = `数据导入完成,格式不符合的图片${N}个,成功${w}个,去重${h}个,失败${A}个`;
327
327
  if (o === "labeled") {
328
328
  const q = (a.labelFormat || "json").toUpperCase(), H = t.labelErrorCount || 0;
329
- C === "detection" ? G = `成功导入已标注${L}张,未标注${H}张,去重${h}张,失败${A}张,格式不符合${x}张` : a.labelFormat === "dwg-json" ? G = `数据导入完成,成功${w}个,去重${h}个,失败${A}个` : G += `(${q}格式不符合${H}个)`;
329
+ C === "detection" ? G = `成功导入已标注${L}张,未标注${H}张,去重${h}张,失败${A}张,格式不符合${N}张` : a.labelFormat === "dwg-json" ? G = `数据导入完成,成功${w}个,去重${h}个,失败${A}个` : G += `(${q}格式不符合${H}个)`;
330
330
  }
331
331
  return G;
332
332
  };
@@ -377,19 +377,19 @@ const ft = (y) => {
377
377
  required: !0,
378
378
  message: "请选择数据标注状态"
379
379
  }],
380
- children: /* @__PURE__ */ d(N.Group, {
380
+ children: /* @__PURE__ */ d(F.Group, {
381
381
  disabled: _,
382
382
  onChange: (i) => {
383
383
  cl(i.target.value), be();
384
384
  },
385
- children: [/* @__PURE__ */ e(N, {
385
+ children: [/* @__PURE__ */ e(F, {
386
386
  value: "unlabeled",
387
387
  children: "无标注信息"
388
- }), /* @__PURE__ */ d(N, {
388
+ }), /* @__PURE__ */ d(F, {
389
389
  value: "labeled",
390
- children: ["有标注信息", c === "vlm" && /* @__PURE__ */ e(Nl, {
390
+ children: ["有标注信息", c === "vlm" && /* @__PURE__ */ e(Sl, {
391
391
  title: "支持上传带OCR标注信息的数据",
392
- children: /* @__PURE__ */ e(jl, {
392
+ children: /* @__PURE__ */ e(xl, {
393
393
  style: {
394
394
  cursor: "pointer",
395
395
  marginLeft: 4,
@@ -399,28 +399,28 @@ const ft = (y) => {
399
399
  })]
400
400
  })]
401
401
  })
402
- }), F === "labeled" && /* @__PURE__ */ e(U.Item, {
402
+ }), x === "labeled" && /* @__PURE__ */ e(U.Item, {
403
403
  label: "标注格式",
404
404
  name: "labelFormat",
405
405
  rules: [{
406
406
  required: !0,
407
407
  message: "请选择标注格式"
408
408
  }],
409
- children: /* @__PURE__ */ e(N.Group, {
409
+ children: /* @__PURE__ */ e(F.Group, {
410
410
  disabled: _,
411
411
  onChange: be,
412
412
  children: c === "vlm" ? /* @__PURE__ */ d(Y, {
413
- children: [/* @__PURE__ */ e(N, {
413
+ children: [/* @__PURE__ */ e(F, {
414
414
  value: "jsonl",
415
415
  children: "jsonl"
416
- }), He && k === "KIE" && /* @__PURE__ */ e(N, {
416
+ }), He && k === "KIE" && /* @__PURE__ */ e(F, {
417
417
  value: "dwg-json",
418
418
  children: "图纸json"
419
419
  })]
420
- }) : m.labelFormatLabel ? /* @__PURE__ */ e(N, {
420
+ }) : m.labelFormatLabel ? /* @__PURE__ */ e(F, {
421
421
  value: m.labelFormat || "folder",
422
422
  children: m.labelFormatLabel
423
- }) : /* @__PURE__ */ e(N, {
423
+ }) : /* @__PURE__ */ e(F, {
424
424
  value: m.labelFormat || "json",
425
425
  children: m.labelFormat || "json"
426
426
  })
@@ -432,13 +432,13 @@ const ft = (y) => {
432
432
  required: !0,
433
433
  message: "请选择导入方式"
434
434
  }],
435
- children: /* @__PURE__ */ d(N.Group, {
435
+ children: /* @__PURE__ */ d(F.Group, {
436
436
  disabled: _,
437
437
  onChange: be,
438
- children: [F !== "labeled" && /* @__PURE__ */ e(N.Button, {
438
+ children: [x !== "labeled" && /* @__PURE__ */ e(F.Button, {
439
439
  value: "image",
440
440
  children: "上传图片"
441
- }), /* @__PURE__ */ e(N.Button, {
441
+ }), /* @__PURE__ */ e(F.Button, {
442
442
  value: "zip",
443
443
  children: "上传压缩包"
444
444
  })]
@@ -456,7 +456,7 @@ const ft = (y) => {
456
456
  disabled: r === "zip" ? j.length === 1 : !1,
457
457
  children: [/* @__PURE__ */ e("span", {
458
458
  className: "file-upload-icon",
459
- children: /* @__PURE__ */ e(Ll, {})
459
+ children: /* @__PURE__ */ e(jl, {})
460
460
  }), /* @__PURE__ */ d(Ke, {
461
461
  className: "file-upload-action",
462
462
  children: [r === "image" && "拖拽图片至此,或者", r === "zip" && "拖拽包含“图片”的压缩包至此,或者", /* @__PURE__ */ e(O, {
@@ -487,7 +487,7 @@ const ft = (y) => {
487
487
  children: [/* @__PURE__ */ d("div", {
488
488
  className: "item-upload-desc item-upload-desc__1",
489
489
  children: ["1. 仅支持.zip格式,单个压缩包不超过", m.maxZipSize / Xe, "G;"]
490
- }), F === "labeled" ? /* @__PURE__ */ e(Y, {
490
+ }), x === "labeled" ? /* @__PURE__ */ e(Y, {
491
491
  children: m.zipUploadTexts.labeled.description.map((i, t) => /* @__PURE__ */ d("div", {
492
492
  className: "item-upload-desc",
493
493
  children: [t + 2, ". ", i]
@@ -497,7 +497,7 @@ const ft = (y) => {
497
497
  children: ["2. ", m.zipUploadTexts.unlabeled.description[0]]
498
498
  }), /* @__PURE__ */ d("div", {
499
499
  className: "item-upload-desc",
500
- children: [F === "labeled" ? m.zipUploadTexts.labeled.description.length + 2 : 3, ". 单次仅可上传1个文件。"]
500
+ children: [x === "labeled" ? m.zipUploadTexts.labeled.description.length + 2 : 3, ". 单次仅可上传1个文件。"]
501
501
  })]
502
502
  })]
503
503
  }), r === "image" && B.length ? /* @__PURE__ */ e("div", {
@@ -521,7 +521,7 @@ const ft = (y) => {
521
521
  children: /* @__PURE__ */ e(Ee, {
522
522
  gutter: [24, 8],
523
523
  className: "upload-pannel",
524
- children: j.map((i) => /* @__PURE__ */ e(Fl, {
524
+ children: j.map((i) => /* @__PURE__ */ e(Nl, {
525
525
  span: 24,
526
526
  className: "upload-item",
527
527
  children: /* @__PURE__ */ d(Ee, {
@@ -531,7 +531,7 @@ const ft = (y) => {
531
531
  align: "middle",
532
532
  children: [/* @__PURE__ */ e("span", {
533
533
  className: "upload-item-file-icon",
534
- children: /* @__PURE__ */ e(kl, {})
534
+ children: /* @__PURE__ */ e(Ll, {})
535
535
  }), /* @__PURE__ */ e("span", {
536
536
  className: "upload-item-name",
537
537
  children: i.name
@@ -541,7 +541,7 @@ const ft = (y) => {
541
541
  type: "link",
542
542
  disabled: _,
543
543
  onClick: () => Cl(i),
544
- children: /* @__PURE__ */ e(Ul, {})
544
+ children: /* @__PURE__ */ e(kl, {})
545
545
  })]
546
546
  })
547
547
  }, i.uid))
@@ -565,10 +565,10 @@ const ft = (y) => {
565
565
  children: "下载示例 >"
566
566
  })]
567
567
  })
568
- }), c !== "classification" && !(F === "labeled" && m.showExampleImage === !1) && /* @__PURE__ */ e("div", {
568
+ }), c !== "classification" && !(x === "labeled" && m.showExampleImage === !1) && /* @__PURE__ */ e("div", {
569
569
  className: "upload-example-main",
570
570
  children: /* @__PURE__ */ e("img", {
571
- src: F === "labeled" ? c === "vlm" ? de === "dwg-json" ? Pl : Dl : Rl : c === "vlm" ? Ml : Ol
571
+ src: x === "labeled" ? c === "vlm" ? de === "dwg-json" ? Ml : Rl : Ol : c === "vlm" ? Dl : Vl
572
572
  })
573
573
  })]
574
574
  })]
@@ -588,7 +588,7 @@ const ft = (y) => {
588
588
  footer: null,
589
589
  children: /* @__PURE__ */ e("div", {
590
590
  className: "upload-spin",
591
- children: /* @__PURE__ */ e(xl, {
591
+ children: /* @__PURE__ */ e(Fl, {
592
592
  tip: r === "image" ? `数据导入中(${oe}/${B.length}),请耐心等待` : `处理中(${Ne}/100%),请耐心等待`,
593
593
  size: "large",
594
594
  children: /* @__PURE__ */ e("div", {
@@ -607,7 +607,7 @@ const ft = (y) => {
607
607
  className: "upload-result",
608
608
  children: /* @__PURE__ */ e(qe, {
609
609
  status: "success",
610
- title: zl(r, me, F, m, B, ae, sl, c, k),
610
+ title: zl(r, me, x, m, B, ae, sl, c, k),
611
611
  extra: [/* @__PURE__ */ e(O, {
612
612
  onClick: gl,
613
613
  children: "关闭"
@@ -636,5 +636,5 @@ const ft = (y) => {
636
636
  });
637
637
  };
638
638
  export {
639
- ft as default
639
+ mt as default
640
640
  };