@enos5/enos-vue-default 0.3.1 → 1.0.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.
@@ -17,6 +17,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
17
17
  type: StringConstructor;
18
18
  default: string;
19
19
  };
20
+ size: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
20
24
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
25
  type: {
22
26
  type: StringConstructor;
@@ -30,8 +34,13 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
30
34
  type: StringConstructor;
31
35
  default: string;
32
36
  };
37
+ size: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
33
41
  }>> & Readonly<{}>, {
34
42
  type: string;
43
+ size: string;
35
44
  disabled: boolean;
36
45
  variant: string;
37
46
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,70 @@
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
+ };
@@ -0,0 +1,33 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ subtitle?: string;
4
+ href?: string;
5
+ external?: boolean;
6
+ target?: string;
7
+ rel?: string;
8
+ logoText?: string;
9
+ };
10
+ declare var __VLS_8: {}, __VLS_10: {}, __VLS_12: {};
11
+ type __VLS_Slots = {} & {
12
+ logo?: (props: typeof __VLS_8) => any;
13
+ } & {
14
+ logo?: (props: typeof __VLS_10) => any;
15
+ } & {
16
+ logo?: (props: typeof __VLS_12) => any;
17
+ };
18
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
+ href: string;
20
+ external: boolean;
21
+ target: string;
22
+ rel: string;
23
+ subtitle: string;
24
+ logoText: string;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
+ declare const _default: typeof __VLS_export;
28
+ export default _default;
29
+ type __VLS_WithSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -0,0 +1,38 @@
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
+ };
@@ -0,0 +1,37 @@
1
+ import type { Component } from 'vue';
2
+ type SideMenuItem = {
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: SideMenuItem[];
13
+ label?: string;
14
+ activeClass?: string;
15
+ itemClass?: string;
16
+ iconClass?: string;
17
+ };
18
+ declare var __VLS_7: {
19
+ item: SideMenuItem;
20
+ };
21
+ type __VLS_Slots = {} & {
22
+ item?: (props: typeof __VLS_7) => any;
23
+ };
24
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
25
+ label: string;
26
+ activeClass: string;
27
+ itemClass: string;
28
+ iconClass: string;
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
31
+ declare const _default: typeof __VLS_export;
32
+ export default _default;
33
+ type __VLS_WithSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
@@ -0,0 +1,19 @@
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;
@@ -0,0 +1,16 @@
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;
@@ -0,0 +1,35 @@
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
+ };
@@ -0,0 +1,13 @@
1
+ type __VLS_Props = {
2
+ name: string;
3
+ email?: string;
4
+ avatar?: string;
5
+ showEmail?: boolean;
6
+ };
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
+ email: string;
9
+ avatar: string;
10
+ showEmail: boolean;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
@@ -0,0 +1,21 @@
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;
package/dist/index.d.ts CHANGED
@@ -28,6 +28,15 @@ export { default as RadioInput } from './components/RadioInput.vue';
28
28
  export { default as RadioMultipleInput } from './components/RadioMultipleInput.vue';
29
29
  export { default as SectionBorder } from './components/SectionBorder.vue';
30
30
  export { default as SectionTitle } from './components/SectionTitle.vue';
31
+ export { default as SideMenu } from './components/SideMenu.vue';
32
+ export { default as SideMenuButton } from './components/SideMenuButton.vue';
33
+ export { default as SideMenuBrand } from './components/SideMenuBrand.vue';
34
+ export { default as SideMenuNavFooter } from './components/SideMenuNavFooter.vue';
35
+ export { default as SideMenuNavMain } from './components/SideMenuNavMain.vue';
36
+ export { default as SideMenuNavUser } from './components/SideMenuNavUser.vue';
37
+ export { default as SideMenuList } from './components/SideMenuList.vue';
38
+ export { default as SideMenuUserInfo } from './components/SideMenuUserInfo.vue';
39
+ export { default as SideMenuUserMenuContent } from './components/SideMenuUserMenuContent.vue';
31
40
  export { default as SelectInput } from './components/SelectInput.vue';
32
41
  export { default as SortControls } from './components/SortControls.vue';
33
42
  export { default as TableList } from './components/TableList.vue';