@enos5/enos-vue-default 1.0.0 → 1.2.0
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/components/CheckboxInput.vue.d.ts +9 -0
- package/dist/components/CheckboxMultipleInput.vue.d.ts +9 -0
- package/dist/components/Sidebar.vue.d.ts +27 -0
- package/dist/components/SidebarContent.vue.d.ts +17 -0
- package/dist/components/SidebarFooter.vue.d.ts +17 -0
- package/dist/components/SidebarGroup.vue.d.ts +17 -0
- package/dist/components/SidebarGroupContent.vue.d.ts +17 -0
- package/dist/components/{SideMenuBrand.vue.d.ts → SidebarGroupLabel.vue.d.ts} +9 -19
- package/dist/components/SidebarHeader.vue.d.ts +17 -0
- package/dist/components/SidebarInset.vue.d.ts +17 -0
- package/dist/components/SidebarMenu.vue.d.ts +17 -0
- package/dist/components/SidebarMenuButton.vue.d.ts +49 -0
- package/dist/components/SidebarMenuItem.vue.d.ts +17 -0
- package/dist/components/{SideMenuList.vue.d.ts → SidebarProvider.vue.d.ts} +11 -23
- package/dist/components/{SideMenuUserInfo.vue.d.ts → SidebarTrigger.vue.d.ts} +3 -9
- package/dist/components/sidebar-context.d.ts +12 -0
- package/dist/index.css +27 -0
- package/dist/index.d.ts +13 -9
- package/dist/index.js +762 -645
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/dist/components/SideMenu.vue.d.ts +0 -70
- package/dist/components/SideMenuButton.vue.d.ts +0 -38
- package/dist/components/SideMenuNavFooter.vue.d.ts +0 -19
- package/dist/components/SideMenuNavMain.vue.d.ts +0 -16
- package/dist/components/SideMenuNavUser.vue.d.ts +0 -35
- package/dist/components/SideMenuUserMenuContent.vue.d.ts +0 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enos5/enos-vue-default",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@heroicons/vue": "^2.0.0",
|
|
29
|
+
"@lucide/vue": "^1.7.0",
|
|
29
30
|
"@tinymce/tinymce-vue": "^6.3.0",
|
|
30
31
|
"tinymce": "^8.3.2"
|
|
31
32
|
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import type { Component, HTMLAttributes } from 'vue';
|
|
2
|
-
type SideMenuBrandProps = {
|
|
3
|
-
title: string;
|
|
4
|
-
subtitle?: string;
|
|
5
|
-
href?: string;
|
|
6
|
-
external?: boolean;
|
|
7
|
-
target?: string;
|
|
8
|
-
rel?: string;
|
|
9
|
-
logoText?: string;
|
|
10
|
-
};
|
|
11
|
-
type SideMenuNavItem = {
|
|
12
|
-
title: string;
|
|
13
|
-
href: string;
|
|
14
|
-
active?: boolean;
|
|
15
|
-
icon?: Component;
|
|
16
|
-
external?: boolean;
|
|
17
|
-
target?: string;
|
|
18
|
-
rel?: string;
|
|
19
|
-
};
|
|
20
|
-
type SideMenuUser = {
|
|
21
|
-
name: string;
|
|
22
|
-
email?: string;
|
|
23
|
-
avatar?: string;
|
|
24
|
-
};
|
|
25
|
-
type SideMenuProps = {
|
|
26
|
-
brand?: SideMenuBrandProps;
|
|
27
|
-
mainItems?: SideMenuNavItem[];
|
|
28
|
-
footerItems?: SideMenuNavItem[];
|
|
29
|
-
user?: SideMenuUser;
|
|
30
|
-
mainLabel?: string;
|
|
31
|
-
footerLabel?: string;
|
|
32
|
-
settingsHref?: string;
|
|
33
|
-
settingsLabel?: string;
|
|
34
|
-
logoutLabel?: string;
|
|
35
|
-
class?: HTMLAttributes['class'];
|
|
36
|
-
headerClass?: HTMLAttributes['class'];
|
|
37
|
-
contentClass?: HTMLAttributes['class'];
|
|
38
|
-
footerClass?: HTMLAttributes['class'];
|
|
39
|
-
};
|
|
40
|
-
declare var __VLS_1: {}, __VLS_8: {}, __VLS_15: {};
|
|
41
|
-
type __VLS_Slots = {} & {
|
|
42
|
-
header?: (props: typeof __VLS_1) => any;
|
|
43
|
-
} & {
|
|
44
|
-
default?: (props: typeof __VLS_8) => any;
|
|
45
|
-
} & {
|
|
46
|
-
footer?: (props: typeof __VLS_15) => any;
|
|
47
|
-
};
|
|
48
|
-
declare const __VLS_base: import("vue").DefineComponent<SideMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SideMenuProps> & Readonly<{}>, {
|
|
49
|
-
class: string | false | Record<string, any> | import("vue").ClassValue[] | null;
|
|
50
|
-
contentClass: string | false | Record<string, any> | import("vue").ClassValue[] | null;
|
|
51
|
-
settingsHref: string;
|
|
52
|
-
settingsLabel: string;
|
|
53
|
-
logoutLabel: string;
|
|
54
|
-
user: SideMenuUser;
|
|
55
|
-
brand: SideMenuBrandProps;
|
|
56
|
-
mainItems: SideMenuNavItem[];
|
|
57
|
-
footerItems: SideMenuNavItem[];
|
|
58
|
-
mainLabel: string;
|
|
59
|
-
footerLabel: string;
|
|
60
|
-
headerClass: string | false | Record<string, any> | import("vue").ClassValue[] | null;
|
|
61
|
-
footerClass: string | false | Record<string, any> | import("vue").ClassValue[] | null;
|
|
62
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
63
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
64
|
-
declare const _default: typeof __VLS_export;
|
|
65
|
-
export default _default;
|
|
66
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
67
|
-
new (): {
|
|
68
|
-
$slots: S;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { Component, HTMLAttributes } from 'vue';
|
|
2
|
-
type SideMenuButtonProps = {
|
|
3
|
-
href: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
active?: boolean;
|
|
6
|
-
icon?: Component;
|
|
7
|
-
external?: boolean;
|
|
8
|
-
target?: string;
|
|
9
|
-
rel?: string;
|
|
10
|
-
activeClass?: string;
|
|
11
|
-
class?: HTMLAttributes['class'];
|
|
12
|
-
itemClass?: HTMLAttributes['class'];
|
|
13
|
-
iconClass?: string;
|
|
14
|
-
};
|
|
15
|
-
declare var __VLS_13: {}, __VLS_20: {};
|
|
16
|
-
type __VLS_Slots = {} & {
|
|
17
|
-
default?: (props: typeof __VLS_13) => any;
|
|
18
|
-
} & {
|
|
19
|
-
default?: (props: typeof __VLS_20) => any;
|
|
20
|
-
};
|
|
21
|
-
declare const __VLS_base: import("vue").DefineComponent<SideMenuButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SideMenuButtonProps> & Readonly<{}>, {
|
|
22
|
-
title: string;
|
|
23
|
-
class: string | false | Record<string, any> | import("vue").ClassValue[] | null;
|
|
24
|
-
external: boolean;
|
|
25
|
-
target: string;
|
|
26
|
-
rel: string;
|
|
27
|
-
activeClass: string;
|
|
28
|
-
itemClass: string | false | Record<string, any> | import("vue").ClassValue[] | null;
|
|
29
|
-
iconClass: string;
|
|
30
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
|
-
declare const _default: typeof __VLS_export;
|
|
33
|
-
export default _default;
|
|
34
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
-
new (): {
|
|
36
|
-
$slots: S;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { Component } from 'vue';
|
|
2
|
-
type SideMenuFooterItem = {
|
|
3
|
-
title: string;
|
|
4
|
-
href: string;
|
|
5
|
-
active?: boolean;
|
|
6
|
-
icon?: Component;
|
|
7
|
-
external?: boolean;
|
|
8
|
-
target?: string;
|
|
9
|
-
rel?: string;
|
|
10
|
-
};
|
|
11
|
-
type __VLS_Props = {
|
|
12
|
-
items: SideMenuFooterItem[];
|
|
13
|
-
label?: string;
|
|
14
|
-
};
|
|
15
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
-
label: string;
|
|
17
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
-
declare const _default: typeof __VLS_export;
|
|
19
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { Component } from 'vue';
|
|
2
|
-
type SideMenuNavItem = {
|
|
3
|
-
title: string;
|
|
4
|
-
href: string;
|
|
5
|
-
active?: boolean;
|
|
6
|
-
icon?: Component;
|
|
7
|
-
};
|
|
8
|
-
type __VLS_Props = {
|
|
9
|
-
items: SideMenuNavItem[];
|
|
10
|
-
label?: string;
|
|
11
|
-
};
|
|
12
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
-
label: string;
|
|
14
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
-
declare const _default: typeof __VLS_export;
|
|
16
|
-
export default _default;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
type SideMenuUser = {
|
|
2
|
-
name: string;
|
|
3
|
-
email?: string;
|
|
4
|
-
avatar?: string;
|
|
5
|
-
};
|
|
6
|
-
type __VLS_Props = {
|
|
7
|
-
user: SideMenuUser;
|
|
8
|
-
settingsHref?: string;
|
|
9
|
-
settingsLabel?: string;
|
|
10
|
-
logoutLabel?: string;
|
|
11
|
-
};
|
|
12
|
-
declare var __VLS_20: {
|
|
13
|
-
user: SideMenuUser;
|
|
14
|
-
logout: () => void;
|
|
15
|
-
};
|
|
16
|
-
type __VLS_Slots = {} & {
|
|
17
|
-
content?: (props: typeof __VLS_20) => any;
|
|
18
|
-
};
|
|
19
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
-
logout: () => any;
|
|
21
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
-
onLogout?: (() => any) | undefined;
|
|
23
|
-
}>, {
|
|
24
|
-
settingsHref: string;
|
|
25
|
-
settingsLabel: string;
|
|
26
|
-
logoutLabel: string;
|
|
27
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
|
-
declare const _default: typeof __VLS_export;
|
|
30
|
-
export default _default;
|
|
31
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
-
new (): {
|
|
33
|
-
$slots: S;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
name: string;
|
|
3
|
-
email?: string;
|
|
4
|
-
avatar?: string;
|
|
5
|
-
settingsHref?: string;
|
|
6
|
-
settingsLabel?: string;
|
|
7
|
-
logoutLabel?: string;
|
|
8
|
-
};
|
|
9
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
logout: () => any;
|
|
11
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
-
onLogout?: (() => any) | undefined;
|
|
13
|
-
}>, {
|
|
14
|
-
email: string;
|
|
15
|
-
avatar: string;
|
|
16
|
-
settingsHref: string;
|
|
17
|
-
settingsLabel: string;
|
|
18
|
-
logoutLabel: string;
|
|
19
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
-
declare const _default: typeof __VLS_export;
|
|
21
|
-
export default _default;
|