@solfacil/girassol 0.1.11 → 0.2.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 (33) hide show
  1. package/dist/README.md.d.ts +2 -0
  2. package/dist/cli/readme.md.d.ts +2 -0
  3. package/dist/girassol.es.js +521 -240
  4. package/dist/girassol.umd.js +5 -22
  5. package/dist/style.css +1 -1
  6. package/dist/theme/solfacil/colors.d.ts +23 -5
  7. package/dist/theme/solfacil/effects.d.ts +5 -3
  8. package/dist/theme/solfacil/typography.d.ts +1 -2
  9. package/dist/types/components/accordion/Accordion.vue.d.ts +75 -10
  10. package/dist/types/components/dropdown/Dropdown.vue.d.ts +188 -31
  11. package/dist/types/components/forms/button/Button.vue.d.ts +86 -12
  12. package/dist/types/components/forms/checkbox/Checkbox.vue.d.ts +77 -11
  13. package/dist/types/components/forms/checkbox/CheckboxGroup.vue.d.ts +114 -19
  14. package/dist/types/components/forms/input/Input.vue.d.ts +76 -10
  15. package/dist/types/components/forms/radio/Radio.vue.d.ts +77 -11
  16. package/dist/types/components/forms/radio/RadioGroup.vue.d.ts +114 -19
  17. package/dist/types/components/forms/select/ListOption.vue.d.ts +149 -0
  18. package/dist/types/components/forms/select/Select.vue.d.ts +298 -27
  19. package/dist/types/components/forms/switch/Switch.vue.d.ts +83 -13
  20. package/dist/types/components/forms/textarea/Textarea.vue.d.ts +107 -18
  21. package/dist/types/components/forms/textfield/Textfield.vue.d.ts +100 -16
  22. package/dist/types/components/forms/textfield/TextfieldPassword.vue.d.ts +71 -9
  23. package/dist/types/components/informations/chip/Chip.vue.d.ts +94 -15
  24. package/dist/types/composables/use-toast/Toast.vue.d.ts +130 -24
  25. package/dist/types/composables/use-toast/index.d.ts +1 -1
  26. package/dist/types/index.d.ts +2303 -456
  27. package/dist/windi.config.d.ts +1 -1
  28. package/package.json +30 -30
  29. package/theme/solfacil/borders.ts +2 -1
  30. package/theme/solfacil/colors.ts +36 -23
  31. package/theme/solfacil/effects.ts +6 -4
  32. package/theme/solfacil/typography.ts +2 -4
  33. package/windi.config.ts +31 -1
