@solfacil/girassol 0.46.1 → 0.47.1

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.
Files changed (66) hide show
  1. package/dist/components.d.ts +8 -0
  2. package/dist/components.json +1 -1
  3. package/dist/girassol.es.js +6671 -6010
  4. package/dist/girassol.umd.js +7 -7
  5. package/dist/style.css +1 -1
  6. package/dist/types/components/breadcrumb/Breadcrumb.vue.d.ts +1 -1
  7. package/dist/types/components/breadcrumb/types.d.ts +1 -2
  8. package/dist/types/components/file-upload/types.d.ts +2 -2
  9. package/dist/types/components/{header → headers/header}/Header.vue.d.ts +1 -1
  10. package/dist/types/components/{header → headers/header}/notification/Item.vue.d.ts +1 -1
  11. package/dist/types/components/{header → headers/header}/notification/ListDesktop.vue.d.ts +1 -1
  12. package/dist/types/components/{header → headers/header}/notification/ListMobile.vue.d.ts +1 -1
  13. package/dist/types/components/{header → headers/header}/notification/Notification.vue.d.ts +1 -1
  14. package/dist/types/components/{header → headers/header}/products/Desktop.vue.d.ts +1 -1
  15. package/dist/types/components/{header → headers/header}/products/MainItems.vue.d.ts +1 -1
  16. package/dist/types/components/{header → headers/header}/user/Desktop.vue.d.ts +1 -1
  17. package/dist/types/components/{header → headers/header}/user/MainItems.vue.d.ts +1 -1
  18. package/dist/types/components/{header → headers/header}/user/Mobile.vue.d.ts +1 -1
  19. package/dist/types/components/{header → headers/header}/user/SolfacilPlus.vue.d.ts +1 -1
  20. package/dist/types/components/headers/header-backoffice/HeaderBackoffice.vue.d.ts +41 -0
  21. package/dist/types/components/headers/header-backoffice/applications/ApplicationsBackoffice.vue.d.ts +35 -0
  22. package/dist/types/components/headers/header-backoffice/applications/index.d.ts +2 -0
  23. package/dist/types/components/headers/header-backoffice/applications/menu/ApplicationsBackofficeMenu.vue.d.ts +36 -0
  24. package/dist/types/components/headers/header-backoffice/applications/menu/index.d.ts +2 -0
  25. package/dist/types/components/headers/header-backoffice/applications/menu/types.d.ts +16 -0
  26. package/dist/types/components/headers/header-backoffice/applications/types.d.ts +4 -0
  27. package/dist/types/components/headers/header-backoffice/index.d.ts +2 -0
  28. package/dist/types/components/headers/header-backoffice/user-info/UserInfoBackoffice.vue.d.ts +41 -0
  29. package/dist/types/components/headers/header-backoffice/user-info/index.d.ts +2 -0
  30. package/dist/types/components/headers/header-backoffice/user-info/menu/UserInfoBackofficeMenu.vue.d.ts +41 -0
  31. package/dist/types/components/headers/header-backoffice/user-info/menu/index.d.ts +2 -0
  32. package/dist/types/components/headers/header-backoffice/user-info/menu/types.d.ts +12 -0
  33. package/dist/types/components/headers/header-backoffice/user-info/types.d.ts +6 -0
  34. package/dist/types/components/{header → headers}/types.d.ts +1 -1
  35. package/dist/types/components/item-application/ItemApplication.vue.d.ts +18 -0
  36. package/dist/types/components/item-application/index.d.ts +2 -0
  37. package/dist/types/components/link/Link.vue.d.ts +2 -2
  38. package/dist/types/components/link/types.d.ts +1 -3
  39. package/dist/types/components/menus/menu/Menu.vue.d.ts +6 -2
  40. package/dist/types/components/{sidebar → sidebars/sidebar}/types.d.ts +5 -5
  41. package/dist/types/components/sidebars/sidebar-backoffice/SidebarBackoffice.vue.d.ts +50 -0
  42. package/dist/types/components/sidebars/sidebar-backoffice/index.d.ts +2 -0
  43. package/dist/types/components/sidebars/sidebar-backoffice/types.d.ts +10 -0
  44. package/dist/types/components/sideover/Sideover.vue.d.ts +55 -0
  45. package/dist/types/components/sideover/index.d.ts +2 -0
  46. package/dist/types/components/sideover/types.d.ts +7 -0
  47. package/dist/types/components/steps/Steps.vue.d.ts +1 -1
  48. package/dist/types/components/steps/types.d.ts +1 -2
  49. package/dist/types/components/templates/backoffice/BackofficeTemplate.vue.d.ts +11 -0
  50. package/dist/types/components/templates/backoffice/index.d.ts +2 -0
  51. package/dist/types/components/templates/backoffice/page/PageBackoffice.vue.d.ts +39 -0
  52. package/dist/types/components/templates/backoffice/page/index.d.ts +2 -0
  53. package/dist/types/components/templates/backoffice/page/types.d.ts +13 -0
  54. package/dist/types/components/tooltip/Tooltip.vue.d.ts +44 -0
  55. package/dist/types/components/tooltip/index.d.ts +2 -0
  56. package/dist/types/components/tooltip/types.d.ts +6 -0
  57. package/dist/types/index.d.ts +946 -59
  58. package/dist/types/types.d.ts +2 -0
  59. package/package.json +1 -1
  60. package/dist/contact-support.df328bfb.mjs +0 -19
  61. package/dist/types/components/{header → headers/header}/index.d.ts +0 -0
  62. package/dist/types/components/{header → headers/header}/user/SolfacilPlusBox.vue.d.ts +0 -0
  63. package/dist/types/components/{sidebar → sidebars/sidebar}/MenuItems.vue.d.ts +0 -0
  64. package/dist/types/components/{sidebar → sidebars/sidebar}/ProductMenuMobile.vue.d.ts +0 -0
  65. package/dist/types/components/{sidebar → sidebars/sidebar}/Sidebar.vue.d.ts +1 -1
  66. /package/dist/types/components/{sidebar → sidebars/sidebar}/index.d.ts +0 -0
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
32
32
  }, {
33
33
  dark: boolean;
34
34
  items: import("./types").Item[];
35
- linkTag: "a" | import("./types").NuxtLinkResolved | "router-link";
35
+ linkTag: "a" | import("../../types").NuxtLinkResolved | "router-link";
36
36
  }>;
