@solfacil/girassol 0.1.9 → 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 (87) hide show
  1. package/cli/bin/{girassol → girassol-cli} +0 -0
  2. package/cli/build/cli.js +68 -0
  3. package/cli/build/commands/create:component.js +124 -0
  4. package/cli/build/commands/generate:plugin.js +89 -0
  5. package/cli/build/commands/generate:types.js +76 -0
  6. package/cli/build/commands/girassol-cli.js +52 -0
  7. package/cli/build/extensions/cli-extension.js +17 -0
  8. package/cli/build/templates/components.d.ts.ejs +1 -0
  9. package/cli/build/templates/nuxt-plugin.ejs +8 -0
  10. package/cli/build/templates/vue-plugin.ejs +5 -0
  11. package/cli/{src → build}/templates/windi.config.ts.ejs +0 -0
  12. package/cli/build/types/cli.d.ts +1 -0
  13. package/cli/build/types/commands/create:component.d.ts +1 -0
  14. package/cli/build/types/commands/generate:plugin.d.ts +1 -0
  15. package/cli/build/types/commands/generate:types.d.ts +7 -0
  16. package/cli/build/types/commands/girassol-cli.d.ts +1 -0
  17. package/cli/build/types/extensions/cli-extension.d.ts +1 -0
  18. package/cli/build/types/types.d.ts +0 -0
  19. package/cli/build/types.js +2 -0
  20. package/dist/README.md.d.ts +2 -0
  21. package/dist/cli/readme.md.d.ts +2 -0
  22. package/dist/cli/src/cli.d.ts +1 -0
  23. package/dist/cli/src/commands/create:component.d.ts +1 -0
  24. package/dist/cli/src/commands/generate:plugin.d.ts +1 -0
  25. package/dist/cli/src/commands/generate:types.d.ts +7 -0
  26. package/dist/cli/src/commands/girassol-cli.d.ts +1 -0
  27. package/dist/cli/src/extensions/cli-extension.d.ts +1 -0
  28. package/dist/cli/src/types.d.ts +0 -0
  29. package/dist/components.d.ts +22 -0
  30. package/dist/components.json +1 -0
  31. package/dist/girassol.es.js +611 -261
  32. package/dist/girassol.umd.js +5 -5
  33. package/dist/style.css +1 -1
  34. package/dist/theme/solfacil/colors.d.ts +23 -5
  35. package/dist/theme/solfacil/effects.d.ts +5 -3
  36. package/dist/theme/solfacil/typography.d.ts +1 -2
  37. package/dist/types/components/accordion/Accordion.vue.d.ts +97 -0
  38. package/dist/types/components/accordion/accordion.spec.d.ts +1 -0
  39. package/dist/types/components/accordion/index.d.ts +2 -0
  40. package/dist/types/components/dropdown/Dropdown.vue.d.ts +188 -31
  41. package/dist/types/components/forms/button/Button.vue.d.ts +86 -12
  42. package/dist/types/components/forms/checkbox/Checkbox.vue.d.ts +77 -11
  43. package/dist/types/components/forms/checkbox/CheckboxGroup.vue.d.ts +114 -19
  44. package/dist/types/components/forms/input/Input.vue.d.ts +76 -10
  45. package/dist/types/components/forms/radio/Radio.vue.d.ts +77 -11
  46. package/dist/types/components/forms/radio/RadioGroup.vue.d.ts +114 -19
  47. package/dist/types/components/forms/select/ListOption.vue.d.ts +149 -0
  48. package/dist/types/components/forms/select/Select.vue.d.ts +298 -27
  49. package/dist/types/components/forms/switch/Switch.vue.d.ts +83 -13
  50. package/dist/types/components/forms/textarea/Textarea.vue.d.ts +108 -19
  51. package/dist/types/components/forms/textfield/Textfield.vue.d.ts +101 -17
  52. package/dist/types/components/forms/textfield/TextfieldPassword.vue.d.ts +71 -9
  53. package/dist/types/components/informations/chip/Chip.vue.d.ts +94 -15
  54. package/dist/types/composables/use-toast/Toast.vue.d.ts +130 -24
  55. package/dist/types/composables/use-toast/index.d.ts +1 -1
  56. package/dist/types/index.d.ts +2723 -2
  57. package/dist/vite-modules/generate-component-types.d.ts +3 -0
  58. package/dist/windi.config.d.ts +1 -1
  59. package/package.json +52 -42
  60. package/theme/solfacil/borders.ts +2 -1
  61. package/theme/solfacil/colors.ts +36 -23
  62. package/theme/solfacil/effects.ts +6 -4
  63. package/theme/solfacil/typography.ts +2 -4
  64. package/vite.config.ts +4 -0
  65. package/windi.config.ts +31 -1
  66. package/cli/.eslintrc.js +0 -18
  67. package/cli/LICENSE +0 -21
  68. package/cli/docs/commands.md +0 -3
  69. package/cli/docs/plugins.md +0 -47
  70. package/cli/package.json +0 -53
  71. package/cli/readme.md +0 -26
  72. package/cli/src/cli.ts +0 -25
  73. package/cli/src/commands/create:component.ts +0 -93
  74. package/cli/src/commands/generate:plugin.ts +0 -68
  75. package/cli/src/commands/generate:types.ts +0 -38
  76. package/cli/src/commands/girassol.ts +0 -12
  77. package/cli/src/extensions/cli-extension.ts +0 -17
  78. package/cli/src/templates/components/component.spec.ts.ejs +0 -20
  79. package/cli/src/templates/components/component.stories.mdx.ejs +0 -74
  80. package/cli/src/templates/components/component.vue.ejs +0 -23
  81. package/cli/src/templates/components/index.ts.ejs +0 -10
  82. package/cli/src/templates/components.d.ts.ejs +0 -10
  83. package/cli/src/templates/nuxt-plugin.ejs +0 -7
  84. package/cli/src/templates/vue-plugin.ejs +0 -5
  85. package/cli/src/types.ts +0 -1
  86. package/cli/tsconfig.json +0 -28
  87. package/cli/yarn.lock +0 -1804
