@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.
Files changed (32) hide show
  1. package/dist/components.d.ts +2 -2
  2. package/dist/components.json +1 -1
  3. package/dist/girassol.es.js +10094 -8397
  4. package/dist/girassol.umd.js +11 -11
  5. package/dist/style.css +1 -1
  6. package/dist/types/index.d.ts +470 -47
  7. package/dist/types/templates/header/Header.vue.d.ts +141 -0
  8. package/dist/types/templates/header/HeaderTabMenu.types.d.ts +6 -0
  9. package/dist/types/templates/header/HeaderTabMenu.vue.d.ts +38 -0
  10. package/dist/types/templates/header/actions/ActionsSection.vue.d.ts +79 -0
  11. package/dist/types/templates/header/logo/LogoSection.vue.d.ts +16 -0
  12. package/dist/types/templates/header/menu/Mobile.vue.d.ts +39 -0
  13. package/dist/types/templates/header/notification/Item.vue.d.ts +23 -0
  14. package/dist/types/templates/header/notification/ListDesktop.vue.d.ts +30 -0
  15. package/dist/types/templates/header/notification/ListMobile.vue.d.ts +30 -0
  16. package/dist/types/templates/header/notification/Notification.vue.d.ts +28 -0
  17. package/dist/types/templates/header/products/Desktop.vue.d.ts +18 -0
  18. package/dist/types/templates/header/products/MainItems.vue.d.ts +18 -0
  19. package/dist/types/templates/header/products/Mobile.vue.d.ts +22 -0
  20. package/dist/types/templates/header/search/SearchInput.vue.d.ts +48 -0
  21. package/dist/types/templates/header/support/Mobile.vue.d.ts +22 -0
  22. package/dist/types/templates/header/support/SupportMenu.vue.d.ts +16 -0
  23. package/dist/types/templates/header/tabmenu/TabMenu.vue.d.ts +19 -0
  24. package/dist/types/templates/header/types.d.ts +46 -0
  25. package/dist/types/templates/header/user/Desktop.vue.d.ts +44 -0
  26. package/dist/types/templates/header/user/MenuItems.vue.d.ts +29 -0
  27. package/dist/types/templates/header/user/Mobile.vue.d.ts +49 -0
  28. package/dist/types/templates/header/user/UserMenu.vue.d.ts +49 -0
  29. package/dist/types/templates/index.d.ts +4 -0
  30. package/package.json +1 -1
  31. package/dist/visibility-off.f25ea2aa.mjs +0 -19
  32. package/dist/visibility.8b105a47.mjs +0 -19