37
37
  export default _default;
38
38
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,11 +1,10 @@
1
- import type { resolveComponent } from "vue";
1
+ import type { NuxtLinkResolved } from "@/types";
2
2
  export type Item = {
3
3
  href: string;
4
4
  text: string;
5
5
  target?: '_blank' | '_self' | '_parent' | '_top';
6
6
  rel?: string;
7
7
  };
8
- export type NuxtLinkResolved = Exclude<ReturnType<typeof resolveComponent>, string>;
9
8
  export interface Breadcrumb {
10
9
  id: string;
11
10
  items?: Item[];
@@ -8,7 +8,7 @@ export interface Download {
8
8
  id: string;
9
9
  downloadSrc?: string;
10
10
  downloadMenu: DownloadMenu[];
11
- fileIcon: (file: string) => FunctionalComponent<SVGAttributes, {}>;
11
+ fileIcon: (file: string) => FunctionalComponent<SVGAttributes>;
12
12
  }
13
13
  export interface Upload {
14
14
  id: string;
@@ -19,7 +19,7 @@ export interface Upload {
19
19
  multiple?: boolean;
20
20
  placeholder?: string;
21
21
  hasError?: boolean;
22
- fileIcon: (file: string) => FunctionalComponent<SVGAttributes, {}>;
22
+ fileIcon: (file: string) => FunctionalComponent<SVGAttributes>;
23
23
  }
24
24
  export interface FileUpload extends Omit<Upload, 'fileIcon' | 'hasError'>, Omit<Download, 'fileIcon'> {
25
25
  id: string;
@@ -1,4 +1,4 @@
1
- import type { NotificationsList, Partner, Product, User } from './types';
1
+ import type { NotificationsList, Partner, Product, User } from '@/components/headers/types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  umPersonification?: boolean | undefined;
4
4
  inPersonification?: boolean | undefined;
@@ -1,4 +1,4 @@
1
- import type { Notification, NotificationsList } from '../types';
1
+ import type { Notification, NotificationsList } from '@/components/headers/types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  notifications?: NotificationsList | undefined;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,4 +1,4 @@
1
- import type { Notification, NotificationsList } from '../types';
1
+ import type { Notification, NotificationsList } from '@/components/headers/types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  showNotificationList: boolean;
4
4
  notifications?: NotificationsList | undefined;
@@ -1,4 +1,4 @@
1
- import type { Notification, NotificationsList } from '../types';
1
+ import type { Notification, NotificationsList } from '@/components/headers/types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  showNotificationList: boolean;
4
4
  notifications?: NotificationsList | undefined;
@@ -1,4 +1,4 @@
1
- import type { Notification, NotificationsList } from '../types';
1
+ import type { Notification, NotificationsList } from '@/components/headers/types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  notifications?: NotificationsList | undefined;
4
4
  white: boolean;
@@ -1,4 +1,4 @@
1
- import type { Product } from '../types';
1
+ import type { Product } from '@/components/headers/types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  product: Product;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,4 +1,4 @@
1
- import type { Product } from '../types';
1
+ import type { Product } from '@/components/headers/types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  product: Product;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,4 +1,4 @@
1
- import type { Partner, User } from '../types';
1
+ import type { Partner, User } from '@/components/headers/types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  readonly user: User;
4
4
  readonly partner: Partner;
@@ -1,4 +1,4 @@
1
- import type { Partner, User } from '../types';
1
+ import type { Partner, User } from '@/components/headers/types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  readonly user: User;
4
4
  readonly partner: Partner;
@@ -1,4 +1,4 @@
1
- import type { Partner, User } from '../types';
1
+ import type { Partner, User } from '@/components/headers/types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  user: User;
4
4
  partner: Partner;
@@ -1,4 +1,4 @@
1
- import type { Partner } from '../types';
1
+ import type { Partner } from '@/components/headers/types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  partner: Partner;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -0,0 +1,41 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ title?: string | undefined;
3
+ }>, {
4
+ title: string;
5
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ toggleMenu: (value: boolean) => void;
7
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
+ title?: string | undefined;
9
+ }>, {
10
+ title: string;
11
+ }>>> & {
12
+ onToggleMenu?: ((value: boolean) => any) | undefined;
13
+ }, {
14
+ title: string;
15
+ }>, {
16
+ menu: (_: {
17
+ toggle: () => void;
18
+ }) => any;
19
+ title: (_: {}) => any;
20
+ actions: (_: {}) => any;
21
+ }>;
22
+ export default _default;
23
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
+ type __VLS_TypePropsToRuntimeProps<T> = {
25
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
26
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
+ } : {
28
+ type: import('vue').PropType<T[K]>;
29
+ required: true;
30
+ };
31
+ };
32
+ type __VLS_WithDefaults<P, D> = {
33
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
34
+ default: D[K];
35
+ } : P[K];
36
+ };
37
+ type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -0,0 +1,35 @@
1
+ import type { ApplicationsBackoffice } from './types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ applications?: import("./menu/types").ApplicationBackofficeMenuOption[] | undefined;
4
+ }>, {
5
+ applications: () => never[];
6
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
+ applications?: import("./menu/types").ApplicationBackofficeMenuOption[] | undefined;
8
+ }>, {
9
+ applications: () => never[];
10
+ }>>>, {
11
+ applications: ApplicationsBackoffice['applications'];
12
+ }>, {
13
+ 'menu-content-desktop': (_: {}) => any;
14
+ 'menu-content': (_: {}) => any;
15
+ }>;
16
+ export default _default;
17
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
+ type __VLS_TypePropsToRuntimeProps<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
23
+ required: true;
24
+ };
25
+ };
26
+ type __VLS_WithDefaults<P, D> = {
27
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
28
+ default: D[K];
29
+ } : P[K];
30
+ };
31
+ type __VLS_WithTemplateSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1,2 @@
1
+ import SolApplicationsBackoffice from './ApplicationsBackoffice.vue';
2
+ export { SolApplicationsBackoffice, };
@@ -0,0 +1,36 @@
1
+ import type { ApplicationsBackofficeMenu } from './types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ block?: ApplicationsBackofficeMenu['block'];
4
+ applications?: import("./types").ApplicationBackofficeMenuOption[] | undefined;
5
+ }>, {
6
+ block: boolean;
7
+ applications: () => never[];
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ logout: () => void;
10
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
+ block?: ApplicationsBackofficeMenu['block'];
12
+ applications?: import("./types").ApplicationBackofficeMenuOption[] | undefined;
13
+ }>, {
14
+ block: boolean;
15
+ applications: () => never[];
16
+ }>>> & {
17
+ onLogout?: (() => any) | undefined;
18
+ }, {
19
+ block: boolean;
20
+ applications: ApplicationsBackofficeMenu['applications'];
21
+ }>;
22
+ export default _default;
23
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
+ type __VLS_TypePropsToRuntimeProps<T> = {
25
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
26
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
+ } : {
28
+ type: import('vue').PropType<T[K]>;
29
+ required: true;
30
+ };
31
+ };
32
+ type __VLS_WithDefaults<P, D> = {
33
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
34
+ default: D[K];
35
+ } : P[K];
36
+ };
@@ -0,0 +1,2 @@
1
+ import SolApplicationsBackofficeMenu from './ApplicationsBackofficeMenu.vue';
2
+ export { SolApplicationsBackofficeMenu, };
@@ -0,0 +1,16 @@
1
+ import type { FunctionalComponent, SVGAttributes } from "vue";
2
+ import type { NuxtLinkResolved } from "@/types";
3
+ export type ApplicationBackofficeMenuOption = {
4
+ id: string;
5
+ label: string;
6
+ icon?: FunctionalComponent<SVGAttributes>;
7
+ tag?: 'a' | 'router-link' | NuxtLinkResolved;
8
+ linkProp?: 'href' | 'to';
9
+ link?: string;
10
+ current: boolean;
11
+ action?: () => void;
12
+ };
13
+ export type ApplicationsBackofficeMenu = {
14
+ block?: boolean;
15
+ applications: ApplicationBackofficeMenuOption[];
16
+ };
@@ -0,0 +1,4 @@
1
+ import type { ApplicationsBackofficeMenu } from "./menu/types";
2
+ export type ApplicationsBackoffice = {
3
+ applications: ApplicationsBackofficeMenu['applications'];
4
+ };
@@ -0,0 +1,2 @@
1
+ import SolHeaderBackoffice from './HeaderBackoffice.vue';
2
+ export { SolHeaderBackoffice, };
@@ -0,0 +1,41 @@
1
+ import type { UserInfoBackoffice } from './types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ user?: import("../../types").User | undefined;
4
+ options?: UserInfoBackoffice['options'];
5
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ toggleMenu: (value: boolean) => void;
7
+ } & {
8
+ logout: () => void;
9
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
+ user?: import("../../types").User | undefined;
11
+ options?: UserInfoBackoffice['options'];
12
+ }>>> & {
13
+ onToggleMenu?: ((value: boolean) => any) | undefined;
14
+ onLogout?: (() => any) | undefined;
15
+ }, {}>, {
16
+ 'user-info': (_: {
17
+ user: import("../../types").User | undefined;
18
+ toggle: () => void;
19
+ }) => any;
20
+ 'menu-content-desktop': (_: {}) => any;
21
+ 'menu-content': (_: {}) => any;
22
+ 'menu-content-sideover': (_: {}) => any;
23
+ 'header-sideover': (_: {}) => any;
24
+ 'body-sideover': (_: {}) => any;
25
+ 'footer-sideover': (_: {}) => any;
26
+ }>;
27
+ export default _default;
28
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ type __VLS_TypePropsToRuntimeProps<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: import('vue').PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
37
+ type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -0,0 +1,2 @@
1
+ import SolUserInfoBackoffice from './UserInfoBackoffice.vue';
2
+ export { SolUserInfoBackoffice, };
@@ -0,0 +1,41 @@
1
+ import type { UserInfoMenu } from './types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ block?: UserInfoMenu['block'];
4
+ options?: import("./types").UserInfoMenuOption[] | undefined;
5
+ mode?: UserInfoMenu['mode'];
6
+ }>, {
7
+ block: boolean;
8
+ options: () => never[];
9
+ mode: string;
10
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ logout: () => void;
12
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
+ block?: UserInfoMenu['block'];
14
+ options?: import("./types").UserInfoMenuOption[] | undefined;
15
+ mode?: UserInfoMenu['mode'];
16
+ }>, {
17
+ block: boolean;
18
+ options: () => never[];
19
+ mode: string;
20
+ }>>> & {
21
+ onLogout?: (() => any) | undefined;
22
+ }, {
23
+ mode: "header" | "sidebar";
24
+ options: UserInfoMenu['options'];
25
+ block: boolean;
26
+ }>;
27
+ export default _default;
28
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ type __VLS_TypePropsToRuntimeProps<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: import('vue').PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
37
+ type __VLS_WithDefaults<P, D> = {
38
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
39
+ default: D[K];
40
+ } : P[K];
41
+ };
@@ -0,0 +1,2 @@
1
+ import SolUserInfoBackofficeMenu from './UserInfoBackofficeMenu.vue';
2
+ export { SolUserInfoBackofficeMenu, };
@@ -0,0 +1,12 @@
1
+ import type { FunctionalComponent, SVGAttributes } from "vue";
2
+ export type UserInfoMenuOption = {
3
+ id: string;
4
+ label: string;
5
+ icon: FunctionalComponent<SVGAttributes>;
6
+ action?: () => void;
7
+ };
8
+ export type UserInfoMenu = {
9
+ block?: boolean;
10
+ options: UserInfoMenuOption[];
11
+ mode?: 'header' | 'sidebar';
12
+ };
@@ -0,0 +1,6 @@
1
+ import type { User } from "../../types";
2
+ import type { UserInfoMenu } from "./menu/types";
3
+ export type UserInfoBackoffice = {
4
+ user: User;
5
+ options?: UserInfoMenu['options'];
6
+ };
@@ -46,7 +46,7 @@ export interface NotificationsList {
46
46
  }