@@ -1,5 +1,102 @@
1
1
  import type { Checkbox as CheckboxType } from './checkbox-type';
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
+ hideTitle: boolean;
8
+ direction: 'row' | 'column';
9
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
+ id: string;
11
+ title: string;
12
+ hideTitle?: boolean | undefined;
13
+ hint?: string | undefined;
14
+ error?: string | undefined;
15
+ checkboxes: CheckboxType[];
16
+ modelValue?: import("./checkbox-type").CheckboxValue[] | undefined;
17
+ direction?: "row" | "column" | undefined;
18
+ }>, {
19
+ direction: string;
20
+ hideTitle: boolean;
21
+ }>>> & {
22
+ onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
23
+ "onUpdate:modelValue"?: ((a: any) => any) | undefined;
24
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "hideTitle" | "direction">;
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, {}>> | null;
35
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
36
+ $emit: ((event: "update:modelValue", a: any) => void) & ((event: "change", value: import("./checkbox-type").CheckboxValue) => void);
37
+ $el: any;
38
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
39
+ id: string;
40
+ title: string;
41
+ hideTitle?: boolean | undefined;
42
+ hint?: string | undefined;
43
+ error?: string | undefined;
44
+ checkboxes: CheckboxType[];
45
+ modelValue?: import("./checkbox-type").CheckboxValue[] | undefined;
46
+ direction?: "row" | "column" | undefined;
47
+ }>, {
48
+ direction: string;
49
+ hideTitle: boolean;
50
+ }>>> & {
51
+ onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
52
+ "onUpdate:modelValue"?: ((a: any) => any) | undefined;
53
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
+ change: (value: import("./checkbox-type").CheckboxValue) => void;
55
+ } & {
56
+ "update:modelValue": (a: any) => void;
57
+ }, string, {
58
+ hideTitle: boolean;
59
+ direction: 'row' | 'column';
60
+ }> & {
61
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
62
+ created?: ((() => void) | (() => void)[]) | undefined;
63
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
64
+ mounted?: ((() => void) | (() => void)[]) | undefined;
65
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
66
+ updated?: ((() => void) | (() => void)[]) | undefined;
67
+ activated?: ((() => void) | (() => void)[]) | undefined;
68
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
69
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
70
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
71
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
72
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
73
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
74
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
75
+ 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;
76
+ };
77
+ $forceUpdate: () => void;
78
+ $nextTick: typeof import("vue").nextTick;
79
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
80
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
81
+ id: string;
82
+ title: string;
83
+ hideTitle?: boolean | undefined;
84
+ hint?: string | undefined;
85
+ error?: string | undefined;
86
+ checkboxes: CheckboxType[];
87
+ modelValue?: import("./checkbox-type").CheckboxValue[] | undefined;
88
+ direction?: "row" | "column" | undefined;
89
+ }>, {
90
+ direction: string;
91
+ hideTitle: boolean;
92
+ }>>> & {
93
+ onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
94
+ "onUpdate:modelValue"?: ((a: any) => any) | undefined;
95
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
96
+ __isFragment?: undefined;
97
+ __isTeleport?: undefined;
98
+ __isSuspense?: undefined;
99
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
100
  id: string;
4
101
  title: string;
5
102
  hideTitle?: boolean | undefined;
@@ -11,29 +108,27 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
11
108
  }>, {
12
109
  direction: string;
13
110
  hideTitle: boolean;
14
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
111
+ }>>> & {
112
+ onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
113
+ "onUpdate:modelValue"?: ((a: any) => any) | undefined;
114
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
115
  change: (value: import("./checkbox-type").CheckboxValue) => void;
16
116
  } & {
17
117
  "update:modelValue": (a: any) => void;
18
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
- id: string;
20
- title: string;
21
- hideTitle?: boolean | undefined;
22
- hint?: string | undefined;
23
- error?: string | undefined;
24
- checkboxes: CheckboxType[];
25
- modelValue?: import("./checkbox-type").CheckboxValue[] | undefined;
26
- direction?: "row" | "column" | undefined;
27
- }>, {
28
- direction: string;
118
+ }, string, {
29
119
  hideTitle: boolean;
30
- }>>> & {
31
- "onUpdate:modelValue"?: ((a: any) => any) | undefined;
32
- onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
33
- }, {
34
120
  direction: 'row' | 'column';
35
- hideTitle: boolean;
36
- }>;
121
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
122
+ $slots: {
123
+ title: (_: {
124
+ id: string;
125
+ }) => any;
126
+ default: (_: {
127
+ checkboxes: CheckboxType[];
128
+ direction: "row" | "column";
129
+ }) => any;
130
+ };
131
+ });
37
132
  export default _default;
