@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,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
+ onClose?: (() => any) | undefined;
53
+ onOpen?: (() => 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
+ };
@@ -41,8 +41,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
41
41
  target: string;
42
42
  finalButtonText: string;
43
43
  }>>> & {
44
- onOpen?: (() => any) | undefined;
45
44
  onClose?: (() => any) | undefined;
45
+ onOpen?: (() => any) | undefined;
46
46
  "onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
47
47
  "onAction:skip"?: (() => any) | undefined;
48
48
  "onAction:start"?: (() => any) | undefined;
@@ -45,11 +45,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
45
45
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
46
46
  onSearch?: ((value: string) => any) | undefined;
47
47
  }, {
48
- modelValue: string;
49
48
  size: "small" | "medium";
50
- placeholder: string;
51
49
  loading: boolean;
52
50
  variant: import("./types").Variants;
51
+ placeholder: string;
52
+ modelValue: string;
53
53
  ariaLabel: Search['ariaLabel'];
54
54
  buttonDisabled: boolean;
55
55
  inputDisabled: boolean;
@@ -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
+ };
@@ -0,0 +1,50 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ id: string;
3
+ text?: string | undefined;
4
+ variant?: "fill" | "outline" | undefined;
5
+ size?: "small" | "medium" | undefined;
6
+ type?: "warning" | "informative" | "neutral" | "positive" | "negative" | undefined;
7
+ }>, {
8
+ text: string;
9
+ variant: string;
10
+ size: string;
11
+ type: string;
12
+ }>, {}, 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<{
13
+ id: string;
14
+ text?: string | undefined;
15
+ variant?: "fill" | "outline" | undefined;
16
+ size?: "small" | "medium" | undefined;
17
+ type?: "warning" | "informative" | "neutral" | "positive" | "negative" | undefined;
18
+ }>, {
19
+ text: string;
20
+ variant: string;
21
+ size: string;
22
+ type: string;
23
+ }>>>, {
24
+ type: 'positive' | 'warning' | 'negative' | 'informative' | 'neutral';
25
+ text: string;
26
+ size: 'small' | 'medium';
27
+ variant: 'fill' | 'outline';
28
+ }>, {
29
+ default: (_: {}) => any;
30
+ }>;
31
+ export default _default;
32
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
+ type __VLS_TypePropsToRuntimeProps<T> = {
34
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
35
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
+ } : {
37
+ type: import('vue').PropType<T[K]>;
38
+ required: true;
39
+ };
40
+ };
41
+ type __VLS_WithDefaults<P, D> = {
42
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
43
+ default: D[K];
44
+ } : P[K];
45
+ };
46
+ type __VLS_WithTemplateSlots<T, S> = T & {
47
+ new (): {
48
+ $slots: S;
49
+ };
50
+ };
@@ -0,0 +1,45 @@
1
+ import type { TextValue } from './types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ id: TextValue['id'];
4
+ itemProp?: TextValue['itemProp'];
5
+ label?: TextValue['label'];
6
+ value?: TextValue['value'];
7
+ align?: TextValue['align'];
8
+ }>, {
9
+ align: string;
10
+ }>, {}, 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<{
11
+ id: TextValue['id'];
12
+ itemProp?: TextValue['itemProp'];
13
+ label?: TextValue['label'];
14
+ value?: TextValue['value'];
15
+ align?: TextValue['align'];
16
+ }>, {
17
+ align: string;
18
+ }>>>, {
19
+ align: "left" | "right";
20
+ }>, {
21
+ label: (_: {}) => any;
22
+ 'icon:left': (_: {}) => any;
23
+ value: (_: {}) => any;
24
+ 'icon:right': (_: {}) => any;
25
+ }>;
26
+ export default _default;
27
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
+ type __VLS_TypePropsToRuntimeProps<T> = {
29
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
+ } : {
32
+ type: import('vue').PropType<T[K]>;
33
+ required: true;
34
+ };
35
+ };
36
+ type __VLS_WithDefaults<P, D> = {
37
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
38
+ default: D[K];
39
+ } : P[K];
40
+ };
41
+ type __VLS_WithTemplateSlots<T, S> = T & {
42
+ new (): {
43
+ $slots: S;
44
+ };
45
+ };
@@ -1,127 +1,5 @@
1
1
  import type { Position, ToastContent, ToastOptions } from './types';
