@solfacil/girassol 0.18.0 → 0.19.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 (85) hide show
  1. package/dist/girassol.es.js +4330 -4256
  2. package/dist/girassol.umd.js +6 -6
  3. package/dist/style.css +1 -1
  4. package/dist/tsconfig.app.tsbuildinfo +1 -0
  5. package/dist/types/components/accordion/Accordion.vue.d.ts +19 -76
  6. package/dist/types/components/collapsible/Collapsible.vue.d.ts +25 -90
  7. package/dist/types/components/empty-state/EmptyState.vue.d.ts +17 -74
  8. package/dist/types/components/filters/chip/removable-chip/RemovableChip.vue.d.ts +21 -92
  9. package/dist/types/components/filters/chip/selectable-chip/SelectableChip.vue.d.ts +23 -97
  10. package/dist/types/components/forms/button/button/Button.vue.d.ts +25 -94
  11. package/dist/types/components/forms/button/button-destructive/ButtonDestructive.vue.d.ts +17 -74
  12. package/dist/types/components/forms/checkbox/checkbox-group/CheckboxGroup.vue.d.ts +37 -131
  13. package/dist/types/components/forms/inputs/input-text/InputText.vue.d.ts +35 -134
  14. package/dist/types/components/forms/inputs/input-textarea/InputTextarea.vue.d.ts +2 -2
  15. package/dist/types/components/forms/radio/radio-group/RadioGroup.vue.d.ts +37 -131
  16. package/dist/types/components/forms/select/ListOption.vue.d.ts +18 -81
  17. package/dist/types/components/forms/select/Select.vue.d.ts +65 -216
  18. package/dist/types/components/forms/switch/Switch.vue.d.ts +2 -2
  19. package/dist/types/components/informations/alert/Alert.vue.d.ts +22 -97
  20. package/dist/types/components/informations/tag/Tag.vue.d.ts +21 -92
  21. package/dist/types/components/informations/text-value/TextValue.vue.d.ts +22 -81
  22. package/dist/types/components/list/List.vue.d.ts +63 -174
  23. package/dist/types/components/list/ListItem.vue.d.ts +61 -132
  24. package/dist/types/components/list/ListItemTextValue.vue.d.ts +21 -82
  25. package/dist/types/components/menus/menu/Menu.vue.d.ts +35 -94
  26. package/dist/types/components/menus/menu-item/menu-item/MenuItem.vue.d.ts +13 -64
  27. package/dist/types/components/menus/menu-item/menu-item-link/MenuItemLink.vue.d.ts +24 -85
  28. package/dist/types/components/menus/menu-navigation-links/MenuNavigationLinks.vue.d.ts +22 -69
  29. package/dist/types/components/modals/modal/Modal.vue.d.ts +44 -164
  30. package/dist/types/components/tabs/TabItem.vue.d.ts +19 -70
  31. package/dist/types/composables/use-toast/Toast.vue.d.ts +36 -133
  32. package/dist/types/index.d.ts +20 -20
  33. package/package.json +24 -23
  34. package/theme/safelist.ts +157 -21
  35. package/dist/cli/src/cli.d.ts +0 -1
  36. package/dist/cli/src/commands/create:component.d.ts +0 -1
  37. package/dist/cli/src/commands/generate:plugin.d.ts +0 -1
  38. package/dist/cli/src/commands/generate:types.d.ts +0 -7
  39. package/dist/cli/src/commands/girassol-cli.d.ts +0 -1
  40. package/dist/cli/src/extensions/cli-extension.d.ts +0 -1
  41. package/dist/cli/src/types.d.ts +0 -0
  42. package/dist/theme/solfacil/borders.d.ts +0 -18
  43. package/dist/theme/solfacil/colors.d.ts +0 -63
  44. package/dist/theme/solfacil/effects.d.ts +0 -17
  45. package/dist/theme/solfacil/index.d.ts +0 -18
  46. package/dist/theme/solfacil/miscs.d.ts +0 -144
  47. package/dist/theme/solfacil/screens.d.ts +0 -29
  48. package/dist/theme/solfacil/spacing.d.ts +0 -64
  49. package/dist/theme/solfacil/typography.d.ts +0 -41
  50. package/dist/theme/solfacil/utilities.d.ts +0 -8
  51. package/dist/types/components/accordion/accordion.spec.d.ts +0 -1
  52. package/dist/types/components/breadcrumb/breadcrumb.spec.d.ts +0 -1
  53. package/dist/types/components/collapsible/collapsible.spec.d.ts +0 -1
  54. package/dist/types/components/date-picker/datepicker.spec.d.ts +0 -1
  55. package/dist/types/components/empty-state/empty-state.spec.d.ts +0 -1
  56. package/dist/types/components/file-upload/file-upload.spec.d.ts +0 -1
  57. package/dist/types/components/filters/chip/removable-chip/removable-chip.spec.d.ts +0 -1
  58. package/dist/types/components/filters/chip/selectable-chip/selectable-chip.spec.d.ts +0 -1
  59. package/dist/types/components/forms/button/button/button.spec.d.ts +0 -1
  60. package/dist/types/components/forms/checkbox/checkbox/checkbox.spec.d.ts +0 -1
  61. package/dist/types/components/forms/checkbox/checkbox-group/checkbox-group.spec.d.ts +0 -1
  62. package/dist/types/components/forms/inputs/input-core/input.spec.d.ts +0 -1
  63. package/dist/types/components/forms/inputs/input-password/input-password.spec.d.ts +0 -1
  64. package/dist/types/components/forms/inputs/input-text/input-text.spec.d.ts +0 -1
  65. package/dist/types/components/forms/inputs/input-textarea/textarea.spec.d.ts +0 -1
  66. package/dist/types/components/forms/radio/radio/radio.spec.d.ts +0 -1
  67. package/dist/types/components/forms/radio/radio-group/radio-group.spec.d.ts +0 -1
  68. package/dist/types/components/forms/select/select.spec.d.ts +0 -1
  69. package/dist/types/components/forms/switch/switch.spec.d.ts +0 -1
  70. package/dist/types/components/informations/alert/alert.spec.d.ts +0 -1
  71. package/dist/types/components/informations/tag/tag.spec.d.ts +0 -1
  72. package/dist/types/components/informations/text-value/text-value.spec.d.ts +0 -1
  73. package/dist/types/components/list/list.spec.d.ts +0 -1
  74. package/dist/types/components/menus/menu/menu.spec.d.ts +0 -1
  75. package/dist/types/components/modals/modal/modal.spec.d.ts +0 -1
  76. package/dist/types/components/modals/onboarding/onboading.spec.d.ts +0 -1
  77. package/dist/types/components/pagination/pagination.spec.d.ts +0 -1
  78. package/dist/types/components/search/search.spec.d.ts +0 -1
  79. package/dist/types/components/steps/steps.spec.d.ts +0 -1
  80. package/dist/types/components/tabs/tabs.spec.d.ts +0 -1
  81. package/dist/types/composables/use-filters/use-filters.spec.d.ts +0 -1
  82. package/dist/types/composables/use-toast/use-toast.spec.d.ts +0 -1
  83. package/dist/vite-modules/generate-component-types.d.ts +0 -3
  84. package/dist/vite.config.d.ts +0 -2
  85. package/dist/windi.config.d.ts +0 -2
