@solfacil/girassol 0.37.1 → 0.39.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.
@@ -36,6 +36,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
36
36
  options: () => never[];
37
37
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
38
38
  closeDropdown: () => void;
39
+ } & {
40
+ openDropdown: () => void;
39
41
  } & {
40
42
  search: (value: string) => void;
41
43
  } & {
@@ -79,6 +81,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
79
81
  "onUpdate:selected"?: ((value: Option | Option[] | undefined) => any) | undefined;
80
82
  onSearch?: ((value: string) => any) | undefined;
81
83
  onCloseDropdown?: (() => any) | undefined;
84
+ onOpenDropdown?: (() => any) | undefined;
82
85
  }, {
83
86
  size: import("./types").Size;
84
87
  loading: boolean;
@@ -1,18 +1,20 @@
1
- import type { NotificationsList, Partner, User } from './types';
1
+ import type { NotificationsList, Partner, Product, User } from './types';
2
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
3
  umPersonification?: boolean | undefined;
7
4
  inPersonification?: boolean | undefined;
8
5
  menuProducts?: boolean | undefined;
9
6
  showNotification?: boolean | undefined;
7
+ mobileWhite?: boolean | undefined;
8
+ user: User;
9
+ partner: Partner;
10
+ product: Product;
10
11
  notifications?: NotificationsList | undefined;
11
12
  }>, {
12
13
  umPersonification: boolean;
13
14
  inPersonification: boolean;
14
- showNotification: boolean;
15
15
  menuProducts: boolean;
16
+ showNotification: boolean;
17
+ mobileWhite: boolean;
16
18
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
19
  clickMenu: () => void;
18
20
  } & {
@@ -23,37 +25,37 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
23
25
  clickProduct: (product: string) => void;
24
26
  } & {
25
27
  clickSolfacilPlus: () => void;
26
- } & {
27
- homePortal: () => void;
28
28
  } & {
29
29
  clickNotification: (event: object) => void;
30
30
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
31
- user: User;
32
- partner: Partner;
33
- product: 'sales' | 'financing' | 'monitoring' | 'shop' | 'portal';
34
31
  umPersonification?: boolean | undefined;
35
32
  inPersonification?: boolean | undefined;
36
33
  menuProducts?: boolean | undefined;
37
34
  showNotification?: boolean | undefined;
35
+ mobileWhite?: boolean | undefined;
36
+ user: User;
37
+ partner: Partner;
38
+ product: Product;
38
39
  notifications?: NotificationsList | undefined;
39
40
  }>, {
40
41
  umPersonification: boolean;
41
42
  inPersonification: boolean;
42
- showNotification: boolean;
43
43
  menuProducts: boolean;
44
+ showNotification: boolean;
45
+ mobileWhite: boolean;
44
46
  }>>> & {
45
47
  onClickProduct?: ((product: string) => any) | undefined;
46
48
  onClickUser?: ((event: string) => any) | undefined;
47
49
  onClickSolfacilPlus?: (() => any) | undefined;
48
50
  onClickLogout?: (() => any) | undefined;
49
51
  onClickMenu?: (() => any) | undefined;
50
- onHomePortal?: (() => any) | undefined;
51
52
  onClickNotification?: ((event: object) => any) | undefined;
52
53
  }, {
53
54
  umPersonification: boolean;
54
55
  inPersonification: boolean;
55
56
  menuProducts: boolean;
56
57
  showNotification: boolean;
58
+ mobileWhite: boolean;
57
59
  }>, {
58
60
  icon: (_: {}) => any;
59
61
  }>;
@@ -1,7 +1,7 @@
1
1
  import type { Notification, NotificationsList } from '../types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  notifications?: NotificationsList | undefined;
4
- product: string;
4
+ white: boolean;
5
5
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
6
  moreNotification: (cursor: string) => void;
7
7
  } & {
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
10
10
  goToNotification: (notification: Notification) => void;
11
11
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
12
12
  notifications?: NotificationsList | undefined;
13
- product: string;
13
+ white: boolean;
14
14
  }>>> & {
15
15
  onMoreNotification?: ((cursor: string) => any) | undefined;
16
16
  onGoToNotification?: ((notification: Notification) => any) | undefined;
@@ -1,9 +1,10 @@
1
+ import type { Product } from '../types';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- product: string;
3
+ product: Product;
3
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
5
  clickProduct: (product: string) => void;
5
6
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
- product: string;
7
+ product: Product;
7
8
  }>>> & {
8
9
  onClickProduct?: ((product: string) => any) | undefined;
9
10
  }, {}>;