38
133
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
134
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,20 +1,86 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ id: string;
7
+ modelValue: string | number;
8
+ invert?: boolean | undefined;
9
+ error?: boolean | undefined;
10
+ }>>> & {
11
+ "onUpdate:modelValue"?: ((event: string) => any) | undefined;
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, {}>> | null;
23
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
24
+ $emit: (event: "update:modelValue", event: string) => void;
25
+ $el: any;
26
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
27
+ id: string;
28
+ modelValue: string | number;
29
+ invert?: boolean | undefined;
30
+ error?: boolean | undefined;
31
+ }>>> & {
32
+ "onUpdate:modelValue"?: ((event: string) => any) | undefined;
33
+ }, {
34
+ input: import("vue").Ref<string>;
35
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
+ "update:modelValue": (event: string) => void;
37
+ }, string, {}> & {
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_TypePropsToRuntimeProps<{
58
+ id: string;
59
+ modelValue: string | number;
60
+ invert?: boolean | undefined;
61
+ error?: boolean | undefined;
62
+ }>>> & {
63
+ "onUpdate:modelValue"?: ((event: string) => any) | undefined;
64
+ } & import("vue").ShallowUnwrapRef<{
65
+ input: import("vue").Ref<string>;
66
+ }> & {} & import("vue").ComponentCustomProperties;
67
+ __isFragment?: undefined;
68
+ __isTeleport?: undefined;
69
+ __isSuspense?: undefined;
70
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
71
  id: string;
3
72
  modelValue: string | number;
4
73
  invert?: boolean | undefined;
5
74
  error?: boolean | undefined;
6
- }>, {
75
+ }>>> & {
76
+ "onUpdate:modelValue"?: ((event: string) => any) | undefined;
77
+ }, {
7
78
  input: import("vue").Ref<string>;
8
79
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
80
  "update:modelValue": (event: string) => void;
10
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
11
- id: string;
12
- modelValue: string | number;
13
- invert?: boolean | undefined;
14
- error?: boolean | undefined;
15
- }>>> & {
16
- "onUpdate:modelValue"?: ((event: string) => any) | undefined;
17
- }, {}>;
81
+ }, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
82
+ $slots: {};
83
+ });
18
84
  export default _default;
