geekplus-digital-ui 0.1.11 → 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.
- 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 +53 -43
- 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 +22 -21
- 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 +30 -23
- package/components/icons/circle-play-light.vue.d.ts +2 -0
- package/components/icons/circle-play-light.vue.js +18 -0
- package/components/icons/circle-xmark-light.vue.d.ts +2 -0
- package/components/icons/circle-xmark-light.vue.js +18 -0
- package/components/icons/download-light.vue.d.ts +2 -0
- package/components/icons/download-light.vue.js +18 -0
- package/components/icons/eye-light.vue.d.ts +2 -0
- package/components/icons/eye-light.vue.js +18 -0
- package/components/icons/file-light.vue.d.ts +2 -0
- package/components/icons/file-light.vue.js +18 -0
- package/components/icons/plus-light.vue.d.ts +2 -0
- package/components/icons/plus-light.vue.js +18 -0
- package/components/icons/trash-light.vue.d.ts +2 -0
- package/components/icons/trash-light.vue.js +18 -0
- package/components/index.d.ts +1 -0
- package/components/index.js +3 -1
- package/components/upload/index.d.ts +407 -0
- package/components/upload/index.js +6 -0
- package/components/upload/src/upload.css +1 -0
- package/components/upload/src/upload.vue.d.ts +407 -0
- package/components/upload/src/upload.vue.js +505 -0
- package/components/upload/src/upload2.css +1 -0
- package/config/index.d.ts +6 -0
- package/config/index.js +25 -0
- package/hooks/index.d.ts +1 -0
- package/hooks/index.js +2 -0
- package/hooks/use-activated/index.d.ts +1 -0
- package/hooks/use-activated/index.js +12 -0
- package/index.d.ts +1 -0
- package/index.js +17 -8
- package/install.js +8 -7
- package/locale/i18n.js +16 -15
- package/locale/lang/en.d.ts +20 -0
- package/locale/lang/en.js +17 -0
- package/locale/lang/zh-cn.d.ts +20 -0
- package/locale/lang/zh-cn.js +17 -0
- package/package.json +31 -29
|
@@ -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-eea208ab] .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,7 +1,8 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { useClipboard as
|
|
3
|
-
import { ElMessage as
|
|
1
|
+
import { ref as m, toRef as x, computed as f, onMounted as L, onBeforeUnmount as S, openBlock as u, createBlock as d, unref as y, withModifiers as M, normalizeStyle as N, withCtx as v, createElementBlock as _, normalizeClass as B, createVNode as b, renderSlot as w, createCommentVNode as R } from "vue";
|
|
2
|
+
import { useClipboard as V } from "@vueuse/core";
|
|
3
|
+
import { ElMessage as $, ElLink as z, ElIcon as I } from "element-plus";
|
|
4
4
|
import "../../../hooks/index.js";
|
|
5
|
+
import { getComponentConfigValue as s } from "../../../config/index.js";
|
|
5
6
|
import j from "../../icons/copy-light.vue.js";
|
|
6
7
|
import './copy.css';/* empty css */
|
|
7
8
|
import D from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -11,72 +12,81 @@ const O = /* @__PURE__ */ Object.assign({
|
|
|
11
12
|
}, {
|
|
12
13
|
__name: "copy",
|
|
13
14
|
props: {
|
|
14
|
-
text:
|
|
15
|
+
text: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: s("Copy", "text")
|
|
18
|
+
},
|
|
15
19
|
type: {
|
|
16
20
|
type: String,
|
|
17
|
-
default: "primary"
|
|
21
|
+
default: s("Copy", "type", "primary")
|
|
18
22
|
},
|
|
19
|
-
icon:
|
|
20
|
-
|
|
23
|
+
icon: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: s("Copy", "icon")
|
|
26
|
+
},
|
|
27
|
+
triggerElement: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: s("Copy", "triggerElement")
|
|
30
|
+
}
|
|
21
31
|
// 触发元素显示的dom,不设置就一直显示
|
|
22
32
|
},
|
|
23
|
-
setup(
|
|
24
|
-
const
|
|
25
|
-
source:
|
|
26
|
-
}), { t:
|
|
27
|
-
const
|
|
28
|
-
if (!
|
|
33
|
+
setup(n, { expose: g }) {
|
|
34
|
+
const r = n, l = m(null), a = m(!1), C = x(r, "text"), { copy: E } = V({
|
|
35
|
+
source: C
|
|
36
|
+
}), { t: h } = H(), e = f(() => {
|
|
37
|
+
const o = l.value?.$el ?? l.value;
|
|
38
|
+
if (!r.triggerElement || !o)
|
|
29
39
|
return null;
|
|
30
|
-
let t =
|
|
40
|
+
let t = o.parentNode;
|
|
31
41
|
for (; t; ) {
|
|
32
|
-
if (t.matches(
|
|
42
|
+
if (t.matches(r.triggerElement))
|
|
33
43
|
return t;
|
|
34
44
|
t = t.parentNode;
|
|
35
45
|
}
|
|
36
46
|
return null;
|
|
37
|
-
}),
|
|
38
|
-
display:
|
|
39
|
-
})),
|
|
40
|
-
|
|
41
|
-
|
|
47
|
+
}), k = f(() => ({
|
|
48
|
+
display: r.triggerElement && !a.value ? "none" : ""
|
|
49
|
+
})), i = () => {
|
|
50
|
+
E().then(() => {
|
|
51
|
+
$.success(h("d.copy.success"));
|
|
42
52
|
});
|
|
43
|
-
},
|
|
44
|
-
|
|
45
|
-
},
|
|
46
|
-
|
|
53
|
+
}, c = () => {
|
|
54
|
+
a.value = !0;
|
|
55
|
+
}, p = () => {
|
|
56
|
+
a.value = !1;
|
|
47
57
|
};
|
|
48
58
|
return L(() => {
|
|
49
|
-
e.value && (e.value.addEventListener("mouseenter",
|
|
50
|
-
}),
|
|
51
|
-
e.value && (e.value.removeEventListener("mouseenter",
|
|
52
|
-
}),
|
|
53
|
-
rootRef:
|
|
54
|
-
handleCopy:
|
|
55
|
-
}), (
|
|
59
|
+
e.value && (e.value.addEventListener("mouseenter", c), e.value.addEventListener("mouseleave", p));
|
|
60
|
+
}), S(() => {
|
|
61
|
+
e.value && (e.value.removeEventListener("mouseenter", c), e.value.removeEventListener("mouseleave", p));
|
|
62
|
+
}), g({
|
|
63
|
+
rootRef: l,
|
|
64
|
+
handleCopy: i
|
|
65
|
+
}), (o, t) => (u(), d(y(z), {
|
|
56
66
|
ref_key: "rootRef",
|
|
57
|
-
ref:
|
|
67
|
+
ref: l,
|
|
58
68
|
class: "d-copy",
|
|
59
|
-
type:
|
|
69
|
+
type: n.type,
|
|
60
70
|
underline: "never",
|
|
61
|
-
style:
|
|
62
|
-
onClick:
|
|
71
|
+
style: N(k.value),
|
|
72
|
+
onClick: M(i, ["stop"])
|
|
63
73
|
}, {
|
|
64
|
-
default:
|
|
65
|
-
|
|
74
|
+
default: v(() => [
|
|
75
|
+
n.icon ? (u(), _("i", {
|
|
66
76
|
key: 0,
|
|
67
|
-
class: B(
|
|
68
|
-
}, null, 2)) : (
|
|
69
|
-
default:
|
|
77
|
+
class: B(n.icon)
|
|
78
|
+
}, null, 2)) : (u(), d(y(I), { key: 1 }, {
|
|
79
|
+
default: v(() => [
|
|
70
80
|
b(j)
|
|
71
81
|
]),
|
|
72
82
|
_: 1
|
|
73
83
|
})),
|
|
74
|
-
|
|
84
|
+
o.$slots.default ? w(o.$slots, "default", { key: 2 }, void 0, !0) : R("", !0)
|
|
75
85
|
]),
|
|
76
86
|
_: 3
|
|
77
87
|
}, 8, ["type", "style"]));
|
|
78
88
|
}
|
|
79
|
-
}),
|
|
89
|
+
}), T = /* @__PURE__ */ D(O, [["__scopeId", "data-v-eea208ab"]]);
|
|
80
90
|
export {
|
|
81
|
-
|
|
91
|
+
T as default
|
|
82
92
|
};
|
|
@@ -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-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}
|
|
@@ -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,11 +1,12 @@
|
|
|
1
|
-
import { ref as
|
|
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";
|
|
5
|
+
import { getComponentConfigValue as y } from "../../../config/index.js";
|
|
5
6
|
import L from "../../icons/angle-up-light.vue.js";
|
|
6
7
|
import N from "../../icons/angle-down-light.vue.js";
|
|
7
8
|
import './fold-text.css';/* empty css */
|
|
8
|
-
import
|
|
9
|
+
import V from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
9
10
|
import { useLocale as z } from "../../../hooks/use-locale/index.js";
|
|
10
11
|
const D = { class: "d-fold-text" }, R = {
|
|
11
12
|
key: 0,
|
|
@@ -17,36 +18,36 @@ const D = { class: "d-fold-text" }, R = {
|
|
|
17
18
|
props: {
|
|
18
19
|
showFold: {
|
|
19
20
|
type: Boolean,
|
|
20
|
-
default: !0
|
|
21
|
+
default: y("FoldText", "showFold", !0)
|
|
21
22
|
},
|
|
22
23
|
lineClamp: {
|
|
23
24
|
type: Number,
|
|
24
|
-
default: 3
|
|
25
|
+
default: y("FoldText", "lineClamp", 3)
|
|
25
26
|
}
|
|
26
27
|
},
|
|
27
|
-
setup(
|
|
28
|
-
const
|
|
29
|
-
"line-clamp": !l.value &&
|
|
28
|
+
setup(i) {
|
|
29
|
+
const k = i, t = s(null), u = s(!1), l = s(!1), { t: m } = z(), C = F(() => ({
|
|
30
|
+
"line-clamp": !l.value && k.lineClamp
|
|
30
31
|
}));
|
|
31
32
|
return h(() => {
|
|
32
33
|
B(t, () => {
|
|
33
34
|
!l.value && t.value && (u.value = t.value.scrollHeight > t.value.clientHeight);
|
|
34
35
|
});
|
|
35
|
-
}), (
|
|
36
|
+
}), (g, o) => (n(), p("div", D, [
|
|
36
37
|
d("div", {
|
|
37
38
|
ref_key: "textRef",
|
|
38
39
|
ref: t,
|
|
39
|
-
class:
|
|
40
|
-
style: w({ "-webkit-line-clamp":
|
|
40
|
+
class: T(["text-content", C.value]),
|
|
41
|
+
style: w({ "-webkit-line-clamp": i.lineClamp })
|
|
41
42
|
}, [
|
|
42
|
-
|
|
43
|
+
b(g.$slots, "default", {}, void 0, !0)
|
|
43
44
|
], 6),
|
|
44
|
-
|
|
45
|
-
l.value ? (n(),
|
|
45
|
+
i.showFold && u.value ? (n(), p("div", R, [
|
|
46
|
+
l.value ? (n(), f(e(v), {
|
|
46
47
|
key: 0,
|
|
47
|
-
onClick: o[0] || (o[0] = (g) => l.value = !1),
|
|
48
48
|
type: "primary",
|
|
49
|
-
underline: "never"
|
|
49
|
+
underline: "never",
|
|
50
|
+
onClick: o[0] || (o[0] = (_) => l.value = !1)
|
|
50
51
|
}, {
|
|
51
52
|
default: a(() => [
|
|
52
53
|
d("span", null, c(e(m)("d.foldText.collapse")), 1),
|
|
@@ -58,11 +59,11 @@ const D = { class: "d-fold-text" }, R = {
|
|
|
58
59
|
})
|
|
59
60
|
]),
|
|
60
61
|
_: 1
|
|
61
|
-
})) : (n(),
|
|
62
|
+
})) : (n(), f(e(v), {
|
|
62
63
|
key: 1,
|
|
63
|
-
onClick: o[1] || (o[1] = (g) => l.value = !0),
|
|
64
64
|
type: "primary",
|
|
65
|
-
underline: "never"
|
|
65
|
+
underline: "never",
|
|
66
|
+
onClick: o[1] || (o[1] = (_) => l.value = !0)
|
|
66
67
|
}, {
|
|
67
68
|
default: a(() => [
|
|
68
69
|
d("span", null, c(e(m)("d.foldText.expand")), 1),
|
|
@@ -75,10 +76,10 @@ const D = { class: "d-fold-text" }, R = {
|
|
|
75
76
|
]),
|
|
76
77
|
_: 1
|
|
77
78
|
}))
|
|
78
|
-
])) :
|
|
79
|
+
])) : E("", !0)
|
|
79
80
|
]));
|
|
80
81
|
}
|
|
81
|
-
}),
|
|
82
|
+
}), G = /* @__PURE__ */ V(S, [["__scopeId", "data-v-a941b508"]]);
|
|
82
83
|
export {
|
|
83
|
-
|
|
84
|
+
G as default
|
|
84
85
|
};
|
|
@@ -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
|
|
5
|
-
placement: string;
|
|
4
|
+
type?: string;
|
|
6
5
|
icon?: string;
|
|
7
6
|
content?: string;
|
|
7
|
+
placement?: string;
|
|
8
8
|
$props: {
|
|
9
9
|
readonly type?: string;
|
|
10
|
-
readonly placement?: string;
|
|
11
10
|
readonly icon?: string;
|
|
12
11
|
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
|
|
24
|
-
placement: string;
|
|
23
|
+
type?: string;
|
|
25
24
|
icon?: string;
|
|
26
25
|
content?: string;
|
|
26
|
+
placement?: string;
|
|
27
27
|
$props: {
|
|
28
28
|
readonly type?: string;
|
|
29
|
-
readonly placement?: string;
|
|
30
29
|
readonly icon?: string;
|
|
31
30
|
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
|
|
40
|
-
placement: string;
|
|
39
|
+
type?: string;
|
|
41
40
|
icon?: string;
|
|
42
41
|
content?: string;
|
|
42
|
+
placement?: string;
|
|
43
43
|
$props: {
|
|
44
44
|
readonly type?: string;
|
|
45
|
-
readonly placement?: string;
|
|
46
45
|
readonly icon?: string;
|
|
47
46
|
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-2af89f3b]{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
|
|
9
|
-
placement: string;
|
|
8
|
+
type?: string;
|
|
10
9
|
icon?: string;
|
|
11
10
|
content?: string;
|
|
11
|
+
placement?: string;
|
|
12
12
|
$props: {
|
|
13
13
|
readonly type?: string;
|
|
14
|
-
readonly placement?: string;
|
|
15
14
|
readonly icon?: string;
|
|
16
15
|
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,50 +1,57 @@
|
|
|
1
|
-
import { openBlock as
|
|
2
|
-
import { ElTooltip as
|
|
3
|
-
import
|
|
1
|
+
import { openBlock as o, createBlock as l, unref as c, withCtx as t, createVNode as a, mergeProps as s, createElementBlock as d, normalizeClass as f, createElementVNode as u, renderSlot as y, createTextVNode as k, toDisplayString as g } from "vue";
|
|
2
|
+
import { ElTooltip as I, ElLink as T, ElIcon as C } from "element-plus";
|
|
3
|
+
import { getComponentConfigValue as n } from "../../../config/index.js";
|
|
4
|
+
import S from "../../icons/circle-exclamation-solid.vue.js";
|
|
4
5
|
import './icon-tip.css';/* empty css */
|
|
5
|
-
import
|
|
6
|
-
const
|
|
6
|
+
import E from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
7
|
+
const _ = { class: "tip-content" }, h = /* @__PURE__ */ Object.assign({
|
|
7
8
|
name: "DIconTip"
|
|
8
9
|
}, {
|
|
9
10
|
__name: "icon-tip",
|
|
10
11
|
props: {
|
|
11
|
-
content:
|
|
12
|
-
|
|
12
|
+
content: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: n("IconTip", "content")
|
|
15
|
+
},
|
|
16
|
+
icon: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: n("IconTip", "icon")
|
|
19
|
+
},
|
|
13
20
|
placement: {
|
|
14
|
-
|
|
15
|
-
|
|
21
|
+
type: String,
|
|
22
|
+
default: n("IconTip", "placement", "top")
|
|
16
23
|
},
|
|
17
24
|
type: {
|
|
18
25
|
type: String,
|
|
19
|
-
default: "primary"
|
|
26
|
+
default: n("IconTip", "type", "primary")
|
|
20
27
|
}
|
|
21
28
|
},
|
|
22
29
|
emits: ["click"],
|
|
23
30
|
setup(e, { emit: r }) {
|
|
24
|
-
const
|
|
25
|
-
|
|
31
|
+
const p = r, m = () => {
|
|
32
|
+
p("click");
|
|
26
33
|
};
|
|
27
|
-
return (
|
|
34
|
+
return (i, x) => (o(), l(c(I), { placement: e.placement }, {
|
|
28
35
|
content: t(() => [
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
k(
|
|
36
|
+
u("div", _, [
|
|
37
|
+
y(i.$slots, "content", {}, () => [
|
|
38
|
+
k(g(e.content), 1)
|
|
32
39
|
], !0)
|
|
33
40
|
])
|
|
34
41
|
]),
|
|
35
42
|
default: t(() => [
|
|
36
|
-
|
|
43
|
+
a(c(T), s(i.$attrs, {
|
|
37
44
|
type: e.type,
|
|
38
45
|
underline: "never",
|
|
39
46
|
onClick: m
|
|
40
47
|
}), {
|
|
41
48
|
default: t(() => [
|
|
42
|
-
e.icon ? (
|
|
49
|
+
e.icon ? (o(), d("i", {
|
|
43
50
|
key: 0,
|
|
44
|
-
class:
|
|
45
|
-
}, null, 2)) : (
|
|
51
|
+
class: f(["d-icon-tip", e.icon])
|
|
52
|
+
}, null, 2)) : (o(), l(c(C), { key: 1 }, {
|
|
46
53
|
default: t(() => [
|
|
47
|
-
|
|
54
|
+
a(S)
|
|
48
55
|
]),
|
|
49
56
|
_: 1
|
|
50
57
|
}))
|
|
@@ -55,7 +62,7 @@ const h = { class: "tip-content" }, x = /* @__PURE__ */ Object.assign({
|
|
|
55
62
|
_: 3
|
|
56
63
|
}, 8, ["placement"]));
|
|
57
64
|
}
|
|
58
|
-
}),
|
|
65
|
+
}), $ = /* @__PURE__ */ E(h, [["__scopeId", "data-v-2af89f3b"]]);
|
|
59
66
|
export {
|
|
60
|
-
|
|
67
|
+
$ as default
|
|
61
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;
|