@@ -1,17 +1,93 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- id: string;
3
- class?: string | undefined;
4
- modelValue?: string | number | undefined;
5
- label?: string | undefined;
6
- hint?: string | undefined;
7
- invert?: boolean | undefined;
8
- error?: string | undefined;
9
- }>, {
10
- modelValue: string;
11
- label: string;
12
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- "update:modelValue": (event: string | number) => void;
14
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ label: string;
7
+ modelValue: string | number;
8
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ id: string;
10
+ class?: string | undefined;
11
+ modelValue?: string | number | undefined;
12
+ label?: string | undefined;
13
+ hint?: string | undefined;
14
+ invert?: boolean | undefined;
15
+ error?: string | undefined;
16
+ }>, {
17
+ modelValue: string;
18
+ label: string;
19
+ }>>> & {
20
+ "onUpdate:modelValue"?: ((event: string | number) => any) | undefined;
21
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "modelValue">;
22
+ $attrs: {
23
+ [x: string]: unknown;
24
+ };
25
+ $refs: {
26
+ [x: string]: unknown;
27
+ };
28
+ $slots: Readonly<{
29
+ [name: string]: import("vue").Slot | undefined;
30
+ }>;
31
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
32
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
33
+ $emit: (event: "update:modelValue", event: string | number) => void;
34
+ $el: any;
35
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
36
+ id: string;
37
+ class?: string | undefined;
38
+ modelValue?: string | number | undefined;
39
+ label?: string | undefined;
40
+ hint?: string | undefined;
41
+ invert?: boolean | undefined;
42
+ error?: string | undefined;
43
+ }>, {
44
+ modelValue: string;
45
+ label: string;
46
+ }>>> & {
47
+ "onUpdate:modelValue"?: ((event: string | number) => any) | undefined;
48
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
49
+ "update:modelValue": (event: string | number) => void;
50
+ }, string, {
51
+ label: string;
52
+ modelValue: string | number;
53
+ }> & {
54
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
55
+ created?: ((() => void) | (() => void)[]) | undefined;
56
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
57
+ mounted?: ((() => void) | (() => void)[]) | undefined;
58
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
59
+ updated?: ((() => void) | (() => void)[]) | undefined;
60
+ activated?: ((() => void) | (() => void)[]) | undefined;
61
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
62
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
63
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
64
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
65
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
66
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
67
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
68
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
69
+ };
70
+ $forceUpdate: () => void;
71
+ $nextTick: typeof import("vue").nextTick;
72
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
73
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
74
+ id: string;
75
+ class?: string | undefined;
76
+ modelValue?: string | number | undefined;
77
+ label?: string | undefined;
78
+ hint?: string | undefined;
79
+ invert?: boolean | undefined;
80
+ error?: string | undefined;
81
+ }>, {
82
+ modelValue: string;
83
+ label: string;
84
+ }>>> & {
85
+ "onUpdate:modelValue"?: ((event: string | number) => any) | undefined;
86
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
87
+ __isFragment?: undefined;
88
+ __isTeleport?: undefined;
89
+ __isSuspense?: undefined;
90
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
91
  id: string;
16
92
  class?: string | undefined;
17
93
  modelValue?: string | number | undefined;
@@ -24,10 +100,18 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
24
100
  label: string;
25
101
  }>>> & {
26
102
  "onUpdate:modelValue"?: ((event: string | number) => any) | undefined;
27
- }, {
103
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
104
+ "update:modelValue": (event: string | number) => void;
105
+ }, string, {
28
106
  label: string;
29
107
  modelValue: string | number;
30
- }>;
108
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
109
+ $slots: {
110
+ label: (_: {}) => any;
111
+ default: (_: {}) => any;
112
+ icon: (_: {}) => any;
113
+ };
114
+ });
31
115
  export default _default;
32
116
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
117
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,19 +1,81 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ label: string;
7
+ id: string;
8
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ id: string;
10
+ label?: string | undefined;
11
+ }>, {
12
+ id: string;
13
+ label: string;
14
+ }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "id">;
15
+ $attrs: {
16
+ [x: string]: unknown;
17
+ };
18
+ $refs: {
19
+ [x: string]: unknown;
20
+ };
21
+ $slots: Readonly<{
22
+ [name: string]: import("vue").Slot | undefined;
23
+ }>;
24
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
25
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
26
+ $emit: (event: string, ...args: any[]) => void;
27
+ $el: any;
28
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
29
+ id: string;
30
+ label?: string | undefined;
31
+ }>, {
32
+ id: string;
33
+ label: string;
34
+ }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
35
+ label: string;
36
+ id: string;
37
+ }> & {
38
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
39
+ created?: ((() => void) | (() => void)[]) | undefined;
40
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
41
+ mounted?: ((() => void) | (() => void)[]) | undefined;
42
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
43
+ updated?: ((() => void) | (() => void)[]) | undefined;
44
+ activated?: ((() => void) | (() => void)[]) | undefined;
45
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
46
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
47
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
48
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
49
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
50
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
51
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
52
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
53
+ };
54
+ $forceUpdate: () => void;
55
+ $nextTick: typeof import("vue").nextTick;
56
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
57
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
58
+ id: string;
59
+ label?: string | undefined;
60
+ }>, {
61
+ id: string;
62
+ label: string;
63
+ }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
64
+ __isFragment?: undefined;
65
+ __isTeleport?: undefined;
66
+ __isSuspense?: undefined;
67
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
68
  id: string;
3
69
  label?: string | undefined;
4
70
  }>, {
5
71
  id: string;
6
72
  label: string;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
- id: string;
9
- label?: string | undefined;
10
- }>, {
11
- id: string;
73
+ }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
12
74
  label: string;
13
- }>>>, {
14
75
  id: string;
15
- label: string;
16
- }>;
76
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
77
+ $slots: {};
78
+ });
17
79
  export default _default;