@@ -0,0 +1,44 @@
1
+ import type { Partner, User } from '../types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ readonly user: User;
4
+ readonly partner: Partner;
5
+ readonly umPersonification?: boolean | undefined;
6
+ readonly inPersonification?: boolean | undefined;
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ clickLogout: () => void;
9
+ } & {
10
+ clickSolfacilPlus: () => void;
11
+ } & {
12
+ clickTermsConditions: () => void;
13
+ } & {
14
+ clickUser: (type: string) => void;
15
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
16
+ readonly user: User;
17
+ readonly partner: Partner;
18
+ readonly umPersonification?: boolean | undefined;
19
+ readonly inPersonification?: boolean | undefined;
20
+ }>>> & {
21
+ onClickUser?: ((type: string) => any) | undefined;
22
+ onClickSolfacilPlus?: (() => any) | undefined;
23
+ onClickLogout?: (() => any) | undefined;
24
+ onClickTermsConditions?: (() => any) | undefined;
25
+ }, {}>, {
26
+ trigger: (_: {
27
+ isOpen: boolean;
28
+ }) => any;
29
+ }>;
30
+ export default _default;
31
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
+ type __VLS_TypePropsToRuntimeProps<T> = {
33
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
34
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
+ } : {
36
+ type: import('vue').PropType<T[K]>;
37
+ required: true;
38
+ };
39
+ };
40
+ type __VLS_WithTemplateSlots<T, S> = T & {
41
+ new (): {
42
+ $slots: S;
43
+ };
44
+ };
@@ -0,0 +1,29 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ isAdmin: boolean;
3
+ inPersonification?: boolean | undefined;
4
+ umPersonification?: boolean | undefined;
5
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ clickTermsConditions: () => void;
7
+ } & {
8
+ clickLogout: () => void;
9
+ } & {
10
+ clickUser: (type: string) => void;
11
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
12
+ isAdmin: boolean;
13
+ inPersonification?: boolean | undefined;
14
+ umPersonification?: boolean | undefined;
15
+ }>>> & {
16
+ onClickUser?: ((type: string) => any) | undefined;
17
+ onClickLogout?: (() => any) | undefined;
18
+ onClickTermsConditions?: (() => any) | undefined;
19
+ }, {}>;
20
+ export default _default;
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToRuntimeProps<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: import('vue').PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
@@ -0,0 +1,49 @@
1
+ import type { Partner, User } from '../types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ user: User;
4
+ partner: Partner;
5
+ umPersonification?: boolean | undefined;
6
+ inPersonification?: boolean | undefined;
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ clickLogout: () => void;
9
+ } & {
10
+ clickUser: (type: string) => void;
11
+ } & {
12
+ clickSolfacilPlus: () => void;
13
+ } & {
14
+ clickTermsConditions: () => void;
15
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
16
+ user: User;
17
+ partner: Partner;
18
+ umPersonification?: boolean | undefined;
19
+ inPersonification?: boolean | undefined;
20
+ }>>> & {
21
+ onClickUser?: ((type: string) => any) | undefined;
22
+ onClickSolfacilPlus?: (() => any) | undefined;
23
+ onClickLogout?: (() => any) | undefined;
24
+ onClickTermsConditions?: (() => any) | undefined;
25
+ }, {}>, {
26
+ 'user-info-mobile': (_: {
27
+ user: User;
28
+ openMenu: () => void;
29
+ }) => any;
30
+ 'header-mobile': (_: {
31
+ user: User;
32
+ closeMenu: () => void;
33
+ }) => any;
34
+ }>;
35
+ export default _default;
36
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
+ type __VLS_TypePropsToRuntimeProps<T> = {
38
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
39
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
40
+ } : {
41
+ type: import('vue').PropType<T[K]>;
42
+ required: true;
43
+ };
44
+ };
45
+ type __VLS_WithTemplateSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
@@ -0,0 +1,49 @@
1
+ import type { Partner, User } from '../types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ user: User;
4
+ partner: Partner;
5
+ umPersonification?: boolean | undefined;
6
+ inPersonification?: boolean | undefined;
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ clickLogout: () => void;
9
+ } & {
10
+ clickSolfacilPlus: () => void;
11
+ } & {
12
+ clickUser: (event: string) => 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 | undefined;
17
+ inPersonification?: boolean | undefined;
18
+ }>>> & {
19
+ onClickUser?: ((event: string) => any) | undefined;
20
+ onClickSolfacilPlus?: (() => any) | undefined;
21
+ onClickLogout?: (() => any) | undefined;
22
+ }, {}>, {
23
+ 'user-info': (_: {
24
+ user: User;
25
+ }) => any;
26
+ 'user-info-mobile': (_: {
27
+ user: User;
28
+ openMenu: () => void;
29
+ }) => any;
30
+ 'header-mobile': (_: {
31
+ user: User;
32
+ closeMenu: () => void;
33
+ }) => any;
34
+ }>;
35
+ export default _default;
36
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
+ type __VLS_TypePropsToRuntimeProps<T> = {
38
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
39
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
40
+ } : {
41
+ type: import('vue').PropType<T[K]>;
42
+ required: true;
43
+ };
44
+ };
45
+ type __VLS_WithTemplateSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
@@ -0,0 +1,4 @@
1
+ import SolTemplateHeader from './header/Header.vue';
2
+ import SolTemplateHeaderTabMenu from './header/HeaderTabMenu.vue';
3
+ export { SolTemplateHeader, SolTemplateHeaderTabMenu, };
4
+ export type { HeaderTabMenuItem } from './header/HeaderTabMenu.types';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solfacil/girassol",
3
3
  "description": "Girassol design system",
4
- "version": "0.66.1",
4
+ "version": "0.69.0",
5
5
  "license": "MIT",