@@ -1,76 +1,14 @@
1
1
  import type { LinkData } from './types';
2
- declare const _default: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- id: string;
8
- linkId?: string | undefined;
9
- text?: LinkData['text'];
10
- link?: LinkData['link'];
11
- active?: LinkData['active'];
12
- external?: LinkData['external'];
13
- }>>> & {
14
- onClicked?: (() => any) | undefined;
15
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
16
- $attrs: {
17
- [x: string]: unknown;
18
- };
19
- $refs: {
20
- [x: string]: unknown;
21
- };
22
- $slots: Readonly<{
23
- [name: string]: import("vue").Slot | undefined;
24
- }>;
25
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
26
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
27
- $emit: (event: "clicked") => void;
28
- $el: any;
29
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
30
- id: string;
31
- linkId?: string | undefined;
32
- text?: LinkData['text'];
33
- link?: LinkData['link'];
34
- active?: LinkData['active'];
35
- external?: LinkData['external'];
36
- }>>> & {
37
- onClicked?: (() => any) | undefined;
38
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
- clicked: () => void;
40
- }, string, {}, {}, string> & {
41
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
42
- created?: ((() => void) | (() => void)[]) | undefined;
43
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
44
- mounted?: ((() => void) | (() => void)[]) | undefined;
45
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
46
- updated?: ((() => void) | (() => void)[]) | undefined;
47
- activated?: ((() => void) | (() => void)[]) | undefined;
48
- deactivated?: ((() => void) | (() => void)[]) | undefined;
49
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
50
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
51
- destroyed?: ((() => void) | (() => void)[]) | undefined;
52
- unmounted?: ((() => void) | (() => void)[]) | undefined;
53
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
54
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
55
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
56
- };
57
- $forceUpdate: () => void;
58
- $nextTick: typeof import("vue").nextTick;
59
- $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;
60
- } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
61
- id: string;
62
- linkId?: string | undefined;
63
- text?: LinkData['text'];
64
- link?: LinkData['link'];
65
- active?: LinkData['active'];
66
- external?: LinkData['external'];
67
- }>>> & {
68
- onClicked?: (() => any) | undefined;
69
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
70
- __isFragment?: undefined;
71
- __isTeleport?: undefined;
72
- __isSuspense?: undefined;
73
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ id: string;
4
+ linkId?: string | undefined;
5
+ text?: LinkData['text'];
6
+ link?: LinkData['link'];
7
+ active?: LinkData['active'];
8
+ external?: LinkData['external'];
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ clicked: () => void;
11
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
74
12
  id: string;
75
13
  linkId?: string | undefined;
76
14
  text?: LinkData['text'];
@@ -79,19 +17,15 @@ declare const _default: {
79
17
  external?: LinkData['external'];
80
18
  }>>> & {
81
19
  onClicked?: (() => any) | undefined;
82
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
- clicked: () => void;
84
- }, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
85
- $slots: {
86
- default: (_: {
87
- id: string;
88
- active: boolean | undefined;
89
- link: string | undefined;
90
- text: string | undefined;
91
- external: boolean | undefined;
92
- }) => any;
93
- };
94
- });
20
+ }, {}>, {
21
+ default: (_: {
22
+ id: string;
23
+ active: boolean | undefined;
24
+ link: string | undefined;
25
+ text: string | undefined;
26
+ external: boolean | undefined;
27
+ }) => any;
28
+ }>;
95
29
  export default _default;