18
80
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
81
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,16 +1,87 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- id: string;
3
- label?: string | undefined;
4
- selected?: boolean | undefined;
5
- disabled?: boolean | undefined;
6
- removable?: boolean | undefined;
7
- }>, {
8
- removable: boolean;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- close: () => void;
11
- } & {
12
- "update:selected": () => void;
13
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ removable: boolean;
7
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
+ id: string;
9
+ label?: string | undefined;
10
+ selected?: boolean | undefined;
11
+ disabled?: boolean | undefined;
12
+ removable?: boolean | undefined;
13
+ }>, {
14
+ removable: boolean;
15
+ }>>> & {
16
+ "onUpdate:selected"?: (() => any) | undefined;
17
+ onClose?: (() => any) | undefined;
18
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "removable">;
19
+ $attrs: {
20
+ [x: string]: unknown;
21
+ };
22
+ $refs: {
23
+ [x: string]: unknown;
24
+ };
25
+ $slots: Readonly<{
26
+ [name: string]: import("vue").Slot | undefined;
27
+ }>;
28
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
29
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
30
+ $emit: ((event: "close") => void) & ((event: "update:selected") => void);
31
+ $el: any;
32
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
33
+ id: string;
34
+ label?: string | undefined;
35
+ selected?: boolean | undefined;
36
+ disabled?: boolean | undefined;
37
+ removable?: boolean | undefined;
38
+ }>, {
39
+ removable: boolean;
40
+ }>>> & {
41
+ "onUpdate:selected"?: (() => any) | undefined;
42
+ onClose?: (() => any) | undefined;
43
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
+ close: () => void;
45
+ } & {
46
+ "update:selected": () => void;
47
+ }, string, {
48
+ removable: boolean;
49
+ }> & {
50
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
51
+ created?: ((() => void) | (() => void)[]) | undefined;
52
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
53
+ mounted?: ((() => void) | (() => void)[]) | undefined;
54
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
55
+ updated?: ((() => void) | (() => void)[]) | undefined;
56
+ activated?: ((() => void) | (() => void)[]) | undefined;
57
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
58
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
59
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
60
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
61
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
62
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
63
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
64
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
65
+ };
66
+ $forceUpdate: () => void;
67
+ $nextTick: typeof import("vue").nextTick;
68
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
69
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
70
+ id: string;
71
+ label?: string | undefined;
72
+ selected?: boolean | undefined;
73
+ disabled?: boolean | undefined;
74
+ removable?: boolean | undefined;
75
+ }>, {
76
+ removable: boolean;
77
+ }>>> & {
78
+ "onUpdate:selected"?: (() => any) | undefined;
79
+ onClose?: (() => any) | undefined;
80
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
81
+ __isFragment?: undefined;
82
+ __isTeleport?: undefined;
83
+ __isSuspense?: undefined;
84
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
85
  id: string;
15
86
  label?: string | undefined;
16
87
  selected?: boolean | undefined;
@@ -21,9 +92,17 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
21
92
  }>>> & {
22
93
  "onUpdate:selected"?: (() => any) | undefined;
23
94
  onClose?: (() => any) | undefined;
24
- }, {
95
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
96
+ close: () => void;
97
+ } & {
98
+ "update:selected": () => void;
99
+ }, string, {
25
100
  removable: boolean;
26
- }>;
101
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
102
+ $slots: {
103
+ default: (_: {}) => any;
104
+ };
105
+ });
27
106
  export default _default;