@@ -1,9 +1,10 @@
1
+ import type { Product } from '../types';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- readonly product: string;
3
+ product: Product;
3
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
5
  clickProduct: (product: string) => void;
5
6
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
- readonly product: string;
7
+ product: Product;
7
8
  }>>> & {
8
9
  onClickProduct?: ((product: string) => any) | undefined;
9
10
  }, {}>;
@@ -1,3 +1,4 @@
1
+ import type { FunctionalComponent, SVGAttributes } from 'vue';
1
2
  export interface ProductOptions {
2
3
  id: string;
3
4
  text: string;
@@ -43,3 +44,9 @@ export interface NotificationsList {
43
44
  nextCursor: string;
44
45
  data: Notification[];
45
46
  }
47
+ export interface Product {
48
+ id: 'portal' | 'shop' | 'financing' | 'ampera';
49
+ icon?: FunctionalComponent<SVGAttributes, {}>;
50
+ title: string;
51
+ action?: Function;
52
+ }
@@ -0,0 +1,35 @@
1
+ import type { Items } from './types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ isCollapsedMenu?: boolean | undefined;
4
+ items: Items[];
5
+ white: boolean;
6
+ }>, {
7
+ isCollapsedMenu: boolean;
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ clickMenuItem: () => void;
10
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
+ isCollapsedMenu?: boolean | undefined;
12
+ items: Items[];
13
+ white: boolean;
14
+ }>, {
15
+ isCollapsedMenu: boolean;
16
+ }>>> & {
17
+ onClickMenuItem?: (() => any) | undefined;
18
+ }, {
19
+ isCollapsedMenu: boolean;
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
+ };
31
+ type __VLS_WithDefaults<P, D> = {
32
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
33
+ default: D[K];
34
+ } : P[K];
35
+ };
@@ -0,0 +1,27 @@
1
+ import type { Product } from './types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ isOpenedProductMenu: boolean;
4
+ product: Product;
5
+ white: boolean;
6
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ clickProduct: (product: string) => void;
8
+ } & {
9
+ clickOpenMenu: () => void;
10
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
11
+ isOpenedProductMenu: boolean;
12
+ product: Product;
13
+ white: boolean;
14
+ }>>> & {
15
+ onClickProduct?: ((product: string) => any) | undefined;
16
+ onClickOpenMenu?: (() => any) | undefined;
17
+ }, {}>;
18
+ export default _default;
19
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
+ type __VLS_TypePropsToRuntimeProps<T> = {
21
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
22
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
+ } : {
24
+ type: import('vue').PropType<T[K]>;
25
+ required: true;
26
+ };
27
+ };
@@ -0,0 +1,48 @@
1
+ import type { Items, Product } from './types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ isOpenMobileSidebar?: boolean | undefined;
4
+ onlyMobile?: boolean | undefined;
5
+ white?: boolean | undefined;
6
+ items: Items[];
7
+ product: Product;
8
+ }>, {
9
+ onlyMobile: boolean;
10
+ white: boolean;
11
+ isOpenMobileSidebar: boolean;
12
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ clickProduct: (product: string) => void;
14
+ } & {
15
+ clickMenu: () => void;
16
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
17
+ isOpenMobileSidebar?: boolean | undefined;
18
+ onlyMobile?: boolean | undefined;
19
+ white?: boolean | undefined;
20
+ items: Items[];
21
+ product: Product;
22
+ }>, {
23
+ onlyMobile: boolean;
24
+ white: boolean;
25
+ isOpenMobileSidebar: boolean;
26
+ }>>> & {
27
+ onClickProduct?: ((product: string) => any) | undefined;
28
+ onClickMenu?: (() => any) | undefined;
29
+ }, {
30
+ white: boolean;
31
+ isOpenMobileSidebar: boolean;
32
+ onlyMobile: boolean;
33
+ }>;
34
+ export default _default;
35
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
+ type __VLS_TypePropsToRuntimeProps<T> = {
37
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
38
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
+ } : {
40
+ type: import('vue').PropType<T[K]>;
41
+ required: true;
42
+ };
43
+ };
44
+ type __VLS_WithDefaults<P, D> = {
45
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
46
+ default: D[K];
47
+ } : P[K];
48
+ };
@@ -0,0 +1,2 @@
1
+ import SolSidebar from './Sidebar.vue';
2
+ export { SolSidebar, };
@@ -0,0 +1,13 @@
1
+ import type { FunctionalComponent, SVGAttributes } from "vue";
2
+ export interface Items {
3
+ icon?: FunctionalComponent<SVGAttributes, {}>;
4
+ name: string;
5
+ isActive: boolean;
6
+ action: Function;
7
+ }
8
+ export interface Product {
9
+ id: 'portal' | 'shop' | 'financing' | 'ampera';
10
+ icon?: FunctionalComponent<SVGAttributes, {}>;
11
+ title: string;
12
+ action?: Function;
13
+ }
@@ -0,0 +1,9 @@
1
+ import type { Component } from 'vue';
2
+ export declare function useProductList(): {
3
+ productsList: {
4
+ id: string;
5
+ to: string;
6
+ icon: Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
7
+ title: string;
8
+ }[];
9
+ };
@@ -31,6 +31,7 @@ import { SolBreadcrumb } from './components/breadcrumb';
31
31
  import { SolDivider } from './components/divider';
