@solfacil/girassol 0.18.0 → 0.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) 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/alert/Alert.vue.d.ts +51 -0
  7. package/dist/types/components/{informations/alert → alert}/index.d.ts +0 -0
  8. package/dist/types/components/buttons/button/Button.vue.d.ts +53 -0
  9. package/dist/types/components/buttons/button-destructive/ButtonDestructive.vue.d.ts +39 -0
  10. package/dist/types/components/{forms/button → buttons}/index.d.ts +0 -0
  11. package/dist/types/components/chips/removable-chip/RemovableChip.vue.d.ts +49 -0
  12. package/dist/types/components/{filters/chip → chips}/removable-chip/index.d.ts +0 -0
  13. package/dist/types/components/{filters/chip → chips}/removable-chip/types.d.ts +0 -0
  14. package/dist/types/components/chips/selectable-chip/SelectableChip.vue.d.ts +51 -0
  15. package/dist/types/components/{filters/chip → chips}/selectable-chip/index.d.ts +0 -0
  16. package/dist/types/components/{filters/chip → chips}/selectable-chip/types.d.ts +0 -0
  17. package/dist/types/components/{filters/chip → chips}/types.d.ts +0 -0
  18. package/dist/types/components/collapsible/Collapsible.vue.d.ts +25 -90
  19. package/dist/types/components/empty-state/EmptyState.vue.d.ts +17 -74
  20. package/dist/types/components/file-upload/FileUpload.vue.d.ts +2 -2
  21. package/dist/types/components/forms/checkbox/checkbox-group/CheckboxGroup.vue.d.ts +37 -131
  22. package/dist/types/components/forms/inputs/input-text/InputText.vue.d.ts +36 -135
  23. package/dist/types/components/forms/inputs/input-textarea/InputTextarea.vue.d.ts +3 -3
  24. package/dist/types/components/forms/radio/radio-group/RadioGroup.vue.d.ts +37 -131
  25. package/dist/types/components/forms/select/ListOption.vue.d.ts +18 -81
  26. package/dist/types/components/forms/select/Select.vue.d.ts +67 -218
  27. package/dist/types/components/forms/switch/Switch.vue.d.ts +2 -2
  28. package/dist/types/components/list/List.vue.d.ts +63 -174
  29. package/dist/types/components/list/ListItem.vue.d.ts +61 -132
  30. package/dist/types/components/list/ListItemTextValue.vue.d.ts +21 -82
  31. package/dist/types/components/menus/menu/Menu.vue.d.ts +35 -94
  32. package/dist/types/components/menus/menu-item/menu-item/MenuItem.vue.d.ts +13 -64
  33. package/dist/types/components/menus/menu-item/menu-item-link/MenuItemLink.vue.d.ts +24 -85
  34. package/dist/types/components/menus/menu-navigation-links/MenuNavigationLinks.vue.d.ts +22 -69
  35. package/dist/types/components/modals/modal/Modal.vue.d.ts +44 -164
  36. package/dist/types/components/modals/onboarding/Onboarding.vue.d.ts +1 -1
  37. package/dist/types/components/search/Search.vue.d.ts +2 -2
  38. package/dist/types/components/tabs/TabItem.vue.d.ts +19 -70
  39. package/dist/types/components/tag/Tag.vue.d.ts +50 -0
  40. package/dist/types/components/{informations/tag → tag}/index.d.ts +0 -0
  41. package/dist/types/components/text-value/TextValue.vue.d.ts +45 -0
  42. package/dist/types/components/{informations/text-value → text-value}/index.d.ts +0 -0
  43. package/dist/types/components/{informations/text-value → text-value}/types.d.ts +0 -0
  44. package/dist/types/composables/use-toast/Toast.vue.d.ts +36 -133
  45. package/dist/types/index.d.ts +406 -406
  46. package/package.json +24 -23
  47. package/theme/safelist.ts +157 -21
  48. package/vite.config.ts +3 -1
  49. package/windi.config.ts +1 -1
  50. package/dist/cli/src/cli.d.ts +0 -1
  51. package/dist/cli/src/commands/create:component.d.ts +0 -1
  52. package/dist/cli/src/commands/generate:plugin.d.ts +0 -1
  53. package/dist/cli/src/commands/generate:types.d.ts +0 -7
  54. package/dist/cli/src/commands/girassol-cli.d.ts +0 -1
  55. package/dist/cli/src/extensions/cli-extension.d.ts +0 -1
  56. package/dist/cli/src/types.d.ts +0 -0
  57. package/dist/theme/solfacil/borders.d.ts +0 -18
  58. package/dist/theme/solfacil/colors.d.ts +0 -63
  59. package/dist/theme/solfacil/effects.d.ts +0 -17
  60. package/dist/theme/solfacil/index.d.ts +0 -18
  61. package/dist/theme/solfacil/miscs.d.ts +0 -144
  62. package/dist/theme/solfacil/screens.d.ts +0 -29
  63. package/dist/theme/solfacil/spacing.d.ts +0 -64
  64. package/dist/theme/solfacil/typography.d.ts +0 -41
  65. package/dist/theme/solfacil/utilities.d.ts +0 -8
  66. package/dist/types/components/accordion/accordion.spec.d.ts +0 -1
  67. package/dist/types/components/breadcrumb/breadcrumb.spec.d.ts +0 -1
  68. package/dist/types/components/collapsible/collapsible.spec.d.ts +0 -1
  69. package/dist/types/components/date-picker/datepicker.spec.d.ts +0 -1
  70. package/dist/types/components/empty-state/empty-state.spec.d.ts +0 -1
  71. package/dist/types/components/file-upload/file-upload.spec.d.ts +0 -1
  72. package/dist/types/components/filters/chip/removable-chip/RemovableChip.vue.d.ts +0 -120
  73. package/dist/types/components/filters/chip/removable-chip/removable-chip.spec.d.ts +0 -1
  74. package/dist/types/components/filters/chip/selectable-chip/SelectableChip.vue.d.ts +0 -125
  75. package/dist/types/components/filters/chip/selectable-chip/selectable-chip.spec.d.ts +0 -1
  76. package/dist/types/components/forms/button/button/Button.vue.d.ts +0 -122
  77. package/dist/types/components/forms/button/button/button.spec.d.ts +0 -1
  78. package/dist/types/components/forms/button/button-destructive/ButtonDestructive.vue.d.ts +0 -96
  79. package/dist/types/components/forms/checkbox/checkbox/checkbox.spec.d.ts +0 -1
  80. package/dist/types/components/forms/checkbox/checkbox-group/checkbox-group.spec.d.ts +0 -1
  81. package/dist/types/components/forms/inputs/input-core/input.spec.d.ts +0 -1
  82. package/dist/types/components/forms/inputs/input-password/input-password.spec.d.ts +0 -1
  83. package/dist/types/components/forms/inputs/input-text/input-text.spec.d.ts +0 -1
  84. package/dist/types/components/forms/inputs/input-textarea/textarea.spec.d.ts +0 -1
  85. package/dist/types/components/forms/radio/radio/radio.spec.d.ts +0 -1
  86. package/dist/types/components/forms/radio/radio-group/radio-group.spec.d.ts +0 -1
  87. package/dist/types/components/forms/select/select.spec.d.ts +0 -1
  88. package/dist/types/components/forms/switch/switch.spec.d.ts +0 -1
  89. package/dist/types/components/informations/alert/Alert.vue.d.ts +0 -126
  90. package/dist/types/components/informations/alert/alert.spec.d.ts +0 -1
  91. package/dist/types/components/informations/tag/Tag.vue.d.ts +0 -121
  92. package/dist/types/components/informations/tag/tag.spec.d.ts +0 -1
  93. package/dist/types/components/informations/text-value/TextValue.vue.d.ts +0 -104
  94. package/dist/types/components/informations/text-value/text-value.spec.d.ts +0 -1
  95. package/dist/types/components/list/list.spec.d.ts +0 -1
  96. package/dist/types/components/menus/menu/menu.spec.d.ts +0 -1
  97. package/dist/types/components/modals/modal/modal.spec.d.ts +0 -1
  98. package/dist/types/components/modals/onboarding/onboading.spec.d.ts +0 -1
  99. package/dist/types/components/pagination/pagination.spec.d.ts +0 -1
  100. package/dist/types/components/search/search.spec.d.ts +0 -1
  101. package/dist/types/components/steps/steps.spec.d.ts +0 -1
  102. package/dist/types/components/tabs/tabs.spec.d.ts +0 -1
  103. package/dist/types/composables/use-filters/use-filters.spec.d.ts +0 -1
  104. package/dist/types/composables/use-toast/use-toast.spec.d.ts +0 -1
  105. package/dist/vite-modules/generate-component-types.d.ts +0 -3
  106. package/dist/vite.config.d.ts +0 -2
  107. package/dist/windi.config.d.ts +0 -2