19
85
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
86
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,14 +1,76 @@
1
1
  import type { Radio } from './radio-type';
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
- checked?: Radio['checked'];
8
- class?: Radio['class'];
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- change: (value: import("./radio-type").RadioValue) => void;
11
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
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
+ checked?: Radio['checked'];
12
+ class?: Radio['class'];
13
+ }>>> & {
14
+ onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
15
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
16
+ $attrs: {
17
+ [x: string]: unknown;
18
+ };
19
+ $refs: {
20
+ [x: string]: unknown;
21
+ };
22
+ $slots: Readonly<{
23
+ [name: string]: import("vue").Slot | undefined;
24
+ }>;
25
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
26
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
27
+ $emit: (event: "change", value: import("./radio-type").RadioValue) => void;
28
+ $el: any;
29
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
30
+ id: Radio['id'];
31
+ name: Radio['name'];
32
+ value: Radio['value'];
33
+ label: Radio['label'];
34
+ checked?: Radio['checked'];
35
+ class?: Radio['class'];
36
+ }>>> & {
37
+ onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
38
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
+ change: (value: import("./radio-type").RadioValue) => void;
40
+ }, string, {}> & {
41
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
42
+ created?: ((() => void) | (() => void)[]) | undefined;
43
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
44
+ mounted?: ((() => void) | (() => void)[]) | undefined;
45
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
46
+ updated?: ((() => void) | (() => void)[]) | undefined;
47
+ activated?: ((() => void) | (() => void)[]) | undefined;
48
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
49
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
50
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
51
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
52
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
53
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
54
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
55
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | 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;
56
+ };
57
+ $forceUpdate: () => void;
58
+ $nextTick: typeof import("vue").nextTick;
59
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
60
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
61
+ id: Radio['id'];
62
+ name: Radio['name'];
63
+ value: Radio['value'];
64
+ label: Radio['label'];
65
+ checked?: Radio['checked'];
66
+ class?: Radio['class'];
67
+ }>>> & {
68
+ onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
69
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
70
+ __isFragment?: undefined;
71
+ __isTeleport?: undefined;
72
+ __isSuspense?: undefined;
73
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
12
74
  id: Radio['id'];
13
75
  name: Radio['name'];
14
76
  value: Radio['value'];
@@ -17,7 +79,11 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
17
79
  class?: Radio['class'];
18
80
  }>>> & {
19
81
  onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
20
- }, {}>;
82
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
+ change: (value: import("./radio-type").RadioValue) => void;
84
+ }, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
85
+ $slots: {};
86
+ });
21
87
  export default _default;
