@solfacil/girassol 0.16.2 → 0.17.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 (35) hide show
  1. package/dist/components.d.ts +1 -0
  2. package/dist/components.json +1 -1
  3. package/dist/girassol.es.js +7424 -6828
  4. package/dist/girassol.umd.js +5 -5
  5. package/dist/style.css +1 -1
  6. package/dist/types/components/date-picker/DatePicker.vue.d.ts +18 -99
  7. package/dist/types/components/file-upload/Download.vue.d.ts +12 -82
  8. package/dist/types/components/file-upload/FileUpload.vue.d.ts +32 -157
  9. package/dist/types/components/file-upload/Upload.vue.d.ts +19 -103
  10. package/dist/types/components/forms/checkbox/checkbox/Checkbox.vue.d.ts +13 -81
  11. package/dist/types/components/forms/inputs/input-core/Input.vue.d.ts +15 -91
  12. package/dist/types/components/forms/inputs/input-password/InputPassword.vue.d.ts +23 -117
  13. package/dist/types/components/forms/inputs/input-textarea/InputTextarea.vue.d.ts +25 -121
  14. package/dist/types/components/forms/radio/radio/Radio.vue.d.ts +12 -78
  15. package/dist/types/components/forms/switch/Switch.vue.d.ts +21 -108
  16. package/dist/types/components/informations/text-value/TextValue.vue.d.ts +3 -3
  17. package/dist/types/components/list/ListItemTextValue.vue.d.ts +4 -4
  18. package/dist/types/components/loader/CircleLoader.vue.d.ts +10 -72
  19. package/dist/types/components/menus/menu/Menu.vue.d.ts +7 -7
  20. package/dist/types/components/{modal → modals/modal}/Modal.vue.d.ts +0 -0
  21. package/dist/types/components/{modal → modals/modal}/index.d.ts +0 -0
  22. package/dist/types/components/{modal → modals/modal}/modal.spec.d.ts +0 -0
  23. package/dist/types/components/{modal → modals/modal}/types.d.ts +0 -0
  24. package/dist/types/components/modals/onboarding/Onboarding.vue.d.ts +69 -0
  25. package/dist/types/components/modals/onboarding/Slider.vue.d.ts +31 -0
  26. package/dist/types/components/modals/onboarding/index.d.ts +2 -0
  27. package/dist/types/components/modals/onboarding/onboading.spec.d.ts +1 -0
  28. package/dist/types/components/modals/onboarding/types.d.ts +12 -0
  29. package/dist/types/components/pagination/Pagination.vue.d.ts +27 -148
  30. package/dist/types/components/search/Search.vue.d.ts +26 -137
  31. package/dist/types/components/steps/Steps.vue.d.ts +14 -84
  32. package/dist/types/components/tabs/TabItem.vue.d.ts +4 -0
  33. package/dist/types/components/tabs/Tabs.vue.d.ts +23 -114
  34. package/dist/types/index.d.ts +1037 -2461
  35. package/package.json +3 -3
@@ -1,79 +1,15 @@
1
1
  import type { Radio } 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: Radio['id'];
