geekplus-digital-ui 0.1.24 → 0.1.25

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.
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
2
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { openBlock as l, createElementBlock as e, createElementVNode as t } from "vue";
2
+ import o from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const r = {}, s = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 448 512"
6
+ };
7
+ function n(m, c) {
8
+ return l(), e("svg", s, [...c[0] || (c[0] = [
9
+ t("path", {
10
+ fill: "currentColor",
11
+ d: "M384 64c17.7 0 32 14.3 32 32l0 320c0 17.7-14.3 32-32 32L64 448c-17.7 0-32-14.3-32-32L32 96c0-17.7 14.3-32 32-32l320 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm64 144a16 16 0 1 1 0-32 16 16 0 1 1 0 32zM80 160a48 48 0 1 0 96 0 48 48 0 1 0 -96 0zm169.3 59.7c1.5-2.3 4-3.7 6.7-3.7s5.2 1.4 6.7 3.7l88 136c1.6 2.5 1.7 5.6 .3 8.2s-4.1 4.2-7 4.2l-240 0c-3 0-5.7-1.7-7.1-4.3s-1.2-5.8 .5-8.3l56-80c1.5-2.1 3.9-3.4 6.6-3.4s5.1 1.3 6.6 3.4l10.6 15.2c3.1 4.4 8.1 6.9 13.4 6.8s10.2-2.8 13.1-7.3l45.6-70.4zM256 184c-13.6 0-26.2 6.9-33.6 18.3l-32.9 50.8c-7.5-8.3-18.2-13.1-29.6-13.1-13.1 0-25.3 6.4-32.8 17.1l-56 80c-8.6 12.2-9.6 28.2-2.7 41.4S89.1 400 104 400l240 0c14.7 0 28.1-8 35.1-20.9s6.4-28.5-1.6-40.8l-88-136c-7.4-11.4-20-18.3-33.6-18.3z"
12
+ }, null, -1)
13
+ ])]);
14
+ }
15
+ const i = /* @__PURE__ */ o(r, [["render", n]]);
16
+ export {
17
+ i as default
18
+ };
@@ -1 +1 @@
1
- .d-upload[data-v-610b67ef]{line-height:normal}.d-upload .header[data-v-610b67ef]{display:flex;width:100%;align-items:center;gap:8px}.d-upload .header .el-button[data-v-610b67ef]{margin:0}.d-upload.is-list[data-v-610b67ef],.d-upload.is-list .list[data-v-610b67ef]{display:flex;flex-direction:column;gap:8px}.d-upload.is-list .list .list-item .file-row[data-v-610b67ef]{position:relative;display:flex;align-items:center;gap:4px}.d-upload.is-list .list .list-item .file-row[data-v-610b67ef] .el-link{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.d-upload.is-list .list .list-item .file-row[data-v-610b67ef] .el-link .el-link__inner{display:inline}.d-upload.is-list .list .list-item .file-row .remove-icon[data-v-610b67ef]{cursor:pointer;display:none;color:var(--el-text-color-secondary)}.d-upload.is-list .list .list-item .file-row:hover .remove-icon[data-v-610b67ef]{display:block}.d-upload.is-card[data-v-610b67ef],.d-upload.is-card .card[data-v-610b67ef]{display:flex;flex-wrap:wrap;gap:8px}.d-upload.is-card .card .card-item[data-v-610b67ef]{display:flex;justify-content:center;align-items:center;font-size:16px;box-sizing:border-box;border:1px solid var(--el-border-color);border-radius:4px;overflow:hidden;position:relative;cursor:pointer}.d-upload.is-card .card .card-item .card-cover[data-v-610b67ef]{display:flex;justify-content:center;align-items:center;gap:12px;position:absolute;top:0;left:0;width:100%;height:100%;background:var(--el-overlay-color);opacity:0}.d-upload.is-card .card .card-item .card-cover .d-icon[data-v-610b67ef]{color:var(--el-color-white)}.d-upload.is-card .card .card-item .card-cover[data-v-610b67ef]:hover{opacity:1}.d-upload.is-card .card .el-image[data-v-610b67ef]{width:100%;height:100%}.d-upload .expand-toggle[data-v-610b67ef]{display:flex;width:100%}.d-upload .expand-toggle[data-v-610b67ef] .el-link__inner{gap:4px}.d-upload .tip[data-v-610b67ef]{width:100%;font-size:12px;margin:0;color:var(--el-text-color-regular)}
1
+ .d-upload[data-v-0552ceda]{line-height:normal}.d-upload .header[data-v-0552ceda]{display:flex;width:100%;align-items:center;gap:8px}.d-upload .header .el-button[data-v-0552ceda]{margin:0}.d-upload.is-list[data-v-0552ceda],.d-upload.is-list .list[data-v-0552ceda]{display:flex;flex-direction:column;gap:8px}.d-upload.is-list .list .list-item .file-row[data-v-0552ceda]{position:relative;display:flex;align-items:center;gap:4px}.d-upload.is-list .list .list-item .file-row[data-v-0552ceda] .el-link{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.d-upload.is-list .list .list-item .file-row[data-v-0552ceda] .el-link .el-link__inner{display:inline}.d-upload.is-list .list .list-item .file-row .remove-icon[data-v-0552ceda]{cursor:pointer;display:none;color:var(--el-text-color-secondary)}.d-upload.is-list .list .list-item .file-row:hover .remove-icon[data-v-0552ceda]{display:block}.d-upload.is-card[data-v-0552ceda],.d-upload.is-card .card[data-v-0552ceda]{display:flex;flex-wrap:wrap;gap:8px}.d-upload.is-card .card .card-item[data-v-0552ceda]{display:flex;justify-content:center;align-items:center;font-size:16px;box-sizing:border-box;border:1px solid var(--el-border-color);border-radius:4px;overflow:hidden;position:relative;cursor:pointer}.d-upload.is-card .card .card-item .card-cover[data-v-0552ceda]{display:flex;justify-content:center;align-items:center;gap:12px;position:absolute;top:0;left:0;width:100%;height:100%;background:var(--el-overlay-color);opacity:0}.d-upload.is-card .card .card-item .card-cover .d-icon[data-v-0552ceda]{color:var(--el-color-white)}.d-upload.is-card .card .card-item .card-cover[data-v-0552ceda]:hover{opacity:1}.d-upload.is-card .card .el-image[data-v-0552ceda]{width:100%;height:100%}.d-upload.is-card .card .el-image .el-image__error[data-v-0552ceda]{font-size:16px}.d-upload .expand-toggle[data-v-0552ceda]{display:flex;width:100%}.d-upload .expand-toggle[data-v-0552ceda] .el-link__inner{gap:4px}.d-upload .tip[data-v-0552ceda]{width:100%;font-size:12px;margin:0;color:var(--el-text-color-regular)}
@@ -1,4 +1,4 @@
1
- import { useModel as pe, ref as y, computed as m, reactive as De, watch as Ee, onMounted as Ie, onBeforeUnmount as Ne, openBlock as o, createElementBlock as f, normalizeClass as Be, createVNode as d, unref as n, createBlock as c, createCommentVNode as p, withCtx as u, createElementVNode as S, createTextVNode as A, toDisplayString as k, normalizeStyle as z, Fragment as j, renderList as fe, withModifiers as me, mergeModels as ve } from "vue";
1
+ import { useModel as pe, ref as g, computed as f, reactive as De, watch as Ee, onMounted as Ie, onBeforeUnmount as Ne, openBlock as o, createElementBlock as m, normalizeClass as Be, createVNode as u, unref as n, createBlock as c, createCommentVNode as p, withCtx as i, createElementVNode as S, createTextVNode as A, toDisplayString as k, normalizeStyle as z, Fragment as j, renderList as me, withModifiers as fe, mergeModels as ve } from "vue";
2
2
  import "../../../hooks/index.js";
3
3
  import { useFormItem as $e, ElMessageBox as je, ElMessage as H, ElUpload as He, ElImageViewer as Pe, ElDialog as Re, ElButton as P, ElImage as qe, ElProgress as ye, ElLink as R } from "element-plus";
4
4
  import "../../index.js";
@@ -13,16 +13,17 @@ import Ye from "../../icons/eye-light.vue.js";
13
13
  import Ze from "../../icons/file-light.vue.js";
14
14
  import et from "../../icons/plus-light.vue.js";
15
15
  import tt from "../../icons/trash-light.vue.js";
16
+ import lt from "../../icons/image-light.vue.js";
16
17
  import './upload2.css';import './upload.css';/* empty css */
17
18
  /* empty css */
18
- import lt from "../../../_virtual/_plugin-vue_export-helper.js";
19
- import { useLocale as at } from "../../../hooks/use-locale/index.js";
20
- import { useActivated as ot } from "../../../hooks/use-activated/index.js";
21
- import { DIcon as g } from "../../icon/index.js";
22
- const nt = { class: "d-upload__preview" }, st = ["src"], rt = {
19
+ import at from "../../../_virtual/_plugin-vue_export-helper.js";
20
+ import { useLocale as ot } from "../../../hooks/use-locale/index.js";
21
+ import { useActivated as nt } from "../../../hooks/use-activated/index.js";
22
+ import { DIcon as v } from "../../icon/index.js";
23
+ const st = { class: "d-upload__preview" }, rt = ["src"], it = {
23
24
  key: 2,
24
25
  class: "header"
25
- }, ut = ["onClick"], it = { class: "card-cover" }, dt = ["innerHTML"], ct = { class: "file-row" }, pt = {
26
+ }, ut = ["onClick"], dt = { class: "card-cover" }, ct = ["innerHTML"], pt = { class: "file-row" }, mt = {
26
27
  key: 6,
27
28
  class: "expand-toggle"
28
29
  }, ft = /* @__PURE__ */ Object.assign({
@@ -105,15 +106,15 @@ const nt = { class: "d-upload__preview" }, st = ["src"], rt = {
105
106
  }),
106
107
  emits: /* @__PURE__ */ ve(["change", "success"], ["update:modelValue", "update:uploadingCount"]),
107
108
  setup(h, { emit: ge }) {
108
- const l = h, q = ge, O = pe(h, "modelValue"), he = pe(h, "uploadingCount"), K = ["jpg", "jpeg", "png", "gif"], ke = ["mp4"], s = y([]), F = y(!1), w = y(!1), V = y(0), D = y([]), L = y(""), x = y(!1), X = y(null), G = y(null), { t: i } = at(), we = ot(), { formItem: xe } = $e(), J = m(() => x.value ? s.value : s.value.slice(0, l.maxShow)), E = m(() => s.value.length > 0), b = m(() => !l.disabled && !Q.value), _ = m(() => l.showType === "list"), _e = m(() => b.value && _.value || l.showDownloadAll && E.value), Q = m(() => s.value.length >= l.maxNumber), Ce = m(() => _.value ? "is-list" : "is-card"), W = m(() => l.format.length ? l.format.map((t) => t.toUpperCase()) : []), Y = m(() => ({
109
+ const l = h, q = ge, O = pe(h, "modelValue"), he = pe(h, "uploadingCount"), K = ["jpg", "jpeg", "png", "gif"], ke = ["mp4"], s = g([]), F = g(!1), w = g(!1), V = g(0), D = g([]), L = g(""), x = g(!1), X = g(null), G = g(null), { t: d } = ot(), we = nt(), { formItem: xe } = $e(), J = f(() => x.value ? s.value : s.value.slice(0, l.maxShow)), E = f(() => s.value.length > 0), b = f(() => !l.disabled && !Q.value), _ = f(() => l.showType === "list"), _e = f(() => b.value && _.value || l.showDownloadAll && E.value), Q = f(() => s.value.length >= l.maxNumber), Ce = f(() => _.value ? "is-list" : "is-card"), W = f(() => l.format.length ? l.format.map((t) => t.toUpperCase()) : []), Y = f(() => ({
109
110
  width: l.size,
110
111
  height: l.size
111
- })), Se = m(() => l.format.map((t) => `.${t}`).join(",")), Z = m(() => ({
112
+ })), Se = f(() => l.format.map((t) => `.${t}`).join(",")), Z = f(() => ({
112
113
  maxHeight: l.scrollHeight,
113
114
  overflow: l.scrollHeight ? "auto" : void 0
114
- })), Le = m(() => {
115
+ })), Le = f(() => {
115
116
  const t = l.format.length && l.format.every((e) => K.includes(e)), a = [];
116
- return l.maxSize && !t && a.push(i("d.upload.lessThan", { size: l.maxSize })), l.format.length && a.push(i("d.upload.format", { format: l.format.join("/") })), l.pasteable && a.push(i("d.upload.pasteable")), a.join(i("d.upload.comma"));
117
+ return l.maxSize && !t && a.push(d("d.upload.lessThan", { size: l.maxSize })), l.format.length && a.push(d("d.upload.format", { format: l.format.join("/") })), l.pasteable && a.push(d("d.upload.pasteable")), a.join(d("d.upload.comma"));
117
118
  }), be = (t) => {
118
119
  s.value.some((e) => e.status === "uploading") || (s.value = t?.map((e) => ({
119
120
  id: e.id,
@@ -152,23 +153,23 @@ const nt = { class: "d-upload__preview" }, st = ["src"], rt = {
152
153
  }
153
154
  a();
154
155
  };
155
- je.confirm(i("d.upload.deleteConfirm"), i("d.upload.tip"), {
156
+ je.confirm(d("d.upload.deleteConfirm"), d("d.upload.tip"), {
156
157
  type: "warning"
157
158
  }).then(async () => {
158
159
  await e();
159
160
  }).catch(() => {
160
161
  });
161
162
  }, Ue = (t, a) => {
162
- H.success(i("d.upload.fileSuccess", { file: t.name })), q("success", t, a, s.value);
163
+ H.success(d("d.upload.fileSuccess", { file: t.name })), q("success", t, a, s.value);
163
164
  }, Me = (t, a) => {
164
165
  const e = I(t.name);
165
166
  if (e) {
166
167
  const r = e.toUpperCase();
167
168
  if (W.value.length && !W.value.includes(r))
168
- return a || H.error(i("d.upload.fileFormat", { file: t.name, format: l.format.join("/") })), !1;
169
+ return a || H.error(d("d.upload.fileFormat", { file: t.name, format: l.format.join("/") })), !1;
169
170
  }
170
171
  return !0;
171
- }, Ae = (t) => t.size > l.maxSize * 1024 * 1024 ? (H.error(i("d.upload.fileLessThan", { file: t.name, size: l.maxSize })), !1) : !0, ze = (t, a) => {
172
+ }, Ae = (t) => t.size > l.maxSize * 1024 * 1024 ? (H.error(d("d.upload.fileLessThan", { file: t.name, size: l.maxSize })), !1) : !0, ze = (t, a) => {
172
173
  if (!a)
173
174
  return;
174
175
  const { loaded: e = 0, total: r = 0 } = t || {};
@@ -191,23 +192,23 @@ const nt = { class: "d-upload__preview" }, st = ["src"], rt = {
191
192
  s.value.push(e), M();
192
193
  const r = () => s.value.indexOf(e);
193
194
  try {
194
- const { data: v } = await l.axios({
195
+ const { data: y } = await l.axios({
195
196
  url: l.url,
196
197
  method: "post",
197
198
  data: a,
198
199
  onUploadProgress: ($) => ze($, e)
199
- }), B = v?.data || v;
200
+ }), B = y?.data || y;
200
201
  if (B && r() !== -1) {
201
202
  const {
202
203
  id: $,
203
- name: ie,
204
+ name: ue,
204
205
  url: de,
205
206
  type: ce
206
207
  } = B;
207
208
  Object.assign(e, {
208
209
  id: $,
209
- name: ie,
210
- docName: ie,
210
+ name: ue,
211
+ docName: ue,
211
212
  url: l.domain + de,
212
213
  docUrl: l.domain + de,
213
214
  type: l.docType || ce,
@@ -229,10 +230,10 @@ const nt = { class: "d-upload__preview" }, st = ["src"], rt = {
229
230
  return;
230
231
  const a = t.clipboardData?.items || [];
231
232
  for (let e = 0; e < a.length; e++) {
232
- const v = a[e].getAsFile();
233
- v && ne(v, !0);
233
+ const y = a[e].getAsFile();
234
+ y && ne(y, !0);
234
235
  }
235
- }, ue = (t) => {
236
+ }, ie = (t) => {
236
237
  !E.value || !t?.url || (C(t) || T(t) ? Te(t) : se(t));
237
238
  }, Ve = () => {
238
239
  Oe(l.downloadAllMethod) ? l.downloadAllMethod(s.value) : s.value.forEach((t) => {
@@ -249,10 +250,10 @@ const nt = { class: "d-upload__preview" }, st = ["src"], rt = {
249
250
  document.addEventListener("paste", re);
250
251
  }), Ne(() => {
251
252
  document.removeEventListener("paste", re);
252
- }), (t, a) => (o(), f("div", {
253
+ }), (t, a) => (o(), m("div", {
253
254
  class: Be(["d-upload", Ce.value])
254
255
  }, [
255
- d(n(He), {
256
+ u(n(He), {
256
257
  ref_key: "uploadRef",
257
258
  ref: X,
258
259
  style: { display: "none" },
@@ -276,41 +277,41 @@ const nt = { class: "d-upload__preview" }, st = ["src"], rt = {
276
277
  key: 1,
277
278
  modelValue: w.value,
278
279
  "onUpdate:modelValue": a[1] || (a[1] = (e) => w.value = e),
279
- title: n(i)("d.upload.preview"),
280
+ title: n(d)("d.upload.preview"),
280
281
  width: "1200px",
281
282
  "align-center": "",
282
283
  "before-close": le,
283
284
  "append-to-body": ""
284
285
  }, {
285
- footer: u(() => [
286
- d(n(P), { onClick: le }, {
287
- default: u(() => [
288
- A(k(n(i)("d.upload.close")), 1)
286
+ footer: i(() => [
287
+ u(n(P), { onClick: le }, {
288
+ default: i(() => [
289
+ A(k(n(d)("d.upload.close")), 1)
289
290
  ]),
290
291
  _: 1
291
292
  })
292
293
  ]),
293
- default: u(() => [
294
- S("div", nt, [
295
- L.value ? (o(), f("video", {
294
+ default: i(() => [
295
+ S("div", st, [
296
+ L.value ? (o(), m("video", {
296
297
  key: 0,
297
298
  ref_key: "videoRef",
298
299
  ref: G,
299
300
  src: L.value,
300
301
  controls: "",
301
302
  class: "preview-video"
302
- }, null, 8, st)) : p("", !0)
303
+ }, null, 8, rt)) : p("", !0)
303
304
  ])
304
305
  ]),
305
306
  _: 1
306
307
  }, 8, ["modelValue", "title"])) : p("", !0),
307
- _e.value ? (o(), f("div", rt, [
308
+ _e.value ? (o(), m("div", it, [
308
309
  b.value && _.value ? (o(), c(n(P), {
309
310
  key: 0,
310
311
  onClick: te
311
312
  }, {
312
- default: u(() => [
313
- A(k(n(i)("d.upload.upload")), 1)
313
+ default: i(() => [
314
+ A(k(n(d)("d.upload.upload")), 1)
314
315
  ]),
315
316
  _: 1
316
317
  })) : p("", !0),
@@ -320,57 +321,67 @@ const nt = { class: "d-upload__preview" }, st = ["src"], rt = {
320
321
  link: "",
321
322
  onClick: Ve
322
323
  }, {
323
- default: u(() => [
324
- A(k(n(i)("d.upload.downloadAll")), 1)
324
+ default: i(() => [
325
+ A(k(n(d)("d.upload.downloadAll")), 1)
325
326
  ]),
326
327
  _: 1
327
328
  })) : p("", !0)
328
329
  ])) : p("", !0),
329
- _.value ? p("", !0) : (o(), f("div", {
330
+ _.value ? p("", !0) : (o(), m("div", {
330
331
  key: 3,
331
332
  class: "card",
332
333
  style: z(Z.value)
333
334
  }, [
334
- (o(!0), f(j, null, fe(J.value, (e, r) => (o(), f("div", {
335
+ (o(!0), m(j, null, me(J.value, (e, r) => (o(), m("div", {
335
336
  key: e.id || `${e.name}-${r}`,
336
337
  class: "card-item",
337
338
  style: z(Y.value),
338
- onClick: (v) => ue(e)
339
+ onClick: (y) => ie(e)
339
340
  }, [
340
- U(e) ? (o(), f(j, { key: 0 }, [
341
+ U(e) ? (o(), m(j, { key: 0 }, [
341
342
  C(e) ? (o(), c(n(qe), {
342
343
  key: 0,
343
344
  src: e.url,
344
345
  fit: "cover"
345
- }, null, 8, ["src"])) : T(e) ? (o(), c(n(g), { key: 1 }, {
346
- default: u(() => [
347
- d(Je)
346
+ }, {
347
+ error: i(() => [
348
+ u(n(v), { class: "el-image__error" }, {
349
+ default: i(() => [
350
+ u(lt)
351
+ ]),
352
+ _: 1
353
+ })
354
+ ]),
355
+ _: 1
356
+ }, 8, ["src"])) : T(e) ? (o(), c(n(v), { key: 1 }, {
357
+ default: i(() => [
358
+ u(Je)
348
359
  ]),
349
360
  _: 1
350
- })) : (o(), c(n(g), { key: 2 }, {
351
- default: u(() => [
352
- d(Ze)
361
+ })) : (o(), c(n(v), { key: 2 }, {
362
+ default: i(() => [
363
+ u(Ze)
353
364
  ]),
354
365
  _: 1
355
366
  })),
356
- S("div", it, [
357
- C(e) || T(e) ? (o(), c(n(g), { key: 0 }, {
358
- default: u(() => [
359
- d(Ye)
367
+ S("div", dt, [
368
+ C(e) || T(e) ? (o(), c(n(v), { key: 0 }, {
369
+ default: i(() => [
370
+ u(Ye)
360
371
  ]),
361
372
  _: 1
362
- })) : (o(), c(n(g), { key: 1 }, {
363
- default: u(() => [
364
- d(We)
373
+ })) : (o(), c(n(v), { key: 1 }, {
374
+ default: i(() => [
375
+ u(We)
365
376
  ]),
366
377
  _: 1
367
378
  })),
368
- ee(e) ? (o(), c(n(g), {
379
+ ee(e) ? (o(), c(n(v), {
369
380
  key: 2,
370
- onClick: me((v) => ae(e), ["stop"])
381
+ onClick: fe((y) => ae(e), ["stop"])
371
382
  }, {
372
- default: u(() => [
373
- d(tt)
383
+ default: i(() => [
384
+ u(tt)
374
385
  ]),
375
386
  _: 1
376
387
  }, 8, ["onClick"])) : p("", !0)
@@ -383,52 +394,52 @@ const nt = { class: "d-upload__preview" }, st = ["src"], rt = {
383
394
  "show-text": !1
384
395
  }, null, 8, ["percentage"]))
385
396
  ], 12, ut))), 128)),
386
- b.value ? (o(), f("div", {
397
+ b.value ? (o(), m("div", {
387
398
  key: 0,
388
399
  class: "card-item",
389
400
  style: z(Y.value),
390
401
  onClick: te
391
402
  }, [
392
- d(n(g), null, {
393
- default: u(() => [
394
- d(et)
403
+ u(n(v), null, {
404
+ default: i(() => [
405
+ u(et)
395
406
  ]),
396
407
  _: 1
397
408
  })
398
409
  ], 4)) : p("", !0)
399
410
  ], 4)),
400
- b.value && h.showTip ? (o(), f("p", {
411
+ b.value && h.showTip ? (o(), m("p", {
401
412
  key: 4,
402
413
  class: "tip",
403
414
  innerHTML: Le.value
404
- }, null, 8, dt)) : p("", !0),
405
- _.value ? (o(), f("div", {
415
+ }, null, 8, ct)) : p("", !0),
416
+ _.value ? (o(), m("div", {
406
417
  key: 5,
407
418
  style: z(Z.value),
408
419
  class: "list"
409
420
  }, [
410
- (o(!0), f(j, null, fe(J.value, (e, r) => (o(), f("div", {
421
+ (o(!0), m(j, null, me(J.value, (e, r) => (o(), m("div", {
411
422
  key: e.id || `${e.name}-${r}`,
412
423
  class: "list-item"
413
424
  }, [
414
- S("div", ct, [
415
- d(n(R), {
425
+ S("div", pt, [
426
+ u(n(R), {
416
427
  type: "primary",
417
428
  underline: "never",
418
- onClick: (v) => ue(e)
429
+ onClick: (y) => ie(e)
419
430
  }, {
420
- default: u(() => [
431
+ default: i(() => [
421
432
  A(k(e.name), 1)
422
433
  ]),
423
434
  _: 2
424
435
  }, 1032, ["onClick"]),
425
- ee(e) ? (o(), c(n(g), {
436
+ ee(e) ? (o(), c(n(v), {
426
437
  key: 0,
427
438
  class: "remove-icon",
428
- onClick: me((v) => ae(e), ["stop"])
439
+ onClick: fe((y) => ae(e), ["stop"])
429
440
  }, {
430
- default: u(() => [
431
- d(Qe)
441
+ default: i(() => [
442
+ u(Qe)
432
443
  ]),
433
444
  _: 1
434
445
  }, 8, ["onClick"])) : p("", !0)
@@ -440,18 +451,18 @@ const nt = { class: "d-upload__preview" }, st = ["src"], rt = {
440
451
  }, null, 8, ["percentage"]))
441
452
  ]))), 128))
442
453
  ], 4)) : p("", !0),
443
- s.value.length > h.maxShow ? (o(), f("div", pt, [
454
+ s.value.length > h.maxShow ? (o(), m("div", mt, [
444
455
  x.value ? (o(), c(n(R), {
445
456
  key: 0,
446
457
  type: "primary",
447
458
  underline: "never",
448
459
  onClick: N
449
460
  }, {
450
- default: u(() => [
451
- S("span", null, k(n(i)("d.upload.collapse")), 1),
452
- d(n(g), null, {
453
- default: u(() => [
454
- d(Ge)
461
+ default: i(() => [
462
+ S("span", null, k(n(d)("d.upload.collapse")), 1),
463
+ u(n(v), null, {
464
+ default: i(() => [
465
+ u(Ge)
455
466
  ]),
456
467
  _: 1
457
468
  })
@@ -463,11 +474,11 @@ const nt = { class: "d-upload__preview" }, st = ["src"], rt = {
463
474
  underline: "never",
464
475
  onClick: N
465
476
  }, {
466
- default: u(() => [
467
- S("span", null, k(n(i)("d.upload.expand")), 1),
468
- d(n(g), null, {
469
- default: u(() => [
470
- d(Xe)
477
+ default: i(() => [
478
+ S("span", null, k(n(d)("d.upload.expand")), 1),
479
+ u(n(v), null, {
480
+ default: i(() => [
481
+ u(Xe)
471
482
  ]),
472
483
  _: 1
473
484
  })
@@ -477,7 +488,7 @@ const nt = { class: "d-upload__preview" }, st = ["src"], rt = {
477
488
  ])) : p("", !0)
478
489
  ], 2));
479
490
  }
480
- }), Et = /* @__PURE__ */ lt(ft, [["__scopeId", "data-v-610b67ef"]]);
491
+ }), Nt = /* @__PURE__ */ at(ft, [["__scopeId", "data-v-0552ceda"]]);
481
492
  export {
482
- Et as default
493
+ Nt as default
483
494
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geekplus-digital-ui",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "module": "index.js",