geekplus-digital-ui 0.1.12 → 0.1.13

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 (41) hide show
  1. package/components/copy/src/copy.css +1 -1
  2. package/components/copy/src/copy.vue.js +5 -5
  3. package/components/fold-text/src/fold-text.css +1 -1
  4. package/components/fold-text/src/fold-text.vue.js +10 -10
  5. package/components/icon-tip/src/icon-tip.css +1 -1
  6. package/components/icon-tip/src/icon-tip.vue.js +6 -6
  7. package/components/icons/circle-play-light.vue.d.ts +2 -0
  8. package/components/icons/circle-play-light.vue.js +18 -0
  9. package/components/icons/circle-xmark-light.vue.d.ts +2 -0
  10. package/components/icons/circle-xmark-light.vue.js +18 -0
  11. package/components/icons/download-light.vue.d.ts +2 -0
  12. package/components/icons/download-light.vue.js +18 -0
  13. package/components/icons/eye-light.vue.d.ts +2 -0
  14. package/components/icons/eye-light.vue.js +18 -0
  15. package/components/icons/file-light.vue.d.ts +2 -0
  16. package/components/icons/file-light.vue.js +18 -0
  17. package/components/icons/plus-light.vue.d.ts +2 -0
  18. package/components/icons/plus-light.vue.js +18 -0
  19. package/components/icons/trash-light.vue.d.ts +2 -0
  20. package/components/icons/trash-light.vue.js +18 -0
  21. package/components/index.d.ts +1 -0
  22. package/components/index.js +3 -1
  23. package/components/upload/index.d.ts +407 -0
  24. package/components/upload/index.js +6 -0
  25. package/components/upload/src/upload.css +1 -0
  26. package/components/upload/src/upload.vue.d.ts +407 -0
  27. package/components/upload/src/upload.vue.js +505 -0
  28. package/components/upload/src/upload2.css +1 -0
  29. package/config/index.d.ts +1 -1
  30. package/config/index.js +20 -19
  31. package/hooks/index.d.ts +1 -0
  32. package/hooks/index.js +2 -0
  33. package/hooks/use-activated/index.d.ts +1 -0
  34. package/hooks/use-activated/index.js +12 -0
  35. package/index.js +10 -6
  36. package/locale/i18n.js +16 -15
  37. package/locale/lang/en.d.ts +20 -0
  38. package/locale/lang/en.js +17 -0
  39. package/locale/lang/zh-cn.d.ts +20 -0
  40. package/locale/lang/zh-cn.js +17 -0
  41. package/package.json +31 -29
@@ -1 +1 @@
1
- .d-copy[data-v-e2b2e941] .el-link__inner{gap:5px}
1
+ .d-copy[data-v-eea208ab] .el-link__inner{gap:5px}
@@ -14,19 +14,19 @@ const O = /* @__PURE__ */ Object.assign({
14
14
  props: {
15
15
  text: {
16
16
  type: String,
17
- default: () => s("Copy", "text")
17
+ default: s("Copy", "text")
18
18
  },
19
19
  type: {
20
20
  type: String,
21
- default: () => s("Copy", "type", "primary")
21
+ default: s("Copy", "type", "primary")
22
22
  },
23
23
  icon: {
24
24
  type: String,
25
- default: () => s("Copy", "icon")
25
+ default: s("Copy", "icon")
26
26
  },
27
27
  triggerElement: {
28
28
  type: String,
29
- default: () => s("Copy", "triggerElement")
29
+ default: s("Copy", "triggerElement")
30
30
  }
31
31
  // 触发元素显示的dom,不设置就一直显示
32
32
  },
@@ -86,7 +86,7 @@ const O = /* @__PURE__ */ Object.assign({
86
86
  _: 3
87
87
  }, 8, ["type", "style"]));
88
88
  }
89
- }), T = /* @__PURE__ */ D(O, [["__scopeId", "data-v-e2b2e941"]]);
89
+ }), T = /* @__PURE__ */ D(O, [["__scopeId", "data-v-eea208ab"]]);
90
90
  export {
91
91
  T as default
92
92
  };