47
47
  export interface Product {
48
48
  id: 'portal' | 'shop' | 'financing' | 'ampera';
49
- icon?: FunctionalComponent<SVGAttributes, {}>;
49
+ icon?: FunctionalComponent<SVGAttributes>;
50
50
  title: string;
51
51
  action?: Function;
52
52
  }
@@ -0,0 +1,18 @@
1
+ import type { ApplicationBackofficeMenuOption } from '../headers/header-backoffice/applications/menu/types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ application: ApplicationBackofficeMenuOption;
4
+ mode: 'sidebar' | 'header';
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
+ application: ApplicationBackofficeMenuOption;
7
+ mode: 'sidebar' | 'header';
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,2 @@
1
+ import SolItemApplication from './ItemApplication.vue';
2
+ export { SolItemApplication, };
@@ -3,7 +3,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
3
3
  id: Link['id'];
4
4
  text?: Link['text'];
5
5
  to?: Link['to'];
6
- component?: "a" | "router-link" | (import("vue").ComponentOptions<{}, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, any, any, any> | import("vue").FunctionalComponent<{}, any>) | undefined;
6
+ component?: "a" | import("../../types").NuxtLinkResolved | "router-link" | undefined;
7
7
  size?: "large" | "medium" | undefined;
8
8
  onColor?: Link['onColor'];
