@prefabs.tech/vue3-form 0.31.0 → 0.33.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 (109) hide show
  1. package/dist/PrefabsTechVue3Form.es.js +14387 -13807
  2. package/dist/PrefabsTechVue3Form.umd.js +2 -1
  3. package/dist/flag-icon.css +1 -0
  4. package/dist/src/components/Checkbox.vue.d.ts +10 -7
  5. package/dist/src/components/Checkbox.vue.d.ts.map +1 -1
  6. package/dist/src/components/CheckboxInput.vue.d.ts +20 -16
  7. package/dist/src/components/CheckboxInput.vue.d.ts.map +1 -1
  8. package/dist/src/components/Country.vue.d.ts +9 -8
  9. package/dist/src/components/Country.vue.d.ts.map +1 -1
  10. package/dist/src/components/CountryPicker/Index.vue.d.ts +31 -30
  11. package/dist/src/components/CountryPicker/Index.vue.d.ts.map +1 -1
  12. package/dist/src/components/CurrencyPicker.vue.d.ts +74 -24
  13. package/dist/src/components/CurrencyPicker.vue.d.ts.map +1 -1
  14. package/dist/src/components/DatePicker.vue.d.ts +22 -10
  15. package/dist/src/components/DatePicker.vue.d.ts.map +1 -1
  16. package/dist/src/components/DaysInput.vue.d.ts +13 -9
  17. package/dist/src/components/DaysInput.vue.d.ts.map +1 -1
  18. package/dist/src/components/EditableContent.vue.d.ts +10 -7
  19. package/dist/src/components/EditableContent.vue.d.ts.map +1 -1
  20. package/dist/src/components/Email.vue.d.ts +23 -11
  21. package/dist/src/components/Email.vue.d.ts.map +1 -1
  22. package/dist/src/components/File/FileInput.vue.d.ts +112 -12
  23. package/dist/src/components/File/FileInput.vue.d.ts.map +1 -1
  24. package/dist/src/components/File/SelectedFile.vue.d.ts +27 -9
  25. package/dist/src/components/File/SelectedFile.vue.d.ts.map +1 -1
  26. package/dist/src/components/Form.vue.d.ts +8 -5
  27. package/dist/src/components/Form.vue.d.ts.map +1 -1
  28. package/dist/src/components/FormActions.vue.d.ts +13 -8
  29. package/dist/src/components/FormActions.vue.d.ts.map +1 -1
  30. package/dist/src/components/Input.vue.d.ts +14 -11
  31. package/dist/src/components/Input.vue.d.ts.map +1 -1
  32. package/dist/src/components/NumberInput.vue.d.ts +37 -12
  33. package/dist/src/components/NumberInput.vue.d.ts.map +1 -1
  34. package/dist/src/components/Password.vue.d.ts +27 -15
  35. package/dist/src/components/Password.vue.d.ts.map +1 -1
  36. package/dist/src/components/Radio.vue.d.ts +17 -16
  37. package/dist/src/components/Radio.vue.d.ts.map +1 -1
  38. package/dist/src/components/RadioInput.vue.d.ts +20 -17
  39. package/dist/src/components/RadioInput.vue.d.ts.map +1 -1
  40. package/dist/src/components/Select.vue.d.ts +31 -12
  41. package/dist/src/components/Select.vue.d.ts.map +1 -1
  42. package/dist/src/components/SelectInput.vue.d.ts +25 -19
  43. package/dist/src/components/SelectInput.vue.d.ts.map +1 -1
  44. package/dist/src/components/Switch.vue.d.ts +6 -3
  45. package/dist/src/components/Switch.vue.d.ts.map +1 -1
  46. package/dist/src/components/SwitchInput.vue.d.ts +15 -16
  47. package/dist/src/components/SwitchInput.vue.d.ts.map +1 -1
  48. package/dist/src/components/TextInput.vue.d.ts +15 -12
  49. package/dist/src/components/TextInput.vue.d.ts.map +1 -1
  50. package/dist/src/components/TextareaInput.vue.d.ts +15 -12
  51. package/dist/src/components/TextareaInput.vue.d.ts.map +1 -1
  52. package/dist/src/components/Typeahead.vue.d.ts +61 -38
  53. package/dist/src/components/Typeahead.vue.d.ts.map +1 -1
  54. package/dist/src/index.d.ts +1 -1
  55. package/dist/src/index.d.ts.map +1 -1
  56. package/dist/src/schemas/Email.d.ts.map +1 -1
  57. package/dist/src/schemas/Number.d.ts.map +1 -1
  58. package/dist/src/schemas/Password.d.ts.map +1 -1
  59. package/dist/src/schemas/Text.d.ts.map +1 -1
  60. package/dist/src/schemas/index.d.ts +1 -1
  61. package/dist/src/schemas/index.d.ts.map +1 -1
  62. package/dist/src/types/index.d.ts +20 -18
  63. package/dist/src/types/index.d.ts.map +1 -1
  64. package/dist/src/types/validator/index.d.ts +1 -1
  65. package/dist/src/types/validator/index.d.ts.map +1 -1
  66. package/dist/src/types/validator/is-int-options.d.ts +10 -10
  67. package/dist/src/types/validator/is-int-options.d.ts.map +1 -1
  68. package/dist/src/types/validator/strong-password-options.d.ts +22 -22
  69. package/dist/src/types/validator/strong-password-options.d.ts.map +1 -1
  70. package/dist/src/utils/country-picker.d.ts +1 -1
  71. package/dist/src/utils/country-picker.d.ts.map +1 -1
  72. package/dist/src/utils/select.d.ts +1 -1
  73. package/dist/src/utils/select.d.ts.map +1 -1
  74. package/dist/vue3-form.css +1 -1
  75. package/package.json +37 -29
  76. package/dist/src/components/__test__/snapshot/Country.test.d.ts +0 -2
  77. package/dist/src/components/__test__/snapshot/Country.test.d.ts.map +0 -1
  78. package/dist/src/components/__test__/snapshot/CountryPicker.test.d.ts +0 -2
  79. package/dist/src/components/__test__/snapshot/CountryPicker.test.d.ts.map +0 -1
  80. package/dist/src/components/__test__/snapshot/CurrencyPicker.test.d.ts +0 -2
  81. package/dist/src/components/__test__/snapshot/CurrencyPicker.test.d.ts.map +0 -1
  82. package/dist/src/components/__test__/snapshot/DatePicker.test.d.ts +0 -2
  83. package/dist/src/components/__test__/snapshot/DatePicker.test.d.ts.map +0 -1
  84. package/dist/src/components/__test__/snapshot/Email.test.d.ts +0 -2
  85. package/dist/src/components/__test__/snapshot/Email.test.d.ts.map +0 -1
  86. package/dist/src/components/__test__/snapshot/FormActions.test.d.ts +0 -2
  87. package/dist/src/components/__test__/snapshot/FormActions.test.d.ts.map +0 -1
  88. package/dist/src/components/__test__/snapshot/Input.test.d.ts +0 -2
  89. package/dist/src/components/__test__/snapshot/Input.test.d.ts.map +0 -1
  90. package/dist/src/components/__test__/snapshot/NumberInput.test.d.ts +0 -2
  91. package/dist/src/components/__test__/snapshot/NumberInput.test.d.ts.map +0 -1
  92. package/dist/src/components/__test__/snapshot/Password.test.d.ts +0 -2
  93. package/dist/src/components/__test__/snapshot/Password.test.d.ts.map +0 -1
  94. package/dist/src/components/__test__/snapshot/Select.test.d.ts +0 -2
  95. package/dist/src/components/__test__/snapshot/Select.test.d.ts.map +0 -1
  96. package/dist/src/components/__test__/snapshot/SelectInput.test.d.ts +0 -2
  97. package/dist/src/components/__test__/snapshot/SelectInput.test.d.ts.map +0 -1
  98. package/dist/src/components/__test__/snapshot/Switch.test.d.ts +0 -2
  99. package/dist/src/components/__test__/snapshot/Switch.test.d.ts.map +0 -1
  100. package/dist/src/components/__test__/snapshot/SwitchInput.test.d.ts +0 -2
  101. package/dist/src/components/__test__/snapshot/SwitchInput.test.d.ts.map +0 -1
  102. package/dist/src/components/__test__/snapshot/TextInput.test.d.ts +0 -2
  103. package/dist/src/components/__test__/snapshot/TextInput.test.d.ts.map +0 -1
  104. package/dist/src/components/__test__/snapshot/TextareaInput.test.d.ts +0 -2
  105. package/dist/src/components/__test__/snapshot/TextareaInput.test.d.ts.map +0 -1
  106. package/dist/src/components/__test__/snapshot/Typeahead.test.d.ts +0 -2
  107. package/dist/src/components/__test__/snapshot/Typeahead.test.d.ts.map +0 -1
  108. package/dist/src/utils/__test__/unit/country-picker.test.d.ts +0 -2
  109. package/dist/src/utils/__test__/unit/country-picker.test.d.ts.map +0 -1