@@ -1,103 +1,39 @@
1
- declare const _default: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{
6
- label: string;
7
- position: ("bottom" | "top" | "center") | ("right" | "left");
8
- }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
- id: string;
10
- label?: string | undefined;
11
- position?: (("bottom" | "top" | "center") | ("right" | "left")) | undefined;
12
- }>, {
13
- label: string;
14
- position: string;
15
- }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "position">;
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: string, ...args: any[]) => void;
28
- $el: any;
29
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
30
- id: string;
31
- label?: string | undefined;
32
- position?: (("bottom" | "top" | "center") | ("right" | "left")) | undefined;
33
- }>, {
34
- label: string;
35
- position: string;
36
- }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
37
- label: string;
38
- position: ("bottom" | "top" | "center") | ("right" | "left");
39
- }, {}, string> & {
40
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
41
- created?: ((() => void) | (() => void)[]) | undefined;
42
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
43
- mounted?: ((() => void) | (() => void)[]) | undefined;
44
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
45
- updated?: ((() => void) | (() => void)[]) | undefined;
46
- activated?: ((() => void) | (() => void)[]) | undefined;
47
- deactivated?: ((() => void) | (() => void)[]) | undefined;
48
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
49
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
50
- destroyed?: ((() => void) | (() => void)[]) | undefined;
51
- unmounted?: ((() => void) | (() => void)[]) | undefined;
52
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
53
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
54
- 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;
55
- };
56
- $forceUpdate: () => void;
57
- $nextTick: typeof import("vue").nextTick;
58
- $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;
59
- } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
60
- id: string;
61
- label?: string | undefined;
62
- position?: (("bottom" | "top" | "center") | ("right" | "left")) | undefined;
63
- }>, {
64
- label: string;
65
- position: string;
66
- }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
67
- __isFragment?: undefined;
68
- __isTeleport?: undefined;
69
- __isSuspense?: undefined;
70
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
71
2
  id: string;