2
- declare const _default: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{
7
- type: ToastOptions['type'];
8
- position: Position;
9
- offset: number;
10
- visible: boolean;
11
- hideProgressBar: boolean;
12
- showIcon: boolean;
13
- }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
- id: string | number;
15
- type: ToastOptions['type'];
16
- visible?: boolean | undefined;
17
- title?: ToastContent['title'];
18
- description: ToastContent['description'];
19
- actionText?: ToastContent['actionText'];
20
- timeout: number;
21
- hideProgressBar?: boolean | undefined;
22
- showIcon?: boolean | undefined;
23
- offset: number;
24
- onAction?: (() => void) | undefined;
25
- onCloseHandler?: (() => void) | undefined;
26
- position?: Position | undefined;
27
- }>, {
28
- type: import("./types").ToastType | undefined;
29
- delay: number | undefined;
30
- showIcon: boolean | undefined;
31
- position: Position | undefined;
32
- hideProgressBar: boolean | undefined;
33
- offset: number;
34
- visible: boolean;
35
- }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "position" | "offset" | "visible" | "hideProgressBar" | "showIcon">;
36
- $attrs: {
37
- [x: string]: unknown;
38
- };
39
- $refs: {
40
- [x: string]: unknown;
41
- };
42
- $slots: Readonly<{
43
- [name: string]: import("vue").Slot | undefined;
44
- }>;
45
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
46
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
47
- $emit: (event: string, ...args: any[]) => void;
48
- $el: any;
49
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
50
- id: string | number;
51
- type: ToastOptions['type'];
52
- visible?: boolean | undefined;
53
- title?: ToastContent['title'];
54
- description: ToastContent['description'];
55
- actionText?: ToastContent['actionText'];
56
- timeout: number;
57
- hideProgressBar?: boolean | undefined;
58
- showIcon?: boolean | undefined;
59
- offset: number;
60
- onAction?: (() => void) | undefined;
61
- onCloseHandler?: (() => void) | undefined;
62
- position?: Position | undefined;
63
- }>, {
64
- type: import("./types").ToastType | undefined;
65
- delay: number | undefined;
66
- showIcon: boolean | undefined;
67
- position: Position | undefined;
68
- hideProgressBar: boolean | undefined;
69
- offset: number;
70
- visible: boolean;
71
- }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
72
- type: ToastOptions['type'];
73
- position: Position;
74
- offset: number;
75
- visible: boolean;
76
- hideProgressBar: boolean;
77
- showIcon: boolean;
78
- }, {}, string> & {
79
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
80
- created?: ((() => void) | (() => void)[]) | undefined;
81
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
82
- mounted?: ((() => void) | (() => void)[]) | undefined;
83
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
84
- updated?: ((() => void) | (() => void)[]) | undefined;
85
- activated?: ((() => void) | (() => void)[]) | undefined;
86
- deactivated?: ((() => void) | (() => void)[]) | undefined;
87
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
88
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
89
- destroyed?: ((() => void) | (() => void)[]) | undefined;
90
- unmounted?: ((() => void) | (() => void)[]) | undefined;
91
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
92
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
93
- 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;
94
- };
95
- $forceUpdate: () => void;
96
- $nextTick: typeof import("vue").nextTick;
97
- $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;
98
- } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
99
- id: string | number;
100
- type: ToastOptions['type'];
101
- visible?: boolean | undefined;
102
- title?: ToastContent['title'];
103
- description: ToastContent['description'];
104
- actionText?: ToastContent['actionText'];
105
- timeout: number;
106
- hideProgressBar?: boolean | undefined;
107
- showIcon?: boolean | undefined;
108
- offset: number;
109
- onAction?: (() => void) | undefined;
110
- onCloseHandler?: (() => void) | undefined;
111
- position?: Position | undefined;
112
- }>, {
113
- type: import("./types").ToastType | undefined;
114
- delay: number | undefined;
115
- showIcon: boolean | undefined;
116
- position: Position | undefined;
117
- hideProgressBar: boolean | undefined;
118
- offset: number;
119
- visible: boolean;
120
- }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
121
- __isFragment?: undefined;
122
- __isTeleport?: undefined;
123
- __isSuspense?: undefined;
124
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
125
3
  id: string | number;
126
4
  type: ToastOptions['type'];
127
5
  visible?: boolean | undefined;
@@ -143,22 +21,42 @@ declare const _default: {
143
21
  hideProgressBar: boolean | undefined;
144
22
  offset: number;
145
23
  visible: boolean;
146
- }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
24
+ }>, {}, 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<{
25
+ id: string | number;
26
+ type: ToastOptions['type'];
27
+ visible?: boolean | undefined;
28
+ title?: ToastContent['title'];
29
+ description: ToastContent['description'];
30
+ actionText?: ToastContent['actionText'];
31
+ timeout: number;
32
+ hideProgressBar?: boolean | undefined;
33
+ showIcon?: boolean | undefined;
34
+ offset: number;
35
+ onAction?: (() => void) | undefined;
36
+ onCloseHandler?: (() => void) | undefined;
37
+ position?: Position | undefined;
38
+ }>, {
39
+ type: import("./types").ToastType | undefined;
40
+ delay: number | undefined;
41
+ showIcon: boolean | undefined;
42
+ position: Position | undefined;
43
+ hideProgressBar: boolean | undefined;
44
+ offset: number;
45
+ visible: boolean;
46
+ }>>>, {
147
47
  type: ToastOptions['type'];
148
48
  position: Position;
149
49
  offset: number;
150
50
  visible: boolean;
151
51
  hideProgressBar: boolean;
152
52
  showIcon: boolean;
153
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
154
- $slots: {
155
- 'icon-status': (_: {
156
- type: import("./types").ToastType | undefined;
157
- }) => any;
158
- title: (_: {}) => any;
159
- description: (_: {}) => any;
160
- };
161
- });
53
+ }>, {
54
+ 'icon-status': (_: {
55
+ type: import("./types").ToastType | undefined;
56
+ }) => any;
57
+ title: (_: {}) => any;
58
+ description: (_: {}) => any;
59
+ }>;
162
60
  export default _default;
163
61
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
164
62
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -174,3 +72,8 @@ type __VLS_WithDefaults<P, D> = {
174
72
  default: D[K];
175
73
  } : P[K];
176
74
  };
75
+ type __VLS_WithTemplateSlots<T, S> = T & {
76
+ new (): {
77
+ $slots: S;
78
+ };
79
+ };