geekplus-digital-ui 0.1.13 → 0.1.15
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/components/copy/index.d.ts +3 -3
- package/components/copy/src/copy.css +1 -1
- package/components/copy/src/copy.vue.d.ts +1 -1
- package/components/copy/src/copy.vue.js +38 -42
- package/components/fold-text/index.d.ts +6 -6
- package/components/fold-text/src/fold-text.css +1 -1
- package/components/fold-text/src/fold-text.vue.d.ts +2 -2
- package/components/fold-text/src/fold-text.vue.js +17 -18
- package/components/icon-tip/index.d.ts +9 -9
- package/components/icon-tip/src/icon-tip.css +1 -1
- package/components/icon-tip/src/icon-tip.vue.d.ts +3 -3
- package/components/icon-tip/src/icon-tip.vue.js +23 -26
- package/components/upload/index.d.ts +16 -16
- package/components/upload/src/upload.css +1 -1
- package/components/upload/src/upload.vue.d.ts +16 -16
- package/components/upload/src/upload.vue.js +234 -242
- package/config/index.d.ts +1 -5
- package/config/index.js +38 -21
- package/index.js +13 -15
- package/install.js +8 -8
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ export const DCopy: {
|
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
3
3
|
rootRef: import('vue').Ref<any, any>;
|
|
4
4
|
handleCopy: () => void;
|
|
5
|
-
type
|
|
5
|
+
type: string;
|
|
6
6
|
text?: string;
|
|
7
7
|
icon?: string;
|
|
8
8
|
triggerElement?: string;
|
|
@@ -143,7 +143,7 @@ export const DCopy: {
|
|
|
143
143
|
}, Readonly<{}> & Readonly<{}>, {
|
|
144
144
|
rootRef: import('vue').Ref<any, any>;
|
|
145
145
|
handleCopy: () => void;
|
|
146
|
-
type
|
|
146
|
+
type: string;
|
|
147
147
|
text?: string;
|
|
148
148
|
icon?: string;
|
|
149
149
|
triggerElement?: string;
|
|
@@ -160,7 +160,7 @@ export const DCopy: {
|
|
|
160
160
|
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
161
161
|
rootRef: import('vue').Ref<any, any>;
|
|
162
162
|
handleCopy: () => void;
|
|
163
|
-
type
|
|
163
|
+
type: string;
|
|
164
164
|
text?: string;
|
|
165
165
|
icon?: string;
|
|
166
166
|
triggerElement?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.d-copy[data-v-
|
|
1
|
+
.d-copy[data-v-c0f87f3d] .el-link__inner{gap:5px}
|
|
@@ -6,7 +6,7 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
|
6
6
|
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
7
|
rootRef: import('vue').Ref<any, any>;
|
|
8
8
|
handleCopy: () => void;
|
|
9
|
-
type
|
|
9
|
+
type: string;
|
|
10
10
|
text?: string;
|
|
11
11
|
icon?: string;
|
|
12
12
|
triggerElement?: string;
|
|
@@ -1,39 +1,35 @@
|
|
|
1
|
-
import { ref as m, toRef as
|
|
2
|
-
import { useClipboard as
|
|
3
|
-
import { ElMessage as
|
|
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 w, createCommentVNode as R } from "vue";
|
|
2
|
+
import { useClipboard as $ } from "@vueuse/core";
|
|
3
|
+
import { ElMessage as b, ElLink as z, ElIcon as I } from "element-plus";
|
|
4
4
|
import "../../../hooks/index.js";
|
|
5
|
-
import
|
|
6
|
-
import j from "../../icons/copy-light.vue.js";
|
|
5
|
+
import V from "../../icons/copy-light.vue.js";
|
|
7
6
|
import './copy.css';/* empty css */
|
|
8
|
-
import
|
|
9
|
-
import { useLocale as
|
|
10
|
-
const
|
|
7
|
+
import j from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
+
import { useLocale as D } from "../../../hooks/use-locale/index.js";
|
|
9
|
+
const H = /* @__PURE__ */ Object.assign({
|
|
11
10
|
name: "DCopy"
|
|
12
11
|
}, {
|
|
13
12
|
__name: "copy",
|
|
14
13
|
props: {
|
|
15
14
|
text: {
|
|
16
|
-
type: String
|
|
17
|
-
default: s("Copy", "text")
|
|
15
|
+
type: String
|
|
18
16
|
},
|
|
19
17
|
type: {
|
|
20
18
|
type: String,
|
|
21
|
-
default:
|
|
19
|
+
default: "primary"
|
|
22
20
|
},
|
|
23
21
|
icon: {
|
|
24
|
-
type: String
|
|
25
|
-
default: s("Copy", "icon")
|
|
22
|
+
type: String
|
|
26
23
|
},
|
|
27
24
|
triggerElement: {
|
|
28
|
-
type: String
|
|
29
|
-
default: s("Copy", "triggerElement")
|
|
25
|
+
type: String
|
|
30
26
|
}
|
|
31
27
|
// 触发元素显示的dom,不设置就一直显示
|
|
32
28
|
},
|
|
33
|
-
setup(n, { expose:
|
|
34
|
-
const r = n, l = m(null),
|
|
35
|
-
source:
|
|
36
|
-
}), { t: h } =
|
|
29
|
+
setup(n, { expose: v }) {
|
|
30
|
+
const r = n, l = m(null), s = m(!1), g = C(r, "text"), { copy: E } = $({
|
|
31
|
+
source: g
|
|
32
|
+
}), { t: h } = D(), e = p(() => {
|
|
37
33
|
const o = l.value?.$el ?? l.value;
|
|
38
34
|
if (!r.triggerElement || !o)
|
|
39
35
|
return null;
|
|
@@ -44,40 +40,40 @@ const O = /* @__PURE__ */ Object.assign({
|
|
|
44
40
|
t = t.parentNode;
|
|
45
41
|
}
|
|
46
42
|
return null;
|
|
47
|
-
}), k =
|
|
48
|
-
display: r.triggerElement && !
|
|
49
|
-
})),
|
|
43
|
+
}), k = p(() => ({
|
|
44
|
+
display: r.triggerElement && !s.value ? "none" : ""
|
|
45
|
+
})), u = () => {
|
|
50
46
|
E().then(() => {
|
|
51
|
-
|
|
47
|
+
b.success(h("d.copy.success"));
|
|
52
48
|
});
|
|
53
49
|
}, c = () => {
|
|
54
|
-
|
|
55
|
-
},
|
|
56
|
-
|
|
50
|
+
s.value = !0;
|
|
51
|
+
}, i = () => {
|
|
52
|
+
s.value = !1;
|
|
57
53
|
};
|
|
58
54
|
return L(() => {
|
|
59
|
-
e.value && (e.value.addEventListener("mouseenter", c), e.value.addEventListener("mouseleave",
|
|
60
|
-
}),
|
|
61
|
-
e.value && (e.value.removeEventListener("mouseenter", c), e.value.removeEventListener("mouseleave",
|
|
62
|
-
}),
|
|
55
|
+
e.value && (e.value.addEventListener("mouseenter", c), e.value.addEventListener("mouseleave", i));
|
|
56
|
+
}), x(() => {
|
|
57
|
+
e.value && (e.value.removeEventListener("mouseenter", c), e.value.removeEventListener("mouseleave", i));
|
|
58
|
+
}), v({
|
|
63
59
|
rootRef: l,
|
|
64
|
-
handleCopy:
|
|
65
|
-
}), (o, t) => (
|
|
60
|
+
handleCopy: u
|
|
61
|
+
}), (o, t) => (a(), d(f(z), {
|
|
66
62
|
ref_key: "rootRef",
|
|
67
63
|
ref: l,
|
|
68
64
|
class: "d-copy",
|
|
69
65
|
type: n.type,
|
|
70
66
|
underline: "never",
|
|
71
|
-
style:
|
|
72
|
-
onClick:
|
|
67
|
+
style: M(k.value),
|
|
68
|
+
onClick: S(u, ["stop"])
|
|
73
69
|
}, {
|
|
74
|
-
default:
|
|
75
|
-
n.icon ? (
|
|
70
|
+
default: y(() => [
|
|
71
|
+
n.icon ? (a(), N("i", {
|
|
76
72
|
key: 0,
|
|
77
|
-
class:
|
|
78
|
-
}, null, 2)) : (
|
|
79
|
-
default:
|
|
80
|
-
|
|
73
|
+
class: _(n.icon)
|
|
74
|
+
}, null, 2)) : (a(), d(f(I), { key: 1 }, {
|
|
75
|
+
default: y(() => [
|
|
76
|
+
B(V)
|
|
81
77
|
]),
|
|
82
78
|
_: 1
|
|
83
79
|
})),
|
|
@@ -86,7 +82,7 @@ const O = /* @__PURE__ */ Object.assign({
|
|
|
86
82
|
_: 3
|
|
87
83
|
}, 8, ["type", "style"]));
|
|
88
84
|
}
|
|
89
|
-
}),
|
|
85
|
+
}), P = /* @__PURE__ */ j(H, [["__scopeId", "data-v-c0f87f3d"]]);
|
|
90
86
|
export {
|
|
91
|
-
|
|
87
|
+
P as default
|
|
92
88
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const DFoldText: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
3
|
-
showFold
|
|
4
|
-
lineClamp
|
|
3
|
+
showFold: boolean;
|
|
4
|
+
lineClamp: number;
|
|
5
5
|
$props: {
|
|
6
6
|
readonly showFold?: boolean;
|
|
7
7
|
readonly lineClamp?: number;
|
|
@@ -16,8 +16,8 @@ export const DFoldText: {
|
|
|
16
16
|
M: {};
|
|
17
17
|
Defaults: {};
|
|
18
18
|
}, Readonly<{}> & Readonly<{}>, {
|
|
19
|
-
showFold
|
|
20
|
-
lineClamp
|
|
19
|
+
showFold: boolean;
|
|
20
|
+
lineClamp: number;
|
|
21
21
|
$props: {
|
|
22
22
|
readonly showFold?: boolean;
|
|
23
23
|
readonly lineClamp?: number;
|
|
@@ -27,8 +27,8 @@ export const DFoldText: {
|
|
|
27
27
|
__isTeleport?: never;
|
|
28
28
|
__isSuspense?: never;
|
|
29
29
|
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
30
|
-
showFold
|
|
31
|
-
lineClamp
|
|
30
|
+
showFold: boolean;
|
|
31
|
+
lineClamp: number;
|
|
32
32
|
$props: {
|
|
33
33
|
readonly showFold?: boolean;
|
|
34
34
|
readonly lineClamp?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.d-fold-text[data-v-
|
|
1
|
+
.d-fold-text[data-v-1c355079]{display:flex;flex-direction:column;overflow-wrap:break-word}.d-fold-text .text-content[data-v-1c355079]{white-space:pre-wrap}.d-fold-text .text-content.line-clamp[data-v-1c355079]{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.d-fold-text .text-link[data-v-1c355079]{display:flex}.d-fold-text .text-link[data-v-1c355079] .el-link__inner{gap:5px}
|
|
@@ -4,8 +4,8 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
|
4
4
|
$slots: S;
|
|
5
5
|
});
|
|
6
6
|
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
-
showFold
|
|
8
|
-
lineClamp
|
|
7
|
+
showFold: boolean;
|
|
8
|
+
lineClamp: number;
|
|
9
9
|
$props: {
|
|
10
10
|
readonly showFold?: boolean;
|
|
11
11
|
readonly lineClamp?: number;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as i, computed as C, onMounted as h, openBlock as n, createElementBlock as p, createElementVNode as d, normalizeStyle as w, normalizeClass as E, renderSlot as F, createBlock as f, unref as e, withCtx as a, toDisplayString as c, createVNode as r, createCommentVNode as b } 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";
|
|
5
|
-
import { getComponentConfigValue as y } from "../../../config/index.js";
|
|
6
5
|
import L from "../../icons/angle-up-light.vue.js";
|
|
7
6
|
import N from "../../icons/angle-down-light.vue.js";
|
|
8
7
|
import './fold-text.css';/* empty css */
|
|
9
|
-
import
|
|
8
|
+
import T from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
10
9
|
import { useLocale as z } from "../../../hooks/use-locale/index.js";
|
|
11
10
|
const D = { class: "d-fold-text" }, R = {
|
|
12
11
|
key: 0,
|
|
@@ -18,36 +17,36 @@ const D = { class: "d-fold-text" }, R = {
|
|
|
18
17
|
props: {
|
|
19
18
|
showFold: {
|
|
20
19
|
type: Boolean,
|
|
21
|
-
default:
|
|
20
|
+
default: !0
|
|
22
21
|
},
|
|
23
22
|
lineClamp: {
|
|
24
23
|
type: Number,
|
|
25
|
-
default:
|
|
24
|
+
default: 3
|
|
26
25
|
}
|
|
27
26
|
},
|
|
28
|
-
setup(
|
|
29
|
-
const
|
|
30
|
-
"line-clamp": !l.value &&
|
|
27
|
+
setup(s) {
|
|
28
|
+
const y = s, t = i(null), u = i(!1), l = i(!1), { t: m } = z(), k = C(() => ({
|
|
29
|
+
"line-clamp": !l.value && y.lineClamp
|
|
31
30
|
}));
|
|
32
31
|
return h(() => {
|
|
33
32
|
B(t, () => {
|
|
34
33
|
!l.value && t.value && (u.value = t.value.scrollHeight > t.value.clientHeight);
|
|
35
34
|
});
|
|
36
|
-
}), (
|
|
35
|
+
}), (_, o) => (n(), p("div", D, [
|
|
37
36
|
d("div", {
|
|
38
37
|
ref_key: "textRef",
|
|
39
38
|
ref: t,
|
|
40
|
-
class:
|
|
41
|
-
style: w({ "-webkit-line-clamp":
|
|
39
|
+
class: E(["text-content", k.value]),
|
|
40
|
+
style: w({ "-webkit-line-clamp": s.lineClamp })
|
|
42
41
|
}, [
|
|
43
|
-
|
|
42
|
+
F(_.$slots, "default", {}, void 0, !0)
|
|
44
43
|
], 6),
|
|
45
|
-
|
|
44
|
+
s.showFold && u.value ? (n(), p("div", R, [
|
|
46
45
|
l.value ? (n(), f(e(v), {
|
|
47
46
|
key: 0,
|
|
48
47
|
type: "primary",
|
|
49
48
|
underline: "never",
|
|
50
|
-
onClick: o[0] || (o[0] = (
|
|
49
|
+
onClick: o[0] || (o[0] = (g) => l.value = !1)
|
|
51
50
|
}, {
|
|
52
51
|
default: a(() => [
|
|
53
52
|
d("span", null, c(e(m)("d.foldText.collapse")), 1),
|
|
@@ -63,7 +62,7 @@ const D = { class: "d-fold-text" }, R = {
|
|
|
63
62
|
key: 1,
|
|
64
63
|
type: "primary",
|
|
65
64
|
underline: "never",
|
|
66
|
-
onClick: o[1] || (o[1] = (
|
|
65
|
+
onClick: o[1] || (o[1] = (g) => l.value = !0)
|
|
67
66
|
}, {
|
|
68
67
|
default: a(() => [
|
|
69
68
|
d("span", null, c(e(m)("d.foldText.expand")), 1),
|
|
@@ -76,10 +75,10 @@ const D = { class: "d-fold-text" }, R = {
|
|
|
76
75
|
]),
|
|
77
76
|
_: 1
|
|
78
77
|
}))
|
|
79
|
-
])) :
|
|
78
|
+
])) : b("", !0)
|
|
80
79
|
]));
|
|
81
80
|
}
|
|
82
|
-
}),
|
|
81
|
+
}), U = /* @__PURE__ */ T(S, [["__scopeId", "data-v-1c355079"]]);
|
|
83
82
|
export {
|
|
84
|
-
|
|
83
|
+
U as default
|
|
85
84
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export const DIconTip: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
3
3
|
$emit: (event: "click", ...args: any[]) => void;
|
|
4
|
-
type
|
|
4
|
+
type: string;
|
|
5
|
+
placement: string;
|
|
5
6
|
icon?: string;
|
|
6
7
|
content?: string;
|
|
7
|
-
placement?: string;
|
|
8
8
|
$props: {
|
|
9
9
|
readonly type?: string;
|
|
10
|
+
readonly placement?: string;
|
|
10
11
|
readonly icon?: string;
|
|
11
12
|
readonly content?: string;
|
|
12
|
-
readonly placement?: string;
|
|
13
13
|
};
|
|
14
14
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
15
15
|
P: {};
|
|
@@ -20,15 +20,15 @@ export const DIconTip: {
|
|
|
20
20
|
Defaults: {};
|
|
21
21
|
}, Readonly<{}> & Readonly<{}>, {
|
|
22
22
|
$emit: (event: "click", ...args: any[]) => void;
|
|
23
|
-
type
|
|
23
|
+
type: string;
|
|
24
|
+
placement: string;
|
|
24
25
|
icon?: string;
|
|
25
26
|
content?: string;
|
|
26
|
-
placement?: string;
|
|
27
27
|
$props: {
|
|
28
28
|
readonly type?: string;
|
|
29
|
+
readonly placement?: string;
|
|
29
30
|
readonly icon?: string;
|
|
30
31
|
readonly content?: string;
|
|
31
|
-
readonly placement?: string;
|
|
32
32
|
};
|
|
33
33
|
}, {}, {}, {}, {}>;
|
|
34
34
|
__isFragment?: never;
|
|
@@ -36,15 +36,15 @@ export const DIconTip: {
|
|
|
36
36
|
__isSuspense?: never;
|
|
37
37
|
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
38
38
|
$emit: (event: "click", ...args: any[]) => void;
|
|
39
|
-
type
|
|
39
|
+
type: string;
|
|
40
|
+
placement: string;
|
|
40
41
|
icon?: string;
|
|
41
42
|
content?: string;
|
|
42
|
-
placement?: string;
|
|
43
43
|
$props: {
|
|
44
44
|
readonly type?: string;
|
|
45
|
+
readonly placement?: string;
|
|
45
46
|
readonly icon?: string;
|
|
46
47
|
readonly content?: string;
|
|
47
|
-
readonly placement?: string;
|
|
48
48
|
};
|
|
49
49
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
50
50
|
$slots: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.d-icon-tip .tip-content[data-v-
|
|
1
|
+
.d-icon-tip .tip-content[data-v-04e984ec]{white-space:pre-wrap}
|
|
@@ -5,15 +5,15 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
|
5
5
|
});
|
|
6
6
|
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
7
|
$emit: (event: "click", ...args: any[]) => void;
|
|
8
|
-
type
|
|
8
|
+
type: string;
|
|
9
|
+
placement: string;
|
|
9
10
|
icon?: string;
|
|
10
11
|
content?: string;
|
|
11
|
-
placement?: string;
|
|
12
12
|
$props: {
|
|
13
13
|
readonly type?: string;
|
|
14
|
+
readonly placement?: string;
|
|
14
15
|
readonly icon?: string;
|
|
15
16
|
readonly content?: string;
|
|
16
|
-
readonly placement?: string;
|
|
17
17
|
};
|
|
18
18
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
19
|
type __VLS_TemplateResult = {
|
|
@@ -1,57 +1,54 @@
|
|
|
1
|
-
import { openBlock as
|
|
2
|
-
import { ElTooltip as
|
|
3
|
-
import
|
|
4
|
-
import S from "../../icons/circle-exclamation-solid.vue.js";
|
|
1
|
+
import { openBlock as n, createBlock as i, unref as c, withCtx as t, createVNode as l, 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, ElIcon as E } from "element-plus";
|
|
3
|
+
import C from "../../icons/circle-exclamation-solid.vue.js";
|
|
5
4
|
import './icon-tip.css';/* empty css */
|
|
6
|
-
import
|
|
7
|
-
const
|
|
5
|
+
import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const h = { class: "tip-content" }, x = /* @__PURE__ */ Object.assign({
|
|
8
7
|
name: "DIconTip"
|
|
9
8
|
}, {
|
|
10
9
|
__name: "icon-tip",
|
|
11
10
|
props: {
|
|
12
11
|
content: {
|
|
13
|
-
type: String
|
|
14
|
-
default: n("IconTip", "content")
|
|
12
|
+
type: String
|
|
15
13
|
},
|
|
16
14
|
icon: {
|
|
17
|
-
type: String
|
|
18
|
-
default: n("IconTip", "icon")
|
|
15
|
+
type: String
|
|
19
16
|
},
|
|
20
17
|
placement: {
|
|
21
18
|
type: String,
|
|
22
|
-
default:
|
|
19
|
+
default: "top"
|
|
23
20
|
},
|
|
24
21
|
type: {
|
|
25
22
|
type: String,
|
|
26
|
-
default:
|
|
23
|
+
default: "primary"
|
|
27
24
|
}
|
|
28
25
|
},
|
|
29
26
|
emits: ["click"],
|
|
30
27
|
setup(e, { emit: r }) {
|
|
31
|
-
const
|
|
32
|
-
|
|
28
|
+
const a = r, p = () => {
|
|
29
|
+
a("click");
|
|
33
30
|
};
|
|
34
|
-
return (
|
|
31
|
+
return (o, I) => (n(), i(c(g), { placement: e.placement }, {
|
|
35
32
|
content: t(() => [
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
k(
|
|
33
|
+
f("div", h, [
|
|
34
|
+
u(o.$slots, "content", {}, () => [
|
|
35
|
+
y(k(e.content), 1)
|
|
39
36
|
], !0)
|
|
40
37
|
])
|
|
41
38
|
]),
|
|
42
39
|
default: t(() => [
|
|
43
|
-
|
|
40
|
+
l(c(S), m(o.$attrs, {
|
|
44
41
|
type: e.type,
|
|
45
42
|
underline: "never",
|
|
46
|
-
onClick:
|
|
43
|
+
onClick: p
|
|
47
44
|
}), {
|
|
48
45
|
default: t(() => [
|
|
49
|
-
e.icon ? (
|
|
46
|
+
e.icon ? (n(), s("i", {
|
|
50
47
|
key: 0,
|
|
51
|
-
class:
|
|
52
|
-
}, null, 2)) : (
|
|
48
|
+
class: d(["d-icon-tip", e.icon])
|
|
49
|
+
}, null, 2)) : (n(), i(c(E), { key: 1 }, {
|
|
53
50
|
default: t(() => [
|
|
54
|
-
|
|
51
|
+
l(C)
|
|
55
52
|
]),
|
|
56
53
|
_: 1
|
|
57
54
|
}))
|
|
@@ -62,7 +59,7 @@ const _ = { class: "tip-content" }, h = /* @__PURE__ */ Object.assign({
|
|
|
62
59
|
_: 3
|
|
63
60
|
}, 8, ["placement"]));
|
|
64
61
|
}
|
|
65
|
-
}),
|
|
62
|
+
}), D = /* @__PURE__ */ _(x, [["__scopeId", "data-v-04e984ec"]]);
|
|
66
63
|
export {
|
|
67
|
-
|
|
64
|
+
D as default
|
|
68
65
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
export const DUpload: import('vue').DefineComponent<{}, {
|
|
2
2
|
$emit: (event: "success" | "change", ...args: any[]) => void;
|
|
3
|
-
disabled
|
|
4
|
-
size
|
|
5
|
-
domain
|
|
6
|
-
axios
|
|
7
|
-
url
|
|
8
|
-
format
|
|
9
|
-
maxSize
|
|
10
|
-
maxNumber
|
|
11
|
-
maxShow
|
|
12
|
-
showType
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
size: string;
|
|
5
|
+
domain: string;
|
|
6
|
+
axios: Function;
|
|
7
|
+
url: string;
|
|
8
|
+
format: unknown[];
|
|
9
|
+
maxSize: number;
|
|
10
|
+
maxNumber: number;
|
|
11
|
+
maxShow: number;
|
|
12
|
+
showType: string;
|
|
13
|
+
showTip: boolean;
|
|
14
|
+
pasteable: boolean;
|
|
15
|
+
showDownloadAll: boolean;
|
|
13
16
|
beforeUpload?: Function;
|
|
14
17
|
docType?: string;
|
|
15
18
|
scrollHeight?: string;
|
|
16
|
-
showTip?: boolean;
|
|
17
|
-
pasteable?: boolean;
|
|
18
|
-
showDownloadAll?: boolean;
|
|
19
19
|
downloadAllMethod?: Function;
|
|
20
20
|
$props: {
|
|
21
21
|
readonly disabled?: boolean;
|
|
@@ -28,12 +28,12 @@ export const DUpload: import('vue').DefineComponent<{}, {
|
|
|
28
28
|
readonly maxNumber?: number;
|
|
29
29
|
readonly maxShow?: number;
|
|
30
30
|
readonly showType?: string;
|
|
31
|
-
readonly beforeUpload?: Function;
|
|
32
|
-
readonly docType?: string;
|
|
33
|
-
readonly scrollHeight?: string;
|
|
34
31
|
readonly showTip?: boolean;
|
|
35
32
|
readonly pasteable?: boolean;
|
|
36
33
|
readonly showDownloadAll?: boolean;
|
|
34
|
+
readonly beforeUpload?: Function;
|
|
35
|
+
readonly docType?: string;
|
|
36
|
+
readonly scrollHeight?: string;
|
|
37
37
|
readonly downloadAllMethod?: Function;
|
|
38
38
|
};
|
|
39
39
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.d-upload.is-list[data-v-
|
|
1
|
+
.d-upload.is-list[data-v-b521d544],.d-upload.is-list .list[data-v-b521d544]{display:flex;flex-direction:column;gap:8px}.d-upload.is-list .list .list-item[data-v-b521d544]{line-height:1.5}.d-upload.is-list .list .list-item .file-row[data-v-b521d544]{position:relative;display:flex;align-items:center;gap:10px}.d-upload.is-list .list .list-item .file-row[data-v-b521d544] .el-link{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.d-upload.is-list .list .list-item .file-row[data-v-b521d544] .el-link .el-link__inner{display:inline}.d-upload.is-list .list .list-item .file-row .remove-icon[data-v-b521d544]{cursor:pointer;display:none;color:var(--el-text-color-secondary)}.d-upload.is-list .list .list-item .file-row:hover .remove-icon[data-v-b521d544]{display:block}.d-upload.is-card[data-v-b521d544],.d-upload.is-card .card[data-v-b521d544]{display:flex;flex-wrap:wrap;gap:8px}.d-upload.is-card .card .card-item[data-v-b521d544]{display:flex;justify-content:center;align-items:center;font-size:16px;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-b521d544]{display:flex;justify-content:center;align-items:center;gap:10px;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 .el-icon[data-v-b521d544]{color:var(--el-color-white);font-size:16px}.d-upload.is-card .card .card-item .card-cover[data-v-b521d544]:hover{opacity:1}.d-upload.is-card .card .el-image[data-v-b521d544]{width:100%;height:100%}.d-upload .expand-toggle[data-v-b521d544] .el-link__inner{gap:5px}.d-upload .tip[data-v-b521d544]{width:100%;font-size:12px;line-height:1.5;margin:0;color:var(--el-text-color-regular)}.d-upload .tip .highlight[data-v-b521d544]{color:var(--el-color-danger)}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
2
|
$emit: (event: "success" | "change", ...args: any[]) => void;
|
|
3
|
-
disabled
|
|
4
|
-
size
|
|
5
|
-
domain
|
|
6
|
-
axios
|
|
7
|
-
url
|
|
8
|
-
format
|
|
9
|
-
maxSize
|
|
10
|
-
maxNumber
|
|
11
|
-
maxShow
|
|
12
|
-
showType
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
size: string;
|
|
5
|
+
domain: string;
|
|
6
|
+
axios: Function;
|
|
7
|
+
url: string;
|
|
8
|
+
format: unknown[];
|
|
9
|
+
maxSize: number;
|
|
10
|
+
maxNumber: number;
|
|
11
|
+
maxShow: number;
|
|
12
|
+
showType: string;
|
|
13
|
+
showTip: boolean;
|
|
14
|
+
pasteable: boolean;
|
|
15
|
+
showDownloadAll: boolean;
|
|
13
16
|
beforeUpload?: Function;
|
|
14
17
|
docType?: string;
|
|
15
18
|
scrollHeight?: string;
|
|
16
|
-
showTip?: boolean;
|
|
17
|
-
pasteable?: boolean;
|
|
18
|
-
showDownloadAll?: boolean;
|
|
19
19
|
downloadAllMethod?: Function;
|
|
20
20
|
$props: {
|
|
21
21
|
readonly disabled?: boolean;
|
|
@@ -28,12 +28,12 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
28
28
|
readonly maxNumber?: number;
|
|
29
29
|
readonly maxShow?: number;
|
|
30
30
|
readonly showType?: string;
|
|
31
|
-
readonly beforeUpload?: Function;
|
|
32
|
-
readonly docType?: string;
|
|
33
|
-
readonly scrollHeight?: string;
|
|
34
31
|
readonly showTip?: boolean;
|
|
35
32
|
readonly pasteable?: boolean;
|
|
36
33
|
readonly showDownloadAll?: boolean;
|
|
34
|
+
readonly beforeUpload?: Function;
|
|
35
|
+
readonly docType?: string;
|
|
36
|
+
readonly scrollHeight?: string;
|
|
37
37
|
readonly downloadAllMethod?: Function;
|
|
38
38
|
};
|
|
39
39
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|