9
9
  external?: Link['external'];
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
15
15
  id: Link['id'];
16
16
  text?: Link['text'];
17
17
  to?: Link['to'];
18
- component?: "a" | "router-link" | (import("vue").ComponentOptions<{}, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, any, any, any> | import("vue").FunctionalComponent<{}, any>) | undefined;
18
+ component?: "a" | import("../../types").NuxtLinkResolved | "router-link" | undefined;
19
19
  size?: "large" | "medium" | undefined;
20
20
  onColor?: Link['onColor'];
21
21
  external?: Link['external'];
@@ -1,4 +1,4 @@
1
- import type { resolveComponent } from "vue";
1
+ import type { NuxtLinkResolved } from "@/types";
2
2
  export interface LinkTo {
3
3
  path: string;
4
4
  force?: boolean;
@@ -9,7 +9,6 @@ export interface LinkTo {
9
9
  replace?: false;
10
10
  state?: string;
11
11
  }
12
- type NuxtLinkResolved = Exclude<ReturnType<typeof resolveComponent>, string>;
13
12
  export interface Link {
14
13
  id: string;
15
14
  component: 'router-link' | 'a' | NuxtLinkResolved;
@@ -19,4 +18,3 @@ export interface Link {
19
18
  size: 'medium' | 'large';
20
19
  onColor?: boolean;
21
20
  }
22
- export {};
@@ -5,14 +5,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
5
5
  }>, {
6
6
  label: string;
7
7
  position: string;
8
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ toggleMenu: (value: boolean) => void;
10
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
11
  id: string;
10
12
  label?: string | undefined;
11
13
  position?: (("center" | "bottom" | "top") | ("left" | "right")) | undefined;
12
14
  }>, {
13
15
  label: string;
14
16
  position: string;
15
- }>>>, {
17
+ }>>> & {
18
+ onToggleMenu?: ((value: boolean) => any) | undefined;
19
+ }, {
16
20
  label: string;
17
21
  position: ("center" | "bottom" | "top") | ("left" | "right");
18
22
  }>, {
@@ -1,7 +1,7 @@
1
- import type { FunctionalComponent, SVGAttributes, resolveComponent } from "vue";
2
- export type NuxtLinkResolved = Exclude<ReturnType<typeof resolveComponent>, string>;
1
+ import type { FunctionalComponent, SVGAttributes } from "vue";
2
+ import type { NuxtLinkResolved } from "@/types";
3
3
  export interface Link {
4
- icon?: FunctionalComponent<SVGAttributes, {}>;
4
+ icon?: FunctionalComponent<SVGAttributes>;
5
5
  name: string;
6
6
  href: string;
7
7
  hrefProp: 'to' | 'href';
@@ -9,14 +9,14 @@ export interface Link {
9
9
  target?: '_blank' | '_self' | '_parent' | '_top';
10
10
  }
11
11
  export interface Items {
12
- icon?: FunctionalComponent<SVGAttributes, {}>;
12
+ icon?: FunctionalComponent<SVGAttributes>;
13
13
  name: string;
14
14
  isActive: boolean;
15
15
  action: Function;
16
16
  }
17
17
  export interface Product {
18
18
  id: 'portal' | 'shop' | 'financing' | 'ampera';
19
- icon?: FunctionalComponent<SVGAttributes, {}>;
19
+ icon?: FunctionalComponent<SVGAttributes>;
20
20
  title: string;
21
21
  action?: Function;
22
22
  }
@@ -0,0 +1,50 @@
1
+ import type { SidebarBackofficeItemMenu } from "./types";
2
+ import type { ApplicationBackofficeMenuOption } from '@/components/headers/header-backoffice/applications/menu/types';
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ menus?: SidebarBackofficeItemMenu[] | undefined;
5
+ applications: ApplicationBackofficeMenuOption[];
6
+ open?: boolean | undefined;
7
+ titleApplications?: string | undefined;
8
+ }>, {
9
+ titleApplications: string;
10
+ open: boolean;
11
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
+ menus?: SidebarBackofficeItemMenu[] | undefined;
13
+ applications: ApplicationBackofficeMenuOption[];
14
+ open?: boolean | undefined;
15
+ titleApplications?: string | undefined;
16
+ }>, {
17
+ titleApplications: string;
18
+ open: boolean;
19
+ }>>>, {
20
+ open: boolean;
21
+ titleApplications: string;
22
+ }>, Record<string, (_: {
23
+ menu: SidebarBackofficeItemMenu;
24
+ isActive: boolean;
25
+ }) => any> & {
26
+ header: (_: {}) => any;
27
+ menu: (_: {}) => any;
28
+ 'header-applications': (_: {}) => any;
29
+ 'title-applications': (_: {}) => any;
30
+ }>;
31
+ export default _default;
32
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
+ type __VLS_TypePropsToRuntimeProps<T> = {
34
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
35
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
+ } : {
37
+ type: import('vue').PropType<T[K]>;
38
+ required: true;
39
+ };
40
+ };
41
+ type __VLS_WithDefaults<P, D> = {
42
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
43
+ default: D[K];
44
+ } : P[K];
45
+ };
46
+ type __VLS_WithTemplateSlots<T, S> = T & {
47
+ new (): {
48
+ $slots: S;
49
+ };
50
+ };
@@ -0,0 +1,2 @@
1
+ import SolSidebarBackoffice from './SidebarBackoffice.vue';
2
+ export { SolSidebarBackoffice, };
@@ -0,0 +1,10 @@
1
+ import type { FunctionalComponent, SVGAttributes } from "vue";
2
+ import type { NuxtLinkResolved } from "@/types";
3
+ export type SidebarBackofficeItemMenu = {
4
+ id: string;
5
+ icon: FunctionalComponent<SVGAttributes>;
6
+ label: string;
7
+ tag: 'a' | 'router-link' | NuxtLinkResolved;
8
+ linkProp: 'href' | 'to';
9
+ link: string;
10
+ };
@@ -0,0 +1,55 @@
1
+ import type { Sideover } from './types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ block?: Sideover['block'];
4
+ open: Sideover['open'];
5
+ position?: Sideover['position'];
6
+ overlay?: Sideover['overlay'];
7
+ gap?: Sideover['gap'];
8
+ }>, {
9
+ block: boolean;
10
+ position: string;
11
+ overlay: boolean;
12
+ gap: string;
13
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "click:overlay": () => void;
15
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
+ block?: Sideover['block'];
17
+ open: Sideover['open'];
18
+ position?: Sideover['position'];
19
+ overlay?: Sideover['overlay'];
20
+ gap?: Sideover['gap'];
21
+ }>, {
22
+ block: boolean;
23
+ position: string;
24
+ overlay: boolean;
25
+ gap: string;
26
+ }>>> & {
27
+ "onClick:overlay"?: (() => any) | undefined;
28
+ }, {
29
+ position: "left" | "right";
30
+ block: boolean;
31
+ overlay: boolean;
32
+ gap: string;
33
+ }>, {
34
+ default: (_: {}) => any;
35
+ }>;
36
+ export default _default;
37
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
+ type __VLS_TypePropsToRuntimeProps<T> = {
39
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
40
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
41
+ } : {
42
+ type: import('vue').PropType<T[K]>;
43
+ required: true;
44
+ };
45
+ };
46
+ type __VLS_WithDefaults<P, D> = {
47
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
48
+ default: D[K];
49
+ } : P[K];
50
+ };
51
+ type __VLS_WithTemplateSlots<T, S> = T & {
52
+ new (): {
53
+ $slots: S;
54
+ };
55
+ };
@@ -0,0 +1,2 @@
1
+ import SolSideover from './Sideover.vue';
2
+ export { SolSideover, };