28
107
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
108
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,5 +1,124 @@
1
1
  import type { Position, ToastType } from './types';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: {
3
+ new (...args: any[]): {
4
+ $: import("vue").ComponentInternalInstance;
5
+ $data: {};
6
+ $props: Partial<{
7
+ type: ToastType;
8
+ offset: number;
9
+ position: Position;
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: ToastType;
16
+ visible?: boolean | undefined;
17
+ title: string;
18
+ description?: string | undefined;
19
+ timeout: number;
20
+ hideProgressBar?: boolean | undefined;
21
+ showIcon?: boolean | undefined;
22
+ offset: number;
23
+ onClose?: (() => void) | undefined;
24
+ onCloseHandler?: (() => void) | undefined;
25
+ position?: Position | undefined;
26
+ }>, {
27
+ type: ToastType | undefined;
28
+ delay: number | undefined;
29
+ showIcon: boolean | undefined;
30
+ position: Position | undefined;
31
+ hideProgressBar: boolean | undefined;
32
+ offset: number;
33
+ visible: boolean;
34
+ }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "offset" | "position" | "visible" | "hideProgressBar" | "showIcon">;
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, {}>> | null;
45
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
46
+ $emit: (event: string, ...args: any[]) => void;
47
+ $el: any;
48
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
49
+ id: string | number;
50
+ type: ToastType;
51
+ visible?: boolean | undefined;
52
+ title: string;
53
+ description?: string | undefined;
54
+ timeout: number;
55
+ hideProgressBar?: boolean | undefined;
56
+ showIcon?: boolean | undefined;
57
+ offset: number;
58
+ onClose?: (() => void) | undefined;
59
+ onCloseHandler?: (() => void) | undefined;
60
+ position?: Position | undefined;
61
+ }>, {
62
+ type: ToastType | undefined;
63
+ delay: number | undefined;
64
+ showIcon: boolean | undefined;
65
+ position: Position | undefined;
66
+ hideProgressBar: boolean | undefined;
67
+ offset: number;
68
+ visible: boolean;
69
+ }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
70
+ type: ToastType;
71
+ offset: number;
72
+ position: Position;
73
+ visible: boolean;
74
+ hideProgressBar: boolean;
75
+ showIcon: boolean;
76
+ }> & {
77
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
78
+ created?: ((() => void) | (() => void)[]) | undefined;
79
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
80
+ mounted?: ((() => void) | (() => void)[]) | undefined;
81
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
82
+ updated?: ((() => void) | (() => void)[]) | undefined;
83
+ activated?: ((() => void) | (() => void)[]) | undefined;
84
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
85
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
86
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
87
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
88
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
89
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
90
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
91
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
92
+ };
93
+ $forceUpdate: () => void;
94
+ $nextTick: typeof import("vue").nextTick;
95
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
96
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
97
+ id: string | number;
98
+ type: ToastType;
99
+ visible?: boolean | undefined;
100
+ title: string;
101
+ description?: string | undefined;
102
+ timeout: number;
103
+ hideProgressBar?: boolean | undefined;
104
+ showIcon?: boolean | undefined;
105
+ offset: number;
106
+ onClose?: (() => void) | undefined;
107
+ onCloseHandler?: (() => void) | undefined;
108
+ position?: Position | undefined;
109
+ }>, {
110
+ type: ToastType | undefined;
111
+ delay: number | undefined;
112
+ showIcon: boolean | undefined;
113
+ position: Position | undefined;
114
+ hideProgressBar: boolean | undefined;
115
+ offset: number;
116
+ visible: boolean;
117
+ }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
118
+ __isFragment?: undefined;
119
+ __isTeleport?: undefined;
120
+ __isSuspense?: undefined;
121
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
122
  id: string | number;
4
123
  type: ToastType;
5
124
  visible?: boolean | undefined;
@@ -20,35 +139,22 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
20
139
  hideProgressBar: boolean | undefined;
21
140
  offset: number;
22
141
  visible: boolean;
23
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
24
- id: string | number;
25
- type: ToastType;
26
- visible?: boolean | undefined;
27
- title: string;
28
- description?: string | undefined;
29
- timeout: number;
30
- hideProgressBar?: boolean | undefined;
31
- showIcon?: boolean | undefined;
32
- offset: number;
33
- onClose?: (() => void) | undefined;
34
- onCloseHandler?: (() => void) | undefined;
35
- position?: Position | undefined;
36
- }>, {
37
- type: ToastType | undefined;
38
- delay: number | undefined;
39
- showIcon: boolean | undefined;
40
- position: Position | undefined;
41
- hideProgressBar: boolean | undefined;
42
- offset: number;
43
- visible: boolean;
44
- }>>>, {
142
+ }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
45
143
  type: ToastType;
46
144
  offset: number;
47
145
  position: Position;
48
146
  visible: boolean;
49
147
  hideProgressBar: boolean;
50
148
  showIcon: boolean;
51
- }>;
149
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
150
+ $slots: {
151
+ 'icon-status': (_: {
152
+ type: ToastType;
153
+ }) => any;
154
+ title: (_: {}) => any;
155
+ description: (_: {}) => any;
156
+ };
157
+ });
52
158
  export default _default;
53
159
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
54
160
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,6 +1,6 @@
1
1
  import type { Position, ToastContent, ToastOptions } from './types';
2
2
  export declare function useToast(): {
3
- createToast: (content: string | ToastContent, options?: ToastOptions | undefined) => {
3
+ createToast: (content: string | ToastContent, options?: ToastOptions) => {
4
4
  close: () => void;
5
5
  };
6
6
  clearAllToasts: () => void;