96
30
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
97
31
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -102,3 +36,8 @@ type __VLS_TypePropsToRuntimeProps<T> = {
102
36
  required: true;
103
37
  };
104
38
  };
39
+ type __VLS_WithTemplateSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
@@ -1,76 +1,24 @@
1
1
  import type { LinkData } from '@components/menus/menu-item/menu-item-link/types';
2
- declare const _default: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- id: string;
8
- label?: string | undefined;
9
- linkItems: LinkData[];
10
- }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
11
- $attrs: {
12
- [x: string]: unknown;
13
- };
14
- $refs: {
15
- [x: string]: unknown;
16
- };
17
- $slots: Readonly<{
18
- [name: string]: import("vue").Slot | undefined;
19
- }>;
20
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
21
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
22
- $emit: (event: string, ...args: any[]) => void;
23
- $el: any;
24
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
25
- id: string;
26
- label?: string | undefined;
27
- linkItems: LinkData[];
28
- }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
29
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
30
- created?: ((() => void) | (() => void)[]) | undefined;
31
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
32
- mounted?: ((() => void) | (() => void)[]) | undefined;
33
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
34
- updated?: ((() => void) | (() => void)[]) | undefined;
35
- activated?: ((() => void) | (() => void)[]) | undefined;
36
- deactivated?: ((() => void) | (() => void)[]) | undefined;
37
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
38
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
39
- destroyed?: ((() => void) | (() => void)[]) | undefined;
40
- unmounted?: ((() => void) | (() => void)[]) | undefined;
41
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
42
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
43
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
44
- };
45
- $forceUpdate: () => void;
46
- $nextTick: typeof import("vue").nextTick;
47
- $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;
48
- } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
49
- id: string;
50
- label?: string | undefined;
51
- linkItems: LinkData[];
52
- }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
53
- __isFragment?: undefined;
54
- __isTeleport?: undefined;
55
- __isSuspense?: undefined;
56
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
57
3
  id: string;