@@ -1 +1 @@
1
- .d-fold-text[data-v-ca1d8178]{display:flex;flex-direction:column;overflow-wrap:break-word}.d-fold-text .text-content[data-v-ca1d8178]{white-space:pre-wrap}.d-fold-text .text-content.line-clamp[data-v-ca1d8178]{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.d-fold-text .text-link[data-v-ca1d8178]{display:flex}.d-fold-text .text-link[data-v-ca1d8178] .el-link__inner{gap:5px}
1
+ .d-fold-text[data-v-a941b508]{display:flex;flex-direction:column;overflow-wrap:break-word}.d-fold-text .text-content[data-v-a941b508]{white-space:pre-wrap}.d-fold-text .text-content.line-clamp[data-v-a941b508]{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.d-fold-text .text-link[data-v-a941b508]{display:flex}.d-fold-text .text-link[data-v-a941b508] .el-link__inner{gap:5px}
@@ -1,4 +1,4 @@
1
- import { ref as s, computed as F, onMounted as h, openBlock as n, createElementBlock as p, createElementVNode as d, normalizeStyle as w, normalizeClass as T, renderSlot as E, createBlock as f, unref as e, withCtx as a, toDisplayString as c, createVNode as r, createCommentVNode as b } from "vue";
1
+ import { ref as s, computed as F, onMounted as h, openBlock as n, createElementBlock as p, createElementVNode as d, normalizeStyle as w, normalizeClass as T, renderSlot as b, createBlock as f, unref as e, withCtx as a, toDisplayString as c, createVNode as r, createCommentVNode as E } from "vue";
2
2
  import { useResizeObserver as B } from "@vueuse/core";
3
3
  import { ElLink as v, ElIcon as x } from "element-plus";
4
4
  import "../../../hooks/index.js";
@@ -18,11 +18,11 @@ const D = { class: "d-fold-text" }, R = {
18
18
  props: {
19
19
  showFold: {
20
20
  type: Boolean,
21
- default: () => y("FoldText", "showFold", !0)
21
+ default: y("FoldText", "showFold", !0)
22
22
  },
23
23
  lineClamp: {
24
24
  type: Number,
25
- default: () => y("FoldText", "lineClamp", 3)
25
+ default: y("FoldText", "lineClamp", 3)
26
26
  }
27
27
  },
28
28
  setup(i) {
@@ -40,14 +40,14 @@ const D = { class: "d-fold-text" }, R = {
40
40
  class: T(["text-content", C.value]),
41
41
  style: w({ "-webkit-line-clamp": i.lineClamp })
42
42
  }, [
43
- E(g.$slots, "default", {}, void 0, !0)
43
+ b(g.$slots, "default", {}, void 0, !0)
44
44
  ], 6),
45
45
  i.showFold && u.value ? (n(), p("div", R, [
46
46
  l.value ? (n(), f(e(v), {
47
47
  key: 0,
48
- onClick: o[0] || (o[0] = (_) => l.value = !1),
49
48
  type: "primary",
50
- underline: "never"
49
+ underline: "never",
50
+ onClick: o[0] || (o[0] = (_) => l.value = !1)
51
51
  }, {
52
52
  default: a(() => [
53
53
  d("span", null, c(e(m)("d.foldText.collapse")), 1),
@@ -61,9 +61,9 @@ const D = { class: "d-fold-text" }, R = {
61
61
  _: 1
62
62
  })) : (n(), f(e(v), {
63
63
  key: 1,
64
- onClick: o[1] || (o[1] = (_) => l.value = !0),
65
64
  type: "primary",
66
- underline: "never"
65
+ underline: "never",
66
+ onClick: o[1] || (o[1] = (_) => l.value = !0)
67
67
  }, {
68
68
  default: a(() => [
69
69
  d("span", null, c(e(m)("d.foldText.expand")), 1),
@@ -76,10 +76,10 @@ const D = { class: "d-fold-text" }, R = {
76
76
  ]),
77
77
  _: 1
78
78
  }))
79
- ])) : b("", !0)
79
+ ])) : E("", !0)
80
80
  ]));
81
81
  }
82
- }), G = /* @__PURE__ */ V(S, [["__scopeId", "data-v-ca1d8178"]]);
82
+ }), G = /* @__PURE__ */ V(S, [["__scopeId", "data-v-a941b508"]]);
83
83
  export {
84
84
  G as default
85
85
  };
@@ -1 +1 @@
1
- .d-icon-tip .tip-content[data-v-a3e9d571]{white-space:pre-wrap}
1
+ .d-icon-tip .tip-content[data-v-2af89f3b]{white-space:pre-wrap}
@@ -11,19 +11,19 @@ const _ = { class: "tip-content" }, h = /* @__PURE__ */ Object.assign({
11
11
  props: {
12
12
  content: {
13
13
  type: String,
14
- default: () => n("IconTip", "content")
14
+ default: n("IconTip", "content")
15
15
  },
16
16
  icon: {
17
17
  type: String,
18
- default: () => n("IconTip", "icon")
18
+ default: n("IconTip", "icon")
19
19
  },
20
20
  placement: {
21
21
  type: String,
22
- default: () => n("IconTip", "placement", "top")
22
+ default: n("IconTip", "placement", "top")
23
23
  },
24
24
  type: {
25
25
  type: String,
26
- default: () => n("IconTip", "type", "primary")
26
+ default: n("IconTip", "type", "primary")
27
27
  }
28
28
  },
29
29
  emits: ["click"],
@@ -62,7 +62,7 @@ const _ = { class: "tip-content" }, h = /* @__PURE__ */ Object.assign({
62
62
  _: 3
63
63
  }, 8, ["placement"]));
64
64
  }
65
- }), b = /* @__PURE__ */ E(h, [["__scopeId", "data-v-a3e9d571"]]);
65
+ }), $ = /* @__PURE__ */ E(h, [["__scopeId", "data-v-2af89f3b"]]);
66
66
  export {
67
- b as default
67
+ $ as default
68
68
  };
@@ -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 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,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 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,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 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,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 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,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 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 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,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 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,3 +1,4 @@
1
1
  export * from './copy';
2
2
  export * from './fold-text';
3
3
  export * from './icon-tip';
4
+ export * from './upload';
@@ -1,8 +1,10 @@
1
1
  import { DCopy as p } from "./copy/index.js";
2
2
  import { DFoldText as t } from "./fold-text/index.js";
3
3
  import { DIconTip as f } from "./icon-tip/index.js";
4
+ import { DUpload as D } from "./upload/index.js";
4
5
  export {
5
6
  p as DCopy,
6
7
  t as DFoldText,
7
- f as DIconTip
8
+ f as DIconTip,
9
+ D as DUpload
8
10
  };