geekplus-digital-ui 0.1.23 → 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.
Files changed (63) hide show
  1. package/_virtual/_plugin-vue_export-helper.js +8 -5
  2. package/components/copy/index.js +6 -3
  3. package/components/copy/src/copy.vue.js +90 -0
  4. package/components/fold-text/index.js +6 -3
  5. package/components/fold-text/src/fold-text.css +1 -0
  6. package/components/fold-text/src/fold-text.vue.js +86 -0
  7. package/components/icon/index.js +6 -3
  8. package/components/icon/src/icon.css +1 -0
  9. package/components/icon/src/icon.vue.js +16 -0
  10. package/components/icon-tip/index.js +6 -3
  11. package/components/icon-tip/src/icon-tip.vue.js +70 -0
  12. package/components/icons/angle-down-light.vue.js +18 -0
  13. package/components/icons/angle-up-light.vue.js +18 -0
  14. package/components/icons/circle-exclamation-solid.vue.js +18 -0
  15. package/components/icons/circle-play-light.vue.js +18 -0
  16. package/components/icons/circle-xmark-light.vue.js +18 -0
  17. package/components/icons/copy-light.vue.js +18 -0
  18. package/components/icons/download-light.vue.js +18 -0
  19. package/components/icons/eye-light.vue.js +18 -0
  20. package/components/icons/file-light.vue.js +18 -0
  21. package/components/icons/image-light.vue.d.ts +2 -0
  22. package/components/icons/image-light.vue.js +18 -0
  23. package/components/icons/plus-light.vue.js +18 -0
  24. package/components/icons/trash-light.vue.js +18 -0
  25. package/components/index.js +12 -14
  26. package/components/upload/index.js +6 -3
  27. package/components/upload/src/upload.css +1 -0
  28. package/components/upload/src/upload.vue.js +494 -0
  29. package/components/upload/src/upload2.css +1 -0
  30. package/config/index.js +40 -30
  31. package/hooks/index.js +6 -2
  32. package/hooks/use-activated/index.js +11 -9
  33. package/hooks/use-locale/index.js +8 -6
  34. package/index.js +24 -12
  35. package/install.js +11 -9
  36. package/locale/i18n.js +29 -20
  37. package/locale/index.js +11 -3
  38. package/locale/lang/en.js +31 -27
  39. package/locale/lang/zh-cn.js +32 -0
  40. package/package.json +1 -1
  41. package/_virtual/_rolldown/runtime.js +0 -9
  42. package/components/copy/src/copy.js +0 -68
  43. package/components/fold-text/src/fold-text.js +0 -63
  44. package/components/fold-text/src/fold-text.vue_vue_type_style_index_0_scoped_53a3b28a_lang.css +0 -1
  45. package/components/icon/src/icon.js +0 -10
  46. package/components/icon/src/icon.vue_vue_type_style_index_0_scoped_29c845ca_lang.css +0 -1
  47. package/components/icon-tip/src/icon-tip.js +0 -50
  48. package/components/icons/angle-down-light.js +0 -14
  49. package/components/icons/angle-up-light.js +0 -14
  50. package/components/icons/circle-exclamation-solid.js +0 -14
  51. package/components/icons/circle-play-light.js +0 -14
  52. package/components/icons/circle-xmark-light.js +0 -14
  53. package/components/icons/copy-light.js +0 -14
  54. package/components/icons/download-light.js +0 -14
  55. package/components/icons/eye-light.js +0 -14
  56. package/components/icons/file-light.js +0 -14
  57. package/components/icons/plus-light.js +0 -14
  58. package/components/icons/trash-light.js +0 -14
  59. package/components/upload/src/upload.js +0 -402
  60. package/components/upload/src/upload.vue_vue_type_style_index_0_scoped_610b67ef_lang.css +0 -1
  61. package/components/upload/src/upload.vue_vue_type_style_index_1_lang.css +0 -1
  62. /package/components/copy/src/{copy.vue_vue_type_style_index_0_scoped_b4c0bee4_lang.css → copy.css} +0 -0
  63. /package/components/icon-tip/src/{icon-tip.vue_vue_type_style_index_0_scoped_fe982c8e_lang.css → icon-tip.css} +0 -0
