paket-ui 0.1.0 → 0.1.2
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 +1 -1
- package/dist/module.mjs +7 -0
- package/dist/runtime/assets/main.css +1 -1
- package/dist/runtime/components/app.d.vue.ts +13 -0
- package/dist/runtime/components/app.vue +10 -0
- package/dist/runtime/components/app.vue.d.ts +13 -0
- package/dist/runtime/components/badge/index.js +1 -1
- package/dist/runtime/components/breadcrumb/Breadcrumb.d.vue.ts +11 -0
- package/dist/runtime/components/breadcrumb/Breadcrumb.vue +35 -0
- package/dist/runtime/components/breadcrumb/Breadcrumb.vue.d.ts +11 -0
- package/dist/runtime/components/button/Button.d.vue.ts +5 -3
- package/dist/runtime/components/button/Button.vue +3 -1
- package/dist/runtime/components/button/Button.vue.d.ts +5 -3
- package/dist/runtime/components/button/variant.d.ts +7 -1
- package/dist/runtime/components/button/variant.js +8 -2
- package/dist/runtime/components/chat/Reply.d.vue.ts +1 -1
- package/dist/runtime/components/chat/Reply.vue +2 -2
- package/dist/runtime/components/chat/Reply.vue.d.ts +1 -1
- package/dist/runtime/components/chip/Chip.vue +1 -1
- package/dist/runtime/components/combobox/Combobox.d.vue.ts +1 -1
- package/dist/runtime/components/combobox/Combobox.vue.d.ts +1 -1
- package/dist/runtime/components/dialog/DialogConfirmationSingle.d.vue.ts +2 -2
- package/dist/runtime/components/dialog/DialogConfirmationSingle.vue.d.ts +2 -2
- package/dist/runtime/components/divider/Divider.vue +3 -3
- package/dist/runtime/components/editor/Editor.vue +1 -1
- package/dist/runtime/components/editor/EditorBar.vue +2 -2
- package/dist/runtime/components/file/AddFile.vue +1 -1
- package/dist/runtime/components/file/InputMultiple.vue +1 -1
- package/dist/runtime/components/file/ViewFile.vue +1 -1
- package/dist/runtime/components/input/InputField.d.vue.ts +2 -2
- package/dist/runtime/components/input/InputField.vue.d.ts +2 -2
- package/dist/runtime/components/input/InputFieldPassword.d.vue.ts +3 -3
- package/dist/runtime/components/input/InputFieldPassword.vue.d.ts +3 -3
- package/dist/runtime/components/input/InputFileDropable.vue +1 -1
- package/dist/runtime/components/input/InputOtp.vue +1 -1
- package/dist/runtime/components/loading/LoadingIndicator.vue +1 -1
- package/dist/runtime/components/navbar/Navbar.d.vue.ts +13 -0
- package/dist/runtime/components/navbar/Navbar.vue +56 -0
- package/dist/runtime/components/navbar/Navbar.vue.d.ts +13 -0
- package/dist/runtime/components/navbar/NavbarMenus.d.vue.ts +19 -0
- package/dist/runtime/components/navbar/NavbarMenus.vue +34 -0
- package/dist/runtime/components/navbar/NavbarMenus.vue.d.ts +19 -0
- package/dist/runtime/components/navbar/NavbarSearch.d.vue.ts +18 -0
- package/dist/runtime/components/navbar/NavbarSearch.vue +78 -0
- package/dist/runtime/components/navbar/NavbarSearch.vue.d.ts +18 -0
- package/dist/runtime/components/navbar/NavbarSearchInput.d.vue.ts +133 -0
- package/dist/runtime/components/navbar/NavbarSearchInput.vue +54 -0
- package/dist/runtime/components/navbar/NavbarSearchInput.vue.d.ts +133 -0
- package/dist/runtime/components/navbar/NavbarSearchResults.d.vue.ts +11 -0
- package/dist/runtime/components/navbar/NavbarSearchResults.vue +34 -0
- package/dist/runtime/components/navbar/NavbarSearchResults.vue.d.ts +11 -0
- package/dist/runtime/components/page/Dashboard.d.vue.ts +18 -0
- package/dist/runtime/components/page/Dashboard.vue +31 -0
- package/dist/runtime/components/page/Dashboard.vue.d.ts +18 -0
- package/dist/runtime/components/page/PageHeader.d.vue.ts +26 -0
- package/dist/runtime/components/page/PageHeader.vue +60 -0
- package/dist/runtime/components/page/PageHeader.vue.d.ts +26 -0
- package/dist/runtime/components/player/Video.vue +5 -1
- package/dist/runtime/components/radio/Courier.vue +2 -2
- package/dist/runtime/components/radio/RadioCourierBadge.vue +1 -1
- package/dist/runtime/components/range-picker/RangePicker.vue +1 -1
- package/dist/runtime/components/select/Select.vue +1 -1
- package/dist/runtime/components/select/SelectWithInput.vue +1 -1
- package/dist/runtime/components/sidebar/Sidebar.d.vue.ts +26 -0
- package/dist/runtime/components/sidebar/Sidebar.vue +68 -0
- package/dist/runtime/components/sidebar/Sidebar.vue.d.ts +26 -0
- package/dist/runtime/components/sidebar/SidebarChild.d.vue.ts +8 -0
- package/dist/runtime/components/sidebar/SidebarChild.vue +64 -0
- package/dist/runtime/components/sidebar/SidebarChild.vue.d.ts +8 -0
- package/dist/runtime/components/sidebar/SidebarCollapse.d.vue.ts +6 -0
- package/dist/runtime/components/sidebar/SidebarCollapse.vue +31 -0
- package/dist/runtime/components/sidebar/SidebarCollapse.vue.d.ts +6 -0
- package/dist/runtime/components/sidebar/SidebarMenu.d.vue.ts +16 -0
- package/dist/runtime/components/sidebar/SidebarMenu.vue +20 -0
- package/dist/runtime/components/sidebar/SidebarMenu.vue.d.ts +16 -0
- package/dist/runtime/components/sidebar/SidebarParent.d.vue.ts +7 -0
- package/dist/runtime/components/sidebar/SidebarParent.vue +182 -0
- package/dist/runtime/components/sidebar/SidebarParent.vue.d.ts +7 -0
- package/dist/runtime/components/toast/ToastCard.vue +1 -1
- package/dist/runtime/components/toast/ToastContainer.vue +1 -1
- package/dist/runtime/composables/useDevice.d.ts +4 -0
- package/dist/runtime/composables/useDevice.js +10 -0
- package/dist/runtime/composables/useSidebar.d.ts +8 -0
- package/dist/runtime/composables/useSidebar.js +30 -0
- package/dist/runtime/lib/utils.d.ts +3 -5
- package/dist/runtime/lib/utils.js +5 -15
- package/dist/runtime/plugin.d.ts +15 -0
- package/dist/runtime/plugin.js +84 -2
- package/dist/runtime/types/navigation.d.ts +20 -0
- package/dist/runtime/types/navigation.js +0 -0
- package/package.json +2 -2
- package/dist/runtime/components/icon/KAFavicon.d.vue.ts +0 -3
- package/dist/runtime/components/icon/KAFavicon.vue +0 -45
- package/dist/runtime/components/icon/KAFavicon.vue.d.ts +0 -3
- package/dist/runtime/components/icon/KALogo.d.vue.ts +0 -3
- package/dist/runtime/components/icon/KALogo.vue +0 -102
- package/dist/runtime/components/icon/KALogo.vue.d.ts +0 -3
- package/dist/runtime/components/icon/KALogoMono.d.vue.ts +0 -3
- package/dist/runtime/components/icon/KALogoMono.vue +0 -70
- package/dist/runtime/components/icon/KALogoMono.vue.d.ts +0 -3
- package/dist/runtime/plugins/toast.client.d.ts +0 -17
- package/dist/runtime/plugins/toast.client.js +0 -85
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<component
|
|
3
|
+
:is="!hasMenu ? 'div' : !collapsed ? CollapsibleRoot : PopoverRoot"
|
|
4
|
+
v-model:open="open"
|
|
5
|
+
>
|
|
6
|
+
<component
|
|
7
|
+
:is="!hasMenu ? 'div' : !collapsed ? CollapsibleTrigger : PopoverTrigger"
|
|
8
|
+
:class="
|
|
9
|
+
cn(
|
|
10
|
+
'relative w-full flex items-center gap-2 py-1.5 rounded-lg text-sm font-medium',
|
|
11
|
+
{
|
|
12
|
+
'justify-center p-0 aspect-square w-10 h-10': collapsed,
|
|
13
|
+
'px-2': !collapsed,
|
|
14
|
+
'bg-surface-container-high text-primary': isActive,
|
|
15
|
+
'hover:bg-surface-container-high text-current/80': !isActive
|
|
16
|
+
}
|
|
17
|
+
)
|
|
18
|
+
"
|
|
19
|
+
>
|
|
20
|
+
<Icon
|
|
21
|
+
size="24px"
|
|
22
|
+
class="shrink-0"
|
|
23
|
+
:name="
|
|
24
|
+
menu.icon?.[isActive ? 'filled' : 'DEFAULT'] ?? 'material-symbols:info'
|
|
25
|
+
"
|
|
26
|
+
/>
|
|
27
|
+
<template v-if="!collapsed">
|
|
28
|
+
<span v-text="menu.title" />
|
|
29
|
+
<span
|
|
30
|
+
:class="[
|
|
31
|
+
'absolute left-0 top-2 bottom-2 rounded-full bg-primary transition-all',
|
|
32
|
+
{
|
|
33
|
+
'w-0.5': isActive,
|
|
34
|
+
'w-0': !isActive
|
|
35
|
+
}
|
|
36
|
+
]"
|
|
37
|
+
></span>
|
|
38
|
+
</template>
|
|
39
|
+
<Badge
|
|
40
|
+
v-if="menu.count && menu.count > 0 && !collapsed"
|
|
41
|
+
variant="error"
|
|
42
|
+
class="scale-75 translate-x-3 ml-auto"
|
|
43
|
+
:label="menu.count <= 99 ? menu.count.toString() : '99+'"
|
|
44
|
+
/>
|
|
45
|
+
<Icon
|
|
46
|
+
v-if="hasMenu && !collapsed"
|
|
47
|
+
name="material-symbols:keyboard-arrow-up"
|
|
48
|
+
size="24px"
|
|
49
|
+
:class="[
|
|
50
|
+
'transition-all',
|
|
51
|
+
{
|
|
52
|
+
'ml-auto': !menu.count || menu.count <= 0,
|
|
53
|
+
'rotate-0': open,
|
|
54
|
+
'rotate-180': !open
|
|
55
|
+
}
|
|
56
|
+
]"
|
|
57
|
+
/>
|
|
58
|
+
<NuxtLink v-if="!hasMenu" :to="menu.path" class="absolute inset-0" />
|
|
59
|
+
</component>
|
|
60
|
+
<component :is="!collapsed ? 'div' : PopoverPortal" v-if="hasMenu">
|
|
61
|
+
<component
|
|
62
|
+
:is="!collapsed ? CollapsibleContent : PopoverContent"
|
|
63
|
+
v-bind="{
|
|
64
|
+
side: 'right',
|
|
65
|
+
sideOffset: 5
|
|
66
|
+
}"
|
|
67
|
+
class="left-1 will-change-[transform,opacity] data-[state=open]:data-[side=top]:animate-slideDownAndFade data-[state=open]:data-[side=right]:animate-slideLeftAndFade data-[state=open]:data-[side=bottom]:animate-slideUpAndFade data-[state=open]:data-[side=left]:animate-slideRightAndFade"
|
|
68
|
+
:class="{
|
|
69
|
+
'rounded-xl p-2 w-[260px] bg-background dark:bg-surface-container shadow-sm z-50 border border-outline-variant': collapsed,
|
|
70
|
+
'c-content': !collapsed
|
|
71
|
+
}"
|
|
72
|
+
>
|
|
73
|
+
<SidebarChild
|
|
74
|
+
v-for="(submenu, idx) in menu.submenus"
|
|
75
|
+
:key="idx + 'collapsed'"
|
|
76
|
+
:submenu="submenu"
|
|
77
|
+
:fit="collapsed"
|
|
78
|
+
/>
|
|
79
|
+
<PopoverArrow
|
|
80
|
+
v-if="collapsed"
|
|
81
|
+
class="fill-background dark:fill-surface-container stroke-outline-variant"
|
|
82
|
+
/>
|
|
83
|
+
</component>
|
|
84
|
+
</component>
|
|
85
|
+
</component>
|
|
86
|
+
</template>
|
|
87
|
+
|
|
88
|
+
<script setup>
|
|
89
|
+
import { cn } from "../../lib/utils";
|
|
90
|
+
import {
|
|
91
|
+
PopoverContent,
|
|
92
|
+
PopoverPortal,
|
|
93
|
+
PopoverRoot,
|
|
94
|
+
PopoverTrigger,
|
|
95
|
+
PopoverArrow,
|
|
96
|
+
CollapsibleContent,
|
|
97
|
+
CollapsibleRoot,
|
|
98
|
+
CollapsibleTrigger
|
|
99
|
+
} from "reka-ui";
|
|
100
|
+
import { computed, onMounted, ref, watch } from "vue";
|
|
101
|
+
import { useRoute } from "#imports";
|
|
102
|
+
import useSidebar from "../../composables/useSidebar";
|
|
103
|
+
import SidebarChild from "./SidebarChild.vue";
|
|
104
|
+
import Badge from "../badge/Badge.vue";
|
|
105
|
+
import { whenever } from "@vueuse/core";
|
|
106
|
+
const {
|
|
107
|
+
collapsed: collapsedDesktop,
|
|
108
|
+
collapsedMobile,
|
|
109
|
+
toggleMobile
|
|
110
|
+
} = useSidebar();
|
|
111
|
+
const open = ref(false);
|
|
112
|
+
const collapsed = computed(() => {
|
|
113
|
+
return collapsedDesktop.value && !collapsedMobile.value;
|
|
114
|
+
});
|
|
115
|
+
whenever(collapsedDesktop, () => {
|
|
116
|
+
open.value = false;
|
|
117
|
+
});
|
|
118
|
+
const props = defineProps({
|
|
119
|
+
menu: { type: Object, required: true }
|
|
120
|
+
});
|
|
121
|
+
const hasMenu = computed(
|
|
122
|
+
() => props.menu.submenus && props.menu.submenus.length > 0
|
|
123
|
+
);
|
|
124
|
+
const route = useRoute();
|
|
125
|
+
const isExpanded = ref(false);
|
|
126
|
+
onMounted(() => {
|
|
127
|
+
if (props.menu.submenus) {
|
|
128
|
+
for (const item of props.menu.submenus) {
|
|
129
|
+
if (route.fullPath.includes(item.path)) {
|
|
130
|
+
isExpanded.value = true;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
const isActive = computed(() => {
|
|
136
|
+
if (props.menu.submenus) {
|
|
137
|
+
return props.menu.submenus?.some((submenu) => {
|
|
138
|
+
const isPathActive2 = route.fullPath.includes(submenu.path);
|
|
139
|
+
if (submenu.includes) {
|
|
140
|
+
const isIncluded = submenu.includes.some(
|
|
141
|
+
(include) => route.fullPath.includes(include)
|
|
142
|
+
);
|
|
143
|
+
if (isIncluded) return isIncluded;
|
|
144
|
+
}
|
|
145
|
+
if (submenu.excludes) {
|
|
146
|
+
const isExcluded = submenu.excludes.some(
|
|
147
|
+
(exclude) => route.fullPath.includes(exclude)
|
|
148
|
+
);
|
|
149
|
+
return isPathActive2 && !isExcluded;
|
|
150
|
+
}
|
|
151
|
+
return isPathActive2;
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
if (props.menu.path === "/") return route.path == props.menu.path;
|
|
155
|
+
const isPathActive = route.fullPath.includes(props.menu.path);
|
|
156
|
+
if (props.menu.includes) {
|
|
157
|
+
const isIncluded = props.menu.includes.some(
|
|
158
|
+
(include) => route.fullPath.includes(include)
|
|
159
|
+
);
|
|
160
|
+
if (isIncluded) return isIncluded;
|
|
161
|
+
}
|
|
162
|
+
if (props.menu.excludes) {
|
|
163
|
+
const isExcluded = props.menu.excludes.some(
|
|
164
|
+
(exclude) => route.fullPath.includes(exclude)
|
|
165
|
+
);
|
|
166
|
+
return isPathActive && !isExcluded;
|
|
167
|
+
}
|
|
168
|
+
return isPathActive;
|
|
169
|
+
});
|
|
170
|
+
watch(
|
|
171
|
+
() => route.path,
|
|
172
|
+
(newValue, oldValue) => {
|
|
173
|
+
if (newValue !== oldValue) {
|
|
174
|
+
toggleMobile(false);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
);
|
|
178
|
+
</script>
|
|
179
|
+
|
|
180
|
+
<style scoped>
|
|
181
|
+
.c-content{overflow:hidden}.c-content[data-state=open]{animation:slideDown .3s ease-out}.c-content[data-state=closed]{animation:slideUp .3s ease-out}@keyframes slideDown{0%{height:0}to{height:var(--reka-collapsible-content-height)}}@keyframes slideUp{0%{height:var(--reka-collapsible-content-height)}to{height:0}}
|
|
182
|
+
</style>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { NavigationMenu } from '../../types/navigation.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
menu: NavigationMenu;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: 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>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div
|
|
3
3
|
:class="
|
|
4
4
|
cn(
|
|
5
|
-
'flex items-start gap-3 p-4 py-3.5 transition-all bg-background border border-
|
|
5
|
+
'flex items-start gap-3 p-4 py-3.5 transition-all bg-background border border-outline-variant rounded-lg shadow-lg w-80',
|
|
6
6
|
variantConfig[props.toast.type || 'info'],
|
|
7
7
|
variantConfigBg[props.toast.type || 'info']
|
|
8
8
|
)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { onMounted, ref } from "vue";
|
|
2
|
+
export default () => {
|
|
3
|
+
const isAppleDevice = ref(false);
|
|
4
|
+
onMounted(() => {
|
|
5
|
+
isAppleDevice.value = typeof navigator !== "undefined" && /Mac|iPod|iPhone|iPad/.test(navigator.userAgent);
|
|
6
|
+
});
|
|
7
|
+
return {
|
|
8
|
+
isAppleDevice
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: () => {
|
|
2
|
+
collapsed: import("nuxt/app").CookieRef<boolean>;
|
|
3
|
+
collapsedMobile: import("nuxt/app").CookieRef<boolean>;
|
|
4
|
+
toggle: () => void;
|
|
5
|
+
toggleMobile: (forced?: boolean) => void;
|
|
6
|
+
switchCollapsed: () => void;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { useCookie } from "nuxt/app";
|
|
2
|
+
export default () => {
|
|
3
|
+
const collapsed = useCookie("sidebar-desktop-collapsed", {
|
|
4
|
+
default: () => false
|
|
5
|
+
});
|
|
6
|
+
const collapsedMobile = useCookie("sidebar-mobile-collapsed", {
|
|
7
|
+
default: () => false
|
|
8
|
+
});
|
|
9
|
+
const toggle = () => {
|
|
10
|
+
collapsed.value = !collapsed.value;
|
|
11
|
+
};
|
|
12
|
+
const toggleMobile = (forced) => {
|
|
13
|
+
if (forced !== void 0) {
|
|
14
|
+
collapsedMobile.value = forced;
|
|
15
|
+
} else {
|
|
16
|
+
collapsedMobile.value = !collapsedMobile.value;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
const switchCollapsed = () => {
|
|
20
|
+
collapsed.value = !collapsed.value;
|
|
21
|
+
collapsedMobile.value = false;
|
|
22
|
+
};
|
|
23
|
+
return {
|
|
24
|
+
collapsed,
|
|
25
|
+
collapsedMobile,
|
|
26
|
+
toggle,
|
|
27
|
+
toggleMobile,
|
|
28
|
+
switchCollapsed
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -6,10 +6,8 @@ export declare const formatNumber: (num?: number | bigint, currency?: boolean) =
|
|
|
6
6
|
export declare const numberToFixedExceptRoundNumber: (num: number, fractionDigits?: number) => number;
|
|
7
7
|
export declare const ucFirst: (text: string | number) => string;
|
|
8
8
|
interface ExportOptions {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
dispose?: boolean;
|
|
12
|
-
newTab?: boolean;
|
|
9
|
+
href: string;
|
|
10
|
+
callback?: () => void;
|
|
13
11
|
}
|
|
14
|
-
export declare const createDownloadLink: (
|
|
12
|
+
export declare const createDownloadLink: (props: ExportOptions) => void;
|
|
15
13
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { clsx } from "clsx";
|
|
2
|
-
import { useNuxtApp } from ".nuxt/imports";
|
|
3
2
|
import { twMerge } from "tailwind-merge";
|
|
4
3
|
export function cn(...inputs) {
|
|
5
4
|
return twMerge(clsx(inputs));
|
|
@@ -30,19 +29,10 @@ export const numberToFixedExceptRoundNumber = (num, fractionDigits = 1) => num ?
|
|
|
30
29
|
export const ucFirst = (text) => {
|
|
31
30
|
return typeof text === "string" ? text.charAt(0).toUpperCase() + text.slice(1) : "";
|
|
32
31
|
};
|
|
33
|
-
export const createDownloadLink = (
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"Link download sudah berhasil dibuat, jika tidak terbuka otomatis",
|
|
39
|
-
{
|
|
40
|
-
link: href,
|
|
41
|
-
linkTitle: "Klik Disini",
|
|
42
|
-
autoClose: 5e3
|
|
43
|
-
},
|
|
44
|
-
"File Siap Diunduh"
|
|
45
|
-
);
|
|
46
|
-
window.open(href, "_blank");
|
|
32
|
+
export const createDownloadLink = (props) => {
|
|
33
|
+
if (props.callback) {
|
|
34
|
+
props.callback();
|
|
35
|
+
}
|
|
36
|
+
window.open(props.href, "_blank");
|
|
47
37
|
return;
|
|
48
38
|
};
|
package/dist/runtime/plugin.d.ts
CHANGED
|
@@ -1,2 +1,17 @@
|
|
|
1
|
+
import type { variantConfig } from './components/toast/index.js';
|
|
2
|
+
export interface ToastOptions {
|
|
3
|
+
render?: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
type?: keyof typeof variantConfig;
|
|
6
|
+
icon?: string;
|
|
7
|
+
link?: string;
|
|
8
|
+
linkTitle?: string;
|
|
9
|
+
imageSrc?: string;
|
|
10
|
+
autoClose?: number;
|
|
11
|
+
removeAble?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface Toast extends ToastOptions {
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
1
16
|
declare const _default: any;
|
|
2
17
|
export default _default;
|
package/dist/runtime/plugin.js
CHANGED
|
@@ -1,4 +1,86 @@
|
|
|
1
|
+
import { ref } from "vue";
|
|
1
2
|
import { defineNuxtPlugin } from "#app";
|
|
2
|
-
export default defineNuxtPlugin((
|
|
3
|
-
|
|
3
|
+
export default defineNuxtPlugin(() => {
|
|
4
|
+
const DEFAULT_AUTO_CLOSE = 3500;
|
|
5
|
+
const toasts = ref([]);
|
|
6
|
+
const defaultIcon = {
|
|
7
|
+
light: "material-symbols:info",
|
|
8
|
+
primary: "material-symbols:info",
|
|
9
|
+
info: "material-symbols:info",
|
|
10
|
+
success: "material-symbols:check-circle",
|
|
11
|
+
warning: "material-symbols:warning-rounded",
|
|
12
|
+
error: "material-symbols:dangerous"
|
|
13
|
+
};
|
|
14
|
+
const fire = (options) => {
|
|
15
|
+
const toast = {
|
|
16
|
+
...options,
|
|
17
|
+
id: (Math.random() + 1).toString(36).substring(10),
|
|
18
|
+
icon: options.icon || defaultIcon[options.type ?? "info"],
|
|
19
|
+
autoClose: options.autoClose ?? DEFAULT_AUTO_CLOSE,
|
|
20
|
+
removeAble: options.removeAble ?? true
|
|
21
|
+
};
|
|
22
|
+
toasts.value.push(toast);
|
|
23
|
+
if (toast.autoClose && toast.removeAble) {
|
|
24
|
+
setTimeout(() => {
|
|
25
|
+
removeToast(toast.id);
|
|
26
|
+
}, toast.autoClose);
|
|
27
|
+
}
|
|
28
|
+
return toast;
|
|
29
|
+
};
|
|
30
|
+
const update = (toast, options) => {
|
|
31
|
+
const findIndex = toasts.value.findIndex((item) => item.id === toast.id);
|
|
32
|
+
if (findIndex < 0) return;
|
|
33
|
+
const newPayload = {
|
|
34
|
+
...toast,
|
|
35
|
+
...options,
|
|
36
|
+
removeAble: options.removeAble || true,
|
|
37
|
+
icon: options.icon || defaultIcon[options.type ?? "info"]
|
|
38
|
+
};
|
|
39
|
+
toasts.value[findIndex] = newPayload;
|
|
40
|
+
if (newPayload.removeAble) {
|
|
41
|
+
setTimeout(() => {
|
|
42
|
+
removeToast(toast.id);
|
|
43
|
+
}, newPayload.autoClose ?? DEFAULT_AUTO_CLOSE);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
const removeToast = (id) => {
|
|
47
|
+
const findIndex = toasts.value.findIndex((item) => item.id === id);
|
|
48
|
+
if (findIndex < 0) return;
|
|
49
|
+
toasts.value.splice(findIndex, 1);
|
|
50
|
+
};
|
|
51
|
+
const callback = {
|
|
52
|
+
fire,
|
|
53
|
+
update,
|
|
54
|
+
success: (render, options, title) => {
|
|
55
|
+
return fire({ ...options, render, type: "success", title });
|
|
56
|
+
},
|
|
57
|
+
error: (render, options, title) => {
|
|
58
|
+
return fire({ ...options, render, type: "error", title });
|
|
59
|
+
},
|
|
60
|
+
warning: (render, options, title) => {
|
|
61
|
+
return fire({ ...options, render, type: "warning", title });
|
|
62
|
+
},
|
|
63
|
+
info: (render, options, title) => {
|
|
64
|
+
return fire({ ...options, render, type: "info", title });
|
|
65
|
+
},
|
|
66
|
+
light: (render, options, title) => {
|
|
67
|
+
return fire({ ...options, render, type: "light", title });
|
|
68
|
+
},
|
|
69
|
+
loading: (message, title) => {
|
|
70
|
+
return fire({
|
|
71
|
+
render: message,
|
|
72
|
+
type: "info",
|
|
73
|
+
title,
|
|
74
|
+
icon: "svg-spinners:ring-resize",
|
|
75
|
+
removeAble: false,
|
|
76
|
+
autoClose: void 0
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
return {
|
|
81
|
+
provide: {
|
|
82
|
+
toasts,
|
|
83
|
+
toast: callback
|
|
84
|
+
}
|
|
85
|
+
};
|
|
4
86
|
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface NavigationMenuIcon {
|
|
2
|
+
DEFAULT: string;
|
|
3
|
+
filled: string;
|
|
4
|
+
}
|
|
5
|
+
export interface NavigationMenu {
|
|
6
|
+
title: string;
|
|
7
|
+
key: string;
|
|
8
|
+
path: string;
|
|
9
|
+
/** Exclude some path from currentActive logic */
|
|
10
|
+
excludes?: string[];
|
|
11
|
+
/** Include some path to currentActive logic */
|
|
12
|
+
includes?: string[];
|
|
13
|
+
icon?: NavigationMenuIcon;
|
|
14
|
+
description: string;
|
|
15
|
+
/** Show counter at the right side of menu */
|
|
16
|
+
count?: number;
|
|
17
|
+
/** Submenus */
|
|
18
|
+
submenus?: Omit<NavigationMenu, 'submenus'>[];
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "paket-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "KiriminAja Paket UI, a UI component library for Nuxt 3 applications.",
|
|
5
5
|
"repository": "kiriminaja/paket-ui",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
"dev:build": "nuxi build playground",
|
|
29
29
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
30
30
|
"release": "bun run lint && bun run test && bun run prepack && changelogen --release && git push --follow-tags",
|
|
31
|
-
"publish": "npm publish --access public",
|
|
32
31
|
"lint": "eslint .",
|
|
33
32
|
"test": "vitest run",
|
|
34
33
|
"test:watch": "vitest watch",
|
|
@@ -40,6 +39,7 @@
|
|
|
40
39
|
"@nuxt/icon": "^2.2.1",
|
|
41
40
|
"@nuxt/kit": "^4.2.1",
|
|
42
41
|
"@nuxtjs/color-mode": "^4.0.0",
|
|
42
|
+
"@radya/nuxt-dompurify": "^1.0.5",
|
|
43
43
|
"@tailwindcss/vite": "^4.1.17",
|
|
44
44
|
"@tanstack/vue-table": "^8.21.3",
|
|
45
45
|
"@tiptap/extension-character-count": "^3.11.0",
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<svg
|
|
3
|
-
width="32"
|
|
4
|
-
height="32"
|
|
5
|
-
viewBox="0 0 32 32"
|
|
6
|
-
fill="none"
|
|
7
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
-
>
|
|
9
|
-
<path
|
|
10
|
-
d="M13.9553 13.6528C12.7323 12.4411 10.8415 12.3776 9.61842 13.5876C8.39536 14.7993 8.45236 16.8448 9.67542 18.0564L17.6897 26.0349C18.9306 27.2758 20.8393 27.3361 22.0624 26.1244C23.2854 24.9128 23.274 22.9731 22.0249 21.724L13.9553 13.6528Z"
|
|
11
|
-
fill="url(#paint0_linear_552_390)"
|
|
12
|
-
/>
|
|
13
|
-
<path
|
|
14
|
-
fill-rule="evenodd"
|
|
15
|
-
clip-rule="evenodd"
|
|
16
|
-
d="M12.9505 7.22895C12.4799 7.3283 12.2698 7.91947 12.5906 8.2745L13.786 9.46988L9.62008 13.5869C8.45239 14.7546 8.22602 16.6047 9.67708 18.0557L16.1784 24.5391V15.8686L18.1945 13.8736L19.3443 15.025C19.6668 15.3784 20.2547 15.2562 20.4029 14.8018L23.3099 5.81046C23.4581 5.35772 23.0559 4.91474 22.5852 5.01409L12.9505 7.22895Z"
|
|
17
|
-
fill="url(#paint1_linear_552_390)"
|
|
18
|
-
/>
|
|
19
|
-
<defs>
|
|
20
|
-
<linearGradient
|
|
21
|
-
id="paint0_linear_552_390"
|
|
22
|
-
x1="8.72922"
|
|
23
|
-
y1="19.856"
|
|
24
|
-
x2="22.9711"
|
|
25
|
-
y2="19.856"
|
|
26
|
-
gradientUnits="userSpaceOnUse"
|
|
27
|
-
>
|
|
28
|
-
<stop stop-color="#1E398C" />
|
|
29
|
-
<stop offset="1" stop-color="#0071BB" />
|
|
30
|
-
</linearGradient>
|
|
31
|
-
<linearGradient
|
|
32
|
-
id="paint1_linear_552_390"
|
|
33
|
-
x1="18.7027"
|
|
34
|
-
y1="9.31353"
|
|
35
|
-
x2="10.7308"
|
|
36
|
-
y2="21.637"
|
|
37
|
-
gradientUnits="userSpaceOnUse"
|
|
38
|
-
>
|
|
39
|
-
<stop stop-color="#782B8F" />
|
|
40
|
-
<stop offset="0.49" stop-color="#5C217D" />
|
|
41
|
-
<stop offset="1" stop-color="#411569" />
|
|
42
|
-
</linearGradient>
|
|
43
|
-
</defs>
|
|
44
|
-
</svg>
|
|
45
|
-
</template>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<svg
|
|
3
|
-
width="132"
|
|
4
|
-
class="text-[#782B8F] dark:text-onSurface"
|
|
5
|
-
height="38"
|
|
6
|
-
viewBox="0 0 150 38"
|
|
7
|
-
fill="none"
|
|
8
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
-
>
|
|
10
|
-
<path
|
|
11
|
-
d="M142.425 13.6343C140.622 13.6343 138.692 14.0281 137.201 14.7735C136.765 14.9901 136.594 15.533 136.81 15.969L137.511 17.3783C137.775 17.9099 138.414 18.149 138.948 17.8959C139.786 17.4993 140.793 17.2686 141.724 17.2686C143.041 17.2686 143.89 17.6483 144.307 18.3516C144.588 18.8242 144.214 19.4261 143.662 19.4261H141.899C137.688 19.4261 135.859 20.9789 135.859 23.4852C135.859 25.8424 137.665 27.6708 140.923 27.6708C142.25 27.6708 143.297 27.367 144.045 26.7735C144.262 26.6019 144.672 26.6751 144.85 26.8832C145.128 27.2123 145.505 27.4458 145.938 27.4458H148.416C148.942 27.4458 149.37 27.0182 149.37 26.4922V19.9015C149.37 15.5893 146.838 13.6343 142.428 13.6343H142.425ZM142.248 24.6638C141.12 24.6638 140.467 24.0872 140.467 23.2855C140.467 22.4838 141.018 21.9071 142.549 21.9071H143.651C144.177 21.9071 144.605 22.3347 144.605 22.8607V22.9226C144.605 23.0295 144.588 23.1392 144.546 23.2377C144.138 24.2109 143.249 24.6638 142.248 24.6638Z"
|
|
12
|
-
fill="currentColor"
|
|
13
|
-
/>
|
|
14
|
-
<path
|
|
15
|
-
d="M129.283 32.5316C132.791 32.5316 134.822 30.4022 134.822 27.0913V14.81C134.822 14.284 134.394 13.8564 133.868 13.8564H131.013C130.487 13.8564 130.059 14.284 130.059 14.81V27.066C130.059 28.2953 129.483 28.8466 128.656 28.8466C128.532 28.8466 128.411 28.8382 128.29 28.8241C127.685 28.751 126.982 28.9901 126.78 29.5639L126.239 31.0801C126.085 31.5133 126.262 32.0027 126.698 32.1518C127.443 32.4078 128.358 32.5316 129.28 32.5316H129.283Z"
|
|
16
|
-
fill="currentColor"
|
|
17
|
-
/>
|
|
18
|
-
<path
|
|
19
|
-
d="M121.165 13.6343C119.362 13.6343 117.432 14.0281 115.941 14.7735C115.505 14.9901 115.333 15.533 115.547 15.969L116.245 17.3783C116.509 17.9099 117.148 18.1519 117.685 17.8959C118.523 17.4993 119.53 17.2686 120.461 17.2686C121.778 17.2686 122.627 17.6483 123.044 18.3516C123.325 18.8242 122.951 19.4261 122.4 19.4261H120.636C116.425 19.4261 114.596 20.9789 114.596 23.4852C114.596 25.8424 116.4 27.6708 119.66 27.6708C120.987 27.6708 122.034 27.367 122.782 26.7735C123.016 26.5879 123.471 26.6863 123.62 26.931C123.826 27.2686 124.219 27.4458 124.613 27.4458H127.153C127.679 27.4458 128.107 27.0182 128.107 26.4922V19.9015C128.107 15.5893 125.575 13.6343 121.165 13.6343ZM120.987 24.6638C119.859 24.6638 119.207 24.0872 119.207 23.2855C119.207 22.4838 119.758 21.9071 121.288 21.9071H122.391C122.917 21.9071 123.345 22.3347 123.345 22.8607V22.9226C123.345 23.0295 123.328 23.1364 123.286 23.2348C122.878 24.2081 121.989 24.6638 120.987 24.6638Z"
|
|
20
|
-
fill="currentColor"
|
|
21
|
-
/>
|
|
22
|
-
<path
|
|
23
|
-
d="M108.022 13.6343C106.706 13.6343 105.494 13.9775 104.515 14.6554C104.264 14.827 103.904 14.7313 103.767 14.4922C103.578 14.1603 103.159 13.8593 102.776 13.8593H100.129C99.6033 13.8593 99.1758 14.2869 99.1758 14.8129V26.4894C99.1758 27.0154 99.6033 27.443 100.129 27.443H102.984C103.511 27.443 103.938 27.0154 103.938 26.4894V20.8776C103.938 18.6216 105.117 17.668 106.644 17.668C108.022 17.668 108.875 18.495 108.875 20.45V26.4894C108.875 27.0154 109.302 27.443 109.828 27.443H112.684C113.21 27.443 113.637 27.0154 113.637 26.4894V19.6737C113.637 15.4627 111.207 13.6343 108.022 13.6343Z"
|
|
24
|
-
fill="currentColor"
|
|
25
|
-
/>
|
|
26
|
-
<path
|
|
27
|
-
d="M93.5251 13.8594H96.3803C96.9063 13.8594 97.3338 14.2869 97.3338 14.813V26.4895C97.3338 27.0155 96.9063 27.4431 96.3803 27.4431H93.5251C92.9991 27.4431 92.5715 27.0155 92.5715 26.4895V14.813C92.5715 14.2869 92.9991 13.8594 93.5251 13.8594Z"
|
|
28
|
-
fill="currentColor"
|
|
29
|
-
/>
|
|
30
|
-
<path
|
|
31
|
-
d="M85.331 13.6343C83.8851 13.6343 82.5884 14.059 81.5757 14.8298C81.0581 15.2236 80.2452 15.2011 79.7473 14.782C78.819 14.0028 77.601 13.6343 76.2311 13.6343C74.9962 13.6343 73.8654 13.9606 72.94 14.616C72.7009 14.7848 72.3549 14.6948 72.2227 14.4669C71.992 14.0675 71.5307 13.8621 71.0694 13.8621H68.5855C68.0595 13.8621 67.632 14.2897 67.632 14.8157V26.4922C67.632 27.0182 68.0595 27.4458 68.5855 27.4458H71.4407C71.9667 27.4458 72.3943 27.0182 72.3943 26.4922V20.7032C72.3943 18.5991 73.3957 17.6708 74.7993 17.6708C76.0792 17.6708 76.8556 18.4978 76.8556 20.4528V26.4922C76.8556 27.0182 77.2832 27.4458 77.8092 27.4458H80.6643C81.1903 27.4458 81.6179 27.0182 81.6179 26.4922V20.7032C81.6179 18.5991 82.6193 17.6708 84.0005 17.6708C85.2522 17.6708 86.0567 18.4978 86.0567 20.4528V26.4922C86.0567 27.0182 86.4843 27.4458 87.0103 27.4458H89.8654C90.3915 27.4458 90.819 27.0182 90.819 26.4922V19.6765C90.819 15.4655 88.4871 13.6371 85.331 13.6371V13.6343Z"
|
|
32
|
-
fill="currentColor"
|
|
33
|
-
/>
|
|
34
|
-
<path
|
|
35
|
-
d="M64.8385 13.8594H61.9834C61.4567 13.8594 61.0298 14.2863 61.0298 14.813V26.4895C61.0298 27.0161 61.4567 27.4431 61.9834 27.4431H64.8385C65.3652 27.4431 65.7921 27.0161 65.7921 26.4895V14.813C65.7921 14.2863 65.3652 13.8594 64.8385 13.8594Z"
|
|
36
|
-
fill="currentColor"
|
|
37
|
-
/>
|
|
38
|
-
<path
|
|
39
|
-
d="M56.6305 14.6612C56.3548 14.8609 55.9132 14.7343 55.7922 14.4446C55.6319 14.0704 55.2268 13.8595 54.8217 13.8595H52.1776C51.6516 13.8595 51.224 14.287 51.224 14.8131V26.4896C51.224 27.0156 51.6516 27.4432 52.1776 27.4432H55.0327C55.5587 27.4432 55.9863 27.0156 55.9863 26.4896V21.2013C55.9863 18.7906 57.3478 17.8173 59.3168 17.8426C59.871 17.8482 60.321 17.3982 60.321 16.844V14.5852C60.321 14.0508 59.8569 13.626 59.3253 13.6879C58.2676 13.8117 57.359 14.1351 56.6305 14.6584V14.6612Z"
|
|
40
|
-
fill="currentColor"
|
|
41
|
-
/>
|
|
42
|
-
<path
|
|
43
|
-
d="M45.5699 13.8593H48.4251C48.9511 13.8593 49.3786 14.2868 49.3786 14.8128V26.4894C49.3786 27.0154 48.9511 27.4429 48.4251 27.4429H45.5699C45.0439 27.4429 44.6163 27.0154 44.6163 26.4894V14.81C44.6163 14.284 45.0439 13.8564 45.5699 13.8564V13.8593Z"
|
|
44
|
-
fill="currentColor"
|
|
45
|
-
/>
|
|
46
|
-
<path
|
|
47
|
-
d="M38.2984 27.0858C38.4784 27.3108 38.7541 27.443 39.0438 27.443H42.3856C43.1816 27.443 43.6261 26.526 43.1338 25.8987L38.7484 20.3263C38.4531 19.9522 38.4812 19.4149 38.8131 19.0717L42.304 15.474C42.8891 14.8692 42.4615 13.8565 41.6204 13.8565H38.6218C38.3743 13.8565 38.1352 13.955 37.958 14.1266L34.9932 17.0155C34.3884 17.6034 33.3729 17.1758 33.3729 16.3319V9.79465C33.3729 9.26863 32.9453 8.84106 32.4193 8.84106H29.5642C29.0382 8.84106 28.6106 9.26863 28.6106 9.79465V26.4866C28.6106 27.0127 29.0382 27.4402 29.5642 27.4402H32.4193C32.9453 27.4402 33.3729 27.0127 33.3729 26.4866V24.4979C33.3729 24.2475 33.4714 24.0084 33.6458 23.8284L34.0227 23.4458C34.4221 23.038 35.0888 23.0717 35.446 23.519L38.2984 27.083V27.0858Z"
|
|
48
|
-
fill="currentColor"
|
|
49
|
-
/>
|
|
50
|
-
<path
|
|
51
|
-
d="M46.999 12.5175C48.4857 12.5175 49.691 11.3123 49.691 9.82553C49.691 8.33879 48.4857 7.13354 46.999 7.13354C45.5123 7.13354 44.307 8.33879 44.307 9.82553C44.307 11.3123 45.5123 12.5175 46.999 12.5175Z"
|
|
52
|
-
fill="currentColor"
|
|
53
|
-
/>
|
|
54
|
-
<path
|
|
55
|
-
d="M63.4124 12.5175C64.8992 12.5175 66.1044 11.3123 66.1044 9.82553C66.1044 8.33879 64.8992 7.13354 63.4124 7.13354C61.9257 7.13354 60.7205 8.33879 60.7205 9.82553C60.7205 11.3123 61.9257 12.5175 63.4124 12.5175Z"
|
|
56
|
-
fill="currentColor"
|
|
57
|
-
/>
|
|
58
|
-
<path
|
|
59
|
-
d="M94.9536 12.5175C96.4403 12.5175 97.6456 11.3123 97.6456 9.82553C97.6456 8.33879 96.4403 7.13354 94.9536 7.13354C93.4668 7.13354 92.2616 8.33879 92.2616 9.82553C92.2616 11.3123 93.4668 12.5175 94.9536 12.5175Z"
|
|
60
|
-
fill="currentColor"
|
|
61
|
-
/>
|
|
62
|
-
<path
|
|
63
|
-
d="M132.121 12.5175C133.608 12.5175 134.813 11.3123 134.813 9.82553C134.813 8.33879 133.608 7.13354 132.121 7.13354C130.634 7.13354 129.429 8.33879 129.429 9.82553C129.429 11.3123 130.634 12.5175 132.121 12.5175Z"
|
|
64
|
-
fill="currentColor"
|
|
65
|
-
/>
|
|
66
|
-
<path
|
|
67
|
-
d="M9.13943 14.9453C7.02691 12.8524 3.76109 12.7427 1.64857 14.8327C-0.463947 16.9256 -0.365494 20.4586 1.74702 22.5515L15.5895 36.332C17.733 38.4755 21.0297 38.5796 23.1422 36.4868C25.2548 34.3939 25.2351 31.0437 23.0775 28.8862L9.13943 14.9453Z"
|
|
68
|
-
fill="url(#paint0_linear_3061_7003)"
|
|
69
|
-
/>
|
|
70
|
-
<path
|
|
71
|
-
fill-rule="evenodd"
|
|
72
|
-
clip-rule="evenodd"
|
|
73
|
-
d="M7.40389 3.85091C6.59095 4.0225 6.22808 5.04359 6.78223 5.65682L8.84693 7.72151L1.65143 14.8326C-0.365447 16.8495 -0.756446 20.045 1.74988 22.5513L12.9791 33.7496V18.7736L16.4616 15.3277L18.4475 17.3165C19.0045 17.9269 20.0199 17.7159 20.2759 16.9311L25.297 1.40084C25.553 0.61884 24.8582 -0.146279 24.0452 0.02531L7.40389 3.85091Z"
|
|
74
|
-
fill="url(#paint1_linear_3061_7003)"
|
|
75
|
-
/>
|
|
76
|
-
<defs>
|
|
77
|
-
<linearGradient
|
|
78
|
-
id="paint0_linear_3061_7003"
|
|
79
|
-
x1="0.112706"
|
|
80
|
-
y1="25.6598"
|
|
81
|
-
x2="24.7119"
|
|
82
|
-
y2="25.6598"
|
|
83
|
-
gradientUnits="userSpaceOnUse"
|
|
84
|
-
>
|
|
85
|
-
<stop stop-color="#1E398C" />
|
|
86
|
-
<stop offset="1" stop-color="#0071BB" />
|
|
87
|
-
</linearGradient>
|
|
88
|
-
<linearGradient
|
|
89
|
-
id="paint1_linear_3061_7003"
|
|
90
|
-
x1="17.3392"
|
|
91
|
-
y1="7.45147"
|
|
92
|
-
x2="3.56985"
|
|
93
|
-
y2="28.737"
|
|
94
|
-
gradientUnits="userSpaceOnUse"
|
|
95
|
-
>
|
|
96
|
-
<stop stop-color="#782B8F" />
|
|
97
|
-
<stop offset="0.49" stop-color="#5C217D" />
|
|
98
|
-
<stop offset="1" stop-color="#411569" />
|
|
99
|
-
</linearGradient>
|
|
100
|
-
</defs>
|
|
101
|
-
</svg>
|
|
102
|
-
</template>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|