6
6
  "authors": [
7
7
  {
@@ -1,19 +0,0 @@
1
- import { openBlock as e, createElementBlock as c, createElementVNode as t } from "vue";
2
- const l = {
3
- viewBox: "0 0 1024 1024",
4
- width: "1em",
5
- height: "1em"
6
- }, o = /* @__PURE__ */ t("path", {
7
- fill: "currentColor",
8
- d: "M673.067 553.6l-48-48c6.4-35.554-3.729-67.371-30.379-95.445-26.684-28.103-59.221-38.955-97.621-32.555l-48-48c9.954-4.267 19.908-7.467 29.867-9.6 9.954-2.133 20.975-3.2 33.067-3.2 48.354 0 89.412 16.896 123.179 50.688 33.792 33.763 50.688 74.825 50.688 123.179 0 12.087-1.067 23.283-3.2 33.579-2.133 10.325-5.333 20.109-9.6 29.355zM808.533 685.867l-46.933-43.733c27.021-20.621 51.029-43.209 72.021-67.755 20.962-24.521 38.908-52.425 53.841-83.712-35.554-71.822-86.583-128.896-153.084-171.221-66.475-42.297-140.604-63.445-222.379-63.445-20.625 0-40.892 1.422-60.8 4.267-19.913 2.845-39.469 7.111-58.669 12.8l-50.133-50.133c27.022-10.667 54.585-18.489 82.688-23.467 28.077-4.978 57.047-7.467 86.914-7.467 94.575 0 180.791 25.059 258.645 75.179 77.879 50.147 136.73 116.11 176.555 197.888 1.421 2.846 2.487 6.571 3.2 11.179 0.708 4.638 1.062 9.442 1.062 14.421s-0.354 9.771-1.062 14.379c-0.713 4.638-1.779 8.375-3.2 11.221-16.358 33.421-36.096 64.354-59.221 92.8-23.1 28.446-49.579 54.046-79.445 76.8zM820.267 910.933l-149.333-149.333c-22.046 8.533-46.396 15.287-73.045 20.267-26.684 4.979-55.313 7.467-85.888 7.467-95.291 0-181.691-25.058-259.202-75.179-77.511-50.146-136.178-116.109-176-197.888-1.422-2.846-2.489-6.583-3.2-11.221-0.711-4.608-1.067-9.399-1.067-14.379s0.355-9.6 1.067-13.867c0.711-4.267 1.778-8.179 3.2-11.733 16.355-32.713 35.911-62.933 58.667-90.667s47.289-52.267 73.6-73.6l-96-97.067c-6.4-6.4-9.6-13.867-9.6-22.4s3.2-16.355 9.6-23.467c6.4-5.689 14.051-8.533 22.955-8.533 8.875 0 16.157 2.845 21.845 8.533l708.265 708.267c5.692 5.687 8.721 12.8 9.092 21.333 0.341 8.533-2.692 16.354-9.092 23.467-6.4 5.687-14.033 8.533-22.908 8.533-8.905 0-16.555-2.846-22.955-8.533zM253.865 345.6c-22.755 17.778-44.615 39.296-65.579 64.555-20.992 25.229-38.243 52.066-51.755 80.512 35.555 71.821 86.571 128.883 153.045 171.179 66.503 42.325 140.644 63.488 222.423 63.488 19.2 0 38.4-1.609 57.6-4.821 19.2-3.187 35.554-6.558 49.067-10.112l-53.333-55.467c-7.825 2.846-16.358 5.15-25.6 6.912-9.246 1.792-18.492 2.688-27.733 2.688-48.358 0-89.417-16.896-123.181-50.688-33.792-33.762-50.688-74.825-50.688-123.179 0-8.533 0.896-17.609 2.688-27.221 1.763-9.587 4.067-18.291 6.912-26.112l-93.867-91.733z",
9
- style: {}
10
- }, null, -1), i = [
11
- o
12
- ];
13
- function s(n, r) {
14
- return e(), c("svg", l, i);
15
- }
16
- const d = { name: "girassol-visibility-off", render: s };
17
- export {
18
- d as default
19
- };
@@ -1,19 +0,0 @@
1
- import { openBlock as e, createElementBlock as c, createElementVNode as t } from "vue";
2
- const s = {
3
- viewBox: "0 0 1024 1024",
4
- width: "1em",
5
- height: "1em"
6
- }, o = /* @__PURE__ */ t("path", {
7
- fill: "currentColor",
8
- d: "M512 664.533c48.354 0 89.412-16.896 123.179-50.688 33.792-33.762 50.688-74.825 50.688-123.179s-16.896-89.415-50.688-123.179c-33.766-33.792-74.825-50.688-123.179-50.688-48.358 0-89.417 16.896-123.181 50.688-33.792 33.763-50.688 74.825-50.688 123.179s16.896 89.417 50.688 123.179c33.763 33.792 74.822 50.688 123.181 50.688zM512 605.867c-32 0-59.196-11.209-81.579-33.621-22.416-22.387-33.623-49.579-33.623-81.579s11.207-59.209 33.623-81.621c22.383-22.386 49.579-33.579 81.579-33.579s59.204 11.193 81.621 33.579c22.383 22.413 33.579 49.621 33.579 81.621s-11.196 59.191-33.579 81.579c-22.417 22.413-49.621 33.621-81.621 33.621zM512 789.333c-93.158 0-178.676-24.533-256.557-73.6-77.853-49.067-137.401-115.554-178.645-199.467-1.422-2.846-2.489-6.583-3.2-11.221-0.711-4.608-1.067-9.399-1.067-14.379s0.355-9.783 1.067-14.421c0.711-4.608 1.778-8.333 3.2-11.179 41.245-83.911 100.793-150.4 178.645-199.467 77.881-49.067 163.399-73.6 256.557-73.6 93.154 0 178.658 24.533 256.508 73.6 77.884 49.067 137.446 115.555 178.692 199.467 1.421 2.846 2.487 6.571 3.2 11.179 0.708 4.638 1.062 9.442 1.062 14.421s-0.354 9.771-1.062 14.379c-0.713 4.638-1.779 8.375-3.2 11.221-41.246 83.913-100.809 150.4-178.692 199.467-77.85 49.067-163.354 73.6-256.508 73.6zM512 725.333c80.354 0 154.138-21.163 221.355-63.488 67.183-42.295 118.554-99.358 154.108-171.179-35.554-71.822-86.925-128.896-154.108-171.221-67.217-42.297-141.001-63.445-221.355-63.445-80.358 0-154.143 21.149-221.357 63.445-67.186 42.325-118.557 99.399-154.112 171.221 35.555 71.821 86.926 128.883 154.112 171.179 67.214 42.325 140.998 63.488 221.357 63.488z",
9
- style: {}
10
- }, null, -1), i = [
11
- o
12
- ];
13
- function l(n, r) {
14
- return e(), c("svg", s, i);
15
- }
16
- const d = { name: "girassol-visibility", render: l };
17
- export {
18
- d as default
19
- };