8
- name: Radio['name'];
9
- value: Radio['value'];
10
- label: Radio['label'];
11
- hideLabel?: Radio['hideLabel'];
12
- checked?: Radio['checked'];
13
- class?: Radio['class'];
14
- }>>> & {
15
- onChange?: ((value: import("../types").RadioValue) => any) | undefined;
16
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
17
- $attrs: {
18
- [x: string]: unknown;
19
- };
20
- $refs: {
21
- [x: string]: unknown;
22
- };
23
- $slots: Readonly<{
24
- [name: string]: import("vue").Slot | undefined;
25
- }>;
26
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
27
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
28
- $emit: (event: "change", value: import("../types").RadioValue) => void;
29
- $el: any;
30
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
31
- id: Radio['id'];
32
- name: Radio['name'];
33
- value: Radio['value'];
34
- label: Radio['label'];
35
- hideLabel?: Radio['hideLabel'];
36
- checked?: Radio['checked'];
37
- class?: Radio['class'];
38
- }>>> & {
39
- onChange?: ((value: import("../types").RadioValue) => any) | undefined;
40
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
- change: (value: import("../types").RadioValue) => void;
42
- }, string, {}, {}, string> & {
43
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
44
- created?: ((() => void) | (() => void)[]) | undefined;
45
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
46
- mounted?: ((() => void) | (() => void)[]) | undefined;
47
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
48
- updated?: ((() => void) | (() => void)[]) | undefined;
49
- activated?: ((() => void) | (() => void)[]) | undefined;
50
- deactivated?: ((() => void) | (() => void)[]) | undefined;
51
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
52
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
53
- destroyed?: ((() => void) | (() => void)[]) | undefined;
54
- unmounted?: ((() => void) | (() => void)[]) | undefined;
55
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
56
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
57
- 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;
58
- };
59
- $forceUpdate: () => void;
60
- $nextTick: typeof import("vue").nextTick;
61
- $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;
62
- } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
63
- id: Radio['id'];
64
- name: Radio['name'];
65
- value: Radio['value'];
66
- label: Radio['label'];
67
- hideLabel?: Radio['hideLabel'];
68
- checked?: Radio['checked'];
69
- class?: Radio['class'];
70
- }>>> & {
71
- onChange?: ((value: import("../types").RadioValue) => any) | undefined;
72
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
73
- __isFragment?: undefined;
74
- __isTeleport?: undefined;
75
- __isSuspense?: undefined;
76
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ id: Radio['id'];
4
+ name: Radio['name'];
5
+ value: Radio['value'];
6
+ label: Radio['label'];
7
+ hideLabel?: Radio['hideLabel'];
8
+ checked?: Radio['checked'];
9
+ class?: Radio['class'];
10
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ change: (value: import("../types").RadioValue) => void;
12
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
77
13
  id: Radio['id'];
78
14
  name: Radio['name'];
79
15
  value: Radio['value'];
@@ -83,9 +19,7 @@ declare const _default: {
83
19
  class?: Radio['class'];
84
20
  }>>> & {
85
21
  onChange?: ((value: import("../types").RadioValue) => any) | undefined;
86
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
87
- change: (value: import("../types").RadioValue) => void;
88
- }, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
22
+ }, {}>;
89
23
  export default _default;
