@solfacil/girassol 0.66.1 → 0.69.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.d.ts +2 -2
- package/dist/components.json +1 -1
- package/dist/girassol.es.js +10094 -8397
- package/dist/girassol.umd.js +11 -11
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +470 -47
- package/dist/types/templates/header/Header.vue.d.ts +141 -0
- package/dist/types/templates/header/HeaderTabMenu.types.d.ts +6 -0
- package/dist/types/templates/header/HeaderTabMenu.vue.d.ts +38 -0
- package/dist/types/templates/header/actions/ActionsSection.vue.d.ts +79 -0
- package/dist/types/templates/header/logo/LogoSection.vue.d.ts +16 -0
- package/dist/types/templates/header/menu/Mobile.vue.d.ts +39 -0
- package/dist/types/templates/header/notification/Item.vue.d.ts +23 -0
- package/dist/types/templates/header/notification/ListDesktop.vue.d.ts +30 -0
- package/dist/types/templates/header/notification/ListMobile.vue.d.ts +30 -0
- package/dist/types/templates/header/notification/Notification.vue.d.ts +28 -0
- package/dist/types/templates/header/products/Desktop.vue.d.ts +18 -0
- package/dist/types/templates/header/products/MainItems.vue.d.ts +18 -0
- package/dist/types/templates/header/products/Mobile.vue.d.ts +22 -0
- package/dist/types/templates/header/search/SearchInput.vue.d.ts +48 -0
- package/dist/types/templates/header/support/Mobile.vue.d.ts +22 -0
- package/dist/types/templates/header/support/SupportMenu.vue.d.ts +16 -0
- package/dist/types/templates/header/tabmenu/TabMenu.vue.d.ts +19 -0
- package/dist/types/templates/header/types.d.ts +46 -0
- package/dist/types/templates/header/user/Desktop.vue.d.ts +44 -0
- package/dist/types/templates/header/user/MenuItems.vue.d.ts +29 -0
- package/dist/types/templates/header/user/Mobile.vue.d.ts +49 -0
- package/dist/types/templates/header/user/UserMenu.vue.d.ts +49 -0
- package/dist/types/templates/index.d.ts +4 -0
- package/package.json +1 -1
- package/dist/visibility-off.f25ea2aa.mjs +0 -19
- package/dist/visibility.8b105a47.mjs +0 -19
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import type { HeaderTabMenuItem } from './HeaderTabMenu.types';
|
|
2
|
+
import type { Notification, NotificationsList, Partner, Product, User } from './types';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
umPersonification?: boolean | undefined;
|
|
5
|
+
inPersonification?: boolean | undefined;
|
|
6
|
+
menuProducts?: boolean | undefined;
|
|
7
|
+
showNotification?: boolean | undefined;
|
|
8
|
+
user: User;
|
|
9
|
+
partner: Partner;
|
|
10
|
+
product: Product;
|
|
11
|
+
notifications?: NotificationsList | undefined;
|
|
12
|
+
center?: boolean | undefined;
|
|
13
|
+
viewAo?: boolean | undefined;
|
|
14
|
+
notificationError?: boolean | undefined;
|
|
15
|
+
searchPlaceholder?: string | undefined;
|
|
16
|
+
searchLoading?: boolean | undefined;
|
|
17
|
+
showSearch?: boolean | undefined;
|
|
18
|
+
tabMenuItems?: HeaderTabMenuItem[] | undefined;
|
|
19
|
+
showTabMenu?: boolean | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
umPersonification: boolean;
|
|
22
|
+
inPersonification: boolean;
|
|
23
|
+
menuProducts: boolean;
|
|
24
|
+
showNotification: boolean;
|
|
25
|
+
center: boolean;
|
|
26
|
+
viewAo: boolean;
|
|
27
|
+
notificationError: boolean;
|
|
28
|
+
searchPlaceholder: string;
|
|
29
|
+
searchLoading: boolean;
|
|
30
|
+
showSearch: boolean;
|
|
31
|
+
tabMenuItems: () => never[];
|
|
32
|
+
showTabMenu: boolean;
|
|
33
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
+
clickMenu: () => void;
|
|
35
|
+
} & {
|
|
36
|
+
clickLogout: () => void;
|
|
37
|
+
} & {
|
|
38
|
+
clickUser: (event: string) => void;
|
|
39
|
+
} & {
|
|
40
|
+
clickSolfacilPlus: () => void;
|
|
41
|
+
} & {
|
|
42
|
+
clickNotification: (payload: {
|
|
43
|
+
event: string;
|
|
44
|
+
notification: Notification | string | boolean;
|
|
45
|
+
}) => void;
|
|
46
|
+
} & {
|
|
47
|
+
search: (value: string) => void;
|
|
48
|
+
} & {
|
|
49
|
+
searchChange: (value: string) => void;
|
|
50
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
51
|
+
umPersonification?: boolean | undefined;
|
|
52
|
+
inPersonification?: boolean | undefined;
|
|
53
|
+
menuProducts?: boolean | undefined;
|
|
54
|
+
showNotification?: boolean | undefined;
|
|
55
|
+
user: User;
|
|
56
|
+
partner: Partner;
|
|
57
|
+
product: Product;
|
|
58
|
+
notifications?: NotificationsList | undefined;
|
|
59
|
+
center?: boolean | undefined;
|
|
60
|
+
viewAo?: boolean | undefined;
|
|
61
|
+
notificationError?: boolean | undefined;
|
|
62
|
+
searchPlaceholder?: string | undefined;
|
|
63
|
+
searchLoading?: boolean | undefined;
|
|
64
|
+
showSearch?: boolean | undefined;
|
|
65
|
+
tabMenuItems?: HeaderTabMenuItem[] | undefined;
|
|
66
|
+
showTabMenu?: boolean | undefined;
|
|
67
|
+
}>, {
|
|
68
|
+
umPersonification: boolean;
|
|
69
|
+
inPersonification: boolean;
|
|
70
|
+
menuProducts: boolean;
|
|
71
|
+
showNotification: boolean;
|
|
72
|
+
center: boolean;
|
|
73
|
+
viewAo: boolean;
|
|
74
|
+
notificationError: boolean;
|
|
75
|
+
searchPlaceholder: string;
|
|
76
|
+
searchLoading: boolean;
|
|
77
|
+
showSearch: boolean;
|
|
78
|
+
tabMenuItems: () => never[];
|
|
79
|
+
showTabMenu: boolean;
|
|
80
|
+
}>>> & {
|
|
81
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
82
|
+
onClickUser?: ((event: string) => any) | undefined;
|
|
83
|
+
onClickSolfacilPlus?: (() => any) | undefined;
|
|
84
|
+
onClickLogout?: (() => any) | undefined;
|
|
85
|
+
onClickMenu?: (() => any) | undefined;
|
|
86
|
+
onClickNotification?: ((payload: {
|
|
87
|
+
event: string;
|
|
88
|
+
notification: Notification | string | boolean;
|
|
89
|
+
}) => any) | undefined;
|
|
90
|
+
onSearchChange?: ((value: string) => any) | undefined;
|
|
91
|
+
}, {
|
|
92
|
+
center: boolean;
|
|
93
|
+
searchPlaceholder: string;
|
|
94
|
+
viewAo: boolean;
|
|
95
|
+
umPersonification: boolean;
|
|
96
|
+
inPersonification: boolean;
|
|
97
|
+
notificationError: boolean;
|
|
98
|
+
menuProducts: boolean;
|
|
99
|
+
showNotification: boolean;
|
|
100
|
+
showTabMenu: boolean;
|
|
101
|
+
tabMenuItems: HeaderTabMenuItem[];
|
|
102
|
+
searchLoading: boolean;
|
|
103
|
+
showSearch: boolean;
|
|
104
|
+
}>, {
|
|
105
|
+
'search-results': (_: {
|
|
106
|
+
searchValue: string;
|
|
107
|
+
loading: boolean;
|
|
108
|
+
}) => any;
|
|
109
|
+
'user-info': (_: {
|
|
110
|
+
user: User;
|
|
111
|
+
}) => any;
|
|
112
|
+
'user-info-mobile': (_: {
|
|
113
|
+
user: User;
|
|
114
|
+
openMenu: () => void;
|
|
115
|
+
}) => any;
|
|
116
|
+
'header-mobile': (_: {
|
|
117
|
+
user: User;
|
|
118
|
+
closeMenu: () => void;
|
|
119
|
+
}) => any;
|
|
120
|
+
actions: (_: {}) => any;
|
|
121
|
+
}>;
|
|
122
|
+
export default _default;
|
|
123
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
124
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
125
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
126
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
127
|
+
} : {
|
|
128
|
+
type: import('vue').PropType<T[K]>;
|
|
129
|
+
required: true;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
type __VLS_WithDefaults<P, D> = {
|
|
133
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
134
|
+
default: D[K];
|
|
135
|
+
} : P[K];
|
|
136
|
+
};
|
|
137
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
138
|
+
new (): {
|
|
139
|
+
$slots: S;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { HeaderTabMenuItem } from './HeaderTabMenu.types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
items: HeaderTabMenuItem[];
|
|
4
|
+
}>, {
|
|
5
|
+
items: () => never[];
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
clickSupport: () => void;
|
|
8
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
items: HeaderTabMenuItem[];
|
|
10
|
+
}>, {
|
|
11
|
+
items: () => never[];
|
|
12
|
+
}>>> & {
|
|
13
|
+
onClickSupport?: (() => any) | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
items: HeaderTabMenuItem[];
|
|
16
|
+
}>, {
|
|
17
|
+
'support-menu': (_: {}) => any;
|
|
18
|
+
}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
type __VLS_WithDefaults<P, D> = {
|
|
30
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
31
|
+
default: D[K];
|
|
32
|
+
} : P[K];
|
|
33
|
+
};
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { Notification, NotificationsList, Partner, Product, User } from '../types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
showNotification?: boolean | undefined;
|
|
4
|
+
notifications?: NotificationsList | undefined;
|
|
5
|
+
notificationError?: boolean | undefined;
|
|
6
|
+
menuProducts?: boolean | undefined;
|
|
7
|
+
product: Product;
|
|
8
|
+
viewAo?: boolean | undefined;
|
|
9
|
+
user: User;
|
|
10
|
+
partner: Partner;
|
|
11
|
+
umPersonification?: boolean | undefined;
|
|
12
|
+
inPersonification?: boolean | undefined;
|
|
13
|
+
showTabMenu?: boolean | undefined;
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
clickNotification: (payload: {
|
|
16
|
+
event: string;
|
|
17
|
+
notification: Notification | string | boolean;
|
|
18
|
+
}) => void;
|
|
19
|
+
} & {
|
|
20
|
+
clickProduct: (product: string) => void;
|
|
21
|
+
} & {
|
|
22
|
+
clickLogout: () => void;
|
|
23
|
+
} & {
|
|
24
|
+
clickSolfacilPlus: () => void;
|
|
25
|
+
} & {
|
|
26
|
+
clickUser: (event: string) => void;
|
|
27
|
+
} & {
|
|
28
|
+
openSupportMenu: () => void;
|
|
29
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
30
|
+
showNotification?: boolean | undefined;
|
|
31
|
+
notifications?: NotificationsList | undefined;
|
|
32
|
+
notificationError?: boolean | undefined;
|
|
33
|
+
menuProducts?: boolean | undefined;
|
|
34
|
+
product: Product;
|
|
35
|
+
viewAo?: boolean | undefined;
|
|
36
|
+
user: User;
|
|
37
|
+
partner: Partner;
|
|
38
|
+
umPersonification?: boolean | undefined;
|
|
39
|
+
inPersonification?: boolean | undefined;
|
|
40
|
+
showTabMenu?: boolean | undefined;
|
|
41
|
+
}>>> & {
|
|
42
|
+
onClickProduct?: ((product: string) => any) | undefined;
|
|
43
|
+
onClickUser?: ((event: string) => any) | undefined;
|
|
44
|
+
onClickSolfacilPlus?: (() => any) | undefined;
|
|
45
|
+
onClickLogout?: (() => any) | undefined;
|
|
46
|
+
onClickNotification?: ((payload: {
|
|
47
|
+
event: string;
|
|
48
|
+
notification: Notification | string | boolean;
|
|
49
|
+
}) => any) | undefined;
|
|
50
|
+
onOpenSupportMenu?: (() => any) | undefined;
|
|
51
|
+
}, {}>, {
|
|
52
|
+
'user-info': (_: {
|
|
53
|
+
user: User;
|
|
54
|
+
}) => any;
|
|
55
|
+
'user-info-mobile': (_: {
|
|
56
|
+
user: User;
|
|
57
|
+
openMenu: () => void;
|
|
58
|
+
}) => any;
|
|
59
|
+
'header-mobile': (_: {
|
|
60
|
+
user: User;
|
|
61
|
+
closeMenu: () => void;
|
|
62
|
+
}) => any;
|
|
63
|
+
actions: (_: {}) => any;
|
|
64
|
+
}>;
|
|
65
|
+
export default _default;
|
|
66
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
67
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
68
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
69
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
70
|
+
} : {
|
|
71
|
+
type: import('vue').PropType<T[K]>;
|
|
72
|
+
required: true;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
76
|
+
new (): {
|
|
77
|
+
$slots: S;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Product } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
product: Product;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
product: Product;
|
|
6
|
+
}>>>, {}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { HeaderTabMenuItem } from '../HeaderTabMenu.types';
|
|
2
|
+
import type { Product } from '../types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
isOpen?: boolean | undefined;
|
|
5
|
+
tabMenuItems?: HeaderTabMenuItem[] | undefined;
|
|
6
|
+
product?: Product | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
tabMenuItems: () => never[];
|
|
10
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
close: () => void;
|
|
12
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
isOpen?: boolean | undefined;
|
|
14
|
+
tabMenuItems?: HeaderTabMenuItem[] | undefined;
|
|
15
|
+
product?: Product | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
isOpen: boolean;
|
|
18
|
+
tabMenuItems: () => never[];
|
|
19
|
+
}>>> & {
|
|
20
|
+
onClose?: (() => any) | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
isOpen: boolean;
|
|
23
|
+
tabMenuItems: HeaderTabMenuItem[];
|
|
24
|
+
}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
} : P[K];
|
|
39
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Notification, NotificationsList } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
notifications?: NotificationsList | undefined;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
moreNotification: (cursor: string) => void;
|
|
6
|
+
} & {
|
|
7
|
+
goToNotification: (notification: Notification) => void;
|
|
8
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
notifications?: NotificationsList | undefined;
|
|
10
|
+
}>>> & {
|
|
11
|
+
onMoreNotification?: ((cursor: string) => any) | undefined;
|
|
12
|
+
onGoToNotification?: ((notification: Notification) => any) | undefined;
|
|
13
|
+
}, {}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Notification, NotificationsList } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
showNotificationList: boolean;
|
|
4
|
+
notifications?: NotificationsList | undefined;
|
|
5
|
+
notificationError?: boolean | undefined;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
moreNotification: (cursor: string) => void;
|
|
8
|
+
} & {
|
|
9
|
+
goToNotification: (notification: Notification) => void;
|
|
10
|
+
} & {
|
|
11
|
+
closeNotifications: () => void;
|
|
12
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
showNotificationList: boolean;
|
|
14
|
+
notifications?: NotificationsList | undefined;
|
|
15
|
+
notificationError?: boolean | undefined;
|
|
16
|
+
}>>> & {
|
|
17
|
+
onMoreNotification?: ((cursor: string) => any) | undefined;
|
|
18
|
+
onGoToNotification?: ((notification: Notification) => any) | undefined;
|
|
19
|
+
onCloseNotifications?: (() => any) | undefined;
|
|
20
|
+
}, {}>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
+
} : {
|
|
27
|
+
type: import('vue').PropType<T[K]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Notification, NotificationsList } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
showNotificationList: boolean;
|
|
4
|
+
notifications?: NotificationsList | undefined;
|
|
5
|
+
notificationError?: boolean | undefined;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
moreNotification: (cursor: string) => void;
|
|
8
|
+
} & {
|
|
9
|
+
closeNotifications: () => void;
|
|
10
|
+
} & {
|
|
11
|
+
goToNotification: (notification: Notification) => void;
|
|
12
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
showNotificationList: boolean;
|
|
14
|
+
notifications?: NotificationsList | undefined;
|
|
15
|
+
notificationError?: boolean | undefined;
|
|
16
|
+
}>>> & {
|
|
17
|
+
onMoreNotification?: ((cursor: string) => any) | undefined;
|
|
18
|
+
onGoToNotification?: ((notification: Notification) => any) | undefined;
|
|
19
|
+
onCloseNotifications?: (() => any) | undefined;
|
|
20
|
+
}, {}>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
+
} : {
|
|
27
|
+
type: import('vue').PropType<T[K]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { Notification, NotificationsList } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
notifications?: NotificationsList | undefined;
|
|
4
|
+
notificationError: boolean;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
moreNotification: (cursor: string) => void;
|
|
7
|
+
} & {
|
|
8
|
+
toggleNotification: (isOpen: boolean) => void;
|
|
9
|
+
} & {
|
|
10
|
+
goToNotification: (notification: Notification) => void;
|
|
11
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
notifications?: NotificationsList | undefined;
|
|
13
|
+
notificationError: boolean;
|
|
14
|
+
}>>> & {
|
|
15
|
+
onMoreNotification?: ((cursor: string) => any) | undefined;
|
|
16
|
+
onGoToNotification?: ((notification: Notification) => any) | undefined;
|
|
17
|
+
onToggleNotification?: ((isOpen: boolean) => any) | undefined;
|
|
18
|
+
}, {}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Product } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
product: Product;
|
|
4
|
+
viewAo?: boolean | undefined;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
product: Product;
|
|
7
|
+
viewAo?: boolean | undefined;
|
|
8
|
+
}>>>, {}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Product } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
product: Product;
|
|
4
|
+
viewAo?: boolean | undefined;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
product: Product;
|
|
7
|
+
viewAo?: boolean | undefined;
|
|
8
|
+
}>>>, {}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { Product } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
isOpenedProductMenu: boolean;
|
|
4
|
+
product: Product;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
clickOpenMenu: () => void;
|
|
7
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
isOpenedProductMenu: boolean;
|
|
9
|
+
product: Product;
|
|
10
|
+
}>>> & {
|
|
11
|
+
onClickOpenMenu?: (() => any) | undefined;
|
|
12
|
+
}, {}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
placeholder?: string | undefined;
|
|
3
|
+
loading?: boolean | undefined;
|
|
4
|
+
}>, {
|
|
5
|
+
placeholder: string;
|
|
6
|
+
loading: boolean;
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
search: (value: string) => void;
|
|
9
|
+
} & {
|
|
10
|
+
searchChange: (value: string) => void;
|
|
11
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
placeholder?: string | undefined;
|
|
13
|
+
loading?: boolean | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
placeholder: string;
|
|
16
|
+
loading: boolean;
|
|
17
|
+
}>>> & {
|
|
18
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
19
|
+
onSearchChange?: ((value: string) => any) | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
loading: boolean;
|
|
22
|
+
placeholder: string;
|
|
23
|
+
}>, {
|
|
24
|
+
'search-results': (_: {
|
|
25
|
+
searchValue: string;
|
|
26
|
+
loading: boolean;
|
|
27
|
+
}) => any;
|
|
28
|
+
}>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
+
} : {
|
|
35
|
+
type: import('vue').PropType<T[K]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
type __VLS_WithDefaults<P, D> = {
|
|
40
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
41
|
+
default: D[K];
|
|
42
|
+
} : P[K];
|
|
43
|
+
};
|
|
44
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { Partner } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
partner: Partner;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
close: () => void;
|
|
7
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
partner: Partner;
|
|
10
|
+
}>>> & {
|
|
11
|
+
onClose?: (() => any) | undefined;
|
|
12
|
+
}, {}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Partner } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
readonly partner: Partner;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
readonly partner: Partner;
|
|
6
|
+
}>>>, {}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { HeaderTabMenuItem } from '../HeaderTabMenu.types';
|
|
2
|
+
import type { Partner } from '../types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
tabMenuItems: HeaderTabMenuItem[];
|
|
5
|
+
partner: Partner;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
tabMenuItems: HeaderTabMenuItem[];
|
|
8
|
+
partner: Partner;
|
|
9
|
+
}>>>, {}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { FunctionalComponent, SVGAttributes } from 'vue';
|
|
2
|
+
export interface User {
|
|
3
|
+
profile: string;
|
|
4
|
+
completeName: string;
|
|
5
|
+
}
|
|
6
|
+
export interface SolfacilPlus {
|
|
7
|
+
level: string;
|
|
8
|
+
isLevelBlack?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface Responsible {
|
|
11
|
+
cellPhone: string;
|
|
12
|
+
noAccountManager: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface Partner {
|
|
15
|
+
partnerId: number;
|
|
16
|
+
companyName?: string;
|
|
17
|
+
responsible: Responsible;
|
|
18
|
+
solfacilPlus: SolfacilPlus | null;
|
|
19
|
+
registration_type?: 'stellar' | 'basic' | 'essential' | null;
|
|
20
|
+
}
|
|
21
|
+
export interface NotificationValues {
|
|
22
|
+
templateName: string;
|
|
23
|
+
actionUrl: string;
|
|
24
|
+
message: string;
|
|
25
|
+
title: string;
|
|
26
|
+
}
|
|
27
|
+
export interface Notification {
|
|
28
|
+
id: number;
|
|
29
|
+
clickedAt: Date | string | null;
|
|
30
|
+
readAt: Date | string | null;
|
|
31
|
+
createdAt: Date | string;
|
|
32
|
+
notification: NotificationValues;
|
|
33
|
+
}
|
|
34
|
+
export interface NotificationsList {
|
|
35
|
+
count: number;
|
|
36
|
+
countNotification: number;
|
|
37
|
+
totalCount: number;
|
|
38
|
+
nextCursor: string;
|
|
39
|
+
data: Notification[];
|
|
40
|
+
}
|
|
41
|
+
export interface Product {
|
|
42
|
+
id: 'portal' | 'shop' | 'financing' | 'ampera';
|
|
43
|
+
icon?: FunctionalComponent<SVGAttributes>;
|
|
44
|
+
title: string;
|
|
45
|
+
action?: Function;
|
|
46
|
+
}
|