@@ -1,7 +1,9 @@
1
- import { z } from "zod";
2
- import type { NumberErrorMessages, IsIntOptions } from "../types";
3
1
  import type { PropType } from "vue";
4
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ import { z } from "zod";
3
+ import type { IsIntOptions, NumberErrorMessages } from "../types";
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
6
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
7
  disabled: {
6
8
  default: boolean;
7
9
  type: BooleanConstructor;
@@ -19,9 +21,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
19
21
  required: false;
20
22
  type: PropType<string>;
21
23
  };
24
+ max: {
25
+ default: undefined;
26
+ required: false;
27
+ type: NumberConstructor;
28
+ };
29
+ min: {
30
+ default: undefined;
31
+ required: false;
32
+ type: NumberConstructor;
33
+ };
22
34
  modelValue: {
23
35
  default: undefined;
24
- type: PropType<number | null | undefined>;
36
+ type: PropType<null | number | undefined>;
25
37
  };
26
38
  name: {
27
39
  default: string;
@@ -38,11 +50,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
38
50
  type: StringConstructor;
39
51
  };
40
52
  schema: {
41
- default: () => {};
53
+ default: undefined;
42
54
  required: false;
43
- type: PropType<z.ZodType<string | number>>;
55
+ type: PropType<z.ZodType<number | string>>;
44
56
  };