72
3
  label?: string | undefined;
73
- position?: (("bottom" | "top" | "center") | ("right" | "left")) | undefined;
4
+ position?: (("center" | "bottom" | "top") | ("left" | "right")) | undefined;
74
5
  }>, {
75
6
  label: string;
76
7
  position: string;
77
- }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ id: string;
10
+ label?: string | undefined;
11
+ position?: (("center" | "bottom" | "top") | ("left" | "right")) | undefined;
12
+ }>, {
78
13
  label: string;
79
- position: ("bottom" | "top" | "center") | ("right" | "left");
80
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
81
- $slots: {
82
- trigger: (_: {
83
- id: string;
84
- toggle: () => void;
85
- isOpen: boolean;
86
- arias: {
87
- role: string;
88
- class: string;
89
- ariaHaspopup: boolean;
90
- ariaExpanded: boolean;
91
- };
92
- }) => any;
93
- label: (_: {
94
- isOpen: boolean;
95
- }) => any;
96
- default: (_: {
97
- close: () => void;
98
- }) => any;
99
- };
100
- });
14
+ position: string;
15
+ }>>>, {
16
+ label: string;
17
+ position: ("center" | "bottom" | "top") | ("left" | "right");
18
+ }>, {
19
+ trigger: (_: {
20
+ id: string;
21
+ toggle: () => void;
22
+ isOpen: boolean;
23
+ arias: {
24
+ role: string;
25
+ class: string;
26
+ ariaHaspopup: boolean;
27
+ ariaExpanded: boolean;
28
+ };
29
+ }) => any;
30
+ label: (_: {
31
+ isOpen: boolean;
32
+ }) => any;
33
+ default: (_: {
34
+ close: () => void;
35
+ }) => any;
36
+ }>;
101
37
  export default _default;
102
38
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
103
39
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -113,3 +49,8 @@ type __VLS_WithDefaults<P, D> = {
113
49
  default: D[K];
114
50
  } : P[K];
115
51
  };
52
+ type __VLS_WithTemplateSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S;
55
+ };
56
+ };
@@ -1,70 +1,14 @@
1
- declare const _default: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
- id: string;
7
- }>>> & {
8
- onClicked?: (() => any) | undefined;
9
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
10
- $attrs: {
11
- [x: string]: unknown;
12
- };
13
- $refs: {
14
- [x: string]: unknown;
15
- };
16
- $slots: Readonly<{
17
- [name: string]: import("vue").Slot | undefined;
18
- }>;
19
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
20
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
21
- $emit: (event: "clicked") => void;
22
- $el: any;
23
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
24
- id: string;
25
- }>>> & {
26
- onClicked?: (() => any) | undefined;
27
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
- clicked: () => void;
29
- }, string, {}, {}, string> & {
30
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
31
- created?: ((() => void) | (() => void)[]) | undefined;
32
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
33
- mounted?: ((() => void) | (() => void)[]) | undefined;
34
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
35
- updated?: ((() => void) | (() => void)[]) | undefined;
36
- activated?: ((() => void) | (() => void)[]) | undefined;
37
- deactivated?: ((() => void) | (() => void)[]) | undefined;
38
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
39
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
40
- destroyed?: ((() => void) | (() => void)[]) | undefined;
41
- unmounted?: ((() => void) | (() => void)[]) | undefined;
42
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
43
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
44
- 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;
45
- };
46
- $forceUpdate: () => void;
47
- $nextTick: typeof import("vue").nextTick;
48
- $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;
49
- } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
50
- id: string;
51
- }>>> & {
52
- onClicked?: (() => any) | undefined;
53
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
54
- __isFragment?: undefined;
55
- __isTeleport?: undefined;
56
- __isSuspense?: undefined;
57
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ id: string;
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ clicked: () => void;
5
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
58
6
  id: string;
59
7
  }>>> & {
60
8
  onClicked?: (() => any) | undefined;
61
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
62
- clicked: () => void;
63
- }, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
64
- $slots: {
65
- default: (_: {}) => any;
66
- };
67
- });
9
+ }, {}>, {
10
+ default: (_: {}) => any;
11
+ }>;
68
12
  export default _default;
69
13
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
70
14
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -75,3 +19,8 @@ type __VLS_TypePropsToRuntimeProps<T> = {
75
19
  required: true;
76
20
  };
77
21
  };
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -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
+ };