90
24
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
91
25
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,127 +1,40 @@
1
- declare const _default: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{
6
- textDirection: 'left' | 'right';
7
- stretchLabel: boolean;
8
- }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
- id: string;
10
- name: string;
11
- value?: string | undefined;
12
- label: string;
13
- checked?: boolean | undefined;
14
- class?: string | Record<string, boolean> | undefined;
15
- textDirection?: "left" | "right" | undefined;
16
- hideLabel?: boolean | undefined;
17
- stretchLabel?: boolean | undefined;
18
- }>, {
19
- textDirection: string;
20
- stretchLabel: boolean;
21
- }>>> & {
22
- onChange?: ((value: string | boolean) => any) | undefined;
23
- "onUpdate:checked"?: ((value: boolean) => any) | undefined;
24
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "textDirection" | "stretchLabel">;
25
- $attrs: {
26
- [x: string]: unknown;
27
- };
28
- $refs: {
29
- [x: string]: unknown;
30
- };
31
- $slots: Readonly<{
32
- [name: string]: import("vue").Slot | undefined;
33
- }>;
34
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
35
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
36
- $emit: ((event: "change", value: string | boolean) => void) & ((event: "update:checked", value: boolean) => void);
37
- $el: any;
38
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
39
- id: string;
40
- name: string;
41
- value?: string | undefined;
42
- label: string;
43
- checked?: boolean | undefined;
44
- class?: string | Record<string, boolean> | undefined;
45
- textDirection?: "left" | "right" | undefined;
46
- hideLabel?: boolean | undefined;
47
- stretchLabel?: boolean | undefined;
48
- }>, {
49
- textDirection: string;
50
- stretchLabel: boolean;
51
- }>>> & {
52
- onChange?: ((value: string | boolean) => any) | undefined;
53
- "onUpdate:checked"?: ((value: boolean) => any) | undefined;
54
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
55
- change: (value: string | boolean) => void;
56
- } & {
57
- "update:checked": (value: boolean) => void;
58
- }, string, {
59
- textDirection: 'left' | 'right';
60
- stretchLabel: boolean;
61
- }, {}, string> & {
62
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
63
- created?: ((() => void) | (() => void)[]) | undefined;
64
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
65
- mounted?: ((() => void) | (() => void)[]) | undefined;
66
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
67
- updated?: ((() => void) | (() => void)[]) | undefined;
68
- activated?: ((() => void) | (() => void)[]) | undefined;
69
- deactivated?: ((() => void) | (() => void)[]) | undefined;
70
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
71
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
72
- destroyed?: ((() => void) | (() => void)[]) | undefined;
73
- unmounted?: ((() => void) | (() => void)[]) | undefined;
74
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
75
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
76
- 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;
77
- };
78
- $forceUpdate: () => void;
79
- $nextTick: typeof import("vue").nextTick;
80
- $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;
81
- } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
82
- id: string;
83
- name: string;
84
- value?: string | undefined;
85
- label: string;
86
- checked?: boolean | undefined;
87
- class?: string | Record<string, boolean> | undefined;
88
- textDirection?: "left" | "right" | undefined;
89
- hideLabel?: boolean | undefined;
90
- stretchLabel?: boolean | undefined;
91
- }>, {
92
- textDirection: string;
93
- stretchLabel: boolean;
94
- }>>> & {
95
- onChange?: ((value: string | boolean) => any) | undefined;
96
- "onUpdate:checked"?: ((value: boolean) => any) | undefined;
97
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
98
- __isFragment?: undefined;
99
- __isTeleport?: undefined;
100
- __isSuspense?: undefined;
101
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
102
2
  id: string;
103
3
  name: string;
104
4
  value?: string | undefined;
105
5
  label: string;
106
6
  checked?: boolean | undefined;
107
7
  class?: string | Record<string, boolean> | undefined;
108
- textDirection?: "left" | "right" | undefined;
8
+ textDirection?: "right" | "left" | undefined;
109
9
  hideLabel?: boolean | undefined;
110
10
  stretchLabel?: boolean | undefined;
111
11
  }>, {
112
12
  textDirection: string;
113
13
  stretchLabel: boolean;
114
- }>>> & {
115
- onChange?: ((value: string | boolean) => any) | undefined;
116
- "onUpdate:checked"?: ((value: boolean) => any) | undefined;
117
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
118
15
  change: (value: string | boolean) => void;
119
16
  } & {
120
17
  "update:checked": (value: boolean) => void;
121
- }, string, {
18
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
+ id: string;
20
+ name: string;
21
+ value?: string | undefined;
22
+ label: string;
23
+ checked?: boolean | undefined;
24
+ class?: string | Record<string, boolean> | undefined;
25
+ textDirection?: "right" | "left" | undefined;
26
+ hideLabel?: boolean | undefined;
27
+ stretchLabel?: boolean | undefined;
28
+ }>, {
29
+ textDirection: string;
30
+ stretchLabel: boolean;
31
+ }>>> & {
32
+ onChange?: ((value: string | boolean) => any) | undefined;
33
+ "onUpdate:checked"?: ((value: boolean) => any) | undefined;
34
+ }, {
122
35
  textDirection: 'left' | 'right';
123
36
  stretchLabel: boolean;
124
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
37
+ }>;
125
38
  export default _default;