58
4
  label?: string | undefined;
59
5
  linkItems: LinkData[];
60
- }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
61
- $slots: {
62
- label: (_: {
63
- isOpen: boolean;
64
- }) => any;
65
- default: (_: {
66
- id: string;
67
- active: boolean | undefined;
68
- link: string | undefined;
69
- text: string | undefined;
70
- external: boolean | undefined;
71
- }) => any;
72
- };
73
- });
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
+ id: string;
8
+ label?: string | undefined;
9
+ linkItems: LinkData[];
10
+ }>>>, {}>, {
11
+ label: (_: {
12
+ isOpen: boolean;
13
+ }) => any;
14
+ default: (_: {
15
+ id: string;
16
+ active: boolean | undefined;
17
+ link: string | undefined;
18
+ text: string | undefined;
19
+ external: boolean | undefined;
20
+ }) => any;
21
+ }>;
74
22
  export default _default;
75
23
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
76
24
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -81,3 +29,8 @@ type __VLS_TypePropsToRuntimeProps<T> = {
81
29
  required: true;
82
30
  };
83
31
  };
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -1,145 +1,5 @@
1
1
  import type { Modal } from './types';
2
- declare const _default: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{
7
- title: Modal['title'];
8
- size: Modal['size'];
9
- target: string;
10
- }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
- id: Modal['id'];
12
- size?: import("./types").Size | undefined;
13
- title?: string | undefined;
14
- isOpen?: Modal['isOpen'];
15
- target?: Modal['target'];
16
- class?: Modal['class'];
17
- actionPrimaryText?: Modal['actionPrimaryText'];
18
- actionSecondaryText?: Modal['actionSecondaryText'];
19
- actionTertiaryText?: Modal['actionTertiaryText'];
20
- }>, {
21
- target: string;
22
- title: string;
23
- size: () => {
24
- desktop: string;
25
- mobile: string;
26
- };
27
- }>>> & {
28
- onOpen?: (() => any) | undefined;
29
- onClose?: (() => any) | undefined;
30
- "onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
31
- "onAction:primary"?: (() => any) | undefined;
32
- "onAction:secondary"?: (() => any) | undefined;
33
- "onAction:tertiary"?: (() => any) | undefined;
34
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "size" | "target">;
35
- $attrs: {
36
- [x: string]: unknown;
37
- };
38
- $refs: {
39
- [x: string]: unknown;
40
- };
41
- $slots: Readonly<{
42
- [name: string]: import("vue").Slot | undefined;
43
- }>;
44
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
45
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
46
- $emit: ((event: "open") => void) & ((event: "close") => void) & ((event: "update:isOpen", value: boolean) => void) & ((event: "action:primary") => void) & ((event: "action:secondary") => void) & ((event: "action:tertiary") => void);
47
- $el: any;
48
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
49
- id: Modal['id'];
50
- size?: import("./types").Size | undefined;
51
- title?: string | undefined;
52
- isOpen?: Modal['isOpen'];
53
- target?: Modal['target'];
54
- class?: Modal['class'];
55
- actionPrimaryText?: Modal['actionPrimaryText'];
56
- actionSecondaryText?: Modal['actionSecondaryText'];
57
- actionTertiaryText?: Modal['actionTertiaryText'];
58
- }>, {
59
- target: string;
60
- title: string;
61
- size: () => {
62
- desktop: string;
63
- mobile: string;
64
- };
65
- }>>> & {
66
- onOpen?: (() => any) | undefined;
67
- onClose?: (() => any) | undefined;
68
- "onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
69
- "onAction:primary"?: (() => any) | undefined;
70
- "onAction:secondary"?: (() => any) | undefined;
71
- "onAction:tertiary"?: (() => any) | undefined;
72
- }, {
73
- close: () => void;
74
- open: () => void;
75
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
76
- close: () => void;
77
- } & {
78
- open: () => void;
79
- } & {
80
- "update:isOpen": (value: boolean) => void;
81
- } & {
82
- "action:primary": () => void;
83
- } & {
84
- "action:secondary": () => void;
85
- } & {
86
- "action:tertiary": () => void;
87
- }, string, {
88
- title: Modal['title'];
89
- size: Modal['size'];
90
- target: string;
91
- }, {}, string> & {
92
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
93
- created?: ((() => void) | (() => void)[]) | undefined;
94
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
95
- mounted?: ((() => void) | (() => void)[]) | undefined;
96
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
97
- updated?: ((() => void) | (() => void)[]) | undefined;
98
- activated?: ((() => void) | (() => void)[]) | undefined;
99
- deactivated?: ((() => void) | (() => void)[]) | undefined;
100
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
101
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
102
- destroyed?: ((() => void) | (() => void)[]) | undefined;
103
- unmounted?: ((() => void) | (() => void)[]) | undefined;
104
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
105
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
106
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
107
- };
108
- $forceUpdate: () => void;
109
- $nextTick: typeof import("vue").nextTick;
110
- $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;
111
- } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
112
- id: Modal['id'];
113
- size?: import("./types").Size | undefined;
114
- title?: string | undefined;
115
- isOpen?: Modal['isOpen'];
116
- target?: Modal['target'];
117
- class?: Modal['class'];
118
- actionPrimaryText?: Modal['actionPrimaryText'];
119
- actionSecondaryText?: Modal['actionSecondaryText'];
120
- actionTertiaryText?: Modal['actionTertiaryText'];
121
- }>, {
122
- target: string;
123
- title: string;
124
- size: () => {
125
- desktop: string;
126
- mobile: string;
127
- };
128
- }>>> & {
129
- onOpen?: (() => any) | undefined;
130
- onClose?: (() => any) | undefined;
131
- "onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
132
- "onAction:primary"?: (() => any) | undefined;
133
- "onAction:secondary"?: (() => any) | undefined;
134
- "onAction:tertiary"?: (() => any) | undefined;
135
- } & import("vue").ShallowUnwrapRef<{
136
- close: () => void;
137
- open: () => void;
138
- }> & {} & import("vue").ComponentCustomProperties & {};
139
- __isFragment?: undefined;
140
- __isTeleport?: undefined;
141
- __isSuspense?: undefined;
142
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
143
3
  id: Modal['id'];