22
88
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
89
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,5 +1,102 @@
1
1
  import type { Radio as RadioType } from './radio-type';
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
+ hideTitle: boolean;
8
+ direction: 'row' | 'column';
9
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
+ id: string;
11
+ title: string;
12
+ hideTitle?: boolean | undefined;
13
+ hint?: string | undefined;
14
+ error?: string | undefined;
15
+ radios: RadioType[];
16
+ modelValue: RadioType['value'];
17
+ direction?: "row" | "column" | undefined;
18
+ }>, {
19
+ direction: string;
20
+ hideTitle: boolean;
21
+ }>>> & {
22
+ onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
23
+ "onUpdate:modelValue"?: ((value: import("./radio-type").RadioValue) => any) | undefined;
24
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "hideTitle" | "direction">;
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, {}>> | null;
35
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
36
+ $emit: ((event: "update:modelValue", value: import("./radio-type").RadioValue) => void) & ((event: "change", value: import("./radio-type").RadioValue) => void);
37
+ $el: any;
38
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
39
+ id: string;
40
+ title: string;
41
+ hideTitle?: boolean | undefined;
42
+ hint?: string | undefined;
43
+ error?: string | undefined;
44
+ radios: RadioType[];
45
+ modelValue: RadioType['value'];
46
+ direction?: "row" | "column" | undefined;
47
+ }>, {
48
+ direction: string;
49
+ hideTitle: boolean;
50
+ }>>> & {
51
+ onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
52
+ "onUpdate:modelValue"?: ((value: import("./radio-type").RadioValue) => any) | undefined;
53
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
+ change: (value: import("./radio-type").RadioValue) => void;
55
+ } & {
56
+ "update:modelValue": (value: import("./radio-type").RadioValue) => void;
57
+ }, string, {
58
+ hideTitle: boolean;
59
+ direction: 'row' | 'column';
60
+ }> & {
61
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
62
+ created?: ((() => void) | (() => void)[]) | undefined;
63
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
64
+ mounted?: ((() => void) | (() => void)[]) | undefined;
65
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
66
+ updated?: ((() => void) | (() => void)[]) | undefined;
67
+ activated?: ((() => void) | (() => void)[]) | undefined;
68
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
69
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
70
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
71
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
72
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
73
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
74
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
75
+ 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;
76
+ };
77
+ $forceUpdate: () => void;
78
+ $nextTick: typeof import("vue").nextTick;
79
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
80
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
81
+ id: string;
82
+ title: string;
83
+ hideTitle?: boolean | undefined;
84
+ hint?: string | undefined;
85
+ error?: string | undefined;
86
+ radios: RadioType[];
87
+ modelValue: RadioType['value'];
88
+ direction?: "row" | "column" | undefined;
89
+ }>, {
90
+ direction: string;
91
+ hideTitle: boolean;
92
+ }>>> & {
93
+ onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
94
+ "onUpdate:modelValue"?: ((value: import("./radio-type").RadioValue) => any) | undefined;
95
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
96
+ __isFragment?: undefined;
97
+ __isTeleport?: undefined;
98
+ __isSuspense?: undefined;
99
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
100
  id: string;
4
101
  title: string;
5
102
  hideTitle?: boolean | undefined;
@@ -11,29 +108,27 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
11
108
  }>, {
12
109
  direction: string;
13
110
  hideTitle: boolean;
14
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
111
+ }>>> & {
112
+ onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
113
+ "onUpdate:modelValue"?: ((value: import("./radio-type").RadioValue) => any) | undefined;
114
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
115
  change: (value: import("./radio-type").RadioValue) => void;
16
116
  } & {
17
117
  "update:modelValue": (value: import("./radio-type").RadioValue) => void;
18
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
- id: string;
20
- title: string;
21
- hideTitle?: boolean | undefined;
22
- hint?: string | undefined;
23
- error?: string | undefined;
24
- radios: RadioType[];
25
- modelValue: RadioType['value'];
26
- direction?: "row" | "column" | undefined;
27
- }>, {
28
- direction: string;
118
+ }, string, {
29
119
  hideTitle: boolean;
30
- }>>> & {
31
- "onUpdate:modelValue"?: ((value: import("./radio-type").RadioValue) => any) | undefined;
32
- onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
33
- }, {
34
120
  direction: 'row' | 'column';
35
- hideTitle: boolean;
36
- }>;
121
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
122
+ $slots: {
123
+ title: (_: {
124
+ id: string;
125
+ }) => any;
126
+ default: (_: {
127
+ radios: RadioType[];
128
+ direction: "row" | "column";
129
+ }) => any;
130
+ };
131
+ });
37
132
  export default _default;