126
39
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
127
40
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -4,7 +4,7 @@ declare const _default: {
4
4
  $: import("vue").ComponentInternalInstance;
5
5
  $data: {};
6
6
  $props: Partial<{
7
- align: "left" | "right";
7
+ align: "right" | "left";
8
8
  }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
9
  id: TextValue['id'];
10
10
  itemProp?: TextValue['itemProp'];
@@ -36,7 +36,7 @@ declare const _default: {
36
36
  }>, {
37
37
  align: string;
38
38
  }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
39
- align: "left" | "right";
39
+ align: "right" | "left";
40
40
  }, {}, string> & {
41
41
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
42
42
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -78,7 +78,7 @@ declare const _default: {
78
78
  }>, {
79
79
  align: string;
80
80
  }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
81
- align: "left" | "right";
81
+ align: "right" | "left";
82
82
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
83
83
  $slots: {
84
84
  label: (_: {}) => any;
@@ -9,7 +9,7 @@ declare const _default: {
9
9
  property?: string | undefined;
10
10
  value?: string | number | undefined;
11
11
  isHighlightValue?: boolean | undefined;
12
- align?: "left" | "right" | undefined;
12
+ align?: "right" | "left" | undefined;
13
13
  hide?: boolean | undefined;
14
14
  }>, {
15
15
  align: string;
@@ -32,7 +32,7 @@ declare const _default: {
32
32
  property?: string | undefined;
33
33
  value?: string | number | undefined;
34
34
  isHighlightValue?: boolean | undefined;
35
- align?: "left" | "right" | undefined;
35
+ align?: "right" | "left" | undefined;
36
36
  hide?: boolean | undefined;
37
37
  }>, {
38
38
  align: string;
@@ -63,7 +63,7 @@ declare const _default: {
63
63
  property?: string | undefined;
64
64
  value?: string | number | undefined;
65
65
  isHighlightValue?: boolean | undefined;
66
- align?: "left" | "right" | undefined;
66
+ align?: "right" | "left" | undefined;
67
67
  hide?: boolean | undefined;
68
68
  }>, {
69
69
  align: string;
@@ -76,7 +76,7 @@ declare const _default: {
76
76
  property?: string | undefined;
77
77
  value?: string | number | undefined;
78
78
  isHighlightValue?: boolean | undefined;
79
- align?: "left" | "right" | undefined;
79
+ align?: "right" | "left" | undefined;
80
80
  hide?: boolean | undefined;
81
81
  }>, {
82
82
  align: string;
@@ -1,83 +1,21 @@
1
- declare const _default: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{
6
- title: string;
7
- size: 'small' | 'medium' | 'large';
8
- }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
- size: 'small' | 'medium' | 'large';
10
- dark?: boolean | undefined;
11
- title?: string | undefined;
12
- }>, {
13
- size: string;
14
- title: string;
15
- }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "size">;
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
- size: 'small' | 'medium' | 'large';
31
- dark?: boolean | undefined;
32
- title?: string | undefined;
33
- }>, {
34
- size: string;
35
- title: string;
36
- }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
37
- title: string;
38
- size: 'small' | 'medium' | 'large';
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
- size: 'small' | 'medium' | 'large';
61
- dark?: boolean | undefined;
62
- title?: string | undefined;
63
- }>, {
64
- size: string;
65
- title: 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: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
71
2
  size: 'small' | 'medium' | 'large';
72
3
  dark?: boolean | undefined;
73
4
  title?: string | undefined;
74
5
  }>, {
75
6
  size: string;
76
7
  title: 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
+ size: 'small' | 'medium' | 'large';
10
+ dark?: boolean | undefined;
11
+ title?: string | undefined;
12
+ }>, {
13
+ size: string;
14
+ title: string;
15
+ }>>>, {
78
16
  title: string;
79
17
  size: 'small' | 'medium' | 'large';
80
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
18
+ }>;
81
19
  export default _default;
82
20
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
83
21
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -4,11 +4,11 @@ declare const _default: {
4
4
  $data: {};
5
5
  $props: Partial<{
6
6
  label: string;
7
- position: ("center" | "bottom" | "top") | ("left" | "right");
7
+ position: ("bottom" | "top" | "center") | ("right" | "left");
8
8
  }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
9
  id: string;
10
10
  label?: string | undefined;
11
- position?: (("center" | "bottom" | "top") | ("left" | "right")) | undefined;
11
+ position?: (("bottom" | "top" | "center") | ("right" | "left")) | undefined;
12
12
  }>, {
13
13
  label: string;
14
14
  position: string;
@@ -29,13 +29,13 @@ declare const _default: {
29
29
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
30
30
  id: string;
31
31
  label?: string | undefined;
32
- position?: (("center" | "bottom" | "top") | ("left" | "right")) | undefined;
32
+ position?: (("bottom" | "top" | "center") | ("right" | "left")) | undefined;
33
33
  }>, {
34
34
  label: string;
35
35
  position: string;
36
36
  }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
37
37
  label: string;
38
- position: ("center" | "bottom" | "top") | ("left" | "right");
38
+ position: ("bottom" | "top" | "center") | ("right" | "left");
39
39
  }, {}, string> & {
40
40
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
41
41
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -59,7 +59,7 @@ declare const _default: {
59
59
  } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
60
60
  id: string;
61
61
  label?: string | undefined;
62
- position?: (("center" | "bottom" | "top") | ("left" | "right")) | undefined;
62
+ position?: (("bottom" | "top" | "center") | ("right" | "left")) | undefined;
63
63
  }>, {
64
64
  label: string;
65
65
  position: string;
@@ -70,13 +70,13 @@ declare const _default: {
70
70
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
71
71
  id: string;
72
72
  label?: string | undefined;
73
- position?: (("center" | "bottom" | "top") | ("left" | "right")) | undefined;
73
+ position?: (("bottom" | "top" | "center") | ("right" | "left")) | undefined;
74
74
  }>, {
75
75
  label: string;
76
76
  position: string;
77
77
  }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
78
78
  label: string;
79
- position: ("center" | "bottom" | "top") | ("left" | "right");
79
+ position: ("bottom" | "top" | "center") | ("right" | "left");
80
80
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
81
81
  $slots: {
82
82
  trigger: (_: {
@@ -0,0 +1,69 @@
1
+ import type { Onboarding } from './types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ id: Onboarding['id'];
4
+ sliders: Onboarding['sliders'];
5
+ isOpen?: Onboarding['isOpen'];
6
+ target?: Onboarding['target'];
7
+ finalButtonText?: Onboarding['finalButtonText'];
8
+ }>, {
9
+ sliders: () => never[];
10
+ target: string;
11
+ finalButtonText: string;
12
+ }>, {
13
+ close: () => void;
14
+ open: () => void;
15
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ close: () => void;
17
+ } & {
18
+ open: () => void;
19
+ } & {
20
+ "update:isOpen": (value: boolean) => void;
21
+ } & {
22
+ "action:skip": () => void;
23
+ } & {
24
+ "action:start": () => void;
25
+ } & {
26
+ "action:next": () => void;
27
+ } & {
28
+ "action:previous": () => void;
29
+ } & {
30
+ "action:finish": () => void;
31
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
32
+ id: Onboarding['id'];
33
+ sliders: Onboarding['sliders'];
34
+ isOpen?: Onboarding['isOpen'];
35
+ target?: Onboarding['target'];
36
+ finalButtonText?: Onboarding['finalButtonText'];
37
+ }>, {
38
+ sliders: () => never[];
39
+ target: string;
40
+ finalButtonText: string;
41
+ }>>> & {
42
+ onOpen?: (() => any) | undefined;
43
+ onClose?: (() => any) | undefined;
44
+ "onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
45
+ "onAction:skip"?: (() => any) | undefined;
46
+ "onAction:start"?: (() => any) | undefined;
47
+ "onAction:next"?: (() => any) | undefined;
48
+ "onAction:previous"?: (() => any) | undefined;
49
+ "onAction:finish"?: (() => any) | undefined;
50
+ }, {
51
+ target: string;
52
+ sliders: Onboarding['sliders'];
53
+ finalButtonText: string;
54
+ }>;
55
+ export default _default;
56
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
57
+ type __VLS_TypePropsToRuntimeProps<T> = {
58
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
59
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
60
+ } : {
61
+ type: import('vue').PropType<T[K]>;
62
+ required: true;
63
+ };
64
+ };
65
+ type __VLS_WithDefaults<P, D> = {
66
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
67
+ default: D[K];
68
+ } : P[K];
69
+ };
@@ -0,0 +1,31 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ steps: number;
3
+ current: number;
4
+ }>, {
5
+ steps: number;
6
+ current: number;
7
+ }>, {}, 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<{
8
+ steps: number;
9
+ current: number;
10
+ }>, {
11
+ steps: number;
12
+ current: number;
13
+ }>>>, {
14
+ steps: number;
15
+ current: number;
16
+ }>;
17
+ export default _default;
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToRuntimeProps<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
27
+ type __VLS_WithDefaults<P, D> = {
28
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
29
+ default: D[K];
30
+ } : P[K];
31
+ };
@@ -0,0 +1,2 @@
1
+ import SolOnboarding from './Onboarding.vue';
2
+ export { SolOnboarding, };
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1,12 @@
1
+ export type Slider = {
2
+ title: string;
3
+ content: string;
4
+ image: string;
5
+ };
6
+ export interface Onboarding {
7
+ id: string;
8
+ isOpen?: boolean;
9
+ target?: string;
10
+ finalButtonText?: string;
11
+ sliders: Slider[];
12
+ }