144
4
  size?: import("./types").Size | undefined;
145
5
  title?: string | undefined;
@@ -156,14 +16,7 @@ declare const _default: {
156
16
  desktop: string;
157
17
  mobile: string;
158
18
  };
159
- }>>> & {
160
- onOpen?: (() => any) | undefined;
161
- onClose?: (() => any) | undefined;
162
- "onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
163
- "onAction:primary"?: (() => any) | undefined;
164
- "onAction:secondary"?: (() => any) | undefined;
165
- "onAction:tertiary"?: (() => any) | undefined;
166
- }, {
19
+ }>, {
167
20
  close: () => void;
168
21
  open: () => void;
169
22
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -178,24 +31,46 @@ declare const _default: {
178
31
  "action:secondary": () => void;
179
32
  } & {
180
33
  "action:tertiary": () => void;
181
- }, string, {
34
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
35
+ id: Modal['id'];
36
+ size?: import("./types").Size | undefined;
37
+ title?: string | undefined;
38
+ isOpen?: Modal['isOpen'];
39
+ target?: Modal['target'];
40
+ class?: Modal['class'];
41
+ actionPrimaryText?: Modal['actionPrimaryText'];
42
+ actionSecondaryText?: Modal['actionSecondaryText'];
43
+ actionTertiaryText?: Modal['actionTertiaryText'];
44
+ }>, {
45
+ target: string;
46
+ title: string;
47
+ size: () => {
48
+ desktop: string;
49
+ mobile: string;
50
+ };
51
+ }>>> & {
52
+ onOpen?: (() => any) | undefined;
53
+ onClose?: (() => any) | undefined;
54
+ "onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
55
+ "onAction:primary"?: (() => any) | undefined;
56
+ "onAction:secondary"?: (() => any) | undefined;
57
+ "onAction:tertiary"?: (() => any) | undefined;
58
+ }, {
182
59
  title: Modal['title'];
183
60
  size: Modal['size'];
184
61
  target: string;
185
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
186
- $slots: {
187
- default: (_: {}) => any;
188
- 'action-tertiary': (_: {
189
- id: string;
190
- }) => any;
191
- 'action-secondary': (_: {
192
- id: string;
193
- }) => any;
194
- 'action-primary': (_: {
195
- id: string;
196
- }) => any;
197
- };
198
- });
62
+ }>, {
63
+ default: (_: {}) => any;
64
+ 'action-tertiary': (_: {
65
+ id: string;
66
+ }) => any;
67
+ 'action-secondary': (_: {
68
+ id: string;
69
+ }) => any;
70
+ 'action-primary': (_: {
71
+ id: string;
72
+ }) => any;
73
+ }>;
199
74
  export default _default;
