@solfacil/girassol 0.28.0 → 0.30.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.
@@ -0,0 +1,69 @@
1
+ import type { Partner, User } from './types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ user: User;
4
+ partner: Partner;
5
+ product: 'sales' | 'financing' | 'monitoring' | 'shop' | 'portal';
6
+ umPersonification?: boolean | undefined;
7
+ inPersonification?: boolean | undefined;
8
+ notification?: boolean | undefined;
9
+ }>, {
10
+ umPersonification: boolean;
11
+ inPersonification: boolean;
12
+ notification: boolean;
13
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ clickMenu: () => void;
15
+ } & {
16
+ clickLogout: () => void;
17
+ } & {
18
+ clickUser: (type: string) => void;
19
+ } & {
20
+ clickProduct: (product: string) => void;
21
+ } & {
22
+ clickSolfacilPlus: () => void;
23
+ } & {
24
+ homePortal: () => void;
25
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
26
+ user: User;
27
+ partner: Partner;
28
+ product: 'sales' | 'financing' | 'monitoring' | 'shop' | 'portal';
29
+ umPersonification?: boolean | undefined;
30
+ inPersonification?: boolean | undefined;
31
+ notification?: boolean | undefined;
32
+ }>, {
33
+ umPersonification: boolean;
34
+ inPersonification: boolean;
35
+ notification: boolean;
36
+ }>>> & {
37
+ onClickProduct?: ((product: string) => any) | undefined;
38
+ onClickUser?: ((type: string) => any) | undefined;
39
+ onClickSolfacilPlus?: (() => any) | undefined;
40
+ onClickLogout?: (() => any) | undefined;
41
+ onClickMenu?: (() => any) | undefined;
42
+ onHomePortal?: (() => any) | undefined;
43
+ }, {
44
+ umPersonification: boolean;
45
+ inPersonification: boolean;
46
+ notification: boolean;
47
+ }>, {
48
+ icon: (_: {}) => any;
49
+ }>;
50
+ export default _default;
51
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
52
+ type __VLS_TypePropsToRuntimeProps<T> = {
53
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
54
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
55
+ } : {
56
+ type: import('vue').PropType<T[K]>;
57
+ required: true;
58
+ };
59
+ };
60
+ type __VLS_WithDefaults<P, D> = {
61
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
62
+ default: D[K];
63
+ } : P[K];
64
+ };
65
+ type __VLS_WithTemplateSlots<T, S> = T & {
66
+ new (): {
67
+ $slots: S;
68
+ };
69
+ };
@@ -0,0 +1,2 @@
1
+ import SolHeader from './Header.vue';
2
+ export { SolHeader, };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1,19 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ product: string;
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ clickProduct: (product: string) => void;
5
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ product: string;
7
+ }>>> & {
8
+ onClickProduct?: ((product: string) => any) | undefined;
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,19 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ readonly product: string;
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ clickProduct: (product: string) => void;
5
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ readonly product: string;
7
+ }>>> & {
8
+ onClickProduct?: ((product: string) => any) | undefined;
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,16 @@
1
+ import type { ProductOptions } from '../types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ products?: ProductOptions[] | undefined;
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
+ products?: ProductOptions[] | undefined;
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,25 @@
1
+ export interface ProductOptions {
2
+ id: string;
3
+ text: string;
4
+ link: string;
5
+ }
6
+ export interface User {
7
+ profile: string;
8
+ completeName: string;
9
+ }
10
+ export interface SolfacilPlus {
11
+ level: string;
12
+ currentScore: string;
13
+ goScore: string;
14
+ nextTransitionDate: string;
15
+ hasRisk: boolean;
16
+ }
17
+ export interface Responsible {
18
+ cellPhone: string;
19
+ noAccountManager: boolean;
20
+ }
21
+ export interface Partner {
22
+ partnerId: number;
23
+ responsible: Responsible;
24
+ solfacilPlus: SolfacilPlus;
25
+ }
@@ -0,0 +1,32 @@
1
+ import type { Partner, User } from '../types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ readonly user: User;
4
+ readonly partner: Partner;
5
+ readonly umPersonification: boolean;
6
+ readonly inPersonification: boolean;
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ clickLogout: () => void;
9
+ } & {
10
+ clickUser: (type: string) => void;
11
+ } & {
12
+ clickSolfacilPlus: () => void;
13
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
14
+ readonly user: User;
15
+ readonly partner: Partner;
16
+ readonly umPersonification: boolean;
17
+ readonly inPersonification: boolean;
18
+ }>>> & {
19
+ onClickUser?: ((type: string) => any) | undefined;
20
+ onClickSolfacilPlus?: (() => any) | undefined;
21
+ onClickLogout?: (() => any) | undefined;
22
+ }, {}>;
23
+ export default _default;
24
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
+ type __VLS_TypePropsToRuntimeProps<T> = {
26
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
27
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
+ } : {
29
+ type: import('vue').PropType<T[K]>;
30
+ required: true;
31
+ };
32
+ };
@@ -0,0 +1,26 @@
1
+ import type { Partner, User } from '../types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ readonly user: User;
4
+ readonly partner: Partner;
5
+ readonly umPersonification: boolean;
6
+ readonly inPersonification: boolean;
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ clickUser: (type: string) => void;
9
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
+ readonly user: User;
11
+ readonly partner: Partner;
12
+ readonly umPersonification: boolean;
13
+ readonly inPersonification: boolean;
14
+ }>>> & {
15
+ onClickUser?: ((type: string) => any) | undefined;
16
+ }, {}>;
17
+ export default _default;
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToRuntimeProps<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
@@ -0,0 +1,32 @@
1
+ import type { Partner, User } from '../types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ user: User;
4
+ partner: Partner;
5
+ umPersonification: boolean;
6
+ inPersonification: boolean;
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ clickLogout: () => void;
9
+ } & {
10
+ clickUser: (type: string) => void;
11
+ } & {
12
+ clickSolfacilPlus: () => void;
13
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
14
+ user: User;
15
+ partner: Partner;
16
+ umPersonification: boolean;
17
+ inPersonification: boolean;
18
+ }>>> & {
19
+ onClickUser?: ((type: string) => any) | undefined;
20
+ onClickSolfacilPlus?: (() => any) | undefined;
21
+ onClickLogout?: (() => any) | undefined;
22
+ }, {}>;
23
+ export default _default;
24
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
+ type __VLS_TypePropsToRuntimeProps<T> = {
26
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
27
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
+ } : {
29
+ type: import('vue').PropType<T[K]>;
30
+ required: true;
31
+ };
32
+ };
@@ -0,0 +1,20 @@
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, {
5
+ clickSolfacilPlus: () => void;
6
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ readonly partner: Partner;
8
+ }>>> & {
9
+ onClickSolfacilPlus?: (() => any) | undefined;
10
+ }, {}>;
11
+ export default _default;
12
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
+ type __VLS_TypePropsToRuntimeProps<T> = {
14
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
15
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
+ } : {
17
+ type: import('vue').PropType<T[K]>;
18
+ required: true;
19
+ };
20
+ };
@@ -0,0 +1,17 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ title: string;
3
+ description: string;
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
+ title: string;
6
+ description: string;
7
+ }>>>, {}>;
8
+ export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solfacil/girassol",
3
3
  "description": "Girassol design system",
4
- "version": "0.28.0",
4
+ "version": "0.30.0",
5
5
  "license": "MIT",
6
6
  "authors": [
7
7
  {