@@ -1,6 +1,9 @@
1
- var e = (e, t) => {
2
- let n = e.__vccOpts || e;
3
- for (let [e, r] of t) n[e] = r;
4
- return n;
1
+ const s = (t, e) => {
2
+ const o = t.__vccOpts || t;
3
+ for (const [r, c] of e)
4
+ o[r] = c;
5
+ return o;
6
+ };
7
+ export {
8
+ s as default
5
9
  };
6
- export { e as default };
@@ -1,3 +1,6 @@
1
- import e from "./src/copy.js";
2
- const t = e;
3
- export { t as default };
1
+ import o from "./src/copy.vue.js";
2
+ const t = o;
3
+ export {
4
+ t as DCopy,
5
+ t as default
6
+ };
@@ -0,0 +1,90 @@
1
+ import { ref as m, toRef as C, computed as p, onMounted as L, onBeforeUnmount as x, openBlock as a, createBlock as d, unref as f, withModifiers as S, normalizeStyle as M, withCtx as y, createElementBlock as N, normalizeClass as _, createVNode as b, renderSlot as B, createCommentVNode as w } from "vue";
2
+ import { useClipboard as R } from "@vueuse/core";
3
+ import { ElMessage as $, ElLink as z } from "element-plus";
4
+ import "../../index.js";
5
+ import "../../../hooks/index.js";
6
+ import D from "../../icons/copy-light.vue.js";
7
+ import './copy.css';/* empty css */
8
+ import I from "../../../_virtual/_plugin-vue_export-helper.js";
9
+ import { useLocale as V } from "../../../hooks/use-locale/index.js";
10
+ import { DIcon as j } from "../../icon/index.js";
11
+ const H = /* @__PURE__ */ Object.assign({
12
+ name: "DCopy"
13
+ }, {
14
+ __name: "copy",
15
+ props: {
16
+ text: {
17
+ type: String
18
+ },
19
+ type: {
20
+ type: String,
21
+ default: "primary"
22
+ },
23
+ icon: {
24
+ type: String
25
+ },
26
+ triggerElement: {
27
+ type: String
28
+ }
29
+ // 触发元素显示的dom,不设置就一直显示
30
+ },
31
+ setup(n, { expose: v }) {
32
+ const r = n, l = m(null), s = m(!1), g = C(r, "text"), { copy: E } = R({
33
+ source: g
34
+ }), { t: h } = V(), e = p(() => {
35
+ const o = l.value?.$el ?? l.value;
36
+ if (!r.triggerElement || !o)
37
+ return null;
38
+ let t = o.parentNode;
39
+ for (; t; ) {
40
+ if (t.matches(r.triggerElement))
41
+ return t;
42
+ t = t.parentNode;
43
+ }
44
+ return null;
45
+ }), k = p(() => ({
46
+ display: r.triggerElement && !s.value ? "none" : ""
47
+ })), i = () => {
48
+ E().then(() => {
49
+ $.success(h("d.copy.success"));
50
+ });
51
+ }, u = () => {
52
+ s.value = !0;
53
+ }, c = () => {
54
+ s.value = !1;
55
+ };
56
+ return L(() => {
57
+ e.value && (e.value.addEventListener("mouseenter", u), e.value.addEventListener("mouseleave", c));
58
+ }), x(() => {
59
+ e.value && (e.value.removeEventListener("mouseenter", u), e.value.removeEventListener("mouseleave", c));
60
+ }), v({
61
+ rootRef: l,
62
+ handleCopy: i
63
+ }), (o, t) => (a(), d(f(z), {
64
+ ref_key: "rootRef",
65
+ ref: l,
66
+ class: "d-copy",
67
+ type: n.type,
68
+ underline: "never",
69
+ style: M(k.value),
70
+ onClick: S(i, ["stop"])
71
+ }, {
72
+ default: y(() => [
73
+ n.icon ? (a(), N("i", {
74
+ key: 0,
75
+ class: _(n.icon)
76
+ }, null, 2)) : (a(), d(f(j), { key: 1 }, {
77
+ default: y(() => [
78
+ b(D)
79
+ ]),
80
+ _: 1
81
+ })),
82
+ o.$slots.default ? B(o.$slots, "default", { key: 2 }, void 0, !0) : w("", !0)
83
+ ]),
84
+ _: 3
85
+ }, 8, ["type", "style"]));
86
+ }
87
+ }), T = /* @__PURE__ */ I(H, [["__scopeId", "data-v-b4c0bee4"]]);
88
+ export {
89
+ T as default
90
+ };
@@ -1,3 +1,6 @@
1
- import e from "./src/fold-text.js";
2
- const t = e;
3
- export { t as default };
1
+ import o from "./src/fold-text.vue.js";
2
+ const e = o;
3
+ export {
4
+ e as DFoldText,
5
+ e as default
6
+ };
@@ -0,0 +1 @@
1
+ .d-fold-text[data-v-53a3b28a]{display:flex;flex-direction:column;overflow-wrap:break-word}.d-fold-text .text-content[data-v-53a3b28a]{white-space:pre-wrap}.d-fold-text .text-content.line-clamp[data-v-53a3b28a]{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.d-fold-text .text-link[data-v-53a3b28a]{display:flex}.d-fold-text .text-link[data-v-53a3b28a] .el-link__inner{gap:4px}
@@ -0,0 +1,86 @@
1
+ import { ref as s, computed as C, onMounted as h, openBlock as n, createElementBlock as p, createElementVNode as d, normalizeStyle as b, normalizeClass as w, renderSlot as F, createBlock as f, unref as e, withCtx as r, toDisplayString as c, createVNode as a, createCommentVNode as B } from "vue";
2
+ import { useResizeObserver as D } from "@vueuse/core";
3
+ import { ElLink as v } from "element-plus";
4
+ import "../../index.js";
5
+ import "../../../hooks/index.js";
6
+ import E from "../../icons/angle-up-light.vue.js";
7
+ import L from "../../icons/angle-down-light.vue.js";
8
+ import './fold-text.css';/* empty css */
9
+ import N from "../../../_virtual/_plugin-vue_export-helper.js";
10
+ import { useLocale as T } from "../../../hooks/use-locale/index.js";
11
+ import { DIcon as x } from "../../icon/index.js";
12
+ const z = { class: "d-fold-text" }, R = {
13
+ key: 0,
14
+ class: "text-link"
15
+ }, S = /* @__PURE__ */ Object.assign({
16
+ name: "DFoldText"
17
+ }, {
18
+ __name: "fold-text",
19
+ props: {
20
+ showFold: {
21
+ type: Boolean,
22
+ default: !0
23
+ },
24
+ lineClamp: {
25
+ type: Number,
26
+ default: 3
27
+ }
28
+ },
29
+ setup(i) {
30
+ const y = i, t = s(null), u = s(!1), l = s(!1), { t: m } = T(), k = C(() => ({
31
+ "line-clamp": !l.value && y.lineClamp
32
+ }));
33
+ return h(() => {
34
+ D(t, () => {
35
+ !l.value && t.value && (u.value = t.value.scrollHeight > t.value.clientHeight);
36
+ });
37
+ }), (_, o) => (n(), p("div", z, [
38
+ d("div", {
39
+ ref_key: "textRef",
40
+ ref: t,
41
+ class: w(["text-content", k.value]),
42
+ style: b({ "-webkit-line-clamp": i.lineClamp })
43
+ }, [
44
+ F(_.$slots, "default", {}, void 0, !0)
45
+ ], 6),
46
+ i.showFold && u.value ? (n(), p("div", R, [
47
+ l.value ? (n(), f(e(v), {
48
+ key: 0,
49
+ type: "primary",
50
+ underline: "never",
51
+ onClick: o[0] || (o[0] = (g) => l.value = !1)
52
+ }, {
53
+ default: r(() => [
54
+ d("span", null, c(e(m)("d.foldText.collapse")), 1),
55
+ a(e(x), null, {
56
+ default: r(() => [
57
+ a(E)
58
+ ]),
59
+ _: 1
60
+ })
61
+ ]),
62
+ _: 1
63
+ })) : (n(), f(e(v), {
64
+ key: 1,
65
+ type: "primary",
66
+ underline: "never",
67
+ onClick: o[1] || (o[1] = (g) => l.value = !0)
68
+ }, {
69
+ default: r(() => [
70
+ d("span", null, c(e(m)("d.foldText.expand")), 1),
71
+ a(e(x), null, {
72
+ default: r(() => [
73
+ a(L)
74
+ ]),
75
+ _: 1
76
+ })
77
+ ]),
78
+ _: 1
79
+ }))
80
+ ])) : B("", !0)
81
+ ]));
82
+ }
83
+ }), G = /* @__PURE__ */ N(S, [["__scopeId", "data-v-53a3b28a"]]);
84
+ export {
85
+ G as default
86
+ };
@@ -1,3 +1,6 @@
1
- import e from "./src/icon.js";
2
- const t = e;
3
- export { t as default };
1
+ import o from "./src/icon.vue.js";
2
+ const c = o;
3
+ export {
4
+ c as DIcon,
5
+ c as default
6
+ };
@@ -0,0 +1 @@
1
+ .d-icon[data-v-29c845ca]{display:inline-flex}.d-icon[data-v-29c845ca] svg{box-sizing:content-box;display:inline-block;height:1em;overflow:visible;vertical-align:-.125em;width:1.25em}
@@ -0,0 +1,16 @@
1
+ import { openBlock as o, createElementBlock as t, renderSlot as c } from "vue";
2
+ import './icon.css';/* empty css */
3
+ import n from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = { class: "d-icon" }, s = /* @__PURE__ */ Object.assign({
5
+ name: "DIcon"
6
+ }, {
7
+ __name: "icon",
8
+ setup(a) {
9
+ return (e, _) => (o(), t("i", r, [
10
+ c(e.$slots, "default", {}, void 0, !0)
11
+ ]));
12
+ }
13
+ }), m = /* @__PURE__ */ n(s, [["__scopeId", "data-v-29c845ca"]]);
14
+ export {
15
+ m as default
16
+ };
@@ -1,3 +1,6 @@
1
- import e from "./src/icon-tip.js";
2
- const t = e;
3
- export { t as default };
1
+ import o from "./src/icon-tip.vue.js";
2
+ const t = o;
3
+ export {
4
+ t as DIconTip,
5
+ t as default
6
+ };
@@ -0,0 +1,70 @@
1
+ import { openBlock as n, createBlock as i, unref as o, withCtx as t, createVNode as r, mergeProps as m, createElementBlock as s, normalizeClass as d, createElementVNode as f, renderSlot as u, createTextVNode as y, toDisplayString as k } from "vue";
2
+ import { ElTooltip as g, ElLink as S } from "element-plus";
3
+ import "../../index.js";
4
+ import C from "../../icons/circle-exclamation-solid.vue.js";
5
+ import './icon-tip.css';/* empty css */
6
+ import E from "../../../_virtual/_plugin-vue_export-helper.js";
7
+ import { DIcon as _ } from "../../icon/index.js";
8
+ const h = { class: "tip-content" }, x = /* @__PURE__ */ Object.assign({
9
+ name: "DIconTip"
10
+ }, {
11
+ __name: "icon-tip",
12
+ props: {
13
+ content: {
14
+ type: String
15
+ },
16
+ icon: {
17
+ type: String
18
+ },
19
+ placement: {
20
+ type: String,
21
+ default: "top"
22
+ },
23
+ type: {
24
+ type: String,
25
+ default: "primary"
26
+ }
27
+ },
28
+ emits: ["click"],
29
+ setup(e, { emit: l }) {
30
+ const a = l, p = () => {
31
+ a("click");
32
+ };
33
+ return (c, I) => (n(), i(o(g), {
34
+ "popper-class": "d-icon-tip",
35
+ placement: e.placement
36
+ }, {
37
+ content: t(() => [
38
+ f("div", h, [
39
+ u(c.$slots, "content", {}, () => [
40
+ y(k(e.content), 1)
41
+ ], !0)
42
+ ])
43
+ ]),
44
+ default: t(() => [
45
+ r(o(S), m(c.$attrs, {
46
+ type: e.type,
47
+ underline: "never",
48
+ onClick: p
49
+ }), {
50
+ default: t(() => [
51
+ e.icon ? (n(), s("i", {
52
+ key: 0,
53
+ class: d(e.icon)
54
+ }, null, 2)) : (n(), i(o(_), { key: 1 }, {
55
+ default: t(() => [
56
+ r(C)
57
+ ]),
58
+ _: 1
59
+ }))
60
+ ]),
61
+ _: 1
62
+ }, 16, ["type"])
63
+ ]),
64
+ _: 3
65
+ }, 8, ["placement"]));
66
+ }
67
+ }), b = /* @__PURE__ */ E(x, [["__scopeId", "data-v-fe982c8e"]]);
68
+ export {
69
+ b as default
70
+ };
@@ -0,0 +1,18 @@
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as r } from "vue";
2
+ import n from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const c = {}, l = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 384 512"
6
+ };
7
+ function s(f, e) {
8
+ return t(), o("svg", l, [...e[0] || (e[0] = [
9
+ r("path", {
10
+ fill: "currentColor",
11
+ d: "M180.7 363.3c6.2 6.2 16.4 6.2 22.6 0l160-160c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L192 329.4 43.3 180.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l160 160z"
12
+ }, null, -1)
13
+ ])]);
14
+ }
15
+ const _ = /* @__PURE__ */ n(c, [["render", s]]);
16
+ export {
17
+ _ as default
18
+ };
@@ -0,0 +1,18 @@
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as r } from "vue";
2
+ import n from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const c = {}, l = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 384 512"
6
+ };
7
+ function s(f, e) {
8
+ return t(), o("svg", l, [...e[0] || (e[0] = [
9
+ r("path", {
10
+ fill: "currentColor",
11
+ d: "M180.7 148.7c6.2-6.2 16.4-6.2 22.6 0l160 160c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L192 182.6 43.3 331.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l160-160z"
12
+ }, null, -1)
13
+ ])]);
14
+ }
15
+ const p = /* @__PURE__ */ n(c, [["render", s]]);
16
+ export {
17
+ p as default
18
+ };
@@ -0,0 +1,18 @@
1
+ import { openBlock as o, createElementBlock as t, createElementVNode as r } from "vue";
2
+ import c from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const l = {}, n = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 512 512"
6
+ };
7
+ function m(s, e) {
8
+ return o(), t("svg", n, [...e[0] || (e[0] = [
9
+ r("path", {
10
+ fill: "currentColor",
11
+ d: "M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-192a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.6 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"
12
+ }, null, -1)
13
+ ])]);
14
+ }
15
+ const f = /* @__PURE__ */ c(l, [["render", m]]);
16
+ export {
17
+ f as default
18
+ };
@@ -0,0 +1,18 @@
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as r } from "vue";
2
+ import c from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const l = {}, n = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 512 512"
6
+ };
7
+ function s(m, e) {
8
+ return t(), o("svg", n, [...e[0] || (e[0] = [
9
+ r("path", {
10
+ fill: "currentColor",
11
+ d: "M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm72.7-256L208 329.7 208 182.3 328.7 256zM188.3 147.1c-7.6 4.2-12.3 12.3-12.3 20.9l0 176c0 8.7 4.7 16.7 12.3 20.9s16.8 4.1 24.3-.5l144-88c7.1-4.4 11.5-12.1 11.5-20.5s-4.4-16.1-11.5-20.5l-144-88c-7.4-4.5-16.7-4.7-24.3-.5z"
12
+ }, null, -1)
13
+ ])]);
14
+ }
15
+ const f = /* @__PURE__ */ c(l, [["render", s]]);
16
+ export {
17
+ f as default
18
+ };
@@ -0,0 +1,18 @@
1
+ import { openBlock as t, createElementBlock as r, createElementVNode as o } from "vue";
2
+ import c from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const l = {}, n = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 512 512"
6
+ };
7
+ function s(m, e) {
8
+ return t(), r("svg", n, [...e[0] || (e[0] = [
9
+ o("path", {
10
+ fill: "currentColor",
11
+ d: "M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM164.7 164.7c-6.2 6.2-6.2 16.4 0 22.6l68.7 68.7-68.7 68.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l68.7-68.7 68.7 68.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-68.7-68.7 68.7-68.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-68.7 68.7-68.7-68.7c-6.2-6.2-16.4-6.2-22.6 0z"
12
+ }, null, -1)
13
+ ])]);
14
+ }
15
+ const f = /* @__PURE__ */ c(l, [["render", s]]);
16
+ export {
17
+ f as default
18
+ };
@@ -0,0 +1,18 @@
1
+ import { openBlock as l, createElementBlock as t, createElementVNode as e } from "vue";
2
+ import o from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const r = {}, n = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 448 512"
6
+ };
7
+ function s(f, c) {
8
+ return l(), t("svg", n, [...c[0] || (c[0] = [
9
+ e("path", {
10
+ fill: "currentColor",
11
+ d: "M160 64c0-17.7 14.3-32 32-32l132.1 0c8.5 0 16.6 3.4 22.6 9.4l59.9 59.9c6 6 9.4 14.1 9.4 22.6L416 320c0 17.7-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32l0-256zM192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-196.1c0-17-6.7-33.3-18.7-45.3L369.4 18.7C357.4 6.7 341.1 0 324.1 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-32 0 0 16c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l16 0 0-32-16 0z"
12
+ }, null, -1)
13
+ ])]);
14
+ }
15
+ const p = /* @__PURE__ */ o(r, [["render", s]]);
16
+ export {
17
+ p as default
18
+ };
@@ -0,0 +1,18 @@
1
+ import { openBlock as l, createElementBlock as o, createElementVNode as t } from "vue";
2
+ import e from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const r = {}, n = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 448 512"
6
+ };
7
+ function s(f, c) {
8
+ return l(), o("svg", n, [...c[0] || (c[0] = [
9
+ t("path", {
10
+ fill: "currentColor",
11
+ d: "M240 16c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 281.4-84.7-84.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l112 112c6.2 6.2 16.4 6.2 22.6 0l112-112c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L240 297.4 240 16zM85.5 288L64 288c-35.3 0-64 28.7-64 64l0 64c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64l-21.5 0-32 32 53.5 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32L64 448c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32l53.5 0-32-32zM368 384a24 24 0 1 0 -48 0 24 24 0 1 0 48 0z"
12
+ }, null, -1)
13
+ ])]);
14
+ }
15
+ const _ = /* @__PURE__ */ e(r, [["render", s]]);
16
+ export {
17
+ _ as default
18
+ };
@@ -0,0 +1,18 @@
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as c } from "vue";
2
+ import r from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const n = {}, l = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 576 512"
6
+ };
7
+ function s(m, e) {
8
+ return t(), o("svg", l, [...e[0] || (e[0] = [
9
+ c("path", {
10
+ fill: "currentColor",
11
+ d: "M288 64c-140.8 0-229.3 128-256 192 26.7 64 115.2 192 256 192 140.8 0 229.3-128 256-192-26.7-64-115.2-192-256-192zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1 3.3 7.9 3.3 16.7 0 24.6-14.9 35.7-46.2 87.7-93 131.1-47.1 43.7-111.8 80.6-192.6 80.6S142.5 443.2 95.4 399.4c-46.8-43.5-78.1-95.4-93-131.1-3.3-7.9-3.3-16.7 0-24.6 14.9-35.7 46.2-87.7 93-131.1zM288 352c53 0 96-43 96-96 0-43.3-28.7-79.9-68.1-91.9 2.7 8.8 4.1 18.2 4.1 27.9 0 53-43 96-96 96-9.7 0-19.1-1.4-27.9-4.1 11.9 39.4 48.6 68.1 91.9 68.1zM160.2 263.8c-.2-2.6-.2-5.2-.2-7.8 0-12.2 1.7-23.9 4.9-35 .3-.9 .5-1.8 .8-2.7 12.4-40.4 44.3-72.2 84.7-84.7 11.9-3.7 24.6-5.6 37.7-5.6 2.5 0 5 .1 7.4 .2l.4 0c67.1 4 120.2 59.7 120.2 127.8 0 70.7-57.3 128-128 128-68.1 0-123.8-53.2-127.8-120.2zm32.1-16.1c9.3 5.3 20.1 8.4 31.6 8.4 35.3 0 64-28.7 64-64 0-11.5-3-22.3-8.4-31.6-46.4 4-83.3 40.9-87.3 87.3z"
12
+ }, null, -1)
13
+ ])]);
14
+ }
15
+ const _ = /* @__PURE__ */ r(n, [["render", s]]);
16
+ export {
17
+ _ as default
18
+ };
@@ -0,0 +1,18 @@
1
+ import { openBlock as t, createElementBlock as c, createElementVNode as o } from "vue";
2
+ import r from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const l = {}, n = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 384 512"
6
+ };
7
+ function s(i, e) {
8
+ return t(), c("svg", n, [...e[0] || (e[0] = [
9
+ o("path", {
10
+ fill: "currentColor",
11
+ d: "M192 32L64 32C46.3 32 32 46.3 32 64l0 384c0 17.7 14.3 32 32 32l256 0c17.7 0 32-14.3 32-32l0-256-96 0c-35.3 0-64-28.7-64-64l0-96zM338.7 160L224 45.3 224 128c0 17.7 14.3 32 32 32l82.7 0zM0 64C0 28.7 28.7 0 64 0L197.5 0c17 0 33.3 6.7 45.3 18.7L365.3 141.3c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64z"
12
+ }, null, -1)
13
+ ])]);
14
+ }
15
+ const L = /* @__PURE__ */ r(l, [["render", s]]);
16
+ export {
17
+ L as default
18
+ };
@@ -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
+ };
@@ -0,0 +1,18 @@
1
+ import { openBlock as e, createElementBlock as o, createElementVNode as r } from "vue";
2
+ import l from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const s = {}, c = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 448 512"
6
+ };
7
+ function n(f, t) {
8
+ return e(), o("svg", c, [...t[0] || (t[0] = [
9
+ r("path", {
10
+ fill: "currentColor",
11
+ d: "M240 48c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 192-192 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l192 0 0 192c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192 192 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-192 0 0-192z"
12
+ }, null, -1)
13
+ ])]);
14
+ }
15
+ const _ = /* @__PURE__ */ l(s, [["render", n]]);
16
+ export {
17
+ _ as default
18
+ };
@@ -0,0 +1,18 @@
1
+ import { openBlock as e, createElementBlock as c, createElementVNode as l } from "vue";
2
+ import o from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const r = {}, n = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 448 512"
6
+ };
7
+ function s(f, t) {
8
+ return e(), c("svg", n, [...t[0] || (t[0] = [
9
+ l("path", {
10
+ fill: "currentColor",
11
+ d: "M160.5 27.4c2-6.8 8.3-11.4 15.3-11.4l96.4 0c7.1 0 13.3 4.6 15.3 11.4l11 36.6-149 0 11-36.6zM116.1 64L16 64C7.2 64 0 71.2 0 80S7.2 96 16 96l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-100.1 0-13.7-45.8C312.1-2.1 293.4-16 272.2-16l-96.4 0c-21.2 0-39.9 13.9-46 34.2L116.1 64zM28.7 144L51.6 452.7c2.5 33.4 30.3 59.3 63.8 59.3l217.1 0c33.5 0 61.3-25.9 63.8-59.3l22.9-308.7-32.1 0-22.7 306.4c-1.2 16.7-15.2 29.6-31.9 29.6l-217.1 0c-16.8 0-30.7-12.9-31.9-29.6L60.8 144 28.7 144z"
12
+ }, null, -1)
13
+ ])]);
14
+ }
15
+ const _ = /* @__PURE__ */ o(r, [["render", s]]);
16
+ export {
17
+ _ as default
18
+ };
@@ -1,14 +1,12 @@
1
- import { __exportAll as e } from "../_virtual/_rolldown/runtime.js";
2
- import t from "./copy/index.js";
3
- import n from "./fold-text/index.js";
4
- import r from "./icon-tip/index.js";
5
- import i from "./upload/index.js";
6
- import a from "./icon/index.js";
7
- var o = e({
8
- DCopy: () => t,
9
- DFoldText: () => n,
10
- DIcon: () => a,
11
- DIconTip: () => r,
12
- DUpload: () => i
13
- });
14
- export { o as components_exports };
1
+ import { DCopy as p } from "./copy/index.js";
2
+ import { DFoldText as t } from "./fold-text/index.js";
3
+ import { DIconTip as f } from "./icon-tip/index.js";
4
+ import { DUpload as D } from "./upload/index.js";
5
+ import { DIcon as d } from "./icon/index.js";
6
+ export {
7
+ p as DCopy,
8
+ t as DFoldText,
9
+ d as DIcon,
10
+ f as DIconTip,
11
+ D as DUpload
12
+ };
@@ -1,3 +1,6 @@
1
- import e from "./src/upload.js";
2
- const t = e;
3
- export { t as default };
1
+ import o from "./src/upload.vue.js";
2
+ const p = o;
3
+ export {
4
+ p as DUpload,
5
+ p as default
6
+ };
@@ -0,0 +1 @@
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)}