200
75
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
201
76
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -211,3 +86,8 @@ type __VLS_WithDefaults<P, D> = {
211
86
  default: D[K];
212
87
  } : P[K];
213
88
  };
89
+ type __VLS_WithTemplateSlots<T, S> = T & {
90
+ new (): {
91
+ $slots: S;
92
+ };
93
+ };
@@ -1,79 +1,23 @@
1
1
  import type { TabItem } from './types';
2
- declare const _default: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
- id: TabItem['id'];
8
- label?: string | undefined;
9
- disabled?: TabItem['disabled'];
10
- active?: TabItem['active'];
11
- gtmId?: TabItem['gtmId'];
12
- }>, {}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
13
- $attrs: {
14
- [x: string]: unknown;
15
- };
16
- $refs: {
17
- [x: string]: unknown;
18
- };
19
- $slots: Readonly<{
20
- [name: string]: import("vue").Slot | undefined;
21
- }>;
22
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
23
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
24
- $emit: (event: string, ...args: any[]) => void;
25
- $el: any;
26
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
27
- id: TabItem['id'];
28
- label?: string | undefined;
29
- disabled?: TabItem['disabled'];
30
- active?: TabItem['active'];
31
- gtmId?: TabItem['gtmId'];
32
- }>, {}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
33
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
34
- created?: ((() => void) | (() => void)[]) | undefined;
35
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
36
- mounted?: ((() => void) | (() => void)[]) | undefined;
37
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
38
- updated?: ((() => void) | (() => void)[]) | undefined;
39
- activated?: ((() => void) | (() => void)[]) | undefined;
40
- deactivated?: ((() => void) | (() => void)[]) | undefined;
41
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
42
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
43
- destroyed?: ((() => void) | (() => void)[]) | undefined;
44
- unmounted?: ((() => void) | (() => void)[]) | undefined;
45
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
46
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
47
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
48
- };
49
- $forceUpdate: () => void;
50
- $nextTick: typeof import("vue").nextTick;
51
- $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;
52
- } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
53
- id: TabItem['id'];
54
- label?: string | undefined;
55
- disabled?: TabItem['disabled'];
56
- active?: TabItem['active'];
57
- gtmId?: TabItem['gtmId'];
58
- }>, {}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
59
- __isFragment?: undefined;
60
- __isTeleport?: undefined;
61
- __isSuspense?: undefined;
62
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
63
3
  id: TabItem['id'];
64
4
  label?: string | undefined;
65
5
  disabled?: TabItem['disabled'];
66
6
  active?: TabItem['active'];
67
7
  gtmId?: TabItem['gtmId'];
68
- }>, {}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
69
- $slots: {
70
- icon: (_: {}) => any;
71
- label: (_: {
72
- label: string | undefined;
73
- }) => any;
74
- count: (_: {}) => any;
75
- };
76
- });
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<{
9
+ id: TabItem['id'];
10
+ label?: string | undefined;
11
+ disabled?: TabItem['disabled'];
12
+ active?: TabItem['active'];
13
+ gtmId?: TabItem['gtmId'];
14
+ }>, {}>>>, {}>, {
15
+ icon: (_: {}) => any;
16
+ label: (_: {
17
+ label: string | undefined;
18
+ }) => any;
19
+ count: (_: {}) => any;
20
+ }>;
77
21
  export default _default;
78
22
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
79
23
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -89,3 +33,8 @@ type __VLS_WithDefaults<P, D> = {
89
33
  default: D[K];
90
34
  } : P[K];
91
35
  };
36
+ type __VLS_WithTemplateSlots<T, S> = T & {
37
+ new (): {
38
+ $slots: S;
39
+ };
40
+ };