45
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
57
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
58
+ "update:modelValue": (...args: any[]) => void;
59
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
46
60
  disabled: {
47
61
  default: boolean;
48
62
  type: BooleanConstructor;
@@ -60,9 +74,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
60
74
  required: false;
61
75
  type: PropType<string>;
62
76
  };
77
+ max: {
78
+ default: undefined;
79
+ required: false;
80
+ type: NumberConstructor;
81
+ };
82
+ min: {
83
+ default: undefined;
84
+ required: false;
85
+ type: NumberConstructor;
86
+ };
63
87
  modelValue: {
64
88
  default: undefined;
65
- type: PropType<number | null | undefined>;
89
+ type: PropType<null | number | undefined>;
66
90
  };
67
91
  name: {
68
92
  default: string;
@@ -79,9 +103,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
79
103
  type: StringConstructor;
80
104
  };
81
105
  schema: {
82
- default: () => {};
106
+ default: undefined;
83
107
  required: false;
84
- type: PropType<z.ZodType<string | number>>;
108
+ type: PropType<z.ZodType<number | string>>;
85
109
  };
86
110
  }>> & Readonly<{
87
111
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -91,9 +115,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
91
115
  modelValue: number | null | undefined;
92
116
  name: string;
93
117
  options: IsIntOptions;
94
- schema: z.ZodType<string | number, z.ZodTypeDef, string | number>;
95
118
  placeholder: string;
119
+ schema: z.ZodType<string | number, z.ZodTypeDef, string | number>;
96
120
  errorMessages: NumberErrorMessages;
121
+ max: number;
122
+ min: number;
97
123
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
98
- export default _default;
99
124
  //# sourceMappingURL=NumberInput.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NumberInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAClE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;cAiFhB,QAAQ,CAAC,mBAAmB,CAAC;;;;;cAK7B,QAAQ,CAAC,MAAM,CAAC;;;;cAIhB,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;cAKnC,QAAQ,CAAC,MAAM,CAAC;;;;;cAOhB,QAAQ,CAAC,YAAY,CAAC;;;;;;;;;cAWtB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;;;;;;cAhCpC,QAAQ,CAAC,mBAAmB,CAAC;;;;;cAK7B,QAAQ,CAAC,MAAM,CAAC;;;;cAIhB,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;cAKnC,QAAQ,CAAC,MAAM,CAAC;;;;;cAOhB,QAAQ,CAAC,YAAY,CAAC;;;;;;;;;cAWtB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;;;;;;;AA9GxD,wBA+Nc"}
1
+ {"version":3,"file":"NumberInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput.vue"],"names":[],"mappings":"AAoIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAIpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;wBAK7C,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;;;;;;;;;;;cAqLE,QAAQ,CAAC,mBAAmB,CAAC;;;;;cAK7B,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;;;;cAchB,QAAQ,CAAC,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC;;;;;cAKnC,QAAQ,CAAC,MAAM,CAAC;;;;;cAOhB,QAAQ,CAAC,YAAY,CAAC;;;;;;;;;cAStB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;;;;;;;;cAxCpC,QAAQ,CAAC,mBAAmB,CAAC;;;;;cAK7B,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;;;;cAchB,QAAQ,CAAC,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC;;;;;cAKnC,QAAQ,CAAC,MAAM,CAAC;;;;;cAOhB,QAAQ,CAAC,YAAY,CAAC;;;;;;;;;cAStB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;;;;;;;;4EAIpD,CAAC"}
@@ -1,7 +1,13 @@
1
+ import type { PropType } from "vue";
1
2
  import { z } from "zod";
