adata-ui 3.1.25 → 3.1.26
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/dist/module.json
CHANGED
|
@@ -4,7 +4,8 @@ const props = defineProps({
|
|
|
4
4
|
icon: { type: Object, required: true },
|
|
5
5
|
title: { type: String, required: true },
|
|
6
6
|
description: { type: String, required: true },
|
|
7
|
-
to: { type: String, required: false }
|
|
7
|
+
to: { type: String, required: false },
|
|
8
|
+
wide: { type: Boolean, required: false }
|
|
8
9
|
});
|
|
9
10
|
</script>
|
|
10
11
|
|
|
@@ -16,6 +17,54 @@ const props = defineProps({
|
|
|
16
17
|
active-class="active-item"
|
|
17
18
|
>
|
|
18
19
|
<svg
|
|
20
|
+
v-if="wide"
|
|
21
|
+
class="w-full"
|
|
22
|
+
viewBox="-2 -4 416 188"
|
|
23
|
+
fill="none"
|
|
24
|
+
preserveAspectRatio="none"
|
|
25
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
26
|
+
>
|
|
27
|
+
<path
|
|
28
|
+
class="border-path border-path--large"
|
|
29
|
+
d="M413.333 105.936C413.333 116.008 399.074 123 389.001 123C369.671 123 354.001 138.67 354.001 158C354.001 168.009 347.088 182 337.079 182H16.3334C7.49682 182 0.333374 174.837 0.333374 166V16C0.333374 7.16344 7.49682 0 16.3334 0H397.333C406.17 0 413.333 7.16344 413.333 16V105.936Z"
|
|
30
|
+
stroke-width="2"
|
|
31
|
+
fill="transparent"
|
|
32
|
+
/>
|
|
33
|
+
<defs>
|
|
34
|
+
<linearGradient
|
|
35
|
+
id="gradient-light"
|
|
36
|
+
x1="164.372"
|
|
37
|
+
y1="-137.957"
|
|
38
|
+
x2="-20.5433"
|
|
39
|
+
y2="68.1723"
|
|
40
|
+
gradientUnits="userSpaceOnUse"
|
|
41
|
+
>
|
|
42
|
+
<stop stop-color="#479FFF" />
|
|
43
|
+
<stop
|
|
44
|
+
offset="1"
|
|
45
|
+
stop-color="#0070EB"
|
|
46
|
+
/>
|
|
47
|
+
</linearGradient>
|
|
48
|
+
|
|
49
|
+
<linearGradient
|
|
50
|
+
id="gradient-dark"
|
|
51
|
+
x1="164.372"
|
|
52
|
+
y1="-137.957"
|
|
53
|
+
x2="-20.5433"
|
|
54
|
+
y2="68.1723"
|
|
55
|
+
gradientUnits="userSpaceOnUse"
|
|
56
|
+
>
|
|
57
|
+
<stop stop-color="#4FBDFF" />
|
|
58
|
+
<stop
|
|
59
|
+
offset="1"
|
|
60
|
+
stop-color="#1B98E2"
|
|
61
|
+
/>
|
|
62
|
+
</linearGradient>
|
|
63
|
+
</defs>
|
|
64
|
+
</svg>
|
|
65
|
+
|
|
66
|
+
<svg
|
|
67
|
+
v-else
|
|
19
68
|
class="w-full"
|
|
20
69
|
viewBox="-1 -1 308 184"
|
|
21
70
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -147,6 +196,11 @@ const props = defineProps({
|
|
|
147
196
|
fill: #F4F5F6;
|
|
148
197
|
}
|
|
149
198
|
|
|
199
|
+
.border-path--large {
|
|
200
|
+
stroke-dasharray: 1400;
|
|
201
|
+
stroke-dashoffset: 1400;
|
|
202
|
+
}
|
|
203
|
+
|
|
150
204
|
.animated-border {
|
|
151
205
|
stroke-dasharray: 180;
|
|
152
206
|
stroke-dashoffset: 180;
|
|
@@ -4,6 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
title: string;
|
|
5
5
|
description: string;
|
|
6
6
|
to?: string;
|
|
7
|
+
wide?: boolean;
|
|
7
8
|
};
|
|
8
9
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
10
|
export default _default;
|