38
133
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
134
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -0,0 +1,149 @@
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ id: string;
7
+ options: {
8
+ name: string;
9
+ value: string;
10
+ }[];
11
+ multiple?: boolean | undefined;
12
+ isSelected: (option: {
13
+ name: string;
14
+ value: string;
15
+ }) => boolean;
16
+ }>>> & {
17
+ onSelect?: ((option: {
18
+ name: string;
19
+ value: string;
20
+ }) => any) | undefined;
21
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
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: "select", option: {
34
+ name: string;
35
+ value: string;
36
+ }) => void;
37
+ $el: any;
38
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
39
+ id: string;
40
+ options: {
41
+ name: string;
42
+ value: string;
43
+ }[];
44
+ multiple?: boolean | undefined;
45
+ isSelected: (option: {
46
+ name: string;
47
+ value: string;
48
+ }) => boolean;
49
+ }>>> & {
50
+ onSelect?: ((option: {
51
+ name: string;
52
+ value: string;
53
+ }) => any) | undefined;
54
+ }, {
55
+ list: import("vue").Ref<string>;
56
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
57
+ select: (option: {
58
+ name: string;
59
+ value: string;
60
+ }) => void;
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, {}>> | 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;
77
+ };
78
+ $forceUpdate: () => void;
79
+ $nextTick: typeof import("vue").nextTick;
80
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
81
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
82
+ id: string;
83
+ options: {
84
+ name: string;
85
+ value: string;
86
+ }[];
87
+ multiple?: boolean | undefined;
88
+ isSelected: (option: {
89
+ name: string;
90
+ value: string;
91
+ }) => boolean;
92
+ }>>> & {
93
+ onSelect?: ((option: {
94
+ name: string;
95
+ value: string;
96
+ }) => any) | undefined;
97
+ } & import("vue").ShallowUnwrapRef<{
98
+ list: import("vue").Ref<string>;
99
+ }> & {} & import("vue").ComponentCustomProperties;
100
+ __isFragment?: undefined;
101
+ __isTeleport?: undefined;
102
+ __isSuspense?: undefined;
103
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
104
+ id: string;
105
+ options: {
106
+ name: string;
107
+ value: string;
108
+ }[];
109
+ multiple?: boolean | undefined;
110
+ isSelected: (option: {
111
+ name: string;
112
+ value: string;
113
+ }) => boolean;
114
+ }>>> & {
115
+ onSelect?: ((option: {
116
+ name: string;
117
+ value: string;
118
+ }) => any) | undefined;
119
+ }, {
120
+ list: import("vue").Ref<string>;
121
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
122
+ select: (option: {
123
+ name: string;
124
+ value: string;
125
+ }) => void;
126
+ }, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
127
+ $slots: {
128
+ 'item-list': (_: {
129
+ text: string;
130
+ value: string;
131
+ option: {
132
+ name: string;
133
+ value: string;
134
+ };
135
+ isSelected: boolean;
136
+ }) => any;
137
+ 'no-data': (_: {}) => any;
138
+ };
139
+ });
140
+ export default _default;
141
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
142
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
143
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
144
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
145
+ } : {
146
+ type: import('vue').PropType<T[K]>;
147
+ required: true;
148
+ };
149
+ };