geekplus-digital-ui 0.1.9 → 0.1.11
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/src/copy.css +1 -1
- package/components/copy/src/copy.vue.js +11 -11
- package/components/fold-text/index.d.ts +41 -0
- package/components/fold-text/index.js +6 -0
- package/components/fold-text/src/fold-text.css +1 -0
- package/components/fold-text/src/fold-text.vue.d.ts +25 -0
- package/components/fold-text/src/fold-text.vue.js +84 -0
- package/components/icon-tip/index.d.ts +54 -0
- package/components/icon-tip/index.js +6 -0
- package/components/icon-tip/src/icon-tip.css +1 -0
- package/components/icon-tip/src/icon-tip.vue.d.ts +26 -0
- package/components/icon-tip/src/icon-tip.vue.js +61 -0
- package/components/icons/angle-down-light.vue.js +18 -0
- package/components/icons/angle-up-light.vue.d.ts +2 -0
- package/components/icons/angle-up-light.vue.js +18 -0
- package/components/icons/circle-exclamation-solid.vue.d.ts +2 -0
- package/components/icons/circle-exclamation-solid.vue.js +18 -0
- package/components/icons/copy-light.vue.d.ts +2 -0
- package/components/{copy/src/copy-icon.vue.js → icons/copy-light.vue.js} +5 -5
- package/components/index.d.ts +2 -0
- package/components/index.js +6 -2
- package/index.d.ts +2 -2
- package/index.js +8 -4
- package/locale/lang/en.d.ts +4 -0
- package/locale/lang/en.js +6 -2
- package/locale/lang/zh-cn.d.ts +4 -0
- package/locale/lang/zh-cn.js +6 -2
- package/package.json +1 -1
- /package/components/{copy/src/copy-icon.vue.d.ts → icons/angle-down-light.vue.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
.d-copy[data-v-
|
|
1
|
+
.d-copy[data-v-bd899e03] .el-link__inner{gap:5px}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ref as p, toRef as d, computed as f, onMounted as
|
|
2
|
-
import { useClipboard as
|
|
3
|
-
import { ElMessage as
|
|
1
|
+
import { ref as p, toRef as d, computed as f, onMounted as L, onBeforeUnmount as x, openBlock as s, createBlock as v, unref as y, withModifiers as S, normalizeStyle as M, withCtx as g, createElementBlock as N, normalizeClass as B, createVNode as b, renderSlot as w, createCommentVNode as R } from "vue";
|
|
2
|
+
import { useClipboard as $ } from "@vueuse/core";
|
|
3
|
+
import { ElMessage as z, ElLink as I, ElIcon as V } from "element-plus";
|
|
4
4
|
import "../../../hooks/index.js";
|
|
5
|
-
import j from "
|
|
5
|
+
import j from "../../icons/copy-light.vue.js";
|
|
6
6
|
import './copy.css';/* empty css */
|
|
7
7
|
import D from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
8
8
|
import { useLocale as H } from "../../../hooks/use-locale/index.js";
|
|
@@ -21,7 +21,7 @@ const O = /* @__PURE__ */ Object.assign({
|
|
|
21
21
|
// 触发元素显示的dom,不设置就一直显示
|
|
22
22
|
},
|
|
23
23
|
setup(a, { expose: E }) {
|
|
24
|
-
const o = a, r = p(null), l = p(!1), h = d(o, "text"), u = d(o, "icon"), { copy: k } =
|
|
24
|
+
const o = a, r = p(null), l = p(!1), h = d(o, "text"), u = d(o, "icon"), { copy: k } = $({
|
|
25
25
|
source: h
|
|
26
26
|
}), { t: C } = H(), e = f(() => {
|
|
27
27
|
const n = r.value?.$el ?? r.value;
|
|
@@ -38,21 +38,21 @@ const O = /* @__PURE__ */ Object.assign({
|
|
|
38
38
|
display: o.triggerElement && !l.value ? "none" : ""
|
|
39
39
|
})), c = () => {
|
|
40
40
|
k().then(() => {
|
|
41
|
-
|
|
41
|
+
z.success(C("d.copy.success"));
|
|
42
42
|
});
|
|
43
43
|
}, i = () => {
|
|
44
44
|
l.value = !0;
|
|
45
45
|
}, m = () => {
|
|
46
46
|
l.value = !1;
|
|
47
47
|
};
|
|
48
|
-
return
|
|
48
|
+
return L(() => {
|
|
49
49
|
e.value && (e.value.addEventListener("mouseenter", i), e.value.addEventListener("mouseleave", m));
|
|
50
|
-
}),
|
|
50
|
+
}), x(() => {
|
|
51
51
|
e.value && (e.value.removeEventListener("mouseenter", i), e.value.removeEventListener("mouseleave", m));
|
|
52
52
|
}), E({
|
|
53
53
|
rootRef: r,
|
|
54
54
|
handleCopy: c
|
|
55
|
-
}), (n, t) => (s(), v(y(
|
|
55
|
+
}), (n, t) => (s(), v(y(I), {
|
|
56
56
|
ref_key: "rootRef",
|
|
57
57
|
ref: r,
|
|
58
58
|
class: "d-copy",
|
|
@@ -71,12 +71,12 @@ const O = /* @__PURE__ */ Object.assign({
|
|
|
71
71
|
]),
|
|
72
72
|
_: 1
|
|
73
73
|
})),
|
|
74
|
-
n.$slots.default ? w(n.$slots, "default", { key: 2 }, void 0, !0) :
|
|
74
|
+
n.$slots.default ? w(n.$slots, "default", { key: 2 }, void 0, !0) : R("", !0)
|
|
75
75
|
]),
|
|
76
76
|
_: 3
|
|
77
77
|
}, 8, ["type", "style"]));
|
|
78
78
|
}
|
|
79
|
-
}), Q = /* @__PURE__ */ D(O, [["__scopeId", "data-v-
|
|
79
|
+
}), Q = /* @__PURE__ */ D(O, [["__scopeId", "data-v-bd899e03"]]);
|
|
80
80
|
export {
|
|
81
81
|
Q as default
|
|
82
82
|
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export const DFoldText: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
3
|
+
showFold: boolean;
|
|
4
|
+
lineClamp: number;
|
|
5
|
+
$props: {
|
|
6
|
+
readonly showFold?: boolean;
|
|
7
|
+
readonly lineClamp?: number;
|
|
8
|
+
};
|
|
9
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
10
|
+
textRef: HTMLDivElement;
|
|
11
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
12
|
+
P: {};
|
|
13
|
+
B: {};
|
|
14
|
+
D: {};
|
|
15
|
+
C: {};
|
|
16
|
+
M: {};
|
|
17
|
+
Defaults: {};
|
|
18
|
+
}, Readonly<{}> & Readonly<{}>, {
|
|
19
|
+
showFold: boolean;
|
|
20
|
+
lineClamp: number;
|
|
21
|
+
$props: {
|
|
22
|
+
readonly showFold?: boolean;
|
|
23
|
+
readonly lineClamp?: number;
|
|
24
|
+
};
|
|
25
|
+
}, {}, {}, {}, {}>;
|
|
26
|
+
__isFragment?: never;
|
|
27
|
+
__isTeleport?: never;
|
|
28
|
+
__isSuspense?: never;
|
|
29
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
30
|
+
showFold: boolean;
|
|
31
|
+
lineClamp: number;
|
|
32
|
+
$props: {
|
|
33
|
+
readonly showFold?: boolean;
|
|
34
|
+
readonly lineClamp?: number;
|
|
35
|
+
};
|
|
36
|
+
}, {}, {}, {}, 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 () => {
|
|
37
|
+
$slots: {
|
|
38
|
+
default?(_: {}): any;
|
|
39
|
+
};
|
|
40
|
+
});
|
|
41
|
+
export default DFoldText;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.d-fold-text[data-v-708156fc]{display:flex;flex-direction:column;overflow-wrap:break-word}.d-fold-text .text-content[data-v-708156fc]{white-space:pre-wrap}.d-fold-text .text-content.line-clamp[data-v-708156fc]{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.d-fold-text .text-link[data-v-708156fc]{display:flex}.d-fold-text .text-link[data-v-708156fc] .el-link__inner{gap:5px}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
showFold: boolean;
|
|
8
|
+
lineClamp: number;
|
|
9
|
+
$props: {
|
|
10
|
+
readonly showFold?: boolean;
|
|
11
|
+
readonly lineClamp?: number;
|
|
12
|
+
};
|
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
14
|
+
textRef: HTMLDivElement;
|
|
15
|
+
}, HTMLDivElement>;
|
|
16
|
+
type __VLS_TemplateResult = {
|
|
17
|
+
attrs: Partial<{}>;
|
|
18
|
+
slots: {
|
|
19
|
+
default?(_: {}): any;
|
|
20
|
+
};
|
|
21
|
+
refs: {
|
|
22
|
+
textRef: HTMLDivElement;
|
|
23
|
+
};
|
|
24
|
+
rootEl: HTMLDivElement;
|
|
25
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { ref as i, computed as C, onMounted as h, openBlock as n, createElementBlock as f, createElementVNode as d, normalizeStyle as w, normalizeClass as E, renderSlot as F, createBlock as p, unref as e, withCtx as a, toDisplayString as c, createVNode as r, createCommentVNode as b } from "vue";
|
|
2
|
+
import { useResizeObserver as B } from "@vueuse/core";
|
|
3
|
+
import { ElLink as v, ElIcon as x } from "element-plus";
|
|
4
|
+
import "../../../hooks/index.js";
|
|
5
|
+
import L from "../../icons/angle-up-light.vue.js";
|
|
6
|
+
import N from "../../icons/angle-down-light.vue.js";
|
|
7
|
+
import './fold-text.css';/* empty css */
|
|
8
|
+
import T from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
9
|
+
import { useLocale as z } from "../../../hooks/use-locale/index.js";
|
|
10
|
+
const D = { class: "d-fold-text" }, R = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "text-link"
|
|
13
|
+
}, S = /* @__PURE__ */ Object.assign({
|
|
14
|
+
name: "DFoldText"
|
|
15
|
+
}, {
|
|
16
|
+
__name: "fold-text",
|
|
17
|
+
props: {
|
|
18
|
+
showFold: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: !0
|
|
21
|
+
},
|
|
22
|
+
lineClamp: {
|
|
23
|
+
type: Number,
|
|
24
|
+
default: 3
|
|
25
|
+
}
|
|
26
|
+
},
|
|
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
|
|
30
|
+
}));
|
|
31
|
+
return h(() => {
|
|
32
|
+
B(t, () => {
|
|
33
|
+
!l.value && t.value && (u.value = t.value.scrollHeight > t.value.clientHeight);
|
|
34
|
+
});
|
|
35
|
+
}), (_, o) => (n(), f("div", D, [
|
|
36
|
+
d("div", {
|
|
37
|
+
ref_key: "textRef",
|
|
38
|
+
ref: t,
|
|
39
|
+
class: E(["text-content", k.value]),
|
|
40
|
+
style: w({ "-webkit-line-clamp": s.lineClamp })
|
|
41
|
+
}, [
|
|
42
|
+
F(_.$slots, "default", {}, void 0, !0)
|
|
43
|
+
], 6),
|
|
44
|
+
s.showFold && u.value ? (n(), f("div", R, [
|
|
45
|
+
l.value ? (n(), p(e(v), {
|
|
46
|
+
key: 0,
|
|
47
|
+
onClick: o[0] || (o[0] = (g) => l.value = !1),
|
|
48
|
+
type: "primary",
|
|
49
|
+
underline: "never"
|
|
50
|
+
}, {
|
|
51
|
+
default: a(() => [
|
|
52
|
+
d("span", null, c(e(m)("d.foldText.collapse")), 1),
|
|
53
|
+
r(e(x), null, {
|
|
54
|
+
default: a(() => [
|
|
55
|
+
r(L)
|
|
56
|
+
]),
|
|
57
|
+
_: 1
|
|
58
|
+
})
|
|
59
|
+
]),
|
|
60
|
+
_: 1
|
|
61
|
+
})) : (n(), p(e(v), {
|
|
62
|
+
key: 1,
|
|
63
|
+
onClick: o[1] || (o[1] = (g) => l.value = !0),
|
|
64
|
+
type: "primary",
|
|
65
|
+
underline: "never"
|
|
66
|
+
}, {
|
|
67
|
+
default: a(() => [
|
|
68
|
+
d("span", null, c(e(m)("d.foldText.expand")), 1),
|
|
69
|
+
r(e(x), null, {
|
|
70
|
+
default: a(() => [
|
|
71
|
+
r(N)
|
|
72
|
+
]),
|
|
73
|
+
_: 1
|
|
74
|
+
})
|
|
75
|
+
]),
|
|
76
|
+
_: 1
|
|
77
|
+
}))
|
|
78
|
+
])) : b("", !0)
|
|
79
|
+
]));
|
|
80
|
+
}
|
|
81
|
+
}), U = /* @__PURE__ */ T(S, [["__scopeId", "data-v-708156fc"]]);
|
|
82
|
+
export {
|
|
83
|
+
U as default
|
|
84
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export const DIconTip: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
3
|
+
$emit: (event: "click", ...args: any[]) => void;
|
|
4
|
+
type: string;
|
|
5
|
+
placement: string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
content?: string;
|
|
8
|
+
$props: {
|
|
9
|
+
readonly type?: string;
|
|
10
|
+
readonly placement?: string;
|
|
11
|
+
readonly icon?: string;
|
|
12
|
+
readonly content?: string;
|
|
13
|
+
};
|
|
14
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
15
|
+
P: {};
|
|
16
|
+
B: {};
|
|
17
|
+
D: {};
|
|
18
|
+
C: {};
|
|
19
|
+
M: {};
|
|
20
|
+
Defaults: {};
|
|
21
|
+
}, Readonly<{}> & Readonly<{}>, {
|
|
22
|
+
$emit: (event: "click", ...args: any[]) => void;
|
|
23
|
+
type: string;
|
|
24
|
+
placement: string;
|
|
25
|
+
icon?: string;
|
|
26
|
+
content?: string;
|
|
27
|
+
$props: {
|
|
28
|
+
readonly type?: string;
|
|
29
|
+
readonly placement?: string;
|
|
30
|
+
readonly icon?: string;
|
|
31
|
+
readonly content?: string;
|
|
32
|
+
};
|
|
33
|
+
}, {}, {}, {}, {}>;
|
|
34
|
+
__isFragment?: never;
|
|
35
|
+
__isTeleport?: never;
|
|
36
|
+
__isSuspense?: never;
|
|
37
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
38
|
+
$emit: (event: "click", ...args: any[]) => void;
|
|
39
|
+
type: string;
|
|
40
|
+
placement: string;
|
|
41
|
+
icon?: string;
|
|
42
|
+
content?: string;
|
|
43
|
+
$props: {
|
|
44
|
+
readonly type?: string;
|
|
45
|
+
readonly placement?: string;
|
|
46
|
+
readonly icon?: string;
|
|
47
|
+
readonly content?: string;
|
|
48
|
+
};
|
|
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
|
+
$slots: {
|
|
51
|
+
content?(_: {}): any;
|
|
52
|
+
};
|
|
53
|
+
});
|
|
54
|
+
export default DIconTip;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.d-icon-tip .tip-content[data-v-9a7c551d]{white-space:pre-wrap}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
$emit: (event: "click", ...args: any[]) => void;
|
|
8
|
+
type: string;
|
|
9
|
+
placement: string;
|
|
10
|
+
icon?: string;
|
|
11
|
+
content?: string;
|
|
12
|
+
$props: {
|
|
13
|
+
readonly type?: string;
|
|
14
|
+
readonly placement?: string;
|
|
15
|
+
readonly icon?: string;
|
|
16
|
+
readonly content?: string;
|
|
17
|
+
};
|
|
18
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
type __VLS_TemplateResult = {
|
|
20
|
+
attrs: Partial<{}>;
|
|
21
|
+
slots: {
|
|
22
|
+
content?(_: {}): any;
|
|
23
|
+
};
|
|
24
|
+
refs: {};
|
|
25
|
+
rootEl: any;
|
|
26
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { openBlock as n, createBlock as i, unref as c, withCtx as t, createVNode as l, mergeProps as p, createElementBlock as s, normalizeClass as d, createElementVNode as f, renderSlot as u, createTextVNode as k, toDisplayString as y } 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";
|
|
4
|
+
import './icon-tip.css';/* empty css */
|
|
5
|
+
import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const h = { class: "tip-content" }, x = /* @__PURE__ */ Object.assign({
|
|
7
|
+
name: "DIconTip"
|
|
8
|
+
}, {
|
|
9
|
+
__name: "icon-tip",
|
|
10
|
+
props: {
|
|
11
|
+
content: String,
|
|
12
|
+
icon: String,
|
|
13
|
+
placement: {
|
|
14
|
+
default: "top",
|
|
15
|
+
type: String
|
|
16
|
+
},
|
|
17
|
+
type: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: "primary"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
emits: ["click"],
|
|
23
|
+
setup(e, { emit: r }) {
|
|
24
|
+
const a = r, m = () => {
|
|
25
|
+
a("click");
|
|
26
|
+
};
|
|
27
|
+
return (o, I) => (n(), i(c(g), { placement: e.placement }, {
|
|
28
|
+
content: t(() => [
|
|
29
|
+
f("div", h, [
|
|
30
|
+
u(o.$slots, "content", {}, () => [
|
|
31
|
+
k(y(e.content), 1)
|
|
32
|
+
], !0)
|
|
33
|
+
])
|
|
34
|
+
]),
|
|
35
|
+
default: t(() => [
|
|
36
|
+
l(c(S), p(o.$attrs, {
|
|
37
|
+
type: e.type,
|
|
38
|
+
underline: "never",
|
|
39
|
+
onClick: m
|
|
40
|
+
}), {
|
|
41
|
+
default: t(() => [
|
|
42
|
+
e.icon ? (n(), s("i", {
|
|
43
|
+
key: 0,
|
|
44
|
+
class: d(["d-icon-tip", e.icon])
|
|
45
|
+
}, null, 2)) : (n(), i(c(E), { key: 1 }, {
|
|
46
|
+
default: t(() => [
|
|
47
|
+
l(C)
|
|
48
|
+
]),
|
|
49
|
+
_: 1
|
|
50
|
+
}))
|
|
51
|
+
]),
|
|
52
|
+
_: 1
|
|
53
|
+
}, 16, ["type"])
|
|
54
|
+
]),
|
|
55
|
+
_: 3
|
|
56
|
+
}, 8, ["placement"]));
|
|
57
|
+
}
|
|
58
|
+
}), D = /* @__PURE__ */ _(x, [["__scopeId", "data-v-9a7c551d"]]);
|
|
59
|
+
export {
|
|
60
|
+
D as default
|
|
61
|
+
};
|
|
@@ -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,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 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,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 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,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;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { openBlock as l, createElementBlock as
|
|
2
|
-
import
|
|
1
|
+
import { openBlock as l, createElementBlock as t, createElementVNode as e } from "vue";
|
|
2
|
+
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
3
|
const r = {}, n = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
5
|
viewBox: "0 0 448 512"
|
|
6
6
|
};
|
|
7
7
|
function s(f, c) {
|
|
8
|
-
return l(),
|
|
8
|
+
return l(), t("svg", n, [...c[0] || (c[0] = [
|
|
9
9
|
e("path", {
|
|
10
10
|
fill: "currentColor",
|
|
11
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
12
|
}, null, -1)
|
|
13
13
|
])]);
|
|
14
14
|
}
|
|
15
|
-
const
|
|
15
|
+
const p = /* @__PURE__ */ o(r, [["render", s]]);
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
p as default
|
|
18
18
|
};
|
package/components/index.d.ts
CHANGED
package/components/index.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import { DCopy as
|
|
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";
|
|
2
4
|
export {
|
|
3
|
-
|
|
5
|
+
p as DCopy,
|
|
6
|
+
t as DFoldText,
|
|
7
|
+
f as DIconTip
|
|
4
8
|
};
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { install } from './install.js';
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
2
|
+
export * from './components/index.js';
|
|
3
|
+
export * from './hooks/index.js';
|
|
4
4
|
export { install };
|
|
5
5
|
declare namespace _default {
|
|
6
6
|
export { install };
|
package/index.js
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { install as o } from "./install.js";
|
|
2
2
|
import "./components/index.js";
|
|
3
3
|
import "./hooks/index.js";
|
|
4
|
-
import { DCopy as
|
|
5
|
-
import {
|
|
4
|
+
import { DCopy as f } from "./components/copy/index.js";
|
|
5
|
+
import { DFoldText as l } from "./components/fold-text/index.js";
|
|
6
|
+
import { DIconTip as n } from "./components/icon-tip/index.js";
|
|
7
|
+
import { useLocale as c } from "./hooks/use-locale/index.js";
|
|
6
8
|
const p = { install: o };
|
|
7
9
|
export {
|
|
8
|
-
|
|
10
|
+
f as DCopy,
|
|
11
|
+
l as DFoldText,
|
|
12
|
+
n as DIconTip,
|
|
9
13
|
p as default,
|
|
10
14
|
o as install,
|
|
11
|
-
|
|
15
|
+
c as useLocale
|
|
12
16
|
};
|
package/locale/lang/en.d.ts
CHANGED
package/locale/lang/en.js
CHANGED
package/locale/lang/zh-cn.d.ts
CHANGED
package/locale/lang/zh-cn.js
CHANGED
package/package.json
CHANGED
|
File without changes
|