32
32
  import { SolLink } from './components/link/';
33
33
  import { SolHeader } from './components/header/';
34
+ import { SolSidebar } from './components/sidebar/';
34
35
  import 'virtual:windi-base.css';
35
36
  import 'virtual:windi-components.css';
36
37
  import 'virtual:windi-utilities.css';
@@ -41,6 +42,7 @@ export { useMask, vMask } from './composables/use-mask';
41
42
  export { useNavigate, useNavigateProvider } from './composables/use-navigate';
42
43
  export { useSelectableChip } from './composables/use-filters';
43
44
  export { default as useDownload } from './composables/use-download';
45
+ export { useProductList } from './composables/use-products';
44
46
  export declare const components: {
45
47
  SolButton: {
46
48
  new (...args: any[]): {
@@ -2287,6 +2289,7 @@ export declare const components: {
2287
2289
  "onUpdate:selected"?: ((value: import("./components/forms/select/types").Option | import("./components/forms/select/types").Option[] | undefined) => any) | undefined;
2288
2290
  onSearch?: ((value: string) => any) | undefined;
2289
2291
  onCloseDropdown?: (() => any) | undefined;
2292
+ onOpenDropdown?: (() => any) | undefined;
2290
2293
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "loading" | "error" | "multiple" | "placeholder" | "options" | "dropdownPosition" | "searchable" | "closeOnSelect" | "fetchOnSearch" | "searchPlaceholder">;
2291
2294
  $attrs: {
2292
2295
  [x: string]: unknown;
@@ -2299,7 +2302,7 @@ export declare const components: {
2299
2302
  }>;
2300
2303
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
2301
2304
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
2302
- $emit: ((event: "search", value: string) => void) & ((event: "update:selected", value: import("./components/forms/select/types").Option | import("./components/forms/select/types").Option[] | undefined) => void) & ((event: "closeDropdown") => void);
2305
+ $emit: ((event: "search", value: string) => void) & ((event: "update:selected", value: import("./components/forms/select/types").Option | import("./components/forms/select/types").Option[] | undefined) => void) & ((event: "closeDropdown") => void) & ((event: "openDropdown") => void);
2303
2306
  $el: any;
2304
2307
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
2305
2308
  id: {
@@ -2399,8 +2402,11 @@ export declare const components: {
2399
2402
  "onUpdate:selected"?: ((value: import("./components/forms/select/types").Option | import("./components/forms/select/types").Option[] | undefined) => any) | undefined;
2400
2403
  onSearch?: ((value: string) => any) | undefined;
2401
2404
  onCloseDropdown?: (() => any) | undefined;
2405
+ onOpenDropdown?: (() => any) | undefined;
2402
2406
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2403
2407
  closeDropdown: () => void;
2408
+ } & {
2409
+ openDropdown: () => void;
2404
2410
  } & {
2405
2411
  search: (value: string) => void;
2406
2412
  } & {
@@ -2535,6 +2541,7 @@ export declare const components: {
2535
2541
  "onUpdate:selected"?: ((value: import("./components/forms/select/types").Option | import("./components/forms/select/types").Option[] | undefined) => any) | undefined;
2536
2542
  onSearch?: ((value: string) => any) | undefined;
2537
2543
  onCloseDropdown?: (() => any) | undefined;
2544
+ onOpenDropdown?: (() => any) | undefined;
2538
2545
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
2539
2546
  __isFragment?: undefined;
2540
2547
  __isTeleport?: undefined;
@@ -2637,8 +2644,11 @@ export declare const components: {
2637
2644
  "onUpdate:selected"?: ((value: import("./components/forms/select/types").Option | import("./components/forms/select/types").Option[] | undefined) => any) | undefined;
2638
2645
  onSearch?: ((value: string) => any) | undefined;
2639
2646
  onCloseDropdown?: (() => any) | undefined;
2647
+ onOpenDropdown?: (() => any) | undefined;
2640
2648
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2641
2649
  closeDropdown: () => void;
2650
+ } & {
2651
+ openDropdown: () => void;
2642
2652
  } & {
2643
2653
  search: (value: string) => void;
2644
2654
  } & {
@@ -6052,9 +6062,10 @@ export declare const components: {
6052
6062
  inPersonification: boolean;
6053
6063
  menuProducts: boolean;
6054
6064
  showNotification: boolean;
6065
+ mobileWhite: boolean;
6055
6066
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
6056
6067
  product: {
6057
- type: import("vue").PropType<"portal" | "shop" | "financing" | "monitoring" | "sales">;
6068
+ type: import("vue").PropType<import("./components/header/types").Product>;
6058
6069
  required: true;
6059
6070
  };
6060
6071
  user: {
@@ -6088,15 +6099,19 @@ export declare const components: {
6088
6099
  } & {
6089
6100
  default: boolean;
6090
6101
  };
6102
+ mobileWhite: {
6103
+ type: import("vue").PropType<boolean>;
6104
+ } & {
6105
+ default: boolean;
6106
+ };
6091
6107
  }>> & {
6092
6108
  onClickProduct?: ((product: string) => any) | undefined;
6093
6109
  onClickUser?: ((event: string) => any) | undefined;
6094
6110
  onClickSolfacilPlus?: (() => any) | undefined;
6095
6111
  onClickLogout?: (() => any) | undefined;
6096
6112
  onClickMenu?: (() => any) | undefined;
6097
- onHomePortal?: (() => any) | undefined;
6098
6113
  onClickNotification?: ((event: object) => any) | undefined;
6099
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "umPersonification" | "inPersonification" | "menuProducts" | "showNotification">;
6114
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "umPersonification" | "inPersonification" | "menuProducts" | "showNotification" | "mobileWhite">;
6100
6115
  $attrs: {
6101
6116
  [x: string]: unknown;
6102
6117
  };
@@ -6108,11 +6123,11 @@ export declare const components: {
6108
6123
  }>;
6109
6124
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
6110
6125
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
6111
- $emit: ((event: "clickProduct", product: string) => void) & ((event: "clickUser", event: string) => void) & ((event: "clickSolfacilPlus") => void) & ((event: "clickLogout") => void) & ((event: "clickMenu") => void) & ((event: "homePortal") => void) & ((event: "clickNotification", event: object) => void);
6126
+ $emit: ((event: "clickProduct", product: string) => void) & ((event: "clickUser", event: string) => void) & ((event: "clickSolfacilPlus") => void) & ((event: "clickLogout") => void) & ((event: "clickMenu") => void) & ((event: "clickNotification", event: object) => void);
6112
6127
  $el: any;
6113
6128
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
6114
6129
  product: {
6115
- type: import("vue").PropType<"portal" | "shop" | "financing" | "monitoring" | "sales">;
6130
+ type: import("vue").PropType<import("./components/header/types").Product>;
6116
6131
  required: true;
6117
6132
  };
6118
6133
  user: {
@@ -6146,13 +6161,17 @@ export declare const components: {
6146
6161
  } & {
6147
6162
  default: boolean;
6148
6163
  };
6164
+ mobileWhite: {
6165
+ type: import("vue").PropType<boolean>;
6166
+ } & {
6167
+ default: boolean;
6168
+ };
6149
6169
  }>> & {
6150
6170
  onClickProduct?: ((product: string) => any) | undefined;
6151
6171
  onClickUser?: ((event: string) => any) | undefined;
6152
6172
  onClickSolfacilPlus?: (() => any) | undefined;
6153
6173
  onClickLogout?: (() => any) | undefined;
6154
6174
  onClickMenu?: (() => any) | undefined;
6155
- onHomePortal?: (() => any) | undefined;
6156
6175
  onClickNotification?: ((event: object) => any) | undefined;
6157
6176
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6158
6177
  clickMenu: () => void;
@@ -6164,8 +6183,6 @@ export declare const components: {
6164
6183
  clickProduct: (product: string) => void;
6165
6184
  } & {
6166
6185
  clickSolfacilPlus: () => void;
6167
- } & {
6168
- homePortal: () => void;
6169
6186
  } & {
6170
6187
  clickNotification: (event: object) => void;
6171
6188
  }, string, {
@@ -6173,6 +6190,7 @@ export declare const components: {
6173
6190
  inPersonification: boolean;
6174
6191
  menuProducts: boolean;
6175
6192
  showNotification: boolean;
6193
+ mobileWhite: boolean;
6176
6194
  }, {}, string> & {
6177
6195
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
6178
6196
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -6195,7 +6213,7 @@ export declare const components: {
6195
6213
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
6196
6214
  } & Readonly<import("vue").ExtractPropTypes<{
6197
6215
  product: {
6198
- type: import("vue").PropType<"portal" | "shop" | "financing" | "monitoring" | "sales">;
6216
+ type: import("vue").PropType<import("./components/header/types").Product>;
6199
6217
  required: true;
6200
6218
  };
6201
6219
  user: {
@@ -6229,13 +6247,17 @@ export declare const components: {
6229
6247
  } & {
6230
6248
  default: boolean;
6231
6249
  };
6250
+ mobileWhite: {
6251
+ type: import("vue").PropType<boolean>;
6252
+ } & {
6253
+ default: boolean;
6254
+ };
6232
6255
  }>> & {
6233
6256
  onClickProduct?: ((product: string) => any) | undefined;
6234
6257
  onClickUser?: ((event: string) => any) | undefined;
6235
6258
  onClickSolfacilPlus?: (() => any) | undefined;
6236
6259
  onClickLogout?: (() => any) | undefined;
6237
6260
  onClickMenu?: (() => any) | undefined;
6238
- onHomePortal?: (() => any) | undefined;
6239
6261
  onClickNotification?: ((event: object) => any) | undefined;
6240
6262
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
6241
6263
  __isFragment?: undefined;
@@ -6243,7 +6265,7 @@ export declare const components: {
6243
6265
  __isSuspense?: undefined;
6244
6266
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
6245
6267
  product: {
6246
- type: import("vue").PropType<"portal" | "shop" | "financing" | "monitoring" | "sales">;
6268
+ type: import("vue").PropType<import("./components/header/types").Product>;
6247
6269
  required: true;
6248
6270
  };
6249
6271
  user: {
@@ -6277,13 +6299,17 @@ export declare const components: {
6277
6299
  } & {
6278
6300
  default: boolean;
6279
6301
  };
6302
+ mobileWhite: {
6303
+ type: import("vue").PropType<boolean>;
6304
+ } & {
6305
+ default: boolean;
6306
+ };
6280
6307
  }>> & {
6281
6308
  onClickProduct?: ((product: string) => any) | undefined;
6282
6309
  onClickUser?: ((event: string) => any) | undefined;
6283
6310
  onClickSolfacilPlus?: (() => any) | undefined;
6284
6311
  onClickLogout?: (() => any) | undefined;
6285
6312
  onClickMenu?: (() => any) | undefined;
6286
- onHomePortal?: (() => any) | undefined;
6287
6313
  onClickNotification?: ((event: object) => any) | undefined;
6288
6314
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6289
6315
  clickMenu: () => void;
@@ -6295,8 +6321,6 @@ export declare const components: {
6295
6321
  clickProduct: (product: string) => void;
6296
6322
  } & {
6297
6323
  clickSolfacilPlus: () => void;
6298
- } & {
6299
- homePortal: () => void;
6300
6324
  } & {
6301
6325
  clickNotification: (event: object) => void;
6302
6326
  }, string, {
@@ -6304,11 +6328,72 @@ export declare const components: {
6304
6328
  inPersonification: boolean;
6305
6329
  menuProducts: boolean;
6306
6330
  showNotification: boolean;
6331
+ mobileWhite: boolean;
6307
6332
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
6308
6333
  $slots: {
6309
6334
  icon: (_: {}) => any;
6310
6335
  };
6311
6336
  });
6337
+ SolSidebar: import("vue").DefineComponent<{
6338
+ items: {
6339
+ type: import("vue").PropType<import("./components/sidebar/types").Items[]>;
6340
+ required: true;
6341
+ };
6342
+ product: {
6343
+ type: import("vue").PropType<import("./components/sidebar/types").Product>;
6344
+ required: true;
6345
+ };
6346
+ white: {
6347
+ type: import("vue").PropType<boolean>;
6348
+ } & {
6349
+ default: boolean;
6350
+ };
6351
+ isOpenMobileSidebar: {
6352
+ type: import("vue").PropType<boolean>;
6353
+ } & {
6354
+ default: boolean;
6355
+ };
6356
+ onlyMobile: {
6357
+ type: import("vue").PropType<boolean>;
6358
+ } & {
6359
+ default: boolean;
6360
+ };
6361
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6362
+ clickProduct: (product: string) => void;
6363
+ } & {
6364
+ clickMenu: () => void;
6365
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6366
+ items: {
6367
+ type: import("vue").PropType<import("./components/sidebar/types").Items[]>;
6368
+ required: true;
6369
+ };
6370
+ product: {
6371
+ type: import("vue").PropType<import("./components/sidebar/types").Product>;
6372
+ required: true;
6373
+ };
6374
+ white: {
6375
+ type: import("vue").PropType<boolean>;
6376
+ } & {
6377
+ default: boolean;
6378
+ };
6379
+ isOpenMobileSidebar: {
6380
+ type: import("vue").PropType<boolean>;
6381
+ } & {
6382
+ default: boolean;
6383
+ };
6384
+ onlyMobile: {
6385
+ type: import("vue").PropType<boolean>;
6386
+ } & {
6387
+ default: boolean;
6388
+ };
6389
+ }>> & {
6390
+ onClickProduct?: ((product: string) => any) | undefined;
6391
+ onClickMenu?: (() => any) | undefined;
6392
+ }, {
6393
+ white: boolean;
6394
+ isOpenMobileSidebar: boolean;
6395
+ onlyMobile: boolean;
6396
+ }>;
6312
6397
  };
6313
6398
  export declare function install(App: App): void;
6314
- export { SolButton, SolButtonDestructive, SolInputTextarea, SolInputCurrency, SolInputText, SolInputTextPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolSelect, SolRemovableChip, SolSelectableChip, SolTag, SolAlert, SolAccordion, SolList, SolTabs, SolMenu, SolMenuItem, SolMenuItemLink, SolMenuNavigationLinks, SolModal, SolOnboarding, SolPagination, SolEmptyState, SolSearch, SolDatePicker, SolCollapsible, SolSteps, SolTextValue, SolFileUpload, SolMenuItemSeparator, SolBreadcrumb, SolDivider, SolLink, SolHeader, };
6399
+ export { SolButton, SolButtonDestructive, SolInputTextarea, SolInputCurrency, SolInputText, SolInputTextPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolSelect, SolRemovableChip, SolSelectableChip, SolTag, SolAlert, SolAccordion, SolList, SolTabs, SolMenu, SolMenuItem, SolMenuItemLink, SolMenuNavigationLinks, SolModal, SolOnboarding, SolPagination, SolEmptyState, SolSearch, SolDatePicker, SolCollapsible, SolSteps, SolTextValue, SolFileUpload, SolMenuItemSeparator, SolBreadcrumb, SolDivider, SolLink, SolHeader, SolSidebar, };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solfacil/girassol",
3
3
  "description": "Girassol design system",
4
- "version": "0.37.1",
4
+ "version": "0.39.0",
5
5
  "license": "MIT",
6
6
  "authors": [
7
7
  {
@@ -1,19 +0,0 @@
1
- import { openBlock as c, createElementBlock as l, createElementVNode as e } from "vue";
2
- const s = {
3
- viewBox: "0 0 1024 1024",
4
- width: "1em",
5
- height: "1em"
6
- }, t = /* @__PURE__ */ e("path", {
7
- fill: "currentColor",
8
- d: "M162.129 836.267c-7.111-7.113-10.667-15.104-10.667-23.979 0-8.905 3.556-16.909 10.667-24.021l254.933-253.867c3.556-4.267 7.637-7.296 12.245-9.088 4.638-1.762 9.442-2.645 14.421-2.645s9.783 0.883 14.421 2.645c4.608 1.792 8.691 4.821 12.245 9.088l144 142.933 278.4-315.733c5.687-7.111 13.154-10.667 22.4-10.667s17.067 3.2 23.467 9.6c5.687 5.689 8.717 12.629 9.088 20.821 0.341 8.163-2.334 15.445-8.021 21.845l-297.6 339.2c-3.554 4.267-7.821 7.65-12.8 10.155-4.979 2.475-9.954 3.712-14.933 3.712s-9.954-0.883-14.933-2.645c-4.979-1.792-9.246-4.821-12.8-9.088l-142.933-141.867-233.6 233.6c-7.111 6.4-15.118 9.771-24.021 10.112-8.875 0.371-16.867-2.999-23.979-10.112zM166.396 544c-3.555 0-6.926-0.883-10.112-2.645-3.214-1.792-5.888-4.467-8.021-8.021l-13.867-32-32-13.867c-3.555-2.133-6.229-4.791-8.021-7.979-1.763-3.213-2.645-6.601-2.645-10.155s0.882-6.942 2.645-10.155c1.792-3.187 4.466-5.845 8.021-7.979l32-13.867 13.867-32c2.133-3.555 4.807-6.229 8.021-8.021 3.186-1.763 6.557-2.645 10.112-2.645s6.941 0.882 10.155 2.645c3.186 1.792 5.845 4.466 7.979 8.021l13.867 32 32 13.867c7.111 3.554 10.667 9.6 10.667 18.133s-3.555 14.579-10.667 18.133l-32 13.867-13.867 32c-2.133 3.554-4.793 6.229-7.979 8.021-3.214 1.762-6.599 2.645-10.155 2.645zM635.729 458.667c-3.554 0-6.925-0.883-10.112-2.645-3.213-1.792-5.888-4.467-8.021-8.021l-13.867-32-32-13.867c-3.554-2.133-6.217-4.793-7.979-7.979-1.792-3.214-2.688-6.599-2.688-10.155s0.896-6.941 2.688-10.155c1.762-3.186 4.425-5.845 7.979-7.979l32-13.867 13.867-32c2.133-3.555 4.809-6.229 8.021-8.021 3.187-1.763 6.558-2.645 10.112-2.645s6.925 0.882 10.112 2.645c3.213 1.792 5.888 4.466 8.021 8.021l13.867 32 32 13.867c4.267 2.133 7.113 4.793 8.533 7.979 1.421 3.214 2.133 6.599 2.133 10.155s-0.713 6.941-2.133 10.155c-1.421 3.186-4.267 5.845-8.533 7.979l-32 13.867-13.867 32c-2.133 3.554-4.809 6.229-8.021 8.021-3.187 1.762-6.558 2.645-10.112 2.645zM358.396 330.667c-3.555 0-6.926-1.067-10.112-3.2-3.214-2.133-5.888-4.978-8.021-8.533l-20.267-45.867-45.867-20.267c-3.555-2.133-6.4-4.807-8.533-8.021-2.133-3.186-3.2-6.557-3.2-10.112s1.067-6.941 3.2-10.155c2.133-3.186 4.978-5.845 8.533-7.979l45.867-20.267 20.267-45.867c2.133-3.555 4.807-6.4 8.021-8.533 3.186-2.133 6.557-3.2 10.112-3.2s6.927 1.067 10.112 3.2c3.215 2.133 5.888 4.978 8.021 8.533l20.267 45.867 45.867 20.267c4.267 2.133 7.296 4.793 9.088 7.979 1.762 3.214 2.645 6.599 2.645 10.155s-0.883 6.926-2.645 10.112c-1.792 3.214-4.821 5.888-9.088 8.021l-45.867 20.267-20.267 45.867c-2.133 3.555-4.807 6.4-8.021 8.533-3.185 2.133-6.556 3.2-10.112 3.2z",
9
- style: {}
10
- }, null, -1), o = [
11
- t
12
- ];
13
- function r(n, a) {
14
- return c(), l("svg", s, o);
15
- }
16
- const i = { name: "girassol-auto-graph", render: r };
17
- export {
18
- i as default
19
- };
@@ -1,16 +0,0 @@
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
- };