2
3
  import type { PasswordErrorMessages, StrongPasswordOptions } from "../types";
3
- import type { PropType } from "vue";
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
6
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
+ autocomplete: {
8
+ default: string;
9
+ type: StringConstructor;
10
+ };
5
11
  disabled: {
6
12
  default: boolean;
7
13
  type: BooleanConstructor;
@@ -17,12 +23,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
17
23
  label: {
18
24
  default: null;
19
25
  required: false;
20
- type: PropType<string | null | undefined>;
26
+ type: PropType<null | string | undefined>;
21
27
  };
22
28
  modelValue: {
23
29
  default: null;
24
30
  required: false;
25
- type: PropType<string | null | undefined>;
31
+ type: PropType<null | string | undefined>;
26
32
  };
27
33
  name: {
28
34
  default: string;
@@ -39,11 +45,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
39
45
  type: StringConstructor;
40
46
  };
41
47
  schema: {
42
- default: () => {};
48
+ default: undefined;
43
49
  required: false;
44
- type: PropType<z.ZodType<string | number | object>>;
50
+ type: PropType<z.ZodTypeAny>;
51
+ };
52
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
53
+ "update:modelValue": (...args: any[]) => void;
54
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
55
+ autocomplete: {
56
+ default: string;
57
+ type: StringConstructor;
45
58
  };
46
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
47
59
  disabled: {
48
60
  default: boolean;
49
61
  type: BooleanConstructor;
@@ -59,12 +71,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
59
71
  label: {
60
72
  default: null;
61
73
  required: false;
62
- type: PropType<string | null | undefined>;
74
+ type: PropType<null | string | undefined>;
63
75
  };
64
76
  modelValue: {
65
77
  default: null;
66
78
  required: false;
67
- type: PropType<string | null | undefined>;
79
+ type: PropType<null | string | undefined>;
68
80
  };
69
81
  name: {
70
82
  default: string;
@@ -81,9 +93,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
81
93
  type: StringConstructor;
82
94
  };
83
95
  schema: {
84
- default: () => {};
96
+ default: undefined;
85
97
  required: false;
86
- type: PropType<z.ZodType<string | number | object>>;
98
+ type: PropType<z.ZodTypeAny>;
87
99
  };
88
100
  }>> & Readonly<{
89
101
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -93,16 +105,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
93
105
  modelValue: string | null | undefined;
94
106
  name: string;
95
107
  options: StrongPasswordOptions;
96
- schema: z.ZodType<string | number | object, z.ZodTypeDef, string | number | object>;
97
108
  placeholder: string;
109
+ schema: z.ZodTypeAny;
110
+ autocomplete: string;
98
111
  errorMessages: PasswordErrorMessages;
99
112
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
100
- icon: (_: {
113
+ icon?: (props: {
101
114
  showPassword: boolean;
102
115
  }) => any;
103
116
  }>;
104
- export default _default;
105
- type __VLS_WithTemplateSlots<T, S> = T & {
117
+ type __VLS_WithSlots<T, S> = T & {
106
118
  new (): {
107
119
  $slots: S;
108
120
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Password.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Password.vue.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,KAAK,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;cA+FhB,QAAQ,CAAC,qBAAqB,CAAC;;;;;cAK/B,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;cAK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AI,GAAG,MAAM,GAAG,SAAS,CAAC;;;;;cAKnC,QAAQ,CAAC,MAAM,CAAC;;;;;cAOhB,QAAQ,CAAC,qBAAqB,CAAC;;;;;;;;;cAS/B,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC;;;;;;;;;;;;;;;;;;;cA/BtB,QAAQ,CAAC,qBAAqB,CAAC;;;;;cAK/B,QAAQ,CAAC,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC;;;;;cAKnC,QAAQ,CAAC,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC;;;;;cAKnC,QAAQ,CAAC,MAAM,CAAC;;;;;cAOhB,QAAQ,CAAC,qBAAqB,CAAC;;;;;;;;;cAS/B,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC;;;;;;;;;;;;;;;WAvD/B,CAAC,KAAK;;KAAgB,KAAK,GAAG;EA4DrC,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,6 +1,8 @@
1
- import type { InputOption } from "../types";
2
1
  import type { PropType } from "vue";
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ import type { InputOption } from "../types";
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
5
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
6
  direction: {
5
7
  default: string;
6
8
  type: StringConstructor;
@@ -12,16 +14,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
12
14
  };
13
15
  helperText: {
14
16
  default: undefined;
15
- type: PropType<string | null | undefined>;
17
+ type: StringConstructor;
16
18
  };
17
19
  label: {
18
- default: string;
19
- required: false;
20
+ default: undefined;
20
21
  type: StringConstructor;
21
22
  };
22
23
  modelValue: {
23
- default: string;
24
- type: PropType<string | number | null | undefined>;
24
+ default: undefined;
25
+ type: (StringConstructor | NumberConstructor)[];
25
26
  };
26
27
  name: {
27
28
  default: string;
@@ -32,7 +33,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
32
33
  required: true;
33
34
  type: PropType<InputOption[]>;
34
35
  };
35
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
+ "update:modelValue": (...args: any[]) => void;
38
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
39
  direction: {
37
40
  default: string;
38
41
  type: StringConstructor;
@@ -44,16 +47,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
44
47
  };
45
48
  helperText: {
46
49
  default: undefined;
47
- type: PropType<string | null | undefined>;
50
+ type: StringConstructor;
48
51
  };
49
52
  label: {
50
- default: string;
51
- required: false;
53
+ default: undefined;
52
54
  type: StringConstructor;
53
55
  };
54
56
  modelValue: {
55
- default: string;
56
- type: PropType<string | number | null | undefined>;
57
+ default: undefined;
58
+ type: (StringConstructor | NumberConstructor)[];
57
59
  };
58
60
  name: {
59
61
  default: string;
@@ -69,10 +71,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
69
71
  }>, {
70
72
  disabled: boolean;
71
73
  label: string;
72
- modelValue: string | number | null | undefined;
74
+ modelValue: string | number;
73
75
  name: string;
74
76
  direction: string;
75
- helperText: string | null | undefined;
77
+ helperText: string;
76
78
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
77
- export default _default;
78
79
  //# sourceMappingURL=Radio.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Radio.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Radio.vue.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;2BAqDb,MAAM;;;;;;;;cAQT,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;;;;;cASzB,QAAQ,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;cAKtD,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,WAAW,EAAE,CAAC;;;;;;2BA1BnB,MAAM;;;;;;;;cAQT,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;;;;;cASzB,QAAQ,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;cAKtD,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,WAAW,EAAE,CAAC;;;;;;;;;;;;AA5E1C,wBAsLc"}
1
+ {"version":3,"file":"Radio.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Radio.vue"],"names":[],"mappings":"AAsFA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAEpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;wBAGvB,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;;;;2BA+GK,MAAM;;;;;;;;;;;;;;;;;;;;;cAqBT,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,WAAW,EAAE,CAAC;;;;;;;;2BAzBnB,MAAM;;;;;;;;;;;;;;;;;;;;;cAqBT,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,WAAW,EAAE,CAAC;;;;;;;;;;;4EAItC,CAAC"}
@@ -1,7 +1,9 @@
1
+ import type { PropType } from "vue";
1
2
  import { z } from "zod";
2
3
  import type { InputOption } from "../types";
3
- import type { PropType } from "vue";
4
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
6
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
7
  direction: {
6
8
  default: undefined;
7
9
  type: StringConstructor;
@@ -13,16 +15,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
13
15
  };
14
16
  helperText: {
15
17
  default: undefined;
16
- type: PropType<string | null | undefined>;
18
+ type: StringConstructor;
17
19
  };
18
20
  label: {
19
- default: string;
21
+ default: undefined;
20
22
  required: false;
21
23
  type: StringConstructor;
22
24
  };
23
25
  modelValue: {
24
- default: string;
25
- type: PropType<string | number | null | undefined>;
26
+ default: undefined;
27
+ type: (StringConstructor | NumberConstructor)[];
26
28
  };
27
29
  name: {
28
30
  default: string;
@@ -36,9 +38,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
36
38
  schema: {
37
39
  default: () => {};
38
40
  required: false;
39
- type: PropType<z.ZodType<string | number | boolean>>;
41
+ type: PropType<z.ZodType<boolean | number | string>>;
40
42
  };
41
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
43
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
+ "update:modelValue": (...args: any[]) => void;
45
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
42
46
  direction: {
43
47
  default: undefined;
44
48
  type: StringConstructor;
@@ -50,16 +54,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
50
54
  };
51
55
  helperText: {
52
56
  default: undefined;
53
- type: PropType<string | null | undefined>;
57
+ type: StringConstructor;
54
58
  };
55
59
  label: {
56
- default: string;
60
+ default: undefined;
57
61
  required: false;
58
62
  type: StringConstructor;
59
63
  };
60
64
  modelValue: {
61
- default: string;
62
- type: PropType<string | number | null | undefined>;
65
+ default: undefined;
66
+ type: (StringConstructor | NumberConstructor)[];
63
67
  };
64
68
  name: {
65
69
  default: string;
@@ -73,18 +77,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
73
77
  schema: {
74
78
  default: () => {};
75
79
  required: false;
76
- type: PropType<z.ZodType<string | number | boolean>>;
80
+ type: PropType<z.ZodType<boolean | number | string>>;
77
81
  };
78
82
  }>> & Readonly<{
79
83
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
80
84
  }>, {
81
85
  disabled: boolean;
82
86
  label: string;
83
- modelValue: string | number | null | undefined;
87
+ modelValue: string | number;
84
88
  name: string;
85
- direction: string;
86
89
  schema: z.ZodType<string | number | boolean, z.ZodTypeDef, string | number | boolean>;
87
- helperText: string | null | undefined;
90
+ direction: string;
91
+ helperText: string;
88
92
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
89
- export default _default;
90
93
  //# sourceMappingURL=RadioInput.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RadioInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RadioInput.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;2BA+Db,MAAM;;;;;;;;cAQT,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;;;;;cASzB,QAAQ,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;cAKtD,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,WAAW,EAAE,CAAC;;;;;cAOtB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;;;;;;2BAjC3C,MAAM;;;;;;;;cAQT,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;;;;;cASzB,QAAQ,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;cAKtD,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,WAAW,EAAE,CAAC;;;;;cAOtB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;;;;;;;;;;;;;AA7FlE,wBA+Lc"}
1
+ {"version":3,"file":"RadioInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RadioInput.vue"],"names":[],"mappings":"AA4GA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAKpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;wBAKvB,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;;;;2BAyKK,MAAM;;;;;;;;;;;;;;;;;;;;;;cAsBT,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,WAAW,EAAE,CAAC;;;;;cAOtB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;2BAjC3C,MAAM;;;;;;;;;;;;;;;;;;;;;;cAsBT,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,WAAW,EAAE,CAAC;;;;;cAOtB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;;;;;4EAI9D,CAAC"}
@@ -1,6 +1,8 @@
1
- import type { GroupedOption, SelectOption } from "../types";
2
1
  import type { PropType } from "vue";
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ import type { GroupedOption, SelectOption } from "../types";
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
5
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
6
  customSearchHelperText: {
5
7
  default: string;
6
8
  type: StringConstructor;
@@ -20,6 +22,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
20
22
  default: boolean;
21
23
  type: BooleanConstructor;
22
24
  };
25
+ inputId: {
26
+ default: undefined;
27
+ type: StringConstructor;
28
+ };
23
29
  label: {
24
30
  default: string;
25
31
  required: false;
@@ -33,7 +39,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
33
39
  modelValue: {
34
40
  default: () => never[];
35
41
  required: false;
36
- type: PropType<boolean | number | string | (number | string)[]>;
42
+ type: PropType<(number | string)[] | boolean | number | string>;
37
43
  };
38
44
  multiple: {
39
45
  default: boolean;
@@ -45,7 +51,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
45
51
  };
46
52
  options: {
47
53
  required: true;
48
- type: PropType<SelectOption[] | GroupedOption[]>;
54
+ type: PropType<GroupedOption[] | SelectOption[]>;
49
55
  };
50
56
  placeholder: {
51
57
  default: undefined;
@@ -63,7 +69,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
63
69
  default: undefined;
64
70
  type: StringConstructor;
65
71
  };
66
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:searchInput")[], "update:modelValue" | "update:searchInput", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
72
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
73
+ "update:modelValue": (...args: any[]) => void;
74
+ "update:searchInput": (...args: any[]) => void;
75
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
67
76
  customSearchHelperText: {
68
77
  default: string;
69
78
  type: StringConstructor;
@@ -83,6 +92,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
83
92
  default: boolean;
84
93
  type: BooleanConstructor;
85
94
  };
95
+ inputId: {
96
+ default: undefined;
97
+ type: StringConstructor;
98
+ };
86
99
  label: {
87
100
  default: string;
88
101
  required: false;
@@ -96,7 +109,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
96
109
  modelValue: {
97
110
  default: () => never[];
98
111
  required: false;
99
- type: PropType<boolean | number | string | (number | string)[]>;
112
+ type: PropType<(number | string)[] | boolean | number | string>;
100
113
  };
101
114
  multiple: {
102
115
  default: boolean;
@@ -108,7 +121,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
108
121
  };
109
122
  options: {
110
123
  required: true;
111
- type: PropType<SelectOption[] | GroupedOption[]>;
124
+ type: PropType<GroupedOption[] | SelectOption[]>;
112
125
  };
113
126
  placeholder: {
114
127
  default: undefined;
@@ -140,6 +153,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
140
153
  customSearchHelperText: string;
141
154
  enableTooltip: boolean;
142
155
  hasSortedOptions: boolean;
156
+ inputId: string;
143
157
  labelKey: string;
144
158
  multiple: boolean;
145
159
  noOptionsMessage: string;
@@ -148,21 +162,26 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
148
162
  tooltipOptions: Record<string, unknown>;
149
163
  valueKey: string;
150
164
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
151
- selection: (_: {
165
+ selection?: (props: {
152
166
  selectedLabels: (string | undefined)[];
153
167
  }) => any;
154
- group: (_: {
168
+ } & {
169
+ selection?: (props: {
170
+ selectedLabels: (string | undefined)[];
171
+ }) => any;
172
+ } & {
173
+ group?: (props: {
155
174
  label: string;
156
175
  selected: boolean;
157
176
  }) => any;
158
- option: (_: {
177
+ } & {
178
+ option?: (props: {
159
179
  multiple: boolean;
160
180
  option: SelectOption;
161
181
  selected: boolean;
162
182
  }) => any;
163
183
  }>;
164
- export default _default;
165
- type __VLS_WithTemplateSlots<T, S> = T & {
184
+ type __VLS_WithSlots<T, S> = T & {
166
185
  new (): {
167
186
  $slots: S;
168
187
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Select.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select.vue.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,KAAK,EAA2B,QAAQ,EAAO,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;cAojB9C,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;cAUU,QAAQ,CAChD,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAChD;;;;;;;;;;;;cAYc,QAAQ,CAAC,YAAY,EAAE,GAAG,aAAa,EAAE,CAAC;;;;;;;;;;;;cAYzC,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cApCjC,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;cAUU,QAAQ,CAChD,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAChD;;;;;;;;;;;;cAYc,QAAQ,CAAC,YAAY,EAAE,GAAG,aAAa,EAAE,CAAC;;;;;;;;;;;;cAYzC,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;eA2f1C,CAAC,CAAC;;KAAiB,KAAK,GAAG;WAC/B,CAAC,CAAC;;;KAAiB,KAAK,GAAG;YAC1B,CAAC,CAAC;;;;KAAiB,KAAK,GAAG;;AAllCnC,wBAmoCc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAA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GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,7 +1,9 @@
1
+ import type { PropType } from "vue";
1
2
  import { z } from "zod";
2
3
  import type { GroupedOption, SelectOption } from "../types";
3
- import type { PropType } from "vue";
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
6
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
7
  customSearchHelperText: {
6
8
  default: undefined;
7
9
  type: StringConstructor;
@@ -41,7 +43,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
41
43
  modelValue: {
42
44
  default: () => null;
43
45
  required: false;
44
- type: PropType<boolean | number | string | (number | string)[]>;
46
+ type: PropType<(number | string)[] | boolean | number | string>;
45
47
  };
46
48
  multiple: {
47
49
  default: boolean;
@@ -67,7 +69,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
67
69
  schema: {
68
70
  default: () => {};
69
71
  required: false;
70
- type: PropType<z.ZodType<string | number | string[] | number[]>>;
72
+ type: PropType<z.ZodTypeAny>;
71
73
  };
72
74
  showRemoveSelection: {
73
75
  default: boolean;
@@ -81,7 +83,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
81
83
  default: undefined;
82
84
  type: StringConstructor;
83
85
  };
84
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:searchInput")[], "update:modelValue" | "update:searchInput", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
86
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
87
+ "update:modelValue": (...args: any[]) => void;
88
+ "update:searchInput": (...args: any[]) => void;
89
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
85
90
  customSearchHelperText: {
86
91
  default: undefined;
87
92
  type: StringConstructor;
@@ -121,7 +126,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
121
126
  modelValue: {
122
127
  default: () => null;
123
128
  required: false;
124
- type: PropType<boolean | number | string | (number | string)[]>;
129
+ type: PropType<(number | string)[] | boolean | number | string>;
125
130
  };
126
131
  multiple: {
127
132
  default: boolean;
@@ -147,7 +152,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
147
152
  schema: {
148
153
  default: () => {};
149
154
  required: false;
150
- type: PropType<z.ZodType<string | number | string[] | number[]>>;
155
+ type: PropType<z.ZodTypeAny>;
151
156
  };
152
157
  showRemoveSelection: {
153
158
  default: boolean;
@@ -169,7 +174,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
169
174
  label: string;
170
175
  modelValue: string | number | boolean | (string | number)[];
171
176
  name: string;
172
- schema: z.ZodType<string | number | string[] | number[], z.ZodTypeDef, string | number | string[] | number[]>;
173
177
  disableSearch: boolean;
174
178
  enableCustomSearch: boolean;
175
179
  loading: boolean;
@@ -185,22 +189,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
185
189
  valueKey: string;
186
190
  maxSelection: number | undefined;
187
191
  minSelection: number | undefined;
192
+ schema: z.ZodTypeAny;
188
193
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
189
- group: (_: {
190
- label: any;
191
- selected: any;
194
+ group?: (props: {
195
+ label: string;
196
+ selected: boolean;
192
197
  }) => any;
193
- option: (_: {
194
- multiple: any;
195
- option: any;
196
- selected: any;
198
+ } & {
199
+ option?: (props: {
200
+ multiple: boolean;
201
+ option: SelectOption;
202
+ selected: boolean;
197
203
  }) => any;
198
- selection: (_: {
199
- selectedLabels: any;
204
+ } & {
205
+ selection?: (props: {
206
+ selectedLabels: (string | undefined)[];
200
207
  }) => any;
201
208
  }>;
202
- export default _default;
203
- type __VLS_WithTemplateSlots<T, S> = T & {
209
+ type __VLS_WithSlots<T, S> = T & {
204
210
  new (): {
205
211
  $slots: S;
206
212
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput.vue.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;cAsKhB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;cAShB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;cAI5B,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;;cAKF,QAAQ,CAChD,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAChD;;;;;;;;;cASe,QAAQ,CAAC,MAAM,CAAC;;;;;;;;cAQjB,QAAQ,CAAC,aAAa,EAAE,GAAG,YAAY,EAAE,CAAC;;;;;;;;;cAWzC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;;;;;;;;cAQ1D,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAxDjC,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;cAShB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;cAI5B,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;;cAKF,QAAQ,CAChD,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAChD;;;;;;;;;cASe,QAAQ,CAAC,